Home
last modified time | relevance | path

Searched refs:isStandby (Results 1 - 22 of 22) sorted by relevance

/foundation/resourceschedule/device_standby/interfaces/innerkits/test/unittest/
H A Dmock_standby_client_unit_test.cpp59 bool isStandby {false}; in HWTEST_F()
60 EXPECT_NE(StandbyServiceClient::GetInstance().IsDeviceInStandby(isStandby), ERR_OK); in HWTEST_F()
67 StandbyServiceClient::GetInstance().IsDeviceInStandby(isStandby); in HWTEST_F()
91 bool isStandby {false}; in HWTEST_F()
92 proxy->IsDeviceInStandby(isStandby); in HWTEST_F()
105 proxy->IsDeviceInStandby(isStandby); in HWTEST_F()
H A Dstandby_client_unit_test.cpp110 bool isStandby {false}; in HWTEST_F()
111 EXPECT_EQ(StandbyServiceClient::GetInstance().IsDeviceInStandby(isStandby), ERR_OK); in HWTEST_F()
/foundation/multimedia/audio_framework/services/audio_service/server/include/
H A Di_stream.h68 virtual int32_t Pause(bool isStandby = false) = 0;
H A Dpa_capturer_stream_impl.h30 int32_t Pause(bool isStandby = false) override;
H A Dpro_renderer_stream_impl.h35 int32_t Pause(bool isStandby = false) override;
H A Dpa_renderer_stream_impl.h31 int32_t Pause(bool isStandby = false) override;
/foundation/resourceschedule/device_standby/frameworks/src/
H A Dstandby_service_stub.cpp242 bool isStandby {false}; in HandleIsDeviceInStandby()
243 ErrCode result = IsDeviceInStandby(isStandby); in HandleIsDeviceInStandby()
248 if (!reply.WriteBool(isStandby)) { in HandleIsDeviceInStandby()
249 STANDBYSERVICE_LOGW("HandleIsDeviceInStandby Write isStandby failed"); in HandleIsDeviceInStandby()
/foundation/resourceschedule/device_standby/interfaces/kits/napi/src/
H A Dstandby_napi_module.cpp43 bool isStandby {false};
82 IsDeviceInStandby(asyncCallbackInfo->isStandby); in AddInStandbyExecuteCB()
93 napi_create_int32(env, asyncCallbackInfo->isStandby, &result); in AddInStandbyCallbackCompleteCB()
/foundation/resourceschedule/device_standby/interfaces/innerkits/src/
H A Dstandby_service_client.cpp109 ErrCode StandbyServiceClient::IsDeviceInStandby(bool& isStandby) in IsDeviceInStandby() argument
116 return standbyServiceProxy_->IsDeviceInStandby(isStandby); in IsDeviceInStandby()
H A Dstandby_service_proxy.cpp213 ErrCode StandbyServiceProxy::IsDeviceInStandby(bool& isStandby) in IsDeviceInStandby() argument
237 if (!reply.ReadBool(isStandby)) { in IsDeviceInStandby()
/foundation/resourceschedule/device_standby/interfaces/innerkits/include/
H A Dstandby_service_client.h131 * @param isStandby true if device in standby, else false.
134 ErrCode IsDeviceInStandby(bool& isStandby);
H A Dstandby_service_proxy.h78 * @param isStandby true if device in standby, else false.
81 ErrCode IsDeviceInStandby(bool& isStandby) override;
/foundation/resourceschedule/device_standby/frameworks/include/
H A Distandby_service.h131 * @param isStandby true if device in standby, else false.
134 virtual ErrCode IsDeviceInStandby(bool& isStandby) = 0;
/foundation/multimedia/audio_framework/services/audio_service/test/unittest/
H A Dpa_renderer_stream_impl_unit_test.cpp657 bool isStandby = false; in HWTEST_F() local
658 int32_t ret = unit->Pause(isStandby); in HWTEST_F()
677 bool isStandby = false; in HWTEST_F() local
678 int32_t ret = unit->Pause(isStandby); in HWTEST_F()
/foundation/resourceschedule/device_standby/services/core/include/
H A Dstandby_service.h55 ErrCode IsDeviceInStandby(bool& isStandby) override;
H A Dstandby_service_impl.h109 ErrCode IsDeviceInStandby(bool& isStandby);
/foundation/resourceschedule/device_standby/services/core/src/
H A Dstandby_service.cpp231 ErrCode StandbyService::IsDeviceInStandby(bool& isStandby) in IsDeviceInStandby() argument
237 return StandbyServiceImpl::GetInstance()->IsDeviceInStandby(isStandby); in IsDeviceInStandby()
H A Dstandby_service_impl.cpp838 ErrCode StandbyServiceImpl::IsDeviceInStandby(bool& isStandby) in IsDeviceInStandby() argument
844 handler_->PostSyncTask([this, &isStandby]() { in IsDeviceInStandby()
846 isStandby = (curState == StandbyState::SLEEP); in IsDeviceInStandby()
917 ErrCode StandbyServiceImpl::IsStrategyEnabled(const std::string& strategyName, bool& isStandby) in IsStrategyEnabled() argument
926 isStandby = item != strategyConfigList.end(); in IsStrategyEnabled()
/foundation/resourceschedule/device_standby/services/test/unittest/
H A Dstandby_service_unit_test.cpp201 bool isStandby {false}; in HWTEST_F()
202 EXPECT_NE(StandbyService::GetInstance()->IsDeviceInStandby(isStandby), ERR_OK); in HWTEST_F()
211 EXPECT_EQ(StandbyService::GetInstance()->IsDeviceInStandby(isStandby), ERR_OK); in HWTEST_F()
236 bool isStandby {false}; in HWTEST_F()
237 EXPECT_NE(StandbyServiceImpl::GetInstance()->IsDeviceInStandby(isStandby), ERR_OK); in HWTEST_F()
831 bool isStandby {false}; in HWMTEST_F()
832 EXPECT_EQ(StandbyServiceImpl::GetInstance()->IsDeviceInStandby(isStandby), ERR_OK); in HWMTEST_F()
/foundation/multimedia/audio_framework/services/audio_service/server/src/
H A Dpa_capturer_stream_impl.cpp141 int32_t PaCapturerStreamImpl::Pause(bool isStandby) in Pause() argument
H A Dpa_renderer_stream_impl.cpp184 int32_t PaRendererStreamImpl::Pause(bool isStandby) in Pause() argument
216 isStandbyPause_ = isStandby; in Pause()
H A Dpro_renderer_stream_impl.cpp194 int32_t ProRendererStreamImpl::Pause(bool isStandby) in Pause() argument

Completed in 17 milliseconds