HomeSort by relevance Sort by last modified time
    Searched refs:getUserId (Results 1 - 25 of 81) sorted by null

1 2 3 4

  /development/samples/SampleSyncAdapter/tests/src/com/example/android/samplesync/client/
UserTest.java 34 assertEquals(1, user.getUserId());
50 assertEquals(1, user.getUserId());
  /frameworks/base/core/java/android/appwidget/
AppWidgetManager.java 378 sService.updateAppWidgetIds(appWidgetIds, views, mContext.getUserId());
398 sService.updateAppWidgetOptions(appWidgetId, options, mContext.getUserId());
418 return sService.getAppWidgetOptions(appWidgetId, mContext.getUserId());
474 sService.partiallyUpdateAppWidgetIds(appWidgetIds, views, mContext.getUserId());
523 sService.updateAppWidgetProvider(provider, views, mContext.getUserId());
539 sService.notifyAppWidgetViewDataChanged(appWidgetIds, viewId, mContext.getUserId());
574 mContext.getUserId());
602 mContext.getUserId());
635 sService.bindAppWidgetId(appWidgetId, provider, null, mContext.getUserId());
659 sService.bindAppWidgetId(appWidgetId, provider, options, mContext.getUserId());
    [all...]
AppWidgetHost.java 157 final int userId = mContext.getUserId();
184 sService.stopListening(mHostId, mContext.getUserId());
205 return sService.allocateAppWidgetId(mPackageName, mHostId, mContext.getUserId());
240 return sService.getAppWidgetIdsForHost(mHostId, mContext.getUserId());
265 sService.deleteAppWidgetId(appWidgetId, mContext.getUserId());
299 sService.deleteHost(mHostId, mContext.getUserId());
337 final int userId = mContext.getUserId();
349 views.setUser(new UserHandle(mContext.getUserId()));
  /frameworks/base/core/java/android/os/
UserHandle.java 75 return getUserId(uid1) == getUserId(uid2);
114 public static final int getUserId(int uid) {
124 return getUserId(Binder.getCallingUid());
166 sb.append(getUserId(uid));
191 pw.print(getUserId(uid));
212 return getUserId(Process.myUid());
Binder.java 90 return new UserHandle(UserHandle.getUserId(getCallingUid()));
Process.java 690 return new UserHandle(UserHandle.getUserId(myUid()));
    [all...]
  /libcore/luni/src/main/java/java/net/
Socks4Message.java 110 public String getUserId() {
133 buf.append(getUserId());
  /frameworks/base/core/java/android/app/
ApplicationPackageManager.java 74 PackageInfo pi = mPM.getPackageInfo(packageName, flags, mContext.getUserId());
219 ApplicationInfo ai = mPM.getApplicationInfo(packageName, flags, mContext.getUserId());
234 ActivityInfo ai = mPM.getActivityInfo(className, flags, mContext.getUserId());
249 ActivityInfo ai = mPM.getReceiverInfo(className, flags, mContext.getUserId());
264 ServiceInfo si = mPM.getServiceInfo(className, flags, mContext.getUserId());
279 ProviderInfo pi = mPM.getProviderInfo(className, flags, mContext.getUserId());
424 return getInstalledPackages(flags, mContext.getUserId());
442 final int userId = mContext.getUserId();
455 final int userId = mContext.getUserId();
466 return resolveActivityAsUser(intent, flags, mContext.getUserId());
    [all...]
ContextImpl.java     [all...]
PendingIntent.java     [all...]
  /packages/apps/Settings/src/com/android/settings/users/
UserPreference.java 101 public int getUserId() {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
UsbPermissionActivity.java 130 final int userId = UserHandle.getUserId(mUid);
140 final int userId = UserHandle.getUserId(mUid);
  /frameworks/base/core/java/android/service/notification/
StatusBarNotification.java 173 public int getUserId() {
  /packages/apps/Settings/src/com/android/settings/location/
RecentLocationApps.java 114 if (!isAndroidOs && ActivityManager.getCurrentUser() == UserHandle.getUserId(uid)) {
  /frameworks/base/services/java/com/android/server/usb/
UsbService.java 202 final int userId = UserHandle.getUserId(uid);
209 final int userId = UserHandle.getUserId(uid);
  /packages/apps/Nfc/src/com/android/nfc/cardemulation/
RegisteredServicesCache.java 102 if (currentUser == UserHandle.getUserId(uid)) {
103 invalidateCache(UserHandle.getUserId(uid));
  /frameworks/base/services/java/com/android/server/
NotificationManagerService.java 233 final int nid = sbn.getUserId();
326 && (userId == UserHandle.USER_ALL || nr.getUserId() == userId)) {
464 cancelAllNotificationsInt(pkg, 0, 0, true, UserHandle.getUserId(uid));
    [all...]
LocationManagerService.java     [all...]
  /frameworks/base/services/java/com/android/server/am/
ProviderMap.java 105 final int userId = UserHandle.getUserId(record.appInfo.uid);
118 final int userId = UserHandle.getUserId(record.appInfo.uid);
ContentProviderRecord.java 204 sb.append(UserHandle.getUserId(uid));
UriPermission.java 87 this.userHandle = UserHandle.getUserId(targetUid);
BroadcastQueue.java     [all...]
  /frameworks/base/core/java/android/content/
IntentSender.java 274 return uid > 0 ? new UserHandle(UserHandle.getUserId(uid)) : null;
ContextWrapper.java 649 public int getUserId() {
650 return mBase.getUserId();
  /frameworks/base/core/java/android/content/pm/
RegisteredServicesCache.java 148 generateServicesMap(UserHandle.getUserId(uid));
508 final int userId = UserHandle.getUserId(uid);

Completed in 416 milliseconds

1 2 3 4