Home
last modified time | relevance | path

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

/cts/tests/tests/appop/src/android/app/appops/cts/
DHistoricalAppopsTest.kt435 assertThat(op.getAccessDuration(AppOpsManager.UID_STATE_TOP, in <lambda>()
438 assertThat(getAccessDuration(op, AppOpsManager.UID_STATE_PERSISTENT)).isEqualTo(0) in <lambda>()
439 assertThat(getAccessDuration(op, AppOpsManager.UID_STATE_TOP)).isEqualTo(0) in <lambda>()
440 assertThat(getAccessDuration(op, AppOpsManager.UID_STATE_FOREGROUND_SERVICE_LOCATION)) in <lambda>()
442 assertThat(getAccessDuration(op, AppOpsManager.UID_STATE_FOREGROUND_SERVICE)) in <lambda>()
444 assertThat(getAccessDuration(op, AppOpsManager.UID_STATE_FOREGROUND)).isEqualTo(0) in <lambda>()
445 assertThat(getAccessDuration(op, AppOpsManager.UID_STATE_BACKGROUND)).isEqualTo(0) in <lambda>()
446 assertThat(getAccessDuration(op, AppOpsManager.UID_STATE_CACHED)).isEqualTo(0) in <lambda>()
580 private fun getAccessDuration(op: HistoricalOp, uidState: Int): Long { in <lambda>() method in android.app.appops.cts.HistoricalAppopsTest
581 return op.getAccessDuration(uidState, uidState, AppOpsManager.OP_FLAGS_ALL) in <lambda>()