/packages/apps/Settings/src/com/android/settings/ |
SettingsInitialize.java | 26 import android.os.UserHandle; 51 UserInfo userInfo = um.getUserInfo(UserHandle.myUserId());
|
WirelessSettings.java | 37 import android.os.UserHandle; 249 UserManager.DISALLOW_CONFIG_MOBILE_NETWORKS, UserHandle.myUserId())) { 268 UserManager.DISALLOW_CONFIG_VPN, UserHandle.myUserId())) { 295 UserManager.DISALLOW_CONFIG_MOBILE_NETWORKS, UserHandle.myUserId())) { 328 activity, UserManager.DISALLOW_CONFIG_TETHERING, UserHandle.myUserId()) != null; 331 UserManager.DISALLOW_CONFIG_TETHERING, UserHandle.myUserId())) { 344 UserManager.DISALLOW_NETWORK_RESET, UserHandle.myUserId())) { 488 UserManager.DISALLOW_NETWORK_RESET, UserHandle.myUserId())) {
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
MigrateEstimateTask.java | 27 import android.os.UserHandle; 92 mContext.bindServiceAsUser(intent, this, Context.BIND_AUTO_CREATE, UserHandle.SYSTEM);
|
StorageItemPreference.java | 29 public int userHandle;
|
/packages/apps/Settings/src/com/android/settings/nfc/ |
NfcEnabler.java | 24 import android.os.UserHandle; 65 UserManager.DISALLOW_OUTGOING_BEAM, UserHandle.myUserId());
|
/packages/apps/Settings/tests/unit/src/com/android/settings/ |
ChooseLockSettingsHelperTest.java | 9 import android.os.UserHandle; 44 final int userId = UserHandle.myUserId();
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
ForceStopPreference.java | 28 import android.os.UserHandle; 60 intent.putExtra(Intent.EXTRA_USER_HANDLE, UserHandle.getUserId(mEntry.info.uid));
|
/packages/services/Car/service/src/com/android/car/pm/ |
AppBlockingPolicyProxy.java | 29 import android.os.UserHandle; 83 UserHandle.SYSTEM);
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
TtyManager.java | 24 import android.os.UserHandle; 83 mContext.sendBroadcastAsUser(ttyModeChanged, UserHandle.ALL);
|
/platform_testing/utils/permissions/src/com/android/permissionutils/ |
PermissionInstrumentation.java | 26 import android.os.UserHandle; 88 pm.grantRuntimePermission(info.packageName, permission, UserHandle.OWNER);
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
CreateAndManageUserTest.java | 31 import android.os.UserHandle; 54 private UserHandle mUserHandle; 85 UserHandle handle = userManager.getUserForSerialNumber(serial); 134 // UserHandle firstUser = Process.myUserHandle();
|
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/ |
LauncherAppsTests.java | 39 import android.os.UserHandle; 71 private UserHandle mUser; 185 private UserHandle getUserHandleArgument(UserManager userManager, String key, 274 private int sendMessageToCallbacksService(int msg, UserHandle user, String packageName)
|
/frameworks/base/core/java/android/content/ |
IContentService.aidl | 39 * @param userHandle the user whose view of the provider is to be observed. May be 45 IContentObserver observer, int userHandle); 49 * @param userHandle the user whose view of the provider is to be notified. May be 56 int userHandle);
|
/frameworks/base/core/java/android/net/ |
NetworkScorerAppManager.java | 27 import android.os.UserHandle; 114 if (UserHandle.getCallingUserId() != UserHandle.USER_SYSTEM) { 123 pm.queryBroadcastReceiversAsUser(SCORE_INTENT, 0 /* flags */, UserHandle.USER_SYSTEM);
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/ |
AppBridge.java | 5 import android.os.UserHandle;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
ServiceMonitor.java | 34 import android.os.UserHandle; 174 false /*notifyForDescendents*/, mSettingObserver, UserHandle.USER_ALL); 189 mSettingKey, UserHandle.USER_CURRENT); 292 mSettingKey, setting, UserHandle.USER_CURRENT);
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
WebViewUpdateService.java | 28 import android.os.UserHandle; 66 int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL); 108 getContext().registerReceiverAsUser(mWebViewUpdatedReceiver, UserHandle.ALL, filter, 113 getContext().registerReceiverAsUser(mWebViewUpdatedReceiver, UserHandle.ALL,
|
/packages/apps/Settings/src/com/android/settings/fingerprint/ |
FingerprintEnrollFinish.java | 23 import android.os.UserHandle;
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
LongPressAccessPointPreference.java | 25 import android.os.UserHandle;
|
/frameworks/base/services/core/java/com/android/server/ |
AppOpsService.java | 55 import android.os.UserHandle; 276 UserHandle.getUserId(ops.uidState.uid)); 740 if (reqUserId != UserHandle.USER_ALL 741 && reqUserId != UserHandle.getUserId(uidState.uid)) { [all...] |
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeyPermissionUtil.java | 28 import android.os.UserHandle; 105 int flags = mPm.getPermissionFlags(pi.name, pkg, UserHandle.myUserId()); 117 PackageManager.GET_PERMISSIONS, UserHandle.myUserId()).getList();
|
/frameworks/base/cmds/appwidget/src/com/android/commands/appwidget/ |
AppWidget.java | 23 import android.os.UserHandle; 88 int userId = UserHandle.USER_SYSTEM; 95 userId = UserHandle.USER_CURRENT;
|
/frameworks/base/core/java/com/android/server/backup/ |
SystemBackupAgent.java | 31 import android.os.UserHandle; 62 Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM).getAbsolutePath(); 68 Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM).getAbsolutePath();
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
RestrictedPreferenceHelper.java | 22 import android.os.UserHandle; 66 UserHandle.myUserId())) { 123 checkRestrictionAndSetDisabled(mAttrUserRestriction, UserHandle.myUserId());
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accessibility/ |
AccessibilityUtils.java | 25 import android.os.UserHandle; 48 return getEnabledServicesFromSettings(context, UserHandle.myUserId()); 95 setAccessibilityServiceState(context, toggledService, enabled, UserHandle.myUserId());
|