Home
last modified time | relevance | path

Searched refs:MY_PACKAGE (Results 1 – 20 of 20) sorted by relevance

/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DModifyInstallerPackageTest.java38 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/
DWhitelistTest.java19 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()
DContentCaptureLoggingTestRule.java19 import static android.contentcaptureservice.cts.Helper.MY_PACKAGE;
82 MY_PACKAGE);
DHelper.java54 public static final String MY_PACKAGE = "android.contentcaptureservice.cts"; field in Helper
112 return new ComponentName(MY_PACKAGE, clazz.getName()); in componentNameFor()
DAbstractContentCaptureIntegrationTest.java19 import static android.contentcaptureservice.cts.Helper.MY_PACKAGE;
214 return enableService(toSet(MY_PACKAGE), /* whitelistedComponents= */ null); in enableService()
DOutOfProcessActivity.java48 public static final ComponentName COMPONENT_NAME = new ComponentName(Helper.MY_PACKAGE,
DCustomViewActivityTest.java26 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()
DCtsContentCaptureService.java18 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/
DClipDataJobTest.java65 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()
DEnqueueJobWorkTest.java386 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()
DConstraintTest.java60 static final String MY_PACKAGE = "android.jobscheduler.cts.shareduidtests"; field in ConstraintTest
/cts/tests/apppredictionservice/src/android/apppredictionservice/cts/
DPredictionService.java37 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/
DCtsAugmentedAutofillService.java62 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()
DAugmentedLoginActivityTest.java992 components.add(new ComponentName(Helper.MY_PACKAGE, "some.activity"));
/cts/tests/autofillservice/src/android/autofillservice/cts/
DSettingsIntentTest.java117 .setData(Uri.parse("package:" + Helper.MY_PACKAGE));
DHelper.java90 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()
DInstrumentedAutoFillService.java75 static final String SERVICE_PACKAGE = Helper.MY_PACKAGE;
DUiBot.java500 final BySelector selector = By.res(Helper.MY_PACKAGE, getIdName(resId));
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/
DVpnTestHelper.java68 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/
DConstraintTest.java56 static final String MY_PACKAGE = "android.jobscheduler.cts"; field in ConstraintTest