Home
last modified time | relevance | path

Searched refs:setUid (Results 1 – 25 of 51) sorted by relevance

123

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/defaultapps/
DDefaultAutofillPickerTest.java139 ShadowProcess.setUid(MANAGED_PROFILE_UID * UserHandle.PER_USER_RANGE); in mUserId_shouldDeriveUidFromManagedCaller()
151 ShadowProcess.setUid(MAIN_PROFILE_UID * UserHandle.PER_USER_RANGE); in mUserId_shouldDeriveUidFromMainCaller()
163 ShadowProcess.setUid(MAIN_PROFILE_UID * UserHandle.PER_USER_RANGE); in mUserId_shouldDeriveUidFromManagedClick()
175 ShadowProcess.setUid(MAIN_PROFILE_UID * UserHandle.PER_USER_RANGE); in mUserId_shouldDeriveUidFromMainClick()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryDatabaseManagerTest.java69 .setUid(UID_NEW) in setUp()
74 .setUid(UID_OLD) in setUp()
79 .setUid(UID_NEW) in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/detectors/
DRestrictAppDetectorTest.java134 .setUid(RESTRICTED_UID) in testDetect_hasAutoHandledAnomaly_tipHandled()
163 .setUid(RESTRICTED_UID) in testDetect_typeNewHasRestrictedAnomaly_removeIt()
181 .setUid(UNRESTRICTED_UID) in testDetect_typeHandledHasUnRestrictedAnomaly_removeIt()
DHighUsageDetectorTest.java107 .setUid(UID_HIGH) in setUp()
110 .setUid(UID_LOW) in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/actions/
DRestrictAppActionTest.java65 .setUid(UID_1) in setUp()
69 .setUid(UID_2) in setUp()
DUnrestrictAppActionTest.java57 .setUid(UID_1) in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DAppDataUsageTest.java164 when(mHeaderController.setUid(anyInt())).thenReturn(mHeaderController); in bindAppHeader_allWorkApps_shouldNotShowAppInfoLink()
197 when(mHeaderController.setUid(fakeUserId)).thenReturn(mHeaderController); in bindAppHeader_workApp_shouldSetWorkAppUid()
207 verify(mHeaderController).setUid(fakeUserId); in bindAppHeader_workApp_shouldSetWorkAppUid()
/packages/apps/Settings/src/com/android/settings/applications/
DAppInfoWithHeader.java56 .setUid(mPackageInfo.applicationInfo.uid) in onActivityCreated()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppInfoWithHeader.java56 .setUid(mPackageInfo.applicationInfo.uid) in onActivityCreated()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DAppInfo.java127 public Builder setUid(int uid) { in setUid() method in AppInfo.Builder
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DSyncPreference.java124 public void setUid(int uid) { in setUid() method in SyncPreference
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/
DAppInfo.java127 public Builder setUid(int uid) { in setUid() method in AppInfo.Builder
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DAppInfoTest.java53 .setUid(UID) in setUp()
DAnomalyCleanupJobServiceTest.java124 .setUid(UID) in onStartJob_cleanUpDataBefore30days()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
DMessage.java46 public void setUid(String uid) { in setUid() method in Message
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpItemTest.java84 builder.setUid(0); in buildAvrcpItem()
257 builder.setUid(0); in avrcpMediaItem_toMediaMetadata()
/packages/apps/Settings/src/com/android/settings/notification/
DZenAutomaticRuleHeaderPreferenceController.java81 .setUid(mContext.getUserId()) in updateState()
DHeaderPreferenceController.java83 .setUid(mAppRow.uid) in updateState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenAutomaticRuleHeaderPreferenceController.java81 .setUid(mContext.getUserId()) in updateState()
DHeaderPreferenceController.java82 .setUid(mAppRow.uid) in updateState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/detectors/
DHighUsageDetector.java84 .setUid(batterySipper.getUid()) in detect()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/detectors/
DHighUsageDetector.java93 .setUid(batterySipper.getUid()) in detect()
/packages/apps/Settings/tests/unit/src/com/android/settings/fuelgauge/batterytip/
DRestrictAppTest.java121 .setUid(uid) in insertDuplicateAnomalies_onlyInsertOnce()
/packages/modules/ExtServices/tests/src/android/ext/services/storage/
DCacheQuotaServiceImplTest.java148 .setVolumeUuid(uuid).setUid(uid).setUsageStats(stats).setQuota(-1).build(); in makeNewRequest()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DBackgroundActivityPreferenceController.java139 .setUid(mUid) in showDialog()

123