Home
last modified time | relevance | path

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

/packages/modules/ExtServices/tests/src/android/ext/services/watchdog/
DExplicitHealthCheckServiceImplUnitTest.java86 getService().mSupportedCheckers.clear(); in tearDown()
101 assertThat(service.mSupportedCheckers).hasSize(0); in testInitHealthCheckersWhileNoResolveInfo()
112 assertThat(service.mSupportedCheckers).hasSize(0); in testInitHealthCheckersWhileApplicationInfoFlagNotSystem()
123 assertThat(service.mSupportedCheckers).hasSize(1); in testInitHealthCheckersWhileHasResolveInfoAndFlagIsSystem()
124 assertThat(service.mSupportedCheckers.get("pkg").getSupportedPackageName()) in testInitHealthCheckersWhileHasResolveInfoAndFlagIsSystem()
135 assertThat(service.mSupportedCheckers.get("pkg").isPending()).isFalse(); in testOnRequestHealthCheck()
139 assertThat(service.mSupportedCheckers.get("pkg").isPending()).isTrue(); in testOnRequestHealthCheck()
152 assertThat(service.mSupportedCheckers.get("pkg").isPending()).isFalse(); in testOnCancelHealthCheck()
/packages/modules/ExtServices/src/android/ext/services/watchdog/
DExplicitHealthCheckServiceImpl.java52 final Map<String, ExplicitHealthChecker> mSupportedCheckers = new ConcurrentHashMap<>(); field in ExplicitHealthCheckServiceImpl
62 ExplicitHealthChecker checker = mSupportedCheckers.get(packageName); in onRequestHealthCheck()
73 ExplicitHealthChecker checker = mSupportedCheckers.get(packageName); in onCancelHealthCheck()
92 for (ExplicitHealthChecker checker : mSupportedCheckers.values()) { in onGetSupportedPackages()
103 Iterator<ExplicitHealthChecker> it = mSupportedCheckers.values().iterator(); in onGetRequestedPackages()
122 mSupportedCheckers.put(networkStackPackageName, in initHealthCheckers()