/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | PhoneAccountRegistrarTest.java | 159 DefaultPhoneAccountHandle input = new DefaultPhoneAccountHandle(Process.myUserHandle(), in testDefaultPhoneAccountHandleEmptyGroup() 323 mRegistrar.setUserSelectedOutgoingPhoneAccount(telAccount1, Process.myUserHandle()); in testReplacePhoneAccountByGroup() 368 mRegistrar.setUserSelectedOutgoingPhoneAccount(telAccount1, Process.myUserHandle()); in testAddSameDefault() 370 mRegistrar.getUserSelectedOutgoingPhoneAccount(Process.myUserHandle()); in testAddSameDefault() 381 mRegistrar.getUserSelectedOutgoingPhoneAccount(Process.myUserHandle()); in testAddSameDefault() 392 mRegistrar.getUserSelectedOutgoingPhoneAccount(Process.myUserHandle()); in testAddSameDefault() 413 mRegistrar.setUserSelectedOutgoingPhoneAccount(telAccount1, Process.myUserHandle()); in testAddSameGroup() 415 mRegistrar.getUserSelectedOutgoingPhoneAccount(Process.myUserHandle()); in testAddSameGroup() 426 mRegistrar.getUserSelectedOutgoingPhoneAccount(Process.myUserHandle()); in testAddSameGroup() 438 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 | 330 null, Process.myUserHandle()); in testOutgoingCallAndSelectPhoneAccount() 516 Process.myUserHandle()); in do_testDeadlockOnOutgoingCall() 925 Process.myUserHandle(), VideoProfile.STATE_BIDIRECTIONAL); in testOutgoingCallSelectPhoneAccountVideo() 948 Process.myUserHandle(), VideoProfile.STATE_BIDIRECTIONAL); in testOutgoingCallSelectPhoneAccountNoVideo() 1104 mConnectionServiceFixtureA, Process.myUserHandle()); in testDeflectCallWhenOutgoing()
|
D | TelecomSystemTest.java | 515 mPhoneAccountA0.getAccountHandle(), Process.myUserHandle()); in setupConnectionServices() 572 connectionServiceFixture, Process.myUserHandle(), VideoProfile.STATE_AUDIO_ONLY, in startOutgoingPhoneCallWithNoPhoneAccount() 946 Process.myUserHandle(), videoState); in startAndMakeActiveOutgoingCall() 1021 connectionServiceFixture, Process.myUserHandle(), VideoProfile.STATE_AUDIO_ONLY); in startAndMakeDialingEmergencyCall()
|
/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 | 174 Utils.updateUserSensitive(getApplication(), Process.myUserHandle()); in onGrantDefaultRoles() 231 role.onHolderAddedAsUser(packageName, Process.myUserHandle(), this); in onAddRoleHolder() 232 role.onHolderChangedAsUser(Process.myUserHandle(), this); in onAddRoleHolder() 267 role.onHolderChangedAsUser(Process.myUserHandle(), this); in onRemoveRoleHolder() 301 role.onHolderChangedAsUser(Process.myUserHandle(), this); in onClearRoleHolders() 421 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/Launcher3/src/com/android/launcher3/compat/ |
D | PackageInstallerCompatVL.java | 67 UserHandle user = Process.myUserHandle(); in updateAndGetActiveSessionCache() 146 addSessionInfoToCache(session, Process.myUserHandle()); 168 ApplicationInfo.FLAG_SYSTEM, Process.myUserHandle()) != null; in verify()
|
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 | 77 if (FeatureFlags.ENABLE_CUSTOM_WIDGETS && Process.myUserHandle().equals(packageUser.mUser) in getAllProviders() 111 if (FeatureFlags.ENABLE_CUSTOM_WIDGETS && Process.myUserHandle().equals(user)) { in findProvider()
|
D | LauncherAppsCompatVL.java | 75 final boolean isPrimaryUser = Process.myUserHandle().equals(user); in getApplicationInfo() 190 if (packageUser != null && !packageUser.mUser.equals(Process.myUserHandle())) { in getCustomShortcutActivityList()
|
/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/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 | 279 return isAvailableAsUser(Process.myUserHandle(), context); in isAvailable() 338 return isVisibleAsUser(Process.myUserHandle(), context); in isVisible() 415 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()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | BaseDraggingActivity.java | 163 } else if (user == null || user.equals(Process.myUserHandle())) { in startActivitySafely() 171 Process.myUserHandle(), sourceContainer); in startActivitySafely()
|
D | InstallShortcutReceiver.java | 238 data, Process.myUserHandle(), context); in createPendingInfo() 597 : Process.myUserHandle(); in Decoder() 643 info.user = Process.myUserHandle(); in createWorkspaceItemInfo()
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/ |
D | BaseModelUpdateTaskTestCase.java | 87 myUser = Process.myUserHandle(); in setUp() 214 mCache.put(new ComponentKey(key, Process.myUserHandle()), entry); in addCache()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | PackageUpdatedTask.java | 102 appsList.removePackage(packages[i], Process.myUserHandle()); in execute() 107 if (!Utilities.ATLEAST_OREO && !Process.myUserHandle().equals(mUser)) { in execute()
|