Home
last modified time | relevance | path

Searched refs:KEY_USER_ID (Results 1 – 15 of 15) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DManageUserServicesSliceActivity.java28 private static final String KEY_USER_ID = "userId"; field in ManageUserServicesSliceActivity
32 String id = getIntent().getStringExtra(KEY_USER_ID); in getSliceUri()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/db/
DAppUsageEventEntity.java36 public static final String KEY_USER_ID = "userId"; field in AppUsageEventEntity
116 if (contentValues.containsKey(KEY_USER_ID)) { in create()
117 builder.setUserId(contentValues.getAsLong(KEY_USER_ID)); in create()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryHistEntry.java31 public static final String KEY_USER_ID = "userId"; field in BatteryHistEntry
72 mUserId = getLong(values, KEY_USER_ID); in BatteryHistEntry()
102 mUserId = getLong(cursor, KEY_USER_ID); in BatteryHistEntry()
DConvertUtils.java112 BatteryHistEntry.KEY_USER_ID, in convertBatteryEntryToContentValues()
148 values.put(AppUsageEventEntity.KEY_USER_ID, event.getUserId()); in convertAppUsageEventToContentValues()
305 eventBuilder.setUserId(getLongFromCursor(cursor, AppUsageEventEntity.KEY_USER_ID)); in convertToAppUsageEvent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DConvertUtilsTest.java116 assertThat(values.getAsLong(BatteryHistEntry.KEY_USER_ID)) in convertBatteryEntryToContentValues_appEntry_returnsExpectedContentValues()
182 assertThat(values.getAsLong(BatteryHistEntry.KEY_USER_ID)) in convertBatteryEntryToContentValues_systemEntry_returnsExpectedContentValues()
257 assertThat(values.getAsLong(AppUsageEventEntity.KEY_USER_ID)).isEqualTo(1001L); in convertAppUsageEventToContentValues_returnsExpectedContentValues()
493 AppUsageEventEntity.KEY_USER_ID, in convertToAppUsageEvent_returnExpectedResult()
529 AppUsageEventEntity.KEY_USER_ID, in convertToAppUsageEvent_emptyInstanceIdAndRootName_returnExpectedResult()
DBatteryHistEntryTest.java130 values.put(BatteryHistEntry.KEY_USER_ID, 2); in testGetKey_consumerUserType_returnExpectedString()
392 BatteryHistEntry.KEY_USER_ID, in createBatteryHistEntry()
DDatabaseUtilsTest.java314 AppUsageEventEntity.KEY_USER_ID, in getAppUsageEventForUsers_emptyCursorContent_returnEmptyMap()
379 BatteryHistEntry.KEY_USER_ID, in getHistoryMap_emptyCursorContent_returnEmptyMap()
DBatteryDiffDataTest.java250 values.put(BatteryHistEntry.KEY_USER_ID, userId); in createBatteryHistEntry()
DBatteryUsageContentProviderTest.java300 values.put(BatteryHistEntry.KEY_USER_ID, Long.valueOf(1001L)); in insert_batteryState_returnsExpectedResult()
358 values.put(AppUsageEventEntity.KEY_USER_ID, 1001L); in insert_appUsageEvent_returnsExpectedResult()
DBatteryUsageBreakdownControllerTest.java458 contentValues.put(BatteryHistEntry.KEY_USER_ID, Integer.valueOf(1001)); in createBatteryDiffEntry()
DDataProcessManagerTest.java209 AppUsageEventEntity.KEY_USER_ID, in start_loadExpectedAppUsageData()
DBatteryDiffEntryTest.java232 values.put(BatteryHistEntry.KEY_USER_ID, Integer.valueOf(1001)); in testLoadLabelAndIcon_forUserBattery_returnExpectedResult()
DDataProcessorTest.java2411 values.put(BatteryHistEntry.KEY_USER_ID, userId); in createBatteryHistEntry()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningServiceDetails.java54 static final String KEY_USER_ID = "user_id"; field in RunningServiceDetails
500 mUserId = getArguments().getInt(KEY_USER_ID, 0);
DRunningProcessesView.java413 args.putInt(RunningServiceDetails.KEY_USER_ID, mi.mUserId); in startServiceDetailsActivity()