Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
DP2pBroadcastReceiverTest.java81 for (WifiP2pDevice dev: mPeers.getDeviceList()) { in waitDeviceFound()
82 if (dev.deviceAddress.equals(targetAddr)) { in waitDeviceFound()
83 return dev; in waitDeviceFound()
127 for (WifiP2pDevice dev: mPeers.getDeviceList()) { in waitPeerConnected()
128 if (dev.deviceAddress.equals(targetAddr)) { in waitPeerConnected()
129 if (dev.status == WifiP2pDevice.CONNECTED) { in waitPeerConnected()
158 for (WifiP2pDevice dev: mPeers.getDeviceList()) { in waitPeerDisconnected()
159 if (dev.deviceAddress.equals(targetAddr)) { in waitPeerDisconnected()
160 if (dev.status != WifiP2pDevice.CONNECTED) { in waitPeerDisconnected()
DConnectReqTestCase.java100 WifiP2pDevice dev = mReceiverTest.waitDeviceFound(mTargetAddress, TIMEOUT); in connectTest() local
101 if (dev == null) { in connectTest()
106 if (!isJoin && dev.isGroupOwner()) { in connectTest()
110 } else if (isJoin && !dev.isGroupOwner()) { in connectTest()
126 config.deviceAddress = dev.deviceAddress; in connectTest()
/cts/apps/CameraITS/build/
Denvsetup.sh23 command -v adb >/dev/null 2>&1 || \
26 command -v python >/dev/null 2>&1 || \
34 python -c "import $M" >/dev/null 2>&1 || \
/cts/tools/cts-java-scanner/etc/
Dcts-java-scanner23 if expr "x${newProg}" : 'x/' >/dev/null; then
40 while expr "x$1" : 'x-J' >/dev/null; do
/cts/tools/cts-native-scanner/etc/
Dcts-native-scanner23 if expr "x${newProg}" : 'x/' >/dev/null; then
40 while expr "x$1" : 'x-J' >/dev/null; do
/cts/tools/cts-xml-generator/etc/
Dcts-xml-generator23 if expr "x${newProg}" : 'x/' >/dev/null; then
40 while expr "x$1" : 'x-J' >/dev/null; do
/cts/tools/cts-api-coverage/etc/
Dcts-api-coverage23 if expr "x${newProg}" : 'x/' >/dev/null; then
40 while expr "x$1" : 'x-J' >/dev/null; do
/cts/tools/signature-tools/
Dsig24 if expr "x${newProg}" : 'x/' >/dev/null; then
41 while expr "x$1" : 'x-J' >/dev/null; do
Dsig-create24 if expr "x${newProg}" : 'x/' >/dev/null; then
43 while expr "x$1" : 'x-J' >/dev/null; do
Dsig-check24 if expr "x${newProg}" : 'x/' >/dev/null; then
43 while expr "x$1" : 'x-J' >/dev/null; do
/cts/apps/CtsVerifier/assets/scripts/power_monitors/
Dmonsoon.py70 self.log("device %s is in use" % dev)
139 self.log( "error opening device %s: %s" % (dev, e))
198 for dev in ser_device_list:
200 lockfile = Power_Monitor.lock( dev )
202 logging.info( "... device %s in use, skipping"%dev)
208 ser = serial.Serial( dev, timeout=TIMEOUT_SERIAL)
210 logging.error( "error opening device %s: %s" % (dev, e) )
214 logging.info("... found device %s"%dev)
221 monsoon = Power_Monitor(device = dev)
228 logging.info("... found power monitor @ %s"%dev)
[all …]
/cts/tools/vm-tests-tf/etc/
Dstarttests24 if expr "x${newProg}" : 'x/' >/dev/null; then
41 while expr "x$1" : 'x-J' >/dev/null; do
131 adb push $dexcore /data/local/tmp/dexcore.jar >> /dev/null 2>&1
172 adb push ${depJar} ${deviceFileName} &> /dev/null
182 adb shell rm ${jar} &> /dev/null
/cts/tools/cfassembler/etc/
Dcfassembler23 if expr "x${newProg}" : 'x/' >/dev/null; then
54 while expr "x$1" : 'x-J' >/dev/null; do
/cts/tools/dasm/etc/
Ddasm23 if expr "x${newProg}" : 'x/' >/dev/null; then
54 while expr "x$1" : 'x-J' >/dev/null; do
/cts/tools/utils/
Dmonsoon.py85 for dev in os.listdir("/dev"):
86 if not dev.startswith("ttyACM"): continue
87 tmpname = "/tmp/monsoon.%s.%s" % (os.uname()[0], dev)
96 print >>sys.stderr, "device %s is in use" % dev
100 self.ser = serial.Serial("/dev/%s" % dev, timeout=1)
105 print >>sys.stderr, "error opening device %s: %s" % (dev, e)
109 print >>sys.stderr, "no response from device %s" % dev
112 (status["serialNumber"], dev))
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/
DRequesterTestActivity.java260 for (WifiP2pDevice dev: peerList) { in showSelectTargetDialog()
261 items[i++] = dev.deviceName; in showSelectTargetDialog()
271 for (WifiP2pDevice dev: peerList) { in showSelectTargetDialog()
273 sTargetAddr = dev.deviceAddress; in showSelectTargetDialog()
/cts/tests/tests/security/tools/
Dformat_cert.sh36 -noout 2>/dev/null)
/cts/tools/tradefed-host/etc/
Dcts-tradefed28 if ! type -P $1 &> /dev/null; then
/cts/tests/tests/permission/src/android/permission/cts/
DFileUtils.java63 public int dev; field in FileUtils.FileStatus
/cts/apps/CtsVerifier/src/com/android/cts/verifier/os/
DFileUtils.java52 private int dev; field in FileUtils.FileStatus
/cts/libs/deviceutil/src/android/cts/util/
DFileUtils.java62 public int dev; field in FileUtils.FileStatus