Searched defs:dev (Results 1 - 25 of 28) sorted by relevance

12

/frameworks/rs/
H A DrsApiDevice.cpp32 extern "C" void rsDeviceDestroy(RsDevice dev) { argument
39 extern "C" void rsDeviceSetConfig(RsDevice dev, RsDeviceParam p, int32_t value) { argument
40 Device * d = static_cast<Device *>(dev);
H A DrsApiContext.cpp29 //ALOGV("rsContextCreate dev=%p", vdev);
30 Device * dev = static_cast<Device *>(vdev); local
31 Context *rsc = Context::createContext(dev, nullptr, ct, flags);
49 //ALOGV("rsContextCreateGL dev=%p", vdev);
50 Device * dev = static_cast<Device *>(vdev); local
51 Context *rsc = Context::createContext(dev, &sc);
H A DrsContext.cpp492 Context * Context::createContext(Device *dev, const RsSurfaceConfig *sc, argument
505 if (!rsc->initContext(dev, sc)) {
523 bool Context::initContext(Device *dev, const RsSurfaceConfig *sc) { argument
529 dev->addContext(this);
530 mDev = dev;
/frameworks/native/vulkan/libvulkan/
H A Dapi.h46 inline DeviceData& GetData(VkDevice dev) { argument
47 return driver::GetData(dev).opaque_api_data;
H A Ddriver.h179 inline bool SetData(VkDevice dev, const DeviceData& data) { argument
180 return SetDataInternal(dev, &data);
207 inline DeviceData& GetData(VkDevice dev) { argument
208 return *reinterpret_cast<DeviceData*>(GetDataInternal(dev));
H A Ddriver_gen.cpp340 bool InitDriverTable(VkDevice dev, argument
343 auto& data = GetData(dev);
347 INIT_PROC(dev, GetDeviceProcAddr);
348 INIT_PROC(dev, DestroyDevice);
349 INIT_PROC(dev, GetDeviceQueue);
350 INIT_PROC(dev, CreateImage);
351 INIT_PROC(dev, DestroyImage);
352 INIT_PROC(dev, AllocateCommandBuffers);
353 INIT_PROC_EXT(ANDROID_native_buffer, dev, GetSwapchainGrallocUsageANDROID);
354 INIT_PROC_EXT(ANDROID_native_buffer, dev, AcquireImageANDROI
[all...]
H A Dapi.cpp390 static void DestroyDevice(VkDevice dev,
850 VkDevice dev; local
851 result = create_device(physical_dev, create_info, allocator, &dev);
856 DeviceData& data = GetData(dev);
858 if (!InitDispatchTable(dev, get_device_proc_addr_, enabled_extensions_)) {
860 data.dispatch.DestroyDevice(dev, allocator);
867 *dev_out = dev;
H A Ddriver.cpp778 VkDevice dev; local
781 pAllocator, &dev);
788 if (!SetData(dev, *data) ||
789 !InitDriverTable(dev, instance_data.get_device_proc_addr,
792 instance_data.get_device_proc_addr(dev, "vkDestroyDevice"));
794 data->driver.DestroyDevice(dev, pAllocator);
800 data->driver_device = dev;
802 *pDevice = dev;
/frameworks/av/camera/ndk/impl/
H A DACameraCaptureSession.cpp26 sp<CameraDevice> dev = getDeviceSp(); local
27 if (dev != nullptr && !dev->isClosed()) {
28 dev->lockDeviceForSessionOps();
31 dev->notifySessionEndOfLifeLocked(this);
33 dev->unlockDevice();
51 sp<CameraDevice> dev = getDeviceSp(); local
52 if (dev != nullptr) {
53 dev->lockDeviceForSessionOps();
59 if (!mIsClosed && dev !
76 sp<CameraDevice> dev = getDeviceSp(); local
94 sp<CameraDevice> dev = getDeviceSp(); local
115 sp<CameraDevice> dev = getDeviceSp(); local
136 sp<CameraDevice> dev = getDeviceSp(); local
154 sp<CameraDevice> dev = getDeviceSp(); local
[all...]
H A DACameraDevice.cpp66 mCbLooper->setName("C2N-dev-looper");
786 ACameraDevice* dev; local
787 found = msg->findPointer(kDeviceKey, (void**) &dev);
788 if (!found || dev == nullptr) {
801 (*onDisconnected)(context, dev);
806 ACameraDevice* dev; local
807 found = msg->findPointer(kDeviceKey, (void**) &dev);
808 if (!found || dev == nullptr) {
827 (*onError)(context, dev, errorCode);
1136 sp<CameraDevice> dev local
1198 sp<CameraDevice> dev = mDevice.promote(); local
1240 sp<CameraDevice> dev = mDevice.promote(); local
1280 sp<CameraDevice> dev = mDevice.promote(); local
1353 sp<CameraDevice> dev = mDevice.promote(); local
[all...]
/frameworks/av/services/audioflinger/
H A DSpdifStreamOut.cpp35 SpdifStreamOut::SpdifStreamOut(AudioHwDevice *dev, argument
39 : AudioStreamOut(dev, (audio_output_flags_t) (flags | AUDIO_OUTPUT_FLAG_IEC958_NONAUDIO))
H A DAudioStreamOut.cpp30 AudioStreamOut::AudioStreamOut(AudioHwDevice *dev, audio_output_flags_t flags) argument
31 : audioHwDev(dev)
H A DAudioFlinger.h615 AudioStreamIn(AudioHwDevice *dev, audio_stream_in_t *in) : argument
616 audioHwDev(dev), stream(in) {}
H A DAudioFlinger.cpp141 static int load_audio_interface(const char *if_name, audio_hw_device_t **dev) argument
152 rc = audio_hw_device_open(mod, dev);
158 if ((*dev)->common.version < AUDIO_DEVICE_API_VERSION_MIN) {
159 ALOGE("%s wrong audio hw device version %04x", __func__, (*dev)->common.version);
166 *dev = NULL;
302 audio_hw_device_t *dev = audioHwDevice->hwDevice(); local
303 if ((dev->get_supported_devices != NULL) &&
304 (dev->get_supported_devices(dev) & devices) == devices)
447 audio_hw_device_t *dev local
806 AudioHwDevice *dev = mAudioHwDevs.valueAt(i); local
847 audio_hw_device_t *dev = mPrimaryHardwareDev->hwDevice(); local
878 audio_hw_device_t *dev = mAudioHwDevs.valueAt(i)->hwDevice(); local
899 audio_hw_device_t *dev = mAudioHwDevs.valueAt(i)->hwDevice(); local
928 AudioHwDevice *dev = mAudioHwDevs.valueAt(i); local
1109 audio_hw_device_t *dev = mAudioHwDevs.valueAt(i)->hwDevice(); local
1190 audio_hw_device_t *dev = mAudioHwDevs.valueAt(i)->hwDevice(); local
1232 audio_hw_device_t *dev = mPrimaryHardwareDev->hwDevice(); local
1286 audio_hw_device_t *dev = mPrimaryHardwareDev->hwDevice(); local
1622 audio_hw_device_t *dev; local
1736 audio_hw_device_t *dev = mPrimaryHardwareDev->hwDevice(); local
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_ConsumerIrService.cpp34 consumerir_device_t *dev; local
44 (hw_device_t **) &dev);
50 return reinterpret_cast<jlong>(dev);
57 consumerir_device_t *dev = reinterpret_cast<consumerir_device_t*>(halObject); local
64 ret = dev->transmit(dev, carrierFrequency, cPattern.get(), patternLength);
71 consumerir_device_t *dev = reinterpret_cast<consumerir_device_t*>(halObject); local
75 len = dev->get_num_carrier_freqs(dev);
81 len = dev
[all...]
H A Dcom_android_server_tv_TvInputHal.cpp276 JTvInputHal(JNIEnv* env, jobject thiz, tv_input_device_t* dev, const sp<Looper>& looper);
279 tv_input_device_t* dev, tv_input_event_t* event, void* data);
446 tv_input_device_t* dev, tv_input_event_t* event, void* data) {
445 notify( tv_input_device_t* dev, tv_input_event_t* event, void* data) argument
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
H A DWifiP2pUpnpServiceResponse.java77 * @param dev source device
81 int transId, WifiP2pDevice dev, byte[] data) {
83 status, transId, dev, data);
80 WifiP2pUpnpServiceResponse(int status, int transId, WifiP2pDevice dev, byte[] data) argument
H A DWifiP2pDnsSdServiceResponse.java148 * @param dev source device.
153 int tranId, WifiP2pDevice dev, byte[] data) {
155 status, tranId, dev, data);
290 * @param dev source device.
296 int transId, WifiP2pDevice dev, byte[] data) {
299 transId, dev, null);
303 transId, dev, data);
152 WifiP2pDnsSdServiceResponse(int status, int tranId, WifiP2pDevice dev, byte[] data) argument
295 newInstance(int status, int transId, WifiP2pDevice dev, byte[] data) argument
H A DWifiP2pServiceResponse.java180 public void setSrcDevice(WifiP2pDevice dev) { argument
181 if (dev == null) return;
182 this.mDevice = dev;
204 WifiP2pDevice dev = new WifiP2pDevice();
206 dev.deviceAddress = srcAddr;
236 transId, dev, null));
250 transId, dev, data);
253 transId, dev, data);
255 resp = new WifiP2pServiceResponse(type, status, transId, dev, data);
368 WifiP2pDevice dev
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DConfigParsingUtils.cpp303 sp<DeviceDescriptor> dev = new DeviceDescriptor(singleType); local
304 devices.add(dev);
/frameworks/av/services/radio/
H A DRadioService.cpp56 struct radio_hw_device *dev; local
66 rc = radio_hw_device_open(mod, &dev);
72 if (dev->common.version != RADIO_DEVICE_API_VERSION_CURRENT) {
73 ALOGE("wrong radio hw device version %04x", dev->common.version);
78 rc = dev->get_properties(dev, &halProperties);
91 sp<Module> module = new Module(dev, properties);
/frameworks/av/services/soundtrigger/
H A DSoundTriggerHwService.cpp59 sound_trigger_hw_device *dev; local
67 rc = sound_trigger_hw_device_open(mod, &dev);
73 if (dev->common.version < SOUND_TRIGGER_DEVICE_API_VERSION_1_0 ||
74 dev->common.version > SOUND_TRIGGER_DEVICE_API_VERSION_CURRENT) {
75 ALOGE("wrong sound trigger hw device version %04x", dev->common.version);
80 rc = dev->get_properties(dev, &descriptor.properties);
91 sp<Module> module = new Module(this, dev, descriptor, client);
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
H A DMLand.java257 public static boolean isGamePad(InputDevice dev) { argument
258 int sources = dev.getSources();
269 InputDevice dev = InputDevice.getDevice(deviceId);
270 if (isGamePad(dev)) {
376 InputDevice dev = InputDevice.getDevice(controllerId);
377 if (dev != null && dev.getVibrator().hasVibrator()) {
378 dev.getVibrator().vibrate(
/frameworks/support/v8/renderscript/jni/
H A Dandroid_renderscript_RenderScript.cpp776 nDeviceDestroy(JNIEnv *_env, jobject _this, jlong dev) argument
779 return dispatchTab.DeviceDestroy((RsDevice)dev);
783 nDeviceSetConfig(JNIEnv *_env, jobject _this, jlong dev, jint p, jint value) argument
785 LOG_API("nDeviceSetConfig dev(%p), param(%i), value(%i)", (void *)dev, p, value);
786 return dispatchTab.DeviceSetConfig((RsDevice)dev, (RsDeviceParam)p, value);
790 nContextCreate(JNIEnv *_env, jobject _this, jlong dev, jint ver, jint sdkVer, argument
798 jlong id = (jlong)(uintptr_t)dispatchTab.ContextCreate((RsDevice)dev, ver,
2134 nIncDeviceDestroy(JNIEnv *_env, jobject _this, jlong dev) argument
2137 return dispatchTabInc.DeviceDestroy((RsDevice)dev);
2141 nIncContextCreate(JNIEnv *_env, jobject _this, jlong dev, jint ver, jint sdkVer, jint ct) argument
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DRenderScript.java135 native void nDeviceDestroy(long dev); argument
136 native void nDeviceSetConfig(long dev, int param, int value); argument
208 native long rsnContextCreateGL(long dev, int ver, int sdkVer, argument
214 synchronized long nContextCreateGL(long dev, int ver, int sdkVer, argument
220 return rsnContextCreateGL(dev, ver, sdkVer, colorMin, colorPref,
225 native long rsnContextCreate(long dev, int ver, int sdkVer, int contextType); argument
226 synchronized long nContextCreate(long dev, int ver, int sdkVer, int contextType) { argument
227 return rsnContextCreate(dev, ver, sdkVer, contextType);

Completed in 659 milliseconds

12