Home
last modified time | relevance | path

Searched defs:userContext (Results 1 – 11 of 11) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DAddWindowAsUserTest.java77 final Context userContext = mContext.createContextAsUser(user, 0); in getWindowManagerForUser() local
/cts/tests/tests/multiuser/src/android/multiuser/cts/
DUserManagerTest.java187 Context userContext; in testIsAdminUserForOtherUserContextFailsWithoutPermission() local
213 Context userContext; in testIsAdminUserForOtherUserContextWithPermission() local
280 Context userContext = getContextForOtherUser(); in testIsUserForeground_differentContext_withPermission() local
413 final Context userContext = sContext.createPackageContextAsUser("system", 0, in testCloneProfile() local
490 final Context userContext = in testSupervisingProfile() local
822 final Context userContext = sContext.createPackageContextAsUser("system", 0, user); in testRestrictedUser() local
1086 final Context userContext = getContextForUser(user.getIdentifier()); in testIsMainUser_trueForAtMostOneUser() local
/cts/tests/tests/packageinstaller/criticaluserjourney/src/android/packageinstaller/criticaluserjourney/cts/
DUninstallationTestBase.java406 public static void assertTestPackageInstalledOnUser(@NonNull Context userContext) { in assertTestPackageInstalledOnUser()
413 public static void assertTestPackageNotInstalledOnUser(@NonNull Context userContext) { in assertTestPackageNotInstalledOnUser()
DPackageInstallerCujTestBase.java600 public static boolean isTestPackageInstalledOnUser(@NonNull Context userContext) { in isTestPackageInstalledOnUser()
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DInstallSourceInfoMultiUserTest.kt81 val userContext: Context = context.createContextAsUser(user.userHandle(), 0) in installOnUserAndCheckInfo() constant
/cts/tests/PhotoPicker/src/android/photopicker/cts/util/
DPhotoPickerFilesUtils.java164 final Context userContext = userId == context.getUserId() ? context : in getPermissionAndStageMedia() local
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_BitmapTest.cpp248 static bool compressWriteFn(void* userContext, const void* data, size_t size) { in compressWriteFn()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java1308 final Context userContext = mContext.createContextAsUser(otherUser, 0); in testCrossUserQuery_withPermission() local
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerShellCommandInstallTest.java3280 Context userContext = getContext().createContextAsUser(UserHandle.of(userId), 0); in isPackageInstalledForUser() local
DPackageManagerTest.java2122 var userContext = instrumentation.getContext().createContextAsUser(user, 0); in installArchivedAsUser() local
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp4176 intptr_t userContext = -1; in nativeImageReaderTestBase() local