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.java236 when(mMockSecurityPolicy.canRetrieveWindowsLocked(mServiceConnection)).thenReturn(true); in setup()
309 when(mMockSecurityPolicy.canRetrieveWindowsLocked(mServiceConnection)).thenReturn(false); in getWindows_returnNull()
313 when(mMockSecurityPolicy.canRetrieveWindowsLocked(mServiceConnection)).thenReturn(true); in getWindows_returnNull()
336 when(mMockSecurityPolicy.canRetrieveWindowsLocked(mServiceConnection)).thenReturn(false); in getWindow_returnNull()
340 when(mMockSecurityPolicy.canRetrieveWindowsLocked(mServiceConnection)).thenReturn(true); in getWindow_returnNull()
DAccessibilitySecurityPolicyTest.java364 assertFalse(mA11ySecurityPolicy.canRetrieveWindowsLocked(mMockA11yServiceConnection)); in canRetrieveWindows_retrieveWindowsFlagIsFalse_returnFalse()
373 assertTrue(mA11ySecurityPolicy.canRetrieveWindowsLocked(mMockA11yServiceConnection)); in canRetrieveWindows_hasCapabilityAndRetrieveWindowsFlag_returnTrue()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilitySecurityPolicy.java283 public boolean canRetrieveWindowsLocked( in canRetrieveWindowsLocked() method in AccessibilitySecurityPolicy
DAbstractAccessibilityServiceConnection.java397 mSecurityPolicy.canRetrieveWindowsLocked(this); in getWindows()
438 mSecurityPolicy.canRetrieveWindowsLocked(this); in getWindow()
/frameworks/base/services/
Dart-profile4406 PLcom/android/server/accessibility/AccessibilitySecurityPolicy;->canRetrieveWindowsLocked(Lcom/andr…