/hardware/interfaces/neuralnetworks/1.1/utils/src/ |
D | Device.cpp | 67 nn::GeneralResult<std::shared_ptr<const Device>> Device::create(std::string name, in create() 81 return std::make_shared<const Device>(PrivateConstructorTag{}, std::move(name), in create() 86 Device::Device(PrivateConstructorTag /*tag*/, std::string name, nn::Capabilities capabilities, in Device() function in android::hardware::neuralnetworks::V1_1::utils::Device 93 const std::string& Device::getName() const { in getName() 97 const std::string& Device::getVersionString() const { in getVersionString() 101 nn::Version Device::getFeatureLevel() const { in getFeatureLevel() 105 nn::DeviceType Device::getType() const { in getType() 109 const std::vector<nn::Extension>& Device::getSupportedExtensions() const { in getSupportedExtensions() 113 const nn::Capabilities& Device::getCapabilities() const { in getCapabilities() 117 std::pair<uint32_t, uint32_t> Device::getNumberOfCacheFilesNeeded() const { in getNumberOfCacheFilesNeeded() [all …]
|
/hardware/interfaces/neuralnetworks/1.0/utils/src/ |
D | Device.cpp | 67 nn::GeneralResult<std::shared_ptr<const Device>> Device::create(std::string name, in create() 81 return std::make_shared<const Device>(PrivateConstructorTag{}, std::move(name), in create() 86 Device::Device(PrivateConstructorTag /*tag*/, std::string name, nn::Capabilities capabilities, in Device() function in android::hardware::neuralnetworks::V1_0::utils::Device 93 const std::string& Device::getName() const { in getName() 97 const std::string& Device::getVersionString() const { in getVersionString() 101 nn::Version Device::getFeatureLevel() const { in getFeatureLevel() 105 nn::DeviceType Device::getType() const { in getType() 109 const std::vector<nn::Extension>& Device::getSupportedExtensions() const { in getSupportedExtensions() 113 const nn::Capabilities& Device::getCapabilities() const { in getCapabilities() 117 std::pair<uint32_t, uint32_t> Device::getNumberOfCacheFilesNeeded() const { in getNumberOfCacheFilesNeeded() [all …]
|
/hardware/interfaces/audio/core/all-versions/default/ |
D | Device.cpp | 50 Device::Device(audio_hw_device_t* device) : mIsClosed(false), mDevice(device) {} in Device() function in android::hardware::audio::CPP_VERSION::implementation::Device 52 Device::~Device() { in ~Device() 57 Result Device::analyzeStatus(const char* funcName, int status, in analyzeStatus() 62 void Device::closeInputStream(audio_stream_in_t* stream) { in closeInputStream() 68 void Device::closeOutputStream(audio_stream_out_t* stream) { in closeOutputStream() 74 char* Device::halGetParameters(const char* keys) { in halGetParameters() 78 int Device::halSetParameters(const char* keysAndValues) { in halSetParameters() 83 Return<Result> Device::initCheck() { in initCheck() 87 Return<Result> Device::setMasterVolume(float volume) { in setMasterVolume() 99 Return<void> Device::getMasterVolume(getMasterVolume_cb _hidl_cb) { in getMasterVolume() [all …]
|
D | DevicesFactory.cpp | 36 Return<void> DevicesFactory::openDevice(IDevicesFactory::Device device, openDevice_cb _hidl_cb) { in openDevice() 38 case IDevicesFactory::Device::PRIMARY: in openDevice() 40 case IDevicesFactory::Device::A2DP: in openDevice() 42 case IDevicesFactory::Device::USB: in openDevice() 44 case IDevicesFactory::Device::R_SUBMIX: in openDevice() 46 case IDevicesFactory::Device::STUB: in openDevice() 54 return openDevice<implementation::Device>(moduleName, _hidl_cb); in openDevice() 61 return openDevice<implementation::Device>(moduleName.c_str(), _hidl_cb); 92 return openDevice<implementation::Device>(moduleName.c_str(), _hidl_cb); in openDevice_7_1()
|
/hardware/google/gfxstream/common/vulkan/include/vulkan/ |
D | vulkan_shared.hpp | 433 class SharedHandleTraits<Device> 437 using deleter = ObjectDestroyShared<Device>; 439 using SharedDevice = SharedHandle<Device>; 444 using DestructorType = Device; 452 using DestructorType = Device; 460 using DestructorType = Device; 468 using DestructorType = Device; 476 using DestructorType = Device; 484 using DestructorType = Device; 492 using DestructorType = Device; [all …]
|
D | vulkansc_funcs.hpp | 336 …VULKAN_HPP_INLINE PFN_vkVoidFunction Device::getProcAddr( const char * pName, Dispatch const & d … in getProcAddr() 344 …VULKAN_HPP_INLINE PFN_vkVoidFunction Device::getProcAddr( const std::string & name, Dispatch const… in getProcAddr() 359 …N_HPP_NAMESPACE::AllocationCallbacks * pAllocator, VULKAN_HPP_NAMESPACE::Device * pDevice, Dispatc… in createDevice() 367 …VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<VULKAN_HPP_NAMESPACE::Device>::typ… in createDevice() 372 VULKAN_HPP_NAMESPACE::Device device; in createDevice() 381 …N_HPP_INLINE typename ResultValueType<UniqueHandle<VULKAN_HPP_NAMESPACE::Device, Dispatch>>::type … in createDeviceUnique() 386 VULKAN_HPP_NAMESPACE::Device device; in createDeviceUnique() 390 …KAN_HPP_NAMESPACE::Result>( result ), UniqueHandle<VULKAN_HPP_NAMESPACE::Device, Dispatch>( device… in createDeviceUnique() 397 …VULKAN_HPP_INLINE void Device::destroy( const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocat… in destroy() 405 …VULKAN_HPP_INLINE void Device::destroy( Optional<const VULKAN_HPP_NAMESPACE::AllocationCallbacks> … in destroy() [all …]
|
D | vulkansc_shared.hpp | 433 class SharedHandleTraits<Device> 437 using deleter = ObjectDestroyShared<Device>; 439 using SharedDevice = SharedHandle<Device>; 444 using DestructorType = Device; 452 using DestructorType = Device; 460 using DestructorType = Device; 468 using DestructorType = Device; 476 using DestructorType = Device; 484 using DestructorType = Device; 492 using DestructorType = Device; [all …]
|
D | vulkansc_raii.hpp | 998 class Device; 1355 …VULKAN_HPP_NODISCARD VULKAN_HPP_RAII_NAMESPACE::Device createDevice( VULKAN_HPP_NAMESPACE::DeviceC… 1570 class Device class 1574 using CppType = vk::Device; 1581 …Device( VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::PhysicalDevice const & physicalDevice, VU… in Device() function in VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::Device 1592 …Device( VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::PhysicalDevice const & physicalDevice, Vk… in Device() function in VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::Device 1597 Device( std::nullptr_t ) {} in Device() function in VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::Device 1599 ~Device() in ~Device() 1604 Device() = delete; 1605 Device( Device const & ) = delete; [all …]
|
/hardware/interfaces/neuralnetworks/1.3/utils/src/ |
D | Device.cpp | 98 nn::GeneralResult<std::shared_ptr<const Device>> Device::create(std::string name, in create() 117 return std::make_shared<const Device>( in create() 123 Device::Device(PrivateConstructorTag /*tag*/, std::string name, std::string versionString, in Device() function in android::hardware::neuralnetworks::V1_3::utils::Device 137 const std::string& Device::getName() const { in getName() 141 const std::string& Device::getVersionString() const { in getVersionString() 145 nn::Version Device::getFeatureLevel() const { in getFeatureLevel() 149 nn::DeviceType Device::getType() const { in getType() 153 const std::vector<nn::Extension>& Device::getSupportedExtensions() const { in getSupportedExtensions() 157 const nn::Capabilities& Device::getCapabilities() const { in getCapabilities() 161 std::pair<uint32_t, uint32_t> Device::getNumberOfCacheFilesNeeded() const { in getNumberOfCacheFilesNeeded() [all …]
|
/hardware/google/graphics/common/libhwjpeg/ |
D | LibScalerForJpeg.cpp | 84 LibScalerForJpeg::Device::Device() { in Device() function in LibScalerForJpeg::Device 89 LibScalerForJpeg::Device::~Device() { in ~Device() 93 bool LibScalerForJpeg::Device::requestBuffers(unsigned int buftype, unsigned int memtype, in requestBuffers() 113 bool LibScalerForJpeg::Device::setFormat(unsigned int buftype, unsigned int format, in setFormat() 136 bool LibScalerForJpeg::Device::streamOn(unsigned int buftype) { in streamOn() 145 bool LibScalerForJpeg::Device::streamOff(unsigned int buftype) { in streamOff() 154 bool LibScalerForJpeg::Device::queueBuffer(unsigned int buftype, in queueBuffer() 169 bool LibScalerForJpeg::Device::queueBuffer(unsigned int buftype, int buf[SCALER_MAX_PLANES], in queueBuffer() 187 bool LibScalerForJpeg::Device::queueBuffer(unsigned int buftype, char *buf[SCALER_MAX_PLANES], in queueBuffer() 205 bool LibScalerForJpeg::Device::queueBuffer(unsigned int buftype, int buf, in queueBuffer() [all …]
|
D | LibScalerForJpeg.h | 46 struct Device { struct 49 Device(); argument 50 ~Device(); 66 Device &mDevice; 74 Image(Device &dev, unsigned int w, unsigned int h, unsigned int f, unsigned int buftype) in Image() 110 Device mDevice;
|
/hardware/interfaces/renderscript/1.0/default/ |
D | Context.cpp | 44 mContext = Device::getHal().ContextCreateVendor(_dev, _version, _sdkVersion, in Context() 85 RsAllocation _subAlloc = Device::getHal().AllocationAdapterCreate(mContext, _type, _baseAlloc); in allocationAdapterCreate() 92 …Device::getHal().AllocationAdapterOffset(mContext, _alloc, _offsets.data(), _offsets.size() * size… in allocationAdapterOffset() 98 const void* _type = Device::getHal().AllocationGetType(mContext, _allocation); in allocationGetType() 107 …RsAllocation _allocation = Device::getHal().AllocationCreateTyped(mContext, _type, _amips, _usage,… in allocationCreateTyped() 116 …RsAllocation _allocation = Device::getHal().AllocationCreateFromBitmap(mContext, _type, _amips, _b… in allocationCreateFromBitmap() 125 …RsAllocation _allocation = Device::getHal().AllocationCubeCreateFromBitmap(mContext, _type, _amips… in allocationCubeCreateFromBitmap() 131 RsNativeWindow _nativeWindow = Device::getHal().AllocationGetSurface(mContext, _allocation); in allocationGetNativeWindow() 138 Device::getHal().AllocationSetSurface(mContext, _allocation, _nativewindow); in allocationSetNativeWindow() 145 Device::getHal().AllocationSetupBufferQueue(mContext, _alloc, _numBuffer); in allocationSetupBufferQueue() [all …]
|
D | Device.cpp | 32 dispatchTable Device::mDispatchHal = loadHAL(); 34 Device::Device() { in Device() function in android::hardware::renderscript::V1_0::implementation::Device 37 dispatchTable& Device::getHal() { in getHal() 44 Return<sp<IContext>> Device::contextCreate(uint32_t sdkVersion, ContextType ct, int32_t flags) { in contextCreate() 52 return new Device(); in HIDL_FETCH_IDevice()
|
/hardware/interfaces/neuralnetworks/1.2/utils/src/ |
D | Device.cpp | 148 nn::GeneralResult<std::shared_ptr<const Device>> Device::create(std::string name, in create() 166 return std::make_shared<const Device>( in create() 172 Device::Device(PrivateConstructorTag /*tag*/, std::string name, std::string versionString, in Device() function in android::hardware::neuralnetworks::V1_2::utils::Device 186 const std::string& Device::getName() const { in getName() 190 const std::string& Device::getVersionString() const { in getVersionString() 194 nn::Version Device::getFeatureLevel() const { in getFeatureLevel() 198 nn::DeviceType Device::getType() const { in getType() 202 const std::vector<nn::Extension>& Device::getSupportedExtensions() const { in getSupportedExtensions() 206 const nn::Capabilities& Device::getCapabilities() const { in getCapabilities() 210 std::pair<uint32_t, uint32_t> Device::getNumberOfCacheFilesNeeded() const { in getNumberOfCacheFilesNeeded() [all …]
|
/hardware/interfaces/neuralnetworks/1.0/utils/test/ |
D | DeviceTest.cpp | 107 const auto result = Device::create(kInvalidName, device); in TEST() 116 const auto result = Device::create(kName, kInvalidDevice); in TEST() 134 const auto result = Device::create(kName, mockDevice); in TEST() 149 const auto result = Device::create(kName, mockDevice); in TEST() 164 const auto result = Device::create(kName, mockDevice); in TEST() 178 const auto result = Device::create(kName, mockDevice); in TEST() 193 const auto result = Device::create(kName, mockDevice); in TEST() 208 const auto result = Device::create(kName, mockDevice); in TEST() 218 const auto device = Device::create(kName, mockDevice).value(); in TEST() 230 const auto device = Device::create(kName, mockDevice).value(); in TEST() [all …]
|
/hardware/interfaces/neuralnetworks/1.1/utils/test/ |
D | DeviceTest.cpp | 115 const auto result = Device::create(kInvalidName, device); in TEST() 124 const auto result = Device::create(kName, kInvalidDevice); in TEST() 144 const auto result = Device::create(kName, mockDevice); in TEST() 159 const auto result = Device::create(kName, mockDevice); in TEST() 174 const auto result = Device::create(kName, mockDevice); in TEST() 188 const auto result = Device::create(kName, mockDevice); in TEST() 203 const auto result = Device::create(kName, mockDevice); in TEST() 218 const auto result = Device::create(kName, mockDevice); in TEST() 228 const auto device = Device::create(kName, mockDevice).value(); in TEST() 240 const auto device = Device::create(kName, mockDevice).value(); in TEST() [all …]
|
/hardware/interfaces/neuralnetworks/1.3/utils/test/ |
D | DeviceTest.cpp | 167 const auto result = Device::create(kInvalidName, device); in TEST() 176 const auto result = Device::create(kName, kInvalidDevice); in TEST() 190 const auto result = Device::create(kName, mockDevice); in TEST() 205 const auto result = Device::create(kName, mockDevice); in TEST() 220 const auto result = Device::create(kName, mockDevice); in TEST() 235 const auto result = Device::create(kName, mockDevice); in TEST() 250 const auto result = Device::create(kName, mockDevice); in TEST() 265 const auto result = Device::create(kName, mockDevice); in TEST() 280 const auto result = Device::create(kName, mockDevice); in TEST() 295 const auto result = Device::create(kName, mockDevice); in TEST() [all …]
|
/hardware/interfaces/neuralnetworks/1.2/utils/test/ |
D | DeviceTest.cpp | 147 const auto result = Device::create(kInvalidName, device); in TEST() 156 const auto result = Device::create(kName, kInvalidDevice); in TEST() 170 const auto result = Device::create(kName, mockDevice); in TEST() 185 const auto result = Device::create(kName, mockDevice); in TEST() 200 const auto result = Device::create(kName, mockDevice); in TEST() 215 const auto result = Device::create(kName, mockDevice); in TEST() 230 const auto result = Device::create(kName, mockDevice); in TEST() 245 const auto result = Device::create(kName, mockDevice); in TEST() 260 const auto result = Device::create(kName, mockDevice); in TEST() 275 const auto result = Device::create(kName, mockDevice); in TEST() [all …]
|
/hardware/interfaces/neuralnetworks/aidl/utils/test/ |
D | DeviceTest.cpp | 168 const auto result = Device::create(kInvalidName, device, kVersion); in TEST_P() 177 const auto result = Device::create(kName, kInvalidDevice, kVersion); in TEST_P() 192 const auto result = Device::create(kName, mockDevice, kVersion); in TEST_P() 207 const auto result = Device::create(kName, mockDevice, kVersion); in TEST_P() 222 const auto result = Device::create(kName, mockDevice, kVersion); in TEST_P() 235 const auto result = Device::create(kName, mockDevice, kVersion); in TEST_P() 250 const auto result = Device::create(kName, mockDevice, kVersion); in TEST_P() 265 const auto result = Device::create(kName, mockDevice, kVersion); in TEST_P() 280 const auto result = Device::create(kName, mockDevice, kVersion); in TEST_P() 295 const auto result = Device::create(kName, mockDevice, kVersion); in TEST_P() [all …]
|
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | Device.cpp | 127 nn::GeneralResult<std::shared_ptr<const Device>> Device::create( in create() 145 return std::make_shared<const Device>( in create() 151 Device::Device(PrivateConstructorTag /*tag*/, std::string name, std::string versionString, in Device() function in aidl::android::hardware::neuralnetworks::utils::Device 166 const std::string& Device::getName() const { in getName() 170 const std::string& Device::getVersionString() const { in getVersionString() 174 nn::Version Device::getFeatureLevel() const { in getFeatureLevel() 178 nn::DeviceType Device::getType() const { in getType() 182 const std::vector<nn::Extension>& Device::getSupportedExtensions() const { in getSupportedExtensions() 186 const nn::Capabilities& Device::getCapabilities() const { in getCapabilities() 190 std::pair<uint32_t, uint32_t> Device::getNumberOfCacheFilesNeeded() const { in getNumberOfCacheFilesNeeded() [all …]
|
/hardware/google/pixel/recovery/ |
D | recovery_watch_ui.cpp | 66 class PixelWatchDevice : public ::Device { 68 explicit PixelWatchDevice(::WearRecoveryUI* const ui) : ::Device(ui) {} in PixelWatchDevice() 97 Device *make_device() { in make_device()
|
D | recovery_ui.cpp | 118 class PixelDevice : public ::Device { 120 explicit PixelDevice(::ScreenRecoveryUI* const ui) : ::Device(ui) {} in PixelDevice() 168 Device *make_device() { in make_device()
|
/hardware/google/graphics/common/libion/test/ |
D | ion_device_test.cpp | 33 class Device : public IonClientDeviceTest { class 36 TEST_F(Device, KernelRead) in TEST_F() argument 73 TEST_F(Device, KernelWrite) in TEST_F() argument 111 TEST_F(Device, KernelReadCached) in TEST_F() argument 148 TEST_F(Device, KernelWriteCached) in TEST_F() argument 186 TEST_F(Device, DeviceRead) in TEST_F() argument 223 TEST_F(Device, DeviceWrite) in TEST_F() argument 261 TEST_F(Device, DeviceReadCached) in TEST_F() argument 298 TEST_F(Device, DeviceWriteCached) in TEST_F() argument
|
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/src/ |
D | Device.cpp | 317 Device::Device(nn::SharedDevice device, Executor executor) in Device() function in android::hardware::neuralnetworks::adapter::Device 323 Return<void> Device::getCapabilities(getCapabilities_cb cb) { in getCapabilities() 329 Return<void> Device::getCapabilities_1_1(getCapabilities_1_1_cb cb) { in getCapabilities_1_1() 335 Return<void> Device::getCapabilities_1_2(getCapabilities_1_2_cb cb) { in getCapabilities_1_2() 341 Return<void> Device::getCapabilities_1_3(getCapabilities_1_3_cb cb) { in getCapabilities_1_3() 347 Return<void> Device::getVersionString(getVersionString_cb cb) { in getVersionString() 352 Return<void> Device::getType(getType_cb cb) { in getType() 364 Return<void> Device::getSupportedExtensions(getSupportedExtensions_cb cb) { in getSupportedExtensions() 377 Return<void> Device::getSupportedOperations(const V1_0::Model& model, in getSupportedOperations() 391 Return<void> Device::getSupportedOperations_1_1(const V1_1::Model& model, in getSupportedOperations_1_1() [all …]
|
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/src/ |
D | Device.cpp | 223 Device::Device(::android::nn::SharedDevice device, Executor executor) in Device() function in aidl::android::hardware::neuralnetworks::adapter::Device 229 ndk::ScopedAStatus Device::allocate(const BufferDesc& desc, in allocate() 245 ndk::ScopedAStatus Device::getCapabilities(Capabilities* capabilities) { in getCapabilities() 250 ndk::ScopedAStatus Device::getNumberOfCacheFilesNeeded(NumberOfCacheFiles* numberOfCacheFiles) { in getNumberOfCacheFilesNeeded() 257 ndk::ScopedAStatus Device::getSupportedExtensions(std::vector<Extension>* extensions) { in getSupportedExtensions() 262 ndk::ScopedAStatus Device::getSupportedOperations(const Model& model, in getSupportedOperations() 275 ndk::ScopedAStatus Device::getType(DeviceType* deviceType) { in getType() 280 ndk::ScopedAStatus Device::getVersionString(std::string* version) { in getVersionString() 285 ndk::ScopedAStatus Device::prepareModel(const Model& model, ExecutionPreference preference, in prepareModel() 304 ndk::ScopedAStatus Device::prepareModelFromCache( in prepareModelFromCache() [all …]
|