Home
last modified time | relevance | path

Searched refs:hidl_vec (Results 1 – 25 of 1029) sorted by relevance

12345678910>>...42

/hardware/interfaces/drm/1.0/default/
DDrmPlugin.h41 using ::android::hardware::hidl_vec;
55 Return<Status> closeSession(const hidl_vec<uint8_t>& sessionId) override;
57 Return<void> getKeyRequest(const hidl_vec<uint8_t>& scope,
58 const hidl_vec<uint8_t>& initData, const hidl_string& mimeType,
59 KeyType keyType, const hidl_vec<KeyValue>& optionalParameters,
62 Return<void> provideKeyResponse(const hidl_vec<uint8_t>& scope,
63 const hidl_vec<uint8_t>& response, provideKeyResponse_cb _hidl_cb)
66 Return<Status> removeKeys(const hidl_vec<uint8_t>& sessionId) override;
68 Return<Status> restoreKeys(const hidl_vec<uint8_t>& sessionId,
69 const hidl_vec<uint8_t>& keySetId) override;
[all …]
DDrmPlugin.cpp39 Return<Status> DrmPlugin::closeSession(const hidl_vec<uint8_t>& sessionId) { in closeSession()
43 Return<void> DrmPlugin::getKeyRequest(const hidl_vec<uint8_t>& scope, in getKeyRequest()
44 const hidl_vec<uint8_t>& initData, const hidl_string& mimeType, in getKeyRequest()
45 KeyType keyType, const hidl_vec<KeyValue>& optionalParameters, in getKeyRequest()
105 Return<void> DrmPlugin::provideKeyResponse(const hidl_vec<uint8_t>& scope, in provideKeyResponse()
106 const hidl_vec<uint8_t>& response, provideKeyResponse_cb _hidl_cb) { in provideKeyResponse()
115 Return<Status> DrmPlugin::removeKeys(const hidl_vec<uint8_t>& sessionId) { in removeKeys()
119 Return<Status> DrmPlugin::restoreKeys(const hidl_vec<uint8_t>& sessionId, in restoreKeys()
120 const hidl_vec<uint8_t>& keySetId) { in restoreKeys()
126 Return<void> DrmPlugin::queryKeyStatus(const hidl_vec<uint8_t>& sessionId, in queryKeyStatus()
[all …]
DTypeConvert.h30 using ::android::hardware::hidl_vec;
32 template<typename T> const hidl_vec<T> toHidlVec(const Vector<T> &Vector) { in toHidlVec()
33 hidl_vec<T> vec; in toHidlVec()
38 template<typename T> hidl_vec<T> toHidlVec(Vector<T> &Vector) { in toHidlVec()
39 hidl_vec<T> vec; in toHidlVec()
44 template<typename T> const Vector<T> toVector(const hidl_vec<T> &vec) { in toVector()
50 template<typename T> Vector<T> toVector(hidl_vec<T> &vec) { in toVector()
/hardware/interfaces/keymaster/4.1/support/include/keymasterV4_1/
DKeymaster3.h29 using ::android::hardware::hidl_vec;
56 Return<void> computeSharedHmac(const hidl_vec<HmacSharingParameters>&, in computeSharedHmac()
62 Return<void> verifyAuthorization(uint64_t, const hidl_vec<KeyParameter>&, in verifyAuthorization()
69 Return<V4_0::ErrorCode> addRngEntropy(const hidl_vec<uint8_t>& data) override;
70 Return<void> generateKey(const hidl_vec<KeyParameter>& keyParams,
72 Return<void> getKeyCharacteristics(const hidl_vec<uint8_t>& keyBlob,
73 const hidl_vec<uint8_t>& clientId,
74 const hidl_vec<uint8_t>& appData,
76 Return<void> importKey(const hidl_vec<KeyParameter>& params, KeyFormat keyFormat,
77 const hidl_vec<uint8_t>& keyData, importKey_cb _hidl_cb) override;
[all …]
DKeymaster4.h57 Return<void> computeSharedHmac(const hidl_vec<HmacSharingParameters>& params, in computeSharedHmac()
62 Return<void> verifyAuthorization(uint64_t operationHandle, const hidl_vec<KeyParameter>& params, in verifyAuthorization()
68 Return<V4_0::ErrorCode> addRngEntropy(const hidl_vec<uint8_t>& data) override { in addRngEntropy()
72 Return<void> generateKey(const hidl_vec<KeyParameter>& keyParams, in generateKey()
77 Return<void> getKeyCharacteristics(const hidl_vec<uint8_t>& keyBlob, in getKeyCharacteristics()
78 const hidl_vec<uint8_t>& clientId, in getKeyCharacteristics()
79 const hidl_vec<uint8_t>& appData, in getKeyCharacteristics()
84 Return<void> importKey(const hidl_vec<KeyParameter>& params, KeyFormat keyFormat, in importKey()
85 const hidl_vec<uint8_t>& keyData, importKey_cb _hidl_cb) override { in importKey()
89 Return<void> importWrappedKey(const hidl_vec<uint8_t>& wrappedKeyData, in importWrappedKey()
[all …]
Dattestation_record.h34 hidl_vec<uint8_t> verified_boot_key;
35 hidl_vec<uint8_t> verified_boot_hash;
46 hidl_vec<uint8_t> attestation_challenge;
49 hidl_vec<uint8_t> unique_id;
52 std::tuple<ErrorCode, AttestationRecord> parse_attestation_record(const hidl_vec<uint8_t>& cert);
/hardware/interfaces/keymaster/4.0/support/fuzzer/
Dkeymaster4_attestation_fuzzer.cpp32 ErrorCode generateKey(const AuthorizationSet& keyDesc, hidl_vec<uint8_t>* keyBlob,
34 ErrorCode attestKey(hidl_vec<uint8_t>& keyBlob, const AuthorizationSet& attestParams,
35 hidl_vec<hidl_vec<uint8_t>>* certificateChain);
36 X509_Ptr parseCertificateBlob(const hidl_vec<uint8_t>& blob);
38 bool verifyAttestationRecord(const hidl_vec<uint8_t>& attestationCert);
46 hidl_vec<uint8_t>* keyBlob, in generateKey()
50 [&](ErrorCode hidlError, const hidl_vec<uint8_t>& hidlKeyBlob, in generateKey()
59 ErrorCode KeyMaster4AttestationFuzzer::attestKey(hidl_vec<uint8_t>& keyBlob, in attestKey()
61 hidl_vec<hidl_vec<uint8_t>>* certificateChain) { in attestKey()
65 [&](ErrorCode hidlError, const hidl_vec<hidl_vec<uint8_t>>& hidlCertificateChain) { in attestKey()
[all …]
/hardware/interfaces/keymaster/4.1/support/
DKeymaster3.cpp59 hidl_vec<V3_0::KeyParameter> convert(const hidl_vec<KeyParameter>& params) { in convert()
60 hidl_vec<V3_0::KeyParameter> converted(params.size()); in convert()
67 hidl_vec<KeyParameter> convert(const hidl_vec<V3_0::KeyParameter>& params) { in convert()
68 hidl_vec<KeyParameter> converted(params.size()); in convert()
81 hidl_vec<V3_0::KeyParameter> convertAndAddAuthToken(const hidl_vec<KeyParameter>& params, in convertAndAddAuthToken()
83 hidl_vec<V3_0::KeyParameter> converted(params.size() + 1); in convertAndAddAuthToken()
141 Return<V4_0::ErrorCode> Keymaster3::addRngEntropy(const hidl_vec<uint8_t>& data) { in addRngEntropy()
149 Return<void> Keymaster3::generateKey(const hidl_vec<KeyParameter>& keyParams, in generateKey()
151 auto cb = [&](V3_0::ErrorCode error, const hidl_vec<uint8_t>& keyBlob, in generateKey()
160 Return<void> Keymaster3::getKeyCharacteristics(const hidl_vec<uint8_t>& keyBlob, in getKeyCharacteristics()
[all …]
/hardware/interfaces/renderscript/1.0/vts/functional/
DVtsScriptTests.cpp45 hidl_vec<uint8_t> bitcode; in TEST_P()
54 [&](const hidl_vec<uint8_t>& _data){ resultI = *((int*)_data.data()); }); in TEST_P()
60 [&](const hidl_vec<uint8_t>& _data){ in TEST_P()
67 [&](const hidl_vec<uint8_t>& _data){ in TEST_P()
74 [&](const hidl_vec<uint8_t>& _data){ in TEST_P()
95 [&](const hidl_vec<uint8_t>& _data){ in TEST_P()
100 hidl_vec<uint8_t> _dataV; in TEST_P()
105 [&](const hidl_vec<uint8_t>& _data){ in TEST_P()
112 hidl_vec<uint8_t> _dataVE; in TEST_P()
113 hidl_vec<uint32_t> _dimsVE; in TEST_P()
[all …]
/hardware/interfaces/drm/1.2/vts/functional/include/android/hardware/drm/1.2/vts/
Ddrm_hal_common.h56 using ::android::hardware::hidl_vec;
96 hidl_vec<uint8_t> loadKeys(const SessionId& sessionId,
98 hidl_vec<uint8_t> loadKeys(const SessionId& sessionId,
101 hidl_vec<uint8_t> getKeyRequest(const SessionId& sessionId,
104 hidl_vec<uint8_t> provideKeyResponse(const SessionId& sessionId,
105 const hidl_vec<uint8_t>& keyResponse);
116 const hidl_vec<SubSample>& subSamples, const Pattern& pattern,
119 const hidl_vec<SubSample>& subSamples, const vector<uint8_t>& key);
121 const hidl_vec<SubSample>& subSamples, const vector<uint8_t>& key);
148 void decryptWithInvalidKeys(hidl_vec<uint8_t>& invalidResponse,
[all …]
/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/
Dkeymaster_utils.h38 inline static hidl_vec<uint8_t> blob2hidlVec(const uint8_t* data, const size_t length) { in blob2hidlVec()
39 hidl_vec<uint8_t> result(data, data + length); in blob2hidlVec()
43 inline static hidl_vec<uint8_t> blob2hidlVec(const std::string& value) { in blob2hidlVec()
44 hidl_vec<uint8_t> result(reinterpret_cast<const uint8_t*>(value.data()), in blob2hidlVec()
49 inline static hidl_vec<uint8_t> blob2hidlVec(const std::vector<uint8_t>& blob) { in blob2hidlVec()
50 hidl_vec<uint8_t> result(blob.data(), blob.data() + static_cast<size_t>(blob.size())); in blob2hidlVec()
54 HardwareAuthToken hidlVec2AuthToken(const hidl_vec<uint8_t>& buffer);
55 hidl_vec<uint8_t> authToken2HidlVec(const HardwareAuthToken& token);
/hardware/interfaces/renderscript/1.0/default/
DContext.h47 using ::android::hardware::hidl_vec;
57 …Return<void> allocationAdapterOffset(Allocation alloc, const hidl_vec<uint32_t>& offsets) override;
60 …ocationCreateFromBitmap(Type type, AllocationMipmapControl amips, const hidl_vec<uint8_t>& bitmap,…
61 …ionCubeCreateFromBitmap(Type type, AllocationMipmapControl amips, const hidl_vec<uint8_t>& bitmap,…
67 …cation allocation, uint32_t offset, uint32_t lod, uint32_t count, const hidl_vec<uint8_t>& data) o…
68 …ion allocation, uint32_t x, uint32_t y, uint32_t z, uint32_t lod, const hidl_vec<uint8_t>& data, S…
69 …uint32_t lod, AllocationCubemapFace face, uint32_t w, uint32_t h, const hidl_vec<uint8_t>& data, S…
70 … uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const hidl_vec<uint8_t>& data, S…
87 …rn<Element> elementComplexCreate(const hidl_vec<Element>& eins, const hidl_vec<hidl_string>& names…
93 Return<void> contextSendMessage(uint32_t id, const hidl_vec<uint8_t>& data) override;
[all …]
/hardware/interfaces/bluetooth/1.1/default/
Dbluetooth_hci.cc79 [cb](const hidl_vec<uint8_t>& packet) { in initialize_1_1()
85 [cb](const hidl_vec<uint8_t>& packet) { in initialize_1_1()
91 [cb](const hidl_vec<uint8_t>& packet) { in initialize_1_1()
97 [cb](const hidl_vec<uint8_t>& packet) { in initialize_1_1()
134 const ::android::hardware::hidl_vec<uint8_t>& event) override { in hciEventReceived()
139 const ::android::hardware::hidl_vec<uint8_t>& data) override { in aclDataReceived()
144 const ::android::hardware::hidl_vec<uint8_t>& data) override { in scoDataReceived()
149 const ::android::hardware::hidl_vec<uint8_t>&) override { in isoDataReceived()
168 Return<void> BluetoothHci::sendHciCommand(const hidl_vec<uint8_t>& command) { in sendHciCommand()
173 Return<void> BluetoothHci::sendAclData(const hidl_vec<uint8_t>& data) { in sendAclData()
[all …]
Dbluetooth_hci.h33 using ::android::hardware::hidl_vec;
45 Return<void> sendHciCommand(const hidl_vec<uint8_t>& packet) override;
46 Return<void> sendAclData(const hidl_vec<uint8_t>& data) override;
47 Return<void> sendScoData(const hidl_vec<uint8_t>& data) override;
48 Return<void> sendIsoData(const hidl_vec<uint8_t>& data) override;
52 void sendDataToController(const uint8_t type, const hidl_vec<uint8_t>& data);
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/include/nnapi/hal/
DDevice.h69 const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache,
73 const V1_3::OptionalTimePoint& deadline, const hidl_vec<hidl_handle>& modelCache,
74 const hidl_vec<hidl_handle>& dataCache, const CacheToken& token,
77 const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache,
80 const V1_3::OptionalTimePoint& deadline, const hidl_vec<hidl_handle>& modelCache,
81 const hidl_vec<hidl_handle>& dataCache, const CacheToken& token,
85 const hidl_vec<sp<V1_3::IPreparedModel>>& preparedModels,
86 const hidl_vec<V1_3::BufferRole>& inputRoles,
87 const hidl_vec<V1_3::BufferRole>& outputRoles, allocate_cb cb) override;
/hardware/interfaces/drm/1.0/vts/functional/
Ddrm_hal_clearkey_test.cpp114 hidl_vec<uint8_t> initVec; in TEST_P()
128 hidl_vec<uint8_t> initVec; in TEST_P()
156 hidl_vec<uint8_t> initVec; in TEST_P()
180 [&](Status status, const hidl_vec<uint8_t>&, const hidl_string&) { in TEST_P()
192 hidl_vec<uint8_t> response; in TEST_P()
194 response, [&](Status status, const hidl_vec<uint8_t>&, in TEST_P()
195 const hidl_vec<uint8_t>&) { in TEST_P()
230 hidl_vec<uint8_t> DrmHalClearkeyPluginTest::loadKeys( in loadKeys()
232 hidl_vec<uint8_t> initData = { in loadKeys()
248 hidl_vec<uint8_t> expectedKeyRequest = { in loadKeys()
[all …]
/hardware/interfaces/drm/1.1/vts/functional/
Ddrm_hal_clearkey_test.cpp81 hidl_vec<uint8_t> DrmHalClearkeyTest::loadKeys( in loadKeys()
83 hidl_vec<uint8_t> initData = { in loadKeys()
99 hidl_vec<uint8_t> expectedKeyRequest = { in loadKeys()
105 hidl_vec<uint8_t> knownKeyResponse = { in loadKeys()
117 [&](Status status, const hidl_vec<uint8_t>& request, in loadKeys()
125 hidl_vec<uint8_t> keySetId; in loadKeys()
128 [&](Status status, const hidl_vec<uint8_t>& myKeySetId) { in loadKeys()
162 hidl_vec<uint8_t> initData; in TEST_P()
168 [&](Status status, const hidl_vec<uint8_t>&, KeyRequestType, in TEST_P()
180 hidl_vec<uint8_t> initData; in TEST_P()
[all …]
/hardware/interfaces/audio/common/7.0/example/
DEffect.cpp25 using ::android::hardware::hidl_vec;
77 Return<void> Effect::setAndGetVolume(const hidl_vec<uint32_t>& volumes, in setAndGetVolume()
80 _hidl_cb(Result::OK, hidl_vec<uint32_t>{}); in setAndGetVolume()
84 Return<Result> Effect::volumeChangeNotification(const hidl_vec<uint32_t>& volumes) { in volumeChangeNotification()
129 _hidl_cb(Result::OK, hidl_vec<EffectAuxChannelsConfig>{}); in getSupportedAuxChannelsConfigs()
170 Return<void> Effect::command(uint32_t commandId, const hidl_vec<uint8_t>& data, in command()
175 _hidl_cb(-EINVAL, hidl_vec<uint8_t>{}); in command()
179 Return<Result> Effect::setParameter(const hidl_vec<uint8_t>& parameter, in setParameter()
180 const hidl_vec<uint8_t>& value) { in setParameter()
186 Return<void> Effect::getParameter(const hidl_vec<uint8_t>& parameter, uint32_t valueMaxSize, in getParameter()
[all …]
/hardware/interfaces/thermal/utils/
DThermalHidlWrapper.cpp33 Return<void> setFailureAndCallback(T _hidl_cb, hidl_vec<U> data, std::string_view debug_msg) { in setFailureAndCallback()
51 Return<void> setInitFailureAndCallback(T _hidl_cb, hidl_vec<U> data) { in setInitFailureAndCallback()
63 Return<void> setUnsupportedFailureAndCallback(T _hidl_cb, hidl_vec<U> data) { in setUnsupportedFailureAndCallback()
106 hidl_vec<Temperature_1_0> ret_1_0; in getTemperatures()
112 std::function<void(const ThermalStatus&, const hidl_vec<CpuUsage>&)> _hidl_cb) { in getCpuUsages()
113 hidl_vec<CpuUsage> ret_1_0; in getCpuUsages()
119 std::function<void(const ThermalStatus&, const hidl_vec<CoolingDevice_1_0>&)> _hidl_cb) { in getCoolingDevices()
120 hidl_vec<CoolingDevice_1_0> ret_1_0; in getCoolingDevices()
128 std::function<void(const ThermalStatus&, const hidl_vec<Temperature_2_0>&)> _hidl_cb) { in getCurrentTemperatures()
129 hidl_vec<Temperature_2_0> ret_2_0; in getCurrentTemperatures()
[all …]
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DVehicleHalManager.h65 Return<void> getPropConfigs(const hidl_vec<int32_t>& properties,
71 const hidl_vec<SubscribeOptions>& options) override;
76 Return<void> debug(const hidl_handle& fd, const hidl_vec<hidl_string>& options) override;
107 void cmdDump(int fd, const hidl_vec<hidl_string>& options);
111 bool cmdSetOneProperty(int fd, const hidl_vec<hidl_string>& options);
113 static bool checkArgumentsSize(int fd, const hidl_vec<hidl_string>& options, size_t minSize);
124 void cmdDumpSpecificProperties(int fd, const hidl_vec<hidl_string>& options);
135 static bool parseSetPropOptions(int fd, const hidl_vec<hidl_string>& options,
140 static std::vector<std::string> getOptionValues(const hidl_vec<hidl_string>& options,
148 hidl_vec<VehiclePropValue> mHidlVecOfVehiclePropValuePool;
/hardware/interfaces/gatekeeper/1.0/default/
DGatekeeper.h37 using ::android::hardware::hidl_vec;
48 const hidl_vec<uint8_t>& currentPasswordHandle,
49 const hidl_vec<uint8_t>& currentPassword,
50 const hidl_vec<uint8_t>& desiredPassword,
54 const hidl_vec<uint8_t>& enrolledPasswordHandle,
55 const hidl_vec<uint8_t>& providedPassword,
/hardware/interfaces/power/stats/1.0/vts/functional/
DVtsHalPowerStatsV1_0TargetTest.cpp39 using android::hardware::hidl_vec;
64 void getInfos(hidl_vec<PowerEntityInfo>& infos);
65 void getStateSpaces(hidl_vec<PowerEntityStateSpace>& stateSpaces,
67 void getResidencyResults(hidl_vec<PowerEntityStateResidencyResult>& results,
74 void PowerStatsHidlTest::getInfos(hidl_vec<PowerEntityInfo>& infos) { in getInfos()
91 void PowerStatsHidlTest::getStateSpaces(hidl_vec<PowerEntityStateSpace>& stateSpaces, in getStateSpaces()
110 void PowerStatsHidlTest::getResidencyResults(hidl_vec<PowerEntityStateResidencyResult>& results, in getResidencyResults()
130 hidl_vec<PowerEntityStateSpace> stateSpaces; in getRandomIds()
151 hidl_vec<PowerEntityInfo> infos; in TEST_P()
160 hidl_vec<PowerEntityInfo> infos; in TEST_P()
[all …]
/hardware/interfaces/radio/1.6/vts/functional/
Dradio_indication.cpp24 const hidl_vec<android::hardware::radio::V1_6::SetupDataCallResult>& /*dcList*/) { in dataCallListChanged_1_6()
35 const ::android::hardware::hidl_vec< in currentPhysicalChannelConfigs_1_6()
58 const hidl_vec<::android::hardware::radio::V1_5::BarringInfo>& /*barringInfos*/) { in barringInfoChanged()
70 const hidl_vec<::android::hardware::radio::V1_5::CellInfo>& /*records*/) { in cellInfoList_1_5()
76 const hidl_vec<android::hardware::radio::V1_5::SetupDataCallResult>& /*dcList*/) { in dataCallListChanged_1_5()
83 const ::android::hardware::hidl_vec< in currentPhysicalChannelConfigs_1_4()
96 const ::android::hardware::hidl_vec< in cellInfoList_1_4()
103 const ::android::hardware::hidl_vec<EmergencyNumber>& /*emergencyNumberList*/) { in currentEmergencyNumberList()
109 const ::android::hardware::hidl_vec<android::hardware::radio::V1_4::SetupDataCallResult>& in dataCallListChanged_1_4()
123 const ::android::hardware::hidl_vec< in cellInfoList_1_2()
[all …]
/hardware/interfaces/gatekeeper/1.0/software/
DSoftGateKeeperDevice.cpp20 using ::android::hardware::hidl_vec;
37 inline SizedBuffer hidl_vec2sized_buffer(const hidl_vec<uint8_t>& vec) { in hidl_vec2sized_buffer()
45 const hidl_vec<uint8_t>& currentPasswordHandle, in enroll()
46 const hidl_vec<uint8_t>& currentPassword, in enroll()
47 const hidl_vec<uint8_t>& desiredPassword, in enroll()
65 hidl_vec<uint8_t> new_handle(response.enrolled_password_handle.Data<uint8_t>(), in enroll()
75 const ::android::hardware::hidl_vec<uint8_t>& enrolledPasswordHandle, in verify()
76 const ::android::hardware::hidl_vec<uint8_t>& providedPassword, verify_cb _hidl_cb) { in verify()
93 hidl_vec<uint8_t> auth_token( in verify()
/hardware/interfaces/bluetooth/1.0/default/
Dbluetooth_hci.cc75 [cb](const hidl_vec<uint8_t>& packet) { in initialize()
81 [cb](const hidl_vec<uint8_t>& packet) { in initialize()
87 [cb](const hidl_vec<uint8_t>& packet) { in initialize()
93 [cb](const hidl_vec<uint8_t>&) { in initialize()
120 Return<void> BluetoothHci::sendHciCommand(const hidl_vec<uint8_t>& command) { in sendHciCommand()
125 Return<void> BluetoothHci::sendAclData(const hidl_vec<uint8_t>& data) { in sendAclData()
130 Return<void> BluetoothHci::sendScoData(const hidl_vec<uint8_t>& data) { in sendScoData()
136 const hidl_vec<uint8_t>& data) { in sendDataToController()

12345678910>>...42