/foundation/resourceschedule/device_usage_statistics/frameworks/src/ |
H A D | bundle_state_query.cpp | 79 asyncCallbackInfo->errorCode = BundleActiveClient::GetInstance().IsBundleIdle(asyncCallbackInfo->state, in IsBundleIdleAsync() 91 napi_get_boolean(env, asyncCallbackInfo->state, &result); in IsBundleIdleAsyncCB()
|
/foundation/window/window_manager/utils/include/ |
H A D | window_helper.h | 36 static inline bool IsMainWindowAndNotShown(WindowType type, WindowState state) in IsMainWindowAndNotShown() argument 38 return (IsMainWindow(type) && state != WindowState::STATE_SHOWN); in IsMainWindowAndNotShown()
|
/foundation/communication/dsoftbus/tests/sdk/frame/fuzztest/softbusclientstub_fuzzer/ |
H A D | softbusclientstub_fuzzer.cpp | 534 int32_t state = *(reinterpret_cast<const int32_t *>(data)); in OnClientPermissonChangeInnerTest() local 541 datas.WriteInt32(state); in OnClientPermissonChangeInnerTest()
|
/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/ |
H A D | net_conn_client.cpp | 505 int32_t NetConnClient::SetAirplaneMode(bool state) in SetAirplaneMode() argument 513 return proxy->SetAirplaneMode(state); in SetAirplaneMode()
|
/foundation/communication/wifi/wifi/frameworks/native/c_adapter/src/ |
H A D | wifi_c_device.cpp | 587 NO_SANITIZE("cfi") WifiErrorCode GetWifiDetailState(WifiDetailState *state) in GetWifiDetailState() argument 592 *state = (WifiDetailState)detailState; in GetWifiDetailState()
|
/foundation/communication/netstack/test/unittest/tls_test/server/ |
H A D | tls_socket_server_branch_test.cpp | 176 Socket::SocketStateBase state; in HWTEST_F() local 178 tlsSocketServer->CallGetStateCallback(socketFd, state, stateCallback); in HWTEST_F()
|
/foundation/communication/netstack/test/unittest/tlssocket/server/ |
H A D | tls_socket_server_branch_test.cpp | 176 Socket::SocketStateBase state; in HWTEST_F() local 178 tlsSocketServer->CallGetStateCallback(socketFd, state, stateCallback); in HWTEST_F()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_ap_sa/ |
H A D | wifi_hotspot_service_impl.cpp | 103 ErrCode WifiHotspotServiceImpl::GetHotspotState(int &state) in GetHotspotState() argument 116 state = WifiConfigCenter::GetInstance().GetHotspotState(m_id); in GetHotspotState() 636 WIFI_LOGI("current ap state is %{public}d", static_cast<int>(curState)); in IsApServiceRunning() 832 result.append("WiFi hotspot active state: "); in SaBasicDump()
|
/foundation/communication/netstack/frameworks/js/napi/tls/src/ |
H A D | tlssocket_exec.cpp | 490 shared->GetState([&context](int32_t errorNumber, const Socket::SocketStateBase state) { in ExecGetState() 491 context->state_ = state; in ExecGetState()
|
H A D | tlssocketserver_exec.cpp | 377 tlsSocketServer->GetState([&context](int32_t errorNumber, const Socket::SocketStateBase state) { in ExecGetState() 378 context->state_ = state; in ExecGetState()
|
/foundation/communication/wifi/wifi/frameworks/native/src/ |
H A D | wifi_hotspot_proxy.cpp | 142 ErrCode WifiHotspotProxy::GetHotspotState(int &state) in GetHotspotState() argument 172 state = reply.ReadInt32(); in GetHotspotState()
|
/foundation/distributedhardware/distributed_camera/services/cameraservice/cameraoperator/client/test/unittest/common/cameraoperator/ |
H A D | dcamera_client_test.cpp | 232 DHLOGI("DCameraClientTest dcamera_client_test_001: test set state callback"); in HWTEST_F() 271 auto state = static_cast<CameraStandard::FocusCallback::FocusState>(invalidParam); in HWTEST_F() local 272 sessionCallback->OnFocusState(state); in HWTEST_F()
|
/foundation/distributeddatamgr/pasteboard/services/dfx/src/ |
H A D | hiview_adapter.cpp | 168 PASTEBOARD_HILOGD(PASTEBOARD_MODULE_SERVICE, "hisysevent pasteboard state is %{public}d", stat.pasteboardState); in ReportTimeConsumingStatistic() 177 PASTEBOARD_HILOGD(PASTEBOARD_MODULE_SERVICE, "hisysevent pasteboard state is %{public}d", stat.pasteboardState); in ReportTimeConsumingStatistic() 186 PASTEBOARD_MODULE_SERVICE, "hisysevent wrong pasteboard state! errCode %{public}d", stat.pasteboardState); in ReportTimeConsumingStatistic() 283 PASTEBOARD_MODULE_SERVICE, "hisysevent wrong pasteboard state! errCode %{public}d", msg.pasteboardState); in ReportPasteboardBehaviour() 499 void HiViewAdapter::ReportUseBehaviour(PasteData& pastData, const char* state, int32_t result) in ReportUseBehaviour() argument 501 std::string stateStr = state; in ReportUseBehaviour()
|
/foundation/filemanagement/dfs_service/test/fuzztest/cloudsyncservicestub_fuzzer/ |
H A D | cloudsyncservicestub_fuzzer.cpp | 49 void OnSyncStateChanged(SyncType type, SyncPromptState state) override {} 50 void OnSyncStateChanged(CloudSyncState state, ErrorType error) override {}
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/recording/ |
H A D | recording_canvas.cpp | 654 SaveOpState state = saveOpStateStack_.top(); in Restore() local 656 if (state == RealSaveOp) { in Restore()
|
/foundation/window/window_manager/window_scene/screen_session_manager/src/ |
H A D | screen_session_dumper.cpp | 324 auto state = static_cast<ScreenPowerState>(RSInterfaces::GetInstance().GetScreenPowerStatus(id)); in DumpRsInfoById() local 326 << static_cast<int32_t>(state) << std::endl; in DumpRsInfoById()
|
/foundation/window/window_manager/window_scene/session_manager/src/zidl/ |
H A D | scene_session_manager_lite_stub.cpp | 273 for (auto& state : windowStates) { in HandleGetMainWindowStatesByPid() 274 if (!reply.WriteParcelable(&state)) { in HandleGetMainWindowStatesByPid()
|
/foundation/ability/ability_runtime/test/unittest/ability_record_test/ |
H A D | ability_record_test.cpp | 228 OHOS::AAFwk::AbilityState state = GetParam(); in HWTEST_P() local 229 abilityRecord_->SetAbilityState(state); in HWTEST_P() 230 EXPECT_EQ(static_cast<int>(state), static_cast<int>(abilityRecord_->GetAbilityState())); in HWTEST_P() 746 auto state = abilityRecord_->GetAbilityState(); in HWTEST_F() local 747 EXPECT_EQ(state, OHOS::AAFwk::AbilityState::TERMINATING); in HWTEST_F() 750 state = abilityRecord_->GetAbilityState(); in HWTEST_F() 751 EXPECT_EQ(state, OHOS::AAFwk::AbilityState::ACTIVE); in HWTEST_F() 1455 * CaseDescription: set AbilityRecord pending state 2560 * @tc.desc: Test the state of SetLaunchReason 2575 * @tc.desc: Test the state o [all...] |
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_self_cure/ |
H A D | self_cure_state_machine.cpp | 118 WIFI_LOGE("InitSelfCureStates some one state is null\n"); in InitSelfCureStates() 140 /* --------------------------- state machine default state ------------------------------ */ 178 int state = msg->GetParam1(); in ExecuteStateMsg() local 179 HandleP2pEnhanceStateChange(state); in ExecuteStateMsg() 202 void SelfCureStateMachine::DefaultState::HandleP2pEnhanceStateChange(int state) in HandleP2pEnhanceStateChange() argument 204 pSelfCureStateMachine->p2pEnhanceConnected_ = (state == 1) ? true : false; in HandleP2pEnhanceStateChange() 210 /* --------------------------- state machine connected monitor state ------------------------------ */ 610 /* --------------------------- state machin 2719 int state = WifiConfigCenter::GetInstance().GetScreenState(); IfPeriodicArpDetection() local [all...] |
/base/inputmethod/imf/services/src/ |
H A D | input_method_system_ability.cpp | 804 IMSA_HILOGI("right click on state, switch input method to: %{public}s", bundleName.c_str()); in Switch() 957 * \n Remote commands which may change the state or data in the service will be handled sequentially in this thread. 1155 int32_t InputMethodSystemAbility::SwitchByCombinationKey(uint32_t state) in SwitchByCombinationKey() argument 1167 if (CombinationKey::IsMatch(CombinationKeyFunction::SWITCH_MODE, state)) { in SwitchByCombinationKey() 1171 if (CombinationKey::IsMatch(CombinationKeyFunction::SWITCH_LANGUAGE, state)) { in SwitchByCombinationKey() 1182 if (CombinationKey::IsMatch(CombinationKeyFunction::SWITCH_IME, state) && !isScreenLocked) { in SwitchByCombinationKey()
|
/base/account/os_account/services/accountmgr/src/osaccount/ |
H A D | os_account_stub.cpp | 1384 std::vector<std::string> state; in ProcDumpState() local 1386 ErrCode result = DumpState(id, state); in ProcDumpState() 1392 if (!reply.WriteUint32(state.size())) { in ProcDumpState() 1397 for (auto info : state) { in ProcDumpState()
|
/base/msdp/device_status/test/unittest/intention/drag/src/ |
H A D | drag_manager_test.cpp | 158 void OnDragMessage(DragState state) override 163 FI_HILOGD("%{public}s, state:%{public}s", moduleName_.c_str(), PrintDragMessage(state).c_str()); 166 std::string PrintDragMessage(DragState state) in PrintDragMessage() argument 175 auto item = stateType.find(state); in PrintDragMessage() 195 FI_HILOGD("subscriptListener, %{public}s, state:%{public}s",
|
H A D | drag_server_test.cpp | 282 void OnDragMessage(DragState state) override 287 FI_HILOGD("%{public}s, state:%{public}s", moduleName_.c_str(), PrintDragMessage(state).c_str()); 290 std::string PrintDragMessage(DragState state) in PrintDragMessage() argument 299 auto item = stateType.find(state); in PrintDragMessage()
|
/base/telephony/call_manager/frameworks/native/src/ |
H A D | cellular_call_proxy.cpp | 1002 int32_t CellularCallProxy::SetVoNRState(int32_t slotId, int32_t state) in SetVoNRState() argument 1012 if (!in.WriteInt32(state)) { in SetVoNRState() 1029 int32_t CellularCallProxy::GetVoNRState(int32_t slotId, int32_t &state) in GetVoNRState() argument 1050 state = out.ReadInt32(); in GetVoNRState()
|
/base/telephony/cellular_call/test/unittest/cstest/ |
H A D | cs2_test.cpp | 663 callInfo.state = static_cast<int32_t>(TelCallState::CALL_STATUS_INCOMING); in HWTEST_F() 667 callInfo.state = static_cast<int32_t>(TelCallState::CALL_STATUS_ACTIVE); in HWTEST_F() 672 callInfo.state = static_cast<int32_t>(TelCallState::CALL_STATUS_DISCONNECTED); in HWTEST_F() 781 callRepotInfo.state = TelCallState::CALL_STATUS_INCOMING; in HWTEST_F()
|