Home
last modified time | relevance | path

Searched refs:batteryEventType (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/db/
DBatteryEventEntity.java43 public final int batteryEventType; field in BatteryEventEntity
47 final long timestamp, final int batteryEventType, final int batteryLevel) { in BatteryEventEntity() argument
49 this.batteryEventType = batteryEventType; in BatteryEventEntity()
74 batteryEventType, in toString()
115 public Builder setBatteryEventType(final int batteryEventType) { in setBatteryEventType() argument
116 mBatteryEventType = batteryEventType; in setBatteryEventType()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/db/
DBatteryEventEntityTest.java32 final int batteryEventType = 1; in testBuilder_returnsExpectedResult() local
38 .setBatteryEventType(batteryEventType) in testBuilder_returnsExpectedResult()
44 assertThat(entity.batteryEventType).isEqualTo(batteryEventType); in testBuilder_returnsExpectedResult()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryUsageBroadcastReceiver.java134 private void sendBatteryEventData(Context context, BatteryEventType batteryEventType) { in sendBatteryEventData() argument
143 timestamp, batteryEventType, batteryLevel))); in sendBatteryEventData()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DBatteryUsageContentProviderTest.java399 assertThat(entities.get(0).batteryEventType) in insertAndQuery_batteryEvent_returnsExpectedResult()