Home
last modified time | relevance | path

Searched defs:builder (Results 1 – 25 of 155) sorted by relevance

1234567

/system/bt/test/mock/
Dmock_frameworks_libaudio.cc67 aaudio_result_t AAudioStreamBuilder_delete(AAudioStreamBuilder* builder) { in AAudioStreamBuilder_delete()
71 aaudio_result_t AAudioStreamBuilder_openStream(AAudioStreamBuilder* builder, in AAudioStreamBuilder_openStream()
130 aaudio_result_t AAudio_createStreamBuilder(AAudioStreamBuilder** builder) { in AAudio_createStreamBuilder()
215 AAudioStreamBuilder* builder, aaudio_allowed_capture_policy_t policy) { in AAudioStreamBuilder_setAllowedCapturePolicy()
219 void AAudioStreamBuilder_setBufferCapacityInFrames(AAudioStreamBuilder* builder, in AAudioStreamBuilder_setBufferCapacityInFrames()
224 void AAudioStreamBuilder_setChannelCount(AAudioStreamBuilder* builder, in AAudioStreamBuilder_setChannelCount()
229 void AAudioStreamBuilder_setContentType(AAudioStreamBuilder* builder, in AAudioStreamBuilder_setContentType()
234 void AAudioStreamBuilder_setDataCallback(AAudioStreamBuilder* builder, in AAudioStreamBuilder_setDataCallback()
240 void AAudioStreamBuilder_setDeviceId(AAudioStreamBuilder* builder, in AAudioStreamBuilder_setDeviceId()
245 void AAudioStreamBuilder_setDirection(AAudioStreamBuilder* builder, in AAudioStreamBuilder_setDirection()
[all …]
/system/bt/packet/tests/avrcp/
Dget_folder_items_packet_test.cc29 auto builder = GetFolderItemsResponseBuilder::MakePlayerListBuilder( in TEST() local
40 auto builder = GetFolderItemsResponseBuilder::MakePlayerListBuilder( in TEST() local
59 auto builder = GetFolderItemsResponseBuilder::MakePlayerListBuilder( in TEST() local
68 auto builder = GetFolderItemsResponseBuilder::MakeVFSBuilder(Status::NO_ERROR, in TEST() local
78 auto builder = GetFolderItemsResponseBuilder::MakeVFSBuilder(Status::NO_ERROR, in TEST() local
97 auto builder = GetFolderItemsResponseBuilder::MakeVFSBuilder( in TEST() local
106 auto builder = GetFolderItemsResponseBuilder::MakeNowPlayingBuilder( in TEST() local
118 auto builder = GetFolderItemsResponseBuilder::MakeNowPlayingBuilder( in TEST() local
139 auto builder = GetFolderItemsResponseBuilder::MakeNowPlayingBuilder( in TEST() local
148 auto builder = GetFolderItemsResponseBuilder::MakePlayerListBuilder( in TEST() local
[all …]
Dget_capabilities_packet_test.cc57 auto builder = GetCapabilitiesResponseBuilder::MakeCompanyIdBuilder(0x000000); in TEST() local
75 auto builder = GetCapabilitiesResponseBuilder::MakeCompanyIdBuilder(0x000000); in TEST() local
89 auto builder = GetCapabilitiesResponseBuilder::MakeCompanyIdBuilder(0x000000); in TEST() local
101 auto builder = GetCapabilitiesResponseBuilder::MakeCompanyIdBuilder(0x002345); in TEST() local
111 auto builder = GetCapabilitiesResponseBuilder::MakeEventsSupportedBuilder( in TEST() local
Dregister_notification_packet_test.cc55 auto builder = in TEST() local
106 auto builder = RegisterNotificationResponseBuilder::MakePlaybackStatusBuilder( in TEST() local
115 auto builder = RegisterNotificationResponseBuilder::MakeTrackChangedBuilder( in TEST() local
124 auto builder = in TEST() local
134 auto builder = in TEST() local
143 auto builder = in TEST() local
152 auto builder = in TEST() local
162 auto builder = in TEST() local
Dget_item_attributes_packet_test.cc29 auto builder = in TEST() local
44 auto builder = in TEST() local
73 auto builder = in TEST() local
84 auto builder = GetItemAttributesResponseBuilder::MakeBuilder( in TEST() local
Dchange_path_packet_test.cc31 auto builder = ChangePathResponseBuilder::MakeBuilder(Status::NO_ERROR, 2); in TEST() local
42 auto builder = in TEST() local
76 auto builder = ChangePathRequestBuilder::MakeBuilder(0, Direction::DOWN, 2); in TEST() local
Dget_element_attributes_packet_test.cc81 auto builder = GetElementAttributesResponseBuilder::MakeBuilder(0xFFFF); in TEST() local
90 auto builder = GetElementAttributesResponseBuilder::MakeBuilder(0xFFFF); in TEST() local
124 auto builder = GetElementAttributesResponseBuilder::MakeBuilder(0xFFFF); in TEST() local
/system/core/fs_mgr/liblp/
Dbuilder_test.cpp48 unique_ptr<MetadataBuilder> builder = MetadataBuilder::New(1024 * 1024, 1024, 2); in TEST_F() local
63 unique_ptr<MetadataBuilder> builder = MetadataBuilder::New(1024 * 1024, 1024, 2); in TEST_F() local
124 unique_ptr<MetadataBuilder> builder = MetadataBuilder::New(1024 * 1024, 1024, 2); in TEST_F() local
144 unique_ptr<MetadataBuilder> builder = in TEST_F() local
151 unique_ptr<MetadataBuilder> builder = MetadataBuilder::New(1024 * 1024, 1000, 2); in TEST_F() local
161 unique_ptr<MetadataBuilder> builder = MetadataBuilder::New(device_info, 1024, 2); in TEST_F() local
208 unique_ptr<MetadataBuilder> builder = MetadataBuilder::New(device_info, 32 * 1024, 2); in TEST_F() local
245 unique_ptr<MetadataBuilder> builder = MetadataBuilder::New(total, metadata, slots); in TEST_F() local
268 unique_ptr<MetadataBuilder> builder = MetadataBuilder::New(1024 * 1024, 1024, 2); in TEST_F() local
302 unique_ptr<MetadataBuilder> builder = MetadataBuilder::New(1024 * 1024, 1024, 2); in TEST_F() local
[all …]
Dio_test.cpp83 unique_ptr<MetadataBuilder> builder = in CreateDefaultBuilder() local
94 static bool AddDefaultPartitions(MetadataBuilder* builder) { in AddDefaultPartitions()
104 unique_ptr<MetadataBuilder> builder = CreateDefaultBuilder(); in CreateFlashedDisk() local
143 unique_ptr<MetadataBuilder> builder = MetadataBuilder::New(kDiskSize + 4096, 512, 2); in TEST_F() local
160 unique_ptr<MetadataBuilder> builder = CreateDefaultBuilder(); in TEST_F() local
369 unique_ptr<MetadataBuilder> builder = CreateDefaultBuilder(); in TEST_F() local
423 unique_ptr<MetadataBuilder> builder = CreateDefaultBuilder(); in TEST_F() local
439 unique_ptr<MetadataBuilder> builder = CreateDefaultBuilder(); in TEST_F() local
597 unique_ptr<MetadataBuilder> builder = in TEST_F() local
627 unique_ptr<MetadataBuilder> builder = CreateDefaultBuilder(); in TEST_F() local
[all …]
/system/extras/simpleperf/
Dreport_utils_test.cpp116 CallChainReportBuilder builder(thread_tree); in TEST_F() local
135 CallChainReportBuilder builder(thread_tree); in TEST_F() local
155 CallChainReportBuilder builder(thread_tree); in TEST_F() local
193 CallChainReportBuilder builder(thread_tree); in TEST_F() local
213 CallChainReportBuilder builder(thread_tree); in TEST_F() local
248 CallChainReportBuilder builder(thread_tree); in TEST_F() local
271 CallChainReportBuilder builder(thread_tree); in TEST_F() local
/system/bt/packet/avrcp/
Dregister_notification_packet.cc76 std::unique_ptr<RegisterNotificationResponseBuilder> builder( in MakePlaybackStatusBuilder() local
87 std::unique_ptr<RegisterNotificationResponseBuilder> builder( in MakeTrackChangedBuilder() local
97 std::unique_ptr<RegisterNotificationResponseBuilder> builder( in MakePlaybackPositionBuilder() local
107 std::unique_ptr<RegisterNotificationResponseBuilder> builder( in MakeNowPlayingBuilder() local
115 std::unique_ptr<RegisterNotificationResponseBuilder> builder( in MakeAvailablePlayersBuilder() local
124 std::unique_ptr<RegisterNotificationResponseBuilder> builder( in MakeAddressedPlayerBuilder() local
135 std::unique_ptr<RegisterNotificationResponseBuilder> builder( in MakeUidsChangedBuilder() local
266 std::unique_ptr<RegisterNotificationRequestBuilder> builder( in MakeBuilder() local
Dcapabilities_packet.cc24 std::unique_ptr<GetCapabilitiesRequestBuilder> builder( in MakeBuilder() local
76 std::unique_ptr<GetCapabilitiesResponseBuilder> builder( in MakeCompanyIdBuilder() local
87 std::unique_ptr<GetCapabilitiesResponseBuilder> builder( in MakeEventsSupportedBuilder() local
/system/bt/packet/tests/base/
Dpacket_builder_test.cc29 auto builder = TestPacketBuilder::MakeBuilder(test_l2cap_data); in TEST() local
40 auto builder = TestPacketBuilder::MakeBuilder(test_l2cap_data); in TEST() local
49 auto builder = TestPacketBuilder::MakeBuilder(test_l2cap_data); in TEST() local
56 auto builder = TestPacketBuilder::MakeBuilder(test_l2cap_data); in TEST() local
/system/chre/host/common/
Dhost_protocol_host.cc100 void HostProtocolHost::encodeHubInfoRequest(FlatBufferBuilder &builder) { in encodeHubInfoRequest()
106 flatbuffers::FlatBufferBuilder &builder, in encodeFragmentedLoadNanoappRequest()
114 void HostProtocolHost::encodeNanoappListRequest(FlatBufferBuilder &builder) { in encodeNanoappListRequest()
120 FlatBufferBuilder &builder, uint32_t transactionId, uint64_t appId, in encodeUnloadNanoappRequest()
127 void HostProtocolHost::encodeTimeSyncMessage(FlatBufferBuilder &builder, in encodeTimeSyncMessage()
133 void HostProtocolHost::encodeDebugDumpRequest(FlatBufferBuilder &builder) { in encodeDebugDumpRequest()
176 FlatBufferBuilder &builder, uint32_t transactionId, uint64_t appId, in encodeLoadNanoappRequestForBinary()
189 flatbuffers::FlatBufferBuilder &builder, uint32_t transactionId, in encodeLoadNanoappRequestForFile()
202 flatbuffers::FlatBufferBuilder &builder, ::chre::fbs::Setting setting, in encodeSettingChangeNotification()
211 flatbuffers::FlatBufferBuilder &builder) { in encodeSelfTestRequest()
/system/chre/platform/shared/
Dhost_protocol_chre.cc136 ChreFlatBufferBuilder &builder, const char *name, const char *vendor, in encodeHubInfoResponse()
154 ChreFlatBufferBuilder &builder, in addNanoappListEntry()
166 ChreFlatBufferBuilder &builder, in finishNanoappListResponse()
176 void HostProtocolChre::encodeLoadNanoappResponse(ChreFlatBufferBuilder &builder, in encodeLoadNanoappResponse()
188 ChreFlatBufferBuilder &builder, uint16_t hostClientId, in encodeUnloadNanoappResponse()
196 void HostProtocolChre::encodeLogMessages(ChreFlatBufferBuilder &builder, in encodeLogMessages()
205 void HostProtocolChre::encodeLogMessagesV2(ChreFlatBufferBuilder &builder, in encodeLogMessagesV2()
216 void HostProtocolChre::encodeDebugDumpData(ChreFlatBufferBuilder &builder, in encodeDebugDumpData()
227 void HostProtocolChre::encodeDebugDumpResponse(ChreFlatBufferBuilder &builder, in encodeDebugDumpResponse()
236 void HostProtocolChre::encodeTimeSyncRequest(ChreFlatBufferBuilder &builder) { in encodeTimeSyncRequest()
[all …]
Dhost_protocol_common.cc30 FlatBufferBuilder &builder, uint64_t appId, uint32_t messageType, in encodeNanoappMessage()
43 FlatBufferBuilder &builder, const char *str) { in addStringAsByteVector()
48 void HostProtocolCommon::finalize(FlatBufferBuilder &builder, in finalize()
/system/core/fs_mgr/libfiemap/
Dmetadata.cpp67 std::unique_ptr<MetadataBuilder> builder; in OpenOrCreateMetadata() local
100 bool SaveMetadata(MetadataBuilder* builder, const std::string& metadata_dir) { in SaveMetadata()
129 bool FillPartitionExtents(MetadataBuilder* builder, Partition* partition, SplitFiemap* file, in FillPartitionExtents()
174 auto builder = MetadataBuilder::New(*metadata.get(), &opener); in RemoveImageMetadata() local
184 auto builder = OpenOrCreateMetadata(metadata_dir, file); in UpdateMetadata() local
212 auto builder = MetadataBuilder::New(*metadata.get()); in AddAttributes() local
/system/bt/gd/l2cap/classic/internal/
Ddumpsys_helper.cc37 ChannelDataBuilder builder(*fb_builder); in DumpActiveDynamicChannels() local
53 ChannelDataBuilder builder(*fb_builder); in DumpActiveFixedChannels() local
74 LinkDataBuilder builder(*fb_builder); in DumpActiveLinks() local
/system/bt/gd/l2cap/le/internal/
Dsignalling_manager.cc103 auto builder = ConnectionParameterUpdateResponseBuilder::Create(signal_id.Value(), result); in SendConnectionParameterUpdateResponse() local
108 auto builder = LeFlowControlCreditBuilder::Create(next_signal_id_.Value(), local_cid, credits); in SendCredit() local
145 auto builder = LeCommandRejectNotUnderstoodBuilder::Create(signal_id.Value()); in OnConnectionParameterUpdateRequest() local
152 auto builder = ConnectionParameterUpdateResponseBuilder::Create(signal_id.Value(), in OnConnectionParameterUpdateRequest() local
315 auto builder = LeDisconnectionResponseBuilder::Create(signal_id.Value(), cid, remote_cid); in OnDisconnectionRequest() local
484 … auto builder = LeCommandRejectNotUnderstoodBuilder::Create(control_packet_view.GetIdentifier()); in on_incoming_packet() local
493 auto builder = in send_connection_response() local
526 auto builder = LeCreditBasedConnectionRequestBuilder::Create( in handle_send_next_command() local
534 auto builder = LeDisconnectionRequestBuilder::Create( in handle_send_next_command() local
541 auto builder = ConnectionParameterUpdateRequestBuilder::Create( in handle_send_next_command() local
/system/bt/bta/test/gatt/
Ddatabase_builder_test.cc52 DatabaseBuilder builder; in TEST() local
72 DatabaseBuilder builder; in TEST() local
104 DatabaseBuilder builder; in TEST() local
/system/chre/host/common/test/
Dchre_test_client.cc152 FlatBufferBuilder builder(64); in requestHubInfo() local
162 FlatBufferBuilder builder(64); in requestNanoappList() local
172 FlatBufferBuilder builder(64); in sendMessageToNanoapp() local
210 FlatBufferBuilder builder(binary.size() + 128); in sendNanoappLoad() local
265 FlatBufferBuilder builder(48); in sendUnloadNanoappRequest() local
278 FlatBufferBuilder builder(48); in sendSelfTestRequest() local
/system/bt/packet/tests/fuzzers/
Davrcp_packet_fuzzer.cc31 std::unique_ptr<TestPacketBuilder> builder(new TestPacketBuilder(data)); in MakeBuilder() local
77 auto builder = PacketBuilder::MakeBuilder( in LLVMFuzzerTestOneInput() local
/system/bt/gd/dumpsys/
Dinit_flags.cc24 common::InitFlagsDataBuilder builder(*fb_builder); in Dump() local
/system/chre/platform/slpi/
Dhost_link.cc69 ChreFlatBufferBuilder *builder; member
111 ChreFlatBufferBuilder *builder; member
130 int copyToHostBuffer(const ChreFlatBufferBuilder &builder, in copyToHostBuffer()
191 auto builder = MakeUnique<ChreFlatBufferBuilder>(initialBufferSize); in buildAndEnqueueMessage() local
215 void buildNanoappListResponse(ChreFlatBufferBuilder &builder, void *cookie) { in buildNanoappListResponse()
235 auto msgBuilder = [](ChreFlatBufferBuilder &builder, void *cookie) { in finishLoadingNanoappCallback()
254 auto msgBuilder = [](ChreFlatBufferBuilder &builder, void *cookie) { in handleUnloadNanoappCallback()
281 ChreFlatBufferBuilder builder(msgToHost->message.size() + kFixedSizePortion); in generateMessageToHost() local
316 ChreFlatBufferBuilder builder(kInitialBufferSize); in generateHubInfoResponse() local
326 int generateMessageFromBuilder(ChreFlatBufferBuilder *builder, in generateMessageFromBuilder()
[all …]
/system/bt/profile/avrcp/
Ddevice.cc883 auto builder = GetTotalNumberOfItemsResponseBuilder::MakeBuilder( in GetTotalNumberOfItemsMediaPlayersResponse() local
892 auto builder = GetTotalNumberOfItemsResponseBuilder::MakeBuilder( in GetTotalNumberOfItemsVFSResponse() local
901 auto builder = GetTotalNumberOfItemsResponseBuilder::MakeBuilder( in GetTotalNumberOfItemsNowPlayingResponse() local
922 auto builder = in HandleChangePath() local
937 auto builder = in HandleChangePath() local
958 auto builder = in ChangePathResponse() local
967 …auto builder = GetItemAttributesResponseBuilder::MakeBuilder(Status::INVALID_PARAMETER, browse_mtu… in HandleGetItemAttributes() local
977 auto builder = GetItemAttributesResponseBuilder::MakeBuilder( in HandleGetItemAttributes() local
1009 auto builder = GetItemAttributesResponseBuilder::MakeBuilder(Status::NO_ERROR, in GetItemAttributesNowPlayingResponse() local
1064 auto builder = GetItemAttributesResponseBuilder::MakeBuilder( in GetItemAttributesVFSResponse() local
[all …]

1234567