Home
last modified time | relevance | path

Searched refs:Device (Results 1 – 25 of 114) sorted by relevance

12345

/hardware/interfaces/neuralnetworks/1.0/utils/src/
DDevice.cpp67 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/
DDevice.cpp46 Device::Device(audio_hw_device_t* device) : mIsClosed(false), mDevice(device) {} in Device() function in android::hardware::audio::CPP_VERSION::implementation::Device
48 Device::~Device() { in ~Device()
53 Result Device::analyzeStatus(const char* funcName, int status, in analyzeStatus()
58 void Device::closeInputStream(audio_stream_in_t* stream) { in closeInputStream()
64 void Device::closeOutputStream(audio_stream_out_t* stream) { in closeOutputStream()
70 char* Device::halGetParameters(const char* keys) { in halGetParameters()
74 int Device::halSetParameters(const char* keysAndValues) { in halSetParameters()
79 Return<Result> Device::initCheck() { in initCheck()
83 Return<Result> Device::setMasterVolume(float volume) { in setMasterVolume()
95 Return<void> Device::getMasterVolume(getMasterVolume_cb _hidl_cb) { in getMasterVolume()
[all …]
DDevicesFactory.cpp34 Return<void> DevicesFactory::openDevice(IDevicesFactory::Device device, openDevice_cb _hidl_cb) { in openDevice()
36 case IDevicesFactory::Device::PRIMARY: in openDevice()
38 case IDevicesFactory::Device::A2DP: in openDevice()
40 case IDevicesFactory::Device::USB: in openDevice()
42 case IDevicesFactory::Device::R_SUBMIX: in openDevice()
44 case IDevicesFactory::Device::STUB: in openDevice()
63 return openDevice<implementation::Device>(moduleName, _hidl_cb); in openDevice()
/hardware/interfaces/neuralnetworks/1.1/utils/src/
DDevice.cpp67 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.3/utils/src/
DDevice.cpp98 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/
DLibScalerForJpeg.cpp97 LibScalerForJpeg::Device::Device() in Device() function in LibScalerForJpeg::Device
104 LibScalerForJpeg::Device::~Device() in ~Device()
110 bool LibScalerForJpeg::Device::requestBuffers(unsigned int buftype, unsigned int memtype, unsigned … in requestBuffers()
130 bool LibScalerForJpeg::Device::setFormat(unsigned int buftype, unsigned int format, unsigned int wi… in setFormat()
151 bool LibScalerForJpeg::Device::streamOn(unsigned int buftype) in streamOn()
161 bool LibScalerForJpeg::Device::streamOff(unsigned int buftype) in streamOff()
171 bool LibScalerForJpeg::Device::queueBuffer(unsigned int buftype, std::function<void(v4l2_buffer &)>… in queueBuffer()
186 bool LibScalerForJpeg::Device::queueBuffer(unsigned int buftype, int buf[SCALER_MAX_PLANES], unsign… in queueBuffer()
202 bool LibScalerForJpeg::Device::queueBuffer(unsigned int buftype, char *buf[SCALER_MAX_PLANES], unsi… in queueBuffer()
218 bool LibScalerForJpeg::Device::queueBuffer(unsigned int buftype, int buf, unsigned int len[SCALER_M… in queueBuffer()
[all …]
DLibScalerForJpeg.h43 struct Device { struct
46 Device(); argument
47 ~Device();
60 Device &mDevice;
68 Image(Device &dev, unsigned int w, unsigned int h, unsigned int f, unsigned int buftype) in Image()
102 Device mDevice;
/hardware/interfaces/renderscript/1.0/default/
DContext.cpp44 mContext = Device::getHal().ContextCreateVendor(_dev, _version, _sdkVersion, in Context()
85 RsAllocation _subAlloc = Device::getHal().AllocationAdapterCreate(mContext, _type, _baseAlloc); in allocationAdapterCreate()
92Device::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 …]
DDevice.cpp32 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()
DDevice.h39 struct Device : public IDevice { struct
40 Device();
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DDevice.cpp148 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/aidl/utils/test/
DDeviceTest.cpp154 const auto result = Device::create(kInvalidName, device); in TEST()
163 const auto result = Device::create(kName, kInvalidDevice); 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()
221 const auto result = Device::create(kName, mockDevice); in TEST()
236 const auto result = Device::create(kName, mockDevice); in TEST()
251 const auto result = Device::create(kName, mockDevice); in TEST()
266 const auto result = Device::create(kName, mockDevice); in TEST()
281 const auto result = Device::create(kName, mockDevice); in TEST()
[all …]
/hardware/interfaces/neuralnetworks/1.1/utils/test/
DDeviceTest.cpp115 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.0/utils/test/
DDeviceTest.cpp107 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.3/utils/test/
DDeviceTest.cpp167 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/
DDeviceTest.cpp147 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/src/
DDevice.cpp127 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
165 const std::string& Device::getName() const { in getName()
169 const std::string& Device::getVersionString() const { in getVersionString()
173 nn::Version Device::getFeatureLevel() const { in getFeatureLevel()
177 nn::DeviceType Device::getType() const { in getType()
181 const std::vector<nn::Extension>& Device::getSupportedExtensions() const { in getSupportedExtensions()
185 const nn::Capabilities& Device::getCapabilities() const { in getCapabilities()
189 std::pair<uint32_t, uint32_t> Device::getNumberOfCacheFilesNeeded() const { in getNumberOfCacheFilesNeeded()
[all …]
/hardware/google/graphics/common/libion/test/
Dion_device_test.cpp33 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/src/
DDevice.cpp327 Device::Device(nn::SharedDevice device, Executor executor) in Device() function in android::hardware::neuralnetworks::adapter::Device
333 Return<void> Device::getCapabilities(getCapabilities_cb cb) { in getCapabilities()
339 Return<void> Device::getCapabilities_1_1(getCapabilities_1_1_cb cb) { in getCapabilities_1_1()
345 Return<void> Device::getCapabilities_1_2(getCapabilities_1_2_cb cb) { in getCapabilities_1_2()
351 Return<void> Device::getCapabilities_1_3(getCapabilities_1_3_cb cb) { in getCapabilities_1_3()
357 Return<void> Device::getVersionString(getVersionString_cb cb) { in getVersionString()
362 Return<void> Device::getType(getType_cb cb) { in getType()
374 Return<void> Device::getSupportedExtensions(getSupportedExtensions_cb cb) { in getSupportedExtensions()
387 Return<void> Device::getSupportedOperations(const V1_0::Model& model, in getSupportedOperations()
401 Return<void> Device::getSupportedOperations_1_1(const V1_1::Model& model, in getSupportedOperations_1_1()
[all …]
/hardware/google/pixel/recovery/
Drecovery_ui.cpp107 class PixelDevice : public ::Device {
109 explicit PixelDevice(::ScreenRecoveryUI* const ui) : ::Device(ui) {} in PixelDevice()
153 Device *make_device() { in make_device()
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/
DDevice.h41 class Device final : public nn::IDevice {
45 static nn::GeneralResult<std::shared_ptr<const Device>> create(std::string name,
48 Device(PrivateConstructorTag tag, std::string name, nn::Capabilities capabilities,
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DDevice.h41 class Device final : public nn::IDevice {
45 static nn::GeneralResult<std::shared_ptr<const Device>> create(std::string name,
48 Device(PrivateConstructorTag tag, std::string name, nn::Capabilities capabilities,
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DDevice.h41 class Device final : public nn::IDevice {
45 static nn::GeneralResult<std::shared_ptr<const Device>> create(std::string name,
48 Device(PrivateConstructorTag tag, std::string name, std::string versionString,
/hardware/interfaces/camera/common/1.0/
Dtypes.hal301 * Ex. 1: Camera Device 0 = Back Camera
302 * Camera Device 1 = Front Camera
308 * Camera Device 0 - resourceCost = 51
310 * Camera Device 1 - resourceCost = 51
327 * Ex. 2: Camera Device 0 = Left Back Camera
328 * Camera Device 1 = Right Back Camera
329 * Camera Device 2 = Combined stereo camera using both right and left
331 * Camera Device 3 = Front Camera
340 * Camera Device 0 - resourceCost = 50
342 * Camera Device 1 - resourceCost = 50
[all …]
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DDevice.h41 class Device final : public nn::IDevice {
45 static nn::GeneralResult<std::shared_ptr<const Device>> create(
48 Device(PrivateConstructorTag tag, std::string name, std::string versionString,

12345