Home
last modified time | relevance | path

Searched refs:dev (Results 1 – 25 of 64) sorted by relevance

123

/frameworks/base/services/core/jni/
Dcom_android_server_ConsumerIrService.cpp34 consumerir_device_t *dev; in halOpen() local
44 (hw_device_t **) &dev); in halOpen()
50 return reinterpret_cast<jlong>(dev); in halOpen()
57 consumerir_device_t *dev = reinterpret_cast<consumerir_device_t*>(halObject); in halTransmit() local
64 ret = dev->transmit(dev, carrierFrequency, cPattern.get(), patternLength); in halTransmit()
71 consumerir_device_t *dev = reinterpret_cast<consumerir_device_t*>(halObject); in halGetCarrierFrequencies() local
75 len = dev->get_num_carrier_freqs(dev); in halGetCarrierFrequencies()
81 len = dev->get_carrier_freqs(dev, len, ranges); in halGetCarrierFrequencies()
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
DWifiP2pServiceResponse.java180 public void setSrcDevice(WifiP2pDevice dev) { in setSrcDevice() argument
181 if (dev == null) return; in setSrcDevice()
182 this.mDevice = dev; in setSrcDevice()
204 WifiP2pDevice dev = new WifiP2pDevice(); in newInstance() local
206 dev.deviceAddress = srcAddr; in newInstance()
236 transId, dev, null)); in newInstance()
250 transId, dev, data); in newInstance()
253 transId, dev, data); in newInstance()
255 resp = new WifiP2pServiceResponse(type, status, transId, dev, data); in newInstance()
368 WifiP2pDevice dev = (WifiP2pDevice)in.readParcelable(null);
[all …]
DWifiP2pDnsSdServiceResponse.java153 int tranId, WifiP2pDevice dev, byte[] data) { in WifiP2pDnsSdServiceResponse() argument
155 status, tranId, dev, data); in WifiP2pDnsSdServiceResponse()
296 int transId, WifiP2pDevice dev, byte[] data) { in newInstance() argument
299 transId, dev, null); in newInstance()
303 transId, dev, data); in newInstance()
DWifiP2pUpnpServiceResponse.java81 int transId, WifiP2pDevice dev, byte[] data) { in WifiP2pUpnpServiceResponse() argument
83 status, transId, dev, data); in WifiP2pUpnpServiceResponse()
/frameworks/rs/
DrsDevice.cpp48 extern "C" void rsDeviceDestroy(RsDevice dev) { in rsDeviceDestroy() argument
49 Device * d = static_cast<Device *>(dev); in rsDeviceDestroy()
53 extern "C" void rsDeviceSetConfig(RsDevice dev, RsDeviceParam p, int32_t value) { in rsDeviceSetConfig() argument
54 Device * d = static_cast<Device *>(dev); in rsDeviceSetConfig()
Drs.h40 RsContext rsContextCreateGL(RsDevice dev, uint32_t version, uint32_t sdkVersion,
55 void rsDeviceDestroy(RsDevice dev);
56 void rsDeviceSetConfig(RsDevice dev, RsDeviceParam p, int32_t value);
57 RsContext rsContextCreate(RsDevice dev, uint32_t version, uint32_t sdkVersion,
DrsContext.cpp531 Context * Context::createContext(Device *dev, const RsSurfaceConfig *sc, in createContext() argument
544 if (!rsc->initContext(dev, sc)) { in createContext()
557 bool Context::initContext(Device *dev, const RsSurfaceConfig *sc) { in initContext() argument
563 dev->addContext(this); in initContext()
564 mDev = dev; in initContext()
965 Device * dev = static_cast<Device *>(vdev); in rsContextCreate() local
966 Context *rsc = Context::createContext(dev, NULL, ct, flags); in rsContextCreate()
978 Device * dev = static_cast<Device *>(vdev); in rsContextCreateGL() local
979 Context *rsc = Context::createContext(dev, &sc); in rsContextCreateGL()
/frameworks/base/native/
Dcopy-to-ndk.sh26 if diff $src $dst >/dev/null; then
27 echo "$i: has not changed from $j" >/dev/null
31 echo "$i: has changed from $j" >/dev/null
42 if diff $SRC_LIB_ANDROID $DST_LIB_ANDROID >/dev/null; then
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp138 static int load_audio_interface(const char *if_name, audio_hw_device_t **dev) in load_audio_interface() argument
149 rc = audio_hw_device_open(mod, dev); in load_audio_interface()
155 if ((*dev)->common.version < AUDIO_DEVICE_API_VERSION_MIN) { in load_audio_interface()
156 ALOGE("%s wrong audio hw device version %04x", __func__, (*dev)->common.version); in load_audio_interface()
163 *dev = NULL; in load_audio_interface()
288 audio_hw_device_t *dev = audioHwDevice->hwDevice(); in findSuitableHwDev_l() local
289 if ((dev->get_supported_devices != NULL) && in findSuitableHwDev_l()
290 (dev->get_supported_devices(dev) & devices) == devices) in findSuitableHwDev_l()
430 audio_hw_device_t *dev = mAudioHwDevs.valueAt(i)->hwDevice(); in dump() local
431 dev->dump(dev, fd); in dump()
[all …]
DAudioFlinger.h636 AudioStreamOut(AudioHwDevice *dev, audio_stream_out_t *out, audio_output_flags_t flags) : in AudioStreamOut()
637 audioHwDev(dev), stream(out), flags(flags) {} in AudioStreamOut()
646 AudioStreamIn(AudioHwDevice *dev, audio_stream_in_t *in) : in AudioStreamIn()
647 audioHwDev(dev), stream(in) {} in AudioStreamIn()
/frameworks/base/tests/backup/
Dbackup_stress_test.sh48 echo "FAILED iteration $i of $iterations; $failures failures so far" > /dev/stderr
51 printf "Iteration %d:\tPASS; remaining: %d\n" $i $(($iterations - $i - 1)) > /dev/stderr
59 echo "DONE: $iterations iterations with $failures failures." > /dev/stderr
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/
Dgradlew57 if expr "$link" : '/.*' > /dev/null; then
86 …which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be foun…
119 ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
/frameworks/webview/chromium/tools/WebViewShell/
Drun_startup_time_test.sh3 if ! which adb &> /dev/null; then
23 adb shell am start -n com.android.webview.chromium.shell/.StartupTimeActivity -a VIEW > /dev/null
/frameworks/support/
Dgradlew57 if expr "$link" : '/.*' > /dev/null; then
86 …which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be foun…
119 ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
/frameworks/multidex/
Dgradlew57 if expr "$link" : '/.*' > /dev/null; then
86 …which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be foun…
119 ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
/frameworks/base/tools/obbtool/
Dmkobb.sh221 ${DDBIN} if=/dev/zero of=${tempfile} bs=${BLOCK_SIZE} count=$((${block_count} + ${SLOP})) > /dev/nu…
235 loop_dev=/dev/mapper/${unique_dm_name}
/frameworks/native/opengl/tools/glgen/
Dgen53 pushd src > /dev/null
60 popd > /dev/null
93 pushd out > /dev/null
111 popd > /dev/null
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pGroup.java137 WifiP2pDevice dev = new WifiP2pDevice(); in WifiP2pGroup() local
138 dev.deviceAddress = nameValue[1]; in WifiP2pGroup()
139 mClients.add(dev); in WifiP2pGroup()
/frameworks/webview/chromium/tools/
Dwebview_command_line25 adb shell rm $CMD_LINE_FILE >/dev/null
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp59 sound_trigger_hw_device *dev; in onFirstRef() local
67 rc = sound_trigger_hw_device_open(mod, &dev); in onFirstRef()
73 if (dev->common.version != SOUND_TRIGGER_DEVICE_API_VERSION_CURRENT) { in onFirstRef()
74 ALOGE("wrong sound trigger hw device version %04x", dev->common.version); in onFirstRef()
79 rc = dev->get_properties(dev, &descriptor.properties); in onFirstRef()
90 sp<Module> module = new Module(this, dev, descriptor, client); in onFirstRef()
/frameworks/compile/mclinker/unittests/
Dtest3.txt69 VER = ` if grep 'AM_INIT_AUTOMAKE.*BFD_VERSION' $(TOOL)/configure.in >/dev/null 2>&1; then \
71 elif grep AM_INIT_AUTOMAKE $(TOOL)/configure.in >/dev/null 2>&1; then \
75 elif grep VERSION $(TOOL)/Makefile.in > /dev/null 2>&1; then \
150 elif grep '^diststuff:' $$d/Makefile >/dev/null ; then \
153 elif grep '^info:' $$d/Makefile >/dev/null ; then \
/frameworks/base/rs/java/android/renderscript/
DRenderScript.java118 native void nDeviceDestroy(long dev); in nDeviceDestroy() argument
119 native void nDeviceSetConfig(long dev, int param, int value); in nDeviceSetConfig() argument
195 native long rsnContextCreateGL(long dev, int ver, int sdkVer, in rsnContextCreateGL() argument
201 synchronized long nContextCreateGL(long dev, int ver, int sdkVer, in nContextCreateGL() argument
207 return rsnContextCreateGL(dev, ver, sdkVer, colorMin, colorPref, in nContextCreateGL()
212 native long rsnContextCreate(long dev, int ver, int sdkVer, int contextType); in rsnContextCreate() argument
213 synchronized long nContextCreate(long dev, int ver, int sdkVer, int contextType) { in nContextCreate() argument
214 return rsnContextCreate(dev, ver, sdkVer, contextType); in nContextCreate()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java1123 WifiP2pDevice dev = in processMessage() local
1125 resp.setSrcDevice(dev); in processMessage()
2473 WifiP2pDevice dev = fetchCurrentDeviceDetails(config); in p2pConnectWithPinDisplay() local
2475 String pin = mWifiNative.p2pConnect(config, dev.isGroupOwner()); in p2pConnectWithPinDisplay()
2491 WifiP2pDevice dev = fetchCurrentDeviceDetails(config); in reinvokePersistentGroup() local
2493 boolean join = dev.isGroupOwner(); in reinvokePersistentGroup()
2494 String ssid = mWifiNative.p2pGetSsid(dev.deviceAddress); in reinvokePersistentGroup()
2497 if (join && dev.isGroupLimit()) { in reinvokePersistentGroup()
2504 int netId = mGroups.getNetworkId(dev.deviceAddress, ssid); in reinvokePersistentGroup()
2514 if (!join && dev.isDeviceLimit()) { in reinvokePersistentGroup()
[all …]
/frameworks/rs/cpp/
DrsDispatch.h27 typedef void (*DeviceDestroyFnPtr) (RsDevice dev);
28 typedef void (*DeviceSetConfigFnPtr) (RsDevice dev, RsDeviceParam p, int32_t value);
/frameworks/base/docs/html/distribute/engage/
Dvideo.jd10 pages. Be sure to build a <a href="http://www.youtube.com/yt/dev/">YouTube</a>

123