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

1 2 3 4 5 6 7 891011>>

  /packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/task/
DisallowAddUserTaskTest.java 21 import android.os.UserHandle;
53 private UserInfo systemUser = new UserInfo(UserHandle.USER_SYSTEM, "System", 0 /* flags */);
65 when(mockUserManager.hasUserRestriction(anyString(), any(UserHandle.class)))
  /packages/apps/Settings/src/com/android/settings/
ActiveNetworkScorerDialog.java 26 import android.os.UserHandle;
74 if (UserHandle.myUserId() != UserHandle.USER_SYSTEM) {
RemoteBugreportActivity.java 25 import android.os.UserHandle;
89 UserHandle.SYSTEM, android.Manifest.permission.DUMP);
100 UserHandle.SYSTEM, android.Manifest.permission.DUMP);
  /packages/apps/Settings/src/com/android/settings/applications/
ResetAppsHelper.java 32 import android.os.UserHandle;
133 mIPm.resetApplicationPreferences(UserHandle.myUserId());
142 if (UserHandle.getUserId(uid) == currentUserId) {
  /packages/apps/Settings/src/com/android/settings/dashboard/conditional/
HotspotCondition.java 25 import android.os.UserHandle;
85 UserManager.DISALLOW_CONFIG_TETHERING, UserHandle.myUserId())) {
102 UserManager.DISALLOW_CONFIG_TETHERING, UserHandle.myUserId());
  /packages/apps/Settings/src/com/android/settings/fingerprint/
FingerprintEnrollBase.java 23 import android.os.UserHandle;
56 mUserId = getIntent().getIntExtra(Intent.EXTRA_USER_ID, UserHandle.myUserId());
118 if (mUserId != UserHandle.USER_NULL) {
FingerprintEnrollSidecar.java 26 import android.os.UserHandle;
60 mUserId = activity.getIntent().getIntExtra(Intent.EXTRA_USER_ID, UserHandle.USER_NULL);
83 if (mUserId != UserHandle.USER_NULL) {
  /packages/apps/Settings/src/com/android/settings/nfc/
AndroidBeam.java 23 import android.os.UserHandle;
70 getActivity(), UserManager.DISALLOW_OUTGOING_BEAM, UserHandle.myUserId());
73 UserManager.DISALLOW_OUTGOING_BEAM, UserHandle.myUserId());
  /packages/apps/Settings/src/com/android/settings/notification/
ZenModeVoiceActivity.java 24 import android.os.UserHandle;
56 condition = ZenModeConfig.toTimeCondition(this, minutes, UserHandle.myUserId());
111 String skeleton = DateFormat.is24HourFormat(this, UserHandle.myUserId()) ? "Hm" : "hma";
  /packages/apps/Settings/src/com/android/settings/vpn2/
AppPreference.java 23 import android.os.UserHandle;
94 UserHandle user = UserHandle.of(mUserId);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
RestrictedProfilePinDialogFragment.java 24 import android.os.UserHandle;
109 UserInfo myUserInfo = UserManager.get(getActivity()).getUserInfo(UserHandle.myUserId());
130 UserInfo myUserInfo = UserManager.get(getActivity()).getUserInfo(UserHandle.myUserId());
  /packages/services/Telephony/sip/src/com/android/services/telephony/sip/
SipBroadcastReceiver.java 24 import android.os.UserHandle;
94 return UserHandle.myUserId() == UserHandle.USER_SYSTEM;
  /frameworks/base/cmds/telecom/src/com/android/commands/telecom/
Telecom.java 26 import android.os.UserHandle;
199 UserHandle userHandle;
202 userHandle = UserHandle.of(mUserManager.getUserHandle(userSn));
206 return new PhoneAccountHandle(component, accountId, userHandle);
  /frameworks/base/docs/html/sdk/api_diff/24/changes/
