Home
last modified time | relevance | path

Searched refs:SetSize (Results 1 – 15 of 15) sorted by relevance

/system/core/fs_mgr/libsnapshot/
Dsnapshot_metadata_updater_test.cpp63 SetSize(system_, 2_GiB); in SetUp()
66 SetSize(vendor_, 1_GiB); in SetUp()
155 SetSize(system_, 2_GiB + 512_MiB); in TEST_P()
156 SetSize(vendor_, 1_GiB + 512_MiB); in TEST_P()
165 SetSize(system_, 3_GiB); in TEST_P()
166 SetSize(vendor_, 1_GiB + 512_MiB); in TEST_P()
172 SetSize(system_, 3_GiB); in TEST_P()
173 SetSize(vendor_, 1_GiB + 4_KiB); in TEST_P()
182 SetSize(product, 1_GiB); in TEST_P()
195 SetSize(product, 1_GiB + 4_KiB); in TEST_P()
[all …]
Dsnapshot_test.cpp341 SetSize(pu, device_size); in PrepareOneSnapshot()
874 SetSize(sys_, 3_MiB); in SetUp()
878 SetSize(vnd_, 3_MiB); in SetUp()
882 SetSize(prd_, 3_MiB); in SetUp()
1108 SetSize(sys_, partition_size); in TEST_F()
1109 SetSize(vnd_, partition_size); in TEST_F()
1110 SetSize(prd_, 18_MiB); in TEST_F()
1204 SetSize(sys_, old_sys_size * 2); in TEST_F()
1206 SetSize(prd_, old_prd_size / 2); in TEST_F()
1303 SetSize(sys_, 4_MiB); in TEST_F()
[all …]
Dtest_helpers.cpp249 void SetSize(PartitionUpdate* partition_update, uint64_t size) { in SetSize() function
/system/logging/logd/
DSerializedLogBuffer.cpp102 if (!SetSize(i, GetBufferSizeFromProperties(i))) { in Init()
103 SetSize(i, kLogBufferMinSize); in Init()
329 bool SerializedLogBuffer::SetSize(log_id_t id, size_t size) { in SetSize() function in SerializedLogBuffer
DSimpleLogBuffer.cpp33 if (!SetSize(i, GetBufferSizeFromProperties(i))) { in Init()
34 SetSize(i, kLogBufferMinSize); in Init()
257 bool SimpleLogBuffer::SetSize(log_id_t id, size_t size) { in SetSize() function in SimpleLogBuffer
DLogBuffer.h76 virtual bool SetSize(log_id_t id, size_t size) = 0;
DSerializedLogBuffer.h56 bool SetSize(log_id_t id, size_t size) override;
DSimpleLogBuffer.h47 bool SetSize(log_id_t id, size_t size) override final;
DLogBufferTest.h83 log_id_for_each(i) { log_buffer_->SetSize(i, 1024 * 1024); } in SetUp()
DCommandListener.cpp132 cli->sendMsg(buf()->SetSize(log_id, size) ? "success" : "busy"); in runCommand()
DSerializedLogBufferTest.cpp39 log_buffer.SetSize(LOG_ID_MAIN, kLogBufferMinSize); in TEST()
/system/extras/simpleperf/
Drecord.cpp240 SetSize(header_size() + sizeof(data) + Align(filename.size() + 1, 8) + sample_id.Size()); in SetDataAndFilename()
287 SetSize(header_size() + sizeof(data) + Align(filename.size() + 1, 8) + sample_id.Size()); in SetDataAndFilename()
328 SetSize(header_size() + sizeof(data) + Align(comm.size() + 1, 8) + sample_id_size); in CommRecord()
392 SetSize(header_size() + sizeof(data) + sample_id_size); in ForkRecord()
549 SetSize(size); in SampleRecord()
669 SetSize(new_size); in BuildBinaryWithNewCallChain()
909 SetSize(header_size() + sizeof(this->pid) + Align(build_id.Size(), 8) + in BuildIdRecord()
938 SetSize(header_size() + sizeof(DataType) + sizeof(ETM4Info) * etm4_info.size()); in AuxTraceInfoRecord()
982 SetSize(header_size() + sizeof(DataType)); in AuxTraceRecord()
1022 SetSize(header_size() + 4 + Align(kallsyms.size(), 8)); in KernelSymbolRecord()
[all …]
Drecord.h249 void SetSize(uint32_t size) { header.size = size; } in SetSize() function
/system/logging/logd/fuzz/
Dlog_buffer_log_fuzzer.cpp119 log_id_for_each(i) { log_buffer->SetSize(i, 10000); } in LLVMFuzzerTestOneInput()
/system/core/fs_mgr/libsnapshot/include_test/libsnapshot/
Dtest_helpers.h163 void SetSize(PartitionUpdate* partition_update, uint64_t size);