OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:OTHER_PACKAGE
(Results
1 - 5
of
5
) sorted by null
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
ModifyInstallerPackageTest.java
37
static final String
OTHER_PACKAGE
= "com.android.cts.permissiondeclareapp";
55
assertEquals(null, getPackageManager().getInstallerPackageName(
OTHER_PACKAGE
));
57
getPackageManager().setInstallerPackageName(
OTHER_PACKAGE
, MY_PACKAGE);
58
assertEquals(MY_PACKAGE, getPackageManager().getInstallerPackageName(
OTHER_PACKAGE
));
61
getPackageManager().setInstallerPackageName(
OTHER_PACKAGE
, null);
62
assertEquals(null, getPackageManager().getInstallerPackageName(
OTHER_PACKAGE
));
84
getPackageManager().setInstallerPackageName(
OTHER_PACKAGE
, "thisdoesnotexistihope!");
89
assertEquals(null, getPackageManager().getInstallerPackageName(
OTHER_PACKAGE
));
98
assertEquals(null, getPackageManager().getInstallerPackageName(
OTHER_PACKAGE
));
101
getPackageManager().setInstallerPackageName(
OTHER_PACKAGE
, OTHER_PACKAGE)
[
all
...]
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/
SharedUidTest.java
37
private static final String
OTHER_PACKAGE
= "android.jobscheduler.cts.shareduid";
74
if (
OTHER_PACKAGE
.equals(intent.getData().getSchemeSpecificPart())) {
84
OTHER_PACKAGE
,
89
pm.getApplicationEnabledSetting(
OTHER_PACKAGE
));
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
ApplicationRestrictionsTest.java
50
private static final String
OTHER_PACKAGE
= APP_RESTRICTIONS_TARGET_PKG + "dummy";
101
ADMIN_RECEIVER_COMPONENT,
OTHER_PACKAGE
, new Bundle());
133
ADMIN_RECEIVER_COMPONENT,
OTHER_PACKAGE
, BUNDLE_1);
139
ADMIN_RECEIVER_COMPONENT,
OTHER_PACKAGE
));
158
ADMIN_RECEIVER_COMPONENT,
OTHER_PACKAGE
, null);
160
ADMIN_RECEIVER_COMPONENT,
OTHER_PACKAGE
).isEmpty());
183
mUserManager.getApplicationRestrictions(
OTHER_PACKAGE
);
215
OTHER_PACKAGE
);
218
MoreAsserts.assertContainsRegex(
OTHER_PACKAGE
, expected.getMessage());
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
Helper.java
55
public static final String
OTHER_PACKAGE
= "NOT.android.contentcaptureservice.cts";
CustomViewActivityTest.java
28
import static android.contentcaptureservice.cts.Helper.
OTHER_PACKAGE
;
455
service.setContentCaptureConditions(
OTHER_PACKAGE
, conditions);
Completed in 67 milliseconds