/system/media/audio_utils/tests/ |
D | audio_tflite_tests.cpp | 68 return builder_.CreateVector(reinterpret_cast<const uint8_t*>(data.data()), in CreateDataVector() 73 auto input1881 = ::tflite::CreateBuffer(builder_); // input buffer not assigned data. in BuildBuffers() 75 builder_, CreateDataVector<float>({1.f, 2.f, 1.f, 2.f, 4.f, 2.f, 1.f, 2.f, 1.f})); in BuildBuffers() 76 auto bias1 = ::tflite::CreateBuffer(builder_, CreateDataVector<float>({0.f})); in BuildBuffers() 77 auto output1881 = ::tflite::CreateBuffer(builder_); // output buffer not assigned data. in BuildBuffers() 78 return builder_.CreateVector( in BuildBuffers() 83 auto input1881 = ::tflite::CreateTensor(builder_, builder_.CreateVector<int>({1, 8, 8, 1}), in BuildTensors() 85 builder_.CreateString("tensor_input")); in BuildTensors() 86 auto filter1331 = ::tflite::CreateTensor(builder_, builder_.CreateVector<int>({1, 3, 3, 1}), in BuildTensors() 88 builder_.CreateString("tensor_filter")); in BuildTensors() [all …]
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot_metadata_updater.cpp | 41 : builder_(builder), target_suffix_(SlotSuffixForSlotNumber(target_slot)) { in SnapshotMetadataUpdater() 72 auto* existing_partition = builder_->FindPartition(partition_update.name); in ShrinkPartitions() 80 if (!builder_->ResizePartition(existing_partition, new_size)) { in ShrinkPartitions() 103 for (auto* existing_partition : ListPartitionsWithSuffix(builder_, target_suffix_)) { in DeletePartitions() 117 builder_->RemovePartition(partition_name); in DeletePartitions() 124 auto* existing_partition = builder_->FindPartition(partition_update.name); in MovePartitionsToDefault() 133 if (!builder_->ChangePartitionGroup(existing_partition, android::fs_mgr::kDefaultGroup)) { in MovePartitionsToDefault() 142 auto* existing_group = builder_->FindGroup(group_update.name); in ShrinkGroups() 149 if (!builder_->ChangeGroupSize(existing_group->name(), group_update->size())) { in ShrinkGroups() 162 std::vector<std::string> existing_groups = builder_->ListGroups(); in DeleteGroups() [all …]
|
D | snapshot_metadata_updater_test.cpp | 54 builder_ = MetadataBuilder::New(4_GiB + 1_MiB, 4_KiB, 2); in SetUp() 68 ASSERT_TRUE(FillFakeMetadata(builder_.get(), manifest_, target_suffix_)); in SetUp() 81 SnapshotMetadataUpdater updater(builder_.get(), target_slot_, manifest_); in UpdateAndExport() 86 exported_ = builder_->Export(); in UpdateAndExport() 95 auto p = builder_->FindPartition(T(name)); in CheckSize() 108 auto g = builder_->FindGroup(T(name)); in CheckGroupSize() 122 auto p = builder_->FindPartition(T(partition_name)); in CheckGroupName() 134 std::unique_ptr<MetadataBuilder> builder_; member in android::snapshot::SnapshotMetadataUpdaterTest 243 EXPECT_EQ(nullptr, builder_->FindPartition(T("vendor"))); in TEST_P() 265 EXPECT_EQ(nullptr, builder_->FindPartition(T("vendor"))); in TEST_P() [all …]
|
D | snapshot_metadata_updater.h | 78 android::fs_mgr::MetadataBuilder* const builder_; variable
|
/system/chre/apps/power_test/common/include/generated/ |
D | chre_power_test_generated.h | 402 TimerMessageBuilder builder_(_fbb); 403 builder_.add_wakeup_interval_ns(wakeup_interval_ns); 404 builder_.add_enable(enable); 405 return builder_.Finish(); 483 WifiScanMessageBuilder builder_(_fbb); 484 builder_.add_scan_interval_ns(scan_interval_ns); 485 builder_.add_channel_set(channel_set); 486 builder_.add_radio_chain(radio_chain); 487 builder_.add_scan_type(scan_type); 488 builder_.add_enable(enable); [all …]
|
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/generated/ |
D | flatbuffers_types_generated.h | 80 SsidBuilder builder_(_fbb); 81 builder_.add_ssid(ssid); 82 return builder_.Finish(); 141 PreferredNetworkBuilder builder_(_fbb); 142 builder_.add_ssid(ssid); 143 builder_.add_security_modes(security_modes); 144 return builder_.Finish(); 240 ScanResultBuilder builder_(_fbb); 241 builder_.add_tsf(tsf); 242 builder_.add_frequency_scanned_mhz(frequency_scanned_mhz); [all …]
|
/system/chre/platform/shared/include/chre/platform/shared/generated/ |
D | host_messages_generated.h | 695 NanoappMessageBuilder builder_(_fbb); 696 builder_.add_app_id(app_id); 697 builder_.add_message_sequence_number(message_sequence_number); 698 builder_.add_permissions(permissions); 699 builder_.add_message_permissions(message_permissions); 700 builder_.add_message(message); 701 builder_.add_message_type(message_type); 702 builder_.add_host_endpoint(host_endpoint); 703 builder_.add_is_reliable(is_reliable); 704 builder_.add_woke_host(woke_host); [all …]
|
/system/chre/apps/power_test/common/idl/ |
D | chre_power_test_generated.h | 434 TimerMessageBuilder builder_(_fbb); 435 builder_.add_wakeup_interval_ns(wakeup_interval_ns); 436 builder_.add_enable(enable); 437 return builder_.Finish(); 552 WifiScanMessageBuilder builder_(_fbb); 553 builder_.add_scan_interval_ns(scan_interval_ns); 554 builder_.add_channel_set(channel_set); 555 builder_.add_radio_chain(radio_chain); 556 builder_.add_scan_type(scan_type); 557 builder_.add_enable(enable); [all …]
|
/system/core/fastboot/ |
D | super_flash_helper.cpp | 30 if (!builder_.Open(fd)) { in Open() 35 base_metadata_ = builder_.Export(); in Open() 65 if (!builder_.AddPartition(partition, image_name, get_file_size(iter->second))) { in AddPartition() 76 extents_ = builder_.GetImageLayout(); in GetSparseLayout()
|
D | super_flash_helper.h | 48 android::fs_mgr::SuperLayoutBuilder builder_; variable
|
/system/update_engine/aosp/ |
D | update_attempter_android_integration_test.cc | 66 builder_ = android::fs_mgr::MetadataBuilder::New( in AddFakePartitionGroup() 68 ASSERT_NE(builder_, nullptr); in AddFakePartitionGroup() 73 ASSERT_TRUE(builder_->AddGroup("fake_group", kFakePartitionSize * 2)); in AddFakePartitionGroup() 77 builder_->RemovePartition("fake_a"); in RemoveFakePartitionGroup() 78 builder_->RemovePartition("fake_b"); in RemoveFakePartitionGroup() 79 builder_->RemoveGroupAndPartitions("fake_group"); in RemoveFakePartitionGroup() 129 if (!builder_ || !DynamicPartitionEnabled()) { in TearDown() 143 auto partition_a = builder_->AddPartition( in CreateFakePartition() 148 ASSERT_TRUE(builder_->ResizePartition(partition_a, kFakePartitionSize)); in CreateFakePartition() 174 auto metadata = builder_->Export(); in ExportPartitionTable() [all …]
|
/system/core/fs_mgr/liblp/ |
D | super_layout_builder.cpp | 69 builder_ = MetadataBuilder::New(metadata); in Open() 70 return !!builder_; in Open() 75 auto p = builder_->FindPartition(partition_name); in AddPartition() 79 if (!builder_->ResizePartition(p, partition_size)) { in AddPartition() 115 auto metadata = builder_->Export(); in GetImageLayout()
|
/system/chre/host/common/include/chre_host/generated/ |
D | host_messages_generated.h | 1077 NanoappMessageBuilder builder_(_fbb); 1078 builder_.add_app_id(app_id); 1079 builder_.add_message_sequence_number(message_sequence_number); 1080 builder_.add_permissions(permissions); 1081 builder_.add_message_permissions(message_permissions); 1082 builder_.add_message(message); 1083 builder_.add_message_type(message_type); 1084 builder_.add_host_endpoint(host_endpoint); 1085 builder_.add_is_reliable(is_reliable); 1086 builder_.add_woke_host(woke_host); [all …]
|
/system/extras/partition_tools/ |
D | lpadd.cc | 138 std::unique_ptr<MetadataBuilder> builder_; member in SuperHelper 156 builder_ = MetadataBuilder::New(*metadata_.get()); in Open() 157 if (!builder_) { in Open() 172 auto partition = builder_->FindPartition(partition_name); in AddPartition() 177 builder_->RemovePartition(partition_name); in AddPartition() 180 auto partition = builder_->AddPartition(partition_name, group_name, attributes); in AddPartition() 208 if (!builder_->ResizePartition(partition, size)) { in AddPartition() 284 metadata_ = builder_->Export(); in UpdateSuper()
|
/system/core/fs_mgr/liblp/include/liblp/ |
D | super_layout_builder.h | 94 std::unique_ptr<LpMetadata> Export() const { return builder_->Export(); } in Export() 97 std::unique_ptr<MetadataBuilder> builder_;
|
/system/core/fastboot/device/ |
D | commands.cpp | 459 bool Valid() const { return !!builder_; } in Valid() 460 MetadataBuilder* operator->() const { return builder_.get(); } in operator ->() 466 std::unique_ptr<MetadataBuilder> builder_; member in PartitionBuilder 478 builder_ = MetadataBuilder::New(super_device_, slot_number_); in PartitionBuilder() 482 auto metadata = builder_->Export(); in Write()
|