Lines Matching refs:hal_
76 static const Hal& Get() { return hal_; } in Get()
90 static Hal hal_; member in vulkan::driver::__anonbed2d0790111::Hal
157 Hal Hal::hal_; member in vulkan::driver::__anonbed2d0790111::Hal
268 if (hal_.ShouldUnloadBuiltinDriver()) { in Open()
269 hal_.UnloadBuiltinDriver(); in Open()
272 if (hal_.dev_) in Open()
276 hal_.dev_ = &stubhal::kDevice; in Open()
311 hal_.dev_ = device; in Open()
313 hal_.InitDebugReportIndex(); in Open()
323 if (!hal_.dev_) in ShouldUnloadBuiltinDriver()
327 if (hal_.dev_ == &stubhal::kDevice) in ShouldUnloadBuiltinDriver()
343 int err = hal_.dev_->common.close( in UnloadBuiltinDriver()
344 const_cast<struct hw_device_t*>(&hal_.dev_->common)); in UnloadBuiltinDriver()
348 android_unload_sphal_library(hal_.dev_->common.module->dso); in UnloadBuiltinDriver()
350 hal_.dev_ = nullptr; in UnloadBuiltinDriver()
351 hal_.debug_report_index_ = -1; in UnloadBuiltinDriver()