Home
last modified time | relevance | path

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

/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DWhitelistTest.java20 import static android.contentcaptureservice.cts.Helper.MY_PACKAGE;
76 toSet(ComponentName.createRelative(MY_PACKAGE, ".who.cares"))); in testNotWhitelisted_byActivity()
82 final CtsContentCaptureService service = enableService(toSet(MY_PACKAGE), NO_ACTIVITIES); in testWhitelisted_byPackage()
97 enableService(toSet(MY_PACKAGE), NO_ACTIVITIES); in testWhitelisted_byService_alreadyRunning()
108 final CtsContentCaptureService service = enableService(toSet(MY_PACKAGE), NO_ACTIVITIES); in testRinseAndRepeat()
113 toSet(ComponentName.createRelative(MY_PACKAGE, ".who.cares"))); in testRinseAndRepeat()
DContentCaptureLoggingTestRule.java19 import static android.contentcaptureservice.cts.Helper.MY_PACKAGE;
82 MY_PACKAGE);
DAbstractContentCaptureIntegrationTest.java19 import static android.contentcaptureservice.cts.Helper.MY_PACKAGE;
221 return enableService(toSet(MY_PACKAGE), /* whitelistedComponents= */ null); in enableService()
DOutOfProcessActivity.java44 public static final ComponentName COMPONENT_NAME = new ComponentName(Helper.MY_PACKAGE,
DCtsContentCaptureService.java18 import static android.contentcaptureservice.cts.Helper.MY_PACKAGE;
66 public static final String SERVICE_NAME = MY_PACKAGE + "/."
638 pkgs.add(MY_PACKAGE); in whitelistSelf()
DLoginActivityTest.java34 import static android.contentcaptureservice.cts.Helper.MY_PACKAGE;
792 assertThat(request.getPackageName()).isEqualTo(MY_PACKAGE); in testUserDataRemovalRequest_forEverything()
816 assertThat(request.getPackageName()).isEqualTo(MY_PACKAGE); in testUserDataRemovalRequest_oneId()
849 assertThat(request.getPackageName()).isEqualTo(MY_PACKAGE); in testUserDataRemovalRequest_manyIds()
1031 components.add(new ComponentName(MY_PACKAGE, "some.activity")); in testWhitelist_activityNotWhitelisted()
DCustomViewActivityTest.java22 import static android.contentcaptureservice.cts.Helper.MY_PACKAGE;
479 service.setContentCaptureConditions(MY_PACKAGE, conditions); in testContentCaptureConditions()
571 final CtsContentCaptureService service = enableService(toSet(MY_PACKAGE), NO_ACTIVITIES); in testDisabledAfterLaunched()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DModifyInstallerPackageTest.java52 static final String MY_PACKAGE = "com.android.cts.usespermissiondiffcertapp"; field in ModifyInstallerPackageTest
99 mPM.setInstallerPackageName(OTHER_PACKAGE, MY_PACKAGE); in setInstallPackage()
100 assertPackageInstallerAndInitiator(OTHER_PACKAGE, MY_PACKAGE, null, mPM); in setInstallPackage()
114 mPM.setInstallerPackageName("thisdoesnotexistihope!", MY_PACKAGE); in setInstallPackageBadTarget()
DModifyInstallerCrossPackageTest.kt22 import com.android.cts.usespermissiondiffcertapp.ModifyInstallerPackageTest.MY_PACKAGE
85 assertThrows { packageManager.setInstallerPackageName(OTHER_PACKAGE, MY_PACKAGE) } in attemptTakeOver()
/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.java419 mProvider.call("grant", MY_PACKAGE, mFirstUriBundle); in testEnqueueMultipleUriGrantWork()
420 mProvider.call("grant", MY_PACKAGE, mSecondUriBundle); in testEnqueueMultipleUriGrantWork()
447 mProvider.call("revoke", MY_PACKAGE, mFirstUriBundle); in testEnqueueMultipleUriGrantWork()
448 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/searchui/src/android/searchuiservice/cts/
DCtsSearchUiService.java38 public static final String MY_PACKAGE = "android.searchuiservice.cts"; field in CtsSearchUiService
39 public static final String SERVICE_NAME = MY_PACKAGE + "/."
/cts/tests/smartspace/src/android/smartspace/cts/
DCtsSmartspaceService.java38 public static final String MY_PACKAGE = "android.smartspace.cts"; field in CtsSmartspaceService
39 public static final String SERVICE_NAME = MY_PACKAGE + "/."
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DCtsAugmentedAutofillService.java66 public static final String SERVICE_PACKAGE = Helper.MY_PACKAGE;
137 Log.d(TAG, "Whitelisting " + Helper.MY_PACKAGE + " for augmented autofill"); in onConnected()
139 packages.add(Helper.MY_PACKAGE); in onConnected()
DHelper.java105 public static final String MY_PACKAGE = "android.autofillservice.cts"; field in Helper
1545 ShellUtils.setOverlayPermissions(MY_PACKAGE, true); in allowOverlays()
1554 ShellUtils.setOverlayPermissions(MY_PACKAGE, false); in disallowOverlays()
DInstrumentedAutoFillService.java80 public static final String SERVICE_PACKAGE = Helper.MY_PACKAGE;
DUiBot.java560 final BySelector selector = By.res(Helper.MY_PACKAGE, getIdName(resId)); in assertNeverShownByRelativeId()
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/
DSettingsIntentTest.java134 .setData(Uri.parse("package:" + Helper.MY_PACKAGE));
/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/tests/textclassifier/src/android/view/textclassifier/cts/
DCtsTextClassifierService.java53 public static final String MY_PACKAGE = "android.view.textclassifier.cts"; field in CtsTextClassifierService
DTextClassifierTestWatcher.java156 setAndAssertServicePackageOverrideSetIfNeeded(CtsTextClassifierService.MY_PACKAGE); in setService()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DBaseJobSchedulerTest.java62 static final String MY_PACKAGE = "android.jobscheduler.cts"; field in BaseJobSchedulerTest
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/
DAugmentedLoginActivityTest.java1186 components.add(new ComponentName(Helper.MY_PACKAGE, "some.activity"));