OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mParentUserId
(Results
1 - 7
of
7
) sorted by null
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
ManagedProfileProvisioningTest.java
23
private int
mParentUserId
;
35
mParentUserId
= mPrimaryUserId;
36
installAppAsUser(MANAGED_PROFILE_APK,
mParentUserId
);
97
"testAccountNotExist",
mParentUserId
);
111
"testAccountExist",
mParentUserId
);
121
startActivityAsUser(
mParentUserId
, MANAGED_PROFILE_PKG, ".WebViewActivity");
127
"testProvisionManagedProfile",
mParentUserId
);
133
"testProvisionManagedProfile_accountCopy",
mParentUserId
);
MixedManagedProfileOwnerTest.java
30
private int
mParentUserId
= -1;
41
mParentUserId
= mPrimaryUserId;
47
mUserId = createManagedProfile(
mParentUserId
);
48
switchUser(
mParentUserId
);
78
installAppAsUser(DEVICE_ADMIN_APK,
mParentUserId
);
79
startSimpleActivityAsUser(
mParentUserId
);
91
installAppAsUser(ASSIST_APP_APK,
mParentUserId
);
95
installAppAsUser(DEVICE_ADMIN_APK,
mParentUserId
);
96
startSimpleActivityAsUser(
mParentUserId
);
ManagedProfileTest.java
99
private int
mParentUserId
;
117
mParentUserId
= mPrimaryUserId;
118
mProfileUserId = createManagedProfile(
mParentUserId
);
121
installAppAsUser(MANAGED_PROFILE_APK,
mParentUserId
);
187
mParentUserId
);
207
mParentUserId
);
227
mParentUserId
);
377
newUserId = createManagedProfile(
mParentUserId
);
395
MANAGED_PROFILE_PKG, ".WifiTest", "testRemoveWifiNetworkIfExists",
mParentUserId
);
404
mParentUserId
);
[
all
...]
LauncherAppsProfileTest.java
38
private int
mParentUserId
;
49
mParentUserId
= mPrimaryUserId;
50
mProfileUserId = createManagedProfile(
mParentUserId
);
55
mMainUserSerialNumber = Integer.toString(getUserSerialNumber(
mParentUserId
));
79
installAppAsUser(SIMPLE_APP_APK,
mParentUserId
);
85
mParentUserId
, Collections.singletonMap(PARAM_TEST_USER, mProfileSerialNumber));
88
mParentUserId
, Collections.singletonMap(PARAM_TEST_USER, mMainUserSerialNumber));
103
mParentUserId
);
113
String command = "pm disable --user " +
mParentUserId
+ " " + MANAGED_PROFILE_PKG
118
mParentUserId
, Collections.singletonMap(PARAM_TEST_USER, mMainUserSerialNumber))
[
all
...]
MixedManagedProfileOwnerTestApi25.java
25
private int
mParentUserId
= -1;
36
mParentUserId
= mPrimaryUserId;
42
mUserId = createManagedProfile(
mParentUserId
);
43
switchUser(
mParentUserId
);
/cts/hostsidetests/backup/src/android/cts/backup/
ProfileKeyValueBackupRestoreHostSideTest.java
46
private int
mParentUserId
;
58
mParentUserId
= mDevice.getCurrentUser();
59
int profileUserId = createProfileUser(
mParentUserId
, "Profile-KV");
141
installPackageAsUser(KEY_VALUE_APK,
mParentUserId
);
154
uninstallPackageAsUser(KEY_VALUE_TEST_PACKAGE,
mParentUserId
);
184
installPackageAsUser(KEY_VALUE_APK,
mParentUserId
);
188
uninstallPackageAsUser(KEY_VALUE_TEST_PACKAGE,
mParentUserId
);
ParallelUserBackupRestoreHostSideTest.java
57
private int
mParentUserId
;
67
mParentUserId
= mDevice.getCurrentUser();
68
startUserAndInitializeForBackup(
mParentUserId
);
69
switchUserToLocalTransportAndAssertSuccess(
mParentUserId
);
71
int profileUserId = createProfileUser(
mParentUserId
, "Profile-Parallel");
117
mExecutorService.submit(backupCallableForUser(
mParentUserId
, backupLatch));
134
mExecutorService.submit(restoreCallableForUser(
mParentUserId
, restoreLatch));
Completed in 158 milliseconds