HomeSort by relevance Sort by last modified time
    Searched full:userhandle (Results 76 - 100 of 995) sorted by null

1 2 34 5 6 7 8 91011>>

  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
ProfileSelectDialog.java 27 import android.os.UserHandle;
55 mSelectedTile.userHandle);
64 UserHandle user = mSelectedTile.userHandle.get(which);
  /frameworks/base/services/print/java/com/android/server/print/
RemotePrintServiceRecommendationService.java 29 import android.os.UserHandle;
83 private Intent getServiceIntent(@NonNull UserHandle userHandle) throws Exception {
88 userHandle.getIdentifier());
129 * @param userHandle The user the connection is for
133 @NonNull UserHandle userHandle,
139 Intent serviceIntent = getServiceIntent(userHandle);
143 Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE, userHandle);
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
WifiConfigurationUtilTest.java 24 import android.os.UserHandle;
51 configuration.creatorUid = UserHandle.getUid(OTHER_USER_ID, 0);
59 configuration.creatorUid = UserHandle.getUid(CURRENT_USER_ID, 0);
63 configuration.creatorUid = UserHandle.getUid(CURRENT_USER_MANAGED_PROFILE_USER_ID, 0);
  /packages/apps/Settings/src/com/android/settings/
SetupChooseLockPattern.java 23 import android.os.UserHandle;
37 confirmCredentials, UserHandle.myUserId());
44 context, requirePassword, pattern, UserHandle.myUserId());
51 context, requirePassword, challenge, UserHandle.myUserId());
BrightnessPreference.java 21 import android.os.UserHandle;
34 UserHandle.CURRENT_OR_SELF);
ShowAdminSupportDetailsDialog.java 35 import android.os.UserHandle;
83 EnforcedAdmin admin = new EnforcedAdmin(null, UserHandle.myUserId());
90 admin.userId = intent.getIntExtra(Intent.EXTRA_USER_ID, UserHandle.myUserId());
123 icon, new UserHandle(userId));
147 if (enforcedAdmin.userId == UserHandle.USER_NULL) {
148 enforcedAdmin.userId = UserHandle.myUserId();
151 if (UserHandle.isSameApp(Process.myUid(), Process.SYSTEM_UID)) {
174 new UserHandle(enforcedAdmin.userId));
  /frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DpmMockContext.java 39 import android.os.UserHandle;
74 public static final int CALLER_UID = UserHandle.getUid(CALLER_USER_HANDLE, 20123);
120 public UserHandle getCallingUserHandle() {
121 return new UserHandle(UserHandle.getUserId(getCallingUid()));
175 public int settingsSecureGetIntForUser(String name, int def, int userHandle) {
179 public void settingsSecurePutIntForUser(String name, int value, int userHandle) {
182 public void settingsSecurePutStringForUser(String name, String value, int userHandle) {
185 public void settingsGlobalPutStringForUser(String name, String value, int userHandle) {
310 systemUserDataDir = addUser(UserHandle.USER_SYSTEM, UserInfo.FLAG_PRIMARY)
    [all...]
DevicePolicyManagerTestable.java 19 import android.os.UserHandle;
35 return UserHandle.getUserId(dpms.context.binder.callingUid);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
UserSwitcherController.java 37 import android.os.UserHandle;
101 private int mLastNonGuestUser = UserHandle.USER_SYSTEM;
105 private int mSecondaryUser = UserHandle.USER_NULL;
124 mContext.registerReceiverAsUser(mReceiver, UserHandle.SYSTEM, filter,
132 mContext.registerReceiverAsUser(mReceiver, UserHandle.SYSTEM, filter,
151 refreshUsers(UserHandle.USER_NULL);
164 if (forcePictureLoadForId != UserHandle.USER_NULL) {
172 boolean forceAllUsers = mForcePictureLoadForUserId.get(UserHandle.USER_ALL);
235 UserManager.DISALLOW_ADD_USER, UserHandle.SYSTEM);
238 || currentUserInfo.id == UserHandle.USER_SYSTEM
    [all...]
  /frameworks/base/cmds/settings/src/com/android/commands/settings/
SettingsCmd.java 30 import android.os.UserHandle;
81 mUser = UserHandle.USER_CURRENT;
139 if (mUser == UserHandle.USER_CURRENT) {
143 mUser = UserHandle.USER_SYSTEM;
149 "settings", UserHandle.USER_SYSTEM, token);
191 private List<String> listForUser(IContentProvider provider, int userHandle, String table) {
214 System.err.println("List failed in " + table + " for user " + userHandle);
228 String getForUser(IContentProvider provider, int userHandle,
242 arg.putInt(Settings.CALL_METHOD_USER_KEY, userHandle);
248 System.err.println("Can't read key " + key + " in " + table + " for user " + userHandle);
    [all...]