Skip to content

Instantly share code, notes, and snippets.

Namespace(bugfender_csv_log='moto_g_5s_plus_input_stream_basic_tests.csv', exclude_tags=None, include_tags=None, log_action=None, log_provider='bugfender')
2021-01-03 10:43:30.000 2012 D/NetworkSecurityConfig: No Network Security Config specified, using platform default
2021-01-03 10:43:30.000 2 D/UI: Activity created: UserActivity
2021-01-03 10:43:30.000 2012 I/zygote: Rejecting re-init on previously-failed class java.lang.Class<androidx.core.view.ViewCompat$2>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/view/View$OnUnhandledKeyEventListener;
2021-01-03 10:43:30.000 2012 I/zygote: at void androidx.core.view.ViewCompat.saveAttributeDataForStyleable(android.view.View, android.content.Context, int[], android.util.AttributeSet, android.content.res.TypedArray, int, int) (ViewCompat.java:513)
2021-01-03 10:43:30.000 2012 I/zygote: at void androidx.appcompat.widget.AppCompatBackgroundHelper.loadFromAttributes(android.util.AttributeSet, int) (AppCompatBackgroundHelper.java:51)
2021-01
@rpattabi
rpattabi / samsung-s9plus-inputpresets-check.log
Last active November 25, 2020 14:47
On Samsung S9+, AAudio gives silence all input presets except for VoiceCommunication. OpenSL gives input for any input preset. Google Assistant is already off.
Android: 29 (10)
Device: samsung SM-G965F (samsung star2lte)
Build: QP1A.190711.020.G965FXXSBETH2
Fingerprint: samsung/star2ltexx/star2lte:10/QP1A.190711.020/G965FXXSBETH2:user/release-keys
2020-11-24 08:36:54.000 25785 W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@e5a220d
2020-11-24 08:36:54.000 2 D/UI: Activity created: UserActivity
2020-11-24 08:36:54.000 25785 W/ndroidcppteste: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (greylist, reflection, allowed)
2020-11-24 08:36:54.000 25785 W/ndroidcppteste: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection, allowed)
2020-11-24 08:36:54.000 2 D/UI: Activity started: UserActivity
@rpattabi
rpattabi / motoe4--shruti-input-read-failed.log
Last active November 5, 2020 12:57
oboe: Input callbacks unusually delayed suddenly (Moto E4+)
This file has been truncated, but you can view the full file.
Note: This is filtered system-wide logcat, not just for the app.
11-04 13:42:41.386 345 6904 I dc_mmlog: e=play,c=audio/mp4,fs=4568,pt=0,am=audio/mp4a-latm,ac=1,as=44100,ab=0,ad=92879
11-04 13:42:41.483 345 6904 I dc_mmlog: e=stop,c=audio/mp4,fs=4568,pt=0
11-04 13:47:04.362 1001 17487 I am_wtf : [0,1001,system_server,-1,ActivityManager,Sending non-protected broadcast DS_AUDIO_FOCUS_CHANGE_ACTION from system 1364:com.android.systemui/u0a74 pkg com.android.systemui]
11-04 13:47:04.363 1001 17487 I am_wtf : [0,1001,system_server,-1,ActivityManager,Sending non-protected broadcast DS_AUDIO_FOCUS_CHANGE_ACTION from system 1364:com.android.systemui/u0a74 pkg com.android.systemui]
11-04 13:50:18.924 345 8347 I dc_mmlog: e=play,c=audio/mpeg,fs=12000,pt=0,am=audio/mpeg,ac=1,as=24000,ab=0,ad=3000000
11-04 13:50:21.410 345 8347 I dc_mmlog: e=stop,c=audio/mpeg,fs=12000,pt=3,am=audio/mpeg,ac=1,as=24000,ab=0,ad=3000000
11-04 14:00:50.513 1001 30628 I am_wtf : [0,1001,system_server,-1,ActivityManager,Sendi
FAILURE: Build failed with an exception.
* Where:
Build file '/path/apps/bom/build.gradle' line: 2
* What went wrong:
An exception occurred applying plugin request [id: 'java-platform']
> Failed to apply plugin 'org.gradle.java-platform'.
> Project#afterEvaluate(Action) on project ':bom' cannot be executed in the current context.
@rpattabi
rpattabi / oboe_crash_on_samsung_galaxy_m30.log
Last active September 29, 2020 06:35
Oboe crash on Samsung Galaxy M30. Crash is at oboe::DataConversionFlowGraph::write().
********** Crash dump: **********
#00 0x00000000000769dc /data/app/org.kuyil.shruti-Xqlk8QdCEu44HN3T7wT2bg==/lib/arm64/libpdnativeoboe.so (oboe::DataConversionFlowGraph::write(void*, int)+20)
std::__ndk1::unique_ptr<oboe::flowgraph::FlowGraphSourceBuffered, std::__ndk1::default_delete<oboe::flowgraph::FlowGraphSourceBuffered> >::operator->() const
/opt/android/Sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/memory:2562:19
oboe::DataConversionFlowGraph::write(void*, int)
../../../../src/main/cpp/oboe/src/common/DataConversionFlowGraph.cpp:224:0
#01 0x0000000000
@rpattabi
rpattabi / oboe crash input callback
Created September 15, 2020 05:03
Oboe crashes when we callback on input stream with AAudio
09-15 10:21:54.270 9498 9546 F AudioStreamRecord: maybeConvertDeviceData() conversion size 1024 too large for buffer 512
09-15 10:21:54.270 9498 9546 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 9546 (AudioRecord), pid 9498 (oboe.manualtest)
09-15 10:21:54.350 9554 9554 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
09-15 10:21:54.350 9554 9554 F DEBUG : Build fingerprint: 'Nokia/Panda_00WW/PDA_sprout:10/QP1A.190711.020/00WW_3_11E:user/release-keys'
09-15 10:21:54.350 9554 9554 F DEBUG : Revision: '0'
09-15 10:21:54.350 9554 9554 F DEBUG : ABI: 'arm64'
09-15 10:21:54.351 9554 9554 F DEBUG : Timestamp: 2020-09-15 10:21:54+0530
09-15 10:21:54.351 9554 9554 F DEBUG : pid: 9498, tid: 9546, name: AudioRecord >>> com.google.sample.oboe.manualtest <<<
09-15 10:21:54.351 9554 9554 F DEBUG : uid: 10541
09-15 10:21:54.351 9554 9554 F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
@rpattabi
rpattabi / my_app_dependency_graph_for_firebase.txt
Last active June 22, 2020 11:15
Wake lock crash through firebase. The list includes (1) dependency graph for firebase (2) crash stack trace (3) device info
com.google.firebase:firebase-abt:19.0.1
variant "compile" [
org.gradle.status = release (not requested)
org.gradle.usage = java-api
org.gradle.libraryelements = jar (not requested)
org.gradle.category = library (not requested)
Requested attributes not found in the selected variant:
com.android.build.api.attributes.BuildTypeAttr = release
default = prod
e: error: cannot generate view binders java.lang.StackOverflowError
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:449)
at java.lang.StringBuilder.append(StringBuilder.java:136)
at java.util.StringJoiner.<init>(StringJoiner.java:128)
at java.util.stream.Collectors.lambda$joining$6(Collectors.java:299)
at java.util.stream.ReduceOps$3ReducingSink.begin(ReduceOps.java:164)
at java.util.stream.Sink$ChainedReference.begin(Sink.java:253)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
@rpattabi
rpattabi / firebase_ads_proguard_warnings.txt
Created December 21, 2018 05:33
Firebase Ads: Proguard warnings
Note: the configuration keeps the entry point 'com.google.ads.mediation.AbstractAdViewAdapter { com.google.android.gms.ads.AdRequest zza(android.content.Context,com.google.android.gms.ads.mediation.MediationAdRequest,android.os.Bundle,android.os.Bundle); }', but not the descriptor class 'com.google.android.gms.ads.mediation.MediationAdRequest'
Note: the configuration keeps the entry point 'com.google.ads.mediation.AbstractAdViewAdapter { void requestBannerAd(android.content.Context,com.google.android.gms.ads.mediation.MediationBannerListener,android.os.Bundle,com.google.android.gms.ads.AdSize,com.google.android.gms.ads.mediation.MediationAdRequest,android.os.Bundle); }', but not the descriptor class 'com.google.android.gms.ads.mediation.MediationBannerListener'
Note: the configuration keeps the entry point 'com.google.ads.mediation.AbstractAdViewAdapter { void requestBannerAd(android.content.Context,com.google.android.gms.ads.mediation.MediationBannerListener,android.os.Bundle,com.google.android.gms.ads.AdSiz
@rpattabi
rpattabi / sadhakam_faq.markdown
Created July 12, 2017 06:14
Sādhakam Carnatic Ear Trainer - FAQ

Sādhakam Carnatic Ear Trainer app has exercises to help improving your swara gyanam.

I want to listen to Swarams or Combinations before attempting the exercises. Why is it not provided?

We understand that you may want to hear the swarams or combinations before taking a quiz on them. But quiz itself is the learning process! Let's say you start the first exercise and you are immediately asked to identify a Ri. You have absolutely no clue whether it's Ri1 or Ri2 or Ri3. You can replay the question again and again and listen carefully. Still doesn't ring a bell? Just take a wild guess and answer. You may be right or wrong, but you shall make a note of the correct answer. Next time in the same session if you get the same combination you might get it right.

Skill development happens in different stages when you practice this way. Initially, in an exercise session, you may make some mistakes but get many of the questions right based on learning