Home
last modified time | relevance | path

Searched refs:launcherExtras (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/pkg/
DSuspendParams.java47 private final PersistableBundle launcherExtras; field in SuspendParams
50 PersistableBundle launcherExtras) { in SuspendParams() argument
53 this.launcherExtras = launcherExtras; in SuspendParams()
71 if (!BaseBundle.kindofEquals(launcherExtras, other.launcherExtras)) { in equals()
81 hashCode = 31 * hashCode + ((launcherExtras != null) ? launcherExtras.size() : 0); in hashCode()
106 if (launcherExtras != null) { in saveToXml()
109 launcherExtras.saveToXml(out); in saveToXml()
171 return launcherExtras; in getLauncherExtras()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DSuspendPackagesTest.java120 private void suspendTestPackage(PersistableBundle appExtras, PersistableBundle launcherExtras, in suspendTestPackage() argument
123 PACKAGES_TO_SUSPEND, true, appExtras, launcherExtras, dialogInfo); in suspendTestPackage()
154 final PersistableBundle launcherExtras = getExtras("testGetLauncherExtras", 1, "1", 0.1); in testGetLauncherExtrasNonNull() local
155 suspendTestPackage(null, launcherExtras, null); in testGetLauncherExtrasNonNull()
158 assertSameExtras("Received launcher extras different to the ones supplied", launcherExtras, in testGetLauncherExtrasNonNull()
194 Bundle launcherExtras) { in testOnPackagesSuspendedNewAndOld()
206 if (!areSameExtras(launcherExtras, suppliedExtras)) { in testOnPackagesSuspendedNewAndOld()
208 + ", received: " + launcherExtras + ". "); in testOnPackagesSuspendedNewAndOld()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DSuspendPackageHelperTest.kt246 val launcherExtras = PersistableBundle() in <lambda>() constant
247 launcherExtras.putString(TEST_PACKAGE_2, TEST_PACKAGE_2) in <lambda>()
249 arrayOf(TEST_PACKAGE_2), true /* suspended */, null /* appExtras */, launcherExtras, in <lambda>()
275 val launcherExtras = PersistableBundle() in <lambda>() constant
276 launcherExtras.putString(TEST_PACKAGE_2, TEST_PACKAGE_2) in <lambda>()
278 arrayOf(TEST_PACKAGE_2), true /* suspended */, null /* appExtras */, launcherExtras, in <lambda>()
/frameworks/base/core/java/android/content/pm/
DIOnAppsChangedListener.aidl33 in Bundle launcherExtras); in onPackagesSuspended() argument
DLauncherApps.java301 @Nullable Bundle launcherExtras) { in onPackagesSuspended() argument
1750 Bundle launcherExtras)
1757 callback.postOnPackagesSuspended(packageNames, launcherExtras, user);
1819 Bundle launcherExtras; field in LauncherApps.CallbackMessageHandler.CallbackInfo
1854 mCallback.onPackagesSuspended(info.packageNames, info.user, info.launcherExtras in handleMessage()
1909 public void postOnPackagesSuspended(String[] packageNames, Bundle launcherExtras, in postOnPackagesSuspended() argument
1914 info.launcherExtras = launcherExtras; in postOnPackagesSuspended()
DIPackageManager.aidl287 in PersistableBundle appExtras, in PersistableBundle launcherExtras, in setPackagesSuspendedAsUser() argument
DPackageManager.java9202 @Nullable PersistableBundle appExtras, @Nullable PersistableBundle launcherExtras, in setPackagesSuspended() argument
9258 @Nullable PersistableBundle appExtras, @Nullable PersistableBundle launcherExtras, in setPackagesSuspended() argument
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/
DPackageUserStateTest.java187 PersistableBundle appExtras, PersistableBundle launcherExtras) { in createSuspendParams() argument
188 return new SuspendParams(dialogInfo, appExtras, launcherExtras); in createSuspendParams()
/frameworks/base/services/core/java/com/android/server/pm/
DSuspendPackageHelper.java100 @Nullable PersistableBundle launcherExtras, @Nullable SuspendDialogInfo dialogInfo, in setPackagesSuspended() argument
111 new SuspendParams(dialogInfo, appExtras, launcherExtras); in setPackagesSuspended()
DLauncherAppsService.java1742 final Bundle launcherExtras = in onPackagesSuspended() local
1745 if (launcherExtras != null) { in onPackagesSuspended()
1746 packagesWithExtras.add(new Pair<>(pkg, launcherExtras)); in onPackagesSuspended()
DPackageManagerShellCommand.java2447 final PersistableBundle launcherExtras = new PersistableBundle(); in runSuspend() local
2469 opt.startsWith("--a") ? appExtras : launcherExtras; in runSuspend()
2509 ((launcherExtras.size() > 0) ? launcherExtras : null), in runSuspend()
DPackageManagerService.java5874 PersistableBundle appExtras, PersistableBundle launcherExtras, in setPackagesSuspendedAsUser() argument
5881 appExtras, launcherExtras, dialogInfo, callingPackage, userId, callingUid); in setPackagesSuspendedAsUser()
/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/core/java/android/app/
DApplicationPackageManager.java2833 PersistableBundle appExtras, PersistableBundle launcherExtras, in setPackagesSuspended() argument
2838 return setPackagesSuspended(packageNames, suspended, appExtras, launcherExtras, dialogInfo); in setPackagesSuspended()
2843 PersistableBundle appExtras, PersistableBundle launcherExtras, in setPackagesSuspended() argument
2847 launcherExtras, dialogInfo, mContext.getOpPackageName(), in setPackagesSuspended()
/frameworks/base/test-mock/src/android/test/mock/
DMockPackageManager.java981 PersistableBundle appExtras, PersistableBundle launcherExtras, String dialogMessage) { in setPackagesSuspended() argument
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt12174 Landroid/content/pm/LauncherApps$CallbackMessageHandler$CallbackInfo;->launcherExtras:Landroid/os/B…