Home
last modified time | relevance | path

Searched refs:driver (Results 1 – 25 of 61) sorted by relevance

123

/frameworks/native/services/inputflinger/host/
DInputDriver.cpp297 auto driver = static_cast<InputDriverInterface*>(host); in create_device_identifier() local
298 return driver->createDeviceIdentifier(name, product_id, vendor_id, bus, unique_id); in create_device_identifier()
302 auto driver = static_cast<InputDriverInterface*>(host); in create_device_definition() local
303 return driver->createDeviceDefinition(); in create_device_definition()
307 auto driver = static_cast<InputDriverInterface*>(host); in create_input_report_definition() local
308 return driver->createInputReportDefinition(); in create_input_report_definition()
312 auto driver = static_cast<InputDriverInterface*>(host); in create_output_report_definition() local
313 return driver->createOutputReportDefinition(); in create_output_report_definition()
317 auto driver = static_cast<InputDriverInterface*>(host); in free_report_definition() local
318 driver->freeReportDefinition(report_def); in free_report_definition()
[all …]
DInputHost.cpp29 void InputHost::registerInputDriver(InputDriverInterface* driver) { in registerInputDriver() argument
30 LOG_ALWAYS_FATAL_IF(driver == nullptr, "Cannot register a nullptr as an InputDriver!"); in registerInputDriver()
31 driver->init(); in registerInputDriver()
32 mDrivers.push_back(driver); in registerInputDriver()
DInputHost.h40 virtual void registerInputDriver(InputDriverInterface* driver) = 0;
49 virtual void registerInputDriver(InputDriverInterface* driver) override;
/frameworks/rs/
DAndroid.bp28 "driver/rsdAllocation.cpp",
29 "driver/rsdBcc.cpp",
30 "driver/rsdCore.cpp",
31 "driver/rsdElement.cpp",
32 "driver/rsdFrameBuffer.cpp",
33 "driver/rsdFrameBufferObj.cpp",
34 "driver/rsdGL.cpp",
35 "driver/rsdMesh.cpp",
36 "driver/rsdMeshObj.cpp",
37 "driver/rsdProgram.cpp",
[all …]
Dsupport.bp79 "driver/rsdAllocation.cpp",
80 "driver/rsdBcc.cpp",
81 "driver/rsdCore.cpp",
82 "driver/rsdElement.cpp",
83 "driver/rsdRuntimeStubs.cpp",
84 "driver/rsdSampler.cpp",
85 "driver/rsdScriptGroup.cpp",
86 "driver/rsdType.cpp",
/frameworks/native/vulkan/libvulkan/
Dcode-generator.tmpl70 const std::bitset<driver::ProcHook::EXTENSION_COUNT> &extensions);
74 const std::bitset<driver::ProcHook::EXTENSION_COUNT> &extensions);
124 const std::bitset<driver::ProcHook::EXTENSION_COUNT> &extensions) {
142 const std::bitset<driver::ProcHook::EXTENSION_COUNT> &extensions) {
225 namespace driver
227 {{Macro "driver.C++.DefineProcHookType"}}
232 {{if (Macro "driver.IsInstanceDriverTableEntry" $f)}}
242 {{if (Macro "driver.IsDeviceDriverTableEntry" $f)}}
257 »} // namespace driver
280 #include "driver.h"
[all …]
Ddebug_report.cpp20 namespace driver { namespace
122 const auto& driver = GetData(instance).driver; in CreateDebugReportCallbackEXT() local
124 if (driver.CreateDebugReportCallbackEXT) { in CreateDebugReportCallbackEXT()
125 VkResult result = driver.CreateDebugReportCallbackEXT( in CreateDebugReportCallbackEXT()
137 driver.DestroyDebugReportCallbackEXT(instance, driver_handle, in CreateDebugReportCallbackEXT()
163 GetData(instance).driver.DestroyDebugReportCallbackEXT( in DestroyDebugReportCallbackEXT()
176 if (GetData(instance).driver.DebugReportMessageEXT) { in DebugReportMessageEXT()
177 GetData(instance).driver.DebugReportMessageEXT( in DebugReportMessageEXT()
Dapi.h39 return driver::GetData(instance).opaque_api_data; in GetData()
43 return driver::GetData(physical_dev).opaque_api_data; in GetData()
47 return driver::GetData(dev).opaque_api_data; in GetData()
51 return driver::GetData(queue).opaque_api_data; in GetData()
55 return driver::GetData(cmd).opaque_api_data; in GetData()
Dapi.cpp121 if (!is_instance_ || !driver::Debuggable()) in AddImplicitLayers()
349 return (is_instance_ && driver::Debuggable() && in EnableDebugCallback()
400 const driver::DebugReportLogger& logger,
462 const driver::DebugReportLogger& logger_;
481 std::bitset<driver::ProcHook::EXTENSION_COUNT> enabled_extensions_;
485 const driver::DebugReportLogger& logger, in LayerChain()
498 enabled_extensions_.set(driver::ProcHook::EXTENSION_CORE); in LayerChain()
525 get_instance_proc_addr_ = driver::GetInstanceProcAddr; in ActivateLayers()
586 get_instance_proc_addr_ = driver::GetInstanceProcAddr; in ActivateLayers()
587 get_device_proc_addr_ = driver::GetDeviceProcAddr; in ActivateLayers()
[all …]
Ddriver.cpp61 namespace driver { namespace
413 const auto& driver = GetData(physical_dev_).driver; in QueryExtensionCount() local
414 return driver.EnumerateDeviceExtensionProperties(physical_dev_, nullptr, in QueryExtensionCount()
426 const auto& driver = GetData(physical_dev_).driver; in EnumerateExtensions() local
427 return driver.EnumerateDeviceExtensionProperties(physical_dev_, nullptr, in EnumerateExtensions()
693 return GetData(device).driver.GetDeviceProcAddr(device, pName); in GetDeviceProcAddr()
781 if (!data.driver.GetPhysicalDeviceProperties2KHR) in QueryPresentationProperties()
799 data.driver.GetPhysicalDeviceProperties2KHR(physicalDevice, in QueryPresentationProperties()
851 VkResult result = data.driver.EnumerateDeviceExtensionProperties( in EnumerateDeviceExtensionProperties()
921 data->driver.DestroyInstance = reinterpret_cast<PFN_vkDestroyInstance>( in CreateInstance()
[all …]
Ddriver.h60 namespace driver {
69 driver(), in InstanceData()
80 InstanceDriverTable driver; member
92 driver() { in DeviceData()
104 DeviceDriverTable driver; member
/frameworks/native/libs/binder/
DProcessState.cpp78 sp<ProcessState> ProcessState::initWithDriver(const char* driver) in initWithDriver() argument
84 if (!strcmp(gProcess->getDriverName().c_str(), driver)) { in initWithDriver()
89 gProcess = new ProcessState(driver); in initWithDriver()
375 static int open_driver(const char *driver) in open_driver() argument
377 int fd = open(driver, O_RDWR | O_CLOEXEC); in open_driver()
398 ALOGW("Opening '%s' failed: %s\n", driver, strerror(errno)); in open_driver()
403 ProcessState::ProcessState(const char *driver) in ProcessState() argument
404 : mDriverName(String8(driver)) in ProcessState()
405 , mDriverFD(open_driver(driver)) in ProcessState()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteCursor.java78 public SQLiteCursor(SQLiteDatabase db, SQLiteCursorDriver driver, in SQLiteCursor() argument
80 this(driver, editTable, query); in SQLiteCursor()
93 public SQLiteCursor(SQLiteCursorDriver driver, String editTable, SQLiteQuery query) { in SQLiteCursor() argument
102 mDriver = driver; in SQLiteCursor()
/frameworks/native/vulkan/doc/implementors_guide/
Dimplementors_guide.adoc7 …nd OEMs integrating them for specific devices. It describes how a Vulkan driver interacts with the…
11driver is the loader, which is part of AOSP and installed at +/system/lib[64]/libvulkan.so+. The l…
13 … functions in the loader which will dispatch to the appropriate layer or driver based on their fir…
17driver enumeration process isn't as elaborate as on other platforms. The loader will use the exist…
24 …at can be passed to the module +open+ call. For the time being, only one driver is supported, and …
26driver, though that driver can support multiple Vulkan physical devices. The +hw_device_t+ structu…
48 … rely on a few private interfaces to the driver for this implementation. These will be loaded thro…
60 …ralloc usage flags. When creating a swapchain, the platform will ask the driver to translate the r…
72 … parameters are taken from the +VkSwapchainCreateInfoKHR+ structure. The driver should fill +*gral…
153 driver may also use this opportunity to recognize and handle any external
[all …]
/frameworks/base/libs/hwui/debug/
DGlesDriver.cpp33 std::unique_ptr<GlesDriver> GlesDriver::replace(std::unique_ptr<GlesDriver>&& driver) { in replace() argument
35 sGlesDriver = std::move(driver); in replace()
/frameworks/native/cmds/servicemanager/
Dservice_manager.c369 char *driver; in main() local
372 driver = argv[1]; in main()
374 driver = "/dev/binder"; in main()
377 bs = binder_open(driver, 128*1024); in main()
380 ALOGW("failed to open binder driver %s\n", driver); in main()
385 ALOGE("failed to open binder driver %s\n", driver); in main()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayer.cpp218 void NuPlayer::setDriver(const wp<NuPlayerDriver> &driver) { in setDriver() argument
219 mDriver = driver; in setDriver()
552 sp<NuPlayerDriver> driver = mDriver.promote(); in onMessageReceived() local
553 if (driver != NULL) { in onMessageReceived()
554 driver->notifySetDataSourceCompleted(err); in onMessageReceived()
732 sp<NuPlayerDriver> driver = mDriver.promote(); in onMessageReceived() local
733 if (driver != NULL) { in onMessageReceived()
734 driver->notifyDuration(durationUs); in onMessageReceived()
1573 sp<NuPlayerDriver> driver = mDriver.promote(); in onPause() local
1574 if (driver != NULL) { in onPause()
[all …]
/frameworks/ml/nn/driver/sample/
DSampleDriverAll.cpp70 sp<SampleDriverAll> driver(new SampleDriverAll()); in main() local
71 return driver->run(); in main()
DSampleDriverQuant.cpp77 sp<SampleDriverQuant> driver(new SampleDriverQuant()); in main() local
78 return driver->run(); in main()
DSampleDriverFloatFast.cpp77 sp<SampleDriverFloatFast> driver(new SampleDriverFloatFast()); in main() local
78 return driver->run(); in main()
DSampleDriverFloatSlow.cpp77 sp<SampleDriverFloatSlow> driver(new SampleDriverFloatSlow()); in main() local
78 return driver->run(); in main()
DSampleDriverMinimal.cpp89 sp<SampleDriverMinimal> driver(new SampleDriverMinimal()); in main() local
90 return driver->run(); in main()
/frameworks/native/libs/binder/include/binder/
DProcessState.h43 static sp<ProcessState> initWithDriver(const char *driver);
80 ProcessState(const char* driver);
/frameworks/native/opengl/specs/
DEGL_ANDROID_blob_cache.txt183 2. When a client API driver gets updated, that may need to invalidate
184 previously cached entries. How can the driver handle this situation?
186 RESPONSE: There are a number of ways the driver can handle this situation.
187 The recommended way is to include the driver version in all cache keys.
188 That way each driver version will use a set of cache keys that are unique
189 to that version, and conflicts should never occur. Updating the driver
192 values in some way, but the driver does not need to take any special
/frameworks/ml/nn/
DREADME.txt27 ./sample_driver: Sample driver that uses the CPU to execute queries.
32 e.g. runtime, driver, or tests. Includes source code and

123