Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/privacysources/
DAccessibilitySourceServiceTest.kt105 val a11yService = ComponentName("com.test.package", "AccessibilityService") in markServiceAsNotified() constant
106 runBlocking { accessibilitySourceService.markServiceAsNotified(a11yService) } in markServiceAsNotified()
110 assertThat(storedServices.iterator().next()).isEqualTo(a11yService.flattenToShortString()) in markServiceAsNotified()
138 val a11yService = ComponentName("com.test.package", "AccessibilityService") in removeNotifiedService() constant
141 val allServices = listOf(a11yService, a11yService2, a11yService3) in removeNotifiedService()
148 val expectedServices = listOf(a11yService, a11yService3) in removeNotifiedService()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/privacysources/
DAccessibilitySourceService.kt277 a11yService: AccessibilityServiceInfo, in createSafetySourceIssue()
280 val componentName = ComponentName.unflattenFromString(a11yService.id)!! in createSafetySourceIssue()
282 val pkgLabel = a11yService.resolveInfo.loadLabel(packageManager).toString() in createSafetySourceIssue()
283 val uid = a11yService.resolveInfo.serviceInfo.applicationInfo.uid in createSafetySourceIssue()
755 val a11yService: ComponentName = in onReceive() constant
770 AccessibilitySettingsUtil.disableAccessibilityService(context, a11yService) in onReceive()
771 accessibilityService.removeFromNotifiedServices(a11yService) in onReceive()
774 it.id != a11yService.flattenToShortString() in onReceive()
970 .map { a11yService -> in onAccessibilityServicesStateChanged() method
971 ComponentName.unflattenFromString(a11yService.id)!! in onAccessibilityServicesStateChanged()