/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | PhoneAccountRegistrarTest.java | 223 DefaultPhoneAccountHandle input = new DefaultPhoneAccountHandle(Process.myUserHandle(), in testDefaultPhoneAccountHandleEmptyGroup() 387 mRegistrar.setUserSelectedOutgoingPhoneAccount(telAccount1, Process.myUserHandle()); in testReplacePhoneAccountByGroup() 432 mRegistrar.setUserSelectedOutgoingPhoneAccount(telAccount1, Process.myUserHandle()); in testAddSameDefault() 434 mRegistrar.getUserSelectedOutgoingPhoneAccount(Process.myUserHandle()); in testAddSameDefault() 445 mRegistrar.getUserSelectedOutgoingPhoneAccount(Process.myUserHandle()); in testAddSameDefault() 456 mRegistrar.getUserSelectedOutgoingPhoneAccount(Process.myUserHandle()); in testAddSameDefault() 477 mRegistrar.setUserSelectedOutgoingPhoneAccount(telAccount1, Process.myUserHandle()); in testAddSameGroup() 479 mRegistrar.getUserSelectedOutgoingPhoneAccount(Process.myUserHandle()); in testAddSameGroup() 490 mRegistrar.getUserSelectedOutgoingPhoneAccount(Process.myUserHandle()); in testAddSameGroup() 502 mRegistrar.getUserSelectedOutgoingPhoneAccount(Process.myUserHandle()); in testAddSameGroup() [all …]
|
D | VideoCallTests.java | 203 mConnectionServiceFixtureA, Process.myUserHandle(), in testOutgoingVideoCallCanceledCheckVideoHistory() 221 mConnectionServiceFixtureA, Process.myUserHandle(), in testOutgoingVideoCallRejectedCheckVideoHistory() 239 mConnectionServiceFixtureA, Process.myUserHandle(), in testOutgoingVideoCallAnsweredAsAudio()
|
D | BasicCallTests.java | 329 null, Process.myUserHandle()); in testOutgoingCallAndSelectPhoneAccount() 528 Process.myUserHandle()); in do_testDeadlockOnOutgoingCall() 941 Process.myUserHandle(), VideoProfile.STATE_BIDIRECTIONAL); in testOutgoingCallSelectPhoneAccountVideo() 964 Process.myUserHandle(), VideoProfile.STATE_BIDIRECTIONAL); in testOutgoingCallSelectPhoneAccountNoVideo() 1121 mConnectionServiceFixtureA, Process.myUserHandle()); in testDeflectCallWhenOutgoing()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/ |
D | TopLevelLocationPreferenceControllerTest.java | 53 mLocationManager.setLocationEnabledForUser(false, android.os.Process.myUserHandle()); in getSummary_whenLocationIsOff_shouldReturnStringForOff() 60 mLocationManager.setLocationEnabledForUser(true, android.os.Process.myUserHandle()); in getSummary_whenLocationIsOn_shouldShowLoadingString() 68 mLocationManager.setLocationEnabledForUser(true, android.os.Process.myUserHandle()); in getSummary_whenLocationAppCountIsOne_shouldShowSingularString() 79 mLocationManager.setLocationEnabledForUser(true, android.os.Process.myUserHandle()); in getSummary_whenLocationAppCountIsGreaterThanOne_shouldShowPluralString()
|
D | AppLocationPermissionPreferenceControllerTest.java | 62 mLocationManager.setLocationEnabledForUser(false, android.os.Process.myUserHandle()); in getSummary_whenLocationIsOff_shouldReturnStringForOff() 70 mLocationManager.setLocationEnabledForUser(true, android.os.Process.myUserHandle()); in getSummary_whenLocationIsOn_shouldReturnLoadingString() 78 mLocationManager.setLocationEnabledForUser(true, android.os.Process.myUserHandle()); in getSummary_whenLocationAppCountIsOne_shouldShowSingularString() 88 mLocationManager.setLocationEnabledForUser(true, android.os.Process.myUserHandle()); in getSummary_whenLocationAppCountIsGreaterThanOne_shouldShowPluralString()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/service/ |
D | RoleControllerServiceImpl.java | 182 () -> Utils.updateUserSensitive(getApplication(), Process.myUserHandle())); in onGrantDefaultRoles() 239 role.onHolderAddedAsUser(packageName, Process.myUserHandle(), this); in onAddRoleHolder() 240 role.onHolderChangedAsUser(Process.myUserHandle(), this); in onAddRoleHolder() 275 role.onHolderChangedAsUser(Process.myUserHandle(), this); in onRemoveRoleHolder() 309 role.onHolderChangedAsUser(Process.myUserHandle(), this); in onClearRoleHolders() 429 return role.isVisibleAsUser(Process.myUserHandle(), this); in onIsRoleVisible()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | BeamShareActivity.java | 215 UserHandle myUserHandle = new UserHandle(UserHandle.myUserId()); in parseShareIntentAndFinish() local 245 shareData = new BeamShareData(null, uriArray, myUserHandle, 0); in parseShareIntentAndFinish() 248 shareData = new BeamShareData(null, null, myUserHandle, 0); in parseShareIntentAndFinish() 251 shareData = new BeamShareData(mNdefMessage, null, myUserHandle, 0); in parseShareIntentAndFinish() 256 shareData = new BeamShareData(null, null, myUserHandle, 0); in parseShareIntentAndFinish()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/dashboard/profileselector/ |
D | UserAdapter.java | 197 UserHandle myUserHandle = new UserHandle(UserHandle.myUserId()); in createUserSpinnerAdapter() local 199 userProfiles.remove(myUserHandle); in createUserSpinnerAdapter() 200 userProfiles.add(0, myUserHandle); in createUserSpinnerAdapter()
|
/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/ |
D | UserAdapter.java | 197 UserHandle myUserHandle = new UserHandle(UserHandle.myUserId()); in createUserSpinnerAdapter() local 199 userProfiles.remove(myUserHandle); in createUserSpinnerAdapter() 200 userProfiles.add(0, myUserHandle); in createUserSpinnerAdapter()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/utils/ |
D | UserUtils.java | 62 UserHandle user = Process.myUserHandle(); in getWorkProfile() 89 if (Process.myUserHandle().equals(user)) { in getUserContext()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/ |
D | EditUserInfoControllerTest.java | 91 R.string.profile_info_settings_title, null, android.os.Process.myUserHandle()); in photoControllerOnActivityResult_whenWaiting_isCalled() 108 android.os.Process.myUserHandle()); in userNameView_inputLongName_shouldBeConstrained()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/ |
D | BrowserRoleBehavior.java | 62 List<String> packageNames = role.getQualifyingPackagesAsUser(Process.myUserHandle(), in getFallbackHolder() 85 Process.myUserHandle(), context); in isPackageQualified()
|
D | Permissions.java | 577 UserHandle user = Process.myUserHandle(); in getPermissionFlags() 617 UserHandle user = Process.myUserHandle(); in setPermissionFlags() 638 UserHandle user = Process.myUserHandle(); in grantPermissionWithoutAppOp() 649 UserHandle user = Process.myUserHandle(); in revokePermissionWithoutAppOp()
|
D | Role.java | 290 return isAvailableAsUser(Process.myUserHandle(), context); in isAvailable() 349 return isVisibleAsUser(Process.myUserHandle(), context); in isVisible() 443 if (!isPackageMinimallyQualifiedAsUser(packageName, Process.myUserHandle(), context)) { in isPackageQualified()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/ |
D | SpecialAppAccessListChildFragment.java | 110 role.preparePreferenceAsUser(preference, Process.myUserHandle(), context); in onRoleListChanged() 123 UserHandle user = Process.myUserHandle(); in onPreferenceClick()
|
D | HomeSettingsActivity.java | 35 Process.myUserHandle(), this) in onCreate()
|
D | RequestRoleViewModel.java | 34 super(role, Process.myUserHandle(), application); in RequestRoleViewModel()
|
D | RoleSearchTrampolineActivity.java | 53 RoleSearchIndexablesProvider.getOriginalKey(intent), Process.myUserHandle(), in onCreate()
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
D | ShortcutConfigActivityInfo.java | 110 super(new ComponentName(info.packageName, info.name), Process.myUserHandle()); in ShortcutConfigActivityInfoVL() 147 if (getUser().equals(Process.myUserHandle())) { in startConfigActivity()
|
D | AppWidgetManagerCompatVL.java | 75 if (Process.myUserHandle().equals(packageUser.mUser) in getAllProviders() 107 if (Process.myUserHandle().equals(user)) { in findProvider()
|
D | LauncherAppsCompatVL.java | 80 final boolean isPrimaryUser = Process.myUserHandle().equals(user); in getApplicationInfo() 199 if (packageUser != null && !packageUser.mUser.equals(Process.myUserHandle())) { in getCustomShortcutActivityList()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | AppWidgetsRestoredReceiver.java | 22 import static android.os.Process.myUserHandle; 86 .getSerialNumberForUser(myUserHandle()); in restoreAppWidgetIds()
|
D | BaseDraggingActivity.java | 163 } else if (user == null || user.equals(Process.myUserHandle())) { in startActivitySafely() 167 Process.myUserHandle(), sourceContainer); in startActivitySafely()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | FirstScreenBroadcast.java | 38 import static android.os.Process.myUserHandle; 78 if (myUserHandle().equals(entry.getKey().mUser)) { in getPackagesForInstaller()
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/ |
D | BaseModelUpdateTaskTestCase.java | 86 myUser = Process.myUserHandle(); in setUp() 213 mCache.put(new ComponentKey(key, Process.myUserHandle()), entry); in addCache()
|