/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
D | Utils.cpp | 27 uint32_t sizeOfData(V1_2::OperandType type) { in sizeOfData() 29 case V1_2::OperandType::FLOAT32: in sizeOfData() 30 case V1_2::OperandType::INT32: in sizeOfData() 31 case V1_2::OperandType::UINT32: in sizeOfData() 32 case V1_2::OperandType::TENSOR_FLOAT32: in sizeOfData() 33 case V1_2::OperandType::TENSOR_INT32: in sizeOfData() 35 case V1_2::OperandType::TENSOR_QUANT16_SYMM: in sizeOfData() 36 case V1_2::OperandType::TENSOR_FLOAT16: in sizeOfData() 37 case V1_2::OperandType::FLOAT16: in sizeOfData() 38 case V1_2::OperandType::TENSOR_QUANT16_ASYMM: in sizeOfData() [all …]
|
/hardware/interfaces/usb/gadget/1.2/default/ |
D | UsbGadget.cpp | 33 namespace V1_2 { namespace 57 Return<void> UsbGadget::getUsbSpeed(const sp<V1_2::IUsbGadgetCallback>& callback) { in getUsbSpeed() 132 case static_cast<uint64_t>(V1_2::GadgetFunction::MTP): in validateAndSetVidPid() 135 case V1_2::GadgetFunction::ADB | V1_2::GadgetFunction::MTP: in validateAndSetVidPid() 138 case static_cast<uint64_t>(V1_2::GadgetFunction::RNDIS): in validateAndSetVidPid() 141 case V1_2::GadgetFunction::ADB | V1_2::GadgetFunction::RNDIS: in validateAndSetVidPid() 144 case static_cast<uint64_t>(V1_2::GadgetFunction::PTP): in validateAndSetVidPid() 147 case V1_2::GadgetFunction::ADB | V1_2::GadgetFunction::PTP: in validateAndSetVidPid() 150 case static_cast<uint64_t>(V1_2::GadgetFunction::ADB): in validateAndSetVidPid() 153 case static_cast<uint64_t>(V1_2::GadgetFunction::MIDI): in validateAndSetVidPid() [all …]
|
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/include/nnapi/hal/ |
D | Burst.h | 48 class Burst : public V1_2::IBurstContext { 61 MemoryCache(nn::SharedBurst burstExecutor, sp<V1_2::IBurstCallback> burstCallback); 96 const sp<V1_2::IBurstCallback> kBurstCallback; 120 const sp<V1_2::IBurstCallback>& callback, 121 const MQDescriptorSync<V1_2::FmqRequestDatum>& requestChannel, 122 const MQDescriptorSync<V1_2::FmqResultDatum>& resultChannel, 126 Burst(PrivateConstructorTag tag, const sp<V1_2::IBurstCallback>& callback, 127 std::unique_ptr<V1_2::utils::RequestChannelReceiver> requestChannel, 128 std::unique_ptr<V1_2::utils::ResultChannelSender> resultChannel, 140 nn::ExecutionResult<std::pair<hidl_vec<V1_2::OutputShape>, V1_2::Timing>> execute( [all …]
|
D | PreparedModel.h | 46 Return<V1_0::ErrorStatus> execute_1_2(const V1_0::Request& request, V1_2::MeasureTiming measure, 47 const sp<V1_2::IExecutionCallback>& callback) override; 48 Return<V1_3::ErrorStatus> execute_1_3(const V1_3::Request& request, V1_2::MeasureTiming measure, 52 Return<void> executeSynchronously(const V1_0::Request& request, V1_2::MeasureTiming measure, 54 Return<void> executeSynchronously_1_3(const V1_3::Request& request, V1_2::MeasureTiming measure, 59 const sp<V1_2::IBurstCallback>& callback, 60 const MQDescriptorSync<V1_2::FmqRequestDatum>& requestChannel, 61 const MQDescriptorSync<V1_2::FmqResultDatum>& resultChannel, 64 V1_2::MeasureTiming measure, const V1_3::OptionalTimePoint& deadline,
|
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/ |
D | Conversions.h | 27 GeneralResult<OperandType> unvalidatedConvert(const hal::V1_2::OperandType& operandType); 28 GeneralResult<OperationType> unvalidatedConvert(const hal::V1_2::OperationType& operationType); 29 GeneralResult<DeviceType> unvalidatedConvert(const hal::V1_2::DeviceType& deviceType); 30 GeneralResult<Capabilities> unvalidatedConvert(const hal::V1_2::Capabilities& capabilities); 32 const hal::V1_2::Capabilities::OperandPerformance& operandPerformance); 33 GeneralResult<Operation> unvalidatedConvert(const hal::V1_2::Operation& operation); 35 const hal::V1_2::SymmPerChannelQuantParams& symmPerChannelQuantParams); 36 GeneralResult<Operand> unvalidatedConvert(const hal::V1_2::Operand& operand); 38 const hal::V1_2::Operand::ExtraParams& extraParams); 39 GeneralResult<Model> unvalidatedConvert(const hal::V1_2::Model& model); [all …]
|
D | Device.h | 38 namespace android::hardware::neuralnetworks::V1_2::utils { 42 nn::GeneralResult<std::string> getVersionStringFrom(V1_2::IDevice* device); 46 nn::GeneralResult<nn::DeviceType> getDeviceTypeFrom(V1_2::IDevice* device); 50 nn::GeneralResult<std::vector<nn::Extension>> getSupportedExtensionsFrom(V1_2::IDevice* device); 55 V1_2::IDevice* device); 63 sp<V1_2::IDevice> device); 68 sp<V1_2::IDevice> device, hal::utils::DeathHandler deathHandler); 107 const sp<V1_2::IDevice> kDevice;
|
/hardware/interfaces/wifi/hostapd/1.3/vts/functional/ |
D | hostapd_hidl_test.cpp | 37 using ::android::hardware::wifi::hostapd::V1_2::DebugLevel; 38 using ::android::hardware::wifi::hostapd::V1_2::HostapdStatusCode; 39 using ::android::hardware::wifi::hostapd::V1_2::Ieee80211ReasonCode; 113 ::android::hardware::wifi::hostapd::V1_2::IHostapd::IfaceParams in getIfaceParamsWithoutAcs() 143 channelParams_1_3.V1_2 = iface_params_1_2.channelParams; in getIfaceParamsWithoutAcs() 146 iface_params_1_3.V1_2 = iface_params_1_2; in getIfaceParamsWithoutAcs() 156 iface_params_1_3.V1_2.V1_1.V1_0.channelParams.enableAcs = true; in getIfaceParamsWithBridgedModeACS() 157 iface_params_1_3.V1_2.V1_1.V1_0.channelParams.acsShouldExcludeDfs = in getIfaceParamsWithBridgedModeACS() 172 second_channelParams_1_3.V1_2 = iface_params_1_3.V1_2.channelParams; in getIfaceParamsWithBridgedModeACS() 173 second_channelParams_1_3.V1_2.bandMask = 0; in getIfaceParamsWithBridgedModeACS() [all …]
|
/hardware/interfaces/neuralnetworks/1.3/vts/functional/include/1.3/ |
D | Callbacks.h | 117 const sp<V1_2::IPreparedModel>& preparedModel) override; 263 const hidl_vec<V1_2::OutputShape>& outputShapes, 264 const V1_2::Timing& timing) override; 301 const hidl_vec<V1_2::OutputShape>& outputShapes, 302 const V1_2::Timing& timing) override; 353 const std::vector<V1_2::OutputShape>& getOutputShapes() const; 368 V1_2::Timing getTiming() const; 378 hidl_vec<V1_2::OutputShape> outputShapes, V1_2::Timing timing); 385 std::vector<V1_2::OutputShape> mOutputShapes = {}; 386 V1_2::Timing mTiming = {};
|
/hardware/interfaces/cas/1.2/default/ |
D | TypeConvert.cpp | 79 V1_2::Status toStatus_1_2(status_t legacyStatus) { in toStatus_1_2() 80 V1_2::Status status = static_cast<V1_2::Status>(toStatus(legacyStatus)); in toStatus_1_2() 81 if (status == V1_2::Status::ERROR_CAS_UNKNOWN) { in toStatus_1_2() 84 status = V1_2::Status::ERROR_CAS_NEED_ACTIVATION; in toStatus_1_2() 87 status = V1_2::Status::ERROR_CAS_NEED_PAIRING; in toStatus_1_2() 90 status = V1_2::Status::ERROR_CAS_NO_CARD; in toStatus_1_2() 93 status = V1_2::Status::ERROR_CAS_CARD_MUTE; in toStatus_1_2() 96 status = V1_2::Status::ERROR_CAS_CARD_INVALID; in toStatus_1_2() 99 status = V1_2::Status::ERROR_CAS_BLACKOUT; in toStatus_1_2()
|
/hardware/interfaces/wifi/supplicant/1.2/vts/functional/ |
D | supplicant_hidl_test_utils_1_2.h | 27 android::sp<android::hardware::wifi::supplicant::V1_2::ISupplicant> 30 android::sp<android::hardware::wifi::supplicant::V1_2::ISupplicantStaIface> 32 const android::sp<android::hardware::wifi::supplicant::V1_2::ISupplicant>& 35 android::sp<android::hardware::wifi::supplicant::V1_2::ISupplicantStaNetwork> 37 const android::sp<android::hardware::wifi::supplicant::V1_2::ISupplicant>& 40 android::sp<android::hardware::wifi::supplicant::V1_2::ISupplicantP2pIface> 42 const android::sp<android::hardware::wifi::supplicant::V1_2::ISupplicant>& 55 android::sp<android::hardware::wifi::supplicant::V1_2::ISupplicant>
|
D | supplicant_hidl_test_utils_1_2.cpp | 23 using ::android::hardware::wifi::supplicant::V1_2::ISupplicant; 24 using ::android::hardware::wifi::supplicant::V1_2::ISupplicantP2pIface; 25 using ::android::hardware::wifi::supplicant::V1_2::ISupplicantStaIface; 26 using ::android::hardware::wifi::supplicant::V1_2::ISupplicantStaNetwork;
|
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/src/ |
D | PreparedModel.cpp | 72 cb(status, V1_2::utils::kNoTiming, V1_2::utils::kNoTiming); in getExecutionInfo() 99 void notify(V1_2::IExecutionCallback* callback, nn::ErrorStatus status, in notify() 102 const auto hidlStatus = V1_2::utils::convert(status).value(); in notify() 103 const auto hidlOutputShapes = V1_2::utils::convert(outputShapes).value(); in notify() 104 const auto hidlTiming = V1_2::utils::convert(timing).value(); in notify() 158 const V1_0::Request& request, V1_2::MeasureTiming measure, in execute_1_2() 159 const sp<V1_2::IExecutionCallback>& callback) { in execute_1_2() 179 const V1_3::Request& request, V1_2::MeasureTiming measure, in execute_1_3() 204 nn::ExecutionResult<std::pair<hidl_vec<V1_2::OutputShape>, V1_2::Timing>> executeSynchronously( in executeSynchronously() 206 V1_2::MeasureTiming measure) { in executeSynchronously() [all …]
|
D | Burst.cpp | 46 constexpr V1_2::Timing kTiming = {std::numeric_limits<uint64_t>::max(), 63 sp<V1_2::IBurstCallback> burstCallback) in MemoryCache() 144 const sp<V1_2::IBurstCallback>& callback, in create() 145 const MQDescriptorSync<V1_2::FmqRequestDatum>& requestChannel, in create() 146 const MQDescriptorSync<V1_2::FmqResultDatum>& resultChannel, nn::SharedBurst burstExecutor, in create() 155 NN_TRY(V1_2::utils::RequestChannelReceiver::create(requestChannel, pollingTimeWindow)); in create() 156 auto resultChannelSender = NN_TRY(V1_2::utils::ResultChannelSender::create(resultChannel)); in create() 167 Burst::Burst(PrivateConstructorTag /*tag*/, const sp<V1_2::IBurstCallback>& callback, in Burst() 168 std::unique_ptr<V1_2::utils::RequestChannelReceiver> requestChannel, in Burst() 169 std::unique_ptr<V1_2::utils::ResultChannelSender> resultChannel, in Burst() [all …]
|
/hardware/interfaces/neuralnetworks/1.3/utils/src/ |
D | Callbacks.cpp | 58 V1_2::IPreparedModel::castFrom(preparedModel).withDefault(nullptr)) { in prepareModelCallback() 59 return V1_2::utils::prepareModelCallback(status, dynamicPreparedModel); in prepareModelCallback() 65 convertExecutionGeneralResultsHelper(const hidl_vec<V1_2::OutputShape>& outputShapes, in convertExecutionGeneralResultsHelper() 66 const V1_2::Timing& timing) { in convertExecutionGeneralResultsHelper() 85 ErrorStatus status, const hidl_vec<V1_2::OutputShape>& outputShapes, in executionCallback() 86 const V1_2::Timing& timing) { in executionCallback() 104 const sp<V1_2::IPreparedModel>& preparedModel) { in notify_1_2() 131 const hidl_vec<V1_2::OutputShape>& outputShapes, in notify_1_2() 132 const V1_2::Timing& timing) { in notify_1_2() 133 mData.put(V1_2::utils::executionCallback(status, outputShapes, timing)); in notify_1_2() [all …]
|
/hardware/interfaces/neuralnetworks/1.3/utils/test/ |
D | MockPreparedModel.h | 45 (const V1_0::Request& request, V1_2::MeasureTiming measure, 46 const sp<V1_2::IExecutionCallback>& callback), 49 (const V1_0::Request& request, V1_2::MeasureTiming measure, 53 (const sp<V1_2::IBurstCallback>& callback, 54 const MQDescriptorSync<V1_2::FmqRequestDatum>& requestChannel, 55 const MQDescriptorSync<V1_2::FmqResultDatum>& resultChannel, 61 (const V1_3::Request& request, V1_2::MeasureTiming measure, 67 (const V1_3::Request& request, V1_2::MeasureTiming measure, 74 V1_2::MeasureTiming measure, const V1_3::OptionalTimePoint& deadline,
|
/hardware/interfaces/contexthub/common/default/1.X/utils/ |
D | IContextHubCallbackWrapper.h | 36 inline V1_0::ContextHubMsg convertToOldMsg(V1_2::ContextHubMsg msg) { in convertToOldMsg() 40 inline hidl_vec<V1_0::HubAppInfo> convertToOldAppInfo(hidl_vec<V1_2::HubAppInfo> appInfos) { in convertToOldAppInfo() 57 virtual Return<void> handleClientMsg(V1_2::ContextHubMsg msg, 66 virtual Return<void> handleAppsInfo(hidl_vec<V1_2::HubAppInfo> appInfo) = 0; 79 virtual Return<void> handleClientMsg(V1_2::ContextHubMsg msg, in handleClientMsg() 96 virtual Return<void> handleAppsInfo(hidl_vec<V1_2::HubAppInfo> appInfo) override { in handleAppsInfo() 118 class IContextHubCallbackWrapperV1_2 : public ContextHubCallbackWrapper<V1_2::IContexthubCallback> { 120 IContextHubCallbackWrapperV1_2(sp<V1_2::IContexthubCallback> callback) in IContextHubCallbackWrapperV1_2() 123 Return<void> handleClientMsg(V1_2::ContextHubMsg msg, in handleClientMsg() 128 Return<void> handleAppsInfo(hidl_vec<V1_2::HubAppInfo> appInfo) override { in handleAppsInfo()
|
/hardware/interfaces/neuralnetworks/1.2/utils/test/ |
D | MockPreparedModel.h | 26 namespace android::hardware::neuralnetworks::V1_2::utils { 45 (const V1_0::Request& request, V1_2::MeasureTiming measure, 46 const sp<V1_2::IExecutionCallback>& callback), 49 (const V1_0::Request& request, V1_2::MeasureTiming measure, 53 (const sp<V1_2::IBurstCallback>& callback, 54 const MQDescriptorSync<V1_2::FmqRequestDatum>& requestChannel, 55 const MQDescriptorSync<V1_2::FmqResultDatum>& resultChannel,
|
D | MockDevice.h | 25 namespace android::hardware::neuralnetworks::V1_2::utils { 28 hidl_array<uint8_t, static_cast<uint32_t>(V1_2::Constant::BYTE_SIZE_OF_CACHE_TOKEN)>; 63 (const V1_2::Model& model, getSupportedOperations_1_2_cb cb), (override)); 67 (const V1_2::Model& model, V1_1::ExecutionPreference preference, 69 const CacheToken& token, const sp<V1_2::IPreparedModelCallback>& callback), 73 const CacheToken& token, const sp<V1_2::IPreparedModelCallback>& callback),
|
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/ |
D | Callbacks.h | 59 ErrorStatus status, const hidl_vec<V1_2::OutputShape>& outputShapes, 60 const V1_2::Timing& timing); 71 const sp<V1_2::IPreparedModel>& preparedModel) override; 89 const hidl_vec<V1_2::OutputShape>& outputShapes, 90 const V1_2::Timing& timing) override; 91 Return<void> notify_1_3(ErrorStatus status, const hidl_vec<V1_2::OutputShape>& outputShapes, 92 const V1_2::Timing& timing) override;
|
/hardware/interfaces/contexthub/1.2/default/ |
D | Contexthub.h | 26 namespace V1_2 { 31 using ContextHubMsg = ::android::hardware::contexthub::V1_2::ContextHubMsg; 32 using IContexthubCallback = ::android::hardware::contexthub::V1_2::IContexthubCallback; 38 using getHubs_1_2_cb = ::android::hardware::contexthub::V1_2::IContexthub::getHubs_1_2_cb; 56 const sp<V1_2::IContexthubCallback>& cb) override;
|
/hardware/nxp/nfc/snxxx/1.2/ |
D | NfcExtns.h | 25 namespace V1_2 { 29 using namespace android::hardware::nfc::V1_2; 34 void getConfig(android::hardware::nfc::V1_2::NfcConfig& config);
|
/hardware/interfaces/neuralnetworks/1.2/utils/src/ |
D | Conversions.cpp | 76 NN_TRY(hal::V1_2::utils::compliantVersion(canonical)); in validatedConvert() 93 GeneralResult<OperandType> unvalidatedConvert(const hal::V1_2::OperandType& operandType) { in unvalidatedConvert() 97 GeneralResult<OperationType> unvalidatedConvert(const hal::V1_2::OperationType& operationType) { in unvalidatedConvert() 101 GeneralResult<DeviceType> unvalidatedConvert(const hal::V1_2::DeviceType& deviceType) { in unvalidatedConvert() 105 GeneralResult<Capabilities> unvalidatedConvert(const hal::V1_2::Capabilities& capabilities) { in unvalidatedConvert() 108 [](const hal::V1_2::Capabilities::OperandPerformance& operandPerformance) { in unvalidatedConvert() 133 const hal::V1_2::Capabilities::OperandPerformance& operandPerformance) { in unvalidatedConvert() 142 GeneralResult<Operation> unvalidatedConvert(const hal::V1_2::Operation& operation) { in unvalidatedConvert() 152 const hal::V1_2::SymmPerChannelQuantParams& symmPerChannelQuantParams) { in unvalidatedConvert() 159 GeneralResult<Operand> unvalidatedConvert(const hal::V1_2::Operand& operand) { in unvalidatedConvert() [all …]
|
/hardware/interfaces/tv/tuner/1.0/vts/functional/ |
D | DescramblerTests.h | 50 using android::hardware::cas::V1_2::ICas; 51 using android::hardware::cas::V1_2::ICasListener; 52 using android::hardware::cas::V1_2::IMediaCasService; 53 using android::hardware::cas::V1_2::ScramblingMode; 54 using android::hardware::cas::V1_2::SessionIntent; 55 using android::hardware::cas::V1_2::Status; 56 using android::hardware::cas::V1_2::StatusEvent;
|
/hardware/interfaces/tv/tuner/aidl/vts/functional/ |
D | DescramblerTests.h | 51 using android::hardware::cas::V1_2::Status; 52 using android::hardware::cas::V1_2::StatusEvent; 54 using ICasHidl = android::hardware::cas::V1_2::ICas; 55 using ICasListenerHidl = android::hardware::cas::V1_2::ICasListener; 57 using IMediaCasServiceHidl = android::hardware::cas::V1_2::IMediaCasService; 59 using ScramblingModeHidl = android::hardware::cas::V1_2::ScramblingMode; 61 using SessionIntentHidl = android::hardware::cas::V1_2::SessionIntent;
|
/hardware/interfaces/radio/1.2/vts/functional/ |
D | radio_hidl_hal_api.cpp | 47 ::android::hardware::radio::V1_2::NetworkScanRequest request = { in TEST_P() 92 ::android::hardware::radio::V1_2::NetworkScanRequest request = {.type = ScanType::ONE_SHOT, in TEST_P() 122 ::android::hardware::radio::V1_2::NetworkScanRequest request = { in TEST_P() 157 ::android::hardware::radio::V1_2::NetworkScanRequest request = { in TEST_P() 192 ::android::hardware::radio::V1_2::NetworkScanRequest request = { in TEST_P() 227 ::android::hardware::radio::V1_2::NetworkScanRequest request = { in TEST_P() 262 ::android::hardware::radio::V1_2::NetworkScanRequest request = { in TEST_P() 297 ::android::hardware::radio::V1_2::NetworkScanRequest request = { in TEST_P() 334 ::android::hardware::radio::V1_2::NetworkScanRequest request = { in TEST_P() 373 ::android::hardware::radio::V1_2::NetworkScanRequest request = { in TEST_P() [all …]
|