Home
last modified time | relevance | path

Searched refs:sCloneUserId (Results 1 – 9 of 9) sorted by relevance

/cts/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/contacts/
DContactsSharingTest.java113 "pm list packages --user " + sCloneUserId); in testTwoContactsProviderProcesses()
139 installPackage(LAUNCHABLE_CLONE_PROFILE_APP, "--user " + Integer.valueOf(sCloneUserId)); in testCloneContactsProviderInsert_rawContacts_noContactsInsertedInBothProviders()
141 + Integer.valueOf(sCloneUserId)); in testCloneContactsProviderInsert_rawContacts_noContactsInsertedInBothProviders()
147 Integer.parseInt(sCloneUserId), in testCloneContactsProviderInsert_rawContacts_noContactsInsertedInBothProviders()
153 "testCloneContactsProvider_rawContactsIsEmpty", Integer.parseInt(sCloneUserId), in testCloneContactsProviderInsert_rawContacts_noContactsInsertedInBothProviders()
171 installPackage(LAUNCHABLE_CLONE_PROFILE_APP, "--user " + Integer.valueOf(sCloneUserId)); in testCloneContactsProviderBulkInsert_rawContacts_noContactsInsertedInBothProviders()
173 + Integer.valueOf(sCloneUserId)); in testCloneContactsProviderBulkInsert_rawContacts_noContactsInsertedInBothProviders()
180 Integer.parseInt(sCloneUserId), in testCloneContactsProviderBulkInsert_rawContacts_noContactsInsertedInBothProviders()
186 "testCloneContactsProvider_rawContactsIsEmpty", Integer.parseInt(sCloneUserId), in testCloneContactsProviderBulkInsert_rawContacts_noContactsInsertedInBothProviders()
204 installPackage(LAUNCHABLE_CLONE_PROFILE_APP, "--user " + Integer.valueOf(sCloneUserId)); in testCloneContactsProviderApplyBatch_rawContacts_noContactsInsertedInBothProviders()
[all …]
DManagedProfileContactsAccessTest.java192 installPackage(LAUNCHABLE_CLONE_PROFILE_APP, "--user " + Integer.valueOf(sCloneUserId)); in testClonedAppsAccessManagedProfileContacts_contactReadSuccessfully()
211 Integer.parseInt(sCloneUserId), args); in testClonedAppsAccessManagedProfileContacts_contactReadSuccessfully()
227 installPackage(LAUNCHABLE_CLONE_PROFILE_APP, "--user " + Integer.valueOf(sCloneUserId)); in testClonedAppsAccessManagedProfileContacts_contactReadsBlocked()
244 Integer.parseInt(sCloneUserId), args); in testClonedAppsAccessManagedProfileContacts_contactReadsBlocked()
/cts/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/intent/
DIntentRedirectionTest.java94 installPackage(CLONE_PROFILE_APP, "--user " + Integer.valueOf(sCloneUserId)); in testActionViewRedirectionInBothProfiles()
103 queryIntentForUser(intentAction, sCloneUserId, in testActionViewRedirectionInBothProfiles()
118 installPackage(CLONE_PROFILE_APP, "--user " + Integer.valueOf(sCloneUserId)); in testActionViewRedirectionInBothProfilesFlagOff()
130 queryIntentForUser(intentAction, sCloneUserId, in testActionViewRedirectionInBothProfilesFlagOff()
147 installPackage(CLONE_PROFILE_APP, "--user " + Integer.valueOf(sCloneUserId)); in testActionSendRedirectionInBothProfiles()
156 queryIntentForUser(intentAction, sCloneUserId, in testActionSendRedirectionInBothProfiles()
171 installPackage(CLONE_PROFILE_APP, "--user " + Integer.valueOf(sCloneUserId)); in testActionSendToRedirectionInBothProfiles()
180 queryIntentForUser(intentAction, sCloneUserId, in testActionSendToRedirectionInBothProfiles()
194 installPackage(CLONE_PROFILE_APP, "--user " + Integer.valueOf(sCloneUserId)); in testActionSendMultipleRedirectionInBothProfiles()
203 queryIntentForUser(intentAction, sCloneUserId, in testActionSendMultipleRedirectionInBothProfiles()
[all …]
/cts/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/media/
DAppCloningHostTest.java97 Integer.parseInt(sCloneUserId)); in setup()
121 Integer mCloneUserIdInt = Integer.parseInt(sCloneUserId); in testCreateCloneUserFile()
161 runContentProviderCommand("insert", sCloneUserId, in testRemoveClonedProfileMediaProviderCleanup()
164 sCloneUserId, cloneProfileImage), in testRemoveClonedProfileMediaProviderCleanup()
165 String.format("--bind _user_id:s:%s", sCloneUserId)))).isTrue(); in testRemoveClonedProfileMediaProviderCleanup()
167 CommandResult queryResult = runContentProviderCommand("query", sCloneUserId, in testRemoveClonedProfileMediaProviderCleanup()
178 assertThat(isSuccessful(executeShellV2Command("pm remove-user %s", sCloneUserId))) in testRemoveClonedProfileMediaProviderCleanup()
208 installPackage(APP_A, "--user " + Integer.valueOf(sCloneUserId)); in testPrivateAppDataDirectoryForCloneUser()
212 assertThat(isPackageInstalled(APP_A_PACKAGE, sCloneUserId)).isTrue(); in testPrivateAppDataDirectoryForCloneUser()
240 Integer.valueOf(sCloneUserId), cloneArgs); in testCrossUserMediaAccess()
[all …]
/cts/hostsidetests/scopedstorage/host/src/android/scopedstorage/cts/host/
DAppCloningMediaProviderHostTest.java70 private static String sCloneUserId; field in AppCloningMediaProviderHostTest
86 sCloneUserId = output.substring(output.lastIndexOf(' ') + 1).replaceAll("[^0-9]", in beforeClassWithDevice()
88 assertThat(sCloneUserId).isNotEmpty(); in beforeClassWithDevice()
90 CommandResult out = sDevice.executeShellV2Command("am start-user -w " + sCloneUserId); in beforeClassWithDevice()
93 Integer mCloneUserIdInt = Integer.parseInt(sCloneUserId); in beforeClassWithDevice()
95 Integer.parseInt(sCloneUserId)); in beforeClassWithDevice()
111 testInfo.getDevice().executeShellCommand("pm remove-user " + sCloneUserId); in afterClass()
129 ownerArgs.put(USER_ID_FOR_PATH, sCloneUserId); in testInsertCrossUserFilesInDirectoryViaMediaProvider()
140 Integer.parseInt(sCloneUserId), cloneArgs); in testInsertCrossUserFilesInDirectoryViaMediaProvider()
163 cloneArgs.put(CURRENT_USER_ID, sCloneUserId); in testGetFilesInDirectoryViaMediaProvider()
[all …]
/cts/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/media/storage/
DAppCloningStorageHostTest.java62 installPackage(APK_STATS, "--user " + sCloneUserId); in testVerifyStatsExternalForClonedUser()
64 int mCloneUserIdInt = Integer.parseInt(sCloneUserId); in testVerifyStatsExternalForClonedUser()
72 Integer.parseInt(sCloneUserId), new HashMap<>()); in testVerifyStatsExternalForClonedUser()
DAppCloningPublicVolumeTest.java93 Integer.valueOf(sCloneUserId), cloneArgs); in testCrossUserMediaAccessInPublicSdCard()
99 args.put(CLONE_USER_ID, sCloneUserId); in testCrossUserMediaAccessInPublicSdCard()
109 Integer.valueOf(sCloneUserId), args); in testCrossUserMediaAccessInPublicSdCard()
/cts/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/
DAppCloningBaseHostTest.java53 protected static String sCloneUserId; field in AppCloningBaseHostTest
63 sCloneUserId = output.substring(output.lastIndexOf(' ') + 1).replaceAll("[^0-9]", in createAndStartCloneUser()
65 assertThat(sCloneUserId).isNotEmpty(); in createAndStartCloneUser()
67 startUserAndWait(sCloneUserId); in createAndStartCloneUser()
134 removeUser(sCloneUserId); in baseHostTeardown()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DStorageHostTest.java321 String sCloneUserId = output.substring(output.lastIndexOf(' ') + 1).replaceAll("[^0-9]", in createCloneUserAndInstallDeviceTestApk() local
323 Truth.assertThat(sCloneUserId).isNotEmpty(); in createCloneUserAndInstallDeviceTestApk()
325 CommandResult out = getDevice().executeShellV2Command("am start-user -w " + sCloneUserId); in createCloneUserAndInstallDeviceTestApk()
328 Integer mCloneUserIdInt = Integer.parseInt(sCloneUserId); in createCloneUserAndInstallDeviceTestApk()
330 Integer.parseInt(sCloneUserId)); in createCloneUserAndInstallDeviceTestApk()