OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mPrimaryUserId
(Results
1 - 6
of
6
) sorted by null
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
BaseAppSecurityTest.java
36
protected int
mPrimaryUserId
;
45
mPrimaryUserId
= getDevice().getPrimaryUserId();
47
mFixedUsers.add(
mPrimaryUserId
);
48
if (
mPrimaryUserId
!= Utils.USER_SYSTEM) {
59
userId =
mPrimaryUserId
;
PackageVisibilityTest.java
58
installTestAppForUser(TEST_APK,
mPrimaryUserId
);
88
installTestAppForUser(TEST_APK,
mPrimaryUserId
);
90
installTestAppForUser(TINY_APK,
mPrimaryUserId
);
93
assertTrue(isAppVisibleForUser(TINY_PKG,
mPrimaryUserId
, MATCH_NORMAL));
94
assertTrue(isAppVisibleForUser(TINY_PKG,
mPrimaryUserId
, MATCH_UNINSTALLED));
98
".PackageAccessTest", "testPackageAccess_inUser",
mPrimaryUserId
);
100
".PackageAccessTest", "testPackageAccess_inUserUninstalled",
mPrimaryUserId
);
125
assertFalse(isAppVisibleForUser(TINY_PKG,
mPrimaryUserId
, MATCH_NORMAL));
126
assertFalse(isAppVisibleForUser(TINY_PKG,
mPrimaryUserId
, MATCH_UNINSTALLED));
140
mPrimaryUserId
);
[
all
...]
InstantAppUserTest.java
63
private int
mPrimaryUserId
;
75
mPrimaryUserId
= getDevice().getPrimaryUserId();
172
runDeviceTestsAsUser(USER_TEST_PKG, TEST_CLASS, "testQueryInstant",
mPrimaryUserId
);
182
runDeviceTestsAsUser(USER_TEST_PKG, TEST_CLASS, "testQueryFull",
mPrimaryUserId
);
191
installAppAsUser(USER_APK,
mPrimaryUserId
);
193
runDeviceTestsAsUser(USER_TEST_PKG, TEST_CLASS, "testQueryFull",
mPrimaryUserId
);
203
runDeviceTestsAsUser(USER_TEST_PKG, TEST_CLASS, "testQueryInstant",
mPrimaryUserId
);
207
runDeviceTestsAsUser(USER_TEST_PKG, TEST_CLASS, "testQueryInstant",
mPrimaryUserId
);
217
runDeviceTestsAsUser(USER_TEST_PKG, TEST_CLASS, "testQueryInstant",
mPrimaryUserId
);
221
runDeviceTestsAsUser(USER_TEST_PKG, TEST_CLASS, "testQueryInstant",
mPrimaryUserId
);
[
all
...]
/cts/hostsidetests/multiuser/src/android/host/multiuser/
BaseMultiUserTest.java
46
protected int
mPrimaryUserId
;
59
mPrimaryUserId
= getDevice().getPrimaryUserId();
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
BaseDevicePolicyTest.java
128
protected int
mPrimaryUserId
;
170
mPrimaryUserId
= getPrimaryUser();
171
mFixedUsers.add(
mPrimaryUserId
);
172
if (
mPrimaryUserId
!= USER_SYSTEM) {
178
switchUser(
mPrimaryUserId
);
182
if (getDevice().getCurrentUser() !=
mPrimaryUserId
) {
422
runDeviceTestsAsUser(pkgName, testClassName, testMethodName,
mPrimaryUserId
);
[
all
...]
DeviceOwnerTest.java
113
installAppAsUser(DEVICE_OWNER_APK,
mPrimaryUserId
);
114
if (!setDeviceOwner(DEVICE_OWNER_COMPONENT,
mPrimaryUserId
,
116
removeAdmin(DEVICE_OWNER_COMPONENT,
mPrimaryUserId
);
131
removeAdmin(DEVICE_OWNER_COMPONENT,
mPrimaryUserId
));
576
installAppAsUser(INTENT_RECEIVER_APK,
mPrimaryUserId
);
580
mPrimaryUserId
);
605
mPrimaryUserId
);
612
"testLockTaskIsActiveAndCantBeInterrupted",
mPrimaryUserId
);
615
"clearDefaultHomeIntentReceiver",
mPrimaryUserId
);
627
mPrimaryUserId
);
[
all
...]
Completed in 219 milliseconds