Home
last modified time | relevance | path

Searched refs:newState (Results 1 – 25 of 40) sorted by relevance

12

/hardware/interfaces/audio/core/all-versions/vts/functional/
DStreamWorker.h55 WorkerState newState; in waitForAtLeastOneCycle() local
56 switchWorkerStateSync(WorkerState::RUNNING, WorkerState::PAUSE_REQUESTED, &newState); in waitForAtLeastOneCycle()
57 if (newState != WorkerState::PAUSED) return false; in waitForAtLeastOneCycle()
58 switchWorkerStateSync(newState, WorkerState::RESUME_REQUESTED, &newState); in waitForAtLeastOneCycle()
59 return newState == WorkerState::RUNNING; in waitForAtLeastOneCycle()
75 void switchWorkerStateSync(WorkerState oldState, WorkerState newState,
82 mWorkerState = newState;
83 mWorkerCv.wait(lock, [&] { return mWorkerState != newState; });
/hardware/interfaces/audio/aidl/common/
DStreamWorker.cpp62 WorkerState newState; in waitForAtLeastOneCycle() local
63 switchWorkerStateSync(WorkerState::RUNNING, WorkerState::PAUSE_REQUESTED, &newState); in waitForAtLeastOneCycle()
64 if (newState != WorkerState::PAUSED) return false; in waitForAtLeastOneCycle()
65 switchWorkerStateSync(newState, WorkerState::RESUME_REQUESTED, &newState); in waitForAtLeastOneCycle()
66 return newState == WorkerState::RUNNING; in waitForAtLeastOneCycle()
69 void ThreadController::switchWorkerStateSync(WorkerState oldState, WorkerState newState, in switchWorkerStateSync() argument
77 mWorkerState = newState; in switchWorkerStateSync()
81 return mWorkerState != newState; in switchWorkerStateSync()
/hardware/interfaces/camera/provider/2.5/default/
DLegacyCameraProviderImpl_2_5.cpp41 hidl_bitfield<DeviceState> newState) { in notifyDeviceStateChange() argument
42 ALOGD("%s: New device state: 0x%" PRIx64, __FUNCTION__, newState); in notifyDeviceStateChange()
43 uint64_t state = static_cast<uint64_t>(newState); in notifyDeviceStateChange()
DCameraProvider_2_5.h79 Return<void> notifyDeviceStateChange(hardware::hidl_bitfield<DeviceState> newState) override { in notifyDeviceStateChange()
80 return impl.notifyDeviceStateChange(newState); in notifyDeviceStateChange()
DExternalCameraProviderImpl_2_5.h51 Return<void> notifyDeviceStateChange(hidl_bitfield<DeviceState> newState);
DLegacyCameraProviderImpl_2_5.h51 Return<void> notifyDeviceStateChange(hidl_bitfield<DeviceState> newState);
/hardware/interfaces/automotive/remoteaccess/hal/default/test/
DRemoteAccessServiceUnitTest.cpp218 ApState newState = { in TEST_F() local
221 ScopedAStatus status = getService()->notifyApStateChange(newState); in TEST_F()
255 ApState newState = { in TEST_F() local
258 ASSERT_TRUE(getService()->notifyApStateChange(newState).isOk()); in TEST_F()
288 ApState newState = { in TEST_F() local
291 ASSERT_TRUE(getService()->notifyApStateChange(newState).isOk()); in TEST_F()
346 ApState newState = { in TEST_F() local
349 ASSERT_TRUE(getService()->notifyApStateChange(newState).isOk()); in TEST_F()
354 newState.isReadyForRemoteTask = false; in TEST_F()
355 ASSERT_TRUE(getService()->notifyApStateChange(newState).isOk()); in TEST_F()
/hardware/invensense/65xx/libsensors_iio/software/core/mpl/
Dfusion_9axis.h24 inv_error_t inv_9x_fusion_state_change(unsigned char newState);
/hardware/interfaces/wifi/supplicant/aidl/aidl_api/android.hardware.wifi.supplicant/2/android/hardware/wifi/supplicant/
DSupplicantStateChangeData.aidl37 android.hardware.wifi.supplicant.StaIfaceCallbackState newState;
/hardware/interfaces/wifi/supplicant/aidl/aidl_api/android.hardware.wifi.supplicant/current/android/hardware/wifi/supplicant/
DSupplicantStateChangeData.aidl37 android.hardware.wifi.supplicant.StaIfaceCallbackState newState;
/hardware/invensense/6515/libsensors_iio/software/core/mpl/
Dfusion_9axis.h24 inv_error_t inv_9x_fusion_state_change(unsigned char newState);
/hardware/interfaces/wifi/supplicant/aidl/android/hardware/wifi/supplicant/
DSupplicantStateChangeData.aidl31 StaIfaceCallbackState newState;
/hardware/interfaces/camera/provider/2.7/default/
DCameraProvider_2_7.h87 Return<void> notifyDeviceStateChange(hardware::hidl_bitfield<DeviceState> newState) override { in notifyDeviceStateChange()
88 return impl.notifyDeviceStateChange(newState); in notifyDeviceStateChange()
DExternalCameraProviderImpl_2_7.h79 Return<void> notifyDeviceStateChange(hidl_bitfield<DeviceState> newState);
/hardware/interfaces/camera/provider/2.5/
DICameraProvider.hal63 * @param newState
66 notifyDeviceStateChange(bitfield<DeviceState> newState);
/hardware/qcom/sm7150/gps/gnss/
DAgps.cpp382 void AgpsStateMachine::transitionState(AgpsState newState){ in transitionState() argument
385 this, mState, newState); in transitionState()
387 mState = newState; in transitionState()
/hardware/qcom/sm7250/gps/gnss/
DAgps.cpp382 void AgpsStateMachine::transitionState(AgpsState newState){ in transitionState() argument
385 this, mState, newState); in transitionState()
387 mState = newState; in transitionState()
/hardware/qcom/sm8150/gps/gnss/
DAgps.cpp382 void AgpsStateMachine::transitionState(AgpsState newState){ in transitionState() argument
385 this, mState, newState); in transitionState()
387 mState = newState; in transitionState()
/hardware/qcom/sm8150p/gps/gnss/
DAgps.cpp382 void AgpsStateMachine::transitionState(AgpsState newState){ in transitionState() argument
385 this, mState, newState); in transitionState()
387 mState = newState; in transitionState()
/hardware/interfaces/automotive/remoteaccess/hal/default/include/
DRemoteAccessService.h79 const aidl::android::hardware::automotive::remoteaccess::ApState& newState) override;
/hardware/qcom/gps/msm8998/gnss/
DAgps.cpp389 void AgpsStateMachine::transitionState(AgpsState newState){ in transitionState() argument
392 this, mState, newState); in transitionState()
394 mState = newState; in transitionState()
/hardware/interfaces/automotive/remoteaccess/hal/default/src/
DRemoteAccessService.cpp298 ScopedAStatus RemoteAccessService::notifyApStateChange(const ApState& newState) { in notifyApStateChange() argument
301 request.set_iswakeuprequired(newState.isWakeupRequired); in notifyApStateChange()
308 if (newState.isReadyForRemoteTask) { in notifyApStateChange()
/hardware/qcom/gps/msm8909w_3100/gnss/
DAgps.cpp394 void AgpsStateMachine::transitionState(AgpsState newState){ in transitionState() argument
397 this, mState, newState); in transitionState()
399 mState = newState; in transitionState()
/hardware/interfaces/audio/aidl/common/include/
DStreamWorker.h75 void switchWorkerStateSync(WorkerState oldState, WorkerState newState,
/hardware/interfaces/wifi/supplicant/aidl/aidl_api/android.hardware.wifi.supplicant/1/android/hardware/wifi/supplicant/
DISupplicantStaIfaceCallback.aidl60 …oneway void onStateChanged(in android.hardware.wifi.supplicant.StaIfaceCallbackState newState, in … in onStateChanged() argument

12