Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DStorageHostTest.java61 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 …]
DExternalStorageHostTest.java91 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 …]
DUtils.java151 for (Integer user : device.listUsers()) { in getAllUsers()
152 if ((user != USER_SYSTEM) && (user != primary)) { in getAllUsers()
154 users[users.length - 1] = user; in getAllUsers()
DDirectBootHostTest.java210 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/
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/DeviceAndProfileOwner/scripts/
Dgenerate-client-cert-chain.sh65 -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/
DStorageStatsTest.java111 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/
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.java137 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/
DPackageIncidentTest.java107 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/
DShortcutManagerLauncherCallbackTest.java58 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/
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/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/hostsidetests/security/securityPatch/CVE-2016-8427/
DAndroid.mk30 LOCAL_CFLAGS += -Wno-constant-conversion -Wno-user-defined-warnings
/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/tests/app/src/android/app/cts/
DNotificationTest.java309 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/
DSELinuxHostTest.java1229 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/
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.java318 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-9KZYJZ96 + "&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/
DDeviceAndProfileOwnerTransferOutgoingTest.java50 public void onTransferAffiliatedProfileOwnershipComplete(Context context, UserHandle user) { in onTransferAffiliatedProfileOwnershipComplete() argument
/cts/tools/cts-api-coverage/proto/
Dcts_report.proto51 // Build.SECURITY_PATCH The user-visible security patch level. See b/23003940
/cts/apps/CameraITS/build/scripts/
Dgpylint_rcfile277 # user ID of the relevant person