Searched defs:userId (Results 1 - 25 of 87) sorted by relevance

1234

/frameworks/base/core/java/android/accounts/
H A DAccountAndUser.java26 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 DIAccountAuthenticatorCache.java42 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 DRegisteredServicesCacheListener.java29 void onServiceChanged(V type, int userId, boolean removed); argument
H A DPackageCleanItem.java24 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 DRegisteredServicesCache.java92 private UserServices<V> findOrCreateUserLocked(int userId) { argument
93 UserServices<V> services = mUserServices.get(userId);
96 mUserServices.put(userId, services);
159 public void invalidateCache(int userId) { argument
161 final UserServices<V> user = findOrCreateUserLocked(userId);
166 public void dump(FileDescriptor fd, PrintWriter fout, String[] args, int userId) { argument
168 final UserServices<V> user = findOrCreateUserLocked(userId);
196 private void notifyListener(final V type, final int userId, final boolean removed) { argument
213 listener2.onServiceChanged(type, userId, removed);
245 public ServiceInfo<V> getServiceInfo(V type, int userId) { argument
260 getAllServices(int userId) argument
292 generateServicesMap(int userId) argument
[all...]
/frameworks/base/services/java/com/android/server/pm/
H A DSharedUserSetting.java27 int userId; field in class:SharedUserSetting
41 + name + "/" + userId + "}";
/frameworks/base/core/java/android/ddm/
H A DDdmHandleAppName.java72 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 DUserManagerTest.java143 private void removeUser(int userId) { argument
145 mUserManager.removeUser(userId);
146 while (mUserManager.getUserInfo(userId) != null) {
/frameworks/base/core/java/android/content/
H A DSyncQueue.java56 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 DSyncOperation.java29 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 DSyncStorageEngineTest.java124 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 DKeyguardUpdateMonitorCallback.java90 void onUserSwitched(int userId) { } argument
101 void onUserRemoved(int userId) { } argument
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
H A DKeyguardUpdateMonitorCallback.java84 void onUserSwitched(int userId) { } argument
95 void onUserRemoved(int userId) { } argument
/frameworks/base/services/java/com/android/server/am/
H A DTaskRecord.java41 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 DReceiverList.java42 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 DGeocoderProxy.java42 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 DLocationProviderInterface.java41 public void switchUser(int userId); argument
H A DLocationBlacklist.java119 public void switchUser(int userId) { argument
121 mCurrentUserId = userId;
H A DPassiveProvider.java100 public void switchUser(int userId) { argument
/frameworks/base/core/java/android/server/search/
H A DSearchManagerService.java82 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 DSearchables.java84 public Searchables (Context context, int userId) { argument
86 mUserId = userId;
/frameworks/base/services/java/com/android/server/dreams/
H A DDreamController.java84 public void startDream(Binder token, ComponentName name, boolean isTest, int userId) { argument
90 Slog.i(TAG, "Starting dream: name=" + name + ", isTest=" + isTest + ", userId=" + userId);
92 mCurrentDream = new DreamRecord(token, name, isTest, userId);
107 Context.BIND_AUTO_CREATE, userId)) {
129 + ", isTest=" + oldDream.mIsTest + ", userId=" + oldDream.mUserId);
207 boolean isTest, int userId) {
211 mUserId = userId;
206 DreamRecord(Binder token, ComponentName name, boolean isTest, int userId) argument
/frameworks/base/cmds/content/src/com/android/commands/content/
H A DContent.java156 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/os/
H A DUserHandle.java126 * 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);
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityManager.java177 * @param userId The user id under which to operate.
179 private static void createSingletonInstance(Context context, int userId) { argument
182 sInstance = new AccessibilityManager(context, service, userId);
190 * @param userId User id under which to run.
194 public AccessibilityManager(Context context, IAccessibilityManager service, int userId) { argument
197 mUserId = userId;
200 final int stateFlags = mService.addClient(mClient, userId);

Completed in 1295 milliseconds

1234