Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAbstractAccessibilityServiceConnectionTest.java256 when(mMockSecurityPolicy.canRetrieveWindowsLocked(mServiceConnection)).thenReturn(true); in setup()
360 when(mMockSecurityPolicy.canRetrieveWindowsLocked(mServiceConnection)).thenReturn(false); in getWindows_returnNull()
364 when(mMockSecurityPolicy.canRetrieveWindowsLocked(mServiceConnection)).thenReturn(true); in getWindows_returnNull()
387 when(mMockSecurityPolicy.canRetrieveWindowsLocked(mServiceConnection)).thenReturn(false); in getWindow_returnNull()
391 when(mMockSecurityPolicy.canRetrieveWindowsLocked(mServiceConnection)).thenReturn(true); in getWindow_returnNull()
DAccessibilitySecurityPolicyTest.java396 assertFalse(mA11ySecurityPolicy.canRetrieveWindowsLocked(mMockA11yServiceConnection)); in canRetrieveWindows_retrieveWindowsFlagIsFalse_returnFalse()
405 assertTrue(mA11ySecurityPolicy.canRetrieveWindowsLocked(mMockA11yServiceConnection)); in canRetrieveWindows_hasCapabilityAndRetrieveWindowsFlag_returnTrue()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilitySecurityPolicy.java330 public boolean canRetrieveWindowsLocked( in canRetrieveWindowsLocked() method in AccessibilitySecurityPolicy
DAbstractAccessibilityServiceConnection.java581 mSecurityPolicy.canRetrieveWindowsLocked(this); in getWindows()
637 mSecurityPolicy.canRetrieveWindowsLocked(this); in getWindow()
/frameworks/base/services/
Dart-wear-profile3464 PLcom/android/server/accessibility/AccessibilitySecurityPolicy;->canRetrieveWindowsLocked(Lcom/andr…