/base/security/access_token/services/privacymanager/src/database/ |
D | data_translator.cpp | 57 int32_t opCode = inGenericValues.GetInt(PrivacyFiledConst::FIELD_OP_CODE); in TranslationGenericValuesIntoPermissionUsedRecord() 65 if (inGenericValues.GetInt(PrivacyFiledConst::FIELD_ACCESS_COUNT) != 0) { in TranslationGenericValuesIntoPermissionUsedRecord() 66 … permissionRecord.accessCount = inGenericValues.GetInt(PrivacyFiledConst::FIELD_ACCESS_COUNT); in TranslationGenericValuesIntoPermissionUsedRecord() 71 if (inGenericValues.GetInt(PrivacyFiledConst::FIELD_REJECT_COUNT) != 0) { in TranslationGenericValuesIntoPermissionUsedRecord() 72 … permissionRecord.rejectCount = inGenericValues.GetInt(PrivacyFiledConst::FIELD_REJECT_COUNT); in TranslationGenericValuesIntoPermissionUsedRecord() 76 if (inGenericValues.GetInt(PrivacyFiledConst::FIELD_FLAG) == 0) { in TranslationGenericValuesIntoPermissionUsedRecord() 81 detail.status = inGenericValues.GetInt(PrivacyFiledConst::FIELD_STATUS); in TranslationGenericValuesIntoPermissionUsedRecord()
|
/base/security/access_token/services/privacymanager/src/record/ |
D | permission_record.cpp | 35 record.tokenId = values.GetInt(PrivacyFiledConst::FIELD_TOKEN_ID); in TranslationIntoPermissionRecord() 36 record.opCode = values.GetInt(PrivacyFiledConst::FIELD_OP_CODE); in TranslationIntoPermissionRecord() 37 record.status = values.GetInt(PrivacyFiledConst::FIELD_STATUS); in TranslationIntoPermissionRecord() 40 record.accessCount = values.GetInt(PrivacyFiledConst::FIELD_ACCESS_COUNT); in TranslationIntoPermissionRecord() 41 record.rejectCount = values.GetInt(PrivacyFiledConst::FIELD_REJECT_COUNT); in TranslationIntoPermissionRecord()
|
/base/powermgr/battery_manager/test/unittest/src/ |
D | battery_config_test.cpp | 80 int32_t warnCapacity = g_configTest.GetInt(key, invalid); 100 int32_t highTemperature = g_configTest.GetInt(key, maxTemp); 120 int32_t lowTemperature = g_configTest.GetInt(key, minTemp); 139 int32_t shtdwonCapacity = g_configTest.GetInt(key, invalid); 158 int32_t low_battery_event = g_configTest.GetInt(key, invalid); 173 EXPECT_EQ(defValue, g_configTest.GetInt("XXXXXXXXX", defValue)); 186 EXPECT_EQ(defValue, g_configTest.GetInt("X.X.X.X.X.X", defValue)); 199 EXPECT_EQ(defValue, g_configTest.GetInt("", defValue)); 230 int32_t highSoc = g_configTest.GetInt(key, defVal);
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/database/ |
D | data_translator.cpp | 53 outPermissionDef.grantMode = inGenericValues.GetInt(TokenFiledConst::FIELD_GRANT_MODE); in TranslationIntoPermissionDef() 54 int aplNum = inGenericValues.GetInt(TokenFiledConst::FIELD_AVAILABLE_LEVEL); in TranslationIntoPermissionDef() 60 …outPermissionDef.provisionEnable = (inGenericValues.GetInt(TokenFiledConst::FIELD_PROVISION_ENABLE… in TranslationIntoPermissionDef() 62 (inGenericValues.GetInt(TokenFiledConst::FIELD_DISTRIBUTED_SCENE_ENABLE) == 1); in TranslationIntoPermissionDef() 64 outPermissionDef.labelId = inGenericValues.GetInt(TokenFiledConst::FIELD_LABEL_ID); in TranslationIntoPermissionDef() 66 outPermissionDef.descriptionId = inGenericValues.GetInt(TokenFiledConst::FIELD_DESCRIPTION_ID); in TranslationIntoPermissionDef() 90 ((inGenericValues.GetInt(TokenFiledConst::FIELD_GRANT_IS_GENERAL) == 1) ? true : false); in TranslationIntoPermissionStateFull() 110 int grantStatus = (PermissionState)inGenericValues.GetInt(TokenFiledConst::FIELD_GRANT_STATE); in TranslationIntoPermissionStateFull() 120 int grantFlag = (PermissionState)inGenericValues.GetInt(TokenFiledConst::FIELD_GRANT_FLAG); in TranslationIntoPermissionStateFull()
|
/base/telephony/sms_mms/services/sms/ |
D | sms_persist_helper.cpp | 99 if (resultSet->GetInt(columnIndex, columnInt) == 0) { in QuerySession() 103 if (resultSet->GetInt(columnIndex, columnInt) == 0) { in QuerySession() 176 if (resultSet->GetInt(columnIndex, columnInt) == 0) { in QueryMaxGroupId() 261 if (resultSet->GetInt(columnIndex, columnInt) == 0) { in ConvertIntToIndexer() 266 if (resultSet->GetInt(columnIndex, columnInt) == 0) { in ConvertIntToIndexer() 271 if (resultSet->GetInt(columnIndex, columnInt) == 0) { in ConvertIntToIndexer() 276 if (resultSet->GetInt(columnIndex, columnInt) == 0) { in ConvertIntToIndexer() 281 if (resultSet->GetInt(columnIndex, columnInt) == 0) { in ConvertIntToIndexer() 286 if (resultSet->GetInt(columnIndex, columnInt) == 0) { in ConvertIntToIndexer()
|
/base/telephony/core_service/services/sim/src/ |
D | sim_rdb_helper.cpp | 120 result->GetInt(index, mainCardSlotId); in GetDefaultMainCardSlotId() 154 result->GetInt(index, messageCardSlotId); in GetDefaultMessageCardSlotId() 188 result->GetInt(index, cellularDataCardSlotId); in GetDefaultCellularDataCardSlotId() 221 result->GetInt(index, voiceCardSlotId); in GetDefaultVoiceCardSlotId() 330 result->GetInt(index, simBean.simId); in SaveDataToBean() 336 result->GetInt(index, simBean.imsSwitch); in SaveDataToBean() 338 result->GetInt(index, simBean.slotIndex); in SaveDataToBean() 340 result->GetInt(index, simBean.cardType); in SaveDataToBean() 352 result->GetInt(index, simBean.isMainCard); in SaveDataToBean() 354 result->GetInt(index, simBean.isVoiceCard); in SaveDataToBean() [all …]
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/ |
D | hap_token_info_inner.cpp | 124 tokenInfoBasic_.userID = inGenericValues.GetInt(TokenFiledConst::FIELD_USER_ID); in RestoreHapTokenBasicInfo() 133 tokenInfoBasic_.apiVersion = inGenericValues.GetInt(TokenFiledConst::FIELD_API_VERSION); in RestoreHapTokenBasicInfo() 134 tokenInfoBasic_.instIndex = inGenericValues.GetInt(TokenFiledConst::FIELD_INST_INDEX); in RestoreHapTokenBasicInfo() 135 tokenInfoBasic_.dlpType = inGenericValues.GetInt(TokenFiledConst::FIELD_DLP_TYPE); in RestoreHapTokenBasicInfo() 152 int aplNum = inGenericValues.GetInt(TokenFiledConst::FIELD_APL); in RestoreHapTokenBasicInfo() 162 tokenInfoBasic_.ver = (char)inGenericValues.GetInt(TokenFiledConst::FIELD_TOKEN_VERSION); in RestoreHapTokenBasicInfo() 170 tokenInfoBasic_.tokenAttr = (uint32_t)inGenericValues.GetInt(TokenFiledConst::FIELD_TOKEN_ATTR); in RestoreHapTokenBasicInfo()
|
D | native_token_info_inner.cpp | 130 int aplNum = inGenericValues.GetInt(TokenFiledConst::FIELD_APL); in RestoreNativeTokenInfo() 141 tokenInfoBasic_.ver = (char)inGenericValues.GetInt(TokenFiledConst::FIELD_TOKEN_VERSION); in RestoreNativeTokenInfo() 154 tokenInfoBasic_.tokenAttr = (uint32_t)inGenericValues.GetInt(TokenFiledConst::FIELD_TOKEN_ATTR); in RestoreNativeTokenInfo()
|
/base/security/access_token/services/common/database/src/ |
D | generic_values.cpp | 50 int32_t GenericValues::GetInt(const std::string& key) const in GetInt() function in OHOS::Security::AccessToken::GenericValues 56 return it->second.GetInt(); in GetInt()
|
D | variant_value.cpp | 47 int32_t VariantValue::GetInt() const in GetInt() function in OHOS::Security::AccessToken::VariantValue
|
/base/powermgr/battery_manager/services/native/src/ |
D | battery_service.cpp | 154 warnCapacity_ = batteryConfig.GetInt("soc.warning", warnCapacity_); in InitConfig() 155 highTemperature_ = batteryConfig.GetInt("temperature.high", highTemperature_); in InitConfig() 156 lowTemperature_ = batteryConfig.GetInt("temperature.low", lowTemperature_); in InitConfig() 157 shutdownCapacityThreshold_ = batteryConfig.GetInt("soc.shutdown", shutdownCapacityThreshold_); in InitConfig() 158 criticalCapacityThreshold_ = batteryConfig.GetInt("soc.critical", criticalCapacityThreshold_); in InitConfig() 159 warningCapacityThreshold_ = batteryConfig.GetInt("soc.warning", warningCapacityThreshold_); in InitConfig() 160 lowCapacityThreshold_ = batteryConfig.GetInt("soc.low", lowCapacityThreshold_); in InitConfig() 161 normalCapacityThreshold_ = batteryConfig.GetInt("soc.normal", normalCapacityThreshold_); in InitConfig() 162 highCapacityThreshold_ = batteryConfig.GetInt("soc.high", highCapacityThreshold_); in InitConfig() 163 fullCapacityThreshold_ = batteryConfig.GetInt("soc.full", fullCapacityThreshold_); in InitConfig()
|
/base/update/updateservice/test/fuzztest/updateservicecancel_fuzzer/ |
D | updateservicecancel_fuzzer.cpp | 35 DelayedSingleton<FuzztestHelper>::GetInstance()->GetInt(), businessError) == 0; in FuzzUpdateServiceCancel()
|
/base/update/updateservice/test/fuzztest/common/ |
D | fuzztest_helper.h | 35 int32_t GetInt();
|
/base/security/access_token/services/common/database/include/ |
D | variant_value.h | 42 int32_t GetInt() const;
|
D | generic_values.h | 45 int32_t GetInt(const std::string& key) const;
|
/base/update/updateservice/services/core/ability/sqlite/core/include/ |
D | itable.h | 116 return resultSet->GetInt(index, value); in GetIndexValue() 132 int ret = resultSet->GetInt(index, intValue); in GetIndexValue()
|
/base/powermgr/battery_manager/services/native/include/ |
D | battery_config.h | 40 int32_t GetInt(std::string key, int32_t defVal = 0) const;
|
/base/request/request/services/service/rust/src/c_wrapper/source/ |
D | c_request_database.cpp | 383 resultSet->GetInt(2, action); in GetCommonTaskInfo() 385 resultSet->GetInt(3, mode); in GetCommonTaskInfo() 391 resultSet->GetInt(6, reason); in GetCommonTaskInfo() 393 resultSet->GetInt(7, gauge); in GetCommonTaskInfo() 395 resultSet->GetInt(8, retry); in GetCommonTaskInfo() 399 resultSet->GetInt(10, version); in GetCommonTaskInfo() 423 resultSet->GetInt(16, state); in TouchRequestTaskInfo() 457 resultSet->GetInt(15, state); in QueryRequestTaskInfo() 505 resultSet->GetInt(6, reason); in TouchTaskInfoAttachment() 534 resultSet->GetInt(1, reason); in QueryTaskInfoAttachment()
|
/base/powermgr/battery_manager/charger/include/ |
D | battery_config.h | 41 int32_t GetInt(std::string key, int32_t defVal = 0) const;
|
/base/web/webview/ohos_nweb/include/ |
D | nweb_value.h | 66 int GetInt() { return data_.n; } in GetInt() function
|
/base/location/services/location_locator/locator/include/ |
D | locator_event_manager.h | 49 int GetInt(const std::string& name);
|
/base/telephony/cellular_data/services/src/utils/ |
D | cellular_data_rdb_helper.cpp | 115 result->GetInt(index, apnBean.profileId); in ReadApnResult() 125 result->GetInt(index, apnBean.authType); in ReadApnResult()
|
/base/location/test/location_locator/source/ |
D | locator_event_manager_test.cpp | 47 EXPECT_EQ(1, dftEvent->GetInt("name")); 48 EXPECT_EQ(0, dftEvent->GetInt("name_not_exist"));
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cache/ |
D | app_event_block_dao.cpp | 132 resultSet->GetInt(2, packageSize); // 2 means packageSize field in GetPackagesBySize() 155 resultSet->GetInt(0, num); // 0 means totalNum field in CountPackages()
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
D | reminder_store.cpp | 303 int32_t result = queryResultSet->GetInt(0, maxId); in GetMaxId() 348 resultSet->GetInt(ReminderStore::GetColumnIndex(ReminderRequest::REMINDER_TYPE), reminderType); in BuildReminder() 349 resultSet->GetInt(ReminderStore::GetColumnIndex(ReminderRequest::REMINDER_ID), reminderId); in BuildReminder() 412 resultSet->GetInt(columnIndex, value); in GetInt32Val()
|