Searched refs:testPackage (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/os/ |
D | BinderDeathRecipientTest.java | 74 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/ |
D | NotifyingAppTest.java | 45 public void testPackage() { in testPackage() method in NotifyingAppTest
|
D | NotificationManagerServiceTest.java | 4763 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 …]
|
D | ManagedServicesTest.java | 330 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/ |
D | NetworkPolicyManagerService.java | 3084 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()
|