Home
last modified time | relevance | path

Searched defs:user (Results 1 – 18 of 18) sorted by relevance

/cts/tests/tests/content/src/android/content/om/cts/
DOverlayManagerTest.java62 UserHandle user = UserHandle.of(userId); in testSetEnabled() local
74 UserHandle user = UserHandle.of(userId); in testSetEnabledExclusiveInCategory() local
86 UserHandle user = UserHandle.of(userId); in testGetOverlayInfosForTarget() local
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerLauncherCallbackTest.java58 public void onPackageRemoved(String packageName, UserHandle user) { in onPackageRemoved()
62 public void onPackageAdded(String packageName, UserHandle user) { in onPackageAdded()
66 public void onPackageChanged(String packageName, UserHandle user) { in onPackageChanged()
70 public void onPackagesAvailable(String[] packageNames, UserHandle user, boolean replacing) { in onPackagesAvailable()
74 public void onPackagesUnavailable(String[] packageNames, UserHandle user, in onPackagesUnavailable()
80 String packageName, List<ShortcutInfo> shortcuts, UserHandle user) { in onShortcutsChanged()
/cts/hostsidetests/devicepolicy/app/LauncherTestsSupport/src/com/android/cts/launchertests/support/
DLauncherCallbackTestsService.java172 UserHandle user = params.getParcelable(USER_EXTRA); in eventExists() local
196 public void onPackageRemoved(String packageName, UserHandle user) { in onPackageRemoved()
205 public void onPackageAdded(String packageName, UserHandle user) { in onPackageAdded()
214 public void onPackageChanged(String packageName, UserHandle user) { in onPackageChanged()
223 public void onPackagesAvailable(String[] packageNames, UserHandle user, in onPackagesAvailable()
227 public void onPackagesUnavailable(String[] packageNames, UserHandle user, in onPackagesUnavailable()
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/
DDefaultSmsAppHelper.java40 UserHandle user = Process.myUserHandle(); in ensureDefaultSmsApp() local
/cts/hostsidetests/appsecurity/test-apps/StorageStatsApp/src/com/android/cts/storagestatsapp/
DStorageStatsTest.java111 final UserHandle user = UserHandle.getUserHandleForUid(uid); in testVerifyStats() local
168 final UserHandle user = UserHandle.getUserHandleForUid(uid); in testVerifyStatsExternal() local
214 final UserHandle user = android.os.Process.myUserHandle(); in testVerifyStatsExternalConsistent() local
252 final UserHandle user = android.os.Process.myUserHandle(); in testCacheClearing() local
385 private long getCacheBytes(String pkg, UserHandle user) throws Exception { in getCacheBytes()
/cts/hostsidetests/shortcuts/deviceside/multiuser/src/android/content/pm/cts/shortcut/multiuser/
DShortcutManagerSecondaryUserTest.java39 final UserHandle user = android.os.Process.myUserHandle(); in testCreateAndStart() local
/cts/tests/tests/telecom/src/android/telecom/cts/
DCallRedirectionServiceTest.java209 UserHandle user = Process.myUserHandle(); in addRoleHolder() local
228 UserHandle user = Process.myUserHandle(); in removeRoleHolder() local
DCtsRoleManagerAdapter.java161 UserHandle user = Process.myUserHandle(); in addRoleHolder() local
180 UserHandle user = Process.myUserHandle(); in removeRoleHolder() local
DThirdPartyCallScreeningServiceTest.java316 UserHandle user = Process.myUserHandle(); in addRoleHolder() local
335 UserHandle user = Process.myUserHandle(); in removeRoleHolder() local
/cts/tests/tests/role/src/android/app/role/cts/
DRoleManagerTest.java463 UserHandle user = Process.myUserHandle(); in assertOnRoleHoldersChangedListenerIsNotified() local
465 sContext.getMainExecutor(), future, user)); in assertOnRoleHoldersChangedListenerIsNotified() local
483 UserHandle user = Process.myUserHandle(); in addAndRemoveOnRoleHoldersChangedListenerAndAddRoleHolderThenIsNotNotified() local
486 user); in addAndRemoveOnRoleHoldersChangedListenerAndAddRoleHolderThenIsNotNotified() local
621 public void onRoleHoldersChanged(@NonNull String roleName, @NonNull UserHandle user) { in onRoleHoldersChanged()
/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/
DSessionCommitBroadcastTest.java117 UserHandle user = mDevicePolicyManager.createAndManageUser(cn, in testBroadcastReceivedForEnablingApp() local
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DBaseDeviceAdminTest.java57 public void onPasswordExpiring(Context context, Intent intent, UserHandle user) { in onPasswordExpiring()
/cts/hostsidetests/net/src/com/android/cts/net/
DProcNetTest.java105 String user = mDevice.executeAdbCommand("shell", "stat", "-c", "%u", path).trim(); in readIntFromPath() local
/cts/tests/tests/webkit/src/android/webkit/cts/
DHttpAuthHandlerTest.java76 ProceedHttpAuthClient(int maxAuthAttempts, String user, String password) { in ProceedHttpAuthClient()
/cts/hostsidetests/devicepolicy/app/TransferOwnerOutgoingApp/src/com/android/cts/transferowner/
DDeviceAndProfileOwnerTransferOutgoingTest.java49 public void onTransferAffiliatedProfileOwnershipComplete(Context context, UserHandle user) { in onTransferAffiliatedProfileOwnershipComplete()
/cts/hostsidetests/security/src/android/cts/security/
DSELinuxHostTest.java1281 public String user; field in SELinuxHostTest.ProcessDetails
1290 ProcessDetails(String label, String user, int pid, int ppid, String procTitle) { in ProcessDetails()
1323 String user = m.group(2); in createProcMap() local
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/
DLauncherAppsTests.java448 private int sendMessageToCallbacksService(int msg, UserHandle user, String packageName) in sendMessageToCallbacksService()
/cts/tools/release-parser/proto/
Drelease.proto150 string user = 5; field