id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
android_memory_battery/ActivityThreadjava1_181_0.txt | | }
| }
|
| @UnsupportedAppUsage
| private void installContentProviders (
| Context context , List < ProviderInfo > providers ) {
| final ArrayList < ContentProviderHolder > results = new ArrayList
<>();
|
| for ( ProviderInfo cpi : providers ) {
| if ( DEBUG_PROVIDER ) {
| StringBui... | |
android_memory_battery/ActivityThreadjava1_68_0.txt | | }
| }
| return getPackageInfo ( ai , compatInfo , null , securityViolation
, includeCode ,
| registerPackage );
| }
|
| @UnsupportedAppUsage
| public final LoadedApk getPackageInfoNoCheck ( ApplicationInfo ai ,
| CompatibilityInfo compatInfo ) {
| return getPackageInfo ( ai , compa... | |
android_memory_battery/android_memory_0_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/245258072pli1_112_0.txt | mi...@canarymail.io<mi...@canarymail.io> #61Dec 5, 2022 01:51AM
Any Update? Regarding this
du...@google.com<du...@google.com> #62Dec 5, 2022 08:59AM
Hi milan@canarymail.io, please find the update from comment #60 above. Thanks! | |
android_memory_battery/ActivityThreadjava_58_0.txt | | } catch ( Exception e ) {
| if (! mInstrumentation . onException ( r . activity , e )) {
| throw new RuntimeException (
| "Unable to pause activity "
| \+ r . intent . getComponent (). toShortString ()
| \+ ": " \+ e . toString (), e );
| }
| }
| r . paused = true ;
... | |
android_memory_battery/ActivityThreadjava1_130_0.txt | | }
| if ( finished ) {
| r . activity . mFinished = true ;
| }
|
| // Pre-Honeycomb apps always save their state before pausing
| final boolean shouldSaveState = ! r . activity . mFinished && r
. isPreHoneycomb ();
| if ( shouldSaveState ) {
| callActivityOnSaveInstanceState ( r )... | |
android_memory_battery/android_battery_7_3.txt | [ Transfer BLE data ](/develop/connectivity/bluetooth/ble/transfer-ble-data)
* BLE Audio
* [ About BLE Audio support ](/develop/connectivity/bluetooth/ble-audio/overview)
* [ Use Audio Manager self-managed calls ](/develop/connectivity/bluetooth/ble-audio/audio-manager)
* [ Manage calls usi... | |
android_memory_battery/android_battery_3_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/android_battery_1_9.txt | sb.append(auth);
}
if (params.getTriggeredContentUris() != null) {
for (Uri uri : params.getTriggeredContentUris()) {
sb.append("\n");
sb.append(uri);
}
}
} else {
sb.append("(No content)");
}
Log... | |
android_memory_battery/ActivityThreadjava_90_0.txt | | });
| }
|
| private final void detach ()
| {
| sThreadLocal . set ( null );
| }
|
| public static final ActivityThread systemMain () {
| HardwareRenderer . disable ();
| ActivityThread thread = new ActivityThread ();
| thread . attach ( true );
| return thread ;
| }
|
| publ... | |
android_memory_battery/ActivityThreadjava1_62_0.txt | | Trace . traceEnd ( Trace . TRACE_TAG_ACTIVITY_MANAGER );
| }
| break ;
| case ON_NEW_ACTIVITY_OPTIONS :
| Pair < IBinder , ActivityOptions > pair = ( Pair < IBinder ,
ActivityOptions >) msg . obj ;
| onNewActivityOptions ( pair . first , pair . second );
| break ;
| case ENT... | |
android_memory_battery/ActivityThreadjava1_61_0.txt | | SomeArgs args = ( SomeArgs ) msg . obj ;
| String message = ( String ) args . arg1 ;
| Bundle extras = ( Bundle ) args . arg2 ;
| args . recycle ();
| throwRemoteServiceException ( message , msg . arg1 , extras );
| break ;
| }
| case DUMP_HEAP :
| handleDumpHeap ((... | |
android_memory_battery/245258072pli1_49_0.txt | Tested device on Play console Open testing | |
android_memory_battery/245258072pli1_74_0.txt | Can some of the very big app here check if the data is available to them on Play Console with hundreds of users for a single crash ? | |
android_memory_battery/ActivityThreadjava_67_0.txt | | r . mPendingRemoveWindow = v ;
| r . mPendingRemoveWindowManager = wm ;
| } else {
| wm . removeViewImmediate ( v );
| }
| }
| if ( wtoken != null && r . mPendingRemoveWindow == null ) {
| WindowManagerImpl . getDefault (). closeAll ( wtoken ,
| r . activity . getClass ... | |
android_memory_battery/ActivityThreadjava1_121_0.txt | | }
|
| private void handleServiceArgs ( ServiceArgsData data ) {
| CreateServiceData createData = mServicesData . get ( data . token
);
| Service s = mServices . get ( data . token );
| if ( s != null ) {
| try {
| if ( data . args != null ) {
| data . args . setExt... | |
android_memory_battery/ActivityThreadjava1_49_0.txt | | ucd . pkg = pkg ;
| ucd . info = info ;
| updateCompatOverrideScale ( info );
| sendMessage ( H . UPDATE_PACKAGE_COMPATIBILITY_INFO , ucd );
| }
|
| public void scheduleTrimMemory ( int level ) {
| final Runnable r = PooledLambda . obtainRunnable ( ActivityThread
:: handleTr... | |
android_memory_battery/android_battery_2_7.txt | he app temporary
access to network services and partial wakelocks, then returns the device or
app to the idle state. For time-sensitive, user-visible notifications,
consider using high priority messages to enable delivery in Doze mode. High
priority messages can result in notifications. See [ FCM's guidance
](https://f... | |
android_memory_battery/ActivityThreadjava_47_0.txt | | throw e ;
| }
| // falling through with 'binder' still null
| }
|
| // tell the OS that we're live now
| try {
| ActivityManagerNative . getDefault (). backupAgentCreated (
packageName , binder );
| } catch ( RemoteException e ) {
| // nothing to do.
| }
| } catch ( Exception e ) {
|... | |
android_memory_battery/ActivityThreadjava1_137_0.txt | | }
|
| private void deliverResults ( ActivityClientRecord r , List <
ResultInfo > results , String reason ) {
| final int N = results . size ();
| for ( int i = 0 ; i < N ; i ++) {
| ResultInfo ri = results . get ( i );
| try {
| if ( ri . mData != null ) {
| r... | |
android_memory_battery/245258072pli1_106_0.txt | 100% Android 13
zh...@expediagroup.com<zh...@expediagroup.com> #58Nov 28, 2022 07:49PM
Devices
100% Google
Operating systems
100% Android 13
50%
Pixel 7 Pro
50%
Pixel 6 Pro | |
android_memory_battery/245258072pli1_116_0.txt | https://primes-crash.corp.google.com/product/716408/report/1000001202436491287
jo...@gmail.com<jo...@gmail.com> #69Jan 3, 2023 08:03AM
Comment has been deleted.
Message last modified on Jan 3, 2023 08:05AM
ji...@qualcomm.corp-partner.google.com<ji...@qualcomm.corp-partner.google.com> #70Jan 9, 2023 07:49PM
hi google, | |
android_memory_battery/ActivityThreadjava_55_0.txt | | r . onlyLocalRequest = false ;
|
| } else {
| // If an exception was thrown when trying to resume, then
| // just end this activity.
| try {
| ActivityManagerNative . getDefault ()
| . finishActivity ( token , Activity . RESULT_CANCELED , null );
| } catch ( RemoteException ex ) {
|... | |
android_memory_battery/ActivityThreadjava1_55_0.txt | | generateForegroundServiceDidNotStartInTimeException ( String message ,
Bundle extras ) {
| final String serviceClassName =
| ForegroundServiceDidNotStartInTimeException .
getServiceClassNameFromExtras ( extras );
| final Exception inner = ( serviceClassName == null ) ? null
| : Service ... | |
android_memory_battery/ActivityThreadjava_50_0.txt | | if ( s != null ) {
| PrintWriter pw = new PrintWriter ( new FileOutputStream ( info .
fd ));
| s . dump ( info . fd , pw , info . args );
| pw . close ();
| }
| } finally {
| synchronized ( info ) {
| info . dumped = true ;
| info . notifyAll ();
| }
| }
| }
... | |
android_memory_battery/androidappActivityTh_6_0.txt | * android.app.FragmentManager
* android.app.FragmentManager.BackStackEntry
* android.app.FragmentManager.FragmentLifecycleCallbacks
* android.app.FragmentManager.OnBackStackChangedListener
* android.app.FragmentManagerNonConfig
* android.app.FragmentTransaction
* android.app.FragmentTransaction.Transit
* android.app.Fr... | |
android_memory_battery/ActivityThreadjava1_143_0.txt | | tmp = null ;
| for ( int i = 0 ; i < N ; i ++) {
| ActivityClientRecord r = mRelaunchingActivities . get ( i );
| if ( r . token == token ) {
| tmp = r ;
| configChanges |= tmp . pendingConfigChanges ;
| mRelaunchingActivities . remove ( i );
| i \--;
| N \--;
| ... | |
android_memory_battery/245258072pli1_20_0.txt | adb shell screenrecord /sdcard/video.mp4 Subsequently use following command to pull the recorded file: adb pull /sdcard/video.mp4 Attach the file to this issue. | |
android_memory_battery/245258072pli1_72_0.txt | to...@gmail.com<to...@gmail.com> #36Oct 17, 2022 10:15PM
See the same issue, but unfortunately the Play Store console for me on the Crash report does no more list the affected devices since a couple of weeks. | |
android_memory_battery/ActivityThreadjava1_151_0.txt | finalOverrideConfig , displayId );
|
| // Apply the ContextThemeWrapper override if necessary.
| // NOTE: Make sure the configurations are not modified, as they are treated
as immutable
| // in many places.
| final Configuration configToReport = createNewConfigAndUpdateIfNotNull
( newConfig ,
| contextThe... | |
android_memory_battery/ActivityThreadjava_40_0.txt | | r . packageInfo = getPackageInfo ( aInfo . applicationInfo ,
| Context . CONTEXT_INCLUDE_CODE );
| }
|
| ComponentName component = r . intent . getComponent ();
| if ( component == null ) {
| component = r . intent . resolveActivity (
| mInitialApplication . getPackageManager... | |
android_memory_battery/245258072pli1_82_0.txt | class CustomUncaughtExceptionHandler(
private val uncaughtExceptionHandler: Thread.UncaughtExceptionHandler) : Thread.UncaughtExceptionHandler { | |
android_memory_battery/ActivityThreadjava_30_0.txt | |
| final class GcIdler implements MessageQueue . IdleHandler {
| public final boolean queueIdle () {
| doGcIfNeeded ();
| return false ;
| }
| }
|
| private final static class ResourcesKey {
| final private String mResDir ;
| final private float mScale ;
| final private int mHa... | |
android_memory_battery/245258072pli1_118_0.txt | ji...@qualcomm.corp-partner.google.com<ji...@qualcomm.corp-partner.google.com> #72Jan 10, 2023 12:41AM
Thanks for your patches update.
al...@mercari.com<al...@mercari.com> #73Jan 15, 2023 06:36PM
Is this fix from an OS update patch? The linked tickets are internal. | |
android_memory_battery/ActivityThreadjava_74_0.txt | | if (! mResConfiguration . isOtherSeqNewer ( config )) {
| if ( DEBUG_CONFIGURATION ) Slog . v ( TAG , "Skipping new config:
curSeq="
| \+ mResConfiguration . seq \+ ", newSeq=" \+ config . seq );
| return false ;
| }
| int changes = mResConfiguration . updateFrom ( config )... | |
android_memory_battery/245258072pli1_77_0.txt | Can some of the very big app here check if the data is available to them on Play Console with hundreds of users for a single crash ? | |
android_memory_battery/ActivityThreadjava_37_0.txt | | mH . removeMessages ( H . GC_WHEN_IDLE );
| }
|
| void unscheduleGcIdler () {
| if ( mGcIdlerScheduled ) {
| mGcIdlerScheduled = false ;
| Looper . myQueue (). removeIdleHandler ( mGcIdler );
| }
| mH . removeMessages ( H . GC_WHEN_IDLE );
| }
|
| void doGcIfNeeded () {
| ... | |
android_memory_battery/ActivityThreadjava1_39_0.txt | | }
| }
|
| public void dumpProvider ( ParcelFileDescriptor pfd , IBinder
providertoken ,
| String [] args ) {
| DumpComponentInfo data = new DumpComponentInfo ();
| try {
| data . fd = pfd . dup ();
| data . token = providertoken ;
| data . args = args ;
| sendMessage ( H... | |
android_memory_battery/ActivityThreadjava_39_0.txt | | ArrayList < ResultInfo > list = new ArrayList < ResultInfo >();
| list . add ( new ResultInfo ( id , requestCode , resultCode ,
data ));
| mAppThread . scheduleSendResult ( token , list );
| }
|
| // if the thread hasn't started yet, we don't have the handler, so just
| // save the me... | |
android_memory_battery/ActivityThreadjava_20_0.txt | | long viewRootInstanceCount = ViewDebug . getViewRootInstanceCount ();
| long appContextInstanceCount = Debug . countInstancesOfClass (
ContextImpl . class );
| long activityInstanceCount = Debug . countInstancesOfClass (
Activity . class );
| int globalAssetCount = AssetManager . getG... | |
android_memory_battery/ActivityThreadjava1_184_0.txt | | }
| }
| } else {
| prc . unstableCount += 1 ;
| if ( prc . unstableCount == 1 ) {
| // We are acquiring a new unstable reference on the provider.
| if ( prc . removePending ) {
| // Oh look, we actually have a remove pending for the
| // provider, which is still holding the last unstable... | |
android_memory_battery/android_memory_0_5.txt | w Linux process for
the application with a single thread of execution. By default, all components
of the same application run in the same process and thread, called the _main_
thread.
If an application component starts and there is already a process for that
application, because another component from the application ... | |
android_memory_battery/android_battery_1_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/android_memory_2_7.txt | f memory, you can query the system to determine how much
heap space is available on the current device. You can query the system for
this figure by calling ` [ getMemoryInfo()
](/reference/android/app/ActivityManager#getMemoryInfo\(android.app.ActivityManager.MemoryInfo\))
` . This returns an ` [ ActivityManager.Memory... | |
android_memory_battery/android_memory_3_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_4_0.txt | minSdk=21
TargetSDK=31
Fatal Exception: android.app.RemoteServiceException$CannotDeliverBroadcastException: can't deliver broadcast
at android.app.ActivityThread.throwRemoteServiceException(ActivityThread.java:1980)
at android.app.ActivityThread.-$$Nest$mthrowRemoteServiceException()
at android.app.ActivityThread$H.han... | |
android_memory_battery/245258072pli1_104_0.txt | Models due to Crashlytics | |
android_memory_battery/ActivityThreadjava1_69_0.txt | includeCode ,
| boolean registerPackage , boolean isSdkSandbox ) {
| final boolean differentUser = ( UserHandle . myUserId () !=
UserHandle . getUserId ( aInfo . uid ));
| synchronized ( mResourcesManager ) {
| WeakReference < LoadedApk > ref ;
| if ( differentUser || isSdkSandbox... | |
android_memory_battery/ActivityThreadjava1_26_0.txt | | long startRequestedUptime ;
|
| @Override
| public String toString () {
| return "AppBindData{appInfo=" \+ appInfo \+ "}" ;
| }
| }
|
| static final class Profiler {
| String profileFile ;
| ParcelFileDescriptor profileFd ;
| int samplingInterval ;
| boolean autoStopProfiler ;
| bo... | |
android_memory_battery/ActivityThreadjava1_174_0.txt | | mInitialApplication = app ;
| final boolean updateHttpProxy ;
| synchronized ( this ) {
| updateHttpProxy = mUpdateHttpProxyOnBind ;
| // This synchronized block ensures that any subsequent call to
updateHttpProxy()
| // will see a non-null mInitialApplication.
| }
| if ( updateHttpProxy ) {
... | |
android_memory_battery/ActivityThreadjava1_113_0.txt | | } finally {
| sCurrentBroadcastIntent . set ( null );
| }
|
| if ( receiver . getPendingResult () != null ) {
| data . finish ();
| }
| }
|
| // Instantiate a BackupAgent and tell it that it's alive
| private void handleCreateBackupAgent ( CreateBackupAgentData data )
{
| if ( DEB... | |
android_memory_battery/ActivityThreadjava_42_0.txt | | " did not call through to super.onPostCreate()" );
| }
| }
| }
| r . paused = true ;
|
| mActivities . put ( r . token , r );
|
| } catch ( SuperNotCalledException e ) {
| throw e ;
|
| } catch ( Exception e ) {
| if (! mInstrumentation . onException ( activity , e )) ... | |
android_memory_battery/android_memory_2_9.txt | orse. Even though pools avoid allocations, they introduce other
overheads. For example, maintaining the pool usually involves synchronization,
which has non-negligible overhead. Also, clearing the pooled object instance
to avoid memory leaks during release and then its initialization during
acquisition can have non-zer... | |
android_memory_battery/ActivityThreadjava1_147_0.txt | | r . pendingIntents = pendingIntents ;
| } else {
| r . pendingIntents . addAll ( pendingIntents );
| }
| }
| r . startsNotResumed = startsNotResumed ;
| r . overrideConfig = overrideConfig ;
|
| handleLaunchActivity ( r , pendingActions , mLastReportedDeviceId ,
customIntent );... | |
android_memory_battery/ActivityThreadjava_27_0.txt | | mInitialApplication . onTerminate ();
| }
| Looper . myLooper (). quit ();
| break ;
| case NEW_INTENT :
| handleNewIntent (( NewIntentData ) msg . obj );
| break ;
| case RECEIVER :
| handleReceiver (( ReceiverData ) msg . obj );
| maybeSnapshot ();
| break ;
| case CREATE_... | |
android_memory_battery/android_battery_6_7.txt | androiddev)
Connect with the Android Developers community on LinkedIn
* ### More Android
* [ Android ](//www.android.com)
* [ Android for Enterprise ](//www.android.com/enterprise/)
* [ Security ](//www.android.com/security-center/)
* [ Source ](//source.android.com)
* [ News ](/news)
* [... | |
android_memory_battery/245258072pli1_88_0.txt | val defaultUncaughtExceptionHandler = Thread.getDefaultUncaughtExceptionHandler()
Thread.setDefaultUncaughtExceptionHandler(
CustomUncaughtExceptionHandler(defaultUncaughtExceptionHandler)
)
I might be a bit premature with this, but so far this has resulted in none of these crashes appearing in Play Console. A few did ... | |
android_memory_battery/android_battery_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/245258072pli1_34_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_179_0.txt | | mInstrumentedLibDir = data . info . getLibDir ();
|
| return ii ;
| }
|
| private void initInstrumentation (
| InstrumentationInfo ii , AppBindData data , ContextImpl appContext
) {
| ApplicationInfo instrApp ;
| try {
| instrApp = getPackageManager (). getApplicationInfo ( ii .
... | |
android_memory_battery/android_memory_3_0.txt | [ 
](/)
*
[ Essentials ](https://developer.android.com/get-started)
* Modern Android
* Quickly bring your app to life with less code, using a modern d... | |
android_memory_battery/ActivityThreadjava_16_0.txt | | ComponentName instrumentationName , String profileFile ,
| Bundle instrumentationArgs , IInstrumentationWatcher
instrumentationWatcher ,
| int debugMode , boolean isRestrictedBackupMode , Configuration
config ,
| Map < String , IBinder > services , Bundle coreSettings ) {
|
| if ( serv... | |
android_memory_battery/245258072pli1_124_0.txt | Process.killProcess(Process.myPid());
// System.exit() too???
Won't the app be in a bad state after the uncaught exception? Will the main thread be able to take user-input, or will it just timeout into an ANR? | |
android_memory_battery/ActivityThreadjava1_74_0.txt | now ) {
| //Slog.i(TAG, "**** WE DO, WE DO WANT TO GC!");
| BinderInternal . forceGc ( reason );
| }
| }
|
| private static final String HEAP_FULL_COLUMN =
| "%13s %8s %8s %8s %8s %8s %8s %8s %8s %8s %8s %8s" ;
| private static final String HEAP_COLUMN =
| "%13s %8s %8s %8s %8s %8s %8s %8s %8s... | |
android_memory_battery/ActivityThreadjava1_117_0.txt | | context = ( ContextImpl ) context . createContextForSplit ( data
. info . splitName );
| }
| if ( data . info . attributionTags != null && data . info .
attributionTags . length > 0 ) {
| final String attributionTag = data . info . attributionTags [ 0
];
| context = ( C... | |
android_memory_battery/ActivityThreadjava_24_0.txt | |
| public void setCoreSettings ( Bundle coreSettings ) {
| queueOrSendMessage ( H . SET_CORE_SETTINGS , coreSettings );
| }
| }
|
| private final class H extends Handler {
| public static final int LAUNCH_ACTIVITY = 100 ;
| public static final int PAUSE_ACTIVITY = 101 ;
| publ... | |
android_memory_battery/ActivityThreadjava1_123_0.txt | | }
| Slog . i ( TAG , "handleTimeoutService: exception for " \+ token ,
e );
| }
| } else {
| Slog . wtf ( TAG , "handleTimeoutService: token=" \+ token \+ "
not found." );
| }
| }
| /**
| * Resume the activity.
| * @param r Target activity record.
| * @param finalStateRequest Flag in... | |
android_memory_battery/245258072pli1_90_0.txt | pi...@gmail.com<pi...@gmail.com> #40Oct 25, 2022 01:05AM
android.app.RemoteServiceException: can't deliver broadcast
pi...@gmail.com<pi...@gmail.com> #41Oct 25, 2022 01:05AM
android 13 sdk 33 i also face this issue
lo...@gmail.com<lo...@gmail.com> #42Oct 28, 2022 01:46PM
We had this same issue with all the previously r... | |
android_memory_battery/ActivityThreadjava1_101_0.txt | |
| @Override
| public void handleNewIntent ( ActivityClientRecord r , List <
ReferrerIntent > intents ) {
| checkAndBlockForNetworkAccess ();
| deliverNewIntents ( r , intents );
| }
|
| public void handleRequestAssistContextExtras (
RequestAssistContextExtras cmd ) {
| // Filling for aut... | |
android_memory_battery/ActivityThreadjava_0_0.txt | [ 
](/) | |
android_memory_battery/ActivityThreadjava_57_0.txt | |
| final Bundle performPauseActivity ( IBinder token , boolean
finished ,
| boolean saveState ) {
| ActivityClientRecord r = mActivities . get ( token );
| return r != null ? performPauseActivity ( r , finished ,
saveState ) : null ;
| }
|
| final Bundle performPauseActivity (... | |
android_memory_battery/ActivityThreadjava1_162_0.txt | | case ApplicationThreadConstants . PACKAGE_REMOVED_DONT_KILL :
| {
| final boolean killApp = cmd == ApplicationThreadConstants .
PACKAGE_REMOVED ;
| if ( packages == null ) {
| break ;
| }
| synchronized ( mResourcesManager ) {
| for ( int i = packages . length \- 1 ; i >= 0... | |
android_memory_battery/ActivityThreadjava1_32_0.txt | {
| Trace . instant ( Trace . TRACE_TAG_ACTIVITY_MANAGER ,
"scheduleTimeoutService. token="
| \+ token );
| }
| sendMessage ( H . TIMEOUT_SERVICE , token , startId );
| }
|
| @Override
| public final void schedulePing ( RemoteCallback pong ) {
| sendMessage ( H . PING , pong );
... | |
android_memory_battery/ActivityThreadjava1_191_0.txt | | if ( c == null ) {
| Slog . w ( TAG , "Unable to get context for package " \+
| ai . packageName \+
| " while loading content provider " \+
| info . name );
| return null ;
| }
|
| if ( info . splitName != null ) {
| try {
| c = c . createContextForSplit ( info . split... | |
android_memory_battery/ActivityThreadjava1_29_0.txt | Bundle extras ,
| boolean ordered , boolean assumeDelivered , int sendingUser , int
processState ,
| int sendingUid , String sendingPackage ) {
| updateProcessState ( processState , false );
| ReceiverData r = new ReceiverData ( intent , resultCode , data ,
extras ,
| ordered , ... | |
android_memory_battery/ActivityThreadjava_66_0.txt | | if (! r . activity . mCalled ) {
| throw new SuperNotCalledException (
| "Activity " \+ safeToComponentShortString ( r . intent ) \+
| " did not call through to super.onDestroy()" );
| }
| if ( r . window != null ) {
| r . window . closeAllPanels ();
| }
| } catch ( SuperN... | |
android_memory_battery/ActivityThreadjava1_7_0.txt | | import android . media . MediaFrameworkInitializer ;
| import android . media . MediaFrameworkPlatformInitializer ;
| import android . media . MediaServiceManager ;
| import android . net . ConnectivityManager ;
| import android . net . Proxy ;
| import android . net . Traffic... | |
android_memory_battery/ActivityThreadjava_60_0.txt | | } catch ( Exception e ) {
| if (! mInstrumentation . onException ( r . activity , e )) {
| throw new RuntimeException (
| "Unable to stop activity "
| \+ r . intent . getComponent (). toShortString ()
| \+ ": " \+ e . toString (), e );
| }
| }
| r . stopped = true ;
... | |
android_memory_battery/android_memory_3_8.txt | vices ](/chrome-os)
* [ Android for cars ](/cars)
* [ Android TV ](/tv)
* ### Releases
* [ Android 14 ](/about/versions/14)
* [ Android 13 ](/about/versions/13)
* [ Android 12 ](/about/versions/12)
* [ Android 11 ](/about/versions/11)
* [ Android 10 ](/about/versions/10)
* [ Pie ](/... | |
android_memory_battery/ActivityThreadjava_9_0.txt | | parent = null ;
| embeddedID = null ;
| paused = false ;
| stopped = false ;
| hideForNow = false ;
| nextIdle = null ;
| }
|
| public boolean isPreHoneycomb () {
| if ( activity != null ) {
| return activity . getApplicationInfo (). targetSdkVersion
| < android . os . ... | |
android_memory_battery/ActivityThreadjava1_92_0.txt | ApplicationInfo. See
| // also {@link
SdkSandboxManagerLocal#getSdkSandboxApplicationInfoForInstrumentation}.
| r . packageInfo =
| getPackageInfo (
| getInstrumentation (). getContext (). getApplicationInfo (),
| mCompatibilityInfo ,
| Context . CONTEXT_INCLUDE_CODE );
| } else if ( r . packa... | |
android_memory_battery/android_memory_2_10.txt | ary, look for an implementation that strongly
matches what you need. Otherwise, you might decide to create your own
implementation.
Content and code samples on this page are subject to the licenses described in
the [ Content License ](/license) . Java and OpenJDK are trademarks or
registered trademarks of Oracle and/o... | |
android_memory_battery/android_battery_4_7.txt | ch row shows a colored bar segment when a system component is active and
thus drawing current from the battery. The chart doesn't show how much battery
is used by the component—only whether the app is active. Charts are organized
by category, showing a bar for each category over time, as displayed on the
_x_ -axis of t... | |
android_memory_battery/245258072pli1_93_0.txt | This issue has been reported for more than 2 months, is there any progress you can share with us? | |
android_memory_battery/ActivityThreadjava1_1_0.txt | [ Sign in
](https://accounts.google.com/AccountChooser?faa=1&service=gerritcodereview&continue=https://android.googlesource.com/login/platform/frameworks/base/%2B/refs/heads/main/core/java/android/app/ActivityThread.java) | |
android_memory_battery/ActivityThreadjava1_64_0.txt | | \+ ( a . activity != null && a . activity . mFinished ));
| }
| if ( a . activity != null && ! a . activity . mFinished ) {
| ac . activityIdle ( a . token , a . createdConfig ,
stopProfiling );
| a . createdConfig = null ;
| }
| }
| if ( stopProfiling ) {
| mPr... | |
android_memory_battery/android_battery_4_8.txt | nougat)
* ### Documentation and Downloads
* [ Android Studio guide ](/studio/intro)
* [ Developers guides ](/guide)
* [ API reference ](/reference)
* [ Download Studio ](/studio)
* [ Android NDK ](/ndk)
* ### Support
* [ Report platform bug ](//issuetracker.google.com/issues/new?compon... | |
android_memory_battery/245258072pli1_6_0.txt | android:minSdkVersion="26"
android:targetSdkVersion="31"
ro...@bbc.co.uk<ro...@bbc.co.uk> #3Sep 7, 2022 12:32AM
Hi - we're seeing this across a few of our apps, at approximately a 1% crash rate as opposed to our normal baseline which is in the region of 0.05%. In one case it has crossed the 'bad behaviour' threshold. | |
android_memory_battery/ActivityThreadjava_38_0.txt | GET_SHARED_LIBRARY_FILES );
| if ( aInfo == null ) {
| // Throw an exception.
| Instrumentation . checkStartActivityResult (
| IActivityManager . START_CLASS_NOT_FOUND , intent );
| }
| return aInfo ;
| }
|
| public final Activity startActivityNow ( Activity parent , String
id ,
| Int... | |
android_memory_battery/ActivityThreadjava1_89_0.txt | | /**
| * @hide
| */
| public void removeConfigurationChangedListener ( Consumer < IBinder >
consumer ) {
| mConfigurationChangedListenerController . removeListener ( consumer );
| }
|
| @Override
| public void updatePendingConfiguration ( Configuration config ) {
| final Configuration up... | |
android_memory_battery/ActivityThreadjava1_19_0.txt | |
| /**
| * This can be different from the current configuration because a new
configuration may not
| * always update to activity, e.g. windowing mode change without size
change.
| */
| int mLastReportedWindowingMode = WINDOWING_MODE_UNDEFINED ;
|
| @LifecycleState
| private int mLifecycleState = PRE_ON... | |
android_memory_battery/245258072pli1_115_0.txt | bi...@google.com<bi...@google.com> #68Dec 20, 2022 03:42PM
Curious how we fixed this issue? I would love to learn a bit more about the issue since we are seeing same crashes in b/263264490 | |
android_memory_battery/ActivityThreadjava1_98_0.txt | | Display display =
| dm . getCompatibleDisplay ( id , appContext . getResources ());
| appContext = ( ContextImpl ) appContext . createDisplayContext (
display );
| break ;
| }
| }
| }
| return appContext ;
| }
|
| /**
| * Creates the base context for the sandbox activity based on its... | |
android_memory_battery/ActivityThreadjava_51_0.txt | | ensureJitEnabled ();
| } catch ( Exception e ) {
| if (! mInstrumentation . onException ( s , e )) {
| throw new RuntimeException (
| "Unable to start service " \+ s
| \+ " with " \+ data . args \+ ": " \+ e . toString (), e );
| }
| }
| }
| }
|
| private final void h... | |
android_memory_battery/ActivityThreadjava1_161_0.txt | | }
|
| static void handleDumpHeap ( DumpHeapData dhd ) {
| if ( dhd . runGc ) {
| System . gc ();
| System . runFinalization ();
| System . gc ();
| }
| if ( dhd . dumpBitmaps != null ) {
| Bitmap . dumpAll ( dhd . dumpBitmaps );
| }
| try ( ParcelFileDescriptor fd =... | |
android_memory_battery/android_battery_4_5.txt | em tracing ](/topic/performance/tracing) , the [
Macrobenchmark power metric ](/topic/performance/benchmarking/macrobenchmark-
metrics#power) , or the [ Power Profiler ](/studio/profile/power-profiler) to
get insights into battery performance.
This document shows the basic setup steps and workflow for the Batterystats... | |
android_memory_battery/ActivityThreadjava1_38_0.txt | | Slog . w ( TAG , "Failed setting process group to " \+ group , e
);
| }
| }
|
| public void dispatchPackageBroadcast ( int cmd , String []
packages ) {
| sendMessage ( H . DISPATCH_PACKAGE_BROADCAST , packages , cmd );
| }
|
| @Override
| public void scheduleCrash ( String ms... | |
android_memory_battery/ActivityThreadjava1_106_0.txt | | // Previous recommendation was for apps to enter picture-in-picture in
| // onUserLeavingHint() for cases such as the app being put into the
background. For
| // backwards compatibility with apps that are not using the newer
| // onPictureInPictureRequested() callback, we schedule the life cycle
events needed to
... | |
android_memory_battery/245258072pli1_61_0.txt | android.app.ActivityThread.main(ActivityThread.java:7898) | |
android_memory_battery/android_battery_7_7.txt | ](//cloud.google.com)
* [ All products ](//developers.google.com/products/)
* [ Privacy ](//policies.google.com/privacy)
* [ License ](/license)
* [ Brand guidelines ](/distribute/marketing-tools/brand-guidelines)
* Manage cookies
* Get news and tips by email [ Subscribe ](/updates)
* English
* Deu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.