/frameworks/base/services/core/java/com/android/server/ |
HardwarePropertiesManagerService.java | 26 import android.os.UserHandle; 99 final int userId = UserHandle.getUserId(uid);
|
SensorNotificationService.java | 29 import android.os.UserHandle; 68 mContext.sendBroadcastAsUser(i, UserHandle.ALL);
|
/frameworks/base/services/core/java/com/android/server/clipboard/ |
ClipboardService.java | 45 import android.os.UserHandle; 140 return getClipboard(UserHandle.getCallingUserId()); 171 final int userId = UserHandle.getUserId(callingUid); 325 ContentProvider.getUserIdFromUri(uri, UserHandle.getUserId(uid))); 374 final int targetUserHandle = UserHandle.getCallingUserId(); 381 if (!UserHandle.isSameApp(pi.applicationInfo.uid, uid)) { 394 grantItemLocked(clipboard.primaryClip.getItemAt(i), pkg, UserHandle.getUserId(uid)); 402 UserHandle.getUserId(Binder.getCallingUid()));
|
/frameworks/base/services/core/java/com/android/server/media/ |
MediaResourceMonitorService.java | 26 import android.os.UserHandle; 76 getContext().sendBroadcastAsUser(intent, UserHandle.of(userId),
|
/frameworks/native/opengl/tools/glgen/stubs/jsr239/ |
GLImplHeader.java-impl | 25 import android.os.UserHandle; 70 ApplicationInfo applicationInfo = pm.getApplicationInfo(appName, 0, UserHandle.myUserId());
|
/packages/apps/Settings/src/com/android/settings/ |
OwnerInfoSettings.java | 26 import android.os.UserHandle; 46 mUserId = UserHandle.myUserId();
|
TetherProvisioningActivity.java | 25 import android.os.UserHandle; 68 startActivityForResultAsUser(intent, PROVISION_REQUEST, UserHandle.CURRENT);
|
/packages/apps/Settings/src/com/android/settings/applications/ |
DefaultSmsPreference.java | 20 import android.os.UserHandle; 82 .getUserInfo(UserHandle.myUserId()).isRestricted();
|
/packages/apps/Settings/src/com/android/settings/fingerprint/ |
SetupFingerprintEnrollIntroduction.java | 21 import android.os.UserHandle; 79 lockPatternUtils.getKeyguardStoredPasswordQuality(UserHandle.myUserId()));
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
ManageablePreference.java | 21 import android.os.UserHandle; 44 setUserId(UserHandle.myUserId());
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
ClearDefaultsPreference.java | 26 import android.os.UserHandle; 87 .clearDefaults(packageName, UserHandle.myUserId());
|
/packages/services/Telephony/src/com/android/phone/settings/ |
TtyModeListPreference.java | 21 import android.os.UserHandle; 82 getContext().sendBroadcastAsUser(ttyModeChanged, UserHandle.ALL);
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsProvider.java | 56 import android.os.UserHandle; 320 Slog.v(LOG_TAG, "query() for user: " + UserHandle.getCallingUserId()); 342 final int userId = UserHandle.getCallingUserId(); 352 final int userId = UserHandle.getCallingUserId(); 370 Slog.v(LOG_TAG, "insert() for user: " + UserHandle.getCallingUserId()); 389 if (insertGlobalSetting(name, value, UserHandle.getCallingUserId(), false)) { 395 if (insertSecureSetting(name, value, UserHandle.getCallingUserId(), false)) { 401 if (insertSystemSetting(name, value, UserHandle.getCallingUserId())) { 417 Slog.v(LOG_TAG, "bulkInsert() for user: " + UserHandle.getCallingUserId()); 435 Slog.v(LOG_TAG, "delete() for user: " + UserHandle.getCallingUserId()) [all...] |
/frameworks/base/services/retaildemo/java/com/android/server/retaildemo/ |
RetailDemoModeService.java | 56 import android.os.UserHandle; 106 int mCurrentUserId = UserHandle.USER_SYSTEM; 178 if (mCurrentUserId != UserHandle.USER_SYSTEM) { 212 cr.registerContentObserver(mDeviceDemoModeUri, false, this, UserHandle.USER_SYSTEM); 213 cr.registerContentObserver(mDeviceProvisionedUri, false, this, UserHandle.USER_SYSTEM); 215 UserHandle.USER_SYSTEM); 329 UserHandle user = UserHandle.of(userInfo.id); 340 UserHandle.SYSTEM); 349 private void grantRuntimePermissionToCamera(UserHandle user) [all...] |
/packages/apps/Settings/src/com/android/settings/location/ |
LocationSettings.java | 28 import android.os.UserHandle; 106 private UserHandle mManagedProfile; 218 new PackageEntryClickedListener(request.packageName, request.userHandle)); 306 UserHandle.myUserId() : UserHandle.USER_CURRENT); 383 UserManager.DISALLOW_SHARE_LOCATION, UserHandle.myUserId()); 385 UserManager.DISALLOW_SHARE_LOCATION, UserHandle.myUserId()); 449 private UserHandle mUserHandle; 451 public PackageEntryClickedListener(String packageName, UserHandle userHandle) { [all...] |
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
ComponentContextFixture.java | 52 import android.os.UserHandle; 127 UserHandle userHandle) { 272 public void sendBroadcastAsUser(Intent intent, UserHandle userHandle) { 277 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, 284 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, 290 public Context createPackageContextAsUser(String packageName, int flags, UserHandle user) 306 public void startActivityAsUser(Intent intent, UserHandle userHandle) { [all...] |
TelecomSystemTest.java | 49 import android.os.UserHandle; 128 public void clearMissedCalls(UserHandle userHandle) { 140 CallerInfoAsyncQueryFactory callerInfoAsyncQueryFactory, UserHandle userHandle) { 145 public void setCurrentUserHandle(UserHandle userHandle) { 492 ConnectionServiceFixture connectionServiceFixture, UserHandle initiatingUser) 500 ConnectionServiceFixture connectionServiceFixture, UserHandle initiatingUser, 534 ConnectionServiceFixture connectionServiceFixture, UserHandle initiatingUser [all...] |
/frameworks/base/core/java/android/nfc/cardemulation/ |
CardEmulation.java | 30 import android.os.UserHandle; 204 return sService.isDefaultServiceForCategory(UserHandle.myUserId(), service, category); 213 return sService.isDefaultServiceForCategory(UserHandle.myUserId(), service, 235 return sService.isDefaultServiceForAid(UserHandle.myUserId(), service, aid); 244 return sService.isDefaultServiceForAid(UserHandle.myUserId(), service, aid); 329 return sService.registerAidGroupForService(UserHandle.myUserId(), service, aidGroup); 338 return sService.registerAidGroupForService(UserHandle.myUserId(), service, 363 AidGroup group = sService.getAidGroupForService(UserHandle.myUserId(), service, 373 AidGroup group = sService.getAidGroupForService(UserHandle.myUserId(), service, 400 return sService.removeAidGroupForService(UserHandle.myUserId(), service, category) [all...] |
/packages/services/Telephony/src/com/android/phone/ |
NotificationMgr.java | 32 import android.os.UserHandle; 356 final UserHandle userHandle = user.getUserHandle(); 358 UserManager.DISALLOW_OUTGOING_CALLS, userHandle) 366 userHandle); 375 UserHandle.ALL); 482 UserHandle userHandle = user.getUserHandle(); 488 userHandle); 494 UserHandle.ALL) [all...] |
/packages/apps/Settings/src/com/android/settings/users/ |
UserSettings.java | 40 import android.os.UserHandle; 180 int userHandle = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, -1); 181 if (userHandle != -1) { 182 mUserIcons.remove(userHandle); 214 final int myUserId = UserHandle.myUserId(); 241 context.registerReceiverAsUser(mUserChangeReceiver, UserHandle.ALL, filter, null, mHandler); 312 onRemoveUserClicked(UserHandle.myUserId()); 338 UserInfo user = mUserManager.getUserInfo(UserHandle.myUserId()); 351 int myUserId = UserHandle.myUserId(); 361 return lpu.isSecure(UserHandle.myUserId()) [all...] |
/frameworks/base/services/core/java/com/android/server/trust/ |
TrustManagerService.java | 54 import android.os.UserHandle; 133 private int mCurrentUser = UserHandle.USER_SYSTEM; 156 mPackageMonitor.register(mContext, mHandler.getLooper(), UserHandle.ALL, true); 161 refreshAgentList(UserHandle.USER_ALL); 163 maybeEnableFactoryTrustAgents(mLockPatternUtils, UserHandle.USER_SYSTEM); 235 if (userIdOrAll != UserHandle.USER_ALL && userIdOrAll < UserHandle.USER_SYSTEM) { 238 userIdOrAll = UserHandle.USER_ALL; 243 if (userIdOrAll == UserHandle.USER_ALL) { 302 if (userIdOrAll == UserHandle.USER_ALL || userIdOrAll == info.userId) [all...] |
/frameworks/base/core/java/android/app/ |
ISearchManager.aidl | 34 boolean launchLegacyAssist(String hint, int userHandle, in Bundle args);
|
/frameworks/base/core/java/android/hardware/fingerprint/ |
IFingerprintServiceReceiver.aidl | 20 import android.os.UserHandle;
|
/frameworks/base/core/java/android/os/ |
IDeviceIdleController.aidl | 20 import android.os.UserHandle;
|
/frameworks/base/core/java/android/service/voice/ |
VoiceInteractionServiceInfo.java | 55 public VoiceInteractionServiceInfo(PackageManager pm, ComponentName comp, int userHandle) 57 this(pm, getServiceInfoOrThrow(comp, userHandle)); 60 static ServiceInfo getServiceInfoOrThrow(ComponentName comp, int userHandle) 68 userHandle);
|