/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | StorageHostTest.java | 61 for (int user : mUsers) { in setUp() 62 getDevice().executeShellCommand("appops set --user " + user + " " + PKG_STATS in setUp() 85 for (int user : mUsers) { in testVerifyAppStats() 86 runDeviceTests(PKG_A, CLASS, "testAllocate", user); in testVerifyAppStats() 95 for (int user : mUsers) { in testVerifyAppStats() 96 runDeviceTests(PKG_A, CLASS, "testVerifySpaceManual", user); in testVerifyAppStats() 97 runDeviceTests(PKG_A, CLASS, "testVerifySpaceApi", user); in testVerifyAppStats() 104 for (int user : mUsers) { in testVerifyAppQuota() 105 runDeviceTests(PKG_A, CLASS, "testVerifyQuotaApi", user); in testVerifyAppQuota() 112 for (int user : mUsers) { in testVerifyAppAllocate() [all …]
|
D | ExternalStorageHostTest.java | 91 for (int user : mUsers) { in testExternalStorageNone() 92 runDeviceTests(NONE_PKG, COMMON_CLASS, user); in testExternalStorageNone() 93 runDeviceTests(NONE_PKG, NONE_CLASS, user); in testExternalStorageNone() 115 for (int user : mUsers) { in testExternalStorageRead() 116 runDeviceTests(READ_PKG, COMMON_CLASS, user); in testExternalStorageRead() 117 runDeviceTests(READ_PKG, READ_CLASS, user); in testExternalStorageRead() 139 for (int user : mUsers) { in testExternalStorageWrite() 140 runDeviceTests(WRITE_PKG, COMMON_CLASS, user); in testExternalStorageWrite() 141 runDeviceTests(WRITE_PKG, WRITE_CLASS, user); in testExternalStorageWrite() 166 for (int user : mUsers) { in testExternalStorageGifts() [all …]
|
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()
|
D | DirectBootHostTest.java | 210 for (int user : users) { in runDeviceTests() 211 Log.d(TAG, "runDeviceTests " + testMethodName + " u" + user); in runDeviceTests() 212 runDeviceTests(getDevice(), packageName, testClassName, testMethodName, user, null); in runDeviceTests() local
|
/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/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 | 137 for (UserHandle user : getContext().getSystemService(UserManager.class).getUserProfiles()) { in getOtherUser() 138 if (user.equals(android.os.Process.myUserHandle())) { in getOtherUser() 141 return user; in getOtherUser()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | PackageIncidentTest.java | 107 for (PackageServiceDumpProto.SharedUserProto user : dump.getSharedUsersList()) { in verifyPackageServiceDumpProto() 108 if (user.getUserId() == 1000) { in verifyPackageServiceDumpProto() 109 systemUser = user; in verifyPackageServiceDumpProto()
|
/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/tests/tests/provider/src/android/provider/cts/contacts/ |
D | ContactsContract_QuickContactsTest.java | 54 public void startActivityAsUser(Intent intent, UserHandle user) { in testPrioritizedMimeTypeAndExcludedMimeTypes() 59 public void startActivityAsUser(Intent intent, Bundle options, UserHandle user) { in testPrioritizedMimeTypeAndExcludedMimeTypes()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | QuickContactBadgeTest.java | 59 public void startActivityAsUser(Intent intent, UserHandle user) { in testPrioritizedMimetype() 64 public void startActivityAsUser(Intent intent, Bundle options, UserHandle user) { in testPrioritizedMimetype()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-8427/ |
D | Android.mk | 30 LOCAL_CFLAGS += -Wno-constant-conversion -Wno-user-defined-warnings
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | HttpAuthHandlerTest.java | 74 ProceedHttpAuthClient(int maxAuthAttempts, String user, String password) { in ProceedHttpAuthClient() argument 77 mUser = user; in ProceedHttpAuthClient()
|
/cts/tests/app/src/android/app/cts/ |
D | NotificationTest.java | 309 Person user = new Person.Builder() 316 Notification.MessagingStyle messagingStyle = new Notification.MessagingStyle(user) 414 Person user = new Person.Builder().setName("Test name").build(); 416 MessagingStyle messagingStyle = new MessagingStyle(user); 418 assertEquals(user, messagingStyle.getUser());
|
/cts/hostsidetests/security/src/android/security/cts/ |
D | SELinuxHostTest.java | 1229 public String user; field in SELinuxHostTest.ProcessDetails 1238 ProcessDetails(String label, String user, int pid, int ppid, String procTitle) { in ProcessDetails() argument 1240 this.user = user; in ProcessDetails() 1249 + " user: " + user in toString() 1271 String user = m.group(2); in createProcMap() local 1275 ProcessDetails proc = new ProcessDetails(domainLabel, user, pid, ppid, procTitle); in createProcMap()
|
/cts/tools/dasm/src/java_cup/ |
D | parser.cup | 22 the various pieces of user code embedded in the grammar (i.e., the 264 /* save the user included code string */ 276 /* save the user included code string */ 288 /* save the user code */ 300 /* save the user code */
|
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/ |
D | LauncherAppsTests.java | 318 private int sendMessageToCallbacksService(int msg, UserHandle user, String packageName) in sendMessageToCallbacksService() argument 321 params.putParcelable(USER_EXTRA, user); in sendMessageToCallbacksService()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | .goutputstream-9KZYJZ | 96 + "&fmt=13&user=android-device-test", 176, 144); 100 + "&fmt=13&user=android-device-test", 176, 144); 105 + "&fmt=17&user=android-device-test", 176, 144); 109 + "&fmt=17&user=android-device-test", 176, 144); 114 + "&fmt=18&user=android-device-test", 480, 270); 118 + "&fmt=18&user=android-device-test", 480, 270);
|
/cts/hostsidetests/devicepolicy/app/TransferOwnerOutgoingApp/src/com/android/cts/transferowner/ |
D | DeviceAndProfileOwnerTransferOutgoingTest.java | 50 public void onTransferAffiliatedProfileOwnershipComplete(Context context, UserHandle user) { in onTransferAffiliatedProfileOwnershipComplete() argument
|
/cts/tools/cts-api-coverage/proto/ |
D | cts_report.proto | 51 // Build.SECURITY_PATCH The user-visible security patch level. See b/23003940
|
/cts/apps/CameraITS/build/scripts/ |
D | gpylint_rcfile | 277 # user ID of the relevant person
|