/frameworks/native/services/inputflinger/host/ |
D | InputDriver.cpp | 297 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 …]
|
D | InputHost.cpp | 29 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()
|
D | InputHost.h | 40 virtual void registerInputDriver(InputDriverInterface* driver) = 0; 49 virtual void registerInputDriver(InputDriverInterface* driver) override;
|
/frameworks/rs/ |
D | Android.bp | 29 "driver/rsdAllocation.cpp", 30 "driver/rsdBcc.cpp", 31 "driver/rsdCore.cpp", 32 "driver/rsdElement.cpp", 33 "driver/rsdFrameBuffer.cpp", 34 "driver/rsdFrameBufferObj.cpp", 35 "driver/rsdGL.cpp", 36 "driver/rsdMesh.cpp", 37 "driver/rsdMeshObj.cpp", 38 "driver/rsdProgram.cpp", [all …]
|
D | support.bp | 79 "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/libs/binder/ |
D | ProcessState.cpp | 80 sp<ProcessState> ProcessState::initWithDriver(const char* driver) in initWithDriver() argument 82 return init(driver, true /*requireDefault*/); in initWithDriver() 90 sp<ProcessState> ProcessState::init(const char *driver, bool requireDefault) in init() argument 95 if (driver == nullptr) { in init() 102 if (access(driver, R_OK) == -1) { in init() 103 ALOGE("Binder driver %s is unavailable. Using /dev/binder instead.", driver); in init() 104 driver = "/dev/binder"; in init() 108 gProcess = new ProcessState(driver); in init() 114 LOG_ALWAYS_FATAL_IF(gProcess->getDriverName() != driver, in init() 117 gProcess->getDriverName().c_str(), driver); in init() [all …]
|
/frameworks/native/vulkan/libvulkan/ |
D | code-generator.tmpl | 70 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 …]
|
D | debug_report.cpp | 20 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()
|
D | api.h | 40 return driver::GetData(instance).opaque_api_data; in GetData() 44 return driver::GetData(physical_dev).opaque_api_data; in GetData() 48 return driver::GetData(dev).opaque_api_data; in GetData() 52 return driver::GetData(queue).opaque_api_data; in GetData() 56 return driver::GetData(cmd).opaque_api_data; in GetData()
|
D | driver.cpp | 73 namespace driver { namespace 466 const auto& driver = GetData(physical_dev_).driver; in QueryExtensionCount() local 467 return driver.EnumerateDeviceExtensionProperties(physical_dev_, nullptr, in QueryExtensionCount() 479 const auto& driver = GetData(physical_dev_).driver; in EnumerateExtensions() local 480 return driver.EnumerateDeviceExtensionProperties(physical_dev_, nullptr, in EnumerateExtensions() 824 return GetData(device).driver.GetDeviceProcAddr(device, pName); in GetDeviceProcAddr() 914 if (!data.driver.GetPhysicalDeviceProperties2KHR && in QueryPresentationProperties() 915 !data.driver.GetPhysicalDeviceProperties2) in QueryPresentationProperties() 933 if (data.driver.GetPhysicalDeviceProperties2KHR) { in QueryPresentationProperties() 934 data.driver.GetPhysicalDeviceProperties2KHR(physicalDevice, in QueryPresentationProperties() [all …]
|
D | api.cpp | 425 const driver::DebugReportLogger& logger, 487 const driver::DebugReportLogger& logger_; 506 std::bitset<driver::ProcHook::EXTENSION_COUNT> enabled_extensions_; 510 const driver::DebugReportLogger& logger, in LayerChain() 524 for (uint32_t i = driver::ProcHook::EXTENSION_CORE_1_0; in LayerChain() 525 i != driver::ProcHook::EXTENSION_COUNT; ++i) { in LayerChain() 554 get_instance_proc_addr_ = driver::GetInstanceProcAddr; in ActivateLayers() 615 get_instance_proc_addr_ = driver::GetInstanceProcAddr; in ActivateLayers() 616 get_device_proc_addr_ = driver::GetDeviceProcAddr; in ActivateLayers() 638 get_instance_proc_addr_ = driver::GetInstanceProcAddr; in ActivateLayers() [all …]
|
D | driver.h | 60 namespace driver { 69 driver(), in InstanceData() 78 InstanceDriverTable driver; member 90 driver() {} in DeviceData() 100 DeviceDriverTable driver; member
|
/frameworks/native/services/gpuservice/gpustats/ |
D | GpuStats.cpp | 30 static void addLoadingCount(GraphicsEnv::Driver driver, bool isDriverLoaded, in addLoadingCount() argument 32 switch (driver) { in addLoadingCount() 52 static void addLoadingTime(GraphicsEnv::Driver driver, int64_t driverLoadingTime, in addLoadingTime() argument 54 switch (driver) { in addLoadingTime() 80 GraphicsEnv::Driver driver, bool isDriverLoaded, int64_t driverLoadingTime) { in insert() argument 95 appPackageName.c_str(), vulkanVersion, static_cast<int32_t>(driver), isDriverLoaded, in insert() 100 addLoadingCount(driver, isDriverLoaded, &globalInfo); in insert() 108 addLoadingCount(driver, isDriverLoaded, &mGlobalStats[driverVersionCode]); in insert() 119 addLoadingTime(driver, driverLoadingTime, &appInfo); in insert() 126 addLoadingTime(driver, driverLoadingTime, &mAppStats[appStatsKey]); in insert()
|
/frameworks/ml/nn/runtime/test/ |
D | TestCompilationCaching.cpp | 366 void compileModel(const sp<CachingDriver>& driver, bool withToken) { in compileModel() argument 367 DeviceManager::get()->forTest_registerDevice(kDeviceName.data(), driver); in compileModel() 393 sp<CachingDriver> driver = new CachingDriver(kDeviceName, ErrorStatus::NONE, kNumModelCache, in createCache() local 395 compileModel(driver, /*withToken=*/true); in createCache() 412 sp<CachingDriver> driver = new CachingDriver(kDeviceName, ErrorStatus::NONE, kNumModelCache, in TEST_P() local 414 compileModel(driver, /*withToken=*/true); in TEST_P() 417 EXPECT_FALSE(driver->hasCalledPrepareModelFromCache()); in TEST_P() 420 EXPECT_EQ(driver->hasCalledPrepareModel(), kIsCachingSupported in TEST_P() 430 sp<CachingDriver> driver = new CachingDriver(kDeviceName, ErrorStatus::NONE, kNumModelCache, in TEST_P() local 432 compileModel(driver, /*withToken=*/true); in TEST_P() [all …]
|
/frameworks/native/libs/graphicsenv/ |
D | GraphicsEnv.cpp | 199 void GraphicsEnv::setDriverToLoad(GraphicsEnv::Driver driver) { in setDriverToLoad() argument 203 switch (driver) { in setDriverToLoad() 209 mGpuStats.glDriverToLoad = driver; in setDriverToLoad() 214 mGpuStats.glDriverFallback = driver; in setDriverToLoad() 222 mGpuStats.vkDriverToLoad = driver; in setDriverToLoad() 227 mGpuStats.vkDriverFallback = driver; in setDriverToLoad() 295 GraphicsEnv::Driver driver = GraphicsEnv::Driver::NONE; in sendGpuStatsLocked() local 298 driver = mGpuStats.glDriverToLoad; in sendGpuStatsLocked() 302 driver = mGpuStats.vkDriverToLoad; in sendGpuStatsLocked() 311 mGpuStats.appPackageName, mGpuStats.vulkanVersion, driver, in sendGpuStatsLocked()
|
D | IGpuService.cpp | 33 const int32_t vulkanVersion, GraphicsEnv::Driver driver, in setGpuStats() argument 44 data.writeInt32(static_cast<int32_t>(driver)); in setGpuStats() 138 int32_t driver; in onTransact() local 139 if ((status = data.readInt32(&driver)) != OK) return status; in onTransact() 148 appPackageName, vulkanVersion, static_cast<GraphicsEnv::Driver>(driver), in onTransact()
|
/frameworks/ml/nn/driver/sample/ |
D | SampleDriverAll.cpp | 27 sp<SampleDriverFull> driver( in main() local 29 return driver->run(); in main()
|
D | SampleDriverUtils.h | 47 hal::ErrorStatus prepareModelBase(const T_Model& model, const SampleDriver* driver, 77 std::thread([model, driver, preference, userId, priority, callback] { 79 new SamplePreparedModel(convertToV1_3(model), driver, preference, userId, priority);
|
D | SampleDriverMinimal.cpp | 97 sp<SampleDriverMinimal> driver(new SampleDriverMinimal()); in main() local 98 return driver->run(); in main()
|
D | SampleDriverFloatSlow.cpp | 86 sp<SampleDriverFloatSlow> driver(new SampleDriverFloatSlow()); in main() local 87 return driver->run(); in main()
|
D | SampleDriverFloatFast.cpp | 86 sp<SampleDriverFloatFast> driver(new SampleDriverFloatFast()); in main() local 87 return driver->run(); in main()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayer.cpp | 223 void NuPlayer::init(const wp<NuPlayerDriver> &driver) { in init() argument 224 mDriver = driver; in init() 567 sp<NuPlayerDriver> driver = mDriver.promote(); in onMessageReceived() local 568 if (driver != NULL) { in onMessageReceived() 569 driver->notifySetDataSourceCompleted(err); in onMessageReceived() 758 sp<NuPlayerDriver> driver = mDriver.promote(); in onMessageReceived() local 759 if (driver != NULL) { in onMessageReceived() 760 driver->notifyDuration(durationUs); in onMessageReceived() 1631 sp<NuPlayerDriver> driver = mDriver.promote(); in updatePlaybackTimer() local 1633 if (driver != NULL) { in updatePlaybackTimer() [all …]
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteCursor.java | 86 public SQLiteCursor(SQLiteDatabase db, SQLiteCursorDriver driver, in SQLiteCursor() argument 88 this(driver, editTable, query); in SQLiteCursor() 101 public SQLiteCursor(SQLiteCursorDriver driver, String editTable, SQLiteQuery query) { in SQLiteCursor() argument 110 mDriver = driver; in SQLiteCursor()
|
/frameworks/base/libs/hwui/debug/ |
D | GlesDriver.cpp | 33 std::unique_ptr<GlesDriver> GlesDriver::replace(std::unique_ptr<GlesDriver>&& driver) { in replace() argument 35 sGlesDriver = std::move(driver); in replace()
|
/frameworks/native/include/binder/ |
D | ProcessState.h | 48 static sp<ProcessState> initWithDriver(const char *driver); 99 explicit ProcessState(const char* driver);
|