/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/utils/ |
D | ManagedServiceSettings.java | 57 private ServiceListing mServiceListing; field in ManagedServiceSettings 74 mServiceListing = new ServiceListing.Builder(mContext) in onCreate() 81 mServiceListing.addCallback(this::updateList); in onCreate() 95 mServiceListing.reload(); in onResume() 96 mServiceListing.setListening(true); in onResume() 105 mServiceListing.setListening(false); in onPause() 166 return mServiceListing.isEnabled(cn); in isServiceEnabled() 172 mServiceListing.setEnabled(service, false); in setEnabled() 175 if (mServiceListing.isEnabled(service)) { in setEnabled() 187 mServiceListing.setEnabled(service, true); in enable()
|
/packages/apps/Settings/src/com/android/settings/utils/ |
D | ManagedServiceSettings.java | 57 private ServiceListing mServiceListing; field in ManagedServiceSettings 74 mServiceListing = new ServiceListing.Builder(mContext) in onCreate() 81 mServiceListing.addCallback(this::updateList); in onCreate() 95 mServiceListing.reload(); in onResume() 96 mServiceListing.setListening(true); in onResume() 105 mServiceListing.setListening(false); in onPause() 166 return mServiceListing.isEnabled(cn); in isServiceEnabled() 172 mServiceListing.setEnabled(service, false); in setEnabled() 175 if (mServiceListing.isEnabled(service)) { in setEnabled() 187 mServiceListing.setEnabled(service, true); in enable()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/ |
D | NotificationAccess.java | 55 private ServiceListing mServiceListing; field in NotificationAccess 74 mServiceListing = new ServiceListing.Builder(getContext()) in onCreate() 81 mServiceListing.addCallback(this::updateList); in onCreate() 87 mServiceListing.reload(); in onResume() 88 mServiceListing.setListening(true); in onResume() 94 mServiceListing.setListening(false); in onPause()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/ |
D | NotificationAccessPreferenceController.java | 66 private final ServiceListing mServiceListing; field in NotificationAccessPreferenceController 86 mServiceListing = new ServiceListing.Builder(context) in NotificationAccessPreferenceController() 116 mServiceListing.addCallback(mCallback); in onCreateInternal() 121 mServiceListing.reload(); in onStartInternal() 122 mServiceListing.setListening(true); in onStartInternal() 127 mServiceListing.setListening(false); in onStopInternal() 132 mServiceListing.removeCallback(mCallback); in onDestroyInternal()
|
/packages/apps/Settings/src/com/android/settings/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 | 55 private ServiceListing mServiceListing; field in NotificationAssistantPicker 62 mServiceListing = new ServiceListing.Builder(context) in onAttach() 69 mServiceListing.addCallback(this); in onAttach() 70 mServiceListing.reload(); in onAttach() 76 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/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 | 55 private ServiceListing mServiceListing; field in NotificationAssistantPicker 62 mServiceListing = new ServiceListing.Builder(context) in onAttach() 69 mServiceListing.addCallback(this); in onAttach() 70 mServiceListing.reload(); in onAttach() 76 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()
|