Searched refs:expected_size (Results 1 – 9 of 9) sorted by relevance
/system/update_engine/ |
D | p2p_manager.cc | 135 size_t expected_size) override; 502 size_t expected_size) { in FileShare() argument 509 static_cast<size_t>(file_expected_size) != expected_size) { in FileShare() 513 << " expected_size=" << expected_size; in FileShare() 529 if (free_bytes < 2 * expected_size) { in FileShare() 531 LOG(INFO) << "Refusing to allocate p2p file of " << expected_size in FileShare() 550 if (expected_size != 0) { in FileShare() 554 expected_size) != 0) { in FileShare() 563 PLOG(INFO) << "Error allocating " << expected_size in FileShare() 572 string decimal_size = std::to_string(expected_size); in FileShare()
|
D | p2p_manager_unittest.cc | 259 ssize_t expected_size, ssize_t expected_size_xattr) { in CheckP2PFile() argument 270 if (expected_size != 0) { in CheckP2PFile() 271 if (p2p_size != expected_size) { in CheckP2PFile() 272 LOG(ERROR) << "Expected size " << expected_size in CheckP2PFile()
|
D | fake_p2p_manager.h | 63 size_t expected_size) override { in FileShare() argument
|
D | p2p_manager.h | 123 size_t expected_size) = 0;
|
/system/extras/perfprofd/quipper/ |
D | perf_reader.cc | 802 size_t expected_size = event.header.size - offset; in ReadPerfSampleInfo() local 803 if (size_read != expected_size) { in ReadPerfSampleInfo() 805 << expected_size << " bytes."; in ReadPerfSampleInfo() 808 return (size_read == expected_size); in ReadPerfSampleInfo() 824 size_t expected_size = event->header.size - offset; in WritePerfSampleInfo() local 825 memset(reinterpret_cast<uint8_t*>(event) + offset, 0, expected_size); in WritePerfSampleInfo() 832 if (size_written != expected_size) { in WritePerfSampleInfo() 834 << expected_size << " bytes."; in WritePerfSampleInfo() 837 return (size_written == expected_size); in WritePerfSampleInfo()
|
/system/media/camera/include/system/ |
D | camera_metadata.h | 297 const size_t *expected_size);
|
/system/media/camera/src/ |
D | camera_metadata.c | 336 const size_t *expected_size) { in validate_camera_metadata_structure() argument 380 if (expected_size != NULL && metadata->size > *expected_size) { in validate_camera_metadata_structure() 382 __FUNCTION__, metadata->size, *expected_size); in validate_camera_metadata_structure()
|
/system/keymaster/ |
D | android_keymaster_messages_test.cpp | 34 Message* round_trip(int32_t ver, const Message& message, size_t expected_size) { in round_trip() argument 36 EXPECT_EQ(expected_size, size); in round_trip()
|
/system/update_engine/common/ |
D | http_fetcher_unittest.cc | 1029 size_t expected_size, in MultiTest() argument 1058 EXPECT_EQ(expected_size, delegate.data.size()); in MultiTest()
|