HomeSort by relevance Sort by last modified time
    Searched defs:UserHandle (Results 1 - 25 of 32) sorted by null

1 2

  /frameworks/base/core/java/android/os/
UserHandle.java 24 public final class UserHandle implements Parcelable {
34 public static final UserHandle ALL = new UserHandle(USER_ALL);
40 public static final UserHandle CURRENT = new UserHandle(USER_CURRENT);
50 public static final UserHandle CURRENT_OR_SELF = new UserHandle(USER_CURRENT_OR_SELF);
59 public static final UserHandle OWNER = new UserHandle(USER_OWNER);
216 public UserHandle(int h)
    [all...]
BatteryStats.java     [all...]
  /frameworks/base/core/java/com/android/internal/view/
RotationPolicy.java 27 import android.os.UserHandle;
78 UserHandle.USER_CURRENT) == 0;
86 Settings.System.ACCELEROMETER_ROTATION, 0, UserHandle.USER_CURRENT) == 0;
97 UserHandle.USER_CURRENT);
125 UserHandle.USER_CURRENT);
149 registerRotationPolicyListener(context, listener, UserHandle.getCallingUserId());
157 RotationPolicyListener listener, int userHandle) {
160 false, listener.mObserver, userHandle);
163 false, listener.mObserver, userHandle);
  /frameworks/base/services/java/com/android/server/location/
LocationBlacklist.java 23 import android.os.UserHandle;
53 private int mCurrentUserId = UserHandle.USER_OWNER;
62 BLACKLIST_CONFIG_NAME), false, this, UserHandle.USER_ALL);
64 // WHITELIST_CONFIG_NAME), false, this, UserHandle.USER_ALL);
  /frameworks/base/core/java/android/ddm/
DdmHandleHello.java 24 import android.os.UserHandle;
138 out.putInt(UserHandle.myUserId());
  /frameworks/base/services/java/com/android/server/am/
ContentProviderRecord.java 28 import android.os.UserHandle;
204 sb.append(UserHandle.getUserId(uid));
BroadcastQueue.java 40 import android.os.UserHandle;
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/cardemulation/
RegisteredServicesCache.java 34 import android.os.UserHandle;
102 if (currentUser == UserHandle.getUserId(uid)) {
103 invalidateCache(UserHandle.getUserId(uid));
123 mContext.registerReceiverAsUser(mReceiver.get(), UserHandle.ALL, intentFilter, null, null);
129 mContext.registerReceiverAsUser(mReceiver.get(), UserHandle.ALL, sdFilter, null, null);
188 new UserHandle(userId)).getPackageManager();
HostEmulationManager.java 37 import android.os.UserHandle;
115 true, observer, UserHandle.USER_ALL);
146 mContext.sendBroadcastAsUser(intent, UserHandle.ALL);
308 Context.BIND_AUTO_CREATE, UserHandle.CURRENT)) {
390 Context.BIND_AUTO_CREATE, new UserHandle(userId))) {
410 mContext.startActivityAsUser(dialogIntent, UserHandle.CURRENT);
422 mContext.startActivityAsUser(intent, UserHandle.CURRENT);
RegisteredAidCache.java 14 import android.os.UserHandle;
107 true, mSettingsObserver, UserHandle.USER_ALL);
487 mContext.startActivityAsUser(intent, UserHandle.CURRENT);
  /frameworks/base/services/java/com/android/server/wm/
Session.java 37 import android.os.UserHandle;
83 sb.append(UserHandle.getUserId(mUid));
85 sb.append(UserHandle.getAppId(mUid));
  /frameworks/base/core/java/android/appwidget/
AppWidgetHost.java 32 import android.os.UserHandle;
69 views.setUser(new UserHandle(userId));
172 updatedViews.get(i).setUser(new UserHandle(userId));
248 if (UserHandle.getAppId(uid) == Process.SYSTEM_UID || uid == 0) {
315 deleteAllHosts(UserHandle.myUserId());
349 views.setUser(new UserHandle(mContext.getUserId()));
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
ServiceMonitor.java 34 import android.os.UserHandle;
174 false /*notifyForDescendents*/, mSettingObserver, UserHandle.USER_ALL);
188 mSettingKey, UserHandle.USER_CURRENT);
  /frameworks/base/policy/src/com/android/internal/policy/impl/
