Home
last modified time | relevance | path

Searched refs:profileConnectionState (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/MainAbility/model/
H A DBluetoothModel.ts131 profileConnectionState: number = -1
152 profileConnectionState: number;
156 profileConnectionState: number;
161 profileConnectionState: item.profileConnectionState
169 profileConnectionState: number;
180 if(profile.profileConnectionState == 0) {
548 profileConnectionState: number;
556 profileConnectionState: state
604 if(profileConnectionState === 2) {
623 profileConnectionState: number;
[all …]
H A DBluetoothModelManager.ts470 profileConnectionState: number;
478 profileConnectionState: state
523 let profileConnectionState = profile.getDeviceState(deviceId);
525 …${this.TAG} disconnectDevice deviceId = ${deviceId}, connectionState = ${profileConnectionState}`);
526 if(profileConnectionState === 2) {
545 profileConnectionState: number;
556 profileConnectionState: data.state
572 profileConnectionState: number;
583 profileConnectionState: data.state
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/common/
H A Dnapi_bluetooth_utils.cpp325 int32_t profileConnectionState = ProfileConnectionState::STATE_DISCONNECTED; in GetProfileConnectionState() local
329 profileConnectionState = ProfileConnectionState::STATE_CONNECTING; in GetProfileConnectionState()
333 profileConnectionState = ProfileConnectionState::STATE_CONNECTED; in GetProfileConnectionState()
337 profileConnectionState = ProfileConnectionState::STATE_DISCONNECTING; in GetProfileConnectionState()
341 profileConnectionState = ProfileConnectionState::STATE_DISCONNECTED; in GetProfileConnectionState()
346 return profileConnectionState; in GetProfileConnectionState()
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/MainAbility/controller/
H A DBluetoothDeviceController.ts305 profileConnectionState: number;