Home
last modified time | relevance | path

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

/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAbstractAccessibilityServiceConnection.java284 if (!mSecurityPolicy.checkAccessibilityAccess(this)) { in onKeyEvent()
401 if (!mSecurityPolicy.checkAccessibilityAccess(this)) { in getWindows()
442 if (!mSecurityPolicy.checkAccessibilityAccess(this)) { in getWindow()
490 if (!mSecurityPolicy.checkAccessibilityAccess(this)) { in findAccessibilityNodeInfosByViewId()
551 if (!mSecurityPolicy.checkAccessibilityAccess(this)) { in findAccessibilityNodeInfosByText()
612 if (!mSecurityPolicy.checkAccessibilityAccess(this)) { in findAccessibilityNodeInfoByAccessibilityId()
673 if (!mSecurityPolicy.checkAccessibilityAccess(this)) { in findFocus()
733 if (!mSecurityPolicy.checkAccessibilityAccess(this)) { in focusSearch()
784 if (!mSecurityPolicy.checkAccessibilityAccess(this)) { in performAccessibilityAction()
1003 if (!mSecurityPolicy.checkAccessibilityAccess(this)) { in takeScreenshot()
[all …]
DAccessibilitySecurityPolicy.java538 public boolean checkAccessibilityAccess(AbstractAccessibilityServiceConnection service) { in checkAccessibilityAccess() method in AccessibilitySecurityPolicy
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAbstractAccessibilityServiceConnectionTest.java235 when(mMockSecurityPolicy.checkAccessibilityAccess(mServiceConnection)).thenReturn(true); in setup()
314 when(mMockSecurityPolicy.checkAccessibilityAccess(mServiceConnection)).thenReturn(false); in getWindows_returnNull()
341 when(mMockSecurityPolicy.checkAccessibilityAccess(mServiceConnection)).thenReturn(false); in getWindow_returnNull()
378 when(mMockSecurityPolicy.checkAccessibilityAccess(mServiceConnection)).thenReturn(false); in accessAccessibilityNodeInfo_whenNoA11yAccess_returnNullOrFalse()
718 when(mMockSecurityPolicy.checkAccessibilityAccess(mServiceConnection)).thenReturn(false); in takeScreenshot_NoA11yAccess_returnErrorCode()
732 when(mMockSecurityPolicy.checkAccessibilityAccess(mServiceConnection)).thenReturn(true); in takeScreenshot_invalidDisplay_returnErrorCode()
DAccessibilitySecurityPolicyTest.java568 mA11ySecurityPolicy.checkAccessibilityAccess(mMockA11yServiceConnection); in checkAccessibilityAccess_shouldCheckAppOps()
/frameworks/base/services/
Dart-profile4407 HPLcom/android/server/accessibility/AccessibilitySecurityPolicy;->checkAccessibilityAccess(Lcom/and…