/frameworks/base/core/java/android/net/ |
UidRange.java | 19 import static android.os.UserHandle.PER_USER_RANGE;
|
/frameworks/base/core/java/android/text/format/ |
DateFormat.java | 20 import android.os.UserHandle; 168 return is24HourFormat(context, UserHandle.myUserId()); 174 * @param userHandle the user handle of the user to query. 179 public static boolean is24HourFormat(Context context, int userHandle) { 181 Settings.System.TIME_12_24, userHandle); 267 return getTimeFormatString(context, UserHandle.myUserId()); 274 * @param userHandle the user handle of the user to query the format for 277 public static String getTimeFormatString(Context context, int userHandle) { 279 return is24HourFormat(context, userHandle) ? d.timeFormat_Hm : d.timeFormat_hm;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/ |
DataCollector.java | 28 import android.os.UserHandle; 88 UserHandle.USER_ALL); 93 UserHandle.USER_ALL); 98 UserHandle.USER_ALL);
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
JobStatus.java | 26 import android.os.UserHandle; 146 this.sourceUserId = UserHandle.getUserId(callingUid); 256 UserHandle.formatUid(pw, callingUid); 282 return UserHandle.getUserId(callingUid); 428 return filterUid == -1 || UserHandle.getAppId(getUid()) == filterUid 429 || UserHandle.getAppId(getSourceUid()) == filterUid; 524 UserHandle.formatUid(sb, callingUid); 579 pw.print(prefix); UserHandle.formatUid(pw, callingUid); 582 pw.print("Source: uid="); UserHandle.formatUid(pw, getSourceUid());
|
/frameworks/base/services/core/java/com/android/server/media/ |
MediaSessionStack.java | 25 import android.os.UserHandle; 289 UserHandle.USER_ALL); 316 * @param userIdList The user to get sessions for. {@link UserHandle#USER_ALL} 327 boolean filterUser = !userIdList.contains(UserHandle.USER_ALL);
|
/frameworks/base/services/core/java/com/android/server/policy/keyguard/ |
KeyguardServiceDelegate.java | 14 import android.os.UserHandle; 62 currentUser = UserHandle.USER_NULL; 135 Context.BIND_AUTO_CREATE, mScrimHandler, UserHandle.SYSTEM)) { 161 if (mKeyguardState.currentUser != UserHandle.USER_NULL) {
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
VoiceInteractionManagerServiceImpl.java | 35 import android.os.UserHandle; 114 int userHandle, ComponentName service) { 118 mUser = userHandle; 305 Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE, new UserHandle(mUser));
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiNotificationController.java | 34 import android.os.UserHandle; 255 .getPendingIntent(0, 0, null, UserHandle.CURRENT)) 271 mNotificationBuilder.build(), UserHandle.ALL); 273 notificationManager.cancelAsUser(null, ICON_NETWORKS_AVAILABLE, UserHandle.ALL);
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
DeviceOwnerProvisioningService.java | 31 import android.os.UserHandle; 266 UserHandle.myUserId(), leaveAllSystemAppsEnabled, 283 UserHandle.myUserId(), UserManager.isSplitSystemUser()); 356 mParams.accountToMigrate, UserHandle.SYSTEM,
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
ChooseAccountActivity.java | 33 import android.os.UserHandle; 58 * An extra {@link UserHandle} can be specified in the intent as {@link EXTRA_USER}, if the user for 72 // The UserHandle of the user we are choosing an account for 73 private UserHandle mUserHandle;
|
/packages/apps/Settings/src/com/android/settings/applications/ |
AppStateOverlayBridge.java | 67 super(permissionState.packageName, permissionState.userHandle);
|
AppStateUsageBridge.java | 58 super(permissionState.packageName, permissionState.userHandle);
|
AppStateWriteSettingsBridge.java | 68 super(permissionState.packageName, permissionState.userHandle);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
UserUtils.java | 23 import android.os.UserHandle;
|
/frameworks/base/services/core/java/com/android/server/notification/ |
NotificationManagerService.java | 101 import android.os.UserHandle; 697 UserHandle.USER_ALL); 723 changeUserId != UserHandle.USER_ALL ? changeUserId : 724 UserHandle.USER_SYSTEM); [all...] |
ZenModeHelper.java | 50 import android.os.UserHandle; 101 private int mUser = UserHandle.USER_SYSTEM; 121 mConfigs.put(UserHandle.USER_SYSTEM, mConfig); 138 public boolean matchesCallFilter(UserHandle userHandle, Bundle extras, 141 return ZenModeFiltering.matchesCallFilter(mContext, mZenMode, mConfig, userHandle, 202 if (user < UserHandle.USER_SYSTEM) return; 212 if (mUser == user || user < UserHandle.USER_SYSTEM) return; 420 UserHandle.getCallingUserId()); 536 if (config.user != UserHandle.USER_SYSTEM) [all...] |
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
WallpaperManagerService.java | 70 import android.os.UserHandle; 135 mService.switchUser(UserHandle.USER_SYSTEM, null); 140 public void onUnlockUser(int userHandle) { 141 mService.onUnlockUser(userHandle); [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
DatabaseHelper.java | 39 import android.os.UserHandle; 110 static String dbNameForUser(final int userHandle) { 112 if (userHandle == UserHandle.USER_SYSTEM) { 118 Environment.getUserSystemDirectory(userHandle), DATABASE_NAME); 129 public DatabaseHelper(Context context, int userHandle) { 130 super(context, dbNameForUser(userHandle), null, DATABASE_VERSION); 132 mUserHandle = userHandle; 208 if (mUserHandle == UserHandle.USER_SYSTEM) { [all...] |
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
Pm.java | 56 import android.os.UserHandle; 273 return displayPackageFilePath(args[1], UserHandle.USER_SYSTEM); 433 int userId = UserHandle.USER_ALL; 496 params.userId = UserHandle.parseUserArg(nextOptionData()); 521 if (userId == UserHandle.USER_ALL) { 522 userId = UserHandle.USER_SYSTEM; 648 int userId = UserHandle.USER_SYSTEM; 702 int userId = UserHandle.USER_SYSTEM; 786 int userId = UserHandle.USER_SYSTEM; [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
BridgeContext.java | 79 import android.os.UserHandle; [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
ActivityManagerService.java | 190 import android.os.UserHandle; 688 public final int userHandle; [all...] |
/development/apps/Development/src/com/android/development/ |
InstrumentationList.java | 28 import android.os.UserHandle; 159 UserHandle.myUserId(), null);
|
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/ |
AppListFragment.java | 25 import android.os.UserHandle; 60 for (UserHandle user : mUserManager.getUserProfiles()) {
|
/frameworks/base/core/java/android/app/ |
ActivityManagerInternal.java | 92 * @param userId ID of the user or {@link android.os.UserHandle#USER_ALL} 150 public abstract void killForegroundAppsForUser(int userHandle);
|
/frameworks/base/core/java/android/content/pm/ |
AppsQueryHelper.java | 23 import android.os.UserHandle; 77 public List<String> queryApps(int flags, boolean systemAppsOnly, UserHandle user) {
|