/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | IccCardProxy.java | 30 import android.os.UserHandle; 496 UserHandle.USER_ALL); 515 ActivityManagerNative.broadcastStickyIntent(intent, null, UserHandle.USER_ALL);
|
/frameworks/base/core/java/android/service/notification/ |
H A D | ZenModeConfig.java | 27 import android.os.UserHandle; 123 public int user = UserHandle.USER_OWNER; 851 rt.userId = tryParseInt(conditionId.getQueryParameter("userId"), UserHandle.USER_NULL); 865 public int userId = UserHandle.USER_NULL; // USER_NULL = unspecified - use current user 892 return userId == UserHandle.USER_NULL ? ActivityManager.getCurrentUser() : userId;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiServiceImpl.java | 62 import android.os.UserHandle; 982 int userId = UserHandle.getCallingUserId(); 1061 int userId = UserHandle.getUserId(uid); 1063 int ownerUser = UserHandle.USER_OWNER; 1459 }, UserHandle.ALL, intentFilter, null, null);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | SubscriptionController.java | 32 import android.os.UserHandle; 1350 mContext.sendStickyBroadcastAsUser(intent, UserHandle.ALL); 1381 mContext.sendStickyBroadcastAsUser(intent, UserHandle.ALL); 1465 mContext.sendStickyBroadcastAsUser(intent, UserHandle.ALL); 1495 mContext.sendStickyBroadcastAsUser(intent, UserHandle.ALL);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | InputMethodManagerService.java | 90 import android.os.UserHandle; 858 mMyPackageMonitor.register(mContext, null, UserHandle.ALL, true); 1124 final int userId = UserHandle.getUserId(uid); 1175 new UserHandle(mSettings.getCurrentUserId())); 1814 mImeSwitcherNotification.build(), UserHandle.ALL); 1823 com.android.internal.R.string.select_input_method, UserHandle.ALL); 1870 mContext.sendBroadcastAsUser(intent, UserHandle.CURRENT); 2014 mContext.sendBroadcastAsUser(intent, UserHandle.CURRENT); 3000 mContext.startActivityAsUser(intent, null, UserHandle.CURRENT); 3008 mContext.startActivityAsUser(intent, null, UserHandle [all...] |
/frameworks/base/services/core/java/com/android/server/tv/ |
H A D | TvInputManagerService.java | 73 import android.os.UserHandle; 120 private int mCurrentUserId = UserHandle.USER_OWNER; 260 monitor.register(mContext, null, UserHandle.ALL, true); 275 }, UserHandle.ALL, intentFilter, null, null); 461 UserHandle user = new UserHandle(userId); 559 new UserHandle(userId));
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
H A D | WifiP2pServiceImpl.java | 61 import android.os.UserHandle; 2161 mContext.sendStickyBroadcastAsUser(intent, UserHandle.ALL); 2175 mContext.sendStickyBroadcastAsUser(intent, UserHandle.ALL); 2182 mContext.sendStickyBroadcastAsUser(intent, UserHandle.ALL); 2189 mContext.sendBroadcastAsUser(intent, UserHandle.ALL); 2200 mContext.sendStickyBroadcastAsUser(intent, UserHandle.ALL); 2209 mContext.sendStickyBroadcastAsUser(intent, UserHandle.ALL);
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | Settings.java | 49 import android.os.UserHandle; 370 int pkgFlags, int pkgPrivateFlags, UserHandle user, boolean add) { 569 UserHandle installUser, boolean add, boolean allowInstall) { 659 || (installUserId == UserHandle.USER_ALL 727 if ((installUser.getIdentifier() == UserHandle.USER_ALL 866 return UserHandle.USER_NULL; 871 return UserHandle.USER_NULL; 922 return UserHandle.USER_ALL; 932 return UserHandle.USER_NULL; 1176 if (userId == UserHandle [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Activity.java | 72 import android.os.UserHandle; 3980 public void startActivityForResultAsUser(Intent intent, int requestCode, UserHandle user) { 3988 @Nullable Bundle options, UserHandle user) { 4016 public void startActivityAsUser(Intent intent, UserHandle user) { 4023 public void startActivityAsUser(Intent intent, Bundle options, UserHandle user) { 5104 UserHandle.myUserId());
|
H A D | LoadedApk.java | 40 import android.os.UserHandle; 246 PackageManager.GET_SHARED_LIBRARY_FILES, UserHandle.myUserId()); 418 pi = pm.getPackageInfo(mPackageName, 0, UserHandle.myUserId());
|
H A D | AppOpsManager.java | 30 import android.os.UserHandle; 1288 mService.resetAllModes(UserHandle.myUserId(), null);
|
/frameworks/base/core/java/android/service/voice/ |
H A D | VoiceInteractionSession.java | 40 import android.os.UserHandle; 386 UserHandle.formatUid(sb, mCallingUid); 395 writer.print(" mCallingUid="); UserHandle.formatUid(writer, mCallingUid);
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ChooserActivity.java | 44 import android.os.UserHandle; 415 UserHandle.CURRENT)) { 664 public boolean startAsUser(Activity activity, Bundle options, UserHandle user) {
|
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkStatsService.java | 104 import android.os.UserHandle; 1074 mContext.sendBroadcastAsUser(updatedIntent, UserHandle.ALL, 1144 final int uid = UserHandle.getUid(userId, app.uid);
|
/frameworks/base/core/java/android/content/ |
H A D | Intent.java | 48 import android.os.UserHandle; 2801 * the UserHandle of the profile that was added. Only applications (for example Launchers) 2811 * extra {@link #EXTRA_USER} that specifies the UserHandle of the profile that was removed. 3724 * The UserHandle carried with broadcasts intents related to addition and removal of managed 4335 private int mContentUserHint = UserHandle.USER_CURRENT; 6184 // If mContentUserHint is not UserHandle.USER_CURRENT, the intent has already left a user. 6186 if (mContentUserHint == UserHandle.USER_CURRENT) { 7321 if (mayHaveCopiedUris && mContentUserHint == UserHandle.USER_CURRENT 7322 && other.mContentUserHint != UserHandle.USER_CURRENT) { 7557 if (mContentUserHint != UserHandle [all...] |
/frameworks/base/core/java/android/os/ |
H A D | RecoverySystem.java | 413 context.sendOrderedBroadcastAsUser(intent, UserHandle.OWNER,
|
H A D | BatteryStats.java | 2728 helper.refreshStats(which, UserHandle.USER_ALL); 2767 uid = UserHandle.getUid(bs.userId, 0); 3519 helper.refreshStats(which, UserHandle.USER_ALL); 3558 UserHandle.formatUid(pw, bs.uidObj.getUid()); 3636 UserHandle.formatUid(sb, bs.uidObj.getUid()); 3711 UserHandle.formatUid(sb, timer.mId); 3757 UserHandle.formatUid(pw, uid); 4216 UserHandle.formatUid(pw, wakelockTag.uid); 4239 UserHandle.formatUid(pw, wakelockTag.uid); 4469 UserHandle [all...] |
/frameworks/base/services/core/java/com/android/server/audio/ |
H A D | MediaFocusControl.java | 55 import android.os.UserHandle; 931 mContext.sendOrderedBroadcastAsUser(keyIntent, UserHandle.ALL, 970 mContext.sendOrderedBroadcastAsUser(keyIntent, UserHandle.ALL, 1113 mContext.startActivityAsUser(voiceIntent, UserHandle.CURRENT);
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiControlService.java | 65 import android.os.UserHandle; 495 UserHandle.USER_ALL); 2313 getContext().sendBroadcastAsUser(intent, UserHandle.ALL, 2323 getContext().sendBroadcastAsUser(intent, UserHandle.ALL,
|
/frameworks/base/services/core/java/com/android/server/location/ |
H A D | GpsLocationProvider.java | 67 import android.os.UserHandle; 1421 mContext.sendBroadcastAsUser(intent, UserHandle.ALL); 1462 mContext.sendBroadcastAsUser(intent, UserHandle.ALL); 1504 mContext.sendBroadcastAsUser(intent, UserHandle.ALL);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CDMALTEPhone.java | 29 import android.os.UserHandle;
|
H A D | CdmaServiceStateTracker.java | 36 import android.os.UserHandle; 605 mPhone.getContext().sendStickyBroadcastAsUser(intent, UserHandle.ALL); 1824 mPhone.getContext().sendStickyBroadcastAsUser(intent, UserHandle.ALL); 1839 mPhone.getContext().sendStickyBroadcastAsUser(intent, UserHandle.ALL);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | GsmServiceStateTracker.java | 40 import android.os.UserHandle; 681 mPhone.getContext().sendStickyBroadcastAsUser(intent, UserHandle.ALL); 1929 mPhone.getContext().sendStickyBroadcastAsUser(intent, UserHandle.ALL); 1948 mPhone.getContext().sendStickyBroadcastAsUser(intent, UserHandle.ALL);
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
H A D | BackupManagerService.java | 75 import android.os.UserHandle; 341 sInstance.initialize(UserHandle.USER_OWNER); 937 mContext.sendBroadcastAsUser(intent, UserHandle.OWNER); 1096 mTransportServiceIntent, 0, UserHandle.USER_OWNER); 1957 intent, 0, UserHandle.USER_OWNER); 2007 UserHandle.OWNER); 2857 UserHandle.USER_OWNER); 3402 UserHandle.USER_OWNER); 3466 final UserEnvironment userEnv = new UserEnvironment(UserHandle.USER_OWNER); 3807 AppWidgetBackupBridge.getWidgetParticipants(UserHandle [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | SlidingTab.java | 25 import android.os.UserHandle; 826 UserHandle.USER_CURRENT) != 0;
|