/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
UsbPermissionActivity.java | 130 final int userId = UserHandle.getUserId(mUid); 131 service.setDevicePackage(mDevice, mPackageName, userId); 140 final int userId = UserHandle.getUserId(mUid); 141 service.setAccessoryPackage(mAccessory, mPackageName, userId);
|
/frameworks/base/services/java/com/android/server/accessibility/ |
AccessibilityManagerService.java | 205 private UserState getUserStateLocked(int userId) { 206 UserState state = mUserStates.get(userId); 208 state = new UserState(userId); 209 mUserStates.put(userId, state); 260 final int userId = getChangingUserId(); 261 if (userId != mCurrentUserId) { 264 UserState userState = getUserStateLocked(userId); 274 userState.mEnabledServices, userId); 280 userState.mTouchExplorationGrantedServices, userId); 295 final int userId = getChangingUserId() [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/test/data/ |
msg_04.txt | 3 Received: by mail.python.org (Postfix, from userid 889)
|
msg_14.txt | 3 Received: by mail.zzz.org (Postfix, from userid 889)
|
msg_29.txt | 3 Received: by mail.zzz.org (Postfix, from userid 889)
|
msg_44.txt | 3 Received: by mail.python.org (Postfix, from userid 889)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/test/data/ |
msg_04.txt | 3 Received: by mail.python.org (Postfix, from userid 889)
|
msg_14.txt | 3 Received: by mail.zzz.org (Postfix, from userid 889)
|
msg_29.txt | 3 Received: by mail.zzz.org (Postfix, from userid 889)
|
msg_44.txt | 3 Received: by mail.python.org (Postfix, from userid 889)
|
/frameworks/base/test-runner/src/android/test/mock/ |
MockPackageManager.java | 160 public List<PackageInfo> getInstalledPackages(int flags, int userId) { 236 public ResolveInfo resolveActivityAsUser(Intent intent, int flags, int userId) { 248 int flags, int userId) { 265 public List<ResolveInfo> queryBroadcastReceivers(Intent intent, int flags, int userId) { 281 public List<ResolveInfo> queryIntentServicesAsUser(Intent intent, int flags, int userId) { 288 Intent intent, int flags, int userId) { 405 public Resources getResourcesForApplicationAsUser(String appPackageName, int userId) {
|
/packages/apps/Settings/src/com/android/settings/ |
NotificationStation.java | 247 private Resources getResourcesForUserPackage(String pkg, int userId) { 252 if (userId == UserHandle.USER_ALL) { 253 userId = UserHandle.USER_OWNER; 255 r = mPm.getResourcesForApplicationAsUser(pkg, userId); 266 private Drawable loadPackageIconDrawable(String pkg, int userId) { 286 private Drawable loadIconDrawable(String pkg, int userId, int resId) { 287 Resources r = getResourcesForUserPackage(pkg, userId);
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardFaceUnlockView.java | 263 public void onUserSwitching(int userId) { 264 if (DEBUG) Log.d(TAG, "onUserSwitched(" + userId + ")"); 269 // mLockPatternUtils.setCurrentUser(userId); 273 public void onUserSwitchComplete(int userId) { 274 if (DEBUG) Log.d(TAG, "onUserSwitchComplete(" + userId + ")");
|
KeyguardService.java | 128 public void setCurrentUser(int userId) { 130 mKeyguardViewMediator.setCurrentUser(userId);
|
/frameworks/native/cmds/installd/ |
utils.c | 56 * a certain userid. Returns 0 on success, and -1 on failure. 61 userid_t userid) 65 if (userid == 0) { 70 userid_len = snprintf(NULL, 0, "%d", userid); 86 if (userid != 0) { 87 int ret = snprintf(dst, dst_size, "%d/", userid); 102 * Create the path name for user data for a certain userid. 106 userid_t userid) 110 if (userid == 0) { 115 userid_len = snprintf(NULL, 0, "%d/", userid); [all...] |
commands.c | 111 int uninstall(const char *pkgname, userid_t userid) 115 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, userid)) 176 int delete_user_data(const char *pkgname, userid_t userid) 180 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, userid)) 187 int make_user_data(const char *pkgname, uid_t uid, userid_t userid) 195 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, userid)) { 198 if (create_pkg_path(libsymlink, pkgname, PKG_LIB_POSTFIX, userid)) { 265 int delete_user(userid_t userid) 268 if (create_user_path(data_path, userid)) { 276 if (create_user_media_path(media_path, userid) == -1) [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
LockPatternUtils.java | 251 public void setCurrentUser(int userId) { 252 sCurrentUserId = userId; 267 public void removeUser(int userId) { 269 getLockSettings().removeUser(userId); 271 Log.e(TAG, "Couldn't remove lock settings for user " + userId); 292 final int userId = getCurrentOrCallingUserId(); 294 return getLockSettings().checkPattern(patternToString(pattern), userId); 307 final int userId = getCurrentOrCallingUserId(); 309 return getLockSettings().checkPassword(password, userId); 525 public void setOwnerInfo(String info, int userId) { [all...] |
/frameworks/base/services/java/com/android/server/ |
IntentResolver.java | 206 boolean defaultOnly, ArrayList<F[]> listCut, int userId) { 217 resolvedType, scheme, listCut.get(i), resultList, userId); 224 int userId) { 234 + " defaultOnly=" + defaultOnly + " userId=" + userId + " of " + intent); 298 resolvedType, scheme, firstTypeCut, finalList, userId); 302 resolvedType, scheme, secondTypeCut, finalList, userId); 306 resolvedType, scheme, thirdTypeCut, finalList, userId); 310 resolvedType, scheme, schemeCut, finalList, userId); 337 protected boolean isFilterStopped(F filter, int userId) { [all...] |
TextServicesManagerService.java | 88 int userId = UserHandle.USER_OWNER; 109 userId = ActivityManagerNative.getDefault().getCurrentUser().id; 115 mSettings = new TextServicesSettings(context.getContentResolver(), userId); 118 switchUserLocked(userId); 121 private void switchUserLocked(int userId) { 122 mSettings.setCurrentUserId(userId); 139 final int userId = getChangingUserId(); 140 final boolean retval = userId == mSettings.getCurrentUserId(); 142 Slog.d(TAG, "--- ignore this call back from a background user: " + userId); 222 final int userId = UserHandle.getUserId(uid) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_rfc822.py | 18 'To: "last, first" <userid@foo.net>\n\ntest\n') 19 self.assertTrue(msg.get("to") == '"last, first" <userid@foo.net>') 20 self.assertTrue(msg.get("TO") == '"last, first" <userid@foo.net>') 27 'To: "last, first" <userid@foo.net>\n\ntest\n') 161 'To: "last, first" <userid@foo.net>\n' 164 [('last, first', 'userid@foo.net')])
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_rfc822.py | 18 'To: "last, first" <userid@foo.net>\n\ntest\n') 19 self.assertTrue(msg.get("to") == '"last, first" <userid@foo.net>') 20 self.assertTrue(msg.get("TO") == '"last, first" <userid@foo.net>') 27 'To: "last, first" <userid@foo.net>\n\ntest\n') 161 'To: "last, first" <userid@foo.net>\n' 164 [('last, first', 'userid@foo.net')])
|
/frameworks/base/services/java/com/android/server/am/ |
ActiveServices.java | 171 ServiceMap(Looper looper, int userId) { 173 mUserId = userId; 278 int callingPid, int callingUid, int userId) { 299 callingPid, callingUid, userId, true, callerFg); 319 final ServiceMap smap = getServiceMap(r.userId); 321 if (!callerFg && r.app == null && mAm.mStartedUsers.get(r.userId) != null) { 377 Slog.v(TAG, "Not potential delay (user " + r.userId + " not started): " + r); 442 String resolvedType, int userId) { 456 Binder.getCallingPid(), Binder.getCallingUid(), userId, false, false); 548 final int userId = UserHandle.getCallingUserId() [all...] |
ActivityManagerService.java | 656 protected BroadcastFilter newResult(BroadcastFilter filter, int match, int userId) { 657 if (userId == UserHandle.USER_ALL || filter.owningUserId == UserHandle.USER_ALL 658 || userId == filter.owningUserId) { 659 return super.newResult(filter, match, userId); [all...] |
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
TestHelper_Driver4.java | 96 "Userid and/or password not supplied"); 101 "Userid and/or password not valid");
|
/frameworks/base/core/java/android/view/accessibility/ |
AccessibilityManager.java | 167 final int userId; 175 userId = UserHandle.USER_CURRENT; 177 userId = UserHandle.myUserId(); 181 sInstance = new AccessibilityManager(context, service, userId); 192 * @param userId User id under which to run. 196 public AccessibilityManager(Context context, IAccessibilityManager service, int userId) { 199 mUserId = userId; 202 final int stateFlags = mService.addClient(mClient, userId);
|