Home
last modified time | relevance | path

Searched refs:appExtras (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/tests/servicestests/test-apps/SuspendTestApp/src/com/android/servicestests/apps/suspendtestapp/
DSuspendTestReceiver.java44 final Bundle appExtras; in onReceive() local
49 appExtras = packageManager.getSuspendedPackageAppExtras(); in onReceive()
51 result.putBundle(EXTRA_SUSPENDED_APP_EXTRAS, appExtras); in onReceive()
55 appExtras = intent.getBundleExtra(Intent.EXTRA_SUSPENDED_PACKAGE_EXTRAS); in onReceive()
57 .putExtra(EXTRA_SUSPENDED_APP_EXTRAS, appExtras) in onReceive()
/frameworks/base/core/java/android/content/pm/
DPackageUserState.java503 public PersistableBundle appExtras; field in PackageUserState.SuspendParams
519 PersistableBundle appExtras, PersistableBundle launcherExtras) { in getInstanceOrNull() argument
520 if (dialogInfo == null && appExtras == null && launcherExtras == null) { in getInstanceOrNull()
525 instance.appExtras = appExtras; in getInstanceOrNull()
542 if (!BaseBundle.kindofEquals(appExtras, other.appExtras)) { in equals()
554 hashCode = 31 * hashCode + ((appExtras != null) ? appExtras.size() : 0); in hashCode()
570 if (appExtras != null) { in saveToXml()
573 appExtras.saveToXml(out); in saveToXml()
DIPackageManager.aidl290 in PersistableBundle appExtras, in PersistableBundle launcherExtras, in setPackagesSuspendedAsUser() argument
DPackageManager.java7113 @Nullable PersistableBundle appExtras, @Nullable PersistableBundle launcherExtras, in setPackagesSuspended() argument
7169 @Nullable PersistableBundle appExtras, @Nullable PersistableBundle launcherExtras, in setPackagesSuspended() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DSuspendPackagesTest.java230 private void suspendTestPackage(PersistableBundle appExtras, PersistableBundle launcherExtras, in suspendTestPackage() argument
233 PACKAGES_TO_SUSPEND, true, appExtras, launcherExtras, dialogInfo); in suspendTestPackage()
280 final PersistableBundle appExtras = getExtras("testSuspendedStateFromApp", 20, "20", 0.2); in testSuspendedStateFromApp() local
281 suspendTestPackage(appExtras, null, null); in testSuspendedStateFromApp()
289 appExtras, receivedAppExtras); in testSuspendedStateFromApp()
297 final PersistableBundle appExtras = getExtras("testMyPackageSuspendBroadcasts", 1, "1", .1); in testMyPackageSuspendedUnsuspended() local
298 suspendTestPackage(appExtras, null, null); in testMyPackageSuspendedUnsuspended()
302 assertSameExtras("Received app extras different to the ones supplied", appExtras, in testMyPackageSuspendedUnsuspended()
DPackageUserStateTest.java187 PersistableBundle appExtras, PersistableBundle launcherExtras) { in createSuspendParams() argument
189 dialogInfo, appExtras, launcherExtras); in createSuspendParams()
DPackageManagerSettingsTests.java220 assertThat(params.appExtras.size(), is(1)); in testReadPackageRestrictions_noSuspendParamsMap()
221 assertThat(params.appExtras.getString("app_extra_string"), is("value")); in testReadPackageRestrictions_noSuspendParamsMap()
295 assertThat(BaseBundle.kindofEquals(params11.appExtras, appExtras1), is(true)); in testReadWritePackageRestrictions_suspendInfo()
303 assertThat(BaseBundle.kindofEquals(params12.appExtras, appExtras2), is(true)); in testReadWritePackageRestrictions_suspendInfo()
315 assertThat(BaseBundle.kindofEquals(params21.appExtras, appExtras1), is(true)); in testReadWritePackageRestrictions_suspendInfo()
/frameworks/base/core/java/android/net/
DIConnectivityManager.aidl192 void startCaptivePortalAppInternal(in Network network, in Bundle appExtras); in startCaptivePortalAppInternal() argument
DConnectivityManager.java4366 public void startCaptivePortalApp(@NonNull Network network, @NonNull Bundle appExtras) { in startCaptivePortalApp() argument
4368 mService.startCaptivePortalAppInternal(network, appExtras); in startCaptivePortalApp()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java431 PersistableBundle appExtras, PersistableBundle launcherExtras, int userId) { in addOrUpdateSuspension() argument
434 PackageUserState.SuspendParams.getInstanceOrNull(dialogInfo, appExtras, in addOrUpdateSuspension()
DPackageManagerShellCommand.java2190 final PersistableBundle appExtras = new PersistableBundle(); in runSuspend() local
2213 opt.startsWith("--a") ? appExtras : launcherExtras; in runSuspend()
2252 ((appExtras.size() > 0) ? appExtras : null), in runSuspend()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java2507 PersistableBundle appExtras, PersistableBundle launcherExtras, in setPackagesSuspended() argument
2512 return setPackagesSuspended(packageNames, suspended, appExtras, launcherExtras, dialogInfo); in setPackagesSuspended()
2517 PersistableBundle appExtras, PersistableBundle launcherExtras, in setPackagesSuspended() argument
2520 return mPM.setPackagesSuspendedAsUser(packageNames, suspended, appExtras, in setPackagesSuspended()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java843 PersistableBundle appExtras, PersistableBundle launcherExtras, String dialogMessage) { in setPackagesSuspended() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java884 PersistableBundle appExtras, PersistableBundle launcherExtras, String dialogMessage) { in setPackagesSuspended() argument
/frameworks/base/test-mock/src/android/test/mock/
DMockPackageManager.java981 PersistableBundle appExtras, PersistableBundle launcherExtras, String dialogMessage) { in setPackagesSuspended() argument
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java3817 public void startCaptivePortalAppInternal(Network network, Bundle appExtras) { in startCaptivePortalAppInternal() argument
3822 appIntent.putExtras(appExtras); in startCaptivePortalAppInternal()