/foundation/resourceschedule/device_standby/interfaces/innerkits/test/unittest/ |
H A D | mock_standby_client_unit_test.cpp | 59 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 D | standby_client_unit_test.cpp | 110 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 D | i_stream.h | 68 virtual int32_t Pause(bool isStandby = false) = 0;
|
H A D | pa_capturer_stream_impl.h | 30 int32_t Pause(bool isStandby = false) override;
|
H A D | pro_renderer_stream_impl.h | 35 int32_t Pause(bool isStandby = false) override;
|
H A D | pa_renderer_stream_impl.h | 31 int32_t Pause(bool isStandby = false) override;
|
/foundation/resourceschedule/device_standby/frameworks/src/ |
H A D | standby_service_stub.cpp | 242 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 D | standby_napi_module.cpp | 43 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 D | standby_service_client.cpp | 109 ErrCode StandbyServiceClient::IsDeviceInStandby(bool& isStandby) in IsDeviceInStandby() argument 116 return standbyServiceProxy_->IsDeviceInStandby(isStandby); in IsDeviceInStandby()
|
H A D | standby_service_proxy.cpp | 213 ErrCode StandbyServiceProxy::IsDeviceInStandby(bool& isStandby) in IsDeviceInStandby() argument 237 if (!reply.ReadBool(isStandby)) { in IsDeviceInStandby()
|
/foundation/resourceschedule/device_standby/interfaces/innerkits/include/ |
H A D | standby_service_client.h | 131 * @param isStandby true if device in standby, else false. 134 ErrCode IsDeviceInStandby(bool& isStandby);
|
H A D | standby_service_proxy.h | 78 * @param isStandby true if device in standby, else false. 81 ErrCode IsDeviceInStandby(bool& isStandby) override;
|
/foundation/resourceschedule/device_standby/frameworks/include/ |
H A D | istandby_service.h | 131 * @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 D | pa_renderer_stream_impl_unit_test.cpp | 657 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 D | standby_service.h | 55 ErrCode IsDeviceInStandby(bool& isStandby) override;
|
H A D | standby_service_impl.h | 109 ErrCode IsDeviceInStandby(bool& isStandby);
|
/foundation/resourceschedule/device_standby/services/core/src/ |
H A D | standby_service.cpp | 231 ErrCode StandbyService::IsDeviceInStandby(bool& isStandby) in IsDeviceInStandby() argument 237 return StandbyServiceImpl::GetInstance()->IsDeviceInStandby(isStandby); in IsDeviceInStandby()
|
H A D | standby_service_impl.cpp | 838 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 D | standby_service_unit_test.cpp | 201 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 D | pa_capturer_stream_impl.cpp | 141 int32_t PaCapturerStreamImpl::Pause(bool isStandby) in Pause() argument
|
H A D | pa_renderer_stream_impl.cpp | 184 int32_t PaRendererStreamImpl::Pause(bool isStandby) in Pause() argument 216 isStandbyPause_ = isStandby; in Pause()
|
H A D | pro_renderer_stream_impl.cpp | 194 int32_t ProRendererStreamImpl::Pause(bool isStandby) in Pause() argument
|