Home
last modified time | relevance | path

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

/frameworks/base/tests/TrustTests/src/android/trust/
DBaseTrustAgentService.kt25 abstract class BaseTrustAgentService : TrustAgentService() { class
40 mutableMapOf<KClass<out BaseTrustAgentService>, BaseTrustAgentService>()
43 fun instance(serviceClass: KClass<out BaseTrustAgentService>): BaseTrustAgentService? { in instance()
/frameworks/base/tests/TrustTests/src/android/trust/test/lib/
DTrustAgentRule.kt22 import android.trust.BaseTrustAgentService
40 class TrustAgentRule<T : BaseTrustAgentService>(
49 val agent get() = BaseTrustAgentService.instance(serviceClass) as T
104 BaseTrustAgentService.instance(serviceClass) != null in verifyAgentIsRunning()
110 BaseTrustAgentService.instance(serviceClass) == null in ensureAgentIsNotRunning()
137 inline operator fun <reified T : BaseTrustAgentService> invoke(
/frameworks/base/tests/TrustTests/src/android/trust/test/
DUserUnlockRequestTest.kt20 import android.trust.BaseTrustAgentService
98 class UserUnlockRequestTrustAgent : BaseTrustAgentService() { in await()
DIsActiveUnlockRunningTest.kt22 import android.trust.BaseTrustAgentService
131 class IsActiveUnlockRunningTrustAgent : BaseTrustAgentService()
DTemporaryAndRenewableTrustTest.kt22 import android.trust.BaseTrustAgentService
158 class TemporaryAndRenewableTrustAgent : BaseTrustAgentService()
DGrantAndRevokeTrustTest.kt24 import android.trust.BaseTrustAgentService
156 class GrantAndRevokeTrustAgent : BaseTrustAgentService()
DUnlockAttemptTest.kt20 import android.trust.BaseTrustAgentService in <lambda>()
174 class UnlockAttemptTrustAgent : BaseTrustAgentService() {
/frameworks/base/tests/TrustTests/
DREADME.md12 1. Create a new class extending from `BaseTrustAgentService` class in your test file