/foundation/distributedhardware/distributed_screen/services/common/utils/src/ |
H A D | dscreen_maprelation.cpp | 109 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 D | auth_message_processor.cpp | 266 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 D | hichain_auth_connector.cpp | 174 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 D | dm_credential_manager.cpp | 66 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 D | dinput_source_manager_event_handler.cpp | 347 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 D | screen_data_channel_impl.cpp | 372 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 D | distributed_input_sink_transport.cpp | 456 !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 D | daudio_util.cpp | 50 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 D | json_utils_test.cpp | 46 * @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 D | distributed_sched_utils_test.cpp | 231 * @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 D | pin_auth.cpp | 45 if (!IsInt32(jsonObject, PIN_CODE_KEY)) { in ShowAuthInfo()
|
/foundation/distributedhardware/distributed_screen/common/include/ |
H A D | dscreen_json_util.h | 25 bool IsInt32(const nlohmann::json &jsonObj, const std::string &key);
|
/foundation/distributedhardware/device_manager/services/service/src/pinholder/ |
H A D | pin_holder.cpp | 226 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 D | distributed_sched_utils.h | 42 bool IsInt32(const cJSON *paramValue);
|
/foundation/distributedhardware/distributed_audio/common/test/unittest/src/ |
H A D | daudio_utils_test.cpp | 349 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 D | softbus_session.cpp | 141 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 D | distributed_input_source_transport.cpp | 1098 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 D | json_utils.h | 51 static bool IsInt32(const json& jsonObj, const std::string& key);
|
H A D | json_utils.cpp | 74 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 D | dm_ability_manager.cpp | 56 if (IsInt32(jsonObject, TAG_LOCAL_DEVICE_TYPE)) { in StartAbility()
|
/foundation/distributedhardware/device_manager/common/include/ |
H A D | dm_anonymous.h | 32 bool IsInt32(const nlohmann::json &jsonObj, const std::string &key);
|
/foundation/distributedhardware/distributed_hardware_fwk/utils/include/ |
H A D | dh_utils_tool.h | 54 bool IsInt32(const cJSON* jsonObj, const std::string& key);
|
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/componentloader/ |
H A D | component_loader.cpp | 147 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 D | js_value.h | 46 virtual bool IsInt32(shared_ptr<JsRuntime> runtime) = 0;
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/modules/ |
H A D | jsi_context_module.cpp | 46 if (!retId->IsInt32(runtime)) { in GetInstanceIdByThis()
|