Searched refs:getPrimaryUserId (Results 1 – 12 of 12) sorted by relevance
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/ |
D | ShortcutManagerBackupTest.java | 59 clearShortcuts(LAUNCHER1_PKG, getPrimaryUserId()); in setUp() 60 clearShortcuts(LAUNCHER2_PKG, getPrimaryUserId()); in setUp() 61 clearShortcuts(LAUNCHER3_PKG, getPrimaryUserId()); in setUp() 62 clearShortcuts(PUBLISHER1_PKG, getPrimaryUserId()); in setUp() 63 clearShortcuts(PUBLISHER2_PKG, getPrimaryUserId()); in setUp() 64 clearShortcuts(PUBLISHER3_PKG, getPrimaryUserId()); in setUp() 200 installAppAsUser(LAUNCHER1_APK, getPrimaryUserId()); in testBackupAndRestore() 201 installAppAsUser(LAUNCHER2_APK, getPrimaryUserId()); in testBackupAndRestore() 202 installAppAsUser(LAUNCHER3_APK, getPrimaryUserId()); in testBackupAndRestore() 204 installAppAsUser(PUBLISHER1_APK, getPrimaryUserId()); in testBackupAndRestore() [all …]
|
D | ShortcutManagerMultiuserTest.java | 40 final int profileId = createProfile(getPrimaryUserId()); in testManagedUser() 42 installAppAsUser(TARGET_APK, getPrimaryUserId()); in testManagedUser() 46 "test01_managedProfileNotStarted", getPrimaryUserId()); in testManagedUser() 51 "test02_createShortuctsOnPrimaryUser", getPrimaryUserId()); in testManagedUser() 56 "test04_getAndLaunch_primary", getPrimaryUserId()); in testManagedUser()
|
D | ShortcutManagerUpgradeTest.java | 43 installAppAsUser(VERSION1_APK, getPrimaryUserId()); in testUpgrade() 45 runDeviceTestsAsUser(TARGET_PKG, ".ShortcutManagerPreUpgradeTest", getPrimaryUserId()); in testUpgrade() 47 installAppAsUser(VERSION2_APK, getPrimaryUserId()); in testUpgrade() 49 runDeviceTestsAsUser(TARGET_PKG, ".ShortcutManagerPostUpgradeTest", getPrimaryUserId()); in testUpgrade()
|
D | BaseShortcutManagerHostTest.java | 112 protected int getPrimaryUserId() throws DeviceNotAvailableException { in getPrimaryUserId() method in BaseShortcutManagerHostTest 113 return getDevice().getPrimaryUserId(); in getPrimaryUserId() 184 getDevice().switchUser(getPrimaryUserId()); in removeTestUsers()
|
/cts/hostsidetests/numberblocking/src/com/android/cts/numberblocking/hostside/ |
D | NumberBlockingTest.java | 70 installTestAppForUser(getDevice().getPrimaryUserId()); in setUp() 74 mPrimaryUserSerialNumber = getUserSerialNumber(getDevice().getPrimaryUserId()); in setUp() 103 true /* setToSmsApp */, getDevice().getPrimaryUserId()); in testNumberBlocking() 111 false /* setToSmsApp */, getDevice().getPrimaryUserId()); in testNumberBlocking() 139 true /* setToSmsApp */, getDevice().getPrimaryUserId()); in testNumberBlocking() 162 runTestAsUser(className, methodName, getDevice().getPrimaryUserId()); in runTestAsPrimaryUser()
|
/cts/hostsidetests/media/src/android/media/session/cts/ |
D | MediaSessionManagerHostTest.java | 98 int primaryUserId = getDevice().getPrimaryUserId(); in testGetActiveSessions() 141 runTestAsUser(testMethodName, getDevice().getPrimaryUserId()); in runTest()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | BaseAppSecurityTest.java | 52 mPrimaryUserId = getDevice().getPrimaryUserId(); in setUp()
|
D | Utils.java | 155 Integer primary = device.getPrimaryUserId(); in getAllUsers()
|
D | InstantAppUserTest.java | 78 mPrimaryUserId = getDevice().getPrimaryUserId(); in setUp()
|
/cts/hostsidetests/multiuser/src/android/host/multiuser/ |
D | BaseMultiUserTest.java | 53 mPrimaryUserId = getDevice().getPrimaryUserId(); in setUp()
|
/cts/hostsidetests/media/src/android/media/cts/ |
D | BaseMultiUserTest.java | 113 int primaryUserId = getDevice().getPrimaryUserId(); in setUp()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | BaseDevicePolicyTest.java | 470 return getDevice().getPrimaryUserId(); in getPrimaryUser()
|