Searched defs:dev (Results 1 - 25 of 28) sorted by last modified time

12

/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DRenderScript.java107 native void nDeviceDestroy(long dev); argument
108 native void nDeviceSetConfig(long dev, int param, int value); argument
288 native long rsnContextCreate(long dev, int ver, int sdkVer, int contextType, String nativeLibDir); argument
289 synchronized long nContextCreate(long dev, int ver, int sdkVer, int contextType, String nativeLibDir) { argument
290 return rsnContextCreate(dev, ver, sdkVer, contextType, nativeLibDir);
978 native void nIncDeviceDestroy(long dev); argument
981 native long rsnIncContextCreate(long dev, int ver, int sdkVer, int contextType); argument
982 synchronized long nIncContextCreate(long dev, int ver, int sdkVer, int contextType) { argument
983 return rsnIncContextCreate(dev, ver, sdkVer, contextType);
/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/rs/
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 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 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.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 Dapi.h46 inline DeviceData& GetData(VkDevice dev) { argument
47 return driver::GetData(dev).opaque_api_data;
H A Dapi_gen.cpp145 VkDevice dev,
148 auto& data = GetData(dev);
152 INIT_PROC(dev, GetDeviceProcAddr);
153 INIT_PROC(dev, DestroyDevice);
154 INIT_PROC(dev, GetDeviceQueue);
155 INIT_PROC(dev, QueueSubmit);
156 INIT_PROC(dev, QueueWaitIdle);
157 INIT_PROC(dev, DeviceWaitIdle);
158 INIT_PROC(dev, AllocateMemory);
159 INIT_PROC(dev, FreeMemor
144 InitDispatchTable( VkDevice dev, PFN_vkGetDeviceProcAddr get_proc, const std::bitset<driver::ProcHook::EXTENSION_COUNT>& extensions) argument
[all...]
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;
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...]
/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 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...]
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
/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/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);
/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp821 nDeviceDestroy(JNIEnv *_env, jobject _this, jlong dev) argument
826 return rsDeviceDestroy((RsDevice)dev);
830 nDeviceSetConfig(JNIEnv *_env, jobject _this, jlong dev, jint p, jint value) argument
833 ALOGD("nDeviceSetConfig dev(%p), param(%i), value(%i)", (void *)dev, p, value);
835 return rsDeviceSetConfig((RsDevice)dev, (RsDeviceParam)p, value);
839 nContextCreate(JNIEnv *_env, jobject _this, jlong dev, jint flags, jint sdkVer, jint contextType) argument
844 return (jlong)(uintptr_t)rsContextCreate((RsDevice)dev, 0, sdkVer, (RsContextType)contextType, flags);
848 nContextCreateGL(JNIEnv *_env, jobject _this, jlong dev, jint ver, jint sdkVer, argument
870 return (jlong)(uintptr_t)rsContextCreateGL((RsDevice)dev, ve
[all...]
/frameworks/av/services/audioflinger/
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...]
H A DAudioFlinger.h615 AudioStreamIn(AudioHwDevice *dev, audio_stream_in_t *in) : argument
616 audioHwDev(dev), stream(in) {}
H A DAudioStreamOut.cpp30 AudioStreamOut::AudioStreamOut(AudioHwDevice *dev, audio_output_flags_t flags) argument
31 : audioHwDev(dev)
H A DSpdifStreamOut.cpp35 SpdifStreamOut::SpdifStreamOut(AudioHwDevice *dev, argument
39 : AudioStreamOut(dev, (audio_output_flags_t) (flags | AUDIO_OUTPUT_FLAG_IEC958_NONAUDIO))
/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);

Completed in 9624 milliseconds

12