Home
last modified time | relevance | path

Searched refs:driverPath (Results 1 – 7 of 7) sorted by relevance

/aosp12/packages/modules/NeuralNetworks/driver/sample_shim/
H A DShellServiceSample.cpp64 int registerDevices(const std::string& driverPath, const std::vector<Names>& devices) { in registerDevices() argument
66 void* libHandle = dlopen(driverPath.c_str(), RTLD_LAZY | RTLD_LOCAL); in registerDevices()
68 LOG(ERROR) << "Failed to load sample SL driver: " << driverPath; in registerDevices()
78 LOG(ERROR) << "Failed to find ANeuralNetworks_getSLDriverImpl symbol in: " << driverPath; in registerDevices()
86 LOG(ERROR) << "ANeuralNetworks_getSLDriverImpl returned nullptr: " << driverPath; in registerDevices()
126 const std::string driverPath = "/vendor/lib64/neuralnetworks_sample_sl_driver_prebuilt.so"; in main() local
132 return registerDevices(driverPath, devicesToRegister); in main()
/aosp12/frameworks/native/libs/graphicsenv/
H A DIGpuService.cpp64 void setUpdatableDriverPath(const std::string& driverPath) override { in setUpdatableDriverPath() argument
67 data.writeUtf8AsUtf16(driverPath); in setUpdatableDriverPath()
78 std::string driverPath; in getUpdatableDriverPath() local
80 error = reply.readUtf8FromUtf16(&driverPath); in getUpdatableDriverPath()
82 return driverPath; in getUpdatableDriverPath()
153 std::string driverPath; in onTransact() local
154 if ((status = data.readUtf8FromUtf16(&driverPath)) != OK) return status; in onTransact()
156 setUpdatableDriverPath(driverPath); in onTransact()
162 std::string driverPath = getUpdatableDriverPath(); in onTransact() local
163 return reply->writeUtf8AsUtf16(driverPath); in onTransact()
/aosp12/frameworks/base/services/core/jni/
H A Dcom_android_server_gpu_GpuService.cpp45 ScopedUtfChars driverPath(env, jDriverPath); in setUpdatableDriverPath_native() local
46 gpuService->setUpdatableDriverPath(driverPath.c_str()); in setUpdatableDriverPath_native()
/aosp12/frameworks/native/services/gpuservice/
H A DGpuService.cpp77 void GpuService::setUpdatableDriverPath(const std::string& driverPath) { in setUpdatableDriverPath() argument
89 mDeveloperDriverPath = driverPath; in setUpdatableDriverPath()
H A DGpuService.h55 void setUpdatableDriverPath(const std::string& driverPath) override;
/aosp12/frameworks/native/libs/graphicsenv/include/graphicsenv/
H A DIGpuService.h47 virtual void setUpdatableDriverPath(const std::string& driverPath) = 0;
/aosp12/frameworks/base/services/core/java/com/android/server/gpu/
H A DGpuService.java345 private static native void nSetUpdatableDriverPath(String driverPath); in nSetUpdatableDriverPath() argument