Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/utils/
DManagedServiceSettings.java56 private ServiceListing mServiceListing; field in ManagedServiceSettings
73 mServiceListing = new ServiceListing.Builder(mContext) in onCreate()
80 mServiceListing.addCallback(this::updateList); in onCreate()
93 mServiceListing.reload(); in onResume()
94 mServiceListing.setListening(true); in onResume()
100 mServiceListing.setListening(false); in onPause()
161 return mServiceListing.isEnabled(cn); in isServiceEnabled()
167 mServiceListing.setEnabled(service, false); in setEnabled()
170 if (mServiceListing.isEnabled(service)) { in setEnabled()
182 mServiceListing.setEnabled(service, true); in enable()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/
DNotificationAccessPreferenceController.java66 private final ServiceListing mServiceListing; field in NotificationAccessPreferenceController
85 mServiceListing = new ServiceListing.Builder(context) in NotificationAccessPreferenceController()
120 mServiceListing.addCallback(mCallback); in onCreateInternal()
125 mServiceListing.reload(); in onStartInternal()
126 mServiceListing.setListening(true); in onStartInternal()
131 mServiceListing.setListening(false); in onStopInternal()
136 mServiceListing.removeCallback(mCallback); in onDestroyInternal()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
DNotificationAccess.java59 private ServiceListing mServiceListing; field in NotificationAccess
73 mServiceListing = new ServiceListing.Builder(getContext()) in onCreate()
80 mServiceListing.addCallback(this::updateList); in onCreate()
86 mServiceListing.reload(); in onResume()
87 mServiceListing.setListening(true); in onResume()
93 mServiceListing.setListening(false); in onPause()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenRuleSelectionDialog.java55 private static ZenServiceListing mServiceListing; field in ZenRuleSelectionDialog
82 mServiceListing = serviceListing; in show()
95 if (mServiceListing != null) { in onCreateDialog()
98 mServiceListing.addZenCallback(mServiceListingCallback); in onCreateDialog()
99 mServiceListing.reloadApprovedServices(); in onCreateDialog()
111 if (mServiceListing != null) { in onDismiss()
112 mServiceListing.removeZenCallback(mServiceListingCallback); in onDismiss()
DZenRulePreference.java49 final ZenServiceListing mServiceListing; field in ZenRulePreference
71 mServiceListing = new ZenServiceListing(mContext, CONFIG); in ZenRulePreference()
72 mServiceListing.reloadApprovedServices(); in ZenRulePreference()
169 ComponentInfo si = mServiceListing.findService(rule.getOwner()); in setAttributes()
/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.java83 private ServiceListing mServiceListing; field in NotificationAccessSettings
95 mServiceListing = new ServiceListing.Builder(mContext) in onCreate()
102 mServiceListing.addCallback(this::updateList); in onCreate()
121 mServiceListing.reload(); in onResume()
122 mServiceListing.setListening(true); in onResume()
128 mServiceListing.setListening(false); in onPause()