/cts/hostsidetests/shortcuts/deviceside/backup/launcher2/src/android/content/pm/cts/shortcut/backup/launcher2/ |
D | ShortcutManagerPreBackupTest.java | 41 getLauncherApps().pinShortcuts(PUBLISHER1_PKG, list("s3", "ms2"), getUserHandle()); in testPreBackup() 42 getLauncherApps().pinShortcuts(PUBLISHER2_PKG, list("s2", "s3", "ms1"), getUserHandle()); in testPreBackup() 44 getUserHandle()); in testPreBackup()
|
/cts/hostsidetests/shortcuts/deviceside/backup/launcher3/src/android/content/pm/cts/shortcut/backup/launcher3/ |
D | ShortcutManagerPreBackupTest.java | 41 getLauncherApps().pinShortcuts(PUBLISHER1_PKG, list("s3", "ms1", "ms2"), getUserHandle()); in testPreBackup() 42 getLauncherApps().pinShortcuts(PUBLISHER2_PKG, list("s1", "s3", "ms2"), getUserHandle()); in testPreBackup() 44 getUserHandle()); in testPreBackup()
|
/cts/hostsidetests/shortcuts/deviceside/backup/launcher1/src/android/content/pm/cts/shortcut/backup/launcher1/ |
D | ShortcutManagerPreBackupTest.java | 41 getLauncherApps().pinShortcuts(PUBLISHER1_PKG, list("s1", "ms1"), getUserHandle()); in testPreBackup() 42 getLauncherApps().pinShortcuts(PUBLISHER2_PKG, list("s1", "s2", "ms2"), getUserHandle()); in testPreBackup() 44 getUserHandle()); in testPreBackup()
|
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/ |
D | RemoteEventQuerier.java | 175 if (mEventLogsQuery.getUserHandle() != null in blockingConnectOrFail() 176 && mEventLogsQuery.getUserHandle().getIdentifier() in blockingConnectOrFail() 182 mEventLogsQuery.getUserHandle())); in blockingConnectOrFail() 195 UserReference user = (mEventLogsQuery.getUserHandle() == null) in blockingConnectOrFail() 197 : TestApis.users().find(mEventLogsQuery.getUserHandle()); in blockingConnectOrFail() 199 …throw new AssertionError("Tried to bind to user " + mEventLogsQuery.getUserHandle() + " but does n… in blockingConnectOrFail() 211 + intent + ", user is " + mEventLogsQuery.getUserHandle() + ")"); in blockingConnectOrFail()
|
/cts/tests/app/src/android/app/cts/ |
D | AdjustmentTest.java | 59 assertEquals(ADJ_USER, mAdjustment.getUserHandle()); in testGetUser() 81 assertEquals(mAdjustment.getUserHandle(), unparceled.getUserHandle()); in testParcelling()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerSpoofDetectionTest.java | 96 getLauncherApps().getShortcuts(q, getUserHandle()); in testLauncherSpoofing() 101 mPackageContext1.getPackageName(), list(), getUserHandle()); in testLauncherSpoofing() 109 null, null, getUserHandle()); in testLauncherSpoofing()
|
D | ShortcutManagerMultiLauncherTest.java | 91 list("s1", "s2", "s3", "ms1", "ms21"), getUserHandle()); in testPinShortcuts() 94 list("s2", "s3", "ms31"), getUserHandle()); in testPinShortcuts() 102 list("s3", "s4", "ms22"), getUserHandle()); in testPinShortcuts() 105 list("s1", "s2", "s3", "ms32"), getUserHandle()); in testPinShortcuts()
|
D | ShortcutManagerStartShortcutTest.java | 67 getUserHandle()); in launchShortcutAndGetIntents() 89 getUserHandle()); in assertShortcutCantStart() 244 list("s1"), getUserHandle()); in testPinnedShortcut_sameLauncher() 269 list("s1"), getUserHandle()); in testPinnedShortcut_differentLauncher()
|
D | ShortcutManagerClientApiTest.java | 584 list("s1"), getUserHandle()); in testSetDynamicShortcuts_wasPinned() 964 list("s1"), getUserHandle()); in testAddDynamicShortcuts_wasPinned() 997 list("s2", "s3"), getUserHandle()); in testUpdateShortcut() 999 list("s1", "s2"), getUserHandle()); in testUpdateShortcut() 1497 list("s2", "s3"), getUserHandle()); in testDisableAndEnableShortcut() 1499 list("s1", "s2"), getUserHandle()); in testDisableAndEnableShortcut() 1688 list("ms21"), getUserHandle()); in testImmutableShortcuts() 1916 list("ms41", "ms42"), getUserHandle()); in testManifestDisabled() 1970 assertEquals(getUserHandle(), si.getUserHandle()); in testMiscShortcutInfo() 1987 list("ms21", "s1", "s2"), getUserHandle()); in testGetShortcuts() [all …]
|
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/ |
D | AdjustmentTest.java | 65 assertEquals(ADJ_USER, mAdjustment.getUserHandle()); in testGetUser() 87 assertEquals(mAdjustment.getUserHandle(), unparceled.getUserHandle()); in testParcelling()
|
/cts/hostsidetests/shortcuts/deviceside/common/src/android/content/pm/cts/shortcut/device/common/ |
D | ShortcutManagerDeviceTestBase.java | 86 protected UserHandle getUserHandle() { in getUserHandle() method in ShortcutManagerDeviceTestBase 102 final List<ShortcutInfo> found = getLauncherApps().getShortcuts(q, getUserHandle()); in getIconAsLauncher() 130 return getLauncherApps().getShortcuts(q, getUserHandle()); in getPackageShortcuts()
|
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/ |
D | ICrossUserService.aidl | 21 android.os.UserHandle getUserHandle(); in getUserHandle() method
|
D | ProtectedCrossUserService.java | 35 public UserHandle getUserHandle() {
|
/cts/hostsidetests/shortcuts/deviceside/multiuser/src/android/content/pm/cts/shortcut/multiuser/ |
D | ShortcutManagerManagedUserTest.java | 80 assertEquals(userCurrent, si.getUserHandle()); in test04_getAndLaunch_primary() 87 assertEquals(userOther, si.getUserHandle()); in test04_getAndLaunch_primary() 116 assertEquals(userCurrent, si.getUserHandle()); in test05_getAndLaunch_managed()
|
D | ShortcutManagerSecondaryUserTest.java | 57 assertEquals(user, si.getUserHandle()); in testCreateAndStart()
|
/cts/hostsidetests/shortcuts/deviceside/backup/launcher4old/src/android/content/pm/cts/shortcut/backup/launcher4/ |
D | ShortcutManagerPreBackupTest.java | 39 getUserHandle()); in testPreBackup()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | UserSwitchRequestTest.java | 35 expectThat(userSwitchRequest.getUserHandle()).isEqualTo(USER_HANDLE); in testUserSwitchRequestUserhandle()
|
D | UserRemovalRequestTest.java | 35 expectThat(userRemovalRequest.getUserHandle()).isEqualTo(USER_HANDLE); in testUserRemovalRequestUserhandle()
|
D | CarUserManagerTest.java | 172 assertWithMessage("UserId of the event").that(visibleEvent.getUserHandle()) in testStartUserOnDisplayAndStopUser() 182 assertWithMessage("UserId of the event").that(startingEvent.getUserHandle()) in testStartUserOnDisplayAndStopUser() 209 assertWithMessage("UserId of the event").that(invisibleEvent.getUserHandle()) in testStartUserOnDisplayAndStopUser() 265 assertWithMessage("user id on %s", event).that(event.getUserHandle().getIdentifier()) in testLifecycleUserCreatedListener_supportedVersion() 311 assertWithMessage("user id on %s", event).that(event.getUserHandle().getIdentifier()) in testLifecycleUserRemovedListener_supportedVersion()
|
/cts/tests/smartspace/src/android/smartspace/cts/ |
D | SmartspaceSessionIdTest.java | 61 assertThat(sessionId.getUserHandle()).isEqualTo(Process.myUserHandle()); in testCreateSmartspaceSessionId()
|
D | TapActionTest.java | 66 assertThat(tapAction.getUserHandle()).isEqualTo(Process.myUserHandle()); in testCreateTapAction()
|
D | SmartspaceActionTest.java | 77 assertThat(action.getUserHandle()).isEqualTo(Process.myUserHandle()); in testCreateSmartspaceAction()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-40092/src/android/security/cts/CVE_2023_40092/ |
D | DeviceTest.java | 65 return info.getUserHandle().getIdentifier(); in testPocCVE_2023_40092()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21107/test-app/src/android/security/cts/CVE_2023_21107_test/ |
D | DeviceTest.java | 59 workUserHandle = info.getUserHandle(); in testCVE_2023_21107()
|
/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/ |
D | ShellCommandExecutor.java | 101 final long userSerial = getUserSerialNumber(instrumentation, handle.getUserHandle()); in enablePhoneAccount()
|