Home
last modified time | relevance | path

Searched refs:mNotificationActionReceiver (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DWindowMagnificationPromptController.java66 BroadcastReceiver mNotificationActionReceiver; field in WindowMagnificationPromptController
155 if (mNotificationActionReceiver != null) { in registerReceiverIfNeeded()
158 mNotificationActionReceiver = new NotificationActionReceiver(); in registerReceiverIfNeeded()
162 mContext.registerReceiver(mNotificationActionReceiver, intentFilter, in registerReceiverIfNeeded()
184 if (mNotificationActionReceiver == null) { in unregisterReceiverIfNeeded()
187 mContext.unregisterReceiver(mNotificationActionReceiver); in unregisterReceiverIfNeeded()
188 mNotificationActionReceiver = null; in unregisterReceiverIfNeeded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuViewLayer.java144 private BroadcastReceiver mNotificationActionReceiver; field in MenuViewLayer
621 if (mNotificationActionReceiver != null) { in registerReceiverIfNeeded()
624 mNotificationActionReceiver = new MenuNotificationActionReceiver(); in registerReceiverIfNeeded()
628 getContext().registerReceiver(mNotificationActionReceiver, intentFilter, in registerReceiverIfNeeded()
633 if (mNotificationActionReceiver == null) { in unregisterReceiverIfNeeded()
636 getContext().unregisterReceiver(mNotificationActionReceiver); in unregisterReceiverIfNeeded()
637 mNotificationActionReceiver = null; in unregisterReceiverIfNeeded()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DWindowMagnificationPromptControllerTest.java177 mReceiver = mWindowMagnificationPromptController.mNotificationActionReceiver; in showNotificationAndAssert()