Home
last modified time | relevance | path

Searched refs:user (Results 1 – 22 of 22) sorted by relevance

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DStorageHostTest.java54 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 …]
DExternalStorageHostTest.java99 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 …]
DUtils.java160 for (Integer user : device.listUsers()) { in getAllUsers()
161 if ((user != USER_SYSTEM) && (user != primary)) { in getAllUsers()
163 users[users.length - 1] = user; in getAllUsers()
DDirectBootHostTest.java214 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/
DLauncherCallbackTestsService.java172 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/
Dgenerate-client-cert-chain.sh61 -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/
DStorageStatsTest.java110 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/
DREADME3 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/
DShortcutManagerSecondaryUserTest.java39 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()
DShortcutManagerManagedUserTest.java134 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/
DShortcutManagerLauncherCallbackTest.java55 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/
DPackageIncidentTest.java105 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/
DContactsContract_QuickContactsTest.java54 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/
DSessionCommitBroadcastTest.java116 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/
DQuickContactBadgeTest.java59 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/
DHttpAuthHandlerTest.java74 ProceedHttpAuthClient(int maxAuthAttempts, String user, String password) { in ProceedHttpAuthClient() argument
77 mUser = user; in ProceedHttpAuthClient()
/cts/hostsidetests/security/src/android/security/cts/
DSELinuxHostTest.java942 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/
Dparser.cup22 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/
DLauncherAppsTests.java305 private int sendMessageToCallbacksService(int msg, UserHandle user, String packageName) in sendMessageToCallbacksService() argument
308 params.putParcelable(USER_EXTRA, user); in sendMessageToCallbacksService()
/cts/tests/expectations/
Dknownfailures.txt118 description: "test can only run properly on a user build device when the bug is resolved",
/cts/apps/CameraITS/build/scripts/
Dgpylint_rcfile277 # user ID of the relevant person
/cts/tools/dex-tools/dex/
Dclasses.out.dex112788 public static final int user
123375 java.lang.String user
141199 private java.lang.String user
141412 private java.lang.String user