Home
last modified time | relevance | path

Searched refs:KEY_UID (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Settings/src/com/android/settings/notification/app/
DBubbleWarningDialogFragment.java29 static final String KEY_UID = "u"; field in BubbleWarningDialogFragment
41 args.putInt(KEY_UID, uid); in setPkgPrefInfo()
52 final int uid = args.getInt(KEY_UID); in onCreateDialog()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/db/
DAppUsageEventEntity.java34 public static final String KEY_UID = "uid"; field in AppUsageEventEntity
113 if (contentValues.containsKey(KEY_UID)) { in create()
114 builder.setUid(contentValues.getAsLong(KEY_UID)); in create()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DBatteryDiffEntryTest.java257 values.put(BatteryHistEntry.KEY_UID, /*invalid uid*/ 10001); in testGetAppLabel_loadDataFromApplicationInfo()
449 values.put(BatteryHistEntry.KEY_UID, UID); in testIsUninstalledEntry_installedApp_returnFalse()
464 values.put(BatteryHistEntry.KEY_UID, BatteryUtils.UID_ZERO); in testIsUninstalledEntry_uidZero_returnFalse()
478 values.put(BatteryHistEntry.KEY_UID, UNINSTALLED_UID); in testIsUninstalledEntry_uninstalledApp_returnTrue()
496 values.put(BatteryHistEntry.KEY_UID, /*invalid uid*/ 10001); in testUpdateRestrictionFlagState_updateFlagAsExpected()
605 values.put(BatteryHistEntry.KEY_UID, 1001); in createBatteryDiffEntry()
DDatabaseUtilsTest.java313 AppUsageEventEntity.KEY_UID, in getAppUsageEventForUsers_emptyCursorContent_returnEmptyMap()
349 AppUsageEventEntity.KEY_UID, in getAppUsageEventForUsers_returnExpectedMap()
378 BatteryHistEntry.KEY_UID, in getHistoryMap_emptyCursorContent_returnEmptyMap()
600 BatteryHistEntry.KEY_UID, in getMatrixCursor()
DConvertUtilsTest.java115 assertThat(values.getAsLong(BatteryHistEntry.KEY_UID)).isEqualTo(1001L); in convertBatteryEntryToContentValues_appEntry_returnsExpectedContentValues()
181 assertThat(values.getAsLong(BatteryHistEntry.KEY_UID)).isEqualTo(-1); in convertBatteryEntryToContentValues_systemEntry_returnsExpectedContentValues()
256 assertThat(values.getAsLong(AppUsageEventEntity.KEY_UID)).isEqualTo(101L); in convertAppUsageEventToContentValues_returnsExpectedContentValues()
492 AppUsageEventEntity.KEY_UID, in convertToAppUsageEvent_returnExpectedResult()
528 AppUsageEventEntity.KEY_UID, in convertToAppUsageEvent_emptyInstanceIdAndRootName_returnExpectedResult()
DBatteryHistEntryTest.java120 values.put(BatteryHistEntry.KEY_UID, 3); in testGetKey_consumerUidType_returnExpectedString()
391 BatteryHistEntry.KEY_UID, in createBatteryHistEntry()
DDataProcessManagerTest.java145 AppUsageEventEntity.KEY_UID, in start_loadEmptyDatabaseAppUsageData()
330 AppUsageEventEntity.KEY_UID, in start_currentUserLocked_emptyAppUsageList()
DBatteryDiffDataTest.java249 values.put(BatteryHistEntry.KEY_UID, uid); in createBatteryHistEntry()
DBatteryUsageContentProviderTest.java299 values.put(BatteryHistEntry.KEY_UID, Long.valueOf(101L)); in insert_batteryState_returnsExpectedResult()
357 values.put(AppUsageEventEntity.KEY_UID, 101L); in insert_appUsageEvent_returnsExpectedResult()
DDataProcessorTest.java2410 values.put(BatteryHistEntry.KEY_UID, uid); in createBatteryHistEntry()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryHistEntry.java29 public static final String KEY_UID = "uid"; field in BatteryHistEntry
71 mUid = getLong(values, KEY_UID); in BatteryHistEntry()
101 mUid = getLong(cursor, KEY_UID); in BatteryHistEntry()
DConvertUtils.java110 values.put(BatteryHistEntry.KEY_UID, Long.valueOf(entry.getUid())); in convertBatteryEntryToContentValues()
147 values.put(AppUsageEventEntity.KEY_UID, event.getUid()); in convertAppUsageEventToContentValues()
306 eventBuilder.setUid(getLongFromCursor(cursor, AppUsageEventEntity.KEY_UID)); in convertToAppUsageEvent()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningServiceDetails.java53 static final String KEY_UID = "uid"; field in RunningServiceDetails
499 mUid = getArguments().getInt(KEY_UID, -1);
DRunningProcessesView.java410 args.putInt(RunningServiceDetails.KEY_UID, mi.mProcess.mUid); in startServiceDetailsActivity()