| /base/powermgr/battery_statistics/test/fuzztest/batterystats_fuzzer/ |
| D | batterystats_fuzzer.cpp | 39 static int32_t GetInt32(const uint8_t* data, size_t size) in GetInt32() function 58 int32_t onBattery = GetInt32(data, size); in SetOnBattery() 64 int32_t uid = GetInt32(data, size); in GetAppStatsMah() 70 int32_t uid = GetInt32(data, size); in GetAppStatsPercent() 76 int32_t type = GetInt32(data, size); in GetPartStatsMah() 82 int32_t type = GetInt32(data, size); in GetPartStatsPercent() 88 int32_t number = GetInt32(data, size); in GetTotalTimeSecond() 94 int32_t number = GetInt32(data, size); in GetTotalDataBytes()
|
| /base/powermgr/power_manager/test/fuzztest/power_fuzzer/ |
| D | power_fuzzer.cpp | 87 static int32_t GetInt32(const uint8_t* data, size_t size) in GetInt32() function 101 int32_t reason = GetInt32(data, size); in SuspendDevice() 110 int32_t reason = GetInt32(data, size); in WakeupDevice() 117 int32_t type = GetInt32(data, size); in RefreshActivity() 133 int32_t mode = GetInt32(data, size); in SetDeviceMode() 147 int32_t type = GetInt32(data, size); in CreateRunningLock() 174 int32_t type = GetInt32(data, size); in ProxyRunningLock() 186 int32_t type = GetInt32(data, size); in Lock() 192 int32_t timeout = GetInt32(data, size); in Lock() 201 int32_t type = GetInt32(data, size); in UnLock() [all …]
|
| /base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/ |
| D | hap_byte_buffer_test.cpp | 97 ASSERT_FALSE(emptyBuffer.GetInt32(dataInt32)); 111 ASSERT_FALSE(testBuffer.GetInt32(1, dataInt32)); 140 ASSERT_TRUE(testBuffer2.GetInt32(sizeof(char) + sizeof(unsigned short), dataInt32)); 177 ASSERT_TRUE(buffer1.GetInt32(testDataInt32)); 212 ASSERT_TRUE(buffer2.GetInt32(target1)); 215 ASSERT_TRUE(buffer2.GetInt32(target2));
|
| /base/security/huks/interfaces/kits/napi/src/v9/ |
| D | huks_napi_common_item.cpp | 86 return GetInt32(env, 0); in ParseKeyAlias() 126 return GetInt32(env, 0); in GetUint8Array() 142 result = GetInt32(env, 0); in CheckParamValueType() 147 result = GetInt32(env, 0); in CheckParamValueType() 152 result = GetInt32(env, 0); in CheckParamValueType() 157 result = GetInt32(env, 0); in CheckParamValueType() 162 result = GetInt32(env, 0); in CheckParamValueType() 202 result = GetInt32(env, 0); in GetHksParam() 206 result = GetInt32(env, 0); in GetHksParam() 210 result = GetInt32(env, 0); in GetHksParam() [all …]
|
| D | huks_napi_generate_key_item.cpp | 91 return GetInt32(env, 0); in GenerateKeyParseParams()
|
| D | huks_napi_is_key_item_exist.cpp | 87 return GetInt32(env, 0); in IsKeyExistParseParams()
|
| D | huks_napi_abort_session.cpp | 87 return GetInt32(env, 0); in ParseAbortParams()
|
| D | huks_napi_delete_key_item.cpp | 87 return GetInt32(env, 0); in DeleteKeyParseParams()
|
| /base/security/huks/interfaces/kits/napi/src/v8/ |
| D | huks_napi_common.cpp | 74 return GetInt32(env, 0); in ParseKeyAlias() 106 return GetInt32(env, 0); in GetUint8Array() 123 result = GetInt32(env, 0); in GetHksParam() 127 result = GetInt32(env, 0); in GetHksParam() 131 result = GetInt32(env, 0); in GetHksParam() 135 result = GetInt32(env, 0); in GetHksParam() 189 return GetInt32(env, 0); in ParseParams() 242 return GetInt32(env, 0); in ParseHksParamSetOrAddParam() 549 return GetInt32(env, 0); in GetHandleValue() 590 return GetInt32(env, 0); in ParseGetHksParamSet() [all …]
|
| /base/security/appverify/interfaces/innerkits/appverify/include/common/ |
| D | hap_byte_buffer.h | 46 DLL_EXPORT bool GetInt32(int32_t& value); 47 DLL_EXPORT bool GetInt32(int32_t index, int32_t& value);
|
| /base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/ |
| D | reminder_common.cpp | 78 GetInt32(env, actionButton, ReminderAgentNapi::ACTION_BUTTON_TYPE, buttonType, false)) { in GenActionButtons() 259 if (GetInt32(env, value, ReminderAgentNapi::NOTIFICATION_ID, propertyVal, false)) { in GenReminder() 264 if (GetInt32(env, value, ReminderAgentNapi::SNOOZE_TIMES, propertyVal, false)) { in GenReminder() 275 if (GetInt32(env, value, ReminderAgentNapi::SLOT_TYPE, slotType, false)) { in GenReminder() 353 bool ReminderCommon::GetInt32(const napi_env &env, const napi_value &value, in GetInt32() function in OHOS::ReminderAgentNapi::ReminderCommon 449 if (!GetInt32(env, value, ReminderAgentNapi::ALARM_HOUR, propertyHourVal, true)) { in CreateReminderAlarm() 456 if (!GetInt32(env, value, ReminderAgentNapi::ALARM_MINUTE, propertyMinuteVal, true)) { in CreateReminderAlarm() 497 if (!GetInt32(env, dateTimeObj, ReminderAgentNapi::CALENDAR_YEAR, propertyYearVal, true) || in CreateReminderCalendar() 498 !GetInt32(env, dateTimeObj, ReminderAgentNapi::CALENDAR_MONTH, propertyMonthVal, true) || in CreateReminderCalendar() 499 !GetInt32(env, dateTimeObj, ReminderAgentNapi::CALENDAR_DAY, propertyDayVal, true) || in CreateReminderCalendar() [all …]
|
| /base/security/certificate_manager/interfaces/kits/napi/src/ |
| D | cm_napi_sign_verify.cpp | 117 return GetInt32(env, 0); in ParseSpec() 135 return GetInt32(env, 0); in GetBlob() 176 return GetInt32(env, 0); in ParseCMInitParams() 217 return GetInt32(env, 0); in ParseCMUpdateParams() 240 return GetInt32(env, 0); in MallocFinishOutData() 299 return GetInt32(env, 0); in ProcessFinishTwoParam() 311 return GetInt32(env, 0); in ProcessFinishTwoParam() 344 return GetInt32(env, 0); in ProcessFinishThreeParam() 408 return GetInt32(env, 0); in ParseCMAbortParams()
|
| D | cm_napi_user_trusted_cert.cpp | 132 return GetInt32(env, 0); in ParseCertInfo() 166 return GetInt32(env, 0); in ParseInstallUserCertParams() 200 return GetInt32(env, 0); in ParseUninstallUserCertParams() 226 return GetInt32(env, 0); in ParseUninstallAllUserCertParams()
|
| D | cm_napi_common.cpp | 40 return GetInt32(env, 0); in ParseUint32() 54 return GetInt32(env, 0); in ParseBoolean() 105 return GetInt32(env, 0); in ParseString() 141 return GetInt32(env, 0); in GetUint8Array()
|
| D | cm_napi_uninstall_all_app_cert.cpp | 83 return GetInt32(env, 0); in UninstallAllAppCertParseParams()
|
| D | cm_napi_uninstall_app_cert_common.cpp | 91 return GetInt32(env, 0); in UninstallAppCertParseParams()
|
| /base/security/appverify/interfaces/innerkits/appverify/src/common/ |
| D | hap_byte_buffer.cpp | 140 bool HapByteBuffer::GetInt32(int32_t& value) in GetInt32() function in OHOS::Security::Verify::HapByteBuffer 142 if (!GetInt32(0, value)) { in GetInt32() 150 bool HapByteBuffer::GetInt32(int32_t index, int32_t& value) in GetInt32() function in OHOS::Security::Verify::HapByteBuffer
|
| /base/hiviewdfx/hiappevent/frameworks/js/napi/src/ |
| D | napi_hiappevent_builder.cpp | 69 …if (!NapiUtil::IsNumber(env, type) || !OHOS::HiviewDFX::IsValidEventType(NapiUtil::GetInt32(env, t… in IsValidEventType() 204 int32_t type = NapiUtil::GetInt32(env, params[index++]); in BuildEventPack() 213 int32_t type = NapiUtil::GetInt32(env, NapiUtil::GetProperty(env, eventInfo, TYPE_PROPERTY)); in BuildEventPack()
|
| /base/security/appverify/interfaces/innerkits/appverify/src/verify/ |
| D | hap_verify_v2.cpp | 352 if (!digest.content.GetInt32(DIGEST_BLOCK_LEN_OFFSET, digestBlockLen)) { in GetDigestAndAlgorithm() 357 if (!digest.content.GetInt32(DIGEST_ALGORITHM_OFFSET, digest.digestAlgorithm)) { in GetDigestAndAlgorithm() 363 if (!digest.content.GetInt32(DIGEST_LEN_OFFSET, digestlen)) { in GetDigestAndAlgorithm()
|
| /base/inputmethod/imf/test/unittest/cpp_test/src/ |
| D | js_util_test.cpp | 69 static napi_value GetInt32(napi_env env, napi_callback_info info) in GetInt32() function 154 DECLARE_NAPI_FUNCTION("getInt32", GetInt32), in Init()
|
| /base/update/updateservice/frameworks/js/napi/base/include/ |
| D | napi_util.h | 61 …static int32_t GetInt32(napi_env env, napi_value arg, const std::string &attrName, int32_t &intVal…
|
| /base/update/updateservice/frameworks/js/napi/base/src/ |
| D | client_helper.cpp | 354 NapiUtil::GetInt32(env, businessTypeValue, "subType", subType); in ParseBusinessType() 417 NapiUtil::GetInt32(env, arg, "format", tmpFormat); in GetDescriptionFormat() 428 NapiUtil::GetInt32(env, arg, "allowNetwork", allowNetwork); in GetNetType() 440 NapiUtil::GetInt32(env, arg, "order", tmpOrder); in GetOrder() 499 NapiUtil::GetInt32(env, arg, "status", status); in GetOptionsFromArg() 527 NapiUtil::GetInt32(env, arg, "fileType", fileType); in ParseUpgradeFile() 583 NapiUtil::GetInt32(env, arg, "eventClassify", eventClassify); in GetEventClassifyInfoFromArg()
|
| /base/security/appverify/interfaces/innerkits/appverify/src/util/ |
| D | hap_signing_block_utils.cpp | 161 if (searchBuffer.GetInt32(currentOffset, hapEocdSegmentFlag) && in FindEocdInSearchBuffer() 287 return hapBlockHead.GetInt32(hapSignBlockHead.blockCount) && in ParseSignBlockHead() 291 hapBlockHead.GetInt32(hapSignBlockHead.version); in ParseSignBlockHead()
|
| /base/security/huks/interfaces/kits/napi/include/v9/ |
| D | huks_napi_common_item.h | 67 inline napi_value GetInt32(napi_env env, int32_t value) in GetInt32() function
|
| /base/security/huks/interfaces/kits/napi/include/v8/ |
| D | huks_napi_common.h | 81 inline napi_value GetInt32(napi_env env, int32_t value) in GetInt32() function
|