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

12345

/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;
/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.java94 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/packages/Keyguard/src/com/android/keyguard/
H A DMultiUserAvatarCache.java31 public void clear(int userId) { argument
32 mCache.remove(userId);
35 public Drawable get(int userId) { argument
36 return mCache.get(userId);
39 public void put(int userId, Drawable image) { argument
40 mCache.put(userId, image);
H A DKeyguardUpdateMonitorCallback.java108 void onUserSwitching(int userId) { } argument
113 void onUserSwitchComplete(int userId) { } argument
124 void onUserRemoved(int userId) { } argument
129 void onUserInfoChanged(int userId) { } argument
/frameworks/base/services/java/com/android/server/pm/
H A DSharedUserSetting.java27 int userId; field in class:SharedUserSetting
45 + 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/java/com/android/server/accounts/
H A DIAccountAuthenticatorCache.java43 AuthenticatorDescription type, int userId);
49 int userId);
55 void dump(FileDescriptor fd, PrintWriter fout, String[] args, int userId); argument
66 void invalidateCache(int userId); argument
42 getServiceInfo( AuthenticatorDescription type, int userId) argument
48 getAllServices( int userId) argument
/frameworks/base/services/java/com/android/server/wm/
H A DTask.java29 Task(AppWindowToken wtoken, TaskStack stack, int userId) { argument
33 mUserId = userId;
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserManagerTest.java160 private void removeUser(int userId) { argument
162 mUserManager.removeUser(userId);
163 while (mUserManager.getUserInfo(userId) != null) {
/frameworks/base/services/java/com/android/server/
H A DAttributeCache.java98 public Entry get(String packageName, int resId, int[] styleable, int userId) { argument
115 new UserHandle(userId));
H A DAppWidgetService.java123 public int allocateAppWidgetId(String packageName, int hostId, int userId) argument
125 return getImplForUser(userId).allocateAppWidgetId(packageName, hostId);
129 public int[] getAppWidgetIdsForHost(int hostId, int userId) throws RemoteException { argument
130 return getImplForUser(userId).getAppWidgetIdsForHost(hostId);
134 public void deleteAppWidgetId(int appWidgetId, int userId) throws RemoteException { argument
135 getImplForUser(userId).deleteAppWidgetId(appWidgetId);
139 public void deleteHost(int hostId, int userId) throws RemoteException { argument
140 getImplForUser(userId).deleteHost(hostId);
144 public void deleteAllHosts(int userId) throws RemoteException { argument
145 getImplForUser(userId)
149 bindAppWidgetId(int appWidgetId, ComponentName provider, Bundle options, int userId) argument
155 bindAppWidgetIdIfAllowed( String packageName, int appWidgetId, ComponentName provider, Bundle options, int userId) argument
163 hasBindAppWidgetPermission(String packageName, int userId) argument
169 setBindAppWidgetPermission(String packageName, boolean permission, int userId) argument
175 bindRemoteViewsService(int appWidgetId, Intent intent, IBinder connection, int userId) argument
181 startListening(IAppWidgetHost host, String packageName, int hostId, List<RemoteViews> updatedViews, int userId) argument
186 onUserRemoved(int userId) argument
200 onUserStopping(int userId) argument
211 checkPermission(int userId) argument
222 getImplForUser(int userId) argument
245 getAppWidgetIds(ComponentName provider, int userId) argument
250 getAppWidgetInfo(int appWidgetId, int userId) argument
256 getAppWidgetViews(int appWidgetId, int userId) argument
261 updateAppWidgetOptions(int appWidgetId, Bundle options, int userId) argument
266 getAppWidgetOptions(int appWidgetId, int userId) argument
271 getInstalledProviders(int categoryFilter, int userId) argument
277 notifyAppWidgetViewDataChanged(int[] appWidgetIds, int viewId, int userId) argument
284 partiallyUpdateAppWidgetIds(int[] appWidgetIds, RemoteViews views, int userId) argument
291 stopListening(int hostId, int userId) argument
296 unbindRemoteViewsService(int appWidgetId, Intent intent, int userId) argument
303 updateAppWidgetIds(int[] appWidgetIds, RemoteViews views, int userId) argument
309 updateAppWidgetProvider(ComponentName provider, RemoteViews views, int userId) argument
[all...]
H A DClipboardService.java72 final int userId; field in class:ClipboardService.PerUserClipboard
82 PerUserClipboard(int userId) { argument
83 this.userId = userId;
137 private PerUserClipboard getClipboard(int userId) { argument
139 PerUserClipboard puc = mClipboards.get(userId);
141 puc = new PerUserClipboard(userId);
142 mClipboards.put(userId, puc);
148 private void removeClipboard(int userId) { argument
150 mClipboards.remove(userId);
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DLocationController.java153 private boolean isUserLocationRestricted(int userId) { argument
157 new UserHandle(userId));
/frameworks/base/services/java/com/android/server/am/
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/content/
H A DSyncQueue.java61 public void addPendingOperations(int userId) { argument
63 if (op.userId != userId) continue;
66 op.account, op.userId, op.authority);
68 SyncAdapterType.newKey(op.authority, op.account.type), op.userId);
70 Log.w(TAG, "Missing sync adapter info for authority " + op.authority + ", userId "
71 + op.userId);
75 op.account, op.userId, op.reason, op.syncSource, op.authority, op.extras,
77 mSyncStorageEngine.getDelayUntilTime(op.account, op.userId, op.authority),
125 operation.account, operation.userId, operatio
139 removeUser(int userId) argument
167 onBackoffChanged(Account account, int userId, String providerName, long backoff) argument
190 remove(Account account, int userId, String authority) argument
[all...]
/frameworks/base/services/java/com/android/server/location/
H A DLocationBlacklist.java119 public void switchUser(int userId) { argument
121 mCurrentUserId = userId;
/frameworks/base/services/java/com/android/server/media/
H A DRemoteDisplayProviderWatcher.java59 Callback callback, Handler handler, int userId) {
63 mUserId = userId;
58 RemoteDisplayProviderWatcher(Context context, Callback callback, Handler handler, int userId) argument
/frameworks/base/services/java/com/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...]
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHost.java66 public void updateAppWidget(int appWidgetId, RemoteViews views, int userId) { argument
69 views.setUser(new UserHandle(userId));
71 Message msg = mHandler.obtainMessage(HANDLE_UPDATE, appWidgetId, userId, views);
75 public void providerChanged(int appWidgetId, AppWidgetProviderInfo info, int userId) { argument
80 appWidgetId, userId, info);
84 public void providersChanged(int userId) { argument
85 Message msg = mHandler.obtainMessage(HANDLE_PROVIDERS_CHANGED, userId, 0);
89 public void viewDataChanged(int appWidgetId, int viewId, int userId) { argument
91 appWidgetId, viewId, userId);
157 final int userId
218 allocateAppWidgetIdForPackage(int hostId, int userId, String packageName) argument
277 deleteAppWidgetIdForSystem(int appWidgetId, int userId) argument
322 deleteAllHosts(int userId) argument
402 updateAppWidgetView(int appWidgetId, RemoteViews views, int userId) argument
412 viewDataChanged(int appWidgetId, int viewId, int userId) argument
[all...]
/frameworks/base/core/java/android/os/
H A DUserHandle.java128 * Returns the uid that is composed from the userId and the appId.
131 public static final int getUid(int userId, int appId) { argument
133 return userId * PER_USER_RANGE + (appId % PER_USER_RANGE);
/frameworks/base/core/java/android/print/
H A DPrinterDiscoverySession.java63 PrinterDiscoverySession(IPrintManager printManager, Context context, int userId) { argument
65 mUserId = userId;
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityManager.java167 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) { argument
199 mUserId = userId;
202 final int stateFlags = mService.addClient(mClient, userId);
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardServiceWrapper.java175 public void setCurrentUser(int userId) { argument
177 mService.setCurrentUser(userId);

Completed in 581 milliseconds

12345