Home
last modified time | relevance | path

Searched refs:IsInt32 (Results 1 - 25 of 62) sorted by relevance

123

/foundation/distributedhardware/distributed_screen/services/common/utils/src/
H A Ddscreen_maprelation.cpp109 if (!IsInt32(j, KEY_POINT_START_X) || !IsInt32(j, KEY_POINT_START_Y) || !IsInt32(j, KEY_WIDTH) || in from_json()
110 !IsInt32(j, KEY_HEIGHT)) { in from_json()
141 if (!IsInt32(j, KEY_POINT_START_X) || !IsInt32(j, KEY_POINT_START_Y) || !IsUInt32(j, KEY_WIDTH) || in from_json()
/foundation/distributedhardware/device_manager/services/implementation/src/authentication/
H A Dauth_message_processor.cpp266 if (!IsInt32(jsonObject, TAG_MSG_TYPE)) { in ParseMessage()
312 if (IsInt32(json, TAG_REPLY)) { in ParseAuthResponseMessageExt()
318 if (IsInt32(json, TAG_CONFIRM_OPERATION)) { in ParseAuthResponseMessageExt()
328 if (IsInt32(json, TAG_REPLY)) { in ParseResponseFinishMessage()
338 if (IsInt32(json, TAG_AUTH_TYPE)) { in GetAuthReqMessage()
362 if (IsInt32(json, TAG_LOCAL_DEVICE_TYPE)) { in GetAuthReqMessage()
374 if (!IsInt32(json, TAG_INDEX) || !IsInt32(json, TAG_SLICE_NUM)) { in ParseAuthRequestMessage()
394 if (IsInt32(json, TAG_BIND_TYPE_SIZE)) { in ParseAuthRequestMessage()
403 if (IsInt32(jso in ParseAuthRequestMessage()
[all...]
/foundation/distributedhardware/device_manager/services/implementation/src/dependency/hichain/
H A Dhichain_auth_connector.cpp174 if (!IsInt32(jsonObject, "result") || !IsString(jsonObject, "publicKey") || in GenerateCredential()
207 if (!IsInt32(jsonObject, "result") || jsonObject["result"].get<int32_t>() == -1) { in QueryCredential()
238 if (!IsInt32(jsonObject, "result") || jsonObject["result"].get<int32_t>() == -1) { in GetCredential()
270 if (!IsInt32(jsonObject, "result")) { in ImportCredential()
301 if (!IsInt32(jsonObject, "result")) { in DeleteCredential()
/foundation/distributedhardware/device_manager/services/implementation/src/credential/
H A Ddm_credential_manager.cpp66 if (!IsInt32(jsonObject, FIELD_CREDENTIAL_TYPE) || !IsString(jsonObject, FIELD_CREDENTIAL_ID) || in from_json()
132 if (!IsInt32(jsonObject, FIELD_PROCESS_TYPE)) { in ImportCredential()
174 if (!IsInt32(jsonObject, FIELD_AUTH_TYPE) || !IsString(jsonObject, FIELD_USER_ID) || in ImportLocalCredential()
222 if (!IsInt32(jsonObject, FIELD_PROCESS_TYPE) || !IsInt32(jsonObject, FIELD_AUTH_TYPE) || in DeleteCredential()
336 if (!IsInt32(jsonObject, FIELD_CREDENTIAL_TYPE)) { in from_json()
387 !IsInt32(jsonObject, FIELD_AUTH_TYPE)) { in GetAddDeviceList()
419 if (!IsInt32(jsonObject, FIELD_AUTH_TYPE)) { in ImportRemoteCredential()
487 if (!IsInt32(jsonObject, FIELD_AUTH_TYPE)) { in DeleteRemoteCredential()
/foundation/distributedhardware/distributed_input/services/source/sourcemanager/src/
H A Ddinput_source_manager_event_handler.cpp347 if (!IsInt32(innerMsg, INPUT_SOURCEMANAGER_KEY_RESULT)) { in NotifyStartServerCallback()
370 if (!IsInt32(innerMsg, INPUT_SOURCEMANAGER_KEY_VALUE) || in NotifyRelayPrepareCallback()
396 if (!IsInt32(innerMsg, INPUT_SOURCEMANAGER_KEY_VALUE) || in NotifyRelayUnprepareCallback()
425 !IsInt32(innerMsg, INPUT_SOURCEMANAGER_KEY_SESSIONID)) { in NotifyRelayPrepareRemoteInput()
464 !IsInt32(innerMsg, INPUT_SOURCEMANAGER_KEY_SESSIONID)) { in NotifyRelayUnprepareRemoteInput()
498 if (!IsInt32(innerMsg, INPUT_SOURCEMANAGER_KEY_VALUE) || in NotifyRelayStartDhidCallback()
526 if (!IsInt32(innerMsg, INPUT_SOURCEMANAGER_KEY_VALUE) || in NotifyRelayStopDhidCallback()
554 if (!IsInt32(innerMsg, INPUT_SOURCEMANAGER_KEY_VALUE) || in NotifyRelayStartTypeCallback()
582 if (!IsInt32(innerMsg, INPUT_SOURCEMANAGER_KEY_VALUE) || in NotifyRelayStopTypeCallback()
/foundation/distributedhardware/distributed_screen/services/screentransport/screendatachannel/src/
H A Dscreen_data_channel_impl.cpp372 if (!IsInt32(rectJson, "dirtySize") || !IsInt32(rectJson, "dataType")) { in JsonToDirtyJson()
386 if (!IsInt32(rectJson[item], KEY_POINT_DIRTY_X) || !IsInt32(rectJson[item], KEY_POINT_DIRTY_Y) || in JsonToDirtyJson()
387 !IsInt32(rectJson[item], KEY_POINT_DIRTY_W) || !IsInt32(rectJson[item], KEY_POINT_DIRTY_H) || in JsonToDirtyJson()
388 !IsInt32(rectJson[item], KEY_POINT_DIRTY_SIZE)) { in JsonToDirtyJson()
/foundation/distributedhardware/distributed_input/services/sink/transport/src/
H A Ddistributed_input_sink_transport.cpp456 !IsInt32(recMsg, DINPUT_SOFTBUS_KEY_SESSION_ID)) { in NotifyRelayPrepareRemoteInput()
474 !IsInt32(recMsg, DINPUT_SOFTBUS_KEY_SESSION_ID)) { in NotifyRelayUnprepareRemoteInput()
492 !IsInt32(recMsg, DINPUT_SOFTBUS_KEY_SESSION_ID) || in NotifyRelayStartDhidRemoteInput()
512 !IsInt32(recMsg, DINPUT_SOFTBUS_KEY_SESSION_ID) || in NotifyRelayStopDhidRemoteInput()
532 !IsInt32(recMsg, DINPUT_SOFTBUS_KEY_SESSION_ID) || in NotifyRelayStartTypeRemoteInput()
552 !IsInt32(recMsg, DINPUT_SOFTBUS_KEY_SESSION_ID) || in NotifyRelayStopTypeRemoteInput()
663 if (!IsInt32(event, INPUT_KEY_TYPE) || !IsInt64(event, INPUT_KEY_WHEN) || in RecordEventLog()
664 !IsUInt32(event, INPUT_KEY_CODE) || !IsInt32(event, INPUT_KEY_VALUE) || in RecordEventLog()
/foundation/distributedhardware/distributed_audio/common/src/
H A Ddaudio_util.cpp50 std::map<std::string, JsonTypeCheckFunc>::value_type(KEY_TYPE, &DistributedHardware::IsInt32),
57 std::map<std::string, JsonTypeCheckFunc>::value_type(KEY_RESULT, &DistributedHardware::IsInt32),
58 std::map<std::string, JsonTypeCheckFunc>::value_type(KEY_EVENT_TYPE, &DistributedHardware::IsInt32),
62 std::map<std::string, JsonTypeCheckFunc>::value_type(KEY_SAMPLING_RATE, &DistributedHardware::IsInt32),
63 std::map<std::string, JsonTypeCheckFunc>::value_type(KEY_CHANNELS, &DistributedHardware::IsInt32),
64 std::map<std::string, JsonTypeCheckFunc>::value_type(KEY_FORMAT, &DistributedHardware::IsInt32),
65 std::map<std::string, JsonTypeCheckFunc>::value_type(KEY_SOURCE_TYPE, &DistributedHardware::IsInt32),
66 std::map<std::string, JsonTypeCheckFunc>::value_type(KEY_CONTENT_TYPE, &DistributedHardware::IsInt32),
67 std::map<std::string, JsonTypeCheckFunc>::value_type(KEY_STREAM_USAGE, &DistributedHardware::IsInt32),
288 bool IsInt32(cons function
[all...]
/foundation/multimedia/av_session/services/session/server/test/
H A Djson_utils_test.cpp46 * @tc.desc: test IsInt32
54 bool ret = JsonUtils::IsInt32(jsonTest, "test"); in HWTEST()
61 * @tc.desc: test IsInt32
69 bool ret = JsonUtils::IsInt32(jsonTest, "test"); in HWTEST()
/foundation/ability/dmsfwk/common/test/unittest/src/
H A Ddistributed_sched_utils_test.cpp231 * @tc.desc: IsInt32
237 bool ret = IsInt32(nullptr); in HWTEST_F()
246 ret = IsInt32(paramValue); in HWTEST_F()
249 ret = IsInt32(dataValue); in HWTEST_F()
/foundation/distributedhardware/device_manager/ext/pin_auth/src/
H A Dpin_auth.cpp45 if (!IsInt32(jsonObject, PIN_CODE_KEY)) { in ShowAuthInfo()
/foundation/distributedhardware/distributed_screen/common/include/
H A Ddscreen_json_util.h25 bool IsInt32(const nlohmann::json &jsonObj, const std::string &key);
/foundation/distributedhardware/device_manager/services/service/src/pinholder/
H A Dpin_holder.cpp226 if (!IsInt32(jsonObject, TAG_MSG_TYPE)) { in ParseMsgType()
245 if (!IsInt32(jsonObject, TAG_PIN_TYPE) || !IsString(jsonObject, TAG_PAYLOAD)) { in ProcessCreateMsg()
288 if (!IsInt32(jsonObject, TAG_REPLY)) { in ProcessCreateRespMsg()
324 if (!IsInt32(jsonObject, TAG_PIN_TYPE) || !IsString(jsonObject, TAG_PAYLOAD)) { in ProcessDestroyMsg()
396 if (!IsInt32(jsonObject, TAG_REPLY)) { in ProcessDestroyResMsg()
562 if (jsonObject.is_discarded() || !IsInt32(jsonObject, TAG_PIN_TYPE)) { in NotifyPinHolderEvent()
598 if (!IsInt32(jsonObject, TAG_PIN_TYPE)) { in ProcessChangeMsg()
637 if (!IsInt32(jsonObject, TAG_REPLY)) { in ProcessChangeRespMsg()
/foundation/ability/dmsfwk/common/include/
H A Ddistributed_sched_utils.h42 bool IsInt32(const cJSON *paramValue);
/foundation/distributedhardware/distributed_audio/common/test/unittest/src/
H A Ddaudio_utils_test.cpp349 EXPECT_EQ(false, IsInt32(jsonObject, key)); in HWTEST_F()
352 EXPECT_EQ(false, IsInt32(jsonObject, key)); in HWTEST_F()
354 EXPECT_EQ(false, IsInt32(jsonObject, key)); in HWTEST_F()
359 EXPECT_EQ(false, IsInt32(jsonObject1, key)); in HWTEST_F()
/foundation/distributedhardware/device_manager/services/implementation/src/dependency/softbus/
H A Dsoftbus_session.cpp141 if (!IsInt32(jsonObject, TAG_MSG_TYPE)) { in SendData()
198 if (!IsInt32(jsonObject, TAG_MSG_TYPE)) { in OnBytesReceived()
/foundation/distributedhardware/distributed_input/services/source/transport/src/
H A Ddistributed_input_source_transport.cpp1098 if (!IsInt32(recMsg, DINPUT_SOFTBUS_KEY_SESSION_ID) || in NotifyResponseRelayPrepareRemoteInput()
1117 if (!IsInt32(recMsg, DINPUT_SOFTBUS_KEY_SESSION_ID) || in NotifyResponseRelayUnprepareRemoteInput()
1142 !IsInt32(recMsg, DINPUT_SOFTBUS_KEY_RESP_VALUE)) { in ReceiveRelayPrepareResult()
1158 !IsInt32(recMsg, DINPUT_SOFTBUS_KEY_RESP_VALUE)) { in ReceiveRelayUnprepareResult()
1221 !IsInt32(recMsg, DINPUT_SOFTBUS_KEY_SESSION_ID) || in NotifyResponseRelayStartDhidRemoteInput()
1248 !IsInt32(recMsg, DINPUT_SOFTBUS_KEY_SESSION_ID) || in NotifyResponseRelayStopDhidRemoteInput()
1273 if (!IsInt32(recMsg, DINPUT_SOFTBUS_KEY_RESP_VALUE) || in ReceiveRelayStartDhidResult()
1291 if (!IsInt32(recMsg, DINPUT_SOFTBUS_KEY_RESP_VALUE) || in ReceiveRelayStopDhidResult()
1310 !IsInt32(recMsg, DINPUT_SOFTBUS_KEY_INPUT_TYPE)) { in ReceiveSrcTSrcRelayStartType()
1333 !IsInt32(recMs in ReceiveSrcTSrcRelayStopType()
[all...]
/foundation/multimedia/av_session/services/session/server/remote/
H A Djson_utils.h51 static bool IsInt32(const json& jsonObj, const std::string& key);
H A Djson_utils.cpp74 bool JsonUtils::IsInt32(const json& jsonObj, const std::string& key) in IsInt32() function in OHOS::AVSession::JsonUtils
174 && IsInt32(compatibility, "avsessionVersion") && IsInt32(jsonObj["data"], "systemTime") in GetSessionBasicInfo()
/foundation/distributedhardware/device_manager/services/implementation/src/ability/standard/
H A Ddm_ability_manager.cpp56 if (IsInt32(jsonObject, TAG_LOCAL_DEVICE_TYPE)) { in StartAbility()
/foundation/distributedhardware/device_manager/common/include/
H A Ddm_anonymous.h32 bool IsInt32(const nlohmann::json &jsonObj, const std::string &key);
/foundation/distributedhardware/distributed_hardware_fwk/utils/include/
H A Ddh_utils_tool.h54 bool IsInt32(const cJSON* jsonObj, const std::string& key);
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/componentloader/
H A Dcomponent_loader.cpp147 if (!IsInt32(json, COMP_SOURCE_SA_ID)) { in ParseSource()
167 if (!IsInt32(json, COMP_SINK_SA_ID)) { in ParseSink()
304 if (IsInt32(component, COMP_SOURCE_SA_ID.c_str())) { in ParseCompConfigFromJson()
314 if (IsInt32(component, COMP_SINK_SA_ID.c_str())) { in ParseCompConfigFromJson()
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djs_value.h46 virtual bool IsInt32(shared_ptr<JsRuntime> runtime) = 0;
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/modules/
H A Djsi_context_module.cpp46 if (!retId->IsInt32(runtime)) { in GetInstanceIdByThis()

Completed in 16 milliseconds

123