Home
last modified time | relevance | path

Searched refs:screenOnTimeMs (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DAppInfo.java38 public final long screenOnTimeMs; field in AppInfo
44 screenOnTimeMs = builder.mScreenOnTimeMs; in AppInfo()
52 screenOnTimeMs = in.readLong(); in AppInfo()
58 return Long.compare(screenOnTimeMs, o.screenOnTimeMs); in compareTo()
70 dest.writeLong(screenOnTimeMs); in writeToParcel()
77 + screenOnTimeMs; in toString()
92 && screenOnTimeMs == other.screenOnTimeMs in equals()
122 public Builder setScreenOnTimeMs(long screenOnTimeMs) { in setScreenOnTimeMs() argument
123 mScreenOnTimeMs = screenOnTimeMs; in setScreenOnTimeMs()
/packages/apps/Settings/tests/unit/src/com/android/settings/fuelgauge/batterytip/
DAppInfoTest.java68 assertThat(appInfo.screenOnTimeMs).isEqualTo(SCREEN_TIME_MS); in testParcel()
85 assertThat(appInfos.get(0).screenOnTimeMs).isLessThan(appInfos.get(1).screenOnTimeMs); in testCompareTo_hasCorrectOrder()
92 assertThat(mAppInfo.screenOnTimeMs).isEqualTo(SCREEN_TIME_MS); in testBuilder()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/tips/
DHighUsageTipTest.java84 assertThat(app.screenOnTimeMs).isEqualTo(SCREEN_TIME); in testParcelable()