Searched refs:userId (Results 1 – 4 of 4) sorted by relevance
/test/catbox/target_preparers/src/com/android/catbox/targetpreparer/ |
D | ChromeMdPassengerLoadPreparer.java | 79 int userId = createUser(device, displayId); in setUp() local 80 mDisplayToCreatedUsers.put(displayId, userId); in setUp() 94 int userId = mDisplayToCreatedUsers.get(displayId); in setUp() local 95 dismissInitialDialog(device, userId); in setUp() 96 simulatePassengerLoad(device, userId); in setUp() 107 for (int userId : mDisplayToCreatedUsers.values()) { in tearDown() 108 device.removeUser(userId); in tearDown() 115 int userId = device.createUser(String.format("user-display-%d", displayId)); in createUser() local 117 String.format("Created user with id %d for display %d", userId, displayId)); in createUser() 118 if (!device.startVisibleBackgroundUser(userId, displayId, true)) { in createUser() [all …]
|
/test/cts-root/tests/packagemanagerlocal/src/android/packagemanagerlocal/cts_root/ |
D | PackageManagerLocalTest.java | 53 final int userId = 0; in testPackageManagerLocal_ReconcileSdkData_DifferentStorageFlags() local 67 mPackageManagerLocal.reconcileSdkData(volumeUuid, packageName, subDirNames, userId, in testPackageManagerLocal_ReconcileSdkData_DifferentStorageFlags() 91 mPackageManagerLocal.reconcileSdkData(volumeUuid, packageName, emptyDir, userId, in testPackageManagerLocal_ReconcileSdkData_DifferentStorageFlags() 104 final int userId = 0; in testPackageManagerLocal_ReconcileSdkData_Reconcile() local 113 mPackageManagerLocal.reconcileSdkData(volumeUuid, packageName, subDirNames, userId, in testPackageManagerLocal_ReconcileSdkData_Reconcile() 119 userId, appId, previousAppId, seInfo, flag); in testPackageManagerLocal_ReconcileSdkData_Reconcile() 127 mPackageManagerLocal.reconcileSdkData(volumeUuid, packageName, emptyDir, userId, appId, in testPackageManagerLocal_ReconcileSdkData_Reconcile()
|
/test/cts-root/hostsidetests/rollback/src/com/android/cts_root/rollback/host/ |
D | RollbackManagerHostTest.java | 541 private static String apkDataDirCe(String apkName, int userId) { in apkDataDirCe() argument 542 return String.format("/data/user/%d/%s", userId, apkName); in apkDataDirCe() 545 private static String apkDataDirDe(String apkName, int userId) { in apkDataDirDe() argument 546 return String.format("/data/user_de/%d/%s", userId, apkName); in apkDataDirDe() 549 private static String apexDataDirCe(String apexName, int userId) { in apexDataDirCe() argument 550 return String.format("/data/misc_ce/%d/apexdata/%s", userId, apexName); in apexDataDirCe() 553 private static String apexDataDirDeUser(String apexName, int userId) { in apexDataDirDeUser() argument 554 return String.format("/data/misc_de/%d/apexdata/%s", userId, apexName); in apexDataDirDeUser()
|
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/targetprep/ |
D | BusinessLogicPreparerTest.java | 268 int userId = 100; in checkAndInstallContentProvider_notInstalled_getContentProvider() local 271 when(mockDevice.getCurrentUser()).thenReturn(userId); in checkAndInstallContentProvider_notInstalled_getContentProvider() 275 verify(mockDevice).getContentProvider(eq(userId)); in checkAndInstallContentProvider_notInstalled_getContentProvider()
|