Home
last modified time | relevance | path

Searched refs:extractUidFromStatsDimensionsValue (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DAnomalyDetectionJobServiceTest.java147 doReturn(UID).when(mAnomalyDetectionJobService).extractUidFromStatsDimensionsValue(any()); in saveAnomalyToDatabase_systemAllowlisted_doNotSave()
168 mAnomalyDetectionJobService).extractUidFromStatsDimensionsValue(any()); in saveAnomalyToDatabase_systemApp_doNotSaveButLog()
189 mAnomalyDetectionJobService).extractUidFromStatsDimensionsValue(any()); in saveAnomalyToDatabase_systemUid_doNotSave()
204 mAnomalyDetectionJobService).extractUidFromStatsDimensionsValue(any()); in saveAnomalyToDatabase_uidNull_doNotSave()
224 mAnomalyDetectionJobService).extractUidFromStatsDimensionsValue(any()); in saveAnomalyToDatabase_normalAppWithAutoRestriction_save()
249 mAnomalyDetectionJobService).extractUidFromStatsDimensionsValue(any()); in saveAnomalyToDatabase_normalAppWithoutAutoRestriction_save()
281 assertThat(mAnomalyDetectionJobService.extractUidFromStatsDimensionsValue( in extractUidFromStatsDimensionsValue_extractCorrectUid()
293 assertThat(mAnomalyDetectionJobService.extractUidFromStatsDimensionsValue( in extractUidFromStatsDimensionsValue_wrongFormat_returnNull()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DAnomalyDetectionJobService.java145 final int uid = extractUidFromStatsDimensionsValue(intentDimsValue); in saveAnomalyToDatabase()
194 int extractUidFromStatsDimensionsValue(StatsDimensionsValue statsDimensionsValue) { in extractUidFromStatsDimensionsValue() method in AnomalyDetectionJobService
206 int uid = extractUidFromStatsDimensionsValue(values.get(i)); in extractUidFromStatsDimensionsValue()