Home
last modified time | relevance | path

Searched refs:mServiceListing (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/src/com/android/settings/utils/
DManagedServiceSettings.java58 private ServiceListing mServiceListing; field in ManagedServiceSettings
75 mServiceListing = new ServiceListing.Builder(mContext) in onCreate()
82 mServiceListing.addCallback(this::updateList); in onCreate()
95 mServiceListing.reload(); in onResume()
96 mServiceListing.setListening(true); in onResume()
102 mServiceListing.setListening(false); in onPause()
171 return mServiceListing.isEnabled(cn); in isServiceEnabled()
177 mServiceListing.setEnabled(service, false); in setEnabled()
180 if (mServiceListing.isEnabled(service)) { in setEnabled()
192 mServiceListing.setEnabled(service, true); in enable()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
DNotificationAccess.java61 private ServiceListing mServiceListing; field in NotificationAccess
75 mServiceListing = new ServiceListing.Builder(getContext()) in onCreate()
88 mServiceListing.addCallback(this::updateList); in onCreate()
94 mServiceListing.reload(); in onResume()
95 mServiceListing.setListening(true); in onResume()
101 mServiceListing.setListening(false); in onPause()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/specialaccess/
DNotificationAccessState.java59 private ServiceListing mServiceListing; field in NotificationAccessState
79 mServiceListing = new ServiceListing.Builder(mContext) in onCreate()
92 mServiceListing.addCallback(this::updateList); in onCreate()
153 mServiceListing.reload(); in onResume()
154 mServiceListing.setListening(true); in onResume()
160 mServiceListing.setListening(false); in onPause()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationAssistantPicker.java51 private ServiceListing mServiceListing; field in NotificationAssistantPicker
58 mServiceListing = new ServiceListing.Builder(context) in onAttach()
65 mServiceListing.addCallback(this); in onAttach()
66 mServiceListing.reload(); in onAttach()
72 mServiceListing.removeCallback(this); in onDetach()
DNotificationAccessSettings.java87 private ServiceListing mServiceListing; field in NotificationAccessSettings
99 mServiceListing = new ServiceListing.Builder(mContext) in onCreate()
106 mServiceListing.addCallback(this::updateList); in onCreate()
127 mServiceListing.reload(); in onResume()
128 mServiceListing.setListening(true); in onResume()
134 mServiceListing.setListening(false); in onPause()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/
DNotificationAccessPreferenceController.java69 private final ServiceListing mServiceListing; field in NotificationAccessPreferenceController
99 mServiceListing = new ServiceListing.Builder(context) in NotificationAccessPreferenceController()
138 mServiceListing.addCallback(mCallback); in onCreateInternal()
143 mServiceListing.reload(); in onStartInternal()
144 mServiceListing.setListening(true); in onStartInternal()
149 mServiceListing.setListening(false); in onStopInternal()
154 mServiceListing.removeCallback(mCallback); in onDestroyInternal()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenRuleSelectionDialog.java61 private static ZenServiceListing mServiceListing; field in ZenRuleSelectionDialog
88 mServiceListing = serviceListing; in show()
101 if (mServiceListing != null) { in onCreateDialog()
104 mServiceListing.addZenCallback(mServiceListingCallback); in onCreateDialog()
105 mServiceListing.reloadApprovedServices(); in onCreateDialog()
117 if (mServiceListing != null) { in onDismiss()
118 mServiceListing.removeZenCallback(mServiceListingCallback); in onDismiss()
DZenRulePreference.java53 final ZenServiceListing mServiceListing; field in ZenRulePreference
76 mServiceListing = new ZenServiceListing(mContext, CONFIG); in ZenRulePreference()
77 mServiceListing.reloadApprovedServices(); in ZenRulePreference()
127 ComponentInfo si = mServiceListing.findService(rule.getOwner()); in setAttributes()
/packages/apps/Settings/src/com/android/settings/notification/modes/
DZenModesListAddModePreferenceController.java31 private final ZenServiceListing mServiceListing; field in ZenModesListAddModePreferenceController
37 mServiceListing = serviceListing; in ZenModesListAddModePreferenceController()