/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/ |
D | WifiHalAidlImplTest.java | 91 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/ |
D | FastPairProviderTest.java | 302 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/ |
D | DiscoveryProvider.java | 33 public boolean isStarted() { in isStarted() method in DiscoveryProvider 43 if (isStarted()) { in start() 56 if (!isStarted()) { in stop()
|
D | TransportProvider.java | 153 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/ |
D | CaptureIntentSession.java | 60 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/ |
D | Stopwatch.java | 29 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/ |
D | WifiAwareNativeManagerTest.java | 118 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/ |
D | Menu.java | 204 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/ |
D | Nat464Xlat.java | 176 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/ |
D | ProviderStatusWatcher.java | 114 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/ |
D | DiscoveryProviderManagerTest.java | 302 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()
|
D | DiscoveryProviderManagerLegacyTest.java | 337 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/ |
D | AudioPlaybackProgressBar.java | 94 if (!mUpdateAnimator.isStarted()) { in startUpdateTicks() 100 if (mUpdateAnimator.isStarted()) { in stopUpdateTicks()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | OffloadController.java | 296 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/ |
D | ActivityTracker.java | 64 if (!callback.init(activity, activity.isStarted())) { in registerCallback() 84 return handleIntent(activity, activity.isStarted()); in handleNewIntent()
|
/packages/apps/Dialer/java/com/android/dialer/dialpadview/ |
D | PseudoEmergencyAnimator.java | 115 if (!pseudoEmergencyColorAnimator.isStarted()) { in start() 121 if (pseudoEmergencyColorAnimator != null && pseudoEmergencyColorAnimator.isStarted()) { in end()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/ |
D | WifiHal.java | 217 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/ |
D | GattTransportClientProviderTest.java | 193 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/ |
D | SoundLevels.java | 155 if (!mSpeechLevelsAnimator.isStarted()) { in startSpeechLevelsAnimator() 164 if (mSpeechLevelsAnimator.isStarted()) { in stopSpeechLevelsAnimator()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | AnimationManager.java | 46 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/ |
D | BluetoothScanningDevicesGroupPreferenceController.java | 111 if (isStarted()) { in reenableScanning() 168 if (bondState == BluetoothDevice.BOND_NONE && isStarted()) { in onDeviceBondStateChanged()
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
D | SideFragmentManager.java | 87 return mHideAnimator.isStarted(); in isHiding() 149 if (mShowAnimator.isStarted()) { in hideAll()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareNativeManager.java | 91 if (mHalDeviceManager.isStarted()) { in start() 98 if (mHalDeviceManager.isStarted()) { in start()
|
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/ |
D | AccountDetailsPreferenceController.java | 60 if (!isStarted()) { 128 if (!isStarted()) { in processActivityResult()
|
/packages/services/Car/service/src/com/android/car/am/ |
D | FixedActivityService.java | 107 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()
|