/frameworks/base/core/java/android/accounts/ |
AccountAndUser.java | 20 * Used to store the Account and the UserId this account is associated with. 26 public int userId; 28 public AccountAndUser(Account account, int userId) { 30 this.userId = userId; 38 && this.userId == other.userId; 43 return account.hashCode() + userId; 47 return account.toString() + " u" + userId;
|
AccountManagerService.java | 53 import android.os.UserId; 157 private final int userId; 175 UserAccounts(Context context, int userId) { 176 this.userId = userId; 178 openHelper = new DatabaseHelper(context, userId); 248 private UserAccounts initUser(int userId) { 250 UserAccounts accounts = mUsers.get(userId); 252 accounts = new UserAccounts(mContext, userId); 253 mUsers.append(userId, accounts) [all...] |
/frameworks/base/services/java/com/android/server/pm/ |
SharedUserSetting.java | 27 int userId; 41 + name + "/" + userId + "}";
|
UserManager.java | 28 import android.os.UserId; 104 public UserInfo getUser(int userId) { 106 UserInfo info = mUsers.get(userId); 111 public boolean exists(int userId) { 113 return ArrayUtils.contains(mUserIds, userId); 117 public void updateUserName(int userId, String name) { 119 UserInfo info = mUsers.get(userId); 344 int userId = getNextAvailableId(); 345 UserInfo userInfo = new UserInfo(userId, name, flags); 346 File userPath = new File(mBaseUserPath, Integer.toString(userId)); [all...] |
Settings.java | 51 import android.os.UserId; 230 s.userId = newUserIdLPw(s); 231 Log.i(PackageManagerService.TAG, "New shared user " + name + ": id=" + s.userId); 232 // < 0 means we couldn't assign a userid; fall out and return 234 if (s.userId >= 0) { 315 if (s.userId == uid) { 323 s.userId = uid; 446 p.appId = sharedUser.userId; 465 int userId = user.id; 467 new HashSet<String>(dis.getDisabledComponents(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...] |
/frameworks/base/core/java/android/content/ |
SyncOperation.java | 29 public final int userId; 42 public SyncOperation(Account account, int userId, int source, String authority, Bundle extras, 45 this.userId = userId; 80 this.userId = other.userId; 130 sb.append(" account {name=" + account.name + ", user=" + userId + ", type=" + account.type
|
ContentService.java | 29 import android.os.UserId; 171 int userId = UserId.getCallingUserId(); 210 syncManager.scheduleLocalSync(null /* all accounts */, userId, 239 int userId = UserId.getCallingUserId(); 247 syncManager.scheduleSync(account, userId, authority, extras, 0 /* no delay */, 262 int userId = UserId.getCallingUserId(); 270 syncManager.clearScheduledSyncOperations(account, userId, authority) [all...] |
SyncManager.java | 55 import android.os.UserId; 176 cancelActiveSync(null /* any account */, UserId.USER_ALL, 197 scheduleSync(null /* account */, UserId.USER_ALL, null /* authority */, 221 private boolean containsAccountAndUser(AccountAndUser[] accounts, Account account, int userId) { 224 if (accounts[i].userId == userId 258 currentSyncContext.mSyncOperation.userId)) { 285 scheduleSync(null, UserId.USER_ALL, null, null, 0 /* no delay */, 352 public void onSyncRequest(Account account, int userId, String authority, 354 scheduleSync(account, userId, authority, extras, 0, false) [all...] |
SyncStorageEngine.java | 147 final int userId; 156 PendingOperation(Account account, int userId, int source, 159 this.userId = userId; 169 this.userId = other.userId; 190 final int userId; 208 userId = toCopy.userId; 223 AuthorityInfo(Account account, int userId, String authority, int ident) [all...] |
/frameworks/base/services/java/com/android/server/am/ |
ProviderMap.java | 23 import android.os.UserId; 61 ContentProviderRecord getProviderByName(String name, int userId) { 72 return getProvidersByName(userId).get(name); 79 ContentProviderRecord getProviderByClass(ComponentName name, int userId) { 90 return getProvidersByClass(userId).get(name); 101 final int userId = UserId.getUserId(record.appInfo.uid); 102 getProvidersByName(userId).put(name, record); 114 final int userId = UserId.getUserId(record.appInfo.uid) [all...] |
TaskRecord.java | 22 import android.os.UserId; 41 int userId; // user for which this task was created 104 userId = UserId.getUserId(info.applicationInfo.uid); 109 if (numActivities != 0 || rootWasReset || userId != 0) { 112 pw.print(" userId="); pw.println(userId); 171 sb.append(userId);
|
ServiceRecord.java | 34 import android.os.UserId; 65 final int userId; // user that this service is running as 299 userId = UserId.getUserId(appInfo.uid);
|
ProcessRecord.java | 33 import android.os.UserId; 51 final int userId; // user of process. 157 pw.print(prefix); pw.print("user #"); pw.print(userId); 311 userId = UserId.getUserId(_uid); 389 sb.append(userId); 394 sb.append(UserId.getAppId(uid) - Process.FIRST_ISOLATED_UID);
|
ActivityRecord.java | 40 import android.os.UserId; 62 final int userId; // Which user is this running for? 136 pw.print(" userId="); pw.println(userId); 324 userId = UserId.getUserId(aInfo.applicationInfo.uid); [all...] |
/frameworks/base/services/java/com/android/server/ |
ClipboardService.java | 39 import android.os.UserId; 59 final int userId; 69 PerUserClipboard(int userId) { 70 this.userId = userId; 118 return getClipboard(UserId.getCallingUserId()); 121 private PerUserClipboard getClipboard(int userId) { 123 Slog.i(TAG, "Got clipboard for user=" + userId); 124 PerUserClipboard puc = mClipboards.get(userId); 126 puc = new PerUserClipboard(userId); [all...] |
AppWidgetService.java | 239 public void onUserRemoved(int userId) { 240 AppWidgetServiceImpl impl = mAppWidgetServices.get(userId); 241 if (userId < 1) return; 244 AppWidgetServiceImpl.getSettingsFile(userId).delete(); 251 final int userId = Binder.getOrigCallingUser(); 252 AppWidgetServiceImpl service = mAppWidgetServices.get(userId); 256 service = new AppWidgetServiceImpl(mContext, userId); 260 mAppWidgetServices.append(userId, service);
|
WallpaperManagerService.java | 50 import android.os.UserId; 110 super(getWallpaperDir(wallpaper.userId).getAbsolutePath(), 112 mWallpaperDir = getWallpaperDir(wallpaper.userId); 157 int userId; 202 WallpaperData(int userId) { 203 this.userId = userId; 204 wallpaperFile = new File(getWallpaperDir(userId), WALLPAPER); 245 && mWallpaper.userId == mCurrentUserId) { 247 clearWallpaperLocked(true, mWallpaper.userId); [all...] |
AppWidgetServiceImpl.java | 45 import android.os.UserId; 181 AppWidgetServiceImpl(Context context, int userId) { 185 mUserId = userId; 576 if (!UserId.isSameApp(callingUid, getUidForPackage(packageName))) { 648 int userId = UserId.getUserId(id.provider.uid); 654 mContext.bindService(intent, conn, Context.BIND_AUTO_CREATE, userId); 739 int userId = UserId.getUserId(id.provider.uid); 744 mContext.bindService(intent, conn, Context.BIND_AUTO_CREATE, userId); [all...] |
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/ |
ContactManager.java | 575 final long userId = rawContact.getServerContactId(); 580 final long profileId = lookupProfile(resolver, userId); 589 values.put(StatusUpdates.IM_HANDLE, userId); [all...] |
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
Pm.java | [all...] |
/frameworks/base/core/java/android/app/ |
ApplicationPackageManager.java | 53 import android.os.UserId; 72 PackageInfo pi = mPM.getPackageInfo(packageName, flags, UserId.myUserId()); 202 ApplicationInfo ai = mPM.getApplicationInfo(packageName, flags, UserId.myUserId()); 217 ActivityInfo ai = mPM.getActivityInfo(className, flags, UserId.myUserId()); 232 ActivityInfo ai = mPM.getReceiverInfo(className, flags, UserId.myUserId()); 247 ServiceInfo si = mPM.getServiceInfo(className, flags, UserId.myUserId()); 262 ProviderInfo pi = mPM.getProviderInfo(className, flags, UserId.myUserId()); 401 throw new NameNotFoundException("No shared userid for user:"+sharedUserName); 427 int userId = UserId.getUserId(Process.myUid()) [all...] |
ContextImpl.java | 86 import android.os.UserId; [all...] |
ActivityManagerNative.java | 317 int userId = data.readInt(); 320 serialized, sticky, userId); 332 int userId = data.readInt(); 333 unbroadcastIntent(app, intent, userId); 726 int userId = data.readInt(); 728 int res = bindService(app, token, service, resolvedType, conn, fl, userId); 1537 int userid = data.readInt(); local [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
LockPatternUtils.java | 37 import android.os.UserId; 218 public void setCurrentUser(int userId) { 220 mCurrentUserId = userId; 234 public void removeUser(int userId) { 237 getLockSettings().removeUser(userId); 239 Log.e(TAG, "Couldn't remove lock settings for user " + userId); 249 return UserId.getUserId(callingUid); 260 int userId = getCurrentOrCallingUserId(); 262 return getLockSettings().checkPattern(patternToHash(pattern), userId); 275 int userId = getCurrentOrCallingUserId() [all...] |