/cts/hostsidetests/appsecurity/test-apps/AppDataIsolationTestApp/AppB/src/com/android/cts/appdataisolation/appb/ |
D | AppBTests.java | 23 import static com.android.cts.appdataisolation.common.UserUtils.getCurrentUserId; 53 assertDirDoesNotExist("/data/misc/profiles/cur/" + getCurrentUserId() + "/" in testCanNotAccessAppADataDir() 63 if (getCurrentUserId() == UserHandle.USER_SYSTEM) { in testCanAccessAppADataDir() 66 assertFileIsAccessible("/data/misc/profiles/cur/" + getCurrentUserId() + "/" in testCanAccessAppADataDir()
|
/cts/hostsidetests/appsecurity/test-apps/AppDataIsolationTestApp/AppA/src/com/android/cts/appdataisolation/appa/ |
D | IsolatedService.java | 21 import static com.android.cts.appdataisolation.common.UserUtils.getCurrentUserId; 44 int currentUserId = getCurrentUserId();
|
D | AppATests.java | 32 import static com.android.cts.appdataisolation.common.UserUtils.getCurrentUserId; 182 assertDirIsAccessible("/data/misc/profiles/cur/"+ getCurrentUserId() + "/" in testAppACurProfileDataAccessible() 199 assertDirDoesNotExist("/data/misc/profiles/cur/" + getCurrentUserId() + "/" + APPB_PKG); in testCannotAccessAppBDataDir()
|
/cts/hostsidetests/scopedstorage/host/src/android/scopedstorage/cts/host/ |
D | ScopedStorageCoreHostTest.java | 116 int currentUserId = getCurrentUserId(); in grantPermissions() 124 int currentUserId = getCurrentUserId(); in revokePermissions()
|
D | LegacyStorageHostTest.java | 56 int currentUserId = getCurrentUserId(); in grantPermissions() 64 int currentUserId = getCurrentUserId(); in revokePermissions()
|
D | ScopedStorageHostTest.java | 322 int currentUserId = getCurrentUserId(); in grantPermissionsToPackage() 334 int currentUserId = getCurrentUserId(); in revokePermissions()
|
D | PreserveLegacyStorageHostTest.java | 44 int userId = getCurrentUserId(); in installApp()
|
D | BaseHostTestCase.java | 76 protected int getCurrentUserId() throws Exception { in getCurrentUserId() method in BaseHostTestCase
|
D | AppCloningHostTest.java | 76 installAppAsUser(APP_A, getCurrentUserId()); in testInstallAppTwice()
|
/cts/hostsidetests/appsecurity/test-apps/AppDataIsolationTestApp/common/src/com/android/cts/appdataisolation/common/ |
D | UserUtils.java | 23 public static int getCurrentUserId() { in getCurrentUserId() method in UserUtils
|
/cts/hostsidetests/car/src/android/car/cts/ |
D | CarHostJUnit4TestCase.java | 100 mInitialUserId = getCurrentUserId(); in saveUserState() 108 int currentUserId = getCurrentUserId(); in restoreUsersState() 265 protected int getCurrentUserId() throws DeviceNotAvailableException { in getCurrentUserId() method in CarHostJUnit4TestCase 370 + " (it is " + getCurrentUserId() + ")", in waitUntilCurrentUser() 372 () -> (getCurrentUserId() == userId)); in waitUntilCurrentUser()
|
D | UiModeHostTest.java | 44 int originalUserId = getCurrentUserId(); in testUserSwitchingConfigConsistency()
|
D | PreCreateUsersHostTest.java | 101 int initialUserId = getCurrentUserId(); in appsAreNotInstalledOnPreCreatedUserTest()
|
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/ |
D | DistractingPackageTest.java | 82 private int getCurrentUserId() { in getCurrentUserId() method in DistractingPackageTest 102 final int currentUserId = getCurrentUserId(); in testShouldHideFromSuggestions()
|
D | SuspendPackagesTest.java | 190 private int getCurrentUserId() { in getCurrentUserId() method in SuspendPackagesTest 198 final int currentUserId = getCurrentUserId(); in testLauncherCallback()
|