Home
last modified time | relevance | path

Searched refs:testArguments (Results 1 – 6 of 6) sorted by relevance

/cts/hostsidetests/accounts/test-apps/AccountManagerCrossUserApp/src/com/android/cts/accountmanager/
DAccountManagerCrossUserTest.java65 final Bundle testArguments = InstrumentationRegistry.getArguments(); in getTestUser() local
66 if (testArguments.containsKey("testUser")) { in getTestUser()
68 return Integer.parseInt(testArguments.getString("testUser")); in getTestUser()
77 final Bundle testArguments = InstrumentationRegistry.getArguments(); in getNumAccountsExpected() local
78 if (testArguments.containsKey("numAccountsExpected")) { in getNumAccountsExpected()
81 testArguments.getString("numAccountsExpected")); in getNumAccountsExpected()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DWipeDataNotificationTest.java66 final Bundle testArguments = InstrumentationRegistry.getArguments(); in getProfileId() local
67 if (testArguments.containsKey("profileId")) { in getProfileId()
68 profileId = Integer.parseInt(testArguments.getString("profileId")); in getProfileId()
DCrossProfileUtils.java135 final Bundle testArguments = InstrumentationRegistry.getArguments(); in getCrossProfilePackage() local
136 if (testArguments.containsKey(PARAM_CROSS_PROFILE_PACKAGE)) { in getCrossProfilePackage()
138 return testArguments.getString(PARAM_CROSS_PROFILE_PACKAGE); in getCrossProfilePackage()
/cts/hostsidetests/devicepolicy/app/CrossProfileTestApps/CrossProfileAppsTest/src/com/android/cts/crossprofileappstest/
DCrossProfileAppsPermissionToInteractTest.java194 final Bundle testArguments = InstrumentationRegistry.getArguments(); in getCrossProfilePackage() local
195 if (testArguments.containsKey(PARAM_CROSS_PROFILE_PACKAGE)) { in getCrossProfilePackage()
197 return testArguments.getString(PARAM_CROSS_PROFILE_PACKAGE); in getCrossProfilePackage()
/cts/hostsidetests/appsecurity/test-apps/ApplicationVisibilityCrossUserApp/src/com/android/cts/applicationvisibility/
DApplicationVisibilityCrossUserTest.java223 final Bundle testArguments = InstrumentationRegistry.getArguments(); in getTestUser() local
224 if (testArguments.containsKey("testUser")) { in getTestUser()
226 return Integer.parseInt(testArguments.getString("testUser")); in getTestUser()
/cts/hostsidetests/content/test-apps/ContextCrossProfileApps/ContextCrossProfileApp/src/com/android/cts/context/
DContextCrossProfileDeviceTest.java72 final Bundle testArguments = InstrumentationRegistry.getArguments(); in getTestUser() local
73 if (testArguments.containsKey("testUser")) { in getTestUser()
75 return Integer.parseInt(testArguments.getString("testUser")); in getTestUser()