ImmersiveModeConfirmation.java 30 import android.os.UserHandle;
95 UserHandle.USER_CURRENT);
112 UserHandle.USER_CURRENT);
PhoneWindowManager.java 63 import android.os.UserHandle;
518 UserHandle.USER_ALL);
521 UserHandle.USER_ALL);
524 UserHandle.USER_ALL);
527 UserHandle.USER_ALL);
530 UserHandle.USER_ALL);
533 UserHandle.USER_ALL);
536 UserHandle.USER_ALL);
539 UserHandle.USER_ALL);
    [all...]
  /frameworks/base/core/tests/coretests/src/android/content/pm/
AppCacheTest.java 27 import android.os.UserHandle;
573 getPm().getPackageSizeInfo(packageName, UserHandle.myUserId(), observer);
722 UserHandle.myUserId());
751 getPm().clearApplicationUserData(mContext.getPackageName(), null, UserHandle.myUserId());
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
QuickSettingsModel.java 34 import android.os.UserHandle;
158 UserHandle.USER_ALL);
394 UserHandle.USER_CURRENT);
    [all...]
  /frameworks/base/services/java/com/android/server/
AppOpsService.java 43 import android.os.UserHandle;
211 UserHandle.getUserId(ops.uid));
716 UserHandle.getUserId(uid));
    [all...]
DevicePolicyManagerService.java 76 import android.os.UserHandle;
172 public DevicePolicyData(int userHandle) {
173 mUserHandle = userHandle;
185 final int userHandle = intent.getIntExtra(Intent.EXTRA_USER_HANDLE,
190 + action + " for user " + userHandle);
193 handlePasswordExpirationNotification(getUserData(userHandle));
202 removeUserData(userHandle);
211 mUserData.remove(userHandle);
215 handlePackagesChanged(userHandle);
278 public UserHandle getUserHandle()
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/
NetworkPolicyManagerServiceTest.java 73 import android.os.UserHandle;
137 private static final int UID_A = UserHandle.getUid(USER_ID, APP_ID_A);
138 private static final int UID_B = UserHandle.getUid(USER_ID, APP_ID_B);
    [all...]
  /packages/apps/Settings/src/com/android/settings/users/
UserSettings.java 46 import android.os.UserHandle;
135 private boolean mIsOwner = UserHandle.myUserId() == UserHandle.USER_OWNER;
164 int userHandle = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, -1);
165 if (userHandle != -1) {
166 mUserIcons.remove(userHandle);
189 mMePreference = new UserPreference(getActivity(), null, UserHandle.myUserId(),
205 getActivity().registerReceiverAsUser(mUserChangeReceiver, UserHandle.ALL, filter, null,
246 onRemoveUserClicked(UserHandle.myUserId());
263 UserInfo user = mUserManager.getUserInfo(UserHandle.myUserId())
    [all...]
  /packages/apps/Settings/src/com/android/settings/applications/
ManageApplications.java 46 import android.os.UserHandle;
    [all...]
  /frameworks/base/media/java/android/media/
MediaRouter.java 38 import android.os.UserHandle;
164 rebindAsUser(UserHandle.myUserId());
    [all...]
  /frameworks/base/services/java/com/android/server/power/
PowerManagerService.java 56 import android.os.UserHandle;
487 false, mSettingsObserver, UserHandle.USER_ALL);
490 false, mSettingsObserver, UserHandle.USER_ALL);
493 false, mSettingsObserver, UserHandle.USER_ALL);
496 false, mSettingsObserver, UserHandle.USER_ALL);
499 false, mSettingsObserver, UserHandle.USER_ALL);
502 false, mSettingsObserver, UserHandle.USER_ALL);
505 false, mSettingsObserver, UserHandle.USER_ALL);
538 UserHandle.USER_CURRENT) != 0);
542 UserHandle.USER_CURRENT) != 0)
    [all...]
  /frameworks/base/core/java/com/android/internal/app/
ProcessStats.java 23 import android.os.UserHandle;
744 UserHandle.formatUid(pw, proc.mUid);
    [all...]

Completed in 1729 milliseconds

1 2