Searched refs:OTHER_PACKAGE (Results 1 – 5 of 5) sorted by relevance
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
D | ModifyInstallerPackageTest.java | 37 static final String OTHER_PACKAGE = "com.android.cts.permissiondeclareapp"; field in ModifyInstallerPackageTest 55 assertEquals(null, getPackageManager().getInstallerPackageName(OTHER_PACKAGE)); in testSetInstallPackage() 57 getPackageManager().setInstallerPackageName(OTHER_PACKAGE, MY_PACKAGE); in testSetInstallPackage() 58 assertEquals(MY_PACKAGE, getPackageManager().getInstallerPackageName(OTHER_PACKAGE)); in testSetInstallPackage() 61 getPackageManager().setInstallerPackageName(OTHER_PACKAGE, null); in testSetInstallPackage() 62 assertEquals(null, getPackageManager().getInstallerPackageName(OTHER_PACKAGE)); in testSetInstallPackage() 84 getPackageManager().setInstallerPackageName(OTHER_PACKAGE, "thisdoesnotexistihope!"); in testSetInstallPackageBadInstaller() 89 assertEquals(null, getPackageManager().getInstallerPackageName(OTHER_PACKAGE)); in testSetInstallPackageBadInstaller() 98 assertEquals(null, getPackageManager().getInstallerPackageName(OTHER_PACKAGE)); in testSetInstallPackageWrongCertificate() 101 getPackageManager().setInstallerPackageName(OTHER_PACKAGE, OTHER_PACKAGE); in testSetInstallPackageWrongCertificate() [all …]
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | ApplicationRestrictionsTest.java | 50 private static final String OTHER_PACKAGE = APP_RESTRICTIONS_TARGET_PKG + "dummy"; field in ApplicationRestrictionsTest 101 ADMIN_RECEIVER_COMPONENT, OTHER_PACKAGE, new Bundle()); in tearDown() 133 ADMIN_RECEIVER_COMPONENT, OTHER_PACKAGE, BUNDLE_1); in testSetApplicationRestrictions() 139 ADMIN_RECEIVER_COMPONENT, OTHER_PACKAGE)); in testSetApplicationRestrictions() 158 ADMIN_RECEIVER_COMPONENT, OTHER_PACKAGE, null); in testSetApplicationRestrictions() 160 ADMIN_RECEIVER_COMPONENT, OTHER_PACKAGE).isEmpty()); in testSetApplicationRestrictions() 183 mUserManager.getApplicationRestrictions(OTHER_PACKAGE); in testCannotRetrieveOtherPackageRestrictionsViaUserManager() 215 OTHER_PACKAGE); in testSetApplicationRestrictionsManagingPackageForNotInstalledPackage() 218 MoreAsserts.assertContainsRegex(OTHER_PACKAGE, expected.getMessage()); in testSetApplicationRestrictionsManagingPackageForNotInstalledPackage()
|
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/ |
D | SharedUidTest.java | 37 private static final String OTHER_PACKAGE = "android.jobscheduler.cts.shareduid"; field in SharedUidTest 74 if (OTHER_PACKAGE.equals(intent.getData().getSchemeSpecificPart())) { in testCancelDisabledPackageJob() 84 OTHER_PACKAGE, in testCancelDisabledPackageJob() 89 pm.getApplicationEnabledSetting(OTHER_PACKAGE)); in testCancelDisabledPackageJob()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | Helper.java | 55 public static final String OTHER_PACKAGE = "NOT.android.contentcaptureservice.cts"; field in Helper
|
D | CustomViewActivityTest.java | 28 import static android.contentcaptureservice.cts.Helper.OTHER_PACKAGE; 455 service.setContentCaptureConditions(OTHER_PACKAGE, conditions); in testContentCaptureConditions_otherPackage()
|