/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/back/ |
H A D | CustomizeActivityAnimationTest.java | 191 final String testPackage = "TestPackage"; in testLoadCustomAnimation() local 193 .setCustomAnimation(testPackage, enterResId, exitResId, Color.GREEN) in testLoadCustomAnimation() 194 .setWindowAnimations(testPackage, windowAnimations); in testLoadCustomAnimation() 200 .loadAppTransitionAnimation(eq(testPackage), eq(enterResId)); in testLoadCustomAnimation() 203 .loadAppTransitionAnimation(eq(testPackage), eq(exitResId)); in testLoadCustomAnimation() 206 .loadAnimationAttr(eq(testPackage), eq(windowAnimations), anyInt(), anyBoolean()); in testLoadCustomAnimation() 216 never()).loadAppTransitionAnimation(eq(testPackage), eq(enterResId)); in testLoadCustomAnimation() 225 .loadAnimationAttr(eq(testPackage), anyInt(), anyInt(), anyBoolean()); in testLoadCustomAnimation() 228 times(2)).loadAnimationAttr(eq(testPackage), anyInt(), anyInt(), anyBoolean()); in testLoadCustomAnimation()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | BinderDeathRecipientTest.java | 74 private IBinder getNewRemoteBinder(String testPackage) throws InterruptedException { in getNewRemoteBinder() argument 80 .setClassName(testPackage, TestCommsReceiver.class.getName()); in getNewRemoteBinder()
|
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | NotificationManagerServiceTest.java | 7381 enqueueTextToast(testPackage, "Text"); in testAllowForegroundTextToasts() 7401 enqueueTextToast(testPackage, "Text"); in testAllowBackgroundTextToasts() 7424 enqueueTextToast(testPackage, "Text"); in testDontCallShowToastAgainOnTheSameTextToast() 7430 enqueueTextToast(testPackage, "Text"); in testDontCallShowToastAgainOnTheSameTextToast() 7453 enqueueTextToast(testPackage, "Text"); in testToastRateLimiterCanPreventShowCallForTextToast_whenInBackground() 7476 enqueueTextToast(testPackage, "Text"); in testToastRateLimiterWontPreventShowCallForTextToast_whenInForeground() 7498 enqueueTextToast(testPackage, "Text"); in testTextToastRateLimiterAllowsLimitAvoidanceWithPermission() 7520 enqueueTextToast(testPackage, "Text"); in testRateLimitedToasts_windowsRemoved() 7578 enqueueTextToast(testPackage, "Text"); in foregroundTextToast_callsSetProcessImportantAsNotForegroundForToast() 7600 enqueueTextToast(testPackage, "Text"); in backgroundTextToast_callsSetProcessImportantAsNotForegroundForToast() [all …]
|
H A D | NotifyingAppTest.java | 45 public void testPackage() { in testPackage() method in NotifyingAppTest
|
H A D | ManagedServicesTest.java | 387 String testPackage = "user.test.package"; in testReadXml_onlyRestoresForTargetUser() local 390 (approvalLevel == APPROVAL_BY_COMPONENT) ? testComponent : testPackage; in testReadXml_onlyRestoresForTargetUser() 409 String testPackage = "user.test.package"; in testReadXml_restoresUserSet() local 412 (approvalLevel == APPROVAL_BY_COMPONENT) ? testComponent : testPackage; in testReadXml_restoresUserSet()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/ |
H A D | WebViewUpdateServiceTest.java | 515 String testPackage = "testFallback"; in testFallbackPackageEnabling() local 518 testPackage, "", true /* default available */, true /* fallback */, null)}; in testFallbackPackageEnabling() 521 createPackageInfo(testPackage, false /* enabled */ , true /* valid */, in testFallbackPackageEnabling() 527 Matchers.anyObject(), Mockito.eq(testPackage), Mockito.eq(true)); in testFallbackPackageEnabling() 532 testPackage, WebViewUpdateService.PACKAGE_CHANGED, TestSystemImpl.PRIMARY_USER_ID); in testFallbackPackageEnabling() 533 checkPreparationPhasesForPackage(testPackage, 1); in testFallbackPackageEnabling()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
H A D | DevicePolicyManagerTest.java | 6982 final String testPackage = "TEST_PACKAGE"; in testIsPackageAllowedToAccessCalendar_adminNotAllowed() local 6990 assertThat(dpm.isPackageAllowedToAccessCalendar(testPackage)).isFalse(); in testIsPackageAllowedToAccessCalendar_adminNotAllowed() 6995 final String testPackage = "TEST_PACKAGE"; in testIsPackageAllowedToAccessCalendar_settingOff() local 7003 assertThat(dpm.isPackageAllowedToAccessCalendar(testPackage)).isFalse(); in testIsPackageAllowedToAccessCalendar_settingOff() 7008 final String testPackage = "TEST_PACKAGE"; in testIsPackageAllowedToAccessCalendar_bothAllowed() local 7009 getServices().addTestPackageUid(testPackage, DpmMockContext.ANOTHER_UID); in testIsPackageAllowedToAccessCalendar_bothAllowed() 7017 assertThat(dpm.isPackageAllowedToAccessCalendar(testPackage)).isTrue(); in testIsPackageAllowedToAccessCalendar_bothAllowed() 7022 final String testPackage = "TEST_PACKAGE"; in testIsPackageAllowedToAccessCalendar_requiresPermission() local 7026 () -> dpm.isPackageAllowedToAccessCalendar(testPackage)); in testIsPackageAllowedToAccessCalendar_requiresPermission() 7031 final String testPackage = "TEST_PACKAGE"; in testIsPackageAllowedToAccessCalendar_samePackageAndSameUser_noPermissionRequired() local [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkPolicyManagerService.java | 3415 final String testPackage = SystemProperties.get(PROP_SUB_PLAN_OWNER + "." + subId, null); 3416 if (!TextUtils.isEmpty(testPackage) 3417 && Objects.equals(testPackage, callingPackage)) {
|