/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | StorageHostTest.java | 54 for (int user : mUsers) { in setUp() 55 getDevice().executeShellCommand("appops set --user " + user + " " + PKG_STATS in setUp() 76 for (int user : mUsers) { in testVerifyAppStats() 77 runDeviceTests(PKG_A, CLASS, "testAllocate", user); in testVerifyAppStats() 83 for (int user : mUsers) { in testVerifyAppStats() 84 runDeviceTests(PKG_A, CLASS, "testVerifySpaceManual", user); in testVerifyAppStats() 85 runDeviceTests(PKG_A, CLASS, "testVerifySpaceApi", user); in testVerifyAppStats() 91 for (int user : mUsers) { in testVerifyAppQuota() 92 runDeviceTests(PKG_A, CLASS, "testVerifyQuotaApi", user); in testVerifyAppQuota() 98 for (int user : mUsers) { in testVerifyAppAllocate() [all …]
|
D | ExternalStorageHostTest.java | 99 for (int user : mUsers) { in testExternalStorageNone() 100 runDeviceTests(NONE_PKG, COMMON_CLASS, user); in testExternalStorageNone() 101 runDeviceTests(NONE_PKG, NONE_CLASS, user); in testExternalStorageNone() 121 for (int user : mUsers) { in testExternalStorageRead() 122 runDeviceTests(READ_PKG, COMMON_CLASS, user); in testExternalStorageRead() 123 runDeviceTests(READ_PKG, READ_CLASS, user); in testExternalStorageRead() 143 for (int user : mUsers) { in testExternalStorageWrite() 144 runDeviceTests(WRITE_PKG, COMMON_CLASS, user); in testExternalStorageWrite() 145 runDeviceTests(WRITE_PKG, WRITE_CLASS, user); in testExternalStorageWrite() 168 for (int user : mUsers) { in testExternalStorageGifts() [all …]
|
D | Utils.java | 160 for (Integer user : device.listUsers()) { in getAllUsers() 161 if ((user != USER_SYSTEM) && (user != primary)) { in getAllUsers() 163 users[users.length - 1] = user; in getAllUsers()
|
D | DirectBootHostTest.java | 214 for (int user : users) { in runDeviceTests() 215 Log.d(TAG, "runDeviceTests " + testMethodName + " u" + user); in runDeviceTests() 216 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName, user); 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/DeviceOwner/assets/ |
D | generate-client-cert-chain.sh | 61 -keyout user.key.pem \ 64 -out user.csr.pem 73 -in user.csr.pem \ 74 -out user.cert.pem 80 "$WORKDIR"/user.cert.pem \ 83 > user-cert-chain.crt 90 -in "$WORKDIR"/user.key.pem \ 91 -out user-cert-chain.key
|
/cts/hostsidetests/appsecurity/test-apps/StorageStatsApp/src/com/android/cts/storagestatsapp/ |
D | StorageStatsTest.java | 110 final UserHandle user = UserHandle.getUserHandleForUid(uid); in testVerifyStats() local 113 final StorageStats beforeUser = stats.queryStatsForUser(UUID_DEFAULT, user); in testVerifyStats() 118 final StorageStats afterUser = stats.queryStatsForUser(UUID_DEFAULT, user); in testVerifyStats() 167 final UserHandle user = UserHandle.getUserHandleForUid(uid); in testVerifyStatsExternal() local 169 final ExternalStorageStats before = stats.queryExternalStatsForUser(UUID_DEFAULT, user); in testVerifyStatsExternal() 187 final ExternalStorageStats afterInit = stats.queryExternalStatsForUser(UUID_DEFAULT, user); in testVerifyStatsExternal() 198 … final ExternalStorageStats afterRename = stats.queryExternalStatsForUser(UUID_DEFAULT, user); in testVerifyStatsExternal() 213 final UserHandle user = android.os.Process.myUserHandle(); in testVerifyStatsExternalConsistent() local 230 final long statsSize = stats.queryExternalStatsForUser(UUID_DEFAULT, user).getTotalBytes(); in testVerifyStatsExternalConsistent() 248 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 | 134 for (UserHandle user : getContext().getSystemService(UserManager.class).getUserProfiles()) { in getOtherUser() 135 if (user.equals(android.os.Process.myUserHandle())) { in getOtherUser() 138 return user; in getOtherUser()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerLauncherCallbackTest.java | 55 public void onPackageRemoved(String packageName, UserHandle user) { in onPackageRemoved() argument 59 public void onPackageAdded(String packageName, UserHandle user) { in onPackageAdded() argument 63 public void onPackageChanged(String packageName, UserHandle user) { in onPackageChanged() argument 67 public void onPackagesAvailable(String[] packageNames, UserHandle user, boolean replacing) { in onPackagesAvailable() argument 71 public void onPackagesUnavailable(String[] packageNames, UserHandle user, in onPackagesUnavailable() argument 77 String packageName, List<ShortcutInfo> shortcuts, UserHandle user) { in onShortcutsChanged() argument
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | PackageIncidentTest.java | 105 for (PackageServiceDumpProto.SharedUserProto user : dump.getSharedUsersList()) { in testPackageServiceDump() 106 if (user.getUserId() == 1000) { in testPackageServiceDump() 107 systemUser = user; in testPackageServiceDump()
|
/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/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/ |
D | SessionCommitBroadcastTest.java | 116 UserHandle user = mDevicePolicyManager.createAndManageUser(cn, in testBroadcastReceivedForEnablingApp() local 119 int userId = user.getIdentifier(); in testBroadcastReceivedForEnablingApp() 136 mDevicePolicyManager.removeUser(cn, user); in testBroadcastReceivedForEnablingApp()
|
/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/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/hostsidetests/security/src/android/security/cts/ |
D | SELinuxHostTest.java | 942 public String user; field in SELinuxHostTest.ProcessDetails 951 ProcessDetails(String label, String user, int pid, int ppid, String procTitle) { in ProcessDetails() argument 953 this.user = user; in ProcessDetails() 962 + " user: " + user in toString() 984 String user = m.group(2); in createProcMap() local 988 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 | 305 private int sendMessageToCallbacksService(int msg, UserHandle user, String packageName) in sendMessageToCallbacksService() argument 308 params.putParcelable(USER_EXTRA, user); in sendMessageToCallbacksService()
|
/cts/tests/expectations/ |
D | knownfailures.txt | 118 description: "test can only run properly on a user build device when the bug is resolved",
|
/cts/apps/CameraITS/build/scripts/ |
D | gpylint_rcfile | 277 # user ID of the relevant person
|
/cts/tools/dex-tools/dex/ |
D | classes.out.dex | 112788 public static final int user 123375 java.lang.String user 141199 private java.lang.String user 141412 private java.lang.String user
|