Searched refs:runTestAsUser (Results 1 – 2 of 2) sorted by relevance
/cts/hostsidetests/media/src/android/media/session/cts/ |
D | MediaSessionManagerHostTest.java | 155 runTestAsUser("testGetActiveSessions_noMediaSession", newUser); in testGetActiveSessions_additionalUser() 191 runTestAsUser("testGetActiveSessions_noMediaSession", newUser); in testGetActiveSessions_restrictedProfiles() 228 runTestAsUser("testGetActiveSessions_noMediaSession", newUser); in testGetActiveSessions_managedProfiles() 311 runTestAsUser("testIsTrusted_returnsTrue", newUserId); in testIsTrusted_withEnabledNotificationListener_returnsTrue() 327 runTestAsUser("testIsTrusted_returnsFalse", newUserId); in testIsTrusted_withoutEnabledNotificationListener_returnsFalse() 331 runTestAsUser(testMethodName, getUserIdForTesting()); in runTest() 334 private void runTestAsUser(String testMethodName, int userId) in runTestAsUser() method in MediaSessionManagerHostTest
|
/cts/hostsidetests/numberblocking/src/com/android/cts/numberblocking/hostside/ |
D | NumberBlockingTest.java | 193 runTestAsUser(className, methodName, getDevice().getPrimaryUserId()); in runTestAsPrimaryUser() 197 runTestAsUser(className, methodName, mSecondaryUserId); in runTestAsSecondaryUser() 200 private void runTestAsUser(String className, String methodName, int userId) throws Exception { in runTestAsUser() method in NumberBlockingTest
|