/frameworks/base/core/java/android/accounts/ |
H A D | AccountAndUser.java | 26 public int userId; field in class:AccountAndUser 28 public AccountAndUser(Account account, int userId) { argument 30 this.userId = userId; 38 && this.userId == other.userId; 43 return account.hashCode() + userId; 47 return account.toString() + " u" + userId;
|
H A D | IAccountAuthenticatorCache.java | 42 AuthenticatorDescription type, int userId); 48 int userId); 54 void dump(FileDescriptor fd, PrintWriter fout, String[] args, int userId); argument 65 void invalidateCache(int userId); argument 41 getServiceInfo( AuthenticatorDescription type, int userId) argument 47 getAllServices( int userId) argument
|
/frameworks/base/core/java/android/content/pm/ |
H A D | RegisteredServicesCacheListener.java | 29 void onServiceChanged(V type, int userId, boolean removed); argument
|
H A D | PackageCleanItem.java | 24 public final int userId; field in class:PackageCleanItem 28 public PackageCleanItem(int userId, String packageName, boolean andCode) { argument 29 this.userId = userId; 42 return userId == other.userId && packageName.equals(other.packageName) 53 result = 31 * result + userId; 64 dest.writeInt(userId); 81 userId = source.readInt();
|
H A D | RegisteredServicesCache.java | 94 private UserServices<V> findOrCreateUserLocked(int userId) { argument 95 UserServices<V> services = mUserServices.get(userId); 98 mUserServices.put(userId, services); 161 public void invalidateCache(int userId) { argument 163 final UserServices<V> user = findOrCreateUserLocked(userId); 168 public void dump(FileDescriptor fd, PrintWriter fout, String[] args, int userId) { argument 170 final UserServices<V> user = findOrCreateUserLocked(userId); 198 private void notifyListener(final V type, final int userId, final boolean removed) { argument 215 listener2.onServiceChanged(type, userId, removed); 247 public ServiceInfo<V> getServiceInfo(V type, int userId) { argument 262 getAllServices(int userId) argument 294 generateServicesMap(int userId) argument [all...] |
/frameworks/base/services/java/com/android/server/pm/ |
H A D | SharedUserSetting.java | 27 int userId; field in class:SharedUserSetting 41 + name + "/" + userId + "}";
|
/frameworks/base/core/java/android/ddm/ |
H A D | DdmHandleAppName.java | 72 public static void setAppName(String name, int userId) { argument 79 sendAPNM(name, userId); 89 private static void sendAPNM(String appName, int userId) { argument 96 + 4 /* userId */); 100 out.putInt(userId);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | UserManagerTest.java | 143 private void removeUser(int userId) { argument 145 mUserManager.removeUser(userId); 146 while (mUserManager.getUserInfo(userId) != null) {
|
/frameworks/base/core/java/android/content/ |
H A D | SyncQueue.java | 56 public void addPendingOperations(int userId) { argument 58 if (op.userId != userId) continue; 61 op.account, op.userId, op.authority); 63 SyncAdapterType.newKey(op.authority, op.account.type), op.userId); 65 Log.w(TAG, "Missing sync adapter info for authority " + op.authority + ", userId " 66 + op.userId); 70 op.account, op.userId, op.syncSource, op.authority, op.extras, 0 /* delay */, 72 mSyncStorageEngine.getDelayUntilTime(op.account, op.userId, op.authority), 115 operation.account, operation.userId, operatio 129 removeUser(int userId) argument 157 onBackoffChanged(Account account, int userId, String providerName, long backoff) argument 180 remove(Account account, int userId, String authority) argument [all...] |
H A D | SyncOperation.java | 29 public final int userId; field in class:SyncOperation 42 public SyncOperation(Account account, int userId, int source, String authority, Bundle extras, argument 45 this.userId = userId; 80 this.userId = other.userId; 101 .append(userId).append(" (") 135 sb.append(" account {name=" + account.name + ", user=" + userId + ", type=" + account.type
|
/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | SyncStorageEngineTest.java | 124 private void removePeriodicSyncs(SyncStorageEngine engine, Account account, int userId, argument 126 engine.setIsSyncable(account, userId, authority, 128 List<PeriodicSync> syncs = engine.getPeriodicSyncs(account, userId, authority); 130 engine.removePeriodicSync(sync.account, userId, sync.authority, sync.extras);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardUpdateMonitorCallback.java | 90 void onUserSwitched(int userId) { } argument 101 void onUserRemoved(int userId) { } argument
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/ |
H A D | KeyguardUpdateMonitorCallback.java | 84 void onUserSwitched(int userId) { } argument 95 void onUserRemoved(int userId) { } argument
|
/frameworks/base/services/java/com/android/server/ |
H A D | AttributeCache.java | 100 public void removeUser(int userId) { argument 102 mPackages.remove(userId); 106 public Entry get(int userId, String packageName, int resId, int[] styleable) { argument 108 WeakHashMap<String, Package> packages = mPackages.get(userId); 111 mPackages.put(userId, packages); 128 new UserHandle(userId));
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | TaskRecord.java | 41 int userId; // user for which this task was created field in class:TaskRecord 104 userId = UserHandle.getUserId(info.applicationInfo.uid); 109 if (numActivities != 0 || rootWasReset || userId != 0) { 112 pw.print(" userId="); pw.println(userId); 171 sb.append(userId);
|
H A D | ReceiverList.java | 42 public final int userId; field in class:ReceiverList 55 userId = _userId; 74 pw.print(" user="); pw.println(userId); 110 sb.append(userId);
|
/frameworks/base/services/java/com/android/server/location/ |
H A D | GeocoderProxy.java | 42 List<String> initialPackageNames, int userId) { 43 GeocoderProxy proxy = new GeocoderProxy(context, initialPackageNames, userId); 51 public GeocoderProxy(Context context, List<String> initialPackageNames, int userId) { argument 55 null, null, userId); 41 createAndBind(Context context, List<String> initialPackageNames, int userId) argument
|
H A D | LocationProviderInterface.java | 41 public void switchUser(int userId); argument
|
H A D | LocationBlacklist.java | 119 public void switchUser(int userId) { argument 121 mCurrentUserId = userId;
|
H A D | PassiveProvider.java | 100 public void switchUser(int userId) { argument
|
/frameworks/base/core/java/android/server/search/ |
H A D | SearchManagerService.java | 82 private Searchables getSearchables(int userId) { argument 86 .getUserInfo(userId) != null; 92 Searchables searchables = mSearchables.get(userId); 95 //Log.i(TAG, "Building list of searchable activities for userId=" + userId); 96 searchables = new Searchables(mContext, userId); 98 mSearchables.append(userId, searchables); 104 private void onUserRemoved(int userId) { argument 105 if (userId != UserHandle.USER_OWNER) { 107 mSearchables.remove(userId); [all...] |
H A D | Searchables.java | 84 public Searchables (Context context, int userId) { argument 86 mUserId = userId;
|
/frameworks/base/cmds/content/src/com/android/commands/content/ |
H A D | Content.java | 156 int userId = UserHandle.USER_OWNER; 162 userId = Integer.parseInt(argumentValueRequired(argument)); 177 return new InsertCommand(uri, userId, values); 182 int userId = UserHandle.USER_OWNER; 188 userId = Integer.parseInt(argumentValueRequired(argument)); 199 return new DeleteCommand(uri, userId, where); 204 int userId = UserHandle.USER_OWNER; 211 userId = Integer.parseInt(argumentValueRequired(argument)); 228 return new UpdateCommand(uri, userId, values, where); 233 int userId 318 Command(Uri uri, int userId) argument 354 InsertCommand(Uri uri, int userId, ContentValues contentValues) argument 368 DeleteCommand(Uri uri, int userId, String where) argument 383 QueryCommand( Uri uri, int userId, String[] projection, String where, String sortOrder) argument 447 UpdateCommand(Uri uri, int userId, ContentValues contentValues, String where) argument [all...] |
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetHost.java | 148 public void setUserId(int userId) { argument 149 mUser = new UserHandle(userId); 174 public void startListeningAsUser(int userId) { argument 183 mCallbacks, mPackageName, mHostId, updatedViews, userId); 192 updatedViews.get(i).setUser(new UserHandle(userId)); 216 public void stopListeningAsUser(int userId) { argument 218 sService.stopListeningAsUser(mHostId, userId);
|
/frameworks/base/core/java/android/os/ |
H A D | UserHandle.java | 126 * Returns the uid that is composed from the userId and the appId. 129 public static final int getUid(int userId, int appId) { argument 131 return userId * PER_USER_RANGE + (appId % PER_USER_RANGE);
|