id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
android_memory_battery/245258072pli1_108_0.txt | Fatal Exception: android.app.RemoteServiceException$CannotDeliverBroadcastException
can't deliver broadcast
android.app.ActivityThread.throwRemoteServiceException (ActivityThread.java:1980)
android.app.ActivityThread.-$$Nest$mthrowRemoteServiceException (ActivityThread.java)
android.app.ActivityThread$H.handleMessage (... | |
android_memory_battery/ActivityThreadjava1_100_0.txt | | if ( a != null ) {
| r . createdConfig = new Configuration ( mConfigurationController .
getConfiguration ());
| reportSizeConfigurations ( r );
| if (! r . activity . mFinished && pendingActions != null ) {
| pendingActions . setOldState ( r . state );
| pendingActions . se... | |
android_memory_battery/245258072pli1_91_0.txt | <provider
android:name="androidx.startup.InitializationProvider"
android:authorities="${applicationId}.androidx-startup"
tools:node="remove">
</provider>
Doing this has stopped both the crashes with various Android start-up classes, but also crashes related to the CannotDeliverBroadcastException. | |
android_memory_battery/245258072pli1_9_0.txt | Steps to reproduce What steps are needed to reproduce this issue? Frequency of occurrence? | |
android_memory_battery/ActivityThreadjava1_155_0.txt | | final int newWindowingMode = newConfiguration . windowConfiguration
. getWindowingMode ();
| final int oldWindowingMode = r . mLastReportedWindowingMode ;
| if ( oldWindowingMode == newWindowingMode ) return ;
| // PiP callback is sent before the MW one.
| if ( newWindowingMode == WINDO... | |
android_memory_battery/245258072pli1_29_0.txt | bz...@costco.com<bz...@costco.com> #8Sep 8, 2022 09:17AM
Comment has been deleted.
Message last modified on Sep 8, 2022 09:20AM
bz...@costco.com<bz...@costco.com> #9Sep 8, 2022 09:23AM
We are facing the same crashes on 100% Google devices, 100% Android 13 and 100% background. our targetSDK 31 and minSdk 24
br...@infinu... | |
android_memory_battery/ActivityThreadjava1_160_0.txt | | alwaysReportChange );
| // Notify the ViewRootImpl instance about configuration changes. It may
have initiated this
| // update to make sure that resources are updated before updating itself.
| if ( viewRoot != null ) {
| if ( movedToDifferentDisplay ) {
| viewRoot . onMovedToDisplay ( displayId ... | |
android_memory_battery/245258072pli1_121_0.txt | NOTE: This patch is a squashed patch, instead of the original one that will be released in AOSP. | |
android_memory_battery/android_memory_0_8.txt | -up", "id": "easyToUnderstand", "label":"Easy to understand" },{ "type":
"thumb-up", "id": "solvedMyProblem", "label":"Solved my problem" },{ "type":
"thumb-up", "id": "otherUp", "label":"Other" }]
* [  X ](//x.com/AndroidDev)
Follow @AndroidDev on X
* [ 
at android.app.ActivityThread.-$$Nest$mthrowRemoteServiceException (ActivityThread.java)
at android.app.ActivityThread$H.handleMessag... | |
android_memory_battery/245258072pli1_113_0.txt | ri...@charter.com<ri...@charter.com> #63Dec 5, 2022 11:59AM
Update: We're seeing this on Galaxy S21 and S22 more frequently over the past couple weeks.
mr...@gmail.com<mr...@gmail.com> #64Dec 7, 2022 06:39AM
Comment has been deleted.
Message last modified on Dec 7, 2022 06:42AM
as...@tradingview.com<as...@tradingview.c... | |
android_memory_battery/245258072pli1_22_0.txt | Alternate method Navigate to “Developer options”, ensure “USB debugging” is enabled, then enable “Bug report shortcut”. Capture bug report by holding the power button and selecting the “Take bug report” option. | |
android_memory_battery/245258072pli1_133_0.txt | digged in to some pre device events before crash, and it seems low memory has something to do with it
xt...@gmail.com<xt...@gmail.com> #86Jan 9, 2024 03:48AM
Fatal Exception: android.app.RemoteServiceException$CannotDeliverBroadcastException: can't deliver broadcast | |
android_memory_battery/ActivityThreadjava1_131_0.txt | |
| // Always reporting top resumed position loss when pausing an activity. If
necessary, it
| // will be restored in performResumeActivity().
| reportTopResumedActivityChanged ( r , false /* onTop */ , "pausing"
);
|
| try {
| r . activity . mCalled = false ;
| mInstrumentation . callActivityOnP... | |
android_memory_battery/ActivityThreadjava_44_0.txt | | final boolean resumed = ! r . paused ;
| if ( resumed ) {
| r . activity . mTemporaryPause = true ;
| mInstrumentation . callActivityOnPause ( r . activity );
| }
| deliverNewIntents ( r , intents );
| if ( resumed ) {
| mInstrumentation . callActivityOnResume ( r . ac... | |
android_memory_battery/ActivityThreadjava_7_0.txt | |
| final ApplicationThread mAppThread = new ApplicationThread ();
| final Looper mLooper = Looper . myLooper ();
| final H mH = new H ();
| final HashMap < IBinder , ActivityClientRecord > mActivities
| = new HashMap < IBinder , ActivityClientRecord >();
| // List of new activities (... | |
android_memory_battery/245258072pli1_10_0.txt | Expected output What is the expected output? | |
android_memory_battery/ActivityThreadjava1_103_0.txt | |
| /** Fetches the user actions for the corresponding activity */
| private void handleRequestDirectActions ( @NonNull IBinder
activityToken ,
| @NonNull IVoiceInteractor interactor , @NonNull CancellationSignal
cancellationSignal ,
| @NonNull RemoteCallback callback , int retryCount ) {
| fina... | |
android_memory_battery/android_memory_1_6.txt | process. This technique allows data to be shared between processes, and also allows it to be paged out when needed. Example static data include: Dalvik code (by placing it in a pre-linked ` .odex ` file for direct mmapping), app resources (by designing the resource table to be a structure that can be mmapped and by al... | |
android_memory_battery/245258072pli1_37_0.txt | RemoteServiceException$CannotDeliverBroadcastException: can't deliver broadcast | |
android_memory_battery/android_battery_3_5.txt | gital or analog docks. The dock state is
typically closely linked to the charging state, as many docks provide power to
docked devices.
Your app affects the phone's update rate in the dock state. You can increase
the update frequency of a sports news app when it's in the desktop dock, or
disable your updates completel... | |
android_memory_battery/ActivityThreadjava1_28_0.txt | |
| static final class DumpHeapData {
| // Whether to dump the native or managed heap.
| public boolean managed ;
| public boolean mallocInfo ;
| public boolean runGc ;
| // compression format to dump bitmaps, null if no bitmaps to be dumped
| public String dumpBitmaps ;
| String path ;
| Par... | |
android_memory_battery/androidappActivityTh_3_0.txt | ### app | |
android_memory_battery/245258072pli1_62_0.txt | java.lang.reflect.Method.invoke(Native Method) | |
android_memory_battery/ActivityThreadjava1_20_0.txt | | this . packageInfo = client . getPackageInfoNoCheck ( activityInfo
. applicationInfo );
| mActivityOptions = activityOptions ;
| mLaunchedFromBubble = launchedFromBubble ;
| mTaskFragmentToken = taskFragmentToken ;
| init ();
| }
|
| /** Common initializer for all constructors. */
| privat... | |
android_memory_battery/ActivityThreadjava1_11_0.txt | reduces the number of
| * transactions for acquiring and releasing provider if the client accesses
the provider
| * frequently in a short time.
| */
| private static final long CONTENT_PROVIDER_RETAIN_TIME = 1000 ;
| private static final int SQLITE_MEM_RELEASED_EVENT_LOG_TAG = 75003 ;
|
| /** Type f... | |
android_memory_battery/ActivityThreadjava1_18_0.txt | | @UnsupportedAppUsage
| boolean stopped ;
| boolean hideForNow ;
| Configuration createdConfig ;
| Configuration overrideConfig ;
| // Used for consolidating configs before sending on to Activity.
| private final Configuration tmpConfig = new Configuration ();
| // Callback used for updating act... | |
android_memory_battery/ActivityThreadjava1_140_0.txt | | return mActivitiesToBeDestroyed ;
| }
|
| @Override
| public void handleDestroyActivity ( ActivityClientRecord r , boolean
finishing , int configChanges ,
| boolean getNonConfigInstance , String reason ) {
| performDestroyActivity ( r , finishing , configChanges ,
getNonConfigInstance ... | |
android_memory_battery/ActivityThreadjava1_186_0.txt | | Slog . v ( TAG , "releaseProvider: No longer stable w/lastRef="
| \+ lastRef \+ " - " \+ prc . holder . info . name );
| }
| ActivityManager . getService (). refContentProvider (
| prc . holder . connection , \- 1 , lastRef ? 1 : 0 );
| } catch ( RemoteException e ) {
... | |
android_memory_battery/ActivityThreadjava1_4_0.txt | | /*
---|---
| * Copyright (C) 2006 The Android Open Source Project
| *
| * Licensed under the Apache License, Version 2.0 (the "License");
| * you may not use this file except in compliance with the License.
| * You may obtain a copy of the License at
| *
| * http://www.apache.org/licenses/LICENSE-2.0
| *
| ... | |
android_memory_battery/245258072pli1_122_0.txt | c7ece38.diff.zip
3 KB Download
zi...@gmail.com<zi...@gmail.com> #77Mar 2, 2023 07:54PM
To #comment76, can you add the intent toString content to the exit info message, so app developer has more info to diagnose the issue? Otherwise, app developer still has no choice but to ignore it. | |
android_memory_battery/ActivityThreadjava1_154_0.txt | | // It can happen that the system already closed/removed a virtual device
| // and the passed deviceId is no longer valid.
| // TODO(b/263355088): check for validity of deviceId before updating
| // instead of catching this exception once VDM add an API to validate ids.
| }
| }
| }
|
| @Override
| public voi... | |
android_memory_battery/ActivityThreadjava_52_0.txt | | if ( r != null && ! r . activity . mFinished ) {
| if ( clearHide ) {
| r . hideForNow = false ;
| r . activity . mStartedActivity = false ;
| }
| try {
| if ( r . pendingIntents != null ) {
| deliverNewIntents ( r , r . pendingIntents );
| r . pendingIntents = ... | |
android_memory_battery/ActivityThreadjava1_114_0.txt | | // reusing the existing instance
| if ( DEBUG_BACKUP ) {
| Slog . v ( TAG , "Reusing existing agent instance" );
| }
| binder = agent . onBind ();
| } else {
| try {
| if ( DEBUG_BACKUP ) Slog . v ( TAG , "Initializing agent class "
\+ classname );
|
| java . lang . ClassLo... | |
android_memory_battery/245258072pli1_131_0.txt | https://stackoverflow.com/a/51495253 | |
android_memory_battery/245258072pli1_68_0.txt | Sandboxed Google Play compatibility layer: don't report CannotDeliverBroadcastException to the user | |
android_memory_battery/ActivityThreadjava1_52_0.txt | cancellationCallback ,
| @NonNull RemoteCallback resultCallback ) {
| final CancellationSignal cancellationSignal = new CancellationSignal
();
| if ( cancellationCallback != null ) {
| final ICancellationSignal transport = createSafeCancellationTransport
(
| cancellationSignal );
| final Bun... | |
android_memory_battery/ActivityThreadjava1_63_0.txt | | case RELAUNCH_ACTIVITY :
| handleRelaunchActivityLocally (( IBinder ) msg . obj );
| break ;
| case PURGE_RESOURCES :
| schedulePurgeIdler ();
| break ;
| case ATTACH_STARTUP_AGENTS :
| handleAttachStartupAgents (( String ) msg . obj );
| break ;
| case UPDATE_UI_TRANSLATION_STATE ... | |
android_memory_battery/ActivityThreadjava_26_0.txt | |
| r . packageInfo = getPackageInfoNoCheck (
| r . activityInfo . applicationInfo );
| handleLaunchActivity ( r , null );
| } break ;
| case RELAUNCH_ACTIVITY : {
| ActivityClientRecord r = ( ActivityClientRecord ) msg . obj ;
| handleRelaunchActivity ( r );
| } break ;
| cas... | |
android_memory_battery/ActivityThreadjava1_16_0.txt | | if ( o instanceof ProviderKey ) {
| final ProviderKey other = ( ProviderKey ) o ;
| return Objects . equals ( authority , other . authority ) &&
userId == other . userId ;
| }
| return false ;
| }
|
| @Override
| public int hashCode () {
| return (( authority != null ... | |
android_memory_battery/ActivityThreadjava1_88_0.txt | | } else {
| name = "(Intent " \+ intent \+ ").getComponent() returned null" ;
| }
| Slog . v ( TAG , "Performing launch: action=" \+ intent .
getAction ()
| \+ ", comp=" \+ name
| \+ ", token=" \+ token );
| }
| // TODO(lifecycler): Can't switch to use #handleLaunchActivity() because ... | |
android_memory_battery/ActivityThreadjava_12_0.txt | | private static final class ContextCleanupInfo {
| ContextImpl context ;
| String what ;
| String who ;
| }
|
| private static final class ProfilerControlData {
| String path ;
| ParcelFileDescriptor fd ;
| }
|
| private static final class DumpHeapData {
| String path ;
| ParcelF... | |
android_memory_battery/245258072pli1_67_0.txt | [Deleted User]<[Deleted User]> #32Oct 13, 2022 09:26AM
Same happening in our app, sadly we don't have information about which broadcast is being sent. If you can add that kind of information it would be really helpful for future occurrences
ad...@dext.com<ad...@dext.com> #33Oct 14, 2022 04:19AM
Same is happening in our... | |
android_memory_battery/ActivityThreadjava1_14_0.txt | Context#getResources()#getConfiguration()} instead." )
| Configuration mConfiguration ;
| @GuardedBy ( "this" )
| private boolean mUpdateHttpProxyOnBind = false ;
| @UnsupportedAppUsage
| Application mInitialApplication ;
| @UnsupportedAppUsage
| final ArrayList < Application > mAllApplications ... | |
android_memory_battery/ActivityThreadjava1_199_0.txt | | deleteDeprecatedDataPath ( path );
| } else {
| super . unlink ( path );
| }
| }
|
| @Override
| public void remove ( String path ) throws ErrnoException {
| if ( path != null && path . startsWith ( DEPRECATE_DATA_PREFIX ))
{
| deleteDeprecatedDataPath ( path );
| } else {
... | |
android_memory_battery/ActivityThreadjava_83_0.txt | | ActivityManagerNative . getDefault (). publishContentProviders (
| getApplicationThread (), results );
| } catch ( RemoteException ex ) {
| }
| }
|
| private final IContentProvider getExistingProvider ( Context context
, String name ) {
| synchronized ( mProviderMap ) {
| final Pr... | |
android_memory_battery/ActivityThreadjava1_135_0.txt | | QueuedWork . waitToFinish ();
| }
|
| stopInfo . setActivity ( r );
| stopInfo . setState ( r . state );
| stopInfo . setPersistentState ( r . persistentState );
| pendingActions . setStopInfo ( stopInfo );
| mSomeActivitiesChanged = true ;
| }
|
| /**
| * Schedule the call to ... | |
android_memory_battery/ActivityThreadjava_53_0.txt | | // If we are getting ready to gc after going to the background, well
| // we are back active so skip it.
| unscheduleGcIdler ();
|
| ActivityClientRecord r = performResumeActivity ( token , clearHide
);
|
| if ( r != null ) {
| final Activity a = r . activity ;
|
| if ( localLOGV ) Slo... | |
android_memory_battery/android_battery_7_5.txt | lities.TRANSPORT_WIFI)
.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR)
.build()
### Java
NetworkRequest networkRequest = new NetworkRequest.Builder()
.addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET)
.addTransportType(NetworkCapab... | |
android_memory_battery/ActivityThreadjava1_194_0.txt | | try {
| mgr . attachApplication ( mAppThread , startSeq );
| } catch ( RemoteException ex ) {
| throw ex . rethrowFromSystemServer ();
| }
| // Watch for getting close to heap limit.
| BinderInternal . addGcWatcher ( new Runnable () {
| @Override public void run () {
| if (! m... | |
android_memory_battery/ActivityThreadjava1_188_0.txt | | //do nothing content provider object is dead any way
| }
| }
|
| @UnsupportedAppUsage
| final void handleUnstableProviderDied ( IBinder provider , boolean
fromClient ) {
| synchronized ( mProviderMap ) {
| handleUnstableProviderDiedLocked ( provider , fromClient );
| }
| }
|
| final void ... | |
android_memory_battery/ActivityThreadjava_71_0.txt | | if ( tmp . pendingResults != null ) {
| if ( r . pendingResults == null ) {
| r . pendingResults = tmp . pendingResults ;
| } else {
| r . pendingResults . addAll ( tmp . pendingResults );
| }
| }
| if ( tmp . pendingIntents != null ) {
| if ( r . pendingIntents ... | |
android_memory_battery/ActivityThreadjava1_150_0.txt | );
|
| // TODO(b/274944389): remove once a longer-term solution is implemented.
| boolean skipActivityRelaunchWhenDocking = activity . getResources ().
getBoolean (
| R . bool . config_skipActivityRelaunchWhenDocking );
| int handledConfigChanges = activity . mActivityInfo .
getRealConfigChanged ... | |
android_memory_battery/ActivityThreadjava1_108_0.txt | | }
|
| private void syncTransferSplashscreenViewTransaction ( SplashScreenView
view , IBinder token ,
| View decorView , @NonNull SurfaceControl startingWindowLeash ) {
| // Ensure splash screen view is shown before remove the splash screen
window.
| // Once the copied splash screen view is onDrawn... | |
android_memory_battery/ActivityThreadjava_78_0.txt | processName );
|
| // If the app is Honeycomb MR1 or earlier, switch its AsyncTask
| // implementation to use the pool executor. Normally, we use the
| // serialized executor as the default. This has to happen in the
| // main thread so the main looper is set right.
| if ( data . appInfo . targetSdkVersion ... | |
android_memory_battery/android_memory_0_4.txt | ent)
* [ Adopt Compose for teams ](/jetpack/compose/adopt)
* Get started
* [ Hello world ](/codelabs/basic-android-kotlin-compose-first-app)
* [ Training courses ](/courses)
* [ Tutorials ](/get-started/codelabs)
* [ Kotlin for Android ](/kotlin)
* [ Monetization with Play ↗️ ](https://play.google.... | |
android_memory_battery/245258072pli1_0_0.txt |
IssueTracker
Search IssueTracker
Assigned to me
Starred by me
CC'd to me
Reported by me
To be verified
Bookmark groups
Saved searches
Hotlists
Create hotlist
Create bookmark group
Browse components
Issue 245258072
Android Public Tracker > Framework
245258072
Android 13 RemoteServiceException$CannotDeliverBroadcastExce... | |
android_memory_battery/ActivityThreadjava1_136_0.txt | | // request all activities to relaunch for the changes to take place
| relaunchAllActivities ( true /* preserveWindows */ ,
"onCoreSettingsChange" );
| }
| }
|
| private boolean updateDebugViewAttributeState () {
| boolean previousState = View . sDebugViewAttributes ;
|
| // mCoreSettings is only... | |
android_memory_battery/ActivityThreadjava1_145_0.txt | | private void scheduleRelaunchActivityIfPossible ( @NonNull
ActivityClientRecord r ,
| boolean preserveWindow ) {
| if (( r . activity != null && r . activity . mFinished ) || r
. token instanceof Binder ) {
| // Do not schedule relaunch if the activity is finishing or is a local
object... | |
android_memory_battery/ActivityThreadjava1_35_0.txt | |
| public void updateTimeZone () {
| TimeZone . setDefault ( null );
| }
|
| public void clearDnsCache () {
| // a non-standard API to get this to libcore
| InetAddress . clearDnsCache ();
| // Allow libcore to perform the necessary actions as it sees fit upon a
network
| // configuration chang... | |
android_memory_battery/ActivityThreadjava1_91_0.txt | |
| private void sendMessage ( int what , Object obj , int arg1 )
{
| sendMessage ( what , obj , arg1 , 0 , false );
| }
|
| private void sendMessage ( int what , Object obj , int arg1 ,
int arg2 ) {
| sendMessage ( what , obj , arg1 , arg2 , false );
| }
|
| priv... | |
android_memory_battery/ActivityThreadjava1_164_0.txt | | }
| }
| ApplicationPackageManager . handlePackageBroadcast ( cmd , packages
, hasPkgInfo );
| }
|
| final void handleLowMemory () {
| final ArrayList < ComponentCallbacks2 > callbacks =
| collectComponentCallbacks ( true /* includeUiContexts */ );
|
| final int N = callbacks . size ... | |
android_memory_battery/android_battery_3_3.txt | libraries/app-startup)
* Guides
* [ Set up your environment for testing ](/topic/performance/appstartup/setup-env)
* [ About background work ⍈ ](/guide/background)
* [ Declare a device performance class ](/topic/performance/performance-class)
* [ About App Standby Buckets ](/topic/per... | |
android_memory_battery/ActivityThreadjava1_200_0.txt | | public static void main ( String [] args ) {
| Trace . traceBegin ( Trace . TRACE_TAG_ACTIVITY_MANAGER ,
"ActivityThreadMain" );
|
| // Install selective syscall interception
| AndroidOs . install ();
|
| // CloseGuard defaults to true and can be quite spammy. We
| // disable it here, but se... | |
android_memory_battery/ActivityThreadjava1_45_0.txt | | dalvikMax , dalvikAllocated , dalvikFree );
| proto . end ( mToken );
|
| final long oToken = proto . start ( MemInfoDumpProto . AppData .
OBJECTS );
| proto . write ( MemInfoDumpProto . AppData . ObjectStats .
VIEW_INSTANCE_COUNT ,
| viewInstanceCount );
| proto . write ( M... | |
android_memory_battery/245258072pli1_33_0.txt | its one of your automatic testing devices.
co...@li.me<co...@li.me> #13Sep 13, 2022 03:45PM
We're also seeing the same issue in our app, exclusively on Android 13 Google devices while in the background. Our targetSdkVersion is 33 and minSdkVersion is 21.
pe...@gmail.com<pe...@gmail.com> #14Sep 13, 2022 08:25PM
We are f... | |
android_memory_battery/ActivityThreadjava1_182_0.txt | | // be re-entrant in the case where the provider is in the same process.
| ContentProviderHolder holder ;
| final ProviderKey key = getGetProviderKey ( auth , userId );
| try {
| synchronized ( key ) {
| holder = ActivityManager . getService (). getContentProvider (
| getApplicationThread... | |
android_memory_battery/ActivityThreadjava1_0_0.txt | [ 
](/) | |
android_memory_battery/ActivityThreadjava1_3_0.txt | blob: 5330feffe8c014dde289d9ead6e5f844fc484242 [ [ file
](/platform/frameworks/base/+/refs/heads/main/core/java/android/app/ActivityThread.java)
] [ [ log
](/platform/frameworks/base/+log/refs/heads/main/core/java/android/app/ActivityThread.java)
] [ [ blame
](/platform/frameworks/base/+blame/refs/heads/main/core/java/... | |
android_memory_battery/245258072pli1_87_0.txt | We install this handler early in the Application.onCreate() method, like this: | |
android_memory_battery/245258072pli1_76_0.txt | Support tells mes it's working as intended for privacy reason... | |
android_memory_battery/ActivityThreadjava1_168_0.txt | |
| mProfiler = new Profiler ();
| String agent = null ;
| if ( data . initProfilerInfo != null ) {
| mProfiler . profileFile = data . initProfilerInfo . profileFile ;
| mProfiler . profileFd = data . initProfilerInfo . profileFd ;
| mProfiler . samplingInterval = data . in... | |
android_memory_battery/ActivityThreadjava1_31_0.txt | | s . token = token ;
| s . intent = intent ;
| s . bindSeq = \- 1 ;
|
| if ( Trace . isTagEnabled ( Trace . TRACE_TAG_ACTIVITY_MANAGER ))
{
| Trace . instant ( Trace . TRACE_TAG_ACTIVITY_MANAGER ,
"scheduleUnbindService. token="
| \+ token );
| }
| sendMessage ( H . UNBIND... | |
android_memory_battery/ActivityThreadjava1_180_0.txt | | "Unable to instantiate instrumentation "
| \+ data . instrumentationName \+ ": " \+ e . toString (), e );
| }
|
| final ComponentName component = new ComponentName ( ii .
packageName , ii . name );
| mInstrumentation . init ( this , instrContext , appContext ,
component ,
| da... | |
android_memory_battery/android_memory_2_2.txt | get-started)
* More
* [ Design & Plan ](/design)
* More
* [ Overview ](/quality)
* [ Core value ](/quality/core-value)
* [ User experience ](/quality/user-experience)
* [ Technical quality ](/quality/technical)
* [ Privacy & Security ](/quality/privacy-and-security)
* [ Develop ... | |
android_memory_battery/ActivityThreadjava1_37_0.txt | | @Override
| public void profilerControl ( boolean start , ProfilerInfo
profilerInfo , int profileType ) {
| sendMessage ( H . PROFILER_CONTROL , profilerInfo , start ? 1 :
0 , profileType );
| }
|
| @Override
| public void dumpHeap ( boolean managed , boolean mallocInfo ,
bool... | |
android_memory_battery/android_battery_7_1.txt | m/quality)
* [ Core value ](https://developer.android.com/quality/core-value)
* [ User experience ](https://developer.android.com/quality/user-experience)
* [ Technical quality ](https://developer.android.com/quality/technical)
* [ Privacy & security ](https://developer.android.com/quality/privacy-and-secur... | |
android_memory_battery/245258072pli1_26_0.txt | In terms of scale, from the last 30 days: | |
android_memory_battery/ActivityThreadjava1_159_0.txt | | if ( DEBUG_CONFIGURATION ) {
| Slog . v ( TAG , "Activity has newer configuration pending so drop
this"
| \+ " transaction. overrideConfig=" \+ overrideConfig
| \+ " pendingOverrideConfig=" \+ pendingOverrideConfig );
| }
| return ;
| }
| mPendingOverrideConfigs . remove ( r . token )... | |
android_memory_battery/245258072pli1_53_0.txt | android.app.RemoteServiceException.CannotDeliverBroadcastException | |
android_memory_battery/ActivityThreadjava_29_0.txt | | Context context = getSystemContext ();
| if ( context == null ) {
| Log . e ( TAG , "cannot get a valid context" );
| return ;
| }
| PackageManager pm = context . getPackageManager ();
| if ( pm == null ) {
| Log . e ( TAG , "cannot get a valid PackageManager" );
| return... | |
android_memory_battery/ActivityThreadjava1_40_0.txt | | long nativeFree = Debug . getNativeHeapFreeSize () / 1024 ;
|
| Runtime runtime = Runtime . getRuntime ();
| runtime . gc (); // Do GC since countInstancesOfClass counts
unreachable objects.
| long dalvikMax = runtime . totalMemory () / 1024 ;
| long dalvikFree = runtime . freeMe... | |
android_memory_battery/androidappActivityTh_7_0.txt | * android.app.Notification.Style
* android.app.Notification.TvExtender
* android.app.Notification.Visibility
* android.app.Notification.WearableExtender
* android.app.NotificationChannel
* android.app.NotificationChannelGroup
* android.app.NotificationManager
* android.app.NotificationManager.InterruptionFilter
* andro... | |
android_memory_battery/245258072pli1_42_0.txt | Build info:
minSdkVersion 24
compileSdkVersion 33
targetSdkVersion 33 | |
android_memory_battery/ActivityThreadjava1_198_0.txt | ENOENT );
| }
| }
|
| @Override
| public boolean access ( String path , int mode ) throws
ErrnoException {
| if ( path != null && path . startsWith ( DEPRECATE_DATA_PREFIX ))
{
| // If we opened it okay, then access check succeeded
| IoUtils . closeQuietly (
| openDeprecatedDataPath ( ... | |
android_memory_battery/245258072pli1_50_0.txt | google Redfin 64-bit only
1080x2340
Android 13 (SDK 33)
-
arm64-v8a
en_US | |
android_memory_battery/android_battery_2_8.txt | ur app with App Standby
To test the App Standby mode with your app, do the following:
1. Configure a hardware device or virtual device with an Android 6.0 (API level 23) or higher system image.
2. Connect the device to your development machine and install your app.
3. Run your app and leave it active.
4. F... | |
android_memory_battery/ActivityThreadjava1_148_0.txt | | }
| }
| final int NSVC = mServices . size ();
| for ( int i = 0 ; i < NSVC ; i ++) {
| final Service service = mServices . valueAt ( i );
| // If {@code includeUiContext} is set to false, WindowProviderService
should not be
| // collected because WindowProviderService is a UI Contex... | |
android_memory_battery/android_memory_2_6.txt | ComponentCallbacks2.TRIM_MEMORY_BACKGROUND,
ComponentCallbacks2.TRIM_MEMORY_MODERATE,
ComponentCallbacks2.TRIM_MEMORY_COMPLETE -> {
/*
Release as much memory as the process can.
The app is on the LRU list and the... | |
android_memory_battery/ActivityThreadjava1_73_0.txt | classLoader );
|
| // give ourselves a default profiler
| mProfiler = new Profiler ();
| }
| }
|
| @UnsupportedAppUsage
| void scheduleGcIdler () {
| if (! mGcIdlerScheduled ) {
| mGcIdlerScheduled = true ;
| Looper . myQueue (). addIdleHandler ( mGcIdler );
| }
| mH . removeMessages ... | |
android_memory_battery/ActivityThreadjava1_10_0.txt | | import java . lang . reflect . Method ;
| import java . net . InetAddress ;
| import java . nio . file . DirectoryStream ;
| import java . nio . file . Files ;
| import java . nio . file . Path ;
| import java . nio . file . StandardCopyOption ;
| import java . ... | |
android_memory_battery/ActivityThreadjava1_34_0.txt | | sendMessage ( H . BIND_APPLICATION , data );
| }
|
| private void updateCompatOverrideScale ( CompatibilityInfo info ) {
| if ( info . hasOverrideScaling ()) {
| CompatibilityInfo . setOverrideInvertedScale ( info .
applicationInvertedScale ,
| info . applicationDensityInvertedScale ... | |
android_memory_battery/androidappActivityTh_4_0.txt | * android.app.ActionBar
* android.app.ActionBar.DisplayOptions
* android.app.ActionBar.LayoutParams
* android.app.ActionBar.NavigationMode
* android.app.ActionBar.OnMenuVisibilityListener
* android.app.ActionBar.OnNavigationListener
* android.app.ActionBar.Tab
* android.app.ActionBar.TabListener
* android.app.Activity
... | |
android_memory_battery/android_memory_1_3.txt | libraries/app-startup)
* Guides
* [ Set up your environment for testing ](/topic/performance/appstartup/setup-env)
* [ About background work ⍈ ](/guide/background)
* [ Declare a device performance class ](/topic/performance/performance-class)
* [ About App Standby Buckets ](/topic/per... | |
android_memory_battery/android_battery_4_3.txt | libraries/app-startup)
* Guides
* [ Set up your environment for testing ](/topic/performance/appstartup/setup-env)
* [ About background work ⍈ ](/guide/background)
* [ Declare a device performance class ](/topic/performance/performance-class)
* [ About App Standby Buckets ](/topic/per... | |
android_memory_battery/245258072pli1_86_0.txt | else -> false
}
}
}
We have to operate off class name strings because the CannotDeliverBroadcastException class is hidden and not available to us. | |
android_memory_battery/245258072pli1_13_0.txt | Device used Which device did you use to reproduce this issue? | |
android_memory_battery/ActivityThreadjava1_87_0.txt | | @UnsupportedAppUsage ( maxTargetSdk = Build . VERSION_CODES . R ,
trackingBug = 170729553 )
| public void unregisterOnActivityPausedListener ( Activity activity ,
| OnActivityPausedListener listener ) {
| synchronized ( mOnPauseListeners ) {
| ArrayList < OnActivityPausedListener > lis... | |
android_memory_battery/android_battery_3_4.txt | ent)
* [ Adopt Compose for teams ](/jetpack/compose/adopt)
* Get started
* [ Hello world ](/codelabs/basic-android-kotlin-compose-first-app)
* [ Training courses ](/courses)
* [ Tutorials ](/get-started/codelabs)
* [ Kotlin for Android ](/kotlin)
* [ Monetization with Play ↗️ ](https://play.google.... | |
android_memory_battery/ActivityThreadjava1_66_0.txt | | Resources getTopLevelResources ( String resDir , String []
splitResDirs , String [] legacyOverlayDirs ,
| String [] overlayPaths , String [] libDirs , LoadedApk pkgInfo ,
| Configuration overrideConfig ) {
| return mResourcesManager . getResources ( null , resDir ,
splitResDirs ,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.