Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/core/instrumentation/
DMetricsDataModelTest.kt62 assertThat(metricsDataModel.getPageDuration(TEST_PID).toInt()).isGreaterThan(0) in getPageDuration_getExistPageId_mustFoundValue()
70 assertThat(metricsDataModel.getPageDuration("WRONG_ID").toLong()).isEqualTo(0L) in getPageDuration_getNonExistPageId_valueShouldBeZero()
78 assertThat(metricsDataModel.getPageDuration(TEST_PID, false).toLong()).isGreaterThan(0L) in getPageDuration_getExistPageIdAndDonotRemoved_sizeShouldBeOne()
89 val duration1 = metricsDataModel.getPageDuration(TEST_PID).toLong() in getPageDuration_getTwoExistPageId_theOrderIsLIFO()
91 val duration2 = metricsDataModel.getPageDuration(TEST_PID).toLong() in getPageDuration_getTwoExistPageId_theOrderIsLIFO()
/packages/apps/Settings/src/com/android/settings/spa/core/instrumentation/
DMetricsDataModel.kt33 fun getPageDuration(pageId: String, removed: Boolean = true): String { in getPageDuration() method in com.android.settings.spa.core.instrumentation.MetricsDataModel
DSpaLogProvider.kt111 LogEvent.PAGE_LEAVE -> return dataModel.getPageDuration(id) in getValue()