Home
last modified time | relevance | path

Searched refs:isStarted (Results 1 – 25 of 130) sorted by relevance

123456

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/
DWifiHalAidlImplTest.java91 when(mIWifiMock.isStarted()).thenReturn(true); in testIsStartedSuccess()
92 assertTrue(mDut.isStarted()); in testIsStartedSuccess()
93 verify(mIWifiMock).isStarted(); in testIsStartedSuccess()
98 doThrow(new RemoteException()).when(mIWifiMock).isStarted(); in testIsStartedRemoteException()
99 assertFalse(mDut.isStarted()); in testIsStartedRemoteException()
100 verify(mIWifiMock).isStarted(); in testIsStartedRemoteException()
106 .when(mIWifiMock).isStarted(); in testIsStartedServiceSpecificException()
107 assertFalse(mDut.isStarted()); in testIsStartedServiceSpecificException()
108 verify(mIWifiMock).isStarted(); in testIsStartedServiceSpecificException()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/
DFastPairProviderTest.java302 assertThat(mFastPairProvider.isStarted()).isFalse(); in startFastPairProvider()
304 assertThat(mFastPairProvider.isStarted()).isTrue(); in startFastPairProvider()
361 assertThat(mFastPairProvider.isStarted()).isFalse(); in testStartNoModelId_fastPairNotStarted()
363 assertThat(mFastPairProvider.isStarted()).isFalse(); in testStartNoModelId_fastPairNotStarted()
372 assertThat(mFastPairProvider.isStarted()).isFalse(); in testStartNoPrivateKey_fastPairNotStarted()
374 assertThat(mFastPairProvider.isStarted()).isFalse(); in testStartNoPrivateKey_fastPairNotStarted()
383 assertThat(mFastPairProvider.isStarted()).isFalse(); in testStartNoModelIdAndNoPrivateKey_fastPairNotStarted()
385 assertThat(mFastPairProvider.isStarted()).isFalse(); in testStartNoModelIdAndNoPrivateKey_fastPairNotStarted()
397 assertThat(mFastPairProvider.isStarted()).isTrue(); in testStartWhileStarted_doNothing()
408 assertThat(mFastPairProvider.isStarted()).isFalse(); in testStopWhileEnabledAndStopped_doNothing()
[all …]
/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/
DDiscoveryProvider.java33 public boolean isStarted() { in isStarted() method in DiscoveryProvider
43 if (isStarted()) { in start()
56 if (!isStarted()) { in stop()
DTransportProvider.java153 public boolean isStarted() { in isStarted() method in TransportProvider
163 if (isStarted()) { in start()
176 if (!isStarted()) { in stop()
/packages/apps/Camera2/src/com/android/camera/captureintent/
DCaptureIntentSession.java60 private boolean isStarted; field in CaptureIntentSession
76 isStarted = false; in CaptureIntentSession()
126 isStarted = true; in startEmpty()
216 private boolean isStarted() { in isStarted() method in CaptureIntentSession
217 return isStarted; in isStarted()
/packages/modules/NetworkStack/src/android/net/util/
DStopwatch.java29 public boolean isStarted() { in isStarted() method in Stopwatch
38 return (isStarted() && !isStopped()); in isRunning()
45 if (!isStarted()) { in start()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareNativeManagerTest.java118 when(mHalDeviceManager.isStarted()).thenReturn(true); in testControlFlowWithoutInterface()
125 when(mHalDeviceManager.isStarted()).thenReturn(false); in testControlFlowWithoutInterface()
132 when(mHalDeviceManager.isStarted()).thenReturn(true); in testControlFlowWithoutInterface()
148 when(mHalDeviceManager.isStarted()).thenReturn(true); in testReferenceCounting()
209 when(mHalDeviceManager.isStarted()).thenReturn(true); in testRequestFlowWithAsyncDeletes()
/packages/apps/TV/src/com/android/tv/menu/
DMenu.java204 if (mHideAnimator.isStarted()) { in show()
226 if (mShowAnimator.isStarted()) { in hide()
237 if (!mHideAnimator.isStarted()) { in hide()
240 } else if (mHideAnimator.isStarted()) { in hide()
283 return mMenuView.isVisible() && !mHideAnimator.isStarted(); in isActive()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNat464Xlat.java176 public boolean isStarted() { in isStarted() method in Nat464Xlat
264 if (isStarted()) { in start()
281 if (!isStarted()) { in stop()
550 if (!isStarted()) return null; in translateV4toV6()
589 if (!isStarted()) return null; in getClatv4SrcAddress()
614 if (isStarted()) { in dump()
/packages/apps/Contacts/src/com/android/contacts/list/
DProviderStatusWatcher.java114 if (isStarted()) { in notifyListeners()
121 private boolean isStarted() { in isStarted() method in ProviderStatusWatcher
145 if (!isStarted()) { in stop()
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/managers/
DDiscoveryProviderManagerTest.java302 assertThat(manager.mChreDiscoveryProvider.getController().isStarted()) in test_stopChreProvider_clearFilters()
309 assertThat(manager.mChreDiscoveryProvider.getController().isStarted()) in test_stopChreProvider_clearFilters()
334 assertThat(manager.mChreDiscoveryProvider.getController().isStarted()) in test_restartChreProvider()
347 assertThat(manager.mChreDiscoveryProvider.getController().isStarted()) in test_restartChreProvider()
354 assertThat(manager.mChreDiscoveryProvider.getController().isStarted()) in test_restartChreProvider()
DDiscoveryProviderManagerLegacyTest.java337 assertThat(manager.mChreDiscoveryProvider.getController().isStarted()) in test_stopChreProvider_clearFilters()
344 assertThat(manager.mChreDiscoveryProvider.getController().isStarted()) in test_stopChreProvider_clearFilters()
373 assertThat(manager.mChreDiscoveryProvider.getController().isStarted()) in test_restartChreProvider()
386 assertThat(manager.mChreDiscoveryProvider.getController().isStarted()) in test_restartChreProvider()
393 assertThat(manager.mChreDiscoveryProvider.getController().isStarted()) in test_restartChreProvider()
/packages/apps/Messaging/src/com/android/messaging/ui/
DAudioPlaybackProgressBar.java94 if (!mUpdateAnimator.isStarted()) { in startUpdateTicks()
100 if (mUpdateAnimator.isStarted()) { in stopUpdateTicks()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DOffloadController.java296 final boolean isStarted = started(); in start()
297 if (!isStarted) { in start()
307 return isStarted; in start()
757 final boolean isStarted = started(); in dump()
758 pw.println("Offload HALs " + (isStarted ? "started" : "not started")); in dump()
776 + (isStarted ? "current" : "last") in dump()
780 + (isStarted ? "current" : "last") in dump()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DActivityTracker.java64 if (!callback.init(activity, activity.isStarted())) { in registerCallback()
84 return handleIntent(activity, activity.isStarted()); in handleNewIntent()
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DPseudoEmergencyAnimator.java115 if (!pseudoEmergencyColorAnimator.isStarted()) { in start()
121 if (pseudoEmergencyColorAnimator != null && pseudoEmergencyColorAnimator.isStarted()) { in end()
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiHal.java217 public boolean isStarted() { in isStarted() method in WifiHal
219 () -> mWifiHal.isStarted()); in isStarted()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/discovery/ble/
DGattTransportClientProviderTest.java193 assertThat(mGattTransportClientProvider.isStarted()).isTrue(); in testStartAndStop()
196 assertThat(mGattTransportClientProvider.isStarted()).isFalse(); in testStartAndStop()
410 assertThat(mGattTransportClientProvider.isStarted()).isFalse(); in testConnectionStateChange_disconnected()
423 assertThat(mGattTransportClientProvider.isStarted()).isFalse(); in testConnectionStateChange_statusFailed()
442 assertThat(mGattTransportClientProvider.isStarted()).isFalse(); in testDescriptorWrite_statusFailed()
454 assertThat(mGattTransportClientProvider.isStarted()).isFalse(); in testCharacteristicWrite_statusFailed()
466 assertThat(mGattTransportClientProvider.isStarted()).isFalse(); in testCharacteristicRead_statusFailed()
761 assertThat(mGattTransportClientProvider.isStarted()).isFalse(); in testOutCharactersticNotifyAndRead_receiveAdminPacket()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DSoundLevels.java155 if (!mSpeechLevelsAnimator.isStarted()) { in startSpeechLevelsAnimator()
164 if (mSpeechLevelsAnimator.isStarted()) { in stopSpeechLevelsAnimator()
/packages/apps/Camera2/src/com/android/camera/
DAnimationManager.java46 if (mCaptureAnimator != null && mCaptureAnimator.isStarted()) { in startCaptureAnimation()
178 if (mCaptureAnimator != null && mCaptureAnimator.isStarted()) { in cancelAnimations()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothScanningDevicesGroupPreferenceController.java111 if (isStarted()) { in reenableScanning()
168 if (bondState == BluetoothDevice.BOND_NONE && isStarted()) { in onDeviceBondStateChanged()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DSideFragmentManager.java87 return mHideAnimator.isStarted(); in isHiding()
149 if (mShowAnimator.isStarted()) { in hideAll()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeManager.java91 if (mHalDeviceManager.isStarted()) { in start()
98 if (mHalDeviceManager.isStarted()) { in start()
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountDetailsPreferenceController.java60 if (!isStarted()) {
128 if (!isStarted()) { in processActivityResult()
/packages/services/Car/service/src/com/android/car/am/
DFixedActivityService.java107 public boolean isStarted; field in FixedActivityService.RunningActivityInfo
136 + ",userId:" + userId + ",isVisible:" + isVisible + ",isStarted:" + isStarted in toString()
414 if (!activityInfo.isStarted in launchIfNecessary()
482 if (activityInfo.isVisible && activityInfo.isStarted) { in launchIfNecessary()
524 activityInfo.isStarted = true; in launchIfNecessary()

123456