Searched refs:canRetrieveWindowsLocked (Results 1 – 5 of 5) sorted by relevance
236 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()
364 assertFalse(mA11ySecurityPolicy.canRetrieveWindowsLocked(mMockA11yServiceConnection)); in canRetrieveWindows_retrieveWindowsFlagIsFalse_returnFalse()373 assertTrue(mA11ySecurityPolicy.canRetrieveWindowsLocked(mMockA11yServiceConnection)); in canRetrieveWindows_hasCapabilityAndRetrieveWindowsFlag_returnTrue()
283 public boolean canRetrieveWindowsLocked( in canRetrieveWindowsLocked() method in AccessibilitySecurityPolicy
397 mSecurityPolicy.canRetrieveWindowsLocked(this); in getWindows()438 mSecurityPolicy.canRetrieveWindowsLocked(this); in getWindow()
4406 PLcom/android/server/accessibility/AccessibilitySecurityPolicy;->canRetrieveWindowsLocked(Lcom/andr…