HomeSort by relevance Sort by last modified time
    Searched refs:userId (Results 51 - 75 of 171) sorted by null

1 23 4 5 6 7

  /frameworks/base/services/java/com/android/server/am/
ReceiverList.java 42 public final int userId;
55 userId = _userId;
74 pw.print(" user="); pw.println(userId);
110 sb.append(userId);
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...]
  /frameworks/base/core/java/com/android/internal/policy/
IKeyguardService.aidl 42 oneway void setCurrentUser(int userId);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
UsbConfirmActivity.java 118 final int userId = UserHandle.myUserId();
131 mDevice, mResolveInfo.activityInfo.packageName, userId);
133 service.setDevicePackage(mDevice, null, userId);
144 mAccessory, mResolveInfo.activityInfo.packageName, userId);
146 service.setAccessoryPackage(mAccessory, null, userId);
154 startActivityAsUser(intent, new UserHandle(userId));
  /frameworks/base/policy/src/com/android/internal/policy/impl/
EnableAccessibilityController.java 248 final int userId = ActivityManager.getCurrentUser();
254 enabledServiceString, userId);
258 enabledServiceString, userId);
262 1, userId);
266 1, userId);
269 1, userId);
  /frameworks/base/services/java/com/android/server/dreams/
DreamController.java 97 public void startDream(Binder token, ComponentName name, boolean isTest, int userId) {
103 Slog.i(TAG, "Starting dream: name=" + name + ", isTest=" + isTest + ", userId=" + userId);
105 mCurrentDream = new DreamRecord(token, name, isTest, userId);
120 Context.BIND_AUTO_CREATE, new UserHandle(userId))) {
143 + ", isTest=" + oldDream.mIsTest + ", userId=" + oldDream.mUserId);
224 boolean isTest, int userId) {
228 mUserId = userId;
  /frameworks/base/services/java/com/android/server/pm/
Settings.java 253 s.userId = newUserIdLPw(s);
254 Log.i(PackageManagerService.TAG, "New shared user " + name + ": id=" + s.userId);
255 // < 0 means we couldn't assign a userid; fall out and return
257 if (s.userId >= 0) {
338 if (s.userId == uid) {
346 s.userId = uid;
491 p.appId = sharedUser.userId;
510 int userId = user.id;
512 dis.getDisabledComponents(userId), userId);
    [all...]
PackageManagerService.java 448 public ArrayList<String> get(int userId, String packageName) {
449 HashMap<String, ArrayList<String>> packages = getOrAllocate(userId);
453 public void put(int userId, String packageName, ArrayList<String> components) {
454 HashMap<String, ArrayList<String>> packages = getOrAllocate(userId);
458 public void remove(int userId, String packageName) {
459 HashMap<String, ArrayList<String>> packages = mUidMap.get(userId);
465 public void remove(int userId) {
466 mUidMap.remove(userId);
477 public HashMap<String, ArrayList<String>> packagesForUserId(int userId) {
478 return mUidMap.get(userId);
    [all...]
  /frameworks/base/services/java/com/android/server/accounts/
AccountManagerService.java 181 private final int userId;
199 UserAccounts(Context context, int userId) {
200 this.userId = userId;
202 openHelper = new DatabaseHelper(context, userId);
297 private UserAccounts initUserLocked(int userId) {
298 UserAccounts accounts = mUsers.get(userId);
300 accounts = new UserAccounts(mContext, userId);
301 mUsers.append(userId, accounts);
344 public void validateAccounts(int userId) {
    [all...]
  /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...]
  /packages/apps/Settings/src/com/android/settings/users/
UserSettings.java 78 /** UserId of the user being removed */
80 /** UserId of the user that was just added */
331 private void onRemoveUserClicked(int userId) {
334 mRemovingUserId = userId;
344 int userId = newUserInfo.id;
345 UserHandle user = new UserHandle(userId);
349 Secure.LOCATION_PROVIDERS_ALLOWED, "", userId);
352 userId % UserSettings.USER_DRAWABLES.length]);
353 mUserManager.setUserIcon(userId, bitmap);
374 private void onManageUserClicked(int userId, boolean newUser)
    [all...]
UserPreference.java 47 UserPreference(Context context, AttributeSet attrs, int userId,
56 mUserId = userId;
92 // If the userId is unknown
  /frameworks/base/services/java/com/android/server/
ClipboardService.java 72 final int userId;
82 PerUserClipboard(int userId) {
83 this.userId = userId;
137 private PerUserClipboard getClipboard(int userId) {
139 PerUserClipboard puc = mClipboards.get(userId);
141 puc = new PerUserClipboard(userId);
142 mClipboards.put(userId, puc);
148 private void removeClipboard(int userId) {
150 mClipboards.remove(userId);
    [all...]
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...]
AttributeCache.java 98 public Entry get(String packageName, int resId, int[] styleable, int userId) {
115 new UserHandle(userId));
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...]
  /frameworks/base/core/java/android/app/
IActivityManager.java 66 ParcelFileDescriptor profileFd, Bundle options, int userId) throws RemoteException;
70 ParcelFileDescriptor profileFd, Bundle options, int userId) throws RemoteException;
74 Bundle options, int userId) throws RemoteException;
88 String requiredPermission, int userId) throws RemoteException;
93 int appOp, boolean serialized, boolean sticky, int userId) throws RemoteException;
94 public void unbroadcastIntent(IApplicationThread caller, Intent intent, int userId) throws RemoteException;
110 int flags, int userId) throws RemoteException;
132 String name, int userId, boolean stable) throws RemoteException;
133 public ContentProviderHolder getContentProviderExternal(String name, int userId, IBinder token)
146 String resolvedType, int userId) throws RemoteException
    [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/core/java/android/os/
Environment.java 102 final int userId = UserHandle.myUserId();
103 sCurrentUser = new UserEnvironment(userId);
121 public UserEnvironment(int userId) {
137 // userId burned into them.
138 final String rawUserId = Integer.toString(userId);
165 if (!TextUtils.isEmpty(rawSecondaryStorage) && userId == UserHandle.USER_OWNER) {
294 public static File getUserSystemDirectory(int userId) {
295 return new File(new File(getSystemSecureDirectory(), "users"), Integer.toString(userId));
399 public static File getEmulatedStorageSource(int userId) {
401 return new File(System.getenv(ENV_EMULATED_STORAGE_SOURCE), String.valueOf(userId));
    [all...]
  /external/chromium/chrome/common/extensions/docs/examples/apps/hello-php/
index.php 104 public function checkLicense($userId) {
106 self::APP_ID . '/' . urlencode($userId);
120 $userId = $openid->identity;
133 $userId = $openid->validate() ? $openid->identity : '';
134 $_SESSION['userId'] = $userId;
157 unset($_SESSION['userId']);
180 <?php if (!isset($_SESSION['userId'])): ?>
190 <input type="hidden" id="user_id" name="user_id" value="<?php echo $_SESSION['userId'] ?>" />
234 var userId = form.user_id.value
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-php/
index.php 103 public function checkLicense($userId) {
105 self::APP_ID . '/' . urlencode($userId);
119 $userId = $openid->identity;
132 $userId = $openid->validate() ? $openid->identity : '';
133 $_SESSION['userId'] = $userId;
156 unset($_SESSION['userId']);
179 <?php if (!isset($_SESSION['userId'])): ?>
189 <input type="hidden" id="user_id" name="user_id" value="<?php echo $_SESSION['userId'] ?>" />
233 var userId = form.user_id.value
    [all...]
  /frameworks/base/cmds/am/src/com/android/commands/am/
Am.java 321 int userId;
323 userId = UserHandle.USER_ALL;
325 userId = UserHandle.USER_CURRENT;
327 userId = Integer.parseInt(arg);
329 return userId;
    [all...]
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardService.java 128 public void setCurrentUser(int userId) {
130 mKeyguardViewMediator.setCurrentUser(userId);
  /frameworks/base/services/java/com/android/server/location/
LocationBlacklist.java 119 public void switchUser(int userId) {
121 mCurrentUserId = userId;
  /packages/apps/Nfc/src/com/android/nfc/cardemulation/
HostEmulationManager.java 118 int userId = ActivityManager.getCurrentUser();
121 userId);
124 bindPaymentServiceLocked(userId, serviceComponent);
363 int userId = ActivityManager.getCurrentUser();
364 ComponentName paymentApp = mAidCache.getDefaultServiceForCategory(userId,
367 bindPaymentServiceLocked(userId, paymentApp);
369 unbindPaymentServiceLocked(userId);
375 void unbindPaymentServiceLocked(int userId) {
384 void bindPaymentServiceLocked(int userId, ComponentName service) {
385 unbindPaymentServiceLocked(userId);
    [all...]

Completed in 505 milliseconds

1 23 4 5 6 7