Home
last modified time | relevance | path

Searched refs:testPackage (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/os/
DBinderDeathRecipientTest.java74 private IBinder getNewRemoteBinder(String testPackage) throws InterruptedException { in getNewRemoteBinder() argument
80 .setClassName(testPackage, TestCommsReceiver.class.getName()); in getNewRemoteBinder()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotifyingAppTest.java45 public void testPackage() { in testPackage() method in NotifyingAppTest
DNotificationManagerServiceTest.java4763 final String testPackage = "testPackageName"; in testAllowForegroundCustomToasts() local
4768 when(mPackageManager.isPackageSuspendedForUser(testPackage, UserHandle.getUserId(mUid))) in testAllowForegroundCustomToasts()
4773 when(mPreferencesHelper.getImportance(testPackage, mUid)).thenReturn(IMPORTANCE_NONE); in testAllowForegroundCustomToasts()
4778 ((INotificationManager) mService.mService).enqueueToast(testPackage, new Binder(), in testAllowForegroundCustomToasts()
4785 final String testPackage = "testPackageName"; in testDisallowBackgroundCustomToasts() local
4790 when(mPackageManager.isPackageSuspendedForUser(testPackage, UserHandle.getUserId(mUid))) in testDisallowBackgroundCustomToasts()
4796 ((INotificationManager) mService.mService).enqueueToast(testPackage, new Binder(), in testDisallowBackgroundCustomToasts()
4803 final String testPackage = "testPackageName"; in testAllowForegroundTextToasts() local
4808 when(mPackageManager.isPackageSuspendedForUser(testPackage, UserHandle.getUserId(mUid))) in testAllowForegroundTextToasts()
4814 ((INotificationManager) mService.mService).enqueueTextToast(testPackage, new Binder(), in testAllowForegroundTextToasts()
[all …]
DManagedServicesTest.java330 String testPackage = "user.test.package"; in testReadXml_onlyRestoresForTargetUser() local
333 (approvalLevel == APPROVAL_BY_COMPONENT) ? testComponent : testPackage; in testReadXml_onlyRestoresForTargetUser()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java3084 final String testPackage = SystemProperties.get(PROP_SUB_PLAN_OWNER + "." + subId, null); in enforceSubscriptionPlanAccess() local
3085 if (!TextUtils.isEmpty(testPackage) in enforceSubscriptionPlanAccess()
3086 && Objects.equals(testPackage, callingPackage)) { in enforceSubscriptionPlanAccess()