Home
last modified time | relevance | path

Searched refs:SetCapacity (Results 1 – 16 of 16) sorted by relevance

/base/powermgr/battery_statistics/test/unittest/include/servicetest/
Dstats_service_subscriber_test.h32 void SetCapacity(const int32_t capacity) in SetCapacity() function
/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/
Dhap_byte_buffer_test.cpp160 buffer1.SetCapacity(TEST_HAPBYTEBUFFER_LENGTH);
244 buffer2.SetCapacity(TEST_HAPBYTEBUFFER_LENGTH);
274 buffer1.SetCapacity(static_cast<int>(testStr.size()));
Dhap_verify_result_test.cpp91 testblock.optionalBlockValue.SetCapacity(TEST_HAPBYTEBUFFER_LENGTH);
Dhap_signing_block_utils_test.cpp94 signInfo.hapSignatureBlock.SetCapacity(TEST_FILE_BLOCK_LENGTH); in CreatTestZipFile()
202 digestInfo.content.SetCapacity(TEST_FILE_BLOCK_LENGTH);
306 testOptionalBlock.optionalBlockValue.SetCapacity(TEST_HAPBYTEBUFFER_LENGTH);
Dhap_verify_v2_test.cpp260 digest.content.SetCapacity(TEST_FILE_BLOCK_LENGTH);
Dhap_cert_verify_openssl_utils_test.cpp47 output.SetCapacity(len); in Base64StringDecode()
178 crlBuffer.SetCapacity(TEST_HAPBYTEBUFFER_LENGTH);
/base/powermgr/battery_manager/test/unittest/src/
Dbattery_notify_test.cpp38 g_batteryInfo->SetCapacity(capacity); in SetUp()
307 g_batteryInfo->SetCapacity(capacity);
337 g_batteryInfo->SetCapacity(capacity);
/base/security/appverify/interfaces/innerkits/appverify/include/common/
Dhap_byte_buffer.h58 DLL_EXPORT void SetCapacity(int32_t cap);
/base/powermgr/battery_manager/frameworks/native/test/unittest/src/
Dbattery_client_test.cpp67 g_info.SetCapacity(BATTERY_HIGH_FULL); in SetUp()
609 info1.SetCapacity(100);
625 info2.SetCapacity(100);
664 info1.SetCapacity(100);
665 info2.SetCapacity(50);
/base/powermgr/battery_statistics/test/unittest/src/servicetest/
Dstats_service_subscriber_test.cpp125 SetCapacity(BATTERY_LEVEL_FULL);
204 SetCapacity(BATTERY_LEVEL_FULL);
/base/security/appverify/interfaces/innerkits/appverify/src/init/
Dhap_crl_manager.cpp125 crlsBuffer.SetCapacity(fileLen); in ReadCrls()
/base/powermgr/battery_manager/interfaces/inner_api/native/include/
Dbattery_info.h234 void SetCapacity(const int32_t capacity) in SetCapacity() function
/base/security/appverify/interfaces/innerkits/appverify/src/util/
Dhap_signing_block_utils.cpp468 finalDigest.SetCapacity(digestParam.digestOutputSizeBytes); in ComputeDigestsWithOptionalBlock()
509 result.SetCapacity(sumOfChunksLen); in ComputeDigestsForEachChunk()
Dhap_verify_openssl_utils.cpp505 content.SetCapacity(strContentInfoLen); in GetContentInfo()
/base/security/appverify/interfaces/innerkits/appverify/src/common/
Dhap_byte_buffer.cpp346 void HapByteBuffer::SetCapacity(int32_t cap) in SetCapacity() function in OHOS::Security::Verify::HapByteBuffer
/base/powermgr/battery_manager/services/native/src/
Dbattery_service.cpp188 batteryInfo_.SetCapacity(event.capacity); in ConvertingEvent()
697 batteryInfo_.SetCapacity(capacity); in MockCapacity()