/hardware/interfaces/neuralnetworks/1.1/vts/functional/ |
D | ValidateRequest.cpp | 28 using V1_0::Request; 31 using ExecutionMutation = std::function<void(Request*)>; 39 const Request& originalRequest, const ExecutionMutation& mutate) { in validate() 40 Request request = originalRequest; in validate() 56 static void removeInputTest(const sp<IPreparedModel>& preparedModel, const Request& request) { in removeInputTest() 60 [input](Request* request) { hidl_vec_removeAt(&request->inputs, input); }); in removeInputTest() 66 static void removeOutputTest(const sp<IPreparedModel>& preparedModel, const Request& request) { in removeOutputTest() 70 [output](Request* request) { hidl_vec_removeAt(&request->outputs, output); }); in removeOutputTest() 76 void validateRequest(const sp<IPreparedModel>& preparedModel, const Request& request) { in validateRequest()
|
/hardware/interfaces/neuralnetworks/1.0/vts/functional/ |
D | ValidateRequest.cpp | 27 using ExecutionMutation = std::function<void(Request*)>; 35 const Request& originalRequest, const ExecutionMutation& mutate) { in validate() 36 Request request = originalRequest; in validate() 72 static void removeInputTest(const sp<IPreparedModel>& preparedModel, const Request& request) { in removeInputTest() 76 [input](Request* request) { hidl_vec_removeAt(&request->inputs, input); }); in removeInputTest() 82 static void removeOutputTest(const sp<IPreparedModel>& preparedModel, const Request& request) { in removeOutputTest() 86 [output](Request* request) { hidl_vec_removeAt(&request->outputs, output); }); in removeOutputTest() 92 void validateRequest(const sp<IPreparedModel>& preparedModel, const Request& request) { in validateRequest()
|
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/ |
D | IPreparedModel.aidl | 26 import android.hardware.neuralnetworks.Request; 101 ExecutionResult executeSynchronously(in Request request, in boolean measureTiming, in executeSynchronously() 175 FencedExecutionResult executeFenced(in Request request, in ParcelFileDescriptor[] waitFor, in executeFenced() 224 IExecution createReusableExecution(in Request request, in ExecutionConfig config); in createReusableExecution() 251 in Request request, in ExecutionConfig config, in long deadlineNs); in executeSynchronouslyWithConfig() 289 FencedExecutionResult executeFencedWithConfig(in Request request, in executeFencedWithConfig()
|
D | IBurst.aidl | 22 import android.hardware.neuralnetworks.Request; 105 ExecutionResult executeSynchronously(in Request request, in long[] memoryIdentifierTokens, in executeSynchronously() 130 ExecutionResult executeSynchronouslyWithConfig(in Request request, in executeSynchronouslyWithConfig()
|
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/ |
D | Conversions.h | 42 GeneralResult<Request::Argument> unvalidatedConvert( 44 GeneralResult<Request> unvalidatedConvert(const hal::V1_0::Request& request); 50 GeneralResult<Request> convert(const hal::V1_0::Request& request); 72 nn::GeneralResult<RequestArgument> unvalidatedConvert(const nn::Request::Argument& requestArgument); 73 nn::GeneralResult<hidl_memory> unvalidatedConvert(const nn::Request::MemoryPool& memoryPool); 74 nn::GeneralResult<Request> unvalidatedConvert(const nn::Request& request); 80 nn::GeneralResult<Request> convert(const nn::Request& request);
|
/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
D | ValidateRequest.cpp | 31 using V1_0::Request; 33 using ExecutionMutation = std::function<void(Request*)>; 45 const Request& originalRequest, const ExecutionMutation& mutate) { in validate() 46 Request request = originalRequest; in validate() 133 static void removeInputTest(const sp<IPreparedModel>& preparedModel, const Request& request) { in removeInputTest() 137 [input](Request* request) { hidl_vec_removeAt(&request->inputs, input); }); in removeInputTest() 143 static void removeOutputTest(const sp<IPreparedModel>& preparedModel, const Request& request) { in removeOutputTest() 147 [output](Request* request) { hidl_vec_removeAt(&request->outputs, output); }); in removeOutputTest() 153 void validateRequest(const sp<IPreparedModel>& preparedModel, const Request& request) { in validateRequest() 158 void validateRequestFailure(const sp<IPreparedModel>& preparedModel, const Request& request) { in validateRequestFailure()
|
D | VtsHalNeuralnetworks.cpp | 34 using V1_0::Request; 125 void validateRequest(const sp<IPreparedModel>& preparedModel, const V1_0::Request& request); 127 void validateRequestFailure(const sp<IPreparedModel>& preparedModel, const V1_0::Request& request); 129 void validateBurst(const sp<IPreparedModel>& preparedModel, const V1_0::Request& request); 131 void validateEverything(const sp<IDevice>& device, const Model& model, const Request& request) { in validateEverything() 143 void validateFailure(const sp<IDevice>& device, const Model& model, const Request& request) { in validateFailure() 159 const Request request = context.createRequest(kTestModel); in TEST_P()
|
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/include/nnapi/hal/ |
D | PreparedModel.h | 44 Return<V1_0::ErrorStatus> execute(const V1_0::Request& request, 46 Return<V1_0::ErrorStatus> execute_1_2(const V1_0::Request& request, V1_2::MeasureTiming measure, 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, 63 Return<void> executeFenced(const V1_3::Request& request, const hidl_vec<hidl_handle>& waitFor,
|
/hardware/interfaces/neuralnetworks/1.2/utils/src/ |
D | PreparedModel.cpp | 68 PreparedModel::executeSynchronously(const V1_0::Request& request, MeasureTiming measure) const { in executeSynchronously() 78 PreparedModel::executeAsynchronously(const V1_0::Request& request, MeasureTiming measure) const { in executeAsynchronously() 92 const nn::Request& request, nn::MeasureTiming measure, in execute() 98 std::optional<nn::Request> maybeRequestInShared; in execute() 100 const nn::Request& requestInShared = NN_TRY(hal::utils::convertRequestFromPointerToShared( in execute() 111 PreparedModel::executeInternal(const V1_0::Request& request, MeasureTiming measure, in executeInternal() 129 const nn::Request& /*request*/, const std::vector<nn::SyncFence>& /*waitFor*/, in executeFenced() argument 140 const nn::Request& request, nn::MeasureTiming measure, in createReusableExecution() 145 std::optional<nn::Request> maybeRequestInShared; in createReusableExecution() 147 const nn::Request& requestInShared = NN_TRY(hal::utils::convertRequestFromPointerToShared( in createReusableExecution()
|
/hardware/interfaces/neuralnetworks/1.3/vts/functional/ |
D | ValidateRequest.cpp | 37 using ExecutionMutation = std::function<void(Request*)>; 49 const Request& originalRequest, const ExecutionMutation& mutate) { in validate() 50 Request request = originalRequest; in validate() 103 V1_0::Request request10 = nn::convertToV1_0(request); in validate() 155 static void removeInputTest(const sp<IPreparedModel>& preparedModel, const Request& request) { in removeInputTest() 159 [input](Request* request) { hidl_vec_removeAt(&request->inputs, input); }); in removeInputTest() 165 static void removeOutputTest(const sp<IPreparedModel>& preparedModel, const Request& request) { in removeOutputTest() 169 [output](Request* request) { hidl_vec_removeAt(&request->outputs, output); }); in removeOutputTest() 175 void validateRequest(const sp<IPreparedModel>& preparedModel, const Request& request) { in validateRequest() 180 void validateRequestFailure(const sp<IPreparedModel>& preparedModel, const Request& request) { in validateRequestFailure()
|
D | VtsHalNeuralnetworks.cpp | 130 void validateRequest(const sp<IPreparedModel>& preparedModel, const Request& request); 132 void validateRequestFailure(const sp<IPreparedModel>& preparedModel, const Request& request); 134 void validateBurst(const sp<IPreparedModel>& preparedModel, const V1_0::Request& request); 137 void validateExecuteFenced(const sp<IPreparedModel>& preparedModel, const Request& request) { in validateExecuteFenced() 150 void validateEverything(const sp<IDevice>& device, const Model& model, const Request& request) { in validateEverything() 163 V1_0::Request request10 = nn::convertToV1_0(request); in validateEverything() 167 void validateFailure(const sp<IDevice>& device, const Model& model, const Request& request) { in validateFailure() 183 const Request request = nn::convertToV1_3(context.createRequest(kTestModel)); in TEST_P()
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/4/android/hardware/neuralnetworks/ |
D | IPreparedModel.aidl | 37 ….ExecutionResult executeSynchronously(in android.hardware.neuralnetworks.Request request, in boole… in executeSynchronously() 38 …s.FencedExecutionResult executeFenced(in android.hardware.neuralnetworks.Request request, in Parce… in executeFenced() 40 …ks.IExecution createReusableExecution(in android.hardware.neuralnetworks.Request request, in andro… in createReusableExecution() 41 …Result executeSynchronouslyWithConfig(in android.hardware.neuralnetworks.Request request, in andro… in executeSynchronouslyWithConfig() 42 …ecutionResult executeFencedWithConfig(in android.hardware.neuralnetworks.Request request, in Parce… in executeFencedWithConfig()
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/ |
D | IPreparedModel.aidl | 37 ….ExecutionResult executeSynchronously(in android.hardware.neuralnetworks.Request request, in boole… in executeSynchronously() 38 …s.FencedExecutionResult executeFenced(in android.hardware.neuralnetworks.Request request, in Parce… in executeFenced() 40 …ks.IExecution createReusableExecution(in android.hardware.neuralnetworks.Request request, in andro… in createReusableExecution() 41 …Result executeSynchronouslyWithConfig(in android.hardware.neuralnetworks.Request request, in andro… in executeSynchronouslyWithConfig() 42 …ecutionResult executeFencedWithConfig(in android.hardware.neuralnetworks.Request request, in Parce… in executeFencedWithConfig()
|
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | Buffer.cpp | 35 std::shared_ptr<aidl_hal::IBuffer> buffer, nn::Request::MemoryDomainToken token) { in create() 39 if (token == static_cast<nn::Request::MemoryDomainToken>(0)) { in create() 47 nn::Request::MemoryDomainToken token) in Buffer() 50 CHECK(kToken != static_cast<nn::Request::MemoryDomainToken>(0)); in Buffer() 53 nn::Request::MemoryDomainToken Buffer::getToken() const { in getToken()
|
/hardware/interfaces/neuralnetworks/aidl/utils/test/ |
D | MockPreparedModel.h | 33 (const Request& request, bool measureTiming, int64_t deadline, 37 (const Request& request, const std::vector<ndk::ScopedFileDescriptor>& waitFor, 42 (const Request& request, const ExecutionConfig& config, int64_t deadline, 46 (const Request& request, const std::vector<ndk::ScopedFileDescriptor>& waitFor, 53 (const Request& request, const ExecutionConfig& config,
|
/hardware/interfaces/neuralnetworks/1.3/utils/src/ |
D | Buffer.cpp | 42 sp<V1_3::IBuffer> buffer, nn::Request::MemoryDomainToken token) { in create() 46 if (token == static_cast<nn::Request::MemoryDomainToken>(0)) { in create() 54 nn::Request::MemoryDomainToken token) in Buffer() 57 CHECK(kToken != static_cast<nn::Request::MemoryDomainToken>(0)); in Buffer() 60 nn::Request::MemoryDomainToken Buffer::getToken() const { in getToken()
|
D | PreparedModel.cpp | 107 PreparedModel::executeSynchronously(const Request& request, V1_2::MeasureTiming measure, in executeSynchronously() 120 PreparedModel::executeAsynchronously(const Request& request, V1_2::MeasureTiming measure, in executeAsynchronously() 137 const nn::Request& request, nn::MeasureTiming measure, in execute() 142 std::optional<nn::Request> maybeRequestInShared; in execute() 144 const nn::Request& requestInShared = NN_TRY(hal::utils::convertRequestFromPointerToShared( in execute() 158 PreparedModel::executeInternal(const Request& request, V1_2::MeasureTiming measure, in executeInternal() 179 const nn::Request& request, const std::vector<nn::SyncFence>& waitFor, in executeFenced() 186 std::optional<nn::Request> maybeRequestInShared; in executeFenced() 188 const nn::Request& requestInShared = NN_TRY(hal::utils::convertRequestFromPointerToShared( in executeFenced() 205 PreparedModel::executeFencedInternal(const Request& request, const hidl_vec<hidl_handle>& waitFor, in executeFencedInternal() [all …]
|
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/include/nnapi/hal/aidl/ |
D | PreparedModel.h | 45 ndk::ScopedAStatus executeSynchronously(const Request& request, bool measureTiming, 48 ndk::ScopedAStatus executeFenced(const Request& request, 54 ndk::ScopedAStatus createReusableExecution(const Request& request, 57 ndk::ScopedAStatus executeSynchronouslyWithConfig(const Request& request, 62 const Request& request, const std::vector<ndk::ScopedFileDescriptor>& waitFor,
|
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/ |
D | Conversions.h | 42 GeneralResult<Request> unvalidatedConvert(const hal::V1_3::Request& request); 43 GeneralResult<Request::MemoryPool> unvalidatedConvert( 44 const hal::V1_3::Request::MemoryPool& memoryPool); 55 GeneralResult<Request> convert(const hal::V1_3::Request& request); 82 nn::GeneralResult<Request> unvalidatedConvert(const nn::Request& request); 83 nn::GeneralResult<Request::MemoryPool> unvalidatedConvert( 84 const nn::Request::MemoryPool& memoryPool); 95 nn::GeneralResult<Request> convert(const nn::Request& request);
|
D | Buffer.h | 38 sp<V1_3::IBuffer> buffer, nn::Request::MemoryDomainToken token); 41 nn::Request::MemoryDomainToken token); 43 nn::Request::MemoryDomainToken getToken() const override; 51 const nn::Request::MemoryDomainToken kToken;
|
D | PreparedModel.h | 50 const nn::Request& request, nn::MeasureTiming measure, 56 const nn::Request& request, const std::vector<nn::SyncFence>& waitFor, 64 const nn::Request& request, nn::MeasureTiming measure, 74 const Request& request, V1_2::MeasureTiming measure, const OptionalTimePoint& deadline, 79 executeFencedInternal(const Request& request, const hidl_vec<hidl_handle>& waitFor, 87 const Request& request, V1_2::MeasureTiming measure, const OptionalTimePoint& deadline, 90 const Request& request, V1_2::MeasureTiming measure, const OptionalTimePoint& deadline,
|
/hardware/interfaces/neuralnetworks/1.0/utils/src/ |
D | PreparedModel.cpp | 60 const nn::Request& request, nn::MeasureTiming /*measure*/, in execute() 66 std::optional<nn::Request> maybeRequestInShared; in execute() 68 const nn::Request& requestInShared = NN_TRY(hal::utils::convertRequestFromPointerToShared( in execute() 78 PreparedModel::executeInternal(const V1_0::Request& request, in executeInternal() 100 const nn::Request& /*request*/, const std::vector<nn::SyncFence>& /*waitFor*/, in executeFenced() argument 111 const nn::Request& request, nn::MeasureTiming /*measure*/, in createReusableExecution() 116 std::optional<nn::Request> maybeRequestInShared; in createReusableExecution() 118 const nn::Request& requestInShared = NN_TRY(hal::utils::convertRequestFromPointerToShared( in createReusableExecution()
|
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/ |
D | Buffer.h | 38 std::shared_ptr<aidl_hal::IBuffer> buffer, nn::Request::MemoryDomainToken token); 41 nn::Request::MemoryDomainToken token); 43 nn::Request::MemoryDomainToken getToken() const override; 51 const nn::Request::MemoryDomainToken kToken;
|
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/ |
D | PreparedModel.h | 51 const nn::Request& request, nn::MeasureTiming measure, 57 const nn::Request& request, const std::vector<nn::SyncFence>& waitFor, 65 const nn::Request& request, nn::MeasureTiming measure, 75 const V1_0::Request& request, MeasureTiming measure, 80 const V1_0::Request& request, MeasureTiming measure) const; 82 const V1_0::Request& request, MeasureTiming measure) const;
|
/hardware/interfaces/neuralnetworks/1.3/utils/test/ |
D | MockPreparedModel.h | 40 (const V1_0::Request& request, const sp<V1_0::IExecutionCallback>& callback), 45 (const V1_0::Request& request, V1_2::MeasureTiming measure, 49 (const V1_0::Request& request, V1_2::MeasureTiming measure, 61 (const V1_3::Request& request, V1_2::MeasureTiming measure, 67 (const V1_3::Request& request, V1_2::MeasureTiming measure, 73 (const V1_3::Request& request, const hidl_vec<hidl_handle>& waitFor,
|