/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
D | ModifyInstallerPackageTest.java | 38 static final String MY_PACKAGE = "com.android.cts.usespermissiondiffcertapp"; field in ModifyInstallerPackageTest 57 getPackageManager().setInstallerPackageName(OTHER_PACKAGE, MY_PACKAGE); in testSetInstallPackage() 58 assertEquals(MY_PACKAGE, getPackageManager().getInstallerPackageName(OTHER_PACKAGE)); in testSetInstallPackage() 71 getPackageManager().setInstallerPackageName("thisdoesnotexistihope!", MY_PACKAGE); in testSetInstallPackageBadTarget() 128 getPackageManager().setInstallerPackageName(OTHER_PACKAGE, MY_PACKAGE); in testSetInstallPackageConflictingInstaller()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | WhitelistTest.java | 19 import static android.contentcaptureservice.cts.Helper.MY_PACKAGE; 67 toSet(ComponentName.createRelative(MY_PACKAGE, ".who.cares"))); in testNotWhitelisted_byActivity() 73 final CtsContentCaptureService service = enableService(toSet(MY_PACKAGE), NO_ACTIVITIES); in testWhitelisted_byPackage() 88 final CtsContentCaptureService service = enableService(toSet(MY_PACKAGE), NO_ACTIVITIES); in testRinseAndRepeat() 93 toSet(ComponentName.createRelative(MY_PACKAGE, ".who.cares"))); in testRinseAndRepeat()
|
D | ContentCaptureLoggingTestRule.java | 19 import static android.contentcaptureservice.cts.Helper.MY_PACKAGE; 82 MY_PACKAGE);
|
D | Helper.java | 54 public static final String MY_PACKAGE = "android.contentcaptureservice.cts"; field in Helper 112 return new ComponentName(MY_PACKAGE, clazz.getName()); in componentNameFor()
|
D | AbstractContentCaptureIntegrationTest.java | 19 import static android.contentcaptureservice.cts.Helper.MY_PACKAGE; 214 return enableService(toSet(MY_PACKAGE), /* whitelistedComponents= */ null); in enableService()
|
D | OutOfProcessActivity.java | 48 public static final ComponentName COMPONENT_NAME = new ComponentName(Helper.MY_PACKAGE,
|
D | CustomViewActivityTest.java | 26 import static android.contentcaptureservice.cts.Helper.MY_PACKAGE; 431 service.setContentCaptureConditions(MY_PACKAGE, conditions); in testContentCaptureConditions() 523 final CtsContentCaptureService service = enableService(toSet(MY_PACKAGE), NO_ACTIVITIES); in testDisabledAfterLaunched()
|
D | CtsContentCaptureService.java | 18 import static android.contentcaptureservice.cts.Helper.MY_PACKAGE; 55 public static final String SERVICE_NAME = MY_PACKAGE + "/."
|
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/ |
D | ClipDataJobTest.java | 65 mProvider.call("grant", MY_PACKAGE, mFirstUriBundle); in testClipDataGrant() 80 mProvider.call("revoke", MY_PACKAGE, mFirstUriBundle); in testClipDataGrant() 123 mProvider.call("grant", MY_PACKAGE, mFirstUriBundle); in testClipDataGrantReschedule() 138 mProvider.call("revoke", MY_PACKAGE, mFirstUriBundle); in testClipDataGrantReschedule()
|
D | EnqueueJobWorkTest.java | 386 mProvider.call("grant", MY_PACKAGE, mFirstUriBundle); in testEnqueueMultipleUriGrantWork() 387 mProvider.call("grant", MY_PACKAGE, mSecondUriBundle); in testEnqueueMultipleUriGrantWork() 414 mProvider.call("revoke", MY_PACKAGE, mFirstUriBundle); in testEnqueueMultipleUriGrantWork() 415 mProvider.call("revoke", MY_PACKAGE, mSecondUriBundle); in testEnqueueMultipleUriGrantWork()
|
D | ConstraintTest.java | 60 static final String MY_PACKAGE = "android.jobscheduler.cts.shareduidtests"; field in ConstraintTest
|
/cts/tests/apppredictionservice/src/android/apppredictionservice/cts/ |
D | PredictionService.java | 37 public static final String MY_PACKAGE = "android.apppredictionservice.cts"; field in PredictionService 38 public static final String SERVICE_NAME = MY_PACKAGE + "/."
|
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/ |
D | CtsAugmentedAutofillService.java | 62 public static final String SERVICE_PACKAGE = Helper.MY_PACKAGE; 133 Log.d(TAG, "Whitelisting " + Helper.MY_PACKAGE + " for augmented autofill"); in onConnected() 135 packages.add(Helper.MY_PACKAGE); in onConnected()
|
D | AugmentedLoginActivityTest.java | 992 components.add(new ComponentName(Helper.MY_PACKAGE, "some.activity"));
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | SettingsIntentTest.java | 117 .setData(Uri.parse("package:" + Helper.MY_PACKAGE));
|
D | Helper.java | 90 public static final String MY_PACKAGE = "android.autofillservice.cts"; field in Helper 1438 ShellUtils.setOverlayPermissions(MY_PACKAGE, true); in allowOverlays() 1447 ShellUtils.setOverlayPermissions(MY_PACKAGE, false); in disallowOverlays()
|
D | InstrumentedAutoFillService.java | 75 static final String SERVICE_PACKAGE = Helper.MY_PACKAGE;
|
D | UiBot.java | 500 final BySelector selector = By.res(Helper.MY_PACKAGE, getIdName(resId));
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/ |
D | VpnTestHelper.java | 68 private static final String MY_PACKAGE = "com.android.cts.deviceandprofileowner"; field in VpnTestHelper 122 if (!intent.getPackage().equals(MY_PACKAGE)) return; in waitForVpn()
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | ConstraintTest.java | 56 static final String MY_PACKAGE = "android.jobscheduler.cts"; field in ConstraintTest
|