Home
last modified time | relevance | path

Searched refs:GetIntProperty (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/foundation/resourceschedule/work_scheduler/interfaces/kits/js/napi/src/
H A Dcommon.cpp63 int32_t workId = GetIntProperty(env, objValue, "workId", E_WORKID_ERR); in GetBaseWorkInfo()
90 int32_t networkType = GetIntProperty(env, objValue, "networkType", E_NETWORK_TYPE_ERR); in GetNetWorkInfo()
108 int32_t chargerType = GetIntProperty(env, objValue, "chargerType", E_CHARGER_TYPE_ERR); in GetChargeInfo()
134 int32_t batteryLevel = GetIntProperty(env, objValue, "batteryLevel", E_BATTERY_LEVEL_ERR); in GetBatteryInfo()
146 int32_t batteryStatus = GetIntProperty(env, objValue, "batteryStatus", E_BATTERY_STATUS_ERR); in GetBatteryInfo()
163 int32_t storageRequest = GetIntProperty(env, objValue, "storageRequest", E_STORAGE_REQUEST_ERR); in GetStorageInfo()
179 …int32_t repeatCycleTime = GetIntProperty(env, objValue, "repeatCycleTime", E_REPEAT_CYCLE_TIME_TYP… in GetRepeatInfo()
186 int32_t repeatCount = GetIntProperty(env, objValue, "repeatCount", E_REPEAT_COUNT_ERR); in GetRepeatInfo()
281 int32_t Common::GetIntProperty(napi_env env, napi_value object, in GetIntProperty() function in OHOS::WorkScheduler::Common
/ohos5.0/base/account/os_account/interfaces/kits/napi/account_iam/src/
H A Dnapi_account_iam_inputer_manager.cpp62 if (!GetIntProperty(env, argv[PARAM_ZERO], authType)) { in ParseContextForRegisterInputer()
116 if (!GetIntProperty(env, argv[PARAM_ZERO], authType)) { in UnregisterInputer()
H A Dnapi_account_iam_identity_manager.cpp393 if (!GetIntProperty(env, argv, authType)) { in ParseOneParamForGetAuthInfo()
448 if (!GetIntProperty(env, argv[PARAM_ZERO], authType)) { in ParseContextForGetAuthInfo()
512 if (!GetIntProperty(env, argv[0], authType)) { in ParseContextForGetEnrolledId()
H A Dnapi_account_iam_user_auth.cpp405 if (!GetIntProperty(env, argv[index++], context.authType)) { in ParseContextForAuth()
411 if (!GetIntProperty(env, argv[index++], context.trustLevel)) { in ParseContextForAuth()
442 if (!GetIntProperty(env, argv[0], context.userId)) { in ParseContextForAuthUser()
H A Dnapi_account_iam_common.cpp959 if (!GetIntProperty(env, argv[PARAM_ZERO], authSubType)) { in OnSetData()
/ohos5.0/base/account/os_account/interfaces/kits/napi/domain_account/src/
H A Dnapi_domain_auth_callback.cpp82 if (!GetIntProperty(env, napiRemainTimes, authResult.authStatusInfo.remainingTimes)) { in ParseDoaminAuthResult()
94 if (!GetIntProperty(env, napiFreezingTime, authResult.authStatusInfo.freezingTime)) { in ParseDoaminAuthResult()
H A Dnapi_domain_account_manager.cpp1135 if (!GetIntProperty(env, argv[0], authWithPopupContext.userId)) { in ParseContextForAuthWithPopup()
/ohos5.0/base/account/os_account/interfaces/kits/napi/osaccount/src/
H A Dnapi_os_account_common.cpp108 if (!GetIntProperty(env, argv[PARAMZERO], id)) { in ParseCallbackAndId()
129 if (!GetIntProperty(env, argv[PARAMZERO], asyncContext->id)) { in ParseParaDeactivateOA()
366 if (!GetIntProperty(env, argv[PARAMZERO], asyncContext->id)) { in ParseParaSetOAName()
424 if (!GetIntProperty(env, argv[PARAMZERO], asyncContext->id)) { in ParseParaSetOAConstraints()
534 if (!GetIntProperty(env, argv[PARAMONE], type)) { in ParseParaCreateOA()
610 if (!GetIntProperty(env, argv[PARAMZERO], id)) { in ParseParaCreateOAForDomain()
893 if (!GetIntProperty(env, argv[PARAMZERO], asyncContext->id)) { in ParseQueryOAConstraintSrcTypes()
1156 if (!GetIntProperty(env, argv[PARAMZERO], asyncContext->uid)) { in ParseParaGetIdByUid()
1286 if (!GetIntProperty(env, argv[PARAMZERO], asyncContext->id)) { in ParseParaSetPhoto()
1430 if (!GetIntProperty(env, argv[PARAMZERO], asyncContext->id)) { in ParseParaIsEnable()
[all …]
H A Dnapi_os_account.cpp891 if (!GetIntProperty(env, argv[0], uid)) { in ParseUidFromCbInfo()
/ohos5.0/base/telephony/call_manager/frameworks/js/napi/include/
H A Dnapi_call_manager_utils.h75 static int32_t GetIntProperty(napi_env env, napi_value object, const std::string &propertyName);
/ohos5.0/foundation/resourceschedule/work_scheduler/interfaces/kits/js/napi/include/
H A Dcommon.h68 static int32_t GetIntProperty(napi_env env, napi_value object,
/ohos5.0/base/account/os_account/interfaces/kits/napi/common/include/
H A Dnapi_account_common.h63 bool GetIntProperty(napi_env env, napi_value obj, int32_t &property);
/ohos5.0/base/account/os_account/interfaces/kits/napi/common/src/
H A Dnapi_account_common.cpp114 bool GetIntProperty(napi_env env, napi_value obj, int32_t &property) in GetIntProperty() function
313 if (!GetIntProperty(env, value, numberProperty)) { in GetOptionalNumberPropertyByKey()
/ohos5.0/base/account/os_account/interfaces/kits/napi/distributedaccount/src/
H A Dnapi_distributed_account.cpp446 if (!GetIntProperty(env, argv[PARAM_ZERO], asyncContext->localId)) { in ParseSetOsAccountDistributedInfoByLocalId()
505 if (!GetIntProperty(env, argv[PARAM_ZERO], asyncContext->localId)) { in ParseGetOsAccountDistributedInfoByLocalId()
/ohos5.0/base/telephony/call_manager/frameworks/js/napi/src/
H A Dnapi_call_manager_utils.cpp204 int32_t NapiCallManagerUtils::GetIntProperty(napi_env env, napi_value object, const std::string &pr… in GetIntProperty() function in OHOS::Telephony::NapiCallManagerUtils
H A Dnapi_call_manager.cpp2488 NapiCallManagerUtils::GetIntProperty(env, argv[ARRAY_INDEX_SECOND], "slotId"); in IsEmergencyPhoneNumber()
3169 int32_t tmpValue = NapiCallManagerUtils::GetIntProperty(env, napiFormId, "videoState"); in ReportOttCallDetailsInfo()
3171 tmpValue = NapiCallManagerUtils::GetIntProperty(env, napiFormId, "callState"); in ReportOttCallDetailsInfo()
3933 asyncContext.accountId = NapiCallManagerUtils::GetIntProperty(env, objValue, "accountId"); in GetDialInfo()
3934 asyncContext.videoState = NapiCallManagerUtils::GetIntProperty(env, objValue, "videoState"); in GetDialInfo()
3935 asyncContext.dialScene = NapiCallManagerUtils::GetIntProperty(env, objValue, "dialScene"); in GetDialInfo()
3936 asyncContext.dialType = NapiCallManagerUtils::GetIntProperty(env, objValue, "dialType"); in GetDialInfo()
3982 int32_t startHour = NapiCallManagerUtils::GetIntProperty(env, objValue, "startHour"); in GetTransferInfo()
3983 int32_t startMinute = NapiCallManagerUtils::GetIntProperty(env, objValue, "startMinute"); in GetTransferInfo()
3984 int32_t endHour = NapiCallManagerUtils::GetIntProperty(env, objValue, "endHour"); in GetTransferInfo()
[all …]
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/utils/
H A Dnapi_utils.cpp557 bool GetIntProperty(napi_env env, napi_value value, const std::string& key, int32_t& result) in GetIntProperty() function