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

1 2 3

  /packages/services/Telephony/src/com/android/phone/
PhoneApp.java 34 if (UserHandle.myUserId() == 0) {
  /frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
SingleUserReceiver.java 30 res.putInt("user", UserHandle.myUserId());
ServiceUserTarget.java 33 "Service created as user " + UserHandle.myUserId(),
SingleUserService.java 33 "Service created as user " + UserHandle.myUserId(),
UserTarget.java 32 res.putInt("user", UserHandle.myUserId());
SingleUserProvider.java 63 res.putInt("user", UserHandle.myUserId());
  /frameworks/base/core/java/android/app/admin/
DevicePolicyManager.java 142 return mService.isAdminActive(who, UserHandle.myUserId());
158 return mService.getActiveAdmins(UserHandle.myUserId());
174 return mService.packageHasActiveAdmins(packageName, UserHandle.myUserId());
191 mService.removeActiveAdmin(who, UserHandle.myUserId());
210 return mService.hasGrantedPolicy(admin, usesPolicy, UserHandle.myUserId());
302 mService.setPasswordQuality(admin, quality, UserHandle.myUserId());
316 return getPasswordQuality(admin, UserHandle.myUserId());
355 mService.setPasswordMinimumLength(admin, length, UserHandle.myUserId());
369 return getPasswordMinimumLength(admin, UserHandle.myUserId());
409 mService.setPasswordMinimumUpperCase(admin, length, UserHandle.myUserId());
    [all...]
  /frameworks/base/core/java/android/nfc/cardemulation/
CardEmulation.java 198 return sService.isDefaultServiceForCategory(UserHandle.myUserId(), service, category);
207 return sService.isDefaultServiceForCategory(UserHandle.myUserId(), service,
229 return sService.isDefaultServiceForAid(UserHandle.myUserId(), service, aid);
238 return sService.isDefaultServiceForAid(UserHandle.myUserId(), service, aid);
278 return sService.setDefaultServiceForCategory(UserHandle.myUserId(), service, category);
287 return sService.setDefaultServiceForCategory(UserHandle.myUserId(), service,
301 return sService.setDefaultForNextTap(UserHandle.myUserId(), service);
310 return sService.setDefaultForNextTap(UserHandle.myUserId(), service);
323 return sService.getServices(UserHandle.myUserId(), category);
332 return sService.getServices(UserHandle.myUserId(), category)
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/
NfcApplication.java 58 if (UserHandle.myUserId() == 0 && isMainProcess) {
  /frameworks/base/core/tests/coretests/src/android/app/activity/
BroadcastTest.java 308 UserHandle.myUserId());
310 ActivityManagerNative.broadcastStickyIntent(intent, null, UserHandle.myUserId());
322 ActivityManagerNative.broadcastStickyIntent(intent, null, UserHandle.myUserId());
326 UserHandle.myUserId());
337 ActivityManagerNative.broadcastStickyIntent(intent, null, UserHandle.myUserId());
340 ActivityManagerNative.broadcastStickyIntent(intent, null, UserHandle.myUserId());
354 ActivityManagerNative.broadcastStickyIntent(intent, null, UserHandle.myUserId());
364 ActivityManagerNative.broadcastStickyIntent(intent, null, UserHandle.myUserId());
367 ActivityManagerNative.broadcastStickyIntent(intent, null, UserHandle.myUserId());
  /frameworks/base/core/java/android/app/
NotificationManager.java 137 notification, idOut, UserHandle.myUserId());
191 service.cancelNotificationWithTag(pkg, tag, id, UserHandle.myUserId());
220 service.cancelAllNotifications(pkg, UserHandle.myUserId());
PendingIntent.java 268 flags, options, UserHandle.myUserId());
409 UserHandle.myUserId());
468 new UserHandle(UserHandle.myUserId()));
531 flags, null, UserHandle.myUserId());
    [all...]
TaskStackBuilder.java 232 startActivities(options, new UserHandle(UserHandle.myUserId()));
  /packages/apps/Settings/src/com/android/settings/
OwnerInfoSettings.java 61 mUserId = UserHandle.myUserId();
83 if (UserHandle.myUserId() != UserHandle.USER_OWNER) {
112 UserManager.get(getActivity()).setUserName(UserHandle.myUserId(),
  /frameworks/base/services/tests/servicestests/src/com/android/server/content/
ObserverNodeTest.java 38 final int myUserHandle = UserHandle.myUserId();
72 final int myUserHandle = UserHandle.myUserId();
  /packages/apps/Settings/src/com/android/settings/users/
UserSettings.java 135 private boolean mIsOwner = UserHandle.myUserId() == UserHandle.USER_OWNER;
189 mMePreference = new UserPreference(getActivity(), null, UserHandle.myUserId(),
246 onRemoveUserClicked(UserHandle.myUserId());
263 UserInfo user = mUserManager.getUserInfo(UserHandle.myUserId());
279 int myUserId = UserHandle.myUserId();
280 Bitmap b = mUserManager.getUserIcon(myUserId);
283 mUserIcons.put(myUserId, b);
384 } else if (info.id == UserHandle.myUserId()) {
422 .setTitle(UserHandle.myUserId() == mRemovingUserI
    [all...]
ProfileUpdateReceiver.java 54 int userId = UserHandle.myUserId();
UserPreference.java 90 if (mUserId == UserHandle.myUserId()) return Integer.MIN_VALUE;
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
FileItemInfoLayout.java 26 UserHandle.myUserId()).getExternalStorageDirectory().getAbsolutePath().length() + 1;
  /frameworks/base/core/java/android/provider/
Settings.java 910 final boolean isSelf = (userHandle == UserHandle.myUserId());
932 + " by user " + UserHandle.myUserId() + " so skipping cache");
    [all...]
  /packages/providers/MediaProvider/src/com/android/providers/media/
MtpService.java 170 final boolean isCurrentUser = UserHandle.myUserId() == ActivityManager.getCurrentUser();
185 final boolean isCurrentUser = UserHandle.myUserId() == ActivityManager.getCurrentUser();
  /frameworks/base/core/java/android/content/pm/
PackageStats.java 125 userHandle = UserHandle.myUserId();
  /frameworks/base/core/java/android/ddm/
DdmHandleHello.java 138 out.putInt(UserHandle.myUserId());
  /frameworks/base/core/java/android/os/
UserHandle.java 211 public static final int myUserId() {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
UsbResolverActivity.java 101 final int userId = UserHandle.myUserId();

Completed in 904 milliseconds

1 2 3