Home
last modified time | relevance | path

Searched refs:profileType (Results 1 – 25 of 45) sorted by relevance

12

/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/MainAbility/model/
H A Da2dpSinkProfileInterface.ets30 let profileType: number = AppStorage.get("profileType") !
58 let profileType: number = AppStorage.get("profileType") !
85 let profileType: string = AppStorage.get("profileType") !
87 console.log("profileType:" + profileType)
111 let profileType: number = AppStorage.get("profileType") !
131 let profileType: number = AppStorage.get("profileType") !
152 let profileType: number = AppStorage.get("profileType") !
188 let profileType: number = AppStorage.get("profileType") !
221 let profileType: number = AppStorage.get("profileType") !
241 let profileType: number = AppStorage.get("profileType") !
[all …]
H A Da2dpSinkProfileManagerInterface.ets30 let profileType: number = AppStorage.get("profileType") !
56 let profileType: number = AppStorage.get("profileType") !
61 btmProfileModel.getProfile(profileType)!.disconnect(deviceId);
81 let profileType: string = AppStorage.get("profileType") !
82 promptAction.showToast({ message : profileType })
83 console.log("profileType:" + profileType)
85 profile = btmProfileModel.getProfile(parseInt(profileType)) as btm.A2dpSourceProfile
107 let profileType: number = AppStorage.get("profileType") !
108 let msgArray: Array<string> = btmProfileModel.getProfile(profileType)!.getConnectionDevices();
127 let profileType: number = AppStorage.get("profileType") !
[all …]
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/pages/subProfileTestManager/
H A Da2dpSourceProfileTestManager.ets42 @State profileType: number = 0;
139 // this.profileType = btmProfileModel.PROFILE_A2DP_SINK;
145 this.profileType = btmProfileModel.PROFILE_A2DP_SOURCE;
151 // this.profileType = btmProfileModel.PROFILE_AVRCP_CT;
157 // this.profileType = btmProfileModel.PROFILE_AVRCP_TG;
175 this.profileType = btmProfileModel.PROFILE_HID_HOST;
181 this.profileType = btmProfileModel.PROFILE_PAN_NETWORK;
187 // this.profileType = btmProfileModel.PROFILE_PBAP_CLIENT;
193 // this.profileType = btmProfileModel.PROFILE_PBAP_SERVER;
198 AppStorage.setOrCreate("profileType" , this.profileType)
[all …]
H A DhandsFreeAudioGatewayProfileTestManager.ets42 @State profileType: number = 0;
137 // this.profileType = btmProfileModel.PROFILE_A2DP_SINK;
143 this.profileType = btmProfileModel.PROFILE_A2DP_SOURCE;
149 // this.profileType = btmProfileModel.PROFILE_AVRCP_CT;
155 // this.profileType = btmProfileModel.PROFILE_AVRCP_TG;
173 this.profileType = btmProfileModel.PROFILE_HID_HOST;
179 this.profileType = btmProfileModel.PROFILE_PAN_NETWORK;
185 // this.profileType = btmProfileModel.PROFILE_PBAP_CLIENT;
191 // this.profileType = btmProfileModel.PROFILE_PBAP_SERVER;
196 AppStorage.setOrCreate("profileType" , this.profileType)
[all …]
H A DhidHostProfileTestManager.ets42 @State profileType: number = 0;
137 // this.profileType = btmProfileModel.PROFILE_A2DP_SINK;
143 this.profileType = btmProfileModel.PROFILE_A2DP_SOURCE;
149 // this.profileType = btmProfileModel.PROFILE_AVRCP_CT;
155 // this.profileType = btmProfileModel.PROFILE_AVRCP_TG;
173 this.profileType = btmProfileModel.PROFILE_HID_HOST;
179 this.profileType = btmProfileModel.PROFILE_PAN_NETWORK;
185 // this.profileType = btmProfileModel.PROFILE_PBAP_CLIENT;
191 // this.profileType = btmProfileModel.PROFILE_PBAP_SERVER;
196 AppStorage.setOrCreate("profileType" , this.profileType)
[all …]
H A DpanNetworkProfileTestManager.ets43 @State profileType: number = 0;
138 // this.profileType = btmProfileModel.PROFILE_A2DP_SINK;
144 this.profileType = btmProfileModel.PROFILE_A2DP_SOURCE;
150 // this.profileType = btmProfileModel.PROFILE_AVRCP_CT;
156 // this.profileType = btmProfileModel.PROFILE_AVRCP_TG;
174 this.profileType = btmProfileModel.PROFILE_HID_HOST;
180 this.profileType = btmProfileModel.PROFILE_PAN_NETWORK;
186 // this.profileType = btmProfileModel.PROFILE_PBAP_CLIENT;
192 // this.profileType = btmProfileModel.PROFILE_PBAP_SERVER;
197 AppStorage.setOrCreate("profileType" , this.profileType)
[all …]
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/pages/subProfileTest/
H A Da2dpSourceProfileTest.ets42 @State profileType: number = 0;
141 // this.profileType = btProfileModel.PROFILE_A2DP_SINK;
147 this.profileType = btProfileModel.PROFILE_A2DP_SOURCE;
153 // this.profileType = btProfileModel.PROFILE_AVRCP_CT;
159 // this.profileType = btProfileModel.PROFILE_AVRCP_TG;
177 // this.profileType = btProfileModel.PROFILE_HID_HOST;
183 // this.profileType = btProfileModel.PROFILE_PAN_NETWORK;
189 // this.profileType = btProfileModel.PROFILE_PBAP_CLIENT;
201 this.profileType = btProfileModel.PROFILE_OPP;
206 AppStorage.setOrCreate("profileType" , this.profileType)
[all …]
H A DhandsFreeAudioGatewayProfileTest.ets42 @State profileType: number = 0;
137 // this.profileType = btProfileModel.PROFILE_A2DP_SINK;
143 this.profileType = btProfileModel.PROFILE_A2DP_SOURCE;
149 // this.profileType = btProfileModel.PROFILE_AVRCP_CT;
155 // this.profileType = btProfileModel.PROFILE_AVRCP_TG;
173 // this.profileType = btProfileModel.PROFILE_HID_HOST;
179 // this.profileType = btProfileModel.PROFILE_PAN_NETWORK;
185 // this.profileType = btProfileModel.PROFILE_PBAP_CLIENT;
197 this.profileType = btProfileModel.PROFILE_OPP;
202 AppStorage.setOrCreate("profileType" , this.profileType)
[all …]
H A DhidHostProfileTest.ets42 @State profileType: number = 0;
137 // this.profileType = btProfileModel.PROFILE_A2DP_SINK;
143 this.profileType = btProfileModel.PROFILE_A2DP_SOURCE;
149 // this.profileType = btProfileModel.PROFILE_AVRCP_CT;
155 // this.profileType = btProfileModel.PROFILE_AVRCP_TG;
173 this.profileType = btProfileModel.PROFILE_HID_HOST;
179 this.profileType = btProfileModel.PROFILE_PAN_NETWORK;
185 // this.profileType = btProfileModel.PROFILE_PBAP_CLIENT;
198 this.profileType = btProfileModel.PROFILE_OPP;
203 AppStorage.setOrCreate("profileType" , this.profileType)
[all …]
H A DpanNetworkProfileTest.ets43 @State profileType: number = 0;
138 // this.profileType = btProfileModel.PROFILE_A2DP_SINK;
144 this.profileType = btProfileModel.PROFILE_A2DP_SOURCE;
150 // this.profileType = btProfileModel.PROFILE_AVRCP_CT;
156 // this.profileType = btProfileModel.PROFILE_AVRCP_TG;
174 this.profileType = btProfileModel.PROFILE_HID_HOST;
180 this.profileType = btProfileModel.PROFILE_PAN_NETWORK;
186 // this.profileType = btProfileModel.PROFILE_PBAP_CLIENT;
198 this.profileType = btProfileModel.PROFILE_OPP;
203 AppStorage.setOrCreate("profileType" , this.profileType)
[all …]
H A DoppProfileTest.ets44 @State profileType: number = 0;
191 // this.profileType = btProfileModel.PROFILE_A2DP_SINK;
197 this.profileType = btProfileModel.PROFILE_A2DP_SOURCE;
203 // this.profileType = btProfileModel.PROFILE_AVRCP_CT;
209 // this.profileType = btProfileModel.PROFILE_AVRCP_TG;
227 // this.profileType = btProfileModel.PROFILE_HID_HOST;
233 // this.profileType = btProfileModel.PROFILE_PAN_NETWORK;
239 // this.profileType = btProfileModel.PROFILE_PBAP_CLIENT;
251 this.profileType = btProfileModel.PROFILE_OPP;
256 AppStorage.setOrCreate("profileType" , this.profileType)
[all …]
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/deviceprofilemanager/listener/
H A Dkv_data_change_listener.cpp178 ProfileType profileType = ProfileUtils::GetProfileType(dbKey); in HandleAddChange() local
179 …SubscribeProfileManager::GetInstance().NotifyProfileChange(profileType, ChangeType::ADD, dbKey, db… in HandleAddChange()
189 ProfileType profileType = ProfileUtils::GetProfileType(dbKey); in HandleUpdateChange() local
190 …SubscribeProfileManager::GetInstance().NotifyProfileChange(profileType, ChangeType::UPDATE, dbKey,… in HandleUpdateChange()
200 ProfileType profileType = ProfileUtils::GetProfileType(dbKey); in HandleDeleteChange() local
201 …SubscribeProfileManager::GetInstance().NotifyProfileChange(profileType, ChangeType::DELETE, dbKey,… in HandleDeleteChange()
252 ProfileType profileType = ProfileUtils::GetProfileType(dbKey); in GenerateSwitchNotify() local
253 …int32_t res = SubscribeProfileManager::GetInstance().NotifyProfileChange(profileType, changeType, … in GenerateSwitchNotify()
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/pages/subAutoTest/subProfileAutoTest/
H A DhitHostAutoTest.ets35 @State profileType: number = 6;
42 this.profileType = btProfileModel.PROFILE_A2DP_SOURCE;
43 AppStorage.setOrCreate("profileType" , this.profileType)
H A Da2dpSourceAutoTest.ets38 @State profileType: number = 1;
45 AppStorage.setOrCreate("profileType" , this.profileType)
H A DhandsFreeAudioGatewayAutoTest.ets38 @State profileType: number = 4;
45 AppStorage.setOrCreate("profileType" , this.profileType)
H A DpanNetworkAutoTest.ets38 @State profileType: number = 7;
45 AppStorage.setOrCreate("profileType" , this.profileType)
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/pages/subAutoTestManager/subProfileAutoTestManager/
H A DhitHostAutoTestManager.ets38 @State profileType: number = 6;
45 this.profileType = btmProfileModel.PROFILE_A2DP_SOURCE;
46 AppStorage.setOrCreate("profileType" , this.profileType)
H A Da2dpSourceAutoTestManager.ets38 @State profileType: number = 1;
45 AppStorage.setOrCreate("profileType" , this.profileType)
H A DhandsFreeAudioGatewayAutoTestManager.ets38 @State profileType: number = 4;
45 AppStorage.setOrCreate("profileType" , this.profileType)
H A DpanNetworkAutoTestManager.ets38 @State profileType: number = 7;
45 AppStorage.setOrCreate("profileType" , this.profileType)
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/include/subscribeprofilemanager/
H A Dsubscribe_profile_manager.h36 …int32_t NotifyProfileChange(ProfileType profileType, ChangeType changeType, const std::string& dbK…
/ohos5.0/foundation/deviceprofile/device_info_manager/common/src/utils/
H A Dprofile_utils.cpp174 ProfileType profileType = ProfileType::PROFILE_TYPE_MIN; in GetProfileType() local
176 profileType = ProfileType::DEVICE_PROFILE; in GetProfileType()
179 profileType = ProfileType::SERVICE_PROFILE; in GetProfileType()
182 profileType = ProfileType::CHAR_PROFILE; in GetProfileType()
184 return profileType; in GetProfileType()
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/pages/subManualApiTest/subBrTest/
H A DprofileConnState.ets30 @State profileType: string = '';
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/pages/subManualApiTestManager/subBrTestManager/
H A DprofileConnState.ets29 @State profileType: string = '';
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/subscribeprofilemanager/
H A Dsubscribe_profile_manager.cpp71 int32_t SubscribeProfileManager::NotifyProfileChange(ProfileType profileType, ChangeType changeType, in NotifyProfileChange() argument
74 int32_t code = static_cast<int32_t>(profileType) * static_cast<int32_t>(changeType); in NotifyProfileChange()

12