/frameworks/base/core/java/android/content/ |
Context.java | 54 import android.os.UserHandle; [all...] |
/frameworks/base/core/java/android/appwidget/ |
AppWidgetManager.java | 28 import android.os.UserHandle; 223 * The value will be a {@link android.os.UserHandle}. 685 public List<AppWidgetProviderInfo> getInstalledProvidersForProfile(@Nullable UserHandle profile) { 742 UserHandle profile) { [all...] |
/frameworks/base/core/java/android/os/ |
Binder.java | 156 * Return the UserHandle assigned to the process that sent you the 161 * incoming transaction, then its own UserHandle is returned. 163 public static final UserHandle getCallingUserHandle() { 164 return UserHandle.of(UserHandle.getUserId(getCallingUid()));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
KeyguardBottomAreaView.java | 42 import android.os.UserHandle; 359 UserHandle.ALL, filter, null, null); 417 new UserHandle(UserHandle.USER_CURRENT))) { 471 UserHandle.CURRENT.getIdentifier());
|
PhoneStatusBarPolicy.java | 32 import android.os.UserHandle; 206 final AlarmClockInfo alarm = mAlarmManager.getNextAlarmClock(UserHandle.USER_CURRENT); 378 if (userId == UserHandle.USER_CURRENT) {
|
/frameworks/base/services/core/java/com/android/server/ |
MountService.java | 68 import android.os.UserHandle; 181 public void onSwitchUser(int userHandle) { 182 mMountService.mCurrentUserId = userHandle; 186 public void onUnlockUser(int userHandle) { 187 mMountService.onUnlockUser(userHandle); 191 public void onCleanupUser(int userHandle) { 192 mMountService.onCleanupUser(userHandle); 328 private volatile int mCurrentUserId = UserHandle.USER_SYSTEM; 501 this.ownerGid = UserHandle.getSharedAppGid(callingUid); 706 mContext.sendBroadcastAsUser(intent, UserHandle.ALL [all...] |
MmsServiceBroker.java | 37 import android.os.UserHandle; 502 final int callingUserId = UserHandle.getCallingUserId(); 503 if (callingUserId != UserHandle.USER_SYSTEM) {
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
Owners.java | 25 import android.os.UserHandle; 97 private int mDeviceOwnerUserId = UserHandle.USER_NULL; 247 mDeviceOwnerUserId = UserHandle.USER_NULL; 410 mDeviceOwnerUserId = UserHandle.USER_SYSTEM; 622 mDeviceOwnerUserId = UserHandle.USER_SYSTEM; // Set default
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
ActivityTestMain.java | 43 import android.os.UserHandle; 290 sendOrderedBroadcastAsUser(intent, new UserHandle(0), null, 300 sendOrderedBroadcastAsUser(intent, new UserHandle(mSecondUser), null, 319 if (bindServiceAsUser(intent, conn, Context.BIND_AUTO_CREATE, UserHandle.SYSTEM)) { 343 new UserHandle(mSecondUser))) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SmsUsageMonitor.java | 29 import android.os.UserHandle; 584 int appId = UserHandle.getAppId(uid); 590 pkg, 0, UserHandle.getCallingUserId()); 591 if (!UserHandle.isSameApp(ai.uid, uid)) { 602 int appId = UserHandle.getAppId(uid);
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
ProfileOwnerProvisioningService.java | 41 import android.os.UserHandle; 436 UserHandle managedUserHandle = new UserHandle(mManagedProfileOrUserInfo.id); 624 mContext.registerReceiverAsUser(this, new UserHandle(userId), FILTER, null, null); 633 if (intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL) == mUserId) {
|
/packages/apps/Settings/src/com/android/settings/ |
DeviceAdminAdd.java | 45 import android.os.UserHandle; 352 final int userId = UserHandle.myUserId(); 414 mProfileOwnerName, UserHandle.myUserId()); 568 mDeviceAdmin.getComponent(), UserHandle.myUserId()); 633 UserHandle.getUserId(adminInfo.getActivityInfo().applicationInfo.uid));
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
AccessibilitySettings.java | 30 import android.os.UserHandle; 332 mToggleMasterMonoPreference.isChecked() ? 1 : 0, UserHandle.USER_CURRENT); 466 UserHandle.myUserId()); 498 getActivity(), serviceInfo.packageName, UserHandle.myUserId()); 661 0 /* default */, UserHandle.USER_CURRENT) == 1;
|
/packages/apps/Settings/src/com/android/settings/applications/ |
RunningServiceDetails.java | 26 import android.os.UserHandle; 249 } else if (mi.mUserId != UserHandle.myUserId()) { 281 if (isService && mi.mUserId != UserHandle.myUserId()) { 344 if (pi.mUserId != UserHandle.myUserId()) { 405 addServiceDetailsView(null, item, false, item.mUserId != UserHandle.myUserId());
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
AppRestrictionsFragment.java | 40 import android.os.UserHandle; 85 protected UserHandle mUser; 243 mUser = new UserHandle(savedInstanceState.getInt(EXTRA_USER_ID)); 248 mUser = new UserHandle(args.getInt(EXTRA_USER_ID)); [all...] |
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
SmsProvider.java | 34 import android.os.UserHandle; 744 cr.notifyChange(ICC_URI, null, true, UserHandle.USER_ALL); 837 cr.notifyChange(uri, null, true, UserHandle.USER_ALL); 838 cr.notifyChange(MmsSms.CONTENT_URI, null, true, UserHandle.USER_ALL); 840 UserHandle.USER_ALL); [all...] |
/frameworks/base/services/core/java/com/android/server/policy/ |
PhoneWindowManager.java | 101 import android.os.UserHandle; [all...] |
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
ShortcutManagerCtsTestsBase.java | 35 import android.os.UserHandle; 70 private UserHandle mUserHandle; 191 protected UserHandle getUserHandle() {
|
/frameworks/base/core/java/android/accounts/ |
ChooseTypeAndAccountActivity.java | 27 import android.os.UserHandle; 149 .getUserRestrictions(new UserHandle(UserHandle.getUserId(mCallingUid)));
|
/frameworks/base/core/java/android/content/pm/ |
PackageItemInfo.java | 26 import android.os.UserHandle; 100 * If different of UserHandle.USER_NULL, The icon of this item will be the one of that user. 106 showUserIcon = UserHandle.USER_NULL;
|
/frameworks/base/core/java/android/view/accessibility/ |
AccessibilityManager.java | 34 import android.os.UserHandle; 201 userId = UserHandle.USER_CURRENT; 203 userId = UserHandle.myUserId();
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardSecurityContainer.java | 22 import android.os.UserHandle; 275 if (expiringUser != UserHandle.USER_SYSTEM) { 278 } else if (expiringUser != UserHandle.USER_NULL) {
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
NotificationController.java | 37 import android.os.UserHandle; 406 UserHandle.myUserId()); 443 UserHandle.myUserId());
|
/frameworks/base/services/core/java/com/android/server/display/ |
WifiDisplayAdapter.java | 35 import android.os.UserHandle; 142 getContext().registerReceiverAsUser(mBroadcastReceiver, UserHandle.ALL, 428 getContext().sendBroadcastAsUser(intent, UserHandle.ALL);
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
ContentObserverController.java | 25 import android.os.UserHandle; 388 UserHandle.formatUid(pw, js.getSourceUid()); 427 UserHandle.formatUid(pw, inst.mJobStatus.getSourceUid());
|