/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | ExternalStorageHostTest.java | 125 for (int user : mUsers) { in testExternalStorageRename() 126 runDeviceTests(WRITE_PKG, WRITE_CLASS, "testExternalStorageRename", user); in testExternalStorageRename() 145 for (int user : mUsers) { in testExternalStorageNone() 146 runDeviceTests(NONE_PKG, COMMON_CLASS, user); in testExternalStorageNone() 147 runDeviceTests(NONE_PKG, NONE_CLASS, user); in testExternalStorageNone() 168 for (int user : mUsers) { in testExternalStorageRead() 169 runDeviceTests(READ_PKG, COMMON_CLASS, user); in testExternalStorageRead() 170 runDeviceTests(READ_PKG, READ_CLASS, user); in testExternalStorageRead() 191 for (int user : mUsers) { in testExternalStorageWrite() 192 runDeviceTests(WRITE_PKG, COMMON_CLASS, user); in testExternalStorageWrite() [all …]
|
D | StorageHostTest.java | 61 for (int user : mUsers) { in setUp() 62 getDevice().executeShellCommand("appops set --user " + user + " " + PKG_STATS in setUp() 83 for (int user : mUsers) { in testVerifyAppStats() 84 runDeviceTests(PKG_A, CLASS, "testAllocate", user); in testVerifyAppStats() 93 for (int user : mUsers) { in testVerifyAppStats() 94 runDeviceTests(PKG_A, CLASS, "testVerifySpaceManual", user); in testVerifyAppStats() 95 runDeviceTests(PKG_A, CLASS, "testVerifySpaceApi", user); in testVerifyAppStats() 101 for (int user : mUsers) { in testVerifyAppQuota() 102 runDeviceTests(PKG_A, CLASS, "testVerifyQuotaApi", user); in testVerifyAppQuota() 108 for (int user : mUsers) { in testVerifyAppAllocate() [all …]
|
D | Utils.java | 170 for (Integer user : device.listUsers()) { in getAllUsers() 171 if ((user != USER_SYSTEM) && (user != primary)) { in getAllUsers() 173 users[users.length - 1] = user; in getAllUsers()
|
/cts/hostsidetests/devicepolicy/app/LauncherTestsSupport/src/com/android/cts/launchertests/support/ |
D | LauncherCallbackTestsService.java | 172 UserHandle user = params.getParcelable(USER_EXTRA); in eventExists() local 174 Log.i(TAG, "checking for " + packageName + " " + user); in eventExists() 178 if (event.first.equals(packageName) && event.second.equals(user)) { in eventExists() 179 Log.i(TAG, "Event exists " + packageName + " for user " + user); in eventExists() 196 public void onPackageRemoved(String packageName, UserHandle user) { in onPackageRemoved() argument 197 Log.i(TAG, "package removed event " + packageName + " " + user); in onPackageRemoved() 199 mPackagesRemoved.put(new Pair(packageName, user)); in onPackageRemoved() 205 public void onPackageAdded(String packageName, UserHandle user) { in onPackageAdded() argument 206 Log.i(TAG, "package added event " + packageName + " " + user); in onPackageAdded() 208 mPackagesAdded.put(new Pair(packageName, user)); in onPackageAdded() [all …]
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/scripts/ |
D | generate-client-cert-chain.sh | 65 -keyout user.key.pem \ 68 -out user.csr.pem 77 -in user.csr.pem \ 78 -out user.cert.pem 84 "$WORKDIR"/user.cert.pem \ 87 > "$TARGETDIR"/user-cert-chain.crt 94 -in "$WORKDIR"/user.key.pem \ 95 -out "$TARGETDIR"/user-cert-chain.key
|
/cts/tests/tests/content/src/android/content/om/cts/ |
D | OverlayManagerTest.java | 62 UserHandle user = UserHandle.of(userId); in testSetEnabled() local 66 mManager.setEnabled(packageName, true, user); in testSetEnabled() 74 UserHandle user = UserHandle.of(userId); in testSetEnabledExclusiveInCategory() local 78 mManager.setEnabledExclusiveInCategory(packageName, user); in testSetEnabledExclusiveInCategory() 86 UserHandle user = UserHandle.of(userId); in testGetOverlayInfosForTarget() local 88 mManager.getOverlayInfosForTarget(targetPackageName, user); in testGetOverlayInfosForTarget()
|
/cts/hostsidetests/appsecurity/test-apps/StorageStatsApp/src/com/android/cts/storagestatsapp/ |
D | StorageStatsTest.java | 111 final UserHandle user = UserHandle.getUserHandleForUid(uid); in testVerifyStats() local 114 final StorageStats beforeUser = stats.queryStatsForUser(UUID_DEFAULT, user); in testVerifyStats() 119 final StorageStats afterUser = stats.queryStatsForUser(UUID_DEFAULT, user); in testVerifyStats() 168 final UserHandle user = UserHandle.getUserHandleForUid(uid); in testVerifyStatsExternal() local 170 final ExternalStorageStats before = stats.queryExternalStatsForUser(UUID_DEFAULT, user); in testVerifyStatsExternal() 188 final ExternalStorageStats afterInit = stats.queryExternalStatsForUser(UUID_DEFAULT, user); in testVerifyStatsExternal() 199 … final ExternalStorageStats afterRename = stats.queryExternalStatsForUser(UUID_DEFAULT, user); in testVerifyStatsExternal() 214 final UserHandle user = android.os.Process.myUserHandle(); in testVerifyStatsExternalConsistent() local 234 final long statsSize = stats.queryExternalStatsForUser(UUID_DEFAULT, user).getTotalBytes(); in testVerifyStatsExternalConsistent() 252 final UserHandle user = android.os.Process.myUserHandle(); in testCacheClearing() local [all …]
|
/cts/tests/tests/drm/ |
D | README | 3 of user's DRM plug-in. 4 - If new plug-in is added, user should add corresponding configuration
|
/cts/hostsidetests/shortcuts/deviceside/multiuser/src/android/content/pm/cts/shortcut/multiuser/ |
D | ShortcutManagerSecondaryUserTest.java | 39 final UserHandle user = android.os.Process.myUserHandle(); in testCreateAndStart() local 52 final List<ShortcutInfo> list = getLauncherApps().getShortcuts(q, user); in testCreateAndStart() 57 assertEquals(user, si.getUserHandle()); in testCreateAndStart()
|
D | ShortcutManagerManagedUserTest.java | 139 for (UserHandle user : getContext().getSystemService(UserManager.class).getUserProfiles()) { in getOtherUser() 140 if (user.equals(android.os.Process.myUserHandle())) { in getOtherUser() 143 return user; in getOtherUser()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerLauncherCallbackTest.java | 58 public void onPackageRemoved(String packageName, UserHandle user) { in onPackageRemoved() argument 62 public void onPackageAdded(String packageName, UserHandle user) { in onPackageAdded() argument 66 public void onPackageChanged(String packageName, UserHandle user) { in onPackageChanged() argument 70 public void onPackagesAvailable(String[] packageNames, UserHandle user, boolean replacing) { in onPackagesAvailable() argument 74 public void onPackagesUnavailable(String[] packageNames, UserHandle user, in onPackagesUnavailable() argument 80 String packageName, List<ShortcutInfo> shortcuts, UserHandle user) { in onShortcutsChanged() argument
|
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/ |
D | Utils.java | 151 for (Integer user : device.listUsers()) { in getAllUsers() 152 if ((user != USER_SYSTEM) && (user != primary)) { in getAllUsers() 154 users[users.length - 1] = user; in getAllUsers()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | PackageIncidentTest.java | 107 for (PackageServiceDumpProto.SharedUserProto user : dump.getSharedUsersList()) { in verifyPackageServiceDumpProto() 108 if (user.getUid() == 1000) { in verifyPackageServiceDumpProto() 109 systemUser = user; in verifyPackageServiceDumpProto()
|
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/ |
D | DefaultSmsAppHelper.java | 40 UserHandle user = Process.myUserHandle(); in ensureDefaultSmsApp() local 50 user, in ensureDefaultSmsApp()
|
/cts/tests/tests/role/src/android/app/role/cts/ |
D | RoleManagerTest.java | 463 UserHandle user = Process.myUserHandle(); in assertOnRoleHoldersChangedListenerIsNotified() local 465 sContext.getMainExecutor(), future, user)); in assertOnRoleHoldersChangedListenerIsNotified() local 472 sRoleManager.removeOnRoleHoldersChangedListenerAsUser(future, user)); in assertOnRoleHoldersChangedListenerIsNotified() 476 assertThat(result.second).isEqualTo(user); in assertOnRoleHoldersChangedListenerIsNotified() 483 UserHandle user = Process.myUserHandle(); in addAndRemoveOnRoleHoldersChangedListenerAndAddRoleHolderThenIsNotNotified() local 486 user); in addAndRemoveOnRoleHoldersChangedListenerAndAddRoleHolderThenIsNotNotified() local 487 sRoleManager.removeOnRoleHoldersChangedListenerAsUser(future, user); in addAndRemoveOnRoleHoldersChangedListenerAndAddRoleHolderThenIsNotNotified() 621 public void onRoleHoldersChanged(@NonNull String roleName, @NonNull UserHandle user) { in onRoleHoldersChanged() argument 622 complete(new Pair<>(roleName, user)); in onRoleHoldersChanged()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | CtsRoleManagerAdapter.java | 161 UserHandle user = Process.myUserHandle(); in addRoleHolder() local 165 mRoleManager.addRoleHolderAsUser(roleName, packageName, 0, user, executor, in addRoleHolder() 180 UserHandle user = Process.myUserHandle(); in removeRoleHolder() local 184 mRoleManager.removeRoleHolderAsUser(roleName, packageName, 0, user, executor, in removeRoleHolder()
|
D | CallRedirectionServiceTest.java | 209 UserHandle user = Process.myUserHandle(); in addRoleHolder() local 214 packageName, RoleManager.MANAGE_HOLDERS_FLAG_DONT_KILL_APP, user, executor, in addRoleHolder() 228 UserHandle user = Process.myUserHandle(); in removeRoleHolder() local 233 packageName, RoleManager.MANAGE_HOLDERS_FLAG_DONT_KILL_APP, user, executor, in removeRoleHolder()
|
D | ThirdPartyCallScreeningServiceTest.java | 316 UserHandle user = Process.myUserHandle(); in addRoleHolder() local 321 packageName, RoleManager.MANAGE_HOLDERS_FLAG_DONT_KILL_APP, user, executor, in addRoleHolder() 335 UserHandle user = Process.myUserHandle(); in removeRoleHolder() local 340 packageName, RoleManager.MANAGE_HOLDERS_FLAG_DONT_KILL_APP, user, executor, in removeRoleHolder()
|
/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/ |
D | SessionCommitBroadcastTest.java | 117 UserHandle user = mDevicePolicyManager.createAndManageUser(cn, in testBroadcastReceivedForEnablingApp() local 120 int userId = user.getIdentifier(); in testBroadcastReceivedForEnablingApp() 137 mDevicePolicyManager.removeUser(cn, user); in testBroadcastReceivedForEnablingApp()
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | ContactsContract_QuickContactsTest.java | 53 public void startActivityAsUser(Intent intent, UserHandle user) { in testPrioritizedMimeTypeAndExcludedMimeTypes() 57 public void startActivityAsUser(Intent intent, Bundle options, UserHandle user) { in testPrioritizedMimeTypeAndExcludedMimeTypes()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | QuickContactBadgeTest.java | 60 public void startActivityAsUser(Intent intent, UserHandle user) { in testPrioritizedMimetype() 65 public void startActivityAsUser(Intent intent, Bundle options, UserHandle user) { in testPrioritizedMimetype()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | BaseDeviceAdminTest.java | 57 public void onPasswordExpiring(Context context, Intent intent, UserHandle user) { in onPasswordExpiring() argument 58 super.onPasswordExpiring(context, intent, user); in onPasswordExpiring()
|
/cts/hostsidetests/net/src/com/android/cts/net/ |
D | ProcNetTest.java | 105 String user = mDevice.executeAdbCommand("shell", "stat", "-c", "%u", path).trim(); in readIntFromPath() local 108 assertEquals(user, "0"); in readIntFromPath()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8427/ |
D | Android.mk | 30 LOCAL_CFLAGS += -Wno-constant-conversion -Wno-user-defined-warnings
|
/cts/hostsidetests/statsd/ |
D | PROCSTATSQ_PULL.pbtxt | 11 # Normal user should have <1000
|