Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/
DCarBugreportManagerService.java103 final AtomicBoolean mIsServiceRunning = new AtomicBoolean(false); field in CarBugreportManagerService
130 mIsServiceRunning.set(false); in release()
142 if (mIsServiceRunning.getAndSet(true)) { in requestBugreport()
159 if (!mIsServiceRunning.getAndSet(false)) { in cancelBugreport()
241 mIsServiceRunning.set(false); in requestBugReportLocked()
253 mIsServiceRunning.set(false); in requestBugReportLocked()
320 while (mIsServiceRunning.get() && (line = reader.readLine()) != null) { in processBugreportSockets()
402 if (!mIsServiceRunning.get()) { in connectSocket()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarBugreportManagerServiceTest.java135 assertThat(mService.mIsServiceRunning.get()).isFalse(); in test_requestBugreport_failsWhenBugreportServiceCannotStart()
153 assertThat(mService.mIsServiceRunning.get()).isFalse(); in test_requestBugreport_bugreportServiceCannotStart_reportErrorFails()
181 assertThat(mService.mIsServiceRunning.get()).isTrue(); in test_requestBugreport_nonUserBuild_success()
194 assertThat(mService.mIsServiceRunning.get()).isTrue(); in test_requestBugreport_success()