Lines Matching refs:mNnapi
185 : mNnapi(std::move(nnapi)), in ShimDevice()
189 mCapabilities(neuralnetworks::getCapabilities(mNnapi.get(), mDevice)), in ShimDevice()
190 mNumberOfCacheFiles(neuralnetworks::getNumberOfCacheFilesNeeded(mNnapi.get(), mDevice)), in ShimDevice()
191 mExtensions(neuralnetworks::getVendorExtensions(mNnapi.get(), mDevice)) {} in ShimDevice()
330 mNnapi->getFL5()->ANeuralNetworksMemoryDesc_create(&slDesc); in allocate()
332 [this, slDesc] { mNnapi->getFL5()->ANeuralNetworksMemoryDesc_free(slDesc); }); in allocate()
335 if (mNnapi->getFL5()->ANeuralNetworksMemoryDesc_setDimensions(slDesc, desc.dimensions.size(), in allocate()
373 auto result = mNnapi->getFL5()->ANeuralNetworksMemoryDesc_addInputRole( in allocate()
411 auto result = mNnapi->getFL5()->ANeuralNetworksMemoryDesc_addOutputRole( in allocate()
437 mNnapi->getFL5()->ANeuralNetworksMemoryDesc_finish(slDesc); in allocate()
439 std::make_shared<::android::nn::sl_wrapper::Memory>(mNnapi.get(), slDesc, *typeSize); in allocate()
454 auto shimbuffer = ndk::SharedRefBase::make<ShimBuffer>(mNnapi.get(), dimensions, *type, in allocate()
485 convertFromHAL(mNnapi.get(), model, &copiedOperandValues, &convertErrorStatus); in getSupportedOperations()
494 auto result = mNnapi->getFL5()->ANeuralNetworksModel_getSupportedOperationsForDevices( in getSupportedOperations()
504 auto result = mNnapi->getFL5()->ANeuralNetworksDevice_getType(mDevice, &deviceType); in getType()
512 auto result = mNnapi->getFL5()->ANeuralNetworksDevice_getVersion(mDevice, &buffer); in getVersionString()
554 convertFromHAL(mNnapi.get(), model, &copiedOperandValues, &convertErrorStatus); in prepareModelCommon()
564 mNnapi.get(), &modelAndMemory->models[0], mDevice); in prepareModelCommon()
619 mNnapi, mBufferTracker, std::move(compilation.second), in prepareModelCommon()