/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/ |
D | ShortcutManagerBackupTest.java | 84 clearShortcuts(LAUNCHER1_PKG, getPrimaryUserId()); in setUp() 85 clearShortcuts(LAUNCHER2_PKG, getPrimaryUserId()); in setUp() 86 clearShortcuts(LAUNCHER3_PKG, getPrimaryUserId()); in setUp() 87 clearShortcuts(LAUNCHER4_PKG, getPrimaryUserId()); in setUp() 89 clearShortcuts(PUBLISHER1_PKG, getPrimaryUserId()); in setUp() 90 clearShortcuts(PUBLISHER2_PKG, getPrimaryUserId()); in setUp() 91 clearShortcuts(PUBLISHER3_PKG, getPrimaryUserId()); in setUp() 92 clearShortcuts(PUBLISHER4_PKG, getPrimaryUserId()); in setUp() 242 installAppAsUser(LAUNCHER1_APK, getPrimaryUserId()); in testBackupAndRestore() 243 installAppAsUser(LAUNCHER2_APK, getPrimaryUserId()); in testBackupAndRestore() [all …]
|
D | ShortcutManagerMultiuserTest.java | 41 final int profileId = createProfile(getPrimaryUserId()); in testManagedUser() 43 installAppAsUser(TARGET_APK, getPrimaryUserId()); in testManagedUser() 47 "test01_managedProfileNotStarted", getPrimaryUserId()); in testManagedUser() 52 "test02_createShortuctsOnPrimaryUser", getPrimaryUserId()); in testManagedUser() 57 "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 | 114 protected int getPrimaryUserId() throws DeviceNotAvailableException { in getPrimaryUserId() method in BaseShortcutManagerHostTest 115 return getDevice().getPrimaryUserId(); in getPrimaryUserId()
|
/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() 193 runTestAsUser(className, methodName, getDevice().getPrimaryUserId()); in runTestAsPrimaryUser()
|
/cts/hostsidetests/media/src/android/media/session/cts/ |
D | MediaSessionManagerHostTest.java | 107 int primaryUserId = getDevice().getPrimaryUserId(); in testGetActiveSessions_primaryUser() 192 int newUser = createAndStartRestrictedProfile(getDevice().getPrimaryUserId()); in testGetActiveSessions_restrictedProfiles() 232 int newUser = createAndStartManagedProfile(getDevice().getPrimaryUserId()); in testGetActiveSessions_managedProfiles() 240 runTestAsUser(testMethodName, getDevice().getPrimaryUserId()); in runTest()
|
/cts/hostsidetests/inputmethodservice/hostside/src/android/inputmethodservice/cts/hostside/ |
D | MultiUserTest.java | 111 getDevice().switchUser(getDevice().getPrimaryUserId()); in tearDown() 151 final int primaryUserId = getDevice().getPrimaryUserId(); in testSecondaryUser() 212 final int primaryUserId = getDevice().getPrimaryUserId(); in testProfileUser()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | BaseAppSecurityTest.java | 45 mPrimaryUserId = getDevice().getPrimaryUserId(); in setUpBaseAppSecurityTest()
|
D | InstantAppUserTest.java | 75 mPrimaryUserId = getDevice().getPrimaryUserId(); in setUp()
|
D | Utils.java | 165 Integer primary = device.getPrimaryUserId(); in getAllUsers()
|
/cts/hostsidetests/multiuser/src/android/host/multiuser/ |
D | BaseMultiUserTest.java | 59 mPrimaryUserId = getDevice().getPrimaryUserId(); in setUp()
|
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/ |
D | Utils.java | 146 Integer primary = device.getPrimaryUserId(); in getAllUsers()
|
/cts/hostsidetests/backup/src/android/cts/backup/ |
D | BaseMultiUserBackupHostSideTest.java | 82 int primaryUserId = mDevice.getPrimaryUserId(); in setUp()
|
/cts/hostsidetests/media/src/android/media/cts/ |
D | BaseMultiUserTest.java | 108 int primaryUserId = getDevice().getPrimaryUserId(); in setUp()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | BaseDevicePolicyTest.java | 603 return getDevice().getPrimaryUserId(); in getPrimaryUser()
|