/packages/apps/Settings/src/com/android/settings/utils/ |
D | ManagedServiceSettings.java | 56 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/utils/ |
D | ManagedServiceSettings.java | 56 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/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/ |
D | NotificationAccess.java | 56 private ServiceListing mServiceListing; field in NotificationAccess 75 mServiceListing = new ServiceListing.Builder(getContext()) in onCreate() 82 mServiceListing.addCallback(this::updateList); in onCreate() 88 mServiceListing.reload(); in onResume() 89 mServiceListing.setListening(true); in onResume() 95 mServiceListing.setListening(false); in onPause()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/ |
D | NotificationAccessPreferenceController.java | 65 private final ServiceListing mServiceListing; field in NotificationAccessPreferenceController 84 mServiceListing = new ServiceListing.Builder(context) in NotificationAccessPreferenceController() 119 mServiceListing.addCallback(mCallback); in onCreateInternal() 124 mServiceListing.reload(); in onStartInternal() 125 mServiceListing.setListening(true); in onStartInternal() 130 mServiceListing.setListening(false); in onStopInternal() 135 mServiceListing.removeCallback(mCallback); in onDestroyInternal()
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenRuleSelectionDialog.java | 55 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()
|
D | ZenRulePreference.java | 49 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | ZenRuleSelectionDialog.java | 55 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()
|
D | NotificationAssistantPicker.java | 53 private ServiceListing mServiceListing; field in NotificationAssistantPicker 60 mServiceListing = new ServiceListing.Builder(context) in onAttach() 67 mServiceListing.addCallback(this); in onAttach() 68 mServiceListing.reload(); in onAttach() 74 mServiceListing.removeCallback(this); in onDetach()
|
D | ZenRulePreference.java | 49 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/ |
D | NotificationAccessSettings.java | 77 private ServiceListing mServiceListing; field in NotificationAccessSettings 88 mServiceListing = new ServiceListing.Builder(mContext) in onCreate() 95 mServiceListing.addCallback(this::updateList); in onCreate() 115 mServiceListing.reload(); in onResume() 116 mServiceListing.setListening(true); in onResume() 122 mServiceListing.setListening(false); in onPause()
|
D | NotificationAssistantPicker.java | 51 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()
|