/packages/modules/Bluetooth/system/packet/tests/avrcp/ |
D | avrcp_test_packets.h | 25 std::vector<uint8_t> get_capabilities_request = { 29 std::vector<uint8_t> get_capabilities_request_company_id = { 33 std::vector<uint8_t> get_capabilities_request_unknown = { 37 std::vector<uint8_t> get_capabilities_response_company_id = { 42 std::vector<uint8_t> get_capabilities_response_events_supported = { 48 std::vector<uint8_t> get_element_attributes_request_partial = { 55 std::vector<uint8_t> get_element_attributes_request_full = { 65 std::vector<uint8_t> get_element_attributes_request_full_cover_art = { 80 std::vector<uint8_t> get_elements_attributes_response_full = { 93 std::vector<uint8_t> get_play_status_request = {0x01, 0x48, 0x00, 0x00, 0x19, [all …]
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
D | proximity_info_state_utils.h | 35 static int trimLastTwoTouchPoints(std::vector<int> *sampledInputXs, 36 std::vector<int> *sampledInputYs, std::vector<int> *sampledInputTimes, 37 std::vector<int> *sampledLengthCache, std::vector<int> *sampledInputIndice); 43 std::vector<int> *sampledInputXs, std::vector<int> *sampledInputYs, 44 std::vector<int> *sampledInputTimes, std::vector<int> *sampledLengthCache, 45 std::vector<int> *sampledInputIndice); 48 static void popInputData(std::vector<int> *sampledInputXs, std::vector<int> *sampledInputYs, 49 std::vector<int> *sampledInputTimes, std::vector<int> *sampledLengthCache, 50 std::vector<int> *sampledInputIndice); 53 const int sampledInputSize, const std::vector<int> *const sampledInputXs, [all …]
|
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/ |
D | metrics_manager_util.h | 70 const std::vector<sp<AtomMatchingTracker>>& allAtomMatchingTrackers, 72 std::unordered_map<int, std::vector<int>>& trackerToMetricMap, int& logTrackerIndex); 80 const std::vector<sp<ConditionTracker>>& allConditionTrackers, int& conditionIndex, 81 std::unordered_map<int, std::vector<int>>& conditionToMetricMap); 92 std::unordered_map<int, std::vector<int>>& activationAtomTrackerToMetricMap, 93 std::unordered_map<int, std::vector<int>>& deactivationAtomTrackerToMetricMap, 94 std::vector<int>& metricsWithActivation, 96 std::unordered_map<int, std::vector<shared_ptr<Activation>>>& newEventDeactivationMap); 103 const std::vector<sp<AtomMatchingTracker>>& allAtomMatchingTrackers, 105 std::vector<sp<ConditionTracker>>& allConditionTrackers, [all …]
|
D | config_update_utils.h | 52 const std::vector<sp<AtomMatchingTracker>>& oldAtomMatchingTrackers, 54 std::vector<UpdateStatus>& matchersToUpdate, std::vector<uint8_t>& cycleTracker); 70 const std::vector<sp<AtomMatchingTracker>>& oldAtomMatchingTrackers, 71 std::unordered_map<int, std::vector<int>>& allTagIdsToMatchersMap, 73 std::vector<sp<AtomMatchingTracker>>& newAtomMatchingTrackers, 92 const std::vector<sp<ConditionTracker>>& oldConditionTrackers, 94 const std::set<int64_t>& replacedMatchers, std::vector<UpdateStatus>& conditionsToUpdate, 95 std::vector<uint8_t>& cycleTracker); 117 const std::vector<sp<ConditionTracker>>& oldConditionTrackers, 119 std::vector<sp<ConditionTracker>>& newConditionTrackers, [all …]
|
/packages/modules/Bluetooth/tools/rootcanal/include/hci/ |
D | pcap_filter.h | 49 std::vector<uint8_t> FilterHciPacket(std::vector<uint8_t> const& packet, 52 std::vector<uint8_t> FilterHciCommand(std::vector<uint8_t> const& packet); 53 std::vector<uint8_t> FilterHciEvent(std::vector<uint8_t> const& packet); 56 std::vector<uint8_t> FilterWriteLocalName( 58 std::vector<uint8_t> FilterWriteExtendedInquiryResponse( 60 std::vector<uint8_t> FilterLeSetAdvertisingData( 62 std::vector<uint8_t> FilterLeSetScanResponseData( 64 std::vector<uint8_t> FilterLeSetExtendedAdvertisingData( 66 std::vector<uint8_t> FilterLeSetExtendedScanResponseData( 68 std::vector<uint8_t> FilterLeSetPeriodicAdvertisingData( [all …]
|
/packages/modules/Bluetooth/system/gd/discovery/device/ |
D | eir_data_unittest.cc | 41 void LogUuids16(const std::vector<uint16_t>& uuids16) { in LogUuids16() 47 void LogUuids128(const std::vector<hci::Uuid>& uuids128) { in LogUuids128() 56 std::vector<uint8_t>(kPartialUuid16Data, kPartialUuid16Data + sizeof(kPartialUuid16Data))); in TEST() 58 std::vector<uint16_t> uuids; in TEST() 64 std::vector<uint8_t>(kOneUuid16Data, kOneUuid16Data + sizeof(kOneUuid16Data))); in TEST() 66 std::vector<uint16_t> uuids; in TEST() 75 const EirData eir_data(std::vector<uint8_t>(&pkt[kEirOffset], &pkt[kEirOffset] + kEirSize)); in TEST() 77 std::vector<hci::GapDataType> gap_data_types = eir_data.GetDataTypes(); in TEST() 84 const EirData eir_data(std::vector<uint8_t>(&pkt[kEirOffset], &pkt[kEirOffset] + kEirSize)); in TEST() 86 std::vector<std::array<uint8_t, kEirSize>> names; in TEST() [all …]
|
D | eir_data.h | 31 std::vector<uint8_t> data; 36 std::vector<uint8_t> data; 41 EirData(const std::vector<uint8_t>& data); 43 bool GetCompleteNames(std::vector<std::array<uint8_t, 240>>&) const; 44 bool GetShortenedNames(std::vector<std::array<uint8_t, 240>>&) const; 46 bool GetUuids16(std::vector<uint16_t>&) const; 47 bool GetUuidsIncomplete16(std::vector<uint16_t>&) const; 48 bool GetUuids32(std::vector<uint32_t>&) const; 49 bool GetUuidsIncomplete32(std::vector<uint32_t>&) const; 50 bool GetUuids128(std::vector<hci::Uuid>&) const; [all …]
|
/packages/modules/Bluetooth/tools/rootcanal/lib/hci/ |
D | pcap_filter.cc | 39 std::vector<uint8_t> const& packet) { in create_packet_view() 43 return pdl::packet::slice(std::shared_ptr<std::vector<uint8_t> const>( in create_packet_view() 44 &packet, [](std::vector<uint8_t> const* /* ptr */) {})); in create_packet_view() 47 static std::vector<uint8_t> FilterHciAcl(std::vector<uint8_t> const& packet); 48 static std::vector<uint8_t> FilterHciSco(std::vector<uint8_t> const& packet); 49 static std::vector<uint8_t> FilterHciIso(std::vector<uint8_t> const& packet); 51 std::vector<uint8_t> PcapFilter::FilterHciPacket( in FilterHciPacket() 52 std::vector<uint8_t> const& packet, uint8_t idc) { in FilterHciPacket() 67 return std::vector<uint8_t>(packet); in FilterHciPacket() 70 std::vector<uint8_t> PcapFilter::FilterHciCommand( in FilterHciCommand() [all …]
|
/packages/modules/NeuralNetworks/common/cpu_operations/ |
D | QuantizedLSTMTest.cpp | 34 std::vector<uint32_t> shape; 38 OperandTypeParams(Type type, std::vector<uint32_t> shape, float scale, int32_t zeroPoint) in OperandTypeParams() 51 QuantizedLSTMOpModel(const std::vector<OperandTypeParams>& inputOperandTypeParams) { in QuantizedLSTMOpModel() 52 std::vector<uint32_t> inputs; in QuantizedLSTMOpModel() 66 std::vector<uint32_t> outputs; in QuantizedLSTMOpModel() 157 void setInput(const std::vector<uint8_t>& input) { input_ = input; } in setInput() 159 void setWeightsAndBiases(std::vector<uint8_t> inputToInputWeights, in setWeightsAndBiases() 160 std::vector<uint8_t> inputToForgetWeights, in setWeightsAndBiases() 161 std::vector<uint8_t> inputToCellWeights, in setWeightsAndBiases() 162 std::vector<uint8_t> inputToOutputWeights, in setWeightsAndBiases() [all …]
|
/packages/modules/Bluetooth/system/gd/hci/ |
D | hci_packets_test.cc | 28 using std::vector; 33 std::vector<uint8_t> pixel_3_xl_write_extended_inquiry_response{ 48 std::vector<uint8_t> pixel_3_xl_write_extended_inquiry_response_no_uuids{ 63 std::vector<uint8_t> pixel_3_xl_write_extended_inquiry_response_no_uuids_just_eir{ 68 std::shared_ptr<std::vector<uint8_t>> view_bytes = in TEST() 69 std::make_shared<std::vector<uint8_t>>(pixel_3_xl_write_extended_inquiry_response); in TEST() 85 std::vector<GapData> no_padding{gap_data.begin(), gap_data.begin() + 4}; in TEST() 88 std::shared_ptr<std::vector<uint8_t>> packet_bytes = std::make_shared<std::vector<uint8_t>>(); in TEST() 102 std::vector<uint8_t> le_set_scan_parameters{ 106 …PacketView<kLittleEndian> packet_bytes_view(std::make_shared<std::vector<uint8_t>>(le_set_scan_par… in TEST() [all …]
|
/packages/modules/StatsD/statsd/tests/utils/ |
D | DbUtils_test.cpp | 76 vector<LogEvent> events{logEvent}; in TEST_F() 82 std::vector<int32_t> columnTypes; in TEST_F() 83 std::vector<string> columnNames; in TEST_F() 84 std::vector<std::vector<std::string>> rows; in TEST_F() 102 vector<LogEvent> events{logEvent}; in TEST_F() 108 std::vector<int32_t> columnTypes; in TEST_F() 109 std::vector<string> columnNames; in TEST_F() 110 std::vector<std::vector<std::string>> rows; in TEST_F() 130 vector<LogEvent> events{logEvent}; in TEST_F() 136 std::vector<int32_t> columnTypes; in TEST_F() [all …]
|
/packages/modules/Bluetooth/system/stack/test/ |
D | ad_parser_unittest.cc | 23 const std::vector<uint8_t> data0; in TEST() 27 const std::vector<uint8_t> data1{0x00}; in TEST() 33 const std::vector<uint8_t> data0{0x01}; in TEST() 37 const std::vector<uint8_t> data1{0x05, 0x02, 0x00, 0x00, 0x00}; in TEST() 41 const std::vector<uint8_t> data2{0x02, 0x02, 0x00, 0x02, 0x00}; in TEST() 45 const std::vector<uint8_t> data3{0x02, 0x02, 0x00, 0x01}; in TEST() 49 const std::vector<uint8_t> data4{0x03, 0x02, 0x01, 0x02, 0x02, 0x03, 0x01, in TEST() 54 const std::vector<uint8_t> data5{0x03, 0x02, 0x01, 0x02, 0x02, in TEST() 61 const std::vector<uint8_t> data0{0x03, 0x02, 0x01, 0x02}; in TEST() 65 const std::vector<uint8_t> data1{0x03, 0x02, 0x01, 0x02, 0x02, 0x03, 0x01}; in TEST() [all …]
|
/packages/modules/StatsD/statsd/src/condition/ |
D | CombinationConditionTracker.h | 34 const std::vector<Predicate>& allConditionConfig, 35 const std::vector<sp<ConditionTracker>>& allConditionTrackers, 37 std::vector<uint8_t>& stack, std::vector<ConditionState>& conditionCache) override; 40 const std::vector<Predicate>& allConditionProtos, int index, 41 const std::vector<sp<ConditionTracker>>& allConditionTrackers, 46 const std::vector<MatchingState>& eventMatcherValues, 47 const std::vector<sp<ConditionTracker>>& mAllConditions, 48 std::vector<ConditionState>& conditionCache, 49 std::vector<uint8_t>& changedCache) override; 52 const std::vector<sp<ConditionTracker>>& allConditions, [all …]
|
D | SimpleConditionTracker.h | 39 const std::vector<Predicate>& allConditionConfig, 40 const std::vector<sp<ConditionTracker>>& allConditionTrackers, 42 std::vector<uint8_t>& stack, std::vector<ConditionState>& conditionCache) override; 45 const std::vector<Predicate>& allConditionProtos, int index, 46 const std::vector<sp<ConditionTracker>>& allConditionTrackers, 51 const std::vector<MatchingState>& eventMatcherValues, 52 const std::vector<sp<ConditionTracker>>& mAllConditions, 53 std::vector<ConditionState>& conditionCache, 54 std::vector<uint8_t>& changedCache) override; 57 const std::vector<sp<ConditionTracker>>& allConditions, [all …]
|
/packages/modules/Bluetooth/system/gd/l2cap/ |
D | l2cap_packet_test.cc | 30 using std::vector; 35 std::vector<uint8_t> extended_information_start_frame = { 52 std::vector<uint8_t> i_frame_with_fcs = {0x0E, 0x00, 0x40, 0x00, 0x02, 0x00, 0x00, 0x01, 0x02, 56 std::vector<uint8_t> rr_frame_with_fcs = {0x04, 0x00, 0x40, 0x00, 0x01, 0x01, 0xD4, 0x14}; 59 std::vector<uint8_t> g_frame = {0x03, 0x00, 0x02, 0x00, 0x01, 0x02, 0x03}; 62 std::vector<uint8_t> config_mtu_request = {0x04, 0x05, 0x08, 0x00, 0x41, 0x00, 0x00, 0x00, 0x01, 0x… 65 std::vector<uint8_t> config_request_one_defined_option = {0x04, 0x05, 0x08, 0x00, 0x41, 0x00, 67 std::vector<uint8_t> config_request_two_defined_options = {0x04, 0x05, 0x0c, 0x00, 0x41, 0x00, 0x00… 69 std::vector<uint8_t> config_request_two_undefined_options = {0x04, 0x05, 0x0e, 0x00, 0x41, 0x00, 0x… 71 std::vector<uint8_t> config_request_hint_one_defined_option = {0x04, 0x05, 0x08, 0x00, 0x41, 0x00, [all …]
|
/packages/modules/NeuralNetworks/runtime/ |
D | Manager.h | 57 virtual std::tuple<int, std::vector<OutputShape>, Timing> compute( 63 const std::vector<int>& waitFor, const OptionalTimePoint& deadline, 79 virtual std::tuple<int, std::vector<OutputShape>, Timing> execute( 80 const std::vector<ModelArgumentInfo>& inputs, 81 const std::vector<ModelArgumentInfo>& outputs, 82 const std::vector<const RuntimeMemory*>& memories, const SharedBurst& burstController, 85 const std::vector<TokenValuePair>& metaData) const = 0; 91 const std::vector<ModelArgumentInfo>& inputs, 92 const std::vector<ModelArgumentInfo>& outputs, 93 const std::vector<const RuntimeMemory*>& memories, const std::vector<int>& waitFor, [all …]
|
D | Manager.cpp | 118 const std::vector<Extension>& getSupportedExtensions() const override { in getSupportedExtensions() 121 std::vector<bool> getSupportedOperations(const MetaModel& metaModel) const override; 159 const std::vector<TokenValuePair>& metaData, 160 const std::vector<ExtensionNameAndPrefix>& extensionNameAndPrefix) const override; 168 GeneralResult<std::vector<bool>> getSupportedOperationsImpl(const MetaModel& metaModel) const; 193 std::tuple<int, std::vector<OutputShape>, Timing> execute( 194 const std::vector<ModelArgumentInfo>& inputs, 195 const std::vector<ModelArgumentInfo>& outputs, 196 const std::vector<const RuntimeMemory*>& memories, const SharedBurst& burstController, 199 const std::vector<TokenValuePair>& metaData) const override; [all …]
|
/packages/modules/StatsD/statsd/tests/ |
D | statsd_test_util.h | 100 MOCK_METHOD1(sendActiveConfigsChangedBroadcast, Status(const vector<int64_t>& configIds)); 101 MOCK_METHOD1(sendRestrictedMetricsChangedBroadcast, Status(const vector<int64_t>& metricIds)); 104 int64_t subscriptionRuleId, const vector<string>& cookies, 113 Status(const vector<string>& queryData, const vector<string>& columnNames, 114 const vector<int32_t>& columnTypes, int32_t rowCount)); 122 const std::vector<uint8_t>& in_subscriptionPayload), 321 FieldMatcher CreateDimensions(const int atomId, const std::vector<int>& fields); 324 FieldMatcher CreateRepeatedDimensions(const int atomId, const std::vector<int>& fields, 325 const std::vector<Position>& positions); 329 const std::vector<Position>& positions); [all …]
|
/packages/modules/Bluetooth/system/stack/test/rfcomm/ |
D | stack_rfcomm_test_utils.cc | 60 std::vector<uint8_t> CreateMccPnFrame(uint8_t dlci, uint8_t i_bits, in CreateMccPnFrame() 66 std::vector<uint8_t> result; in CreateMccPnFrame() 78 std::vector<uint8_t> CreateMccMscFrame(uint8_t dlci, bool fc, bool rtc, in CreateMccMscFrame() 81 std::vector<uint8_t> result; in CreateMccMscFrame() 95 std::vector<uint8_t> CreateMultiplexerControlFrame( in CreateMultiplexerControlFrame() 96 uint8_t command_type, bool cr, const std::vector<uint8_t>& data) { in CreateMultiplexerControlFrame() 98 std::vector<uint8_t> result; in CreateMultiplexerControlFrame() 110 std::vector<uint8_t> CreateRfcommPacket(uint8_t address, uint8_t control, in CreateRfcommPacket() 112 const std::vector<uint8_t>& data) { in CreateRfcommPacket() 114 std::vector<uint8_t> result; in CreateRfcommPacket() [all …]
|
D | stack_rfcomm_test_utils_test.cc | 59 std::vector<uint8_t> rfcomm_packet = in TEST() 61 std::vector<uint8_t> l2cap_packet = in TEST() 63 std::vector<uint8_t> acl_packet = in TEST() 83 std::vector<uint8_t> rfcomm_packet = in TEST() 85 std::vector<uint8_t> l2cap_packet = in TEST() 87 std::vector<uint8_t> acl_packet = in TEST() 110 std::vector<uint8_t> mcc_pn_data = in TEST() 112 std::vector<uint8_t> mcc_payload = in TEST() 114 std::vector<uint8_t> rfcomm_packet = in TEST() 116 std::vector<uint8_t> l2cap_packet = in TEST() [all …]
|
/packages/modules/NeuralNetworks/common/ |
D | ModelUtils.cpp | 39 std::vector<uint32_t> getMapping(const std::vector<bool>& includes) { in getMapping() 40 std::vector<uint32_t> mapping; in getMapping() 49 void remapIndexes(std::vector<uint32_t>* indexes, const std::vector<uint32_t>& mapping) { in remapIndexes() 60 void keepSelectedElements(std::vector<Type>* elements, const std::vector<bool>& elementsToKeep) { in keepSelectedElements() 79 std::vector<bool> identifyUsedOperands(const Model& model) { in identifyUsedOperands() 80 std::vector<bool> used(model.main.operands.size(), false); in identifyUsedOperands() 81 auto markUsed = [&used](const std::vector<uint32_t>& indexes) { in identifyUsedOperands() 95 void identifyUsedSubgraphs(uint32_t current, const std::vector<Model::Subgraph>& subgraphs, 96 std::vector<bool>* used); 101 void identifyUsedSubgraphs(const std::vector<Operand>& operands, in identifyUsedSubgraphs() [all …]
|
/packages/modules/StatsD/statsd/benchmark/ |
D | loss_info_container_benchmark.cpp | 31 std::vector<int> generateRandomIds(int count, int maxRange) { in generateRandomIds() 40 std::vector<int> result(unique_values.begin(), unique_values.end()); in generateRandomIds() 48 std::vector<std::pair<std::vector<int>, std::vector<int>>> generateIdsAndErrorsVectors( in generateIdsAndErrorsVectors() 49 const std::vector<int>& idsCounts, const std::vector<int>& errorsCounts) { in generateIdsAndErrorsVectors() 50 std::vector<std::pair<std::vector<int>, std::vector<int>>> result; in generateIdsAndErrorsVectors() 61 const std::vector<std::pair<std::vector<int>, std::vector<int>>> kRandomIdsAndErrorsPairs = 65 std::vector<int> errors; 66 std::vector<int> tags; 69 std::vector<TestVector> generateTestVector( in generateTestVector() 71 const std::vector<std::pair<std::vector<int>, std::vector<int>>>& idsAndErrorsPairs) { in generateTestVector() [all …]
|
/packages/modules/Bluetooth/system/gd/packet/parser/test/ |
D | generated_packet_test.cc | 33 using std::vector; 36 vector<uint8_t> child_two_two_three = { 40 vector<uint8_t> child = { 43 vector<uint8_t> child_with_six_bytes = { 72 std::shared_ptr<std::vector<uint8_t>> packet_bytes = std::make_shared<std::vector<uint8_t>>(); in TEST() 104 std::shared_ptr<std::vector<uint8_t>> packet_bytes = std::make_shared<std::vector<uint8_t>>(); in TEST() 130 std::vector<uint8_t> too_small_bytes = {0x34}; in TEST() 131 …auto too_small = std::make_shared<std::vector<uint8_t>>(too_small_bytes.begin(), too_small_bytes.e… in TEST() 141 std::vector<uint8_t> too_small_bytes = {0x34, 0x12, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x11}; in TEST() 142 …auto too_small = std::make_shared<std::vector<uint8_t>>(too_small_bytes.begin(), too_small_bytes.e… in TEST() [all …]
|
/packages/services/Car/tools/telemetry/lua-interpreter/tests/ |
D | lua_engine_test.cc | 34 std::string ConvertVectorToString(std::vector<std::string> vector) { in ConvertVectorToString() argument 36 for (std::string s : vector) { in ConvertVectorToString() 52 std::vector<std::string> output = lua_engine_.ExecuteScript( in TEST_F() 59 std::vector<std::string> output = lua_engine_.ExecuteScript( in TEST_F() 68 std::vector<std::string> output = lua_engine_.ExecuteScript( in TEST_F() 78 std::vector<std::string> output = lua_engine_.ExecuteScript( in TEST_F() 87 std::vector<std::string> output = lua_engine_.ExecuteScript( in TEST_F() 96 std::vector<std::string> output = lua_engine_.ExecuteScript( in TEST_F() 107 std::vector<std::string> output = lua_engine_.ExecuteScript( in TEST_F() 119 std::vector<std::string> output = lua_engine_.ExecuteScript( in TEST_F() [all …]
|
/packages/modules/Bluetooth/tools/rootcanal/model/setup/ |
D | test_command_handler.h | 41 const std::vector<std::string>& args); 49 void AddDevice(const std::vector<std::string>& args); 52 void AddRemote(const std::vector<std::string>& args); 55 void RemoveDevice(const std::vector<std::string>& args); 58 void AddPhy(const std::vector<std::string>& args); 61 void RemovePhy(const std::vector<std::string>& args); 64 void AddDeviceToPhy(const std::vector<std::string>& args); 67 void RemoveDeviceFromPhy(const std::vector<std::string>& args); 70 void List(const std::vector<std::string>& args); 73 void SetDeviceAddress(const std::vector<std::string>& args); [all …]
|