Home
last modified time | relevance | path

Searched refs:mStarted (Results 1 – 25 of 33) sorted by relevance

12

/packages/modules/StatsD/statsd/src/metrics/duration_helper/
DOringDurationTracker.cpp35 mStarted(), in OringDurationTracker()
65 if (mStarted.size() == 0) { in noteStart()
70 mStarted[key]++; in noteStart()
84 auto it = mStarted.find(key); in noteStop()
85 if (it != mStarted.end()) { in noteStop()
88 mStarted.erase(it); in noteStop()
91 if (mStarted.empty()) { in noteStop()
111 if (mStarted.empty()) { in noteStop()
117 if (!mStarted.empty()) { in noteStopAll()
129 mStarted.clear(); in noteStopAll()
[all …]
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/
DAudioClock.java30 private boolean mStarted; field in AudioClock
46 if (!mStarted) { in start()
47 mStarted = true; in start()
55 if (mStarted) { in stop()
57 mStarted = false; in stop()
70 if (!mStarted) { in getPositionUs()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DAlwaysDiscoverable.java40 boolean mStarted; field in AlwaysDiscoverable
52 if (mStarted) { in start()
56 mStarted = true; in start()
64 if (!mStarted) { in stop()
68 mStarted = false; in stop()
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
DDiscovery.java51 private boolean mStarted = false; field in Discovery
92 return mStarted; in isStarted()
114 if (!mStarted) { in start()
115 mStarted = true; in start()
124 if (mStarted) { in stop()
125 mStarted = false; in stop()
/packages/apps/TV/src/com/android/tv/recommendation/
DRecommendationDataManager.java76 private boolean mStarted; field in RecommendationDataManager
138 if (!mStarted) {
162 if (!mStarted) {
268 if (!mStarted) { in onStart()
269 mStarted = true; in onStart()
301 mStarted = false; in onStop()
550 if (dataManager.mStarted) { in handleMessage()
555 if (dataManager.mStarted) { in handleMessage()
560 if (dataManager.mStarted) { in handleMessage()
565 if (dataManager.mStarted) { in handleMessage()
[all …]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
DTestJob.java37 private boolean mStarted; field in TestJob
51 mStarted = true; in start()
57 assertTrue(mStarted); in assertStarted()
61 assertFalse(mStarted); in assertNotStarted()
81 double completed = mStarted ? 1F : 0F; in getProgressNotification()
/packages/services/Car/service/src/com/android/car/pm/
DVendorServiceController.java276 private boolean mStarted = false; field in VendorServiceController.VendorServiceConnection
300 if (mStarted || mBound) { in startOrBindService()
315 mStarted = mContext.startForegroundServiceAsUser(intent, mUser) != null; in startOrBindService()
316 return mStarted; in startOrBindService()
318 mStarted = mContext.startServiceAsUser(intent, mUser) != null; in startOrBindService()
319 return mStarted; in startOrBindService()
325 if (mStarted) { in stopOrUnbindService()
327 mStarted = false; in stopOrUnbindService()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothScanningDevicesGroupPreferenceController.java152 private boolean mStarted; field in BluetoothScanningDevicesGroupPreferenceController.AlwaysDiscoverable
165 if (mStarted) { in start()
169 mStarted = true; in start()
174 if (!mStarted) { in stop()
178 mStarted = false; in stop()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DConnectivityListener.java63 private boolean mStarted; field in ConnectivityListener
127 if (!mStarted && mWifiTracker != null) { in start()
135 if (!mStarted) { in onStart()
136 mStarted = true; in onStart()
162 if (mStarted && mWifiTracker != null) { in stop()
170 if (mStarted) { in onStop()
171 mStarted = false; in onStop()
/packages/apps/TV/src/com/android/tv/util/
DTvInputManagerHelper.java294 private boolean mStarted; field in TvInputManagerHelper
347 if (mStarted) { in start()
351 mStarted = true; in start()
363 if (!mStarted) { in stop()
368 mStarted = false; in stop()
514 mStarted, TAG, "hasTvInputInfo() called before TvInputManagerHelper was started."); in hasTvInputInfo()
515 return mStarted && !TextUtils.isEmpty(inputId) && mInputMap.get(inputId) != null; in hasTvInputInfo()
527 mStarted, TAG, "getTvInputInfo() called before TvInputManagerHelper was started."); in getTvInputInfoCompat()
528 if (!mStarted) { in getTvInputInfoCompat()
565 SoftPreconditions.checkState(mStarted, TAG, "AvailabilityManager not started"); in getInputState()
[all …]
/packages/apps/TV/src/com/android/tv/dvr/recorder/
DConflictChecker.java132 private boolean mStarted; field in ConflictChecker
144 if (mStarted) { in start()
147 mStarted = true; in start()
155 if (!mStarted) { in stop()
158 mStarted = false; in stop()
DSeriesRecordingScheduler.java96 private boolean mStarted; field in SeriesRecordingScheduler
225 if (mStarted) { in start()
229 mStarted = true; in start()
238 if (!mStarted) { in stop()
242 mStarted = false; in stop()
279 if (!mStarted) { in pauseUpdate()
297 if (!mStarted) { in resumeUpdate()
321 if (!mStarted) { in updateSchedules()
/packages/apps/TV/src/com/android/tv/
DSetupPassthroughActivity.java237 private boolean mStarted; field in SetupPassthroughActivity.ScanTimeoutMonitor
245 if (!mStarted) { in startMonitoring()
246 mStarted = true; in startMonitoring()
255 if (mStarted) { in stopMonitoring()
256 mStarted = false; in stopMonitoring()
DChannelTuner.java46 private boolean mStarted; field in ChannelTuner
94 if (mStarted) { in start()
97 mStarted = true; in start()
106 if (!mStarted) { in stop()
109 mStarted = false; in stop()
/packages/services/Car/service/src/com/android/car/
DFastPairProvider.java49 private boolean mStarted; field in FastPairProvider
151 mStarted = true; in start()
158 if (mStarted) { in stop()
160 mStarted = false; in stop()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DAlwaysDiscoverableTest.java53 assertThat(mAlwaysDiscoverable.mStarted).isFalse(); in isStartedWithoutStart()
59 assertThat(mAlwaysDiscoverable.mStarted).isTrue(); in isStartedWithStart()
66 assertThat(mAlwaysDiscoverable.mStarted).isFalse(); in isStartedWithStartStop()
/packages/apps/Settings/src/com/android/settings/notification/app/
DHeaderPreferenceController.java45 private boolean mStarted = false; field in HeaderPreferenceController
72 if (mStarted) { in updateState()
110 mStarted = true; in onStart()
DConversationHeaderPreferenceController.java45 private boolean mStarted = false; field in ConversationHeaderPreferenceController
72 if (mStarted) { in updateState()
124 mStarted = true; in onStart()
/packages/apps/TV/tests/robotests/src/com/android/tv/audio/
DAudioManagerHelperTest.java199 mTvView.mStarted = false; in setVolumeByAudioFocusStatus_notStarted()
207 private boolean mStarted = true; field in AudioManagerHelperTest.TestTvView
214 return mStarted; in isPlaying()
/packages/apps/TV/src/com/android/tv/ui/
DTunableTvView.java144 private boolean mStarted; field in TunableTvView
499 mStarted = true; in start()
504 if (!mStarted && inputId != null && channelUri != null) { in warmUpInput()
516 if (!mStarted) { in stop()
519 mStarted = false; in stop()
589 return mStarted; in isPlaying()
610 if (!mStarted) { in tuneTo()
708 if (!mStarted) { in setStreamVolume()
/packages/apps/TV/src/com/android/tv/data/
DProgramDataManager.java122 private boolean mStarted; field in ProgramDataManager
230 if (mStarted) { in start()
233 mStarted = true; in start()
250 if (!mStarted) { in stop()
253 mStarted = false; in stop()
389 if (mStarted) { in setPrefetchEnabled()
DWatchedHistoryManager.java59 private boolean mStarted; field in WatchedHistoryManager
116 if (mStarted) { in start()
119 mStarted = true; in start()
DChannelDataManager.java82 private boolean mStarted; field in ChannelDataManager
188 if (mStarted) { in start()
191 mStarted = true; in start()
207 if (!mStarted) { in stop()
210 mStarted = false; in stop()
/packages/services/Car/tests/CarLibTests/src/android/car/
DCarProjectionManagerTest.java114 mApCallback.mStarted.await(DEFAULT_TIMEOUT_MS, TimeUnit.MILLISECONDS); in startAp_success()
259 CountDownLatch mStarted = new CountDownLatch(1); field in CarProjectionManagerTest.ApCallback
267 mStarted.countDown(); in onStarted()
/packages/apps/Settings/src/com/android/settings/wfd/
DWifiDisplaySettings.java101 private boolean mStarted; field in WifiDisplaySettings
161 mStarted = true; in onStart()
184 mStarted = false; in onStop()
228 if (mStarted) { in scheduleUpdate()

12