Home
last modified time | relevance | path

Searched refs:vec (Results 1 – 25 of 288) sorted by relevance

12345678910>>...12

/hardware/interfaces/drm/1.0/default/
DTypeConvert.h33 hidl_vec<T> vec; in toHidlVec() local
34 vec.setToExternal(const_cast<T *>(Vector.array()), Vector.size()); in toHidlVec()
35 return vec; in toHidlVec()
39 hidl_vec<T> vec; in toHidlVec() local
40 vec.setToExternal(Vector.editArray(), Vector.size()); in toHidlVec()
41 return vec; in toHidlVec()
44 template<typename T> const Vector<T> toVector(const hidl_vec<T> &vec) { in toVector() argument
46 vector.appendArray(vec.data(), vec.size()); in toVector()
50 template<typename T> Vector<T> toVector(hidl_vec<T> &vec) { in toVector() argument
52 vector.appendArray(vec.data(), vec.size()); in toVector()
/hardware/interfaces/ir/1.0/vts/functional/
DVtsHalIrV1_0TargetTest.cpp76 hidl_vec<int32_t> vec; in TEST_F() local
77 vec.resize(len); in TEST_F()
78 std::fill(vec.begin(), vec.end(), 1000); in TEST_F()
80 EXPECT_TRUE(ir->transmit(range->min, vec)); in TEST_F()
81 EXPECT_TRUE(ir->transmit(range->max, vec)); in TEST_F()
89 hidl_vec<int32_t> vec; in TEST_F() local
90 vec.resize(len); in TEST_F()
91 std::fill(vec.begin(), vec.end(), 1); in TEST_F()
92 EXPECT_FALSE(ir->transmit(-1, vec)); in TEST_F()
/hardware/interfaces/tests/trie/1.0/default/
DTrie.cpp71 auto& vec = currNode->next; in addString() local
73 auto it = std::find_if(vec.begin(), vec.end(), in addString()
76 if (it == vec.end()) { in addString()
77 vec.resize(vec.size() + 1); in addString()
78 it = vec.end() - 1; in addString()
93 const auto& vec = currNode->next; in containsString() local
95 auto it = std::find_if(vec.begin(), vec.end(), in containsString()
98 if (it == vec.end()) return false; in containsString()
/hardware/interfaces/tests/baz/1.0/
DIBase.hal36 vec<Bar> aaa;
64 vec<MacAddress> addresses;
108 someBoolVectorMethod(vec<bool> x) generates (vec<bool> y);
112 someMethodWithFooVectors(vec<Foo> fooInput) generates (vec<Foo> fooOutput);
116 someMethodTakingAVectorOfArray(vec<MacAddress> in)
117 generates (vec<MacAddress> out);
126 testByteVecs(vec<ByteOneDim> in) generates (vec<ByteOneDim> out);
127 testBooleanVecs(vec<BooleanOneDim> in) generates (vec<BooleanOneDim> out);
128 testDoubleVecs(vec<DoubleOneDim> in) generates (vec<DoubleOneDim> out);
DIBaz.hal43 vec<NestersNasty> nasties;
64 vec<T> matrices;
75 vec<string> vs;
91 vec<string> vectorOfStrings;
100 mapThisVector(vec<int32_t> param) generates (vec<int32_t> something);
110 haveAStringVec(vec<string> vector) generates (vec<string> result);
118 getNestedStructs() generates(vec<NestedStruct> data);
/hardware/interfaces/tests/foo/1.0/
DIFoo.hal57 // vec<double> lotsOfFumbles;
117 vec<string> vs;
178 convertToBoolIfSmall(Discriminator d, vec<Union> u) generates (vec<ContainsUnion> c);
185 mapThisVector(vec<int32_t> param) generates (vec<int32_t> something);
189 haveAGooberVec(vec<Goober> param);
196 haveAStringVec(vec<string> vector) generates (vec<string> result);
204 sendVec(vec<uint8_t> data) generates (vec<uint8_t> data);
206 sendVecVec() generates (vec<vec<uint8_t>> vecvec);
208 haveAVectorOfInterfaces(vec<ISimple> in) generates (vec<ISimple> out);
210 haveAVectorOfGenericInterfaces(vec<interface> in)
[all …]
/hardware/interfaces/tests/pointer/1.0/
DIPointer.hal39 vec<ref<Ada>> a_ptr_vec;
40 ref<vec<Ada>> a_vec_ptr;
53 foo10(vec<ref<Sam>> s_ptr_vec);
54 foo11(ref<vec<Sam>> s_vec_ptr);
62 foo19(ref<vec<Ada>> a_vec_ref, vec<Ada> a_vec, ref<vec<Ada>> a_vec_ref2);
63 foo20(vec<ref<Sam>> s_ptr_vec);
76 bar10() generates (vec<ref<Sam>> s_ptr_vec);
77 bar11() generates (ref<vec<Sam>> s_vec_ptr);
85 bar19() generates (ref<vec<Ada>> a_vec_ref, vec<Ada> a_vec, ref<vec<Ada>> a_vec_ref2);
86 bar20() generates (vec<ref<Sam>> s_ptr_vec);
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DValidateRequest.cpp68 static void hidl_vec_removeAt(hidl_vec<Type>* vec, uint32_t index) { in hidl_vec_removeAt() argument
69 if (vec) { in hidl_vec_removeAt()
70 std::rotate(vec->begin() + index, vec->begin() + index + 1, vec->end()); in hidl_vec_removeAt()
71 vec->resize(vec->size() - 1); in hidl_vec_removeAt()
76 static uint32_t hidl_vec_push_back(hidl_vec<Type>* vec, const Type& value) { in hidl_vec_push_back() argument
78 const uint32_t index = vec->size(); in hidl_vec_push_back()
79 vec->resize(index + 1); in hidl_vec_push_back()
80 (*vec)[index] = value; in hidl_vec_push_back()
DValidateModel.cpp78 static void hidl_vec_removeAt(hidl_vec<Type>* vec, uint32_t index) { in hidl_vec_removeAt() argument
79 if (vec) { in hidl_vec_removeAt()
80 std::rotate(vec->begin() + index, vec->begin() + index + 1, vec->end()); in hidl_vec_removeAt()
81 vec->resize(vec->size() - 1); in hidl_vec_removeAt()
86 static uint32_t hidl_vec_push_back(hidl_vec<Type>* vec, const Type& value) { in hidl_vec_push_back() argument
88 const uint32_t index = vec->size(); in hidl_vec_push_back()
89 vec->resize(index + 1); in hidl_vec_push_back()
90 (*vec)[index] = value; in hidl_vec_push_back()
362 static void removeValueAndDecrementGreaterValues(hidl_vec<uint32_t>* vec, uint32_t value) { in removeValueAndDecrementGreaterValues() argument
363 if (vec) { in removeValueAndDecrementGreaterValues()
[all …]
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DValidateRequest.cpp68 static void hidl_vec_removeAt(hidl_vec<Type>* vec, uint32_t index) { in hidl_vec_removeAt() argument
69 if (vec) { in hidl_vec_removeAt()
70 std::rotate(vec->begin() + index, vec->begin() + index + 1, vec->end()); in hidl_vec_removeAt()
71 vec->resize(vec->size() - 1); in hidl_vec_removeAt()
76 static uint32_t hidl_vec_push_back(hidl_vec<Type>* vec, const Type& value) { in hidl_vec_push_back() argument
78 const uint32_t index = vec->size(); in hidl_vec_push_back()
79 vec->resize(index + 1); in hidl_vec_push_back()
80 (*vec)[index] = value; in hidl_vec_push_back()
DValidateModel.cpp94 static void hidl_vec_removeAt(hidl_vec<Type>* vec, uint32_t index) { in hidl_vec_removeAt() argument
95 if (vec) { in hidl_vec_removeAt()
96 std::rotate(vec->begin() + index, vec->begin() + index + 1, vec->end()); in hidl_vec_removeAt()
97 vec->resize(vec->size() - 1); in hidl_vec_removeAt()
102 static uint32_t hidl_vec_push_back(hidl_vec<Type>* vec, const Type& value) { in hidl_vec_push_back() argument
104 const uint32_t index = vec->size(); in hidl_vec_push_back()
105 vec->resize(index + 1); in hidl_vec_push_back()
106 (*vec)[index] = value; in hidl_vec_push_back()
378 static void removeValueAndDecrementGreaterValues(hidl_vec<uint32_t>* vec, uint32_t value) { in removeValueAndDecrementGreaterValues() argument
379 if (vec) { in removeValueAndDecrementGreaterValues()
[all …]
/hardware/interfaces/tests/safeunion/1.0/
DISafeUnion.hal33 vec<uint32_t> j1;
56 vec<bool> h;
57 vec<uint64_t> i;
78 vec<string> e;
80 vec<handle> g;
88 vec<handle> c;
99 setH(LargeSafeUnion myUnion, vec<bool> h) generates (LargeSafeUnion myUnion);
100 setI(LargeSafeUnion myUnion, vec<uint64_t> i) generates (LargeSafeUnion myUnion);
112 …setInterfaceE(InterfaceTypeSafeUnion myUnion, vec<string> e) generates (InterfaceTypeSafeUnion myU…
114 …setInterfaceG(InterfaceTypeSafeUnion myUnion, vec<handle> g) generates (InterfaceTypeSafeUnion myU…
[all …]
/hardware/interfaces/keymaster/4.0/support/
DKeymaster.cpp32 std::ostream& operator<<(std::ostream& os, const hidl_vec<T>& vec) { in operator <<() argument
34 if (vec.size()) { in operator <<()
35 for (size_t i = 0; i < vec.size() - 1; ++i) os << vec[i] << ", "; in operator <<()
36 os << vec[vec.size() - 1]; in operator <<()
42 std::ostream& operator<<(std::ostream& os, const hidl_vec<uint8_t>& vec) { in operator <<() argument
45 for (uint8_t c : vec) os << static_cast<int>(c); in operator <<()
51 std::ostream& operator<<(std::ostream& os, const hidl_array<uint8_t, N>& vec) { in operator <<() argument
54 for (size_t i = 0; i < N; ++i) os << static_cast<int>(vec[i]); in operator <<()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DValidateRequest.cpp144 static void hidl_vec_removeAt(hidl_vec<Type>* vec, uint32_t index) { in hidl_vec_removeAt() argument
145 if (vec) { in hidl_vec_removeAt()
146 std::rotate(vec->begin() + index, vec->begin() + index + 1, vec->end()); in hidl_vec_removeAt()
147 vec->resize(vec->size() - 1); in hidl_vec_removeAt()
152 static uint32_t hidl_vec_push_back(hidl_vec<Type>* vec, const Type& value) { in hidl_vec_push_back() argument
154 const uint32_t index = vec->size(); in hidl_vec_push_back()
155 vec->resize(index + 1); in hidl_vec_push_back()
156 (*vec)[index] = value; in hidl_vec_push_back()
DValidateModel.cpp94 static void hidl_vec_removeAt(hidl_vec<Type>* vec, uint32_t index) { in hidl_vec_removeAt() argument
95 if (vec) { in hidl_vec_removeAt()
96 std::rotate(vec->begin() + index, vec->begin() + index + 1, vec->end()); in hidl_vec_removeAt()
97 vec->resize(vec->size() - 1); in hidl_vec_removeAt()
102 static uint32_t hidl_vec_push_back(hidl_vec<Type>* vec, const Type& value) { in hidl_vec_push_back() argument
104 const uint32_t index = vec->size(); in hidl_vec_push_back()
105 vec->resize(index + 1); in hidl_vec_push_back()
106 (*vec)[index] = value; in hidl_vec_push_back()
478 static void removeValueAndDecrementGreaterValues(hidl_vec<uint32_t>* vec, uint32_t value) { in removeValueAndDecrementGreaterValues() argument
479 if (vec) { in removeValueAndDecrementGreaterValues()
[all …]
/hardware/interfaces/keymaster/3.0/
DIKeymasterDevice.hal72 addRngEntropy(vec<uint8_t> data) generates(ErrorCode error);
88 generateKey(vec<KeyParameter> keyParams)
89 generates(ErrorCode error, vec<uint8_t> keyBlob, KeyCharacteristics keyCharacteristics);
111 importKey(vec<KeyParameter> params, KeyFormat keyFormat, vec<uint8_t> keyData)
112 generates(ErrorCode error, vec<uint8_t> keyBlob, KeyCharacteristics keyCharacteristics);
135 getKeyCharacteristics(vec<uint8_t> keyBlob, vec<uint8_t> clientId, vec<uint8_t> appData)
160 exportKey(KeyFormat keyFormat, vec<uint8_t> keyBlob, vec<uint8_t> clientId,
161 vec<uint8_t> appData) generates(ErrorCode error, vec<uint8_t> keyMaterial);
177 attestKey(vec<uint8_t> keyToAttest, vec<KeyParameter> attestParams)
178 generates(ErrorCode error, vec<vec<uint8_t>> certChain);
[all …]
/hardware/interfaces/wifi/1.2/
DREADME-NAN.md125 * vec<uint8_t> serviceName = <i>variable</i>
127 * vec<uint8_t> serviceSpecificInfo = <i>variable</i>
128 * vec<uint8_t> extendedServiceSpecificInfo = <i>N/A</i>
129 e vec<uint8_t> rxMatchFilter = <i>variable</i>
130 * vec<uint8_t> txMatchFilter = <i>variable</i>
155 * vec<MacAddress> intfAddr = <i>N/A</i>
164 * vec<uint8_t> serviceSpecificInfo = <i>variable</i>
165 * vec<uint8_t> extendedServiceSpecificInfo = <i>N/A</i>
179 * vec<uint8_t> appInfo = <i>N/A</i>
180 * vec<uint8_t> serviceNameOutOfBand = <i>variable</i>
[all …]
/hardware/interfaces/wifi/1.0/
DREADME-NAN.md117 * vec<uint8_t> serviceName = <i>variable</i>
119 * vec<uint8_t> serviceSpecificInfo = <i>variable</i>
120 * vec<uint8_t> extendedServiceSpecificInfo = <i>N/A</i>
121 * vec<uint8_t> rxMatchFilter = <i>variable</i>
122 * vec<uint8_t> txMatchFilter = <i>variable</i>
147 * vec<MacAddress> intfAddr = <i>N/A</i>
156 * vec<uint8_t> serviceSpecificInfo = <i>variable</i>
157 * vec<uint8_t> extendedServiceSpecificInfo = <i>N/A</i>
171 * vec<uint8_t> appInfo = <i>N/A</i>
172 * vec<uint8_t> serviceNameOutOfBand = <i>variable</i>
[all …]
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DStreamIoUtil.h33 charvectorbuf(std::vector<CharT> &vec) { in charvectorbuf() argument
34 init(vec.data(), vec.size()); in charvectorbuf()
47 charvectorbuf(const std::vector<CharT> &vec) { in charvectorbuf() argument
48 init(vec.data(), vec.size()); in charvectorbuf()
/hardware/interfaces/tests/trie/1.0/
DITrie.hal21 addStrings(TrieNode trie, vec<string> strings) generates (TrieNode trie);
22 containsStrings(TrieNode trie, vec<string> strings) generates (vec<bool> contains);
/hardware/interfaces/tests/extension/light/2.0/default/
DLight.cpp40 hidl_vec<Type> vec{}; in getSupportedTypes() local
46 _hidl_cb(vec); in getSupportedTypes()
/hardware/interfaces/radio/1.1/
Dtypes.hal150 vec<GeranBands> geranBands; // Valid only if radioAccessNetwork = GERAN
153 vec<UtranBands> utranBands; // Valid only if radioAccessNetwork = UTRAN
156 vec<EutranBands> eutranBands; // Valid only if radioAccessNetwork = EUTRAN
159 vec<int32_t> channels; // The radio channels to scan as defined in
169 vec<RadioAccessSpecifier> specifiers; // networks with bands/channels to scan
176 vec<CellInfo> networkInfos; // List of network information as CellInfo
181 vec<uint8_t> sourceAddress; // source address with type = family, in network
185 vec<uint8_t> destinationAddress; // destination address with type = family, in network
203 vec<uint8_t> carrierKey; // Carrier specific key to be used for encryption. It must
/hardware/interfaces/tests/foo/1.0/default/lib/include/hidl-test/
DFooHelper.h70 std::string to_string(const hidl_vec<T> &vec) { in to_string() argument
71 return to_string(&vec[0], vec.size()); in to_string()
/hardware/interfaces/drm/1.0/
DIDrmPlugin.hal96 getKeyRequest(vec<uint8_t> scope, vec<uint8_t> initData,
98 generates (Status status, vec<uint8_t> request,
126 provideKeyResponse(vec<uint8_t> scope, vec<uint8_t> response)
127 generates (Status status, vec<uint8_t> keySetId);
152 vec<uint8_t> keySetId) generates (Status status);
192 generates (Status status, vec<uint8_t> request, string defaultUrl);
215 provideProvisionResponse(vec<uint8_t> response) generates (Status status,
216 vec<uint8_t> certificate, vec<uint8_t> wrappedKey);
246 (Status status, vec<SecureStop> secureStops);
286 releaseSecureStop(vec<uint8_t> secureStopId) generates (Status status);
[all …]
/hardware/interfaces/broadcastradio/1.1/default/
DVirtualProgram.cpp89 vector<ProgramInfo> getProgramInfoVector(const vector<VirtualProgram>& vec, HalRevision halRev) { in getProgramInfoVector() argument
91 out.reserve(vec.size()); in getProgramInfoVector()
92 for (auto&& program : vec) { in getProgramInfoVector()

12345678910>>...12