Home
last modified time | relevance | path

Searched refs:BluetoothProfile (Results 1 – 24 of 24) sorted by relevance

/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DBluetoothConnectionLatencyCollector.java29 import com.android.tradefed.util.Sl4aBluetoothUtil.BluetoothProfile;
49 .put(BluetoothProfile.HEADSET.getProfile(), "headset")
50 .put(BluetoothProfile.A2DP.getProfile(), "a2dp")
51 .put(BluetoothProfile.PAN.getProfile(), "pan")
52 .put(BluetoothProfile.MAP.getProfile(), "map")
53 .put(BluetoothProfile.A2DP_SINK.getProfile(), "a2dp_sink")
54 .put(BluetoothProfile.AVRCP_CONTROLLER.getProfile(), "avrcp_controller")
55 .put(BluetoothProfile.HEADSET_CLIENT.getProfile(), "headset_client")
56 .put(BluetoothProfile.PBAP_CLIENT.getProfile(), "pbap_client")
57 .put(BluetoothProfile.MAP_CLIENT.getProfile(), "map_client")
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/car/
Dcar_bt_utils.py49 BluetoothProfile.A2DP_SINK, BluetoothProfile.HEADSET_CLIENT,
50 BluetoothProfile.PBAP_CLIENT, BluetoothProfile.MAP_MCE
/tools/tradefederation/core/src/com/android/tradefed/util/
DSl4aBluetoothUtil.java110 public enum BluetoothProfile { enum in Sl4aBluetoothUtil
126 private static final Map<Integer, BluetoothProfile> sProfileToValue =
128 .collect(Collectors.toMap(BluetoothProfile::getProfile, value -> value));
132 public static BluetoothProfile valueOfProfile(int profile) { in valueOfProfile()
136 BluetoothProfile(int profile) { in BluetoothProfile() method in Sl4aBluetoothUtil.BluetoothProfile
402 ITestDevice primary, ITestDevice secondary, Set<BluetoothProfile> profiles) in connect()
415 Set<BluetoothProfile> connectedProfiles = in connect()
435 ITestDevice primary, ITestDevice secondary, Set<BluetoothProfile> profiles) in disconnect()
450 Set<BluetoothProfile> disconnectedProfiles = in disconnect()
507 BluetoothProfile profile, in changeProfileAccessPermission()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DSl4aBluetoothUtilTest.java40 import com.android.tradefed.util.Sl4aBluetoothUtil.BluetoothProfile;
71 private static final Set<BluetoothProfile> PROFILES =
74 BluetoothProfile.A2DP_SINK,
75 BluetoothProfile.MAP_CLIENT,
76 BluetoothProfile.PBAP_CLIENT,
77 BluetoothProfile.HEADSET_CLIENT,
78 BluetoothProfile.PAN));
256 BluetoothProfile.A2DP_SINK.getProfile(), in testConnect_success()
262 BluetoothProfile.HEADSET_CLIENT.getProfile(), in testConnect_success()
268 BluetoothProfile.PBAP_CLIENT.getProfile(), in testConnect_success()
[all …]
/tools/test/connectivity/acts_tests/tests/google/bt/car_bt/
DBtCarPbapTest.py81 BtEnum.BluetoothProfile.PBAP_SERVER.value,
86 BtEnum.BluetoothProfile.PBAP_SERVER.value,
90 self.pce, self.pse, [BtEnum.BluetoothProfile.PBAP_CLIENT],
93 self.pce, self.pse2, [BtEnum.BluetoothProfile.PBAP_CLIENT],
133 set([BtEnum.BluetoothProfile.PBAP_CLIENT.value]))
167 BtEnum.BluetoothProfile.PBAP_SERVER.value,
171 set([BtEnum.BluetoothProfile.PBAP_CLIENT.value])):
180 BtEnum.BluetoothProfile.PBAP_SERVER.value,
185 set([BtEnum.BluetoothProfile.PBAP_CLIENT.value])):
219 set([BtEnum.BluetoothProfile.PBAP_CLIENT.value]))
[all …]
DBtCarPairedConnectDisconnectTest.py87 set([BtEnum.BluetoothProfile.A2DP_SINK.value])):
121 BtEnum.BluetoothProfile.HEADSET_CLIENT.value,
122 BtEnum.BluetoothProfile.A2DP_SINK.value
141 BtEnum.BluetoothProfile.HEADSET_CLIENT.value,
142 BtEnum.BluetoothProfile.A2DP_SINK.value
DBtCarMediaConnectionTest.py58 self.SNK, self.SRC, [BtEnum.BluetoothProfile.A2DP_SINK],
87 set([BtEnum.BluetoothProfile.A2DP.value]))):
92 self.SRC, self.SNK, [BtEnum.BluetoothProfile.A2DP.value])
135 set([BtEnum.BluetoothProfile.A2DP_SINK.value]))):
141 self.SNK, self.SRC, [BtEnum.BluetoothProfile.A2DP_SINK.value])
DBtCarMapMceTest.py62 self.MCE, self.MSE, set([BtEnum.BluetoothProfile.MAP_MCE.value])):
137 self.MCE, self.MSE, set([BtEnum.BluetoothProfile.MAP_MCE.value]))
144 self.MCE, self.MSE, [BtEnum.BluetoothProfile.MAP_MCE.value]):
156 set([BtEnum.BluetoothProfile.MAP_MCE.value]))
168 self.MCE, self.MSE, [BtEnum.BluetoothProfile.MAP_MCE.value])
DBtCarHfpConnectionTest.py48 self.hf, self.ag, [BtEnum.BluetoothProfile.HEADSET_CLIENT],
100 set([BtEnum.BluetoothProfile.HEADSET_CLIENT.value])):
145 set([BtEnum.BluetoothProfile.HEADSET_CLIENT.value])):
227 set([BtEnum.BluetoothProfile.HEADSET_CLIENT.value])):
274 set([BtEnum.BluetoothProfile.HEADSET_CLIENT.value])):
DBtCarHfpTest.py44 BtEnum.BluetoothProfile.PBAP_CLIENT.value,
45 BtEnum.BluetoothProfile.A2DP_SINK.value
48 self.hf, self.ag, [BtEnum.BluetoothProfile.HEADSET_CLIENT.value],
53 set([BtEnum.BluetoothProfile.HEADSET_CLIENT.value])):
DBtCarMediaPassthroughTest.py90 self.SNK, self.SRC, set([BtEnum.BluetoothProfile.A2DP_SINK.value]))
132 self.SRC, self.SNK, set([BtEnum.BluetoothProfile.A2DP.value]))
332 self.SRC, self.SNK, [BtEnum.BluetoothProfile.A2DP.value])
385 self.SRC, self.SNK, [BtEnum.BluetoothProfile.A2DP.value])
416 [BtEnum.BluetoothProfile.A2DP.value]))):
DBtCarHfpFuzzTest.py45 set([BtEnum.BluetoothProfile.HEADSET_CLIENT.value]))
DBtCarHfpConferenceTest.py54 set([BtEnum.BluetoothProfile.HEADSET_CLIENT.value]))
/tools/test/connectivity/acts_tests/tests/google/coex/stress_tests/
DCoexBtMultiProfileStressTest.py70 {BtEnum.BluetoothProfile.A2DP.value}):
77 {BtEnum.BluetoothProfile.HEADSET.value}):
84 [BtEnum.BluetoothProfile.A2DP.value]):
91 [BtEnum.BluetoothProfile.HEADSET.value]):
DCoexHfpStressTest.py46 set([BtEnum.BluetoothProfile.HEADSET.value])):
70 {BtEnum.BluetoothProfile.HEADSET.value}):
76 {BtEnum.BluetoothProfile.HEADSET.value}):
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/multi/
DPairingMultiTargetPreparerTest.java37 import com.android.tradefed.util.Sl4aBluetoothUtil.BluetoothProfile;
82 any(BluetoothProfile.class), in setUp()
115 argThat((Set<BluetoothProfile> profiles) -> profiles.size() == 3)); in testPairWithConnection()
145 setter.setOptionValue("bt-profile", BluetoothProfile.A2DP.name()); in setBluetoothProfiles()
146 setter.setOptionValue("bt-profile", BluetoothProfile.HEADSET.name()); in setBluetoothProfiles()
147 setter.setOptionValue("bt-profile", BluetoothProfile.MAP.name()); in setBluetoothProfiles()
/tools/test/connectivity/acts_tests/tests/google/coex/performance_tests/
DCoexBtMultiProfilePerformanceTest.py58 set([BtEnum.BluetoothProfile.HEADSET.value]) and
59 set([BtEnum.BluetoothProfile.A2DP.value])):
87 [BtEnum.BluetoothProfile.A2DP.value])
90 [BtEnum.BluetoothProfile.HEADSET.value]):
DWlanWithHfpPerformanceTest.py44 set([BtEnum.BluetoothProfile.HEADSET.value])):
DWlanWithA2dpPerformanceTest.py57 set([BtEnum.BluetoothProfile.A2DP.value])):
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/multi/
DPairingMultiTargetPreparer.java33 import com.android.tradefed.util.Sl4aBluetoothUtil.BluetoothProfile;
72 private Set<BluetoothProfile> mProfiles = new HashSet<>();
122 BluetoothProfile.PBAP, in setUp()
133 Collections.singleton(BluetoothProfile.PBAP_CLIENT), in setUp()
/tools/test/connectivity/acts_tests/tests/google/coex/functionality_tests/
DCoexBtMultiProfileFunctionalityTest.py52 set([BtEnum.BluetoothProfile.HEADSET.value]) and
53 set([BtEnum.BluetoothProfile.A2DP.value])):
DWlanWithHfpFunctionalityTest.py51 set([BtEnum.BluetoothProfile.HEADSET.value])):
94 set([BtEnum.BluetoothProfile.HEADSET.value])):
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/
DBtEnum.py38 class BluetoothProfile(IntEnum): class
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/protos/
Dbluetooth.proto254 // Profile IDs defined in BluetoothProfile API class
281 // Profile id defined in BluetoothProfile.java