Searched refs:getAccessCount (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/appop/src/android/app/appops/cts/ |
D | HistoricalAppopsTest.kt | 423 assertThat(getAccessCount(op, AppOpsManager.UID_STATE_PERSISTENT)).isEqualTo(0) in <lambda>() 424 assertThat(getAccessCount(op, AppOpsManager.UID_STATE_TOP)).isEqualTo(noteCount) in <lambda>() 425 assertThat(getAccessCount(op, AppOpsManager.UID_STATE_FOREGROUND_SERVICE_LOCATION)) in <lambda>() 427 assertThat(getAccessCount(op, AppOpsManager.UID_STATE_FOREGROUND_SERVICE)) in <lambda>() 429 assertThat(getAccessCount(op, AppOpsManager.UID_STATE_FOREGROUND)).isEqualTo(0) in <lambda>() 430 assertThat(getAccessCount(op, AppOpsManager.UID_STATE_BACKGROUND)).isEqualTo(0) in <lambda>() 431 assertThat(getAccessCount(op, AppOpsManager.UID_STATE_CACHED)).isEqualTo(0) in <lambda>() 572 private fun getAccessCount(op: HistoricalOp, uidState: Int): Long { in <lambda>() method in android.app.appops.cts.HistoricalAppopsTest 573 return op.getAccessCount(uidState, uidState, AppOpsManager.OP_FLAGS_ALL) in <lambda>()
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerApi29Test.java | 296 assertEquals(NOTEOP_COUNT, hOp.getAccessCount(UID_STATE_TOP, in testAppOpsHistoricalOps()
|