android.content.pm.LauncherApps.Callback.html 86 <A NAME="android.content.pm.LauncherApps.Callback.onPackagesSuspended_added(java.lang.String[], android.os.UserHandle)"></A>
87 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/content/pm/LauncherApps.Callback.html#onPackagesSuspended(java.lang.String[], android.os.UserHandle)" target="_top"><code>onPackagesSuspended</code></A>(<code>String[],</nobr> UserHandle<nobr><nobr></code>)</nobr>
93 <A NAME="android.content.pm.LauncherApps.Callback.onPackagesUnsuspended_added(java.lang.String[], android.os.UserHandle)"></A>
94 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/content/pm/LauncherApps.Callback.html#onPackagesUnsuspended(java.lang.String[], android.os.UserHandle)" target="_top"><code>onPackagesUnsuspended</code></A>(<code>String[],</nobr> UserHandle<nobr><nobr></code>)</nobr>
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
SecurityControllerImpl.java 33 import android.os.UserHandle;
136 return getNameForVpnConfig(cfg, new UserHandle(mVpnUserId));
150 return getNameForVpnConfig(cfg, UserHandle.of(profileId));
168 UserHandle currentUser = new UserHandle(mCurrentUserId);
219 private String getNameForVpnConfig(VpnConfig cfg, UserHandle user) {
  /frameworks/base/services/core/java/com/android/server/am/
ActivityManagerShellCommand.java 23 import android.os.UserHandle;
79 int userId = UserHandle.parseUserArg(getNextArgRequired());
86 int userId = UserHandle.USER_ALL;
91 userId = UserHandle.parseUserArg(getNextArgRequired());
102 int userId = UserHandle.USER_ALL;
107 userId = UserHandle.parseUserArg(getNextArgRequired());
  /frameworks/base/services/core/java/com/android/server/notification/
ZenModeFiltering.java 25 import android.os.UserHandle;
79 UserHandle userHandle, Bundle extras, ValidateNotificationPeople validator,
89 final float contactAffinity = validator.getContactAffinity(userHandle, extras,
217 if (userId == UserHandle.USER_NULL || userId == UserHandle.USER_ALL) return false;
  /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
WipeDataTest.java 22 import android.os.UserHandle;
48 UserHandle currentUser = Process.myUserHandle();
  /frameworks/base/core/java/com/android/internal/content/
PackageMonitor.java 26 import android.os.UserHandle;
66 int mChangeUserId = UserHandle.USER_NULL;
75 public void register(Context context, Looper thread, UserHandle user,
81 public void register(Context context, UserHandle user,
183 public void onHandleUserStop(Intent intent, int userHandle) {
295 UserHandle.USER_NULL);
296 if (mChangeUserId == UserHandle.USER_NULL) {
435 mChangeUserId = UserHandle.USER_NULL;
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
ObscureSpeechDelegate.java 22 import android.os.UserHandle;
90 Settings.Secure.ACCESSIBILITY_SPEAK_PASSWORD, 0, UserHandle.USER_CURRENT) != 0) {
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/
RestrictedPreference.java 20 import android.os.UserHandle;
86 mHelper.checkRestrictionAndSetDisabled(userRestriction, UserHandle.myUserId());
  /frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
SettingsProviderTest.java 27 import android.os.UserHandle;
50 performSetAndGetSettingTestViaFrontEndApi(SETTING_TYPE_GLOBAL, UserHandle.USER_SYSTEM);
54 if (mSecondaryUserId == UserHandle.USER_SYSTEM) {
63 performSetAndGetSettingTestViaFrontEndApi(SETTING_TYPE_SECURE, UserHandle.USER_SYSTEM);
67 if (mSecondaryUserId == UserHandle.USER_SYSTEM) {
76 performSetAndGetSettingTestViaFrontEndApi(SETTING_TYPE_SYSTEM, UserHandle.USER_SYSTEM);
80 if (mSecondaryUserId == UserHandle.USER_SYSTEM) {
360 }, type, name, value, UserHandle.USER_SYSTEM);
  /frameworks/base/packages/Shell/src/com/android/shell/
RemoteBugreportReceiver.java 32 import android.os.UserHandle;
64 context.sendBroadcastAsUser(newIntent, UserHandle.SYSTEM,
  /frameworks/base/packages/SystemUI/src/com/android/systemui/power/
PowerNotificationWarnings.java 36 import android.os.UserHandle;
130 mNoMan.cancelAsUser(TAG_NOTIFICATION, R.id.notification_power, UserHandle.ALL);
149 mNoMan.notifyAsUser(TAG_NOTIFICATION, R.id.notification_power, n, UserHandle.ALL);
179 mNoMan.notifyAsUser(TAG_NOTIFICATION, R.id.notification_power, nb.build(), UserHandle.ALL);
184 0, intent, 0, null, UserHandle.CURRENT);
189 0, new Intent(action), 0, UserHandle.CURRENT);
318 mContext.registerReceiverAsUser(this, UserHandle.ALL, filter,
328 mContext.startActivityAsUser(mOpenBatterySettings, UserHandle.CURRENT);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
RecentsPackageMonitor.java 20 import android.os.UserHandle;
39 register(context, BackgroundThread.get().getLooper(), UserHandle.ALL, true);

Completed in 494 milliseconds

1 2 3 4 5 6 7 891011>>