Home
last modified time | relevance | path

Searched refs:mtu (Results 1 – 11 of 11) sorted by relevance

/tools/test/connectivity/acts_tests/tests/google/ble/gatt/
DGattWriteTest.py244 trimmed_value = char_value[0:self.mtu - 3]
294 self.mtu = gatt_mtu_size['max']
295 self.log.info("Set mtu to max MTU: {}".format(self.mtu))
298 self.gatt_callback, self.mtu):
326 data_length = self.mtu - gatt_characteristic_attr_length['attr_2']
333 self.mtu = gatt_mtu_size['max'] - 1
334 self.log.info("Set mtu to max MTU - 1 : {}".format(self.mtu))
335 data_length = self.mtu - gatt_characteristic_attr_length['attr_2']
337 self.gatt_callback, self.mtu):
358 self.mtu = gatt_mtu_size['min']
[all …]
DGattReadTest.py124 num_packets = ceil((len(char_value) + 1) / (self.mtu - 1))
127 startOffset = i * (self.mtu - 1)
140 char_value[startOffset:startOffset + self.mtu - 1])
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/
Dgatts_lib.py109 mtu = 23
112 mtu = int(args[1])
188 data = data[offset:offset + mtu - 1]
286 mtu = 23
293 num_packets = ceil((len(char_value) + 1) / (mtu - 1))
297 start_offset = i * (mtu - 1)
301 data = char_value[start_offset:start_offset + mtu - 1]
328 mtu = 11
333 num_packets = ceil((len(char_value) + 1) / (mtu - 1))
Dbt_gatt_utils.py356 def setup_gatt_mtu(cen_ad, bluetooth_gatt, gatt_callback, mtu): argument
372 cen_ad.droid.gattClientRequestMtu(bluetooth_gatt, mtu)
377 if mtu_size_found != mtu:
379 mtu_size_found, mtu))
Dgattc_lib.py121 def request_mtu(self, mtu): argument
124 int(mtu))
DGattConnectedBaseTest.py65 self.mtu = gatt_mtu_size['min']
/tools/test/connectivity/acts/framework/acts/controllers/rohdeschwarz_lib/
Dcmw500.py768 def mtu(self): member in Cmw500
773 @mtu.setter
774 def mtu(self, mtu): member in Cmw500
780 cmd = 'CONFigure:DATA:CONTrol:MTU {}'.format(mtu)
Dcmw500_cellular_simulator.py666 def set_mtu(self, mtu): argument
672 self.cmw.mtu = mtu
/tools/test/connectivity/acts_tests/tests/google/ble/system_tests/
DGattLongevityTest.py73 for j in range(i, i + self.mtu - 3):
/tools/test/connectivity/acts/framework/acts/controllers/
Dcellular_simulator.py521 def set_mtu(self, mtu): argument
/tools/carrier_settings/proto/
Dcarrier_settings.proto116 optional int32 mtu = 16 [default = 0]; field