Searched refs:mPolicyWarningUIController (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | PolicyWarningUIControllerTest.java | 93 private PolicyWarningUIController mPolicyWarningUIController; field in PolicyWarningUIControllerTest 103 mPolicyWarningUIController = new PolicyWarningUIController( in setUp() 110 mPolicyWarningUIController.enableSendingNonA11yToolNotification(true); in setUp() 111 mPolicyWarningUIController.onSwitchUser(TEST_USER_ID, new HashSet<>()); in setUp() 130 mPolicyWarningUIController.enableSendingNonA11yToolNotification(false); in receiveActionSendNotification_sendNotificationDisabled_doNothing() 148 mPolicyWarningUIController.onSwitchUser(TEST_USER_ID, new HashSet<>()); in receiveActionSendNotificationWithNotifiedService_doNothing() 188 mPolicyWarningUIController.onEnabledServicesChanged(TEST_USER_ID, enabledServices); in onEnabledServicesChangedLocked_serviceDisabled_removedFromNotifiedSettings() 192 mPolicyWarningUIController.onEnabledServicesChanged(TEST_USER_ID, new HashSet<>()); in onEnabledServicesChangedLocked_serviceDisabled_removedFromNotifiedSettings() 200 mPolicyWarningUIController.onNonA11yCategoryServiceBound(TEST_USER_ID, TEST_COMPONENT_NAME); in onNonA11yCategoryServiceBound_setAlarm() 210 mPolicyWarningUIController.onNonA11yCategoryServiceUnbound(TEST_USER_ID, in onNonA11yCategoryServiceUnbound_cancelAlarm() [all …]
|
D | AccessibilitySecurityPolicyTest.java | 149 private PolicyWarningUIController mPolicyWarningUIController; field in AccessibilitySecurityPolicyTest 163 mPolicyWarningUIController, mContext, mMockA11yUserManager, in setUp() 628 verify(mPolicyWarningUIController).onNonA11yCategoryServiceBound(eq(TEST_USER_ID), in onBoundServicesChanged_nonA11yTool_invokeAction() 632 verify(mPolicyWarningUIController).onNonA11yCategoryServiceUnbound(eq(TEST_USER_ID), in onBoundServicesChanged_nonA11yTool_invokeAction() 645 verify(mPolicyWarningUIController, never()).onNonA11yCategoryServiceBound(anyInt(), any()); in onBoundServicesChanged_isA11yTool_noAction() 648 verify(mPolicyWarningUIController, never()).onNonA11yCategoryServiceUnbound(anyInt(), in onBoundServicesChanged_isA11yTool_noAction() 661 verify(mPolicyWarningUIController).onNonA11yCategoryServiceBound(eq(TEST_USER_ID), in onSwitchUser_oldUserHadAction_invokeActionForOldUser() 666 verify(mPolicyWarningUIController).onSwitchUser(eq(newUserId), eq(new HashSet<>())); in onSwitchUser_oldUserHadAction_invokeActionForOldUser() 667 verify(mPolicyWarningUIController).onNonA11yCategoryServiceUnbound(eq(TEST_USER_ID), in onSwitchUser_oldUserHadAction_invokeActionForOldUser() 675 verify(mPolicyWarningUIController).enableSendingNonA11yToolNotification(true); in enableSendingNonA11yToolNotificationLocked_propagateToPolicyWarningController()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilitySecurityPolicy.java | 109 private final PolicyWarningUIController mPolicyWarningUIController; field in AccessibilitySecurityPolicy 131 mPolicyWarningUIController = policyWarningUIController; in AccessibilitySecurityPolicy() 144 mPolicyWarningUIController.enableSendingNonA11yToolNotification(enable); in setSendingNonA11yToolNotificationLocked() 148 mPolicyWarningUIController.onNonA11yCategoryServiceBound(mCurrentUserId, service); in setSendingNonA11yToolNotificationLocked() 739 mPolicyWarningUIController.onNonA11yCategoryServiceBound(userId, service); in onBoundServicesChangedLocked() 747 mPolicyWarningUIController.onNonA11yCategoryServiceUnbound(userId, service); in onBoundServicesChangedLocked() 764 mPolicyWarningUIController.onSwitchUser(userId, in onSwitchUserLocked() 768 mPolicyWarningUIController.onNonA11yCategoryServiceUnbound(mCurrentUserId, in onSwitchUserLocked() 785 mPolicyWarningUIController.onEnabledServicesChanged(userId, in onEnabledServicesChangedLocked()
|