/packages/apps/Settings/src/com/android/settings/applications/ |
DefaultSmsPreference.java | 20 import android.os.UserHandle; 75 .getUserInfo(UserHandle.myUserId()).isRestricted();
|
/packages/apps/Settings/src/com/android/settings/fingerprint/ |
SetupFingerprintEnrollFindSensor.java | 21 import android.os.UserHandle; 43 if (mUserId != UserHandle.USER_NULL) {
|
SetupFingerprintEnrollFinish.java | 21 import android.os.UserHandle; 39 if (mUserId != UserHandle.USER_NULL) {
|
/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...] |
/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...] |
/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; 331 final UserHandle userHandle = user.getUserHandle(); 333 UserManager.DISALLOW_OUTGOING_CALLS, userHandle) 341 userHandle); 350 UserHandle.ALL); 457 UserHandle userHandle = user.getUserHandle(); 463 userHandle); 469 UserHandle.ALL) [all...] |
/packages/apps/Settings/src/com/android/settings/users/ |
UserSettings.java | 40 import android.os.UserHandle; 179 int userHandle = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, -1); 180 if (userHandle != -1) { 181 mUserIcons.remove(userHandle); 213 final int myUserId = UserHandle.myUserId(); 240 context.registerReceiverAsUser(mUserChangeReceiver, UserHandle.ALL, filter, null, mHandler); 306 onRemoveUserClicked(UserHandle.myUserId()); 332 UserInfo user = mUserManager.getUserInfo(UserHandle.myUserId()); 345 int myUserId = UserHandle.myUserId(); 355 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);
|
/frameworks/base/core/java/com/android/internal/app/ |
UnlaunchableAppActivity.java | 34 import android.os.UserHandle; 46 * ({@link UserManager#isQuietModeEnabled(UserHandle)}. 64 mUserId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL); 67 if (mUserId == UserHandle.USER_NULL) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
UserInfoController.java | 32 import android.os.UserHandle; 65 mContext.registerReceiverAsUser(mProfileReceiver, UserHandle.ALL, profileFilter, 122 new UserHandle(userInfo.id)); 154 avatar = UserIcons.getDefaultUserIcon(isGuest? UserHandle.USER_NULL : userId,
|
/frameworks/base/services/core/java/com/android/server/ |
LockSettingsStrongAuth.java | 28 import android.os.UserHandle; 85 if (userId == UserHandle.USER_ALL) { 141 if (userId == UserHandle.USER_ALL || userId >= UserHandle.USER_SYSTEM) {
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
DeviceIdleJobsController.java | 24 import android.os.UserHandle; 109 mBroadcastReceiver, UserHandle.ALL, filter, null, null); 153 UserHandle.getAppId(job.getSourceUid()))) { 187 UserHandle.formatUid(pw, jobStatus.getSourceUid());
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
AccessibilityManagerServiceTest.java | 28 import android.os.UserHandle; 112 mManagerService.addClient(mockClient, UserHandle.USER_CURRENT); 125 mManagerService.addClient(mockClient, UserHandle.USER_CURRENT); 147 mManagerService.addClient(mockClient, UserHandle.USER_CURRENT); 160 mManagerService.addClient(mockClient, UserHandle.USER_CURRENT); 180 UserHandle.USER_CURRENT)) { 221 mManagerService.sendAccessibilityEvent(sentEvent, UserHandle.USER_CURRENT); 251 mManagerService.sendAccessibilityEvent(sentEvent, UserHandle.USER_CURRENT); 281 mManagerService.sendAccessibilityEvent(sentEvent, UserHandle.USER_CURRENT); 317 mManagerService.sendAccessibilityEvent(firstEvent, UserHandle.USER_CURRENT) [all...] |
AccessibilityManagerTest.java | 26 import android.os.UserHandle; 70 new AccessibilityManager(mContext, mMockService, UserHandle.USER_CURRENT); 94 verify(mMockService).getInstalledAccessibilityServiceList(UserHandle.USER_CURRENT); 104 verify(mMockService).interrupt(UserHandle.USER_CURRENT);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
DpmTestBase.java | 27 import android.os.UserHandle; 135 eq(UserHandle.getUserId(packageUid))); 162 eq(UserHandle.getUserId(packageUid))); 165 markPackageAsInstalled(admin.getPackageName(), ai, UserHandle.getUserId(packageUid));
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
AlarmSpamReceiver.java | 23 import android.os.UserHandle;
|