/foundation/bundlemanager/bundle_framework/services/test/mock/include/ |
H A D | mock_ability_mgr_host.h | 89 virtual int AbilityTransitionDone(const sptr<IRemoteObject> &token, int state, const PacMap &saveData) override 114 virtual void DumpState(const std::string &args, std::vector<std::string> &state) override 413 virtual int ForceTimeoutForTest(const std::string &abilityName, const std::string &state) override
|
/foundation/multimedia/audio_framework/services/audio_service/server/include/ |
H A D | audio_server.h | 131 int32_t SetCaptureSilentState(bool state) override; 168 void UpdateSessionConnectionState(const int32_t &sessionID, const int32_t &state) override; 172 int32_t SetOffloadMode(uint32_t sessionId, int32_t state, bool isAppBack) override;
|
/foundation/multimedia/audio_framework/services/audio_policy/test/unittest/audio_spatialization_service_unit_test/src/ |
H A D | audio_spatialization_service_unit_test.cpp | 50 static uint32_t PackSpatializationState(AudioSpatializationState state) in PackSpatializationState() argument 52 uint32_t spatializationEnabled = state.spatializationEnabled ? 1 : 0; in PackSpatializationState() 53 uint32_t headTrackingEnabled = state.headTrackingEnabled ? 1 :0; in PackSpatializationState()
|
/foundation/multimedia/audio_framework/services/audio_service/server/src/ |
H A D | audio_server_dump.cpp | 119 pa_context_state_t state = pa_context_get_state(context); in Initialize() local 120 if (state == PA_CONTEXT_READY) { in Initialize() 124 if (!PA_CONTEXT_IS_GOOD(state)) { in Initialize() 126 AUDIO_ERR_LOG("context bad state error: %{public}s", pa_strerror(error)); in Initialize()
|
/foundation/multimedia/audio_framework/services/audio_service/client/include/ |
H A D | audio_manager_base.h | 221 * Update the audio dual tone state after devices is detected and route is decided 247 * Check remote device state. 268 * Set audio mono state for accessibility 270 * @param audioMono the state of mono audio for accessibility 346 * @param state identify the capture state 350 virtual int32_t SetCaptureSilentState(bool state) = 0; 353 * Update spatialization enabled state and head tracking enabled state. 355 * @param state identif [all...] |
/foundation/multimedia/media_foundation/video_processing_engine/framework/capi/video_processing/ |
H A D | video_processing_native.cpp | 293 void VideoProcessingNative::OnState(VideoProcessing_State state) 295 OnCallback([this, state](std::shared_ptr<VideoProcessingCallbackNative>& callback, void* userData) { 296 callback->OnState(context_, state, userData);
|
/foundation/multimedia/av_session/frameworks/js/napi/session/src/ |
H A D | napi_avcast_controller_callback.cpp | 177 void NapiAVCastControllerCallback::OnCastPlaybackStateChange(const AVPlaybackState& state) in OnCastPlaybackStateChange() argument 180 SLOGI("Start handle OnCastPlaybackStateChange event with state: %{public}d", state.GetState()); in OnCastPlaybackStateChange() 181 HandleEvent(EVENT_CAST_PLAYBACK_STATE_CHANGE, state); in OnCastPlaybackStateChange()
|
/foundation/multimedia/player_framework/services/services/player/server/ |
H A D | player_server.h | 60 void Init(const std::shared_ptr<PlayerServerState> &state); 61 void ChangeState(const std::shared_ptr<PlayerServerState> &state); 123 int32_t BackGroundChangeState(PlayerStates state, bool isBackGroundCb);
|
/foundation/multimodalinput/input/service/event_handler/src/ |
H A D | input_event_handler.cpp | 293 auto state = libinput_event_pointer_get_button_state(data); in IsTouchpadTapMistouch() local 294 if (state == LIBINPUT_BUTTON_STATE_PRESSED) { in IsTouchpadTapMistouch() 310 if (state == LIBINPUT_BUTTON_STATE_RELEASED) { in IsTouchpadTapMistouch()
|
/foundation/multimedia/player_framework/services/services/screen_capture/server/ |
H A D | audio_capturer_wrapper.cpp | 37 void AudioCapturerCallbackImpl::OnStateChange(const CapturerState state) in OnStateChange() argument 39 MEDIA_LOGI("AudioCapturerCallbackImpl OnStateChange state:%{public}d", state); in OnStateChange() 40 switch (state) { in OnStateChange() 45 MEDIA_LOGD("AudioCapturerCallbackImpl OnStateChange NOT A VALID state"); in OnStateChange()
|
/foundation/multimodalinput/input/intention/frameworks/client/src/ |
H A D | intention_manager.cpp | 224 int32_t IntentionManager::GetCoordinationState(const std::string &udId, bool &state) in GetCoordinationState() argument 229 return cooperate_.GetCooperateState(*tunnel_, udId, state); in GetCoordinationState() 232 (void)(state); in GetCoordinationState()
|
/foundation/resourceschedule/background_task_mgr/services/transient_task/src/ |
H A D | decision_maker.cpp | 121 if (appStateData.state == static_cast<int32_t>(AppExecFwk::ApplicationState::APP_STATE_FOREGROUND) || in OnForegroundApplicationChanged() 122 appStateData.state == static_cast<int32_t>(AppExecFwk::ApplicationState::APP_STATE_FOCUS)) { in OnForegroundApplicationChanged() 132 } else if (appStateData.state == static_cast<int32_t>(AppExecFwk::ApplicationState::APP_STATE_BACKGROUND)) { in OnForegroundApplicationChanged()
|
/foundation/window/window_manager/dmserver/test/unittest/ |
H A D | display_manager_agent_controller_test.cpp | 61 DisplayState state = DisplayState::ON; in HWTEST_F() local 62 bool result = displayManagerAgentController.NotifyDisplayStateChanged(id, state); in HWTEST_F() 70 result = displayManagerAgentController.NotifyDisplayStateChanged(id, state); in HWTEST_F()
|
/foundation/communication/dsoftbus/tests/core/bus_center/service/unittest/ |
H A D | bus_center_event_test.cpp | 77 printf("Network state changed, event is %d", info->event); in OnNetworkStateChange() 79 printf("Network state changed, but info is null.\n"); in OnNetworkStateChange() 305 SoftBusBtAclState state = SOFTBUS_BR_ACL_CONNECTED; in HWTEST_F() local 306 LnnNotifyBtAclStateChangeEvent(btMac, state); in HWTEST_F() 311 LnnNotifyBtAclStateChangeEvent(btMacTest, state); in HWTEST_F()
|
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/data/ |
H A D | inner_link.cpp | 383 LinkState state = Get(InnerLinKey::STATE, LinkState::INVALID_STATE); in IsProtected() local 384 if (state != LinkState::CONNECTED) { in IsProtected() 385 CONN_LOGI(CONN_WIFI_DIRECT, "state=%{public}d", static_cast<int>(state)); in IsProtected()
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/ |
H A D | wifi_hdi_wpa_callback_test.cpp | 220 staConnectStateParam.state = 1; in HWTEST_F() 232 staConnectStateParam.state = 0; in HWTEST_F() 237 staConnectStateParam.state = 1; in HWTEST_F()
|
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/ipc/lite/ |
H A D | ipc_cmd_parser.cpp | 322 int32_t state = 0; in ON_IPC_CMD() local 323 ReadInt32(&reply, &state); in ON_IPC_CMD() 324 DmDeviceState deviceState = static_cast<DmDeviceState>(state); in ON_IPC_CMD() 338 LOGE("unknown device state:%{public}d", deviceState); in ON_IPC_CMD()
|
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/2.0/src/ |
H A D | dscreen_manager.cpp | 256 DHLOGI("dScreen state Already is ENABLED or ENABLING."); in EnableDistributedScreen() 285 DHLOGE("dScreen state is invalid."); in DisableDistributedScreen() 355 DScreenState state = dScreen->GetState(); in GetScreenDumpInfo() local 357 stateMap.find(state) == stateMap.end() ? "unknown state" : stateMap.find(state)->second; in GetScreenDumpInfo() 363 " \"state\" : \"" + screenState + "\"\n"; in GetScreenDumpInfo()
|
/foundation/communication/bluetooth_service/test/unittest/avrcp/ |
H A D | avrcp_ct_test.cpp | 31 void OnConnectionStateChanged(const BluetoothRemoteDevice &device, int state, int cause) {} in OnConnectionStateChanged() argument 103 * @tc.desc: Gets the connection state of the specified bluetooth device. 111 int state = profile_->GetDeviceState(device); in HWTEST_F() local 112 EXPECT_EQ(state, 0); in HWTEST_F()
|
/foundation/communication/bluetooth_service/test/unittest/host/ |
H A D | host_test.cpp | 211 int state = static_cast<int>(BTConnectState::DISCONNECTED); in HWTEST_F() local 212 host_->GetBtProfileConnState(PROFILE_ID_GATT_CLIENT, state); in HWTEST_F() 213 EXPECT_EQ(state, (int)BTConnectState::DISCONNECTED); in HWTEST_F()
|
/foundation/window/window_manager/window_scene/screen_session_manager/include/zidl/ |
H A D | screen_session_manager_interface.h | 91 virtual bool SetScreenPowerById(ScreenId screenId, ScreenPowerState state, PowerStateChangeReason reason) override 96 virtual bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason) override { return false; } 98 virtual bool SetDisplayState(DisplayState state) override { return false; }
|
H A D | screen_session_manager_proxy.h | 66 virtual bool SetScreenPowerById(ScreenId screenId, ScreenPowerState state, PowerStateChangeReason reason) override; 68 virtual bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason) override; 70 virtual bool SetDisplayState(DisplayState state) override;
|
/test/xts/hats/hdf/codec/hdi_idlomx/ |
H A D | codec_function_utils.cpp | 355 CodecStateType state = CODEC_STATE_INVALID;
in WaitState() local 359 auto ret = component->GetState(state);
in WaitState() 365 } while (state != objState && count <= MAX_WAIT);
in WaitState()
|
/base/powermgr/power_manager/test/unittest/src/ |
H A D | power_coordination_lock_test.cpp | 112 void MatchPowerStateTriggered(PowerState state) in MatchPowerStateTriggered() argument 114 switch (state) { in MatchPowerStateTriggered() 168 void OnPowerStateChanged(PowerState state) override 170 POWER_HILOGD(LABEL_TEST, "On power state=%{public}d changed callback", state); 171 MatchPowerStateTriggered(state); variable 197 * @tc.desc: test coordination runninglock func when power state is awake 231 * @tc.desc: test coordination runninglock proxy func when power state is awake 268 * @tc.desc: test coordination runninglock proxy func when power state is awake 303 * @tc.desc: test coordination runninglock proxy func when power state i [all...] |
/base/security/device_auth/frameworks/deviceauth_lite/test/unittest/ |
H A D | hichain_receivedata_test.cpp | 552 hcServer->state = OPERATION_STATE; in HWTEST_F() 555 hcServer->pake_client->client_info.protocol_base_info.state = START_REQUEST; in HWTEST_F() 586 hcServer->state = OVER_STATE; in HWTEST_F() 589 hcServer->pake_client->client_info.protocol_base_info.state = END_REQUEST; in HWTEST_F() 684 hcServer->sts_client->client_info.protocol_base_info.state = END_REQUEST; in HWTEST_F()
|