/frameworks/base/tools/layoutlib/bridge/src/android/text/format/ |
DateFormat_Delegate.java | 39 /*package*/ static boolean is24HourFormat(Context context, int userHandle) {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
ItemInfo.java | 23 import android.os.UserHandle; 36 * Intent extra to store the profile. Format: UserHandle 118 UserHandle user; 156 user = (UserHandle) intent.getParcelableExtra(EXTRA_PROFILE);
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
UserManagerCompatVN.java | 22 import android.os.UserHandle;
|
/packages/apps/Nfc/src/com/android/nfc/ |
NfcWifiProtectedSetup.java | 26 import android.os.UserHandle; 83 // hasUserRestriction does not support UserHandle.CURRENT. 84 UserHandle.of(ActivityManager.getCurrentUser()))) { 90 context.startActivityAsUser(configureNetworkIntent, UserHandle.CURRENT);
|
/packages/apps/Settings/src/com/android/settings/ |
SetupChooseLockPattern.java | 25 import android.os.UserHandle; 47 confirmCredentials, UserHandle.myUserId()); 54 context, requirePassword, pattern, UserHandle.myUserId()); 61 context, requirePassword, challenge, UserHandle.myUserId());
|
TrustAgentSettings.java | 27 import android.os.UserHandle; 104 DevicePolicyManager.KEYGUARD_DISABLE_TRUST_AGENTS, UserHandle.myUserId()); 132 UserHandle.myUserId()); 140 UserHandle.myUserId());
|
CredentialStorage.java | 32 import android.os.UserHandle; 207 UserManager.get(this).getCredentialOwnerProfile(UserHandle.myUserId()); 239 if (uid != KeyStore.UID_SELF && !UserHandle.isSameUser(uid, Process.myUid())) { 240 int dstUserId = UserHandle.getUserId(uid); 241 int myUserId = UserHandle.myUserId(); 253 startActivityAsUser(installIntent, new UserHandle(dstUserId)); 343 new LockPatternUtils(CredentialStorage.this).resetKeyStore(UserHandle.myUserId()); 427 if (!UserHandle.isSameApp(launchedFromUid, Process.myUid())) { 431 launchedFromUserId = UserHandle.getUserId(launchedFromUid); 439 if (parentInfo == null || parentInfo.id != UserHandle.myUserId()) [all...] |
/packages/apps/Settings/src/com/android/settings/accounts/ |
AccountPreferenceBase.java | 31 import android.os.UserHandle; 58 protected UserHandle mUserHandle; 77 public void onAccountsUpdate(UserHandle userHandle) {
|
/packages/apps/Settings/src/com/android/settings/applications/ |
AppInfoBase.java | 34 import android.os.UserHandle; 131 mUserId = UserHandle.myUserId(); 224 new UserHandle(UserHandle.getUserId(uid)));
|
AppLaunchSettings.java | 28 import android.os.UserHandle; 102 PackageManager.MATCH_ALL, UserHandle.myUserId()); 142 final int state = mPm.getIntentVerificationStatusAsUser(mPackageName, UserHandle.myUserId()); 166 final int userId = UserHandle.myUserId();
|
/packages/apps/Settings/src/com/android/settings/users/ |
UserDialogs.java | 27 import android.os.UserHandle; 66 } else if (UserHandle.myUserId() == removingUserId) { 95 packageManager.getApplicationIcon(mdmApplicationInfo), new UserHandle(userId)); 100 new UserHandle(userId));
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
ConfigDialogFragment.java | 30 import android.os.UserHandle; 156 conn.setAlwaysOnVpnPackageForUser(UserHandle.myUserId(), null, 177 LegacyVpnInfo connected = mService.getLegacyVpnInfo(UserHandle.myUserId()); 181 UserHandle.myUserId());
|
/frameworks/base/core/java/android/app/ |
TaskStackBuilder.java | 27 import android.os.UserHandle; 216 public void startActivities(Bundle options, UserHandle userHandle) { 222 mSourceContext.startActivitiesAsUser(getIntents(), options, userHandle); 233 startActivities(options, new UserHandle(UserHandle.myUserId())); 282 UserHandle user) {
|
/frameworks/base/services/core/java/com/android/server/am/ |
UserController.java | 74 import android.os.UserHandle; 118 private int mCurrentUserId = UserHandle.USER_SYSTEM; 120 private int mTargetUserId = UserHandle.USER_NULL; 168 final UserState uss = new UserState(UserHandle.SYSTEM); 169 mStartedUsers.put(UserHandle.USER_SYSTEM, uss); 170 mUserLru.add(UserHandle.USER_SYSTEM); 203 if (oldUserId == UserHandle.USER_SYSTEM || oldUserId == mCurrentUserId) { 334 profileUnlockedIntent.putExtra(Intent.EXTRA_USER, UserHandle.of(userId)); 380 if (userId != UserHandle.USER_SYSTEM) { 421 if (userId < 0 || userId == UserHandle.USER_SYSTEM) [all...] |
/frameworks/base/services/core/java/com/android/server/camera/ |
CameraService.java | 178 public void onStartUser(int userHandle) { 182 switchUserLocked(userHandle); 188 public void onSwitchUser(int userHandle) { 190 switchUserLocked(userHandle); 213 private void switchUserLocked(int userHandle) { 214 Set<Integer> currentUserHandles = getEnabledUserHandles(userHandle); 215 mLastUser = userHandle;
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
UsbDebuggingManager.java | 36 import android.os.UserHandle; 351 private boolean startConfirmationActivity(ComponentName componentName, UserHandle userHandle, 358 mContext.startActivityAsUser(intent, userHandle); 370 private boolean startConfirmationService(ComponentName componentName, UserHandle userHandle, 374 if (mContext.startServiceAsUser(intent, userHandle) != null) {
|
UsbService.java | 35 import android.os.UserHandle; 90 /** Map from {@link UserHandle} to {@link UsbSettingsManager} */ 99 settings = new UsbSettingsManager(mContext, new UserHandle(userId)); 122 setCurrentUser(UserHandle.USER_SYSTEM); 234 final int userId = UserHandle.getCallingUserId(); 240 final int userId = UserHandle.getCallingUserId(); 246 final int userId = UserHandle.getCallingUserId(); 253 final int userId = UserHandle.getCallingUserId(); 260 final int userId = UserHandle.getUserId(uid); 267 final int userId = UserHandle.getUserId(uid) [all...] |
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/ |
PermissionApps.java | 28 import android.os.UserHandle; 153 for (UserHandle user : userManager.getUserProfiles()) { 202 UserHandle userHandle = new UserHandle( 203 UserHandle.getUserId(group.getApp().applicationInfo.uid)); 207 userHandle);
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
BroadcastTest.java | 29 import android.os.UserHandle; 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()) [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsHelper.java | 34 import android.os.UserHandle; 73 public String lookup(ContentResolver resolver, String name, int userHandle); 77 public String lookup(ContentResolver resolver, String name, int userHandle) { 78 return Settings.System.getStringForUser(resolver, name, userHandle); 83 public String lookup(ContentResolver resolver, String name, int userHandle) { 84 return Settings.Secure.getStringForUser(resolver, name, userHandle); 89 public String lookup(ContentResolver resolver, String name, int userHandle) { 90 return Settings.Global.getStringForUser(resolver, name, userHandle); 128 oldValue = table.lookup(cr, name, UserHandle.USER_SYSTEM); 170 context.sendBroadcastAsUser(intent, UserHandle.SYSTEM, null) [all...] |
/frameworks/base/services/core/java/com/android/server/storage/ |
DeviceStorageMonitorService.java | 42 import android.os.UserHandle; 472 null, UserHandle.CURRENT); 488 UserHandle.ALL); 489 context.sendStickyBroadcastAsUser(mStorageLowIntent, UserHandle.ALL); 502 mNotificationMgr.cancelAsUser(null, LOW_MEMORY_NOTIFICATION_ID, UserHandle.ALL); 504 context.removeStickyBroadcastAsUser(mStorageLowIntent, UserHandle.ALL); 505 context.sendBroadcastAsUser(mStorageOkIntent, UserHandle.ALL); 513 getContext().sendStickyBroadcastAsUser(mStorageFullIntent, UserHandle.ALL); 521 getContext().removeStickyBroadcastAsUser(mStorageFullIntent, UserHandle.ALL); 522 getContext().sendBroadcastAsUser(mStorageNotFullIntent, UserHandle.ALL) [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
ContextFixture.java | 54 import android.os.UserHandle; 273 public Intent registerReceiverAsUser(BroadcastReceiver receiver, UserHandle user, 306 public void sendBroadcastAsUser(Intent intent, UserHandle user) { 311 public void sendBroadcastAsUser(Intent intent, UserHandle user, 317 public void sendBroadcastAsUser(Intent intent, UserHandle user, 323 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, 336 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, 349 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, 372 public void sendStickyBroadcastAsUser(Intent intent, UserHandle ignored) { 378 public Context createPackageContextAsUser(String packageName, int flags, UserHandle user [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
TileServices.java | 30 import android.os.UserHandle; 243 UserHandle userHandle = getCallingUserHandle(); 245 userHandle.getIdentifier()); 248 ? new StatusBarIcon(userHandle, packageName, icon, 0, 0,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
LockscreenWallpaper.java | 37 import android.os.UserHandle; 60 private UserHandle mSelectedUser; 96 public LoaderResult loadBitmap(int currentUserId, UserHandle selectedUser) { 139 public void setSelectedUser(UserHandle selectedUser) { 167 final UserHandle selectedUser = mSelectedUser;
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
PermissionMonitor.java | 36 import android.os.UserHandle; 82 int user = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL); 108 mContext.registerReceiverAsUser(mIntentReceiver, UserHandle.ALL, intentFilter, null, null); 114 mContext.registerReceiverAsUser(mIntentReceiver, UserHandle.ALL, intentFilter, null, null); 189 list.add(UserHandle.getUid(user, app.getKey()));
|