Home
last modified time | relevance | path

Searched refs:receiver (Results 1 – 5 of 5) sorted by relevance

/test/vts-testcase/nbu/src/
Dbluetooth_test.py45 self.receiver = self.dut_b
46 self.receiver.debug_tag = 'receiver'
51 self.receiver.android.btEnable()
53 self.receiver.android.btSetName(DEVICE_NAME)
70 self.receiver.connection_callback = (
71 self.receiver.android.btRfcommStartServer(rfcomm_name, RFCOMM_UUID))
72 self.receiver.log.info('Start Rfcomm server with name: %s uuid: %s' %
74 target_name = self.receiver.android.btGetName()
75 self.receiver.log.info('Become discoverable with name "%s" for %ds.',
77 self.receiver.android.btBecomeDiscoverable(DISCOVERABLE_TIME)
[all …]
Dble_test.py462 self.receiver = self.dut_b
467 self.receiver.debug_tag = 'receiver'
472 self.receiver.android.btEnable()
489 Discover(self.initiator, self.receiver)
490 Connect(self.initiator, self.receiver)
493 WriteCharacteristic(self.initiator, self.receiver)
494 Disconnect(self.initiator, self.receiver)
495 StopDiscover(self.initiator, self.receiver)
511 Discover(self.initiator, self.receiver)
512 CancelOpen(self.initiator, self.receiver)
[all …]
/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
DProtoUtils.java43 final CollectingByteOutputReceiver receiver = new CollectingByteOutputReceiver(); in getProto() local
44 device.executeShellCommand(command, receiver); in getProto()
45 return parser.parseFrom(receiver.getOutput()); in getProto()
/test/vts/harnesses/tradefed/src/com/android/tradefed/util/
DCmdUtil.java185 CollectingOutputReceiver receiver = new CollectingOutputReceiver(); in getSystemProperty() local
186 device.executeShellCommand(String.format("getprop %s", name), receiver); in getSystemProperty()
187 return receiver.getOutput(); in getSystemProperty()
/test/mlts/benchmark/src/com/android/nn/benchmark/app/
DBenchmarkTestBase.java101 BroadcastReceiver receiver = new BroadcastReceiver() { in waitUntilCharged() local
119 mActivity.registerReceiver(receiver, new IntentFilter(Intent.ACTION_BATTERY_CHANGED)); in waitUntilCharged()
126 mActivity.unregisterReceiver(receiver); in waitUntilCharged()