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

1 2 3 4 5 67 8 91011>>

  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/
SettingsFacade.java 27 import android.os.UserHandle;
230 // mLockPatternUtils.setLockPatternEnabled(true, UserHandle.myUserId());
231 mLockPatternUtils.setLockScreenDisabled(false, UserHandle.myUserId());
234 DevicePolicyManager.PASSWORD_QUALITY_NUMERIC, UserHandle.myUserId());
240 // mLockPatternUtils.setLockPatternEnabled(false, UserHandle.myUserId());
241 mLockPatternUtils.setLockScreenDisabled(true, UserHandle.myUserId());
244 mLockPatternUtils.clearLock(UserHandle.myUserId());
245 mLockPatternUtils.setLockScreenDisabled(true, UserHandle.myUserId());
  /frameworks/base/core/java/android/content/pm/
UserInfo.java 22 import android.os.UserHandle;
95 public static final int NO_PROFILE_GROUP_ID = UserHandle.USER_NULL;
180 return userId == UserHandle.USER_SYSTEM && UserManager.isSplitSystemUser();
201 return (!hideSystemUser || id != UserHandle.USER_SYSTEM) && supportsSwitchTo();
210 return id != UserHandle.USER_SYSTEM;
212 return id == UserHandle.USER_SYSTEM;
234 public UserHandle getUserHandle() {
235 return new UserHandle(id);
  /frameworks/base/docs/html/sdk/api_diff/n-preview-4-incr/changes/
android.content.pm.LauncherApps.html 93 <A NAME="android.content.pm.LauncherApps.getShortcutIconFd_removed(java.lang.String, java.lang.String, android.os.UserHandle)"></A>
94 <nobr><code>ParcelFileDescriptor</code>&nbsp;getShortcutIconFd(<code>String,</nobr> String<nobr>,</nobr> UserHandle<nobr><nobr></code>)</nobr>
100 <A NAME="android.content.pm.LauncherApps.getShortcuts_removed(android.content.pm.LauncherApps.ShortcutQuery, android.os.UserHandle)"></A>
101 <nobr><code>List&lt;ShortcutInfo&gt;</code>&nbsp;getShortcuts(<code>ShortcutQuery,</nobr> UserHandle<nobr><nobr></code>)</nobr>
114 <A NAME="android.content.pm.LauncherApps.pinShortcuts_removed(java.lang.String, java.util.List<java.lang.String>, android.os.UserHandle)"></A>
115 <nobr><code>void</code>&nbsp;pinShortcuts(<code>String,</nobr> List&lt;String&gt;<nobr>,</nobr> UserHandle<nobr><nobr></code>)</nobr>
128 <A NAME="android.content.pm.LauncherApps.startShortcut_removed(java.lang.String, java.lang.String, android.graphics.Rect, android.os.Bundle, android.os.UserHandle)"></A>
129 <nobr><code>boolean</code>&nbsp;startShortcut(<code>String,</nobr> String<nobr>,</nobr> Rect<nobr>,</nobr> Bundle<nobr>,</nobr> UserHandle<nobr><nobr></code>)</nobr>
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/accounts/
AuthenticatorHelper.java 32 import android.os.UserHandle;
43 * {@link OnAccountsUpdateListener#onAccountsUpdate(UserHandle)} will then be
56 private final UserHandle mUserHandle;
62 void onAccountsUpdate(UserHandle userHandle);
65 public AuthenticatorHelper(Context context, UserHandle userHandle,
68 mUserHandle = userHandle;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
RotationLockControllerImpl.java 20 import android.os.UserHandle;
74 UserHandle.USER_ALL);
  /frameworks/base/services/core/java/com/android/server/am/
UidRecord.java 21 import android.os.UserHandle;
64 UserHandle.formatUid(sb, uid);
  /frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
SingleUserProvider.java 24 import android.os.UserHandle;
63 res.putInt("user", UserHandle.myUserId());
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
WifiConfigurationUtil.java 21 import android.os.UserHandle;
41 final int creatorUserId = UserHandle.getUserId(config.creatorUid);
  /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastBackupAgent.java 22 import android.os.UserHandle;
52 sendBroadcastAsUser(intent, UserHandle.SYSTEM);
  /packages/apps/Nfc/src/com/android/nfc/
NfcApplication.java 23 import android.os.UserHandle;
60 if (UserHandle.myUserId() == 0 && isMainProcess) {
RegisteredComponentCache.java 33 import android.os.UserHandle;
75 mContext.registerReceiverAsUser(receiver, UserHandle.ALL, intentFilter, null, null);
80 mContext.registerReceiverAsUser(receiver, UserHandle.ALL, sdFilter, null, null);
84 mContext.registerReceiverAsUser(receiver, UserHandle.ALL, userFilter, null, null);
149 UserHandle currentUser = new UserHandle(ActivityManager.getCurrentUser());
  /packages/apps/Settings/src/com/android/settings/applications/
AppCounter.java 26 import android.os.UserHandle;
44 for (UserInfo user : mUm.getProfiles(UserHandle.myUserId())) {
  /packages/apps/Settings/src/com/android/settings/fingerprint/
SetupFingerprintEnrollFinish.java 21 import android.os.UserHandle;
36 if (mUserId != UserHandle.USER_NULL) {
  /packages/apps/Settings/src/com/android/settings/users/
ProfileUpdateReceiver.java 23 import android.os.UserHandle;
53 int userId = UserHandle.myUserId();
  /packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
PackageDeletionTask.java 21 import android.os.UserHandle;
33 private UserHandle mUser;
  /packages/services/Telecomm/src/com/android/server/telecom/
ServiceBinder.java 24 import android.os.UserHandle;
180 /** {@link UserHandle} to use for binding, to support work profiles and multi-user. */
181 private UserHandle mUserHandle;
209 * @param userHandle The {@link UserHandle} to use for binding.
212 TelecomSystem.SyncRoot lock, UserHandle userHandle) {
220 mUserHandle = userHandle;
TelecomServiceImpl.java 39 import android.os.UserHandle;
124 final UserHandle callingUserHandle = Binder.getCallingUserHandle();
146 final UserHandle callingUserHandle = Binder.getCallingUserHandle();
164 UserHandle callingUserHandle = Binder.getCallingUserHandle();
190 final UserHandle callingUserHandle = Binder.getCallingUserHandle();
216 final UserHandle callingUserHandle = Binder.getCallingUserHandle();
236 final UserHandle callingUserHandle = Binder.getCallingUserHandle();
255 final UserHandle callingUserHandle = Binder.getCallingUserHandle();
295 final UserHandle callingUserHandle = Binder.getCallingUserHandle();
313 final UserHandle callingUserHandle = Binder.getCallingUserHandle()
    [all...]
  /frameworks/base/docs/html/sdk/api_diff/24/changes/
android.os.UserHandle.html 10 android.os.UserHandle
74 Class android.os.<A HREF="../../../../reference/android/os/UserHandle.html" target="_top"><font size="+2"><code>UserHandle</code></font></A>
86 <A NAME="android.os.UserHandle.getUserHandleForUid_added(int)"></A>
87 <nobr><code>UserHandle</code>&nbsp;<A HREF="../../../../reference/android/os/UserHandle.html#getUserHandleForUid(int)" target="_top"><code>getUserHandleForUid</code></A>(<code>int</code>)</nobr>
  /frameworks/base/services/core/java/com/android/server/net/
NetworkStatsAccess.java 31 import android.os.UserHandle;
117 || UserHandle.getAppId(callingUid) == android.os.Process.SYSTEM_UID) {
157 || UserHandle.getUserId(uid) == UserHandle.getUserId(callerUid);
163 || UserHandle.getUserId(uid) == UserHandle.getUserId(callerUid);
  /packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
SendCdmaCmasMessages.java 23 import android.os.UserHandle;
65 activity.sendOrderedBroadcastAsUser(intent, UserHandle.ALL,
79 activity.sendOrderedBroadcastAsUser(intent, UserHandle.ALL,
93 activity.sendOrderedBroadcastAsUser(intent, UserHandle.ALL,
107 activity.sendOrderedBroadcastAsUser(intent, UserHandle.ALL,
121 activity.sendOrderedBroadcastAsUser(intent, UserHandle.ALL,
  /packages/apps/Settings/src/com/android/settings/
RestrictedSettingsFragment.java 28 import android.os.UserHandle;
216 mRestrictionKey, UserHandle.myUserId());
217 if (mEnforcedAdmin != null && mEnforcedAdmin.userId == UserHandle.USER_NULL) {
218 mEnforcedAdmin.userId = UserHandle.myUserId();
255 UserHandle.of(UserHandle.myUserId())) && (mIsAdminUser || !mOnlyAvailableForAdmins);
  /packages/apps/Settings/src/com/android/settings/vpn2/
AppDialogFragment.java 30 import android.os.UserHandle;
165 final UserHandle userHandle = UserHandle.of(getUserId());
166 return mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_VPN, userHandle);
170 return UserHandle.getUserId(mPackageInfo.applicationInfo.uid);
  /packages/services/Car/service/src/com/android/car/
CarProjectionService.java 31 import android.os.UserHandle;
124 UserHandle userHandle = UserHandle.getUserHandleForUid(Binder.getCallingUid());
125 mContext.startServiceAsUser(serviceIntent, userHandle);
126 mContext.bindServiceAsUser(serviceIntent, mConnection, Context.BIND_IMPORTANT, userHandle);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
SecurityFragment.java 35 import android.os.UserHandle;
328 UserHandle.myUserId());
356 return lpu.isLockPasswordEnabled(UserHandle.myUserId())
357 || lpu.isLockPatternEnabled(UserHandle.myUserId());
371 UserManager.get(getActivity()).getUserInfo(UserHandle.myUserId());
374 switchUserNow(UserHandle.USER_SYSTEM);
387 new LockPatternUtils(getActivity()).clearLock(UserHandle.myUserId());
445 UserInfo userInfo = userManager.getUserInfo(UserHandle.myUserId());
450 UserInfo userInfo = userManager.getUserInfo(UserHandle.myUserId());
467 UserInfo.FLAG_RESTRICTED, UserHandle.myUserId())
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
StorageNotification.java 32 import android.os.UserHandle;
94 mNotificationManager.cancelAsUser(fsUuid, PRIVATE_ID, UserHandle.ALL);
122 mNotificationManager.cancelAsUser(null, MOVE_ID, UserHandle.ALL);
193 mNotificationManager.cancelAsUser(fsUuid, PRIVATE_ID, UserHandle.ALL);
215 .build(), UserHandle.ALL);
241 UserHandle.ALL);
245 mNotificationManager.cancelAsUser(disk.getId(), DISK_ID, UserHandle.ALL);
255 mNotificationManager.cancelAsUser(disk.getId(), DISK_ID, UserHandle.ALL);
311 mNotificationManager.notifyAsUser(vol.getId(), PUBLIC_ID, notif, UserHandle.ALL);
313 mNotificationManager.cancelAsUser(vol.getId(), PUBLIC_ID, UserHandle.ALL)
    [all...]

Completed in 1893 milliseconds

1 2 3 4 5 67 8 91011>>