Home
last modified time | relevance | path

Searched refs:mServiceEnabled (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/service/src/com/android/car/cluster/
DClusterHomeService.java78 private boolean mServiceEnabled; field in ClusterHomeService
118 mServiceEnabled = true; in init()
277 if (!mServiceEnabled) throw new IllegalStateException("Service is not enabled"); in reportState()
287 if (!mServiceEnabled) throw new IllegalStateException("Service is not enabled"); in requestDisplay()
296 if (!mServiceEnabled) throw new IllegalStateException("Service is not enabled"); in startFixedActivityModeAsUser()
312 if (!mServiceEnabled) throw new IllegalStateException("Service is not enabled"); in stopFixedActivityMode()
324 if (!mServiceEnabled) throw new IllegalStateException("Service is not enabled"); in registerCallback()
332 if (!mServiceEnabled) throw new IllegalStateException("Service is not enabled"); in unregisterCallback()
341 if (!mServiceEnabled) throw new IllegalStateException("Service is not enabled"); in getClusterState()
/packages/apps/Settings/src/com/android/settings/print/
DPrintServiceSettingsFragment.java113 private boolean mServiceEnabled; field in PrintServiceSettingsFragment
137 mServiceEnabled = getArguments().getBoolean(PrintSettingsFragment.EXTRA_CHECKED); in onCreateView()
220 if (mServiceEnabled) { in updateUiForServiceState()
301 mServiceEnabled = service.isEnabled(); in onLoadFinished()
355 if (mServiceEnabled && mAddPrintersIntent != null) { in onCreateOptionsMenu()
362 if (mServiceEnabled && mSettingsIntent != null) { in onCreateOptionsMenu()
369 if (mServiceEnabled && mPrintersAdapter.getUnfilteredCount() > 0) { in onCreateOptionsMenu()