OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:testUserId
(Results
1 - 4
of
4
) sorted by null
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
ApplicationVisibilityTest.java
72
final int
testUserId
= mUsers[2];
75
installTestAppForUser(TEST_WITH_PERMISSION_APK,
testUserId
);
86
testUserId
);
92
testUserId
);
103
final int
testUserId
= mUsers[2];
106
installTestAppForUser(TEST_WITH_PERMISSION_APK,
testUserId
);
113
testUserId
);
119
testUserId
);
130
final int
testUserId
= mUsers[2];
135
installTestAppForUser(TEST_WITH_PERMISSION_APK,
testUserId
);
[
all
...]
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
TaskPersisterTest.java
39
private int
testUserId
;
47
testUserId
= createUser(TEST_USER_NAME, 0);
53
mTaskPersister.unloadUserDataFromMemory(
testUserId
);
54
removeUser(
testUserId
);
66
taskIdsOnFile.put(getRandomTaskIdForUser(
testUserId
), true);
68
mTaskPersister.writePersistedTaskIdsForUser(taskIdsOnFile,
testUserId
);
70
.loadPersistedTaskIdsForUser(
testUserId
);
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/
AppRestrictionsHelperTest.java
129
final int
testUserId
= mTestUser.getIdentifier();
136
when(mIpm.getApplicationInfo(eq("app2"), anyInt(), eq(
testUserId
)))
141
when(mIpm.getApplicationInfo(eq("app3"), anyInt(), eq(
testUserId
)))
148
verify(mIpm, times(1)).installExistingPackageAsUser("app1",
testUserId
,
150
verify(mIpm, times(1)).setApplicationHiddenSettingAsUser("app2", false,
testUserId
);
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
BatteryStatsCpuTimesTest.java
243
final int
testUserId
= 11;
244
when(mUserInfoProvider.exists(
testUserId
)).thenReturn(true);
245
final int[] testUids = getUids(
testUserId
, new int[]{
314
final int
testUserId
= 11;
315
when(mUserInfoProvider.exists(
testUserId
)).thenReturn(true);
317
final int isolatedUid = UserHandle.getUid(
testUserId
, isolatedAppId);
318
final int[] testUids = getUids(
testUserId
, new int[]{
356
final int ownerUid = UserHandle.getUid(
testUserId
, FIRST_APPLICATION_UID + 42);
401
final int
testUserId
= 11;
404
when(mUserInfoProvider.exists(
testUserId
)).thenReturn(true)
[
all
...]
Completed in 123 milliseconds