/base/security/appverify/interfaces/innerkits/appverify/src/util/ |
D | hap_profile_verify_utils.cpp | 33 profile = std::string(pkcs7ProfileBlock.GetBufferPtr(), pkcs7ProfileBlock.GetCapacity()); in ParseProfile() 38 unsigned int pkcs7Len = static_cast<unsigned int>(pkcs7ProfileBlock.GetCapacity()); in ParseProfile() 44 …std::string(profilePkcs7Context.content.GetBufferPtr(), profilePkcs7Context.content.GetCapacity()); in ParseProfile()
|
D | hap_signing_block_utils.cpp | 114 long long searchRangeOffset = fileLength - searchEocdBuffer.GetCapacity(); in FindEocdInHap() 151 int searchBufferSize = searchBuffer.GetCapacity(); in FindEocdInSearchBuffer() 228 …ret = hapFile.ReadFileFullyFromOffset(hapBlockHead, centralDirOffset - hapBlockHead.GetCapacity()); in FindHapSigningBlock() 376 if (signInfo.hapSignatureBlock.GetCapacity() != 0) { in ClassifyHapSubSigningBlock()
|
/base/powermgr/battery_manager/services/native/src/ |
D | battery_notify.cpp | 105 want.SetParam(BatteryInfo::COMMON_EVENT_KEY_CAPACITY, info.GetCapacity()); in PublishChangedEvent() 137 "LEVEL", info.GetCapacity(), "CHARGER", static_cast<int32_t>(info.GetPluggedType()), in PublishChangedEvent() 149 want.SetParam(ToString(BatteryInfo::COMMON_EVENT_CODE_CAPACITY), info.GetCapacity()); in ChangedEventDeprecated() 173 if (info.GetCapacity() > lowCapacity_) { in PublishLowEvent() 182 data.SetCode(info.GetCapacity()); in PublishLowEvent() 183 BATTERY_HILOGD(FEATURE_BATT_INFO, "publisher capacity=%{public}d", info.GetCapacity()); in PublishLowEvent() 202 if (info.GetCapacity() <= lowCapacity_) { in PublishOkayEvent() 211 data.SetCode(info.GetCapacity()); in PublishOkayEvent() 212 BATTERY_HILOGD(FEATURE_BATT_INFO, "publisher capacity=%{public}d", info.GetCapacity()); in PublishOkayEvent()
|
D | battery_service.cpp | 209 …"remainEnergy=%{public}d", batteryInfo_.GetCapacity(), batteryInfo_.GetVoltage(), batteryInfo_.Get… in HandleBatteryInfo() 215 batteryLight_.UpdateColor(batteryInfo_.GetChargeState(), batteryInfo_.GetCapacity()); in HandleBatteryInfo() 217 HandlePopupEvent(batteryInfo_.GetCapacity()); in HandleBatteryInfo() 218 CalculateRemainingChargeTime(batteryInfo_.GetCapacity(), batteryInfo_.GetChargeState()); in HandleBatteryInfo() 222 HandleCapacity(batteryInfo_.GetCapacity(), batteryInfo_.GetChargeState()); in HandleBatteryInfo() 399 int32_t BatteryService::GetCapacity() in GetCapacity() function in OHOS::PowerMgr::BatteryService 407 iBatteryInterface_->GetCapacity(capacity); in GetCapacity() 618 int32_t capacity = GetCapacity(); in GetCapacityLevel()
|
D | battery_dump.cpp | 72 int32_t capacity = service->GetCapacity(); in GetBatteryInfo()
|
/base/powermgr/battery_manager/frameworks/native/test/unittest/src/ |
D | battery_client_test.cpp | 72 auto tempCapacity = BatterySrvClient.GetCapacity(); 74 auto capacity = BatterySrvClient.GetCapacity(); 80 auto capacity = BatterySrvClient.GetCapacity(); 389 auto tempCapacity = BatterySrvClient.GetCapacity(); 401 auto capacity = BatterySrvClient.GetCapacity(); 423 auto tempCapacity = BatterySrvClient.GetCapacity(); 435 auto capacity = BatterySrvClient.GetCapacity(); 457 auto tempCapacity = BatterySrvClient.GetCapacity(); 469 auto capacity = BatterySrvClient.GetCapacity(); 491 auto tempCapacity = BatterySrvClient.GetCapacity(); [all …]
|
/base/security/appverify/interfaces/innerkits/appverify/src/common/ |
D | hap_byte_buffer.cpp | 38 Init(other.GetCapacity()); in HapByteBuffer() 40 if (memcpy_s(buffer.get(), capacity, other.GetBufferPtr(), other.GetCapacity()) != EOK) { in HapByteBuffer() 74 Init(other.GetCapacity()); in operator =() 76 if (memcpy_s(buffer.get(), capacity, other.GetBufferPtr(), other.GetCapacity()) != EOK) { in operator =() 130 int HapByteBuffer::GetCapacity() const in GetCapacity() function in OHOS::Security::Verify::HapByteBuffer 305 if (capacity != other.GetCapacity() || other.GetBufferPtr() == nullptr || buffer == nullptr) { in IsEqual()
|
D | random_access_file.cpp | 120 int bufCapacity = buffer.GetCapacity(); in ReadFileFullyFromOffset()
|
/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/ |
D | hap_verify_test.cpp | 151 hapFile.write(hapInnerApp.GetBufferPtr(), hapInnerApp.GetCapacity()); 179 hapFile.write(hapFileEccSign.GetBufferPtr(), hapFileEccSign.GetCapacity()); 205 errorFile.write(errorCommentFile.GetBufferPtr(), errorCommentFile.GetCapacity()); 217 errorFile.write(errorCommentFile.GetBufferPtr(), errorCommentFile.GetCapacity()); 228 errorFile.write(errorCommentFile.GetBufferPtr(), errorCommentFile.GetCapacity()); 249 hapFile.write(hapFileEccSign.GetBufferPtr(), hapFileEccSign.GetCapacity());
|
D | hap_byte_buffer_test.cpp | 68 bool judge = (buffer2.GetCapacity() == buffer1.GetCapacity()) && 161 ASSERT_TRUE(buffer1.GetCapacity() == TEST_HAPBYTEBUFFER_LENGTH);
|
D | hap_crl_manager_test.cpp | 120 …rlX509 = HapCertVerifyOpensslUtils::GetX509CrlFromDerBuffer(crlBuffer, 0, crlBuffer.GetCapacity());
|
D | hap_cert_verify_openssl_utils_test.cpp | 186 …rlX509 = HapCertVerifyOpensslUtils::GetX509CrlFromDerBuffer(crlBuffer, 0, crlBuffer.GetCapacity()); 357 …rlX509 = HapCertVerifyOpensslUtils::GetX509CrlFromDerBuffer(crlBuffer, 0, crlBuffer.GetCapacity());
|
/base/powermgr/battery_manager/interfaces/innerkits/native/include/ |
D | ibattery_srv.h | 45 virtual int32_t GetCapacity() = 0;
|
D | battery_srv_client.h | 36 int32_t GetCapacity();
|
D | battery_info.h | 275 const int32_t& GetCapacity() const in GetCapacity() function 353 (capacity_ == info.GetCapacity()) &&
|
/base/powermgr/battery_manager/services/zidl/include/ |
D | battery_srv_proxy.h | 39 virtual int32_t GetCapacity() override;
|
/base/powermgr/battery_manager/frameworks/native/src/ |
D | battery_srv_client.cpp | 87 int32_t BatterySrvClient::GetCapacity() in GetCapacity() function in OHOS::PowerMgr::BatterySrvClient 91 capacity = proxy_->GetCapacity(); in GetCapacity()
|
/base/security/appverify/interfaces/innerkits/appverify/include/common/ |
D | hap_byte_buffer.h | 51 DLL_EXPORT int GetCapacity() const;
|
/base/security/appverify/interfaces/innerkits/appverify/src/interfaces/ |
D | hap_verify_result.cpp | 88 block += std::string(option.GetBufferPtr(), option.GetCapacity()); in GetBlockFromOptionalBlocks()
|
/base/powermgr/battery_manager/test/fuzztest/battery_fuzzer/ |
D | battery_fuzzer_test.cpp | 40 g_batterySrvClient.GetCapacity(); in TestGetCapacity()
|
/base/security/appverify/interfaces/innerkits/appverify/src/ticket/ |
D | ticket_verify.cpp | 168 unsigned int pkcs7Len = static_cast<unsigned int>(ticketBlock.GetCapacity()); in VerifyTicketSignature() 173 ticket = std::string(pkcs7Context.content.GetBufferPtr(), pkcs7Context.content.GetCapacity()); in VerifyTicketSignature()
|
/base/security/appverify/interfaces/innerkits/appverify/src/verify/ |
D | hap_verify_v2.cpp | 130 unsigned int pkcs7Len = static_cast<unsigned int>(hapSignatureBlock.GetCapacity()); in VerifyAppPkcs7() 405 unsigned int pkcs7Len = static_cast<unsigned int>(pkcs7ProfileBlock.GetCapacity()); in ParseHapProfile() 411 …profile = std::string(profileContext.content.GetBufferPtr(), profileContext.content.GetCapacity()); in ParseHapProfile()
|
/base/web/webview/ohos_adapter/battery_mgr_adapter/src/ |
D | battery_mgr_client_adapter_impl.cpp | 109 auto capacity = battClient.GetCapacity(); in RequestBatteryInfo()
|
/base/powermgr/battery_manager/services/native/test/unittest/src/ |
D | battery_srv_proxy_mock_test.cpp | 62 int32_t capacity = g_proxy->GetCapacity();
|
/base/powermgr/battery_manager/services/native/include/ |
D | battery_service.h | 64 int32_t GetCapacity() override;
|