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

/frameworks/rs/
H A DrsDevice.cpp48 void rsDeviceDestroy(RsDevice dev) { argument
49 Device * d = static_cast<Device *>(dev);
53 void rsDeviceSetConfig(RsDevice dev, RsDeviceParam p, int32_t value) { argument
54 Device * d = static_cast<Device *>(dev);
H A DrsContext.cpp429 Context * Context::createContext(Device *dev, const RsSurfaceConfig *sc) { argument
432 if (!rsc->initContext(dev, sc)) {
445 bool Context::initContext(Device *dev, const RsSurfaceConfig *sc) { argument
451 dev->addContext(this);
452 mDev = dev;
795 ALOGV("rsContextCreate dev=%p", vdev);
796 Device * dev = static_cast<Device *>(vdev); local
797 Context *rsc = Context::createContext(dev, NULL);
807 ALOGV("rsContextCreateGL dev=%p", vdev);
808 Device * dev local
[all...]
/frameworks/support/renderscript/v8/rs_support/
H A DrsDevice.cpp48 void rsDeviceDestroy(RsDevice dev) { argument
49 Device * d = static_cast<Device *>(dev);
53 void rsDeviceSetConfig(RsDevice dev, RsDeviceParam p, int32_t value) { argument
54 Device * d = static_cast<Device *>(dev);
H A DrsContext.cpp241 Context * Context::createContext(Device *dev, const RsSurfaceConfig *sc) { argument
244 if (!rsc->initContext(dev, sc)) {
257 bool Context::initContext(Device *dev, const RsSurfaceConfig *sc) { argument
263 dev->addContext(this);
264 mDev = dev;
472 ALOGV("rsContextCreate dev=%p", vdev);
473 Device * dev = static_cast<Device *>(vdev); local
474 Context *rsc = Context::createContext(dev, NULL);
/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/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pService.java936 WifiP2pDevice dev =
938 resp.setSrcDevice(dev);
2050 WifiP2pDevice dev = mPeers.get(config.deviceAddress);
2051 if (dev == null) {
2056 boolean join = dev.isGroupOwner();
2057 String ssid = mWifiNative.p2pGetSsid(dev.deviceAddress);
2060 if (join && dev.isGroupLimit()) {
2067 int netId = mGroups.getNetworkId(dev.deviceAddress, ssid);
2077 if (!join && dev.isDeviceLimit()) {
2082 if (!join && tryInvocation && dev
2711 sendConnectNoticeToApp(WifiP2pDevice dev, WifiP2pConfig config) argument
[all...]
/frameworks/support/renderscript/v8/jni/
H A Dandroid_renderscript_RenderScript.cpp132 nDeviceDestroy(JNIEnv *_env, jobject _this, jint dev) argument
135 return rsDeviceDestroy((RsDevice)dev);
139 nDeviceSetConfig(JNIEnv *_env, jobject _this, jint dev, jint p, jint value) argument
141 LOG_API("nDeviceSetConfig dev(%p), param(%i), value(%i)", (void *)dev, p, value);
142 return rsDeviceSetConfig((RsDevice)dev, (RsDeviceParam)p, value);
146 nContextCreate(JNIEnv *_env, jobject _this, jint dev, jint ver, jint sdkVer) argument
149 return (jint)rsContextCreate((RsDevice)dev, ver, sdkVer);
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DRenderScript.java87 native void nDeviceDestroy(int dev); argument
88 native void nDeviceSetConfig(int dev, int param, int value); argument
117 native int rsnContextCreate(int dev, int ver, int sdkVer); argument
118 synchronized int nContextCreate(int dev, int ver, int sdkVer) { argument
119 return rsnContextCreate(dev, ver, sdkVer);
/frameworks/av/services/audioflinger/
H A DAudioFlinger.h1973 AudioStreamOut(AudioHwDevice *dev, audio_stream_out_t *out) : argument
1974 audioHwDev(dev), stream(out) {}
1983 AudioStreamIn(AudioHwDevice *dev, audio_stream_in_t *in) : argument
1984 audioHwDev(dev), stream(in) {}
H A DAudioFlinger.cpp192 static int load_audio_interface(const char *if_name, audio_hw_device_t **dev) argument
203 rc = audio_hw_device_open(mod, dev);
209 if ((*dev)->common.version != AUDIO_DEVICE_API_VERSION_CURRENT) {
210 ALOGE("%s wrong audio hw device version %04x", __func__, (*dev)->common.version);
217 *dev = NULL;
297 audio_hw_device_t *dev = audioHwDevice->hwDevice(); local
298 if ((dev->get_supported_devices != NULL) &&
299 (dev->get_supported_devices(dev) & devices) == devices)
417 audio_hw_device_t *dev local
622 AudioHwDevice *dev = mAudioHwDevs.valueAt(i); local
659 audio_hw_device_t *dev = mPrimaryHardwareDev->hwDevice(); local
688 audio_hw_device_t *dev = mPrimaryHardwareDev->hwDevice(); local
704 audio_hw_device_t *dev = mPrimaryHardwareDev->hwDevice(); local
729 AudioHwDevice *dev = mAudioHwDevs.valueAt(i); local
874 audio_hw_device_t *dev = mAudioHwDevs.valueAt(i)->hwDevice(); local
957 audio_hw_device_t *dev = mAudioHwDevs.valueAt(i)->hwDevice(); local
993 audio_hw_device_t *dev = mPrimaryHardwareDev->hwDevice(); local
1023 audio_hw_device_t *dev = mPrimaryHardwareDev->hwDevice(); local
6855 audio_hw_device_t *dev; local
[all...]
/frameworks/base/graphics/java/android/renderscript/
H A DRenderScript.java78 native void nDeviceDestroy(int dev); argument
79 native void nDeviceSetConfig(int dev, int param, int value); argument
108 native int rsnContextCreateGL(int dev, int ver, int sdkVer, argument
114 synchronized int nContextCreateGL(int dev, int ver, int sdkVer, argument
120 return rsnContextCreateGL(dev, ver, sdkVer, colorMin, colorPref,
125 native int rsnContextCreate(int dev, int ver, int sdkVer); argument
126 synchronized int nContextCreate(int dev, int ver, int sdkVer) { argument
127 return rsnContextCreate(dev, ver, sdkVer);
/frameworks/base/graphics/jni/
H A Dandroid_renderscript_RenderScript.cpp171 nDeviceDestroy(JNIEnv *_env, jobject _this, jint dev) argument
174 return rsDeviceDestroy((RsDevice)dev);
178 nDeviceSetConfig(JNIEnv *_env, jobject _this, jint dev, jint p, jint value) argument
180 LOG_API("nDeviceSetConfig dev(%p), param(%i), value(%i)", (void *)dev, p, value);
181 return rsDeviceSetConfig((RsDevice)dev, (RsDeviceParam)p, value);
185 nContextCreate(JNIEnv *_env, jobject _this, jint dev, jint ver, jint sdkVer) argument
188 return (jint)rsContextCreate((RsDevice)dev, ver, sdkVer);
192 nContextCreateGL(JNIEnv *_env, jobject _this, jint dev, jint ver, jint sdkVer, argument
212 return (jint)rsContextCreateGL((RsDevice)dev, ve
[all...]

Completed in 174 milliseconds