/hardware/interfaces/neuralnetworks/1.0/vts/functional/include/1.0/ |
D | Utils.h | 106 inline void hidl_vec_removeAt(hidl_vec<Type>* vec, uint32_t index) { in hidl_vec_removeAt() argument 107 CHECK(vec != nullptr); in hidl_vec_removeAt() 108 std::rotate(vec->begin() + index, vec->begin() + index + 1, vec->end()); in hidl_vec_removeAt() 109 vec->resize(vec->size() - 1); in hidl_vec_removeAt() 114 inline void hidl_vec_remove(hidl_vec<Type>* vec, const Type& val) { in hidl_vec_remove() argument 115 CHECK(vec != nullptr); in hidl_vec_remove() 116 auto where = std::find(vec->begin(), vec->end(), val); in hidl_vec_remove() 117 ASSERT_NE(where, vec->end()); in hidl_vec_remove() 118 hidl_vec_removeAt(vec, where - vec->begin()); in hidl_vec_remove() 122 inline uint32_t hidl_vec_push_back(hidl_vec<Type>* vec, const Type& value) { in hidl_vec_push_back() argument [all …]
|
/hardware/interfaces/drm/1.0/default/ |
D | TypeConvert.h | 33 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/ |
D | VtsHalIrV1_0TargetTest.cpp | 61 hidl_vec<int32_t> vec; in TEST_P() local 62 vec.resize(len); in TEST_P() 63 std::fill(vec.begin(), vec.end(), 1000); in TEST_P() 65 EXPECT_TRUE(ir->transmit(range->min, vec)); in TEST_P() 66 EXPECT_TRUE(ir->transmit(range->max, vec)); in TEST_P() 74 hidl_vec<int32_t> vec; in TEST_P() local 75 vec.resize(len); in TEST_P() 76 std::fill(vec.begin(), vec.end(), 1); in TEST_P() 77 EXPECT_FALSE(ir->transmit(-1, vec)); in TEST_P()
|
/hardware/interfaces/tests/trie/1.0/default/ |
D | Trie.cpp | 71 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/neuralnetworks/1.0/vts/functional/ |
D | ValidateRequest.cpp | 54 static void hidl_vec_removeAt(hidl_vec<Type>* vec, uint32_t index) { in hidl_vec_removeAt() argument 55 if (vec) { in hidl_vec_removeAt() 56 std::rotate(vec->begin() + index, vec->begin() + index + 1, vec->end()); in hidl_vec_removeAt() 57 vec->resize(vec->size() - 1); in hidl_vec_removeAt() 62 static uint32_t hidl_vec_push_back(hidl_vec<Type>* vec, const Type& value) { in hidl_vec_push_back() argument 64 const uint32_t index = vec->size(); in hidl_vec_push_back() 65 vec->resize(index + 1); in hidl_vec_push_back() 66 (*vec)[index] = value; in hidl_vec_push_back()
|
/hardware/interfaces/tests/baz/1.0/ |
D | IBase.hal | 36 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);
|
D | IBaz.hal | 34 vec<bitfield<BitField>> vector; 48 vec<NestersNasty> nasties; 69 vec<T> matrices; 80 vec<string> vs; 96 vec<string> vectorOfStrings; 105 mapThisVector(vec<int32_t> param) generates (vec<int32_t> something); 115 haveAStringVec(vec<string> vector) generates (vec<string> result); 116 repeatBitfieldVec(vec<bitfield<BitField>> vector) generates (vec<bitfield<BitField>> result); 124 getNestedStructs() generates(vec<NestedStruct> data);
|
/hardware/interfaces/tests/foo/1.0/ |
D | IFoo.hal | 57 // 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/safeunion/1.0/ |
D | ISafeUnion.hal | 33 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/gatekeeper/1.0/software/ |
D | SoftGateKeeperDevice.cpp | 37 inline SizedBuffer hidl_vec2sized_buffer(const hidl_vec<uint8_t>& vec) { in hidl_vec2sized_buffer() argument 38 if (vec.size() == 0 || vec.size() > std::numeric_limits<uint32_t>::max()) return {}; in hidl_vec2sized_buffer() 39 auto dummy = new uint8_t[vec.size()]; in hidl_vec2sized_buffer() 40 std::copy(vec.begin(), vec.end(), dummy); in hidl_vec2sized_buffer() 41 return {dummy, static_cast<uint32_t>(vec.size())}; in hidl_vec2sized_buffer()
|
/hardware/interfaces/keymaster/4.1/support/ |
D | Keymaster.cpp | 31 std::ostream& operator<<(std::ostream& os, const hidl_vec<T>& vec) { in operator <<() argument 33 if (vec.size()) { in operator <<() 34 for (size_t i = 0; i < vec.size() - 1; ++i) os << vec[i] << ", "; in operator <<() 35 os << vec[vec.size() - 1]; in operator <<() 41 std::ostream& operator<<(std::ostream& os, const hidl_vec<uint8_t>& vec) { in operator <<() argument 44 for (uint8_t c : vec) os << static_cast<int>(c); in operator <<() 50 std::ostream& operator<<(std::ostream& os, const hidl_array<uint8_t, N>& vec) { in operator <<() argument 53 for (size_t i = 0; i < N; ++i) os << static_cast<int>(vec[i]); in operator <<()
|
/hardware/interfaces/keymaster/3.0/ |
D | IKeymasterDevice.hal | 72 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/tests/trie/1.0/ |
D | types.hal | 25 vec<TrieEdge> next; 32 vec<B> b; 36 vec<A> a; 39 typedef vec<S> vecS;
|
D | ITrie.hal | 21 addStrings(TrieNode trie, vec<string> strings) generates (TrieNode trie); 22 containsStrings(TrieNode trie, vec<string> strings) generates (vec<bool> contains);
|
/hardware/interfaces/wifi/1.0/ |
D | README-NAN.md | 117 * 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/interfaces/wifi/1.2/ |
D | README-NAN.md | 125 * 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/libhardware/modules/sensors/dynamic_sensor/HidUtils/ |
D | StreamIoUtil.h | 33 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/neuralnetworks/1.1/ |
D | types.t | 69 vec<uint32_t> inputs; 75 vec<uint32_t> outputs; 89 vec<Operand> operands; 98 vec<Operation> operations; 105 vec<uint32_t> inputIndexes; 112 vec<uint32_t> outputIndexes; 120 vec<uint8_t> operandValues; 128 vec<memory> pools;
|
/hardware/interfaces/tests/extension/light/2.0/default/ |
D | Light.cpp | 40 hidl_vec<Type> vec{}; in getSupportedTypes() local 46 _hidl_cb(vec); in getSupportedTypes()
|
/hardware/interfaces/radio/1.1/ |
D | types.hal | 150 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/ |
D | FooHelper.h | 70 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/ |
D | IDrmPlugin.hal | 96 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/ |
D | VirtualProgram.cpp | 89 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()
|
/hardware/interfaces/power/stats/1.0/ |
D | IPowerStats.hal | 30 generates(vec<RailInfo> rails, Status status); 44 getEnergyData(vec<uint32_t> railIndices) 45 generates(vec<EnergyData> data, Status status); 113 generates(vec<PowerEntityInfo> powerEntityInfos, Status status); 132 getPowerEntityStateInfo(vec<uint32_t> powerEntityIds) 133 generates(vec<PowerEntityStateSpace> powerEntityStateSpaces, 157 getPowerEntityStateResidencyData(vec<uint32_t> powerEntityIds) 158 generates(vec<PowerEntityStateResidencyResult> stateResidencyResults,
|
/hardware/interfaces/cas/1.0/ |
D | ICas.hal | 36 setPrivateData(vec<uint8_t> pvtData) generates (Status status); 64 setSessionPrivateData(HidlCasSessionId sessionId, vec<uint8_t> pvtData) 74 processEcm(HidlCasSessionId sessionId, vec<uint8_t> ecm) 83 processEmm(vec<uint8_t> emm) generates (Status status); 93 sendEvent(int32_t event, int32_t arg, vec<uint8_t> eventData) 113 refreshEntitlements(int32_t refreshType, vec<uint8_t> refreshData)
|