Home
last modified time | relevance | path

Searched refs:profile (Results 1 – 25 of 1085) sorted by relevance

12345678910>>...44

/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/test/unittest/
H A Dtrust_profile_manager_test.cpp256 profile.SetStatus(0);
287 profile.SetStatus(0);
332 profile.SetStatus(0);
693 profile.clear();
725 profile.clear();
757 profile.clear();
809 profile.clear();
816 profile.clear();
823 profile.clear();
855 profile.clear();
[all …]
H A Ddistributed_device_profile_client_rdb_test.cpp174 AccessControlProfile profile; variable
176 profile.SetSessionKey("key1");
177 profile.SetBindType(4);
179 profile.SetDeviceIdType(1);
181 profile.SetStatus(0);
182 profile.SetValidPeriod(66);
183 profile.SetLastAuthTime(20);
184 profile.SetBindLevel(0);
224 AccessControlProfile profile; variable
275 TrustDeviceProfile profile; variable
[all …]
H A Ddp_content_sensor_test.cpp80 DeviceProfile profile; variable
81 profile.SetDeviceId("test");
83 collector.Collect(profile);
121 DeviceProfile profile; variable
137 DeviceProfile profile; variable
138 profile.SetDeviceId("");
139 profile.SetDeviceName("");
153 DeviceProfile profile; variable
154 profile.SetDeviceId("");
169 DeviceProfile profile; variable
[all …]
H A Dprofile_utils_test.cpp370 profile.SetStatus(1);
416 profile.SetBindType(1);
420 profile.SetStatus(0);
466 profile.SetBindType(1);
470 profile.SetStatus(0);
526 profile.SetStatus(0);
582 profile.SetStatus(0);
678 profile.SetStatus(0);
728 profile.SetStatus(0);
1507 Accesser profile; variable
[all …]
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/include/trustprofilemanager/
H A Dtrust_profile_manager.h51 std::vector<AccessControlProfile>& profile);
67 std::vector<AccessControlProfile>& profile);
83 std::vector<AccessControlProfile>& profile);
86 int32_t SetAccessControlId(AccessControlProfile& profile);
87 int32_t SetAccesserId(AccessControlProfile& profile);
88 int32_t SetAccesseeId(AccessControlProfile& profile);
111 std::vector<AccessControlProfile>& profile);
116 std::vector<AccessControlProfile>& profile);
120 int32_t UpdateAclCheck(const AccessControlProfile& profile);
121 int32_t PutAclCheck(const AccessControlProfile& profile);
[all …]
/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/
H A Dcontent_sensor_test.cpp160 ServiceCharacteristicProfile profile; variable
202 profile.SetServiceId("test");
203 profile.SetServiceType("test");
218 profile.SetServiceId("");
219 profile.SetServiceType("");
234 profile.SetServiceId("");
235 profile.SetServiceType("test");
250 profile.SetServiceId("test");
251 profile.SetServiceType("");
266 profile.SetServiceId("test");
[all …]
H A Dprofile_crud_test.cpp128 profile.SetServiceId("");
129 profile.SetServiceType("test");
153 profile.SetServiceId("test");
154 profile.SetServiceType("");
178 profile.SetServiceId("test");
179 profile.SetServiceType("test");
202 profile.SetServiceId("test");
203 profile.SetServiceType("test");
897 profile.SetServiceId("test");
915 profile.SetServiceId("test");
[all …]
H A Dprofile_storage_test.cpp273 profile.SetServiceId("test");
274 profile.SetServiceType("test");
292 profile.SetServiceId("");
293 profile.SetServiceType("test");
311 profile.SetServiceId("test");
312 profile.SetServiceType("");
343 profile.SetServiceId(SERVICE_ID);
360 profile.SetServiceId(SERVICE_ID);
375 profile.SetServiceId(SERVICE_ID);
1029 profile.SetServiceId("");
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/
H A Da2dp_state_machine.cpp93 if (profile == nullptr) { in ProcessDisconnectCfm()
142 if (profile == nullptr) { in ProcessDisconnectInd()
182 if (profile == nullptr) { in ProcessSetConfigInd()
227 if (profile == nullptr) { in ProcessDiscoverReq()
253 if (profile == nullptr) { in ProcessSDPFailure()
344 if (profile == nullptr) { in ProcessDisconnectInd()
364 if (profile == nullptr) { in ProcessOpenInd()
395 if (profile == nullptr) { in ProcessSetConfigInd()
438 if (profile == nullptr) { in ProcessDelayReportInd()
759 if (!profile->HasOpen() && profile->GetDisalbeTag()) { in ProcessCloseCfm()
[all …]
H A Da2dp_avdtp.cpp312 if (profile == nullptr) { in ParseAvdtpDisconnectInd()
336 if (profile == nullptr) { in ParseAvdtpConfigureInd()
380 if (profile == nullptr) { in ParseAvdtpReconfigureInd()
427 if (profile == nullptr) { in ParseAvdtpOpenInd()
450 if (profile == nullptr) { in ParseAvdtpCloseInd()
476 if (profile == nullptr) { in ParseAvdtpCloseChannelInd()
496 if (profile == nullptr) { in ParseAvdtpStartInd()
544 if (profile == nullptr) { in ParseAvdtpConnectCFM()
571 if (profile == nullptr) { in ParseAvdtpDisconnectCFM()
592 if (profile == nullptr) { in ParseAvdtpDiscoverCFM()
[all …]
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/clone/
H A Dnotification_clone_disturb_service.cpp73 for (const auto &profile : jsonObject) { in OnRestore() local
75 item->FromJson(profile.dump()); in OnRestore()
90 for (auto profile = profiles_.begin(); profile != profiles_.end();) { in OnRestore() local
93 name = (*profile)->GetProfileName(); in OnRestore()
101 profile = profiles_.erase(profile); in OnRestore()
104 profile++; in OnRestore()
110 for (auto profile = profiles_.begin(); profile != profiles_.end(); profile++) { in OnRestore() local
182 for (auto profile = profiles_.begin(); profile != profiles_.end();) { in HandlerBundleEvent() local
191 profile = profiles_.erase(profile); in HandlerBundleEvent()
194 profile++; in HandlerBundleEvent()
[all …]
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/
H A Dlnn_lane_common.c40 profile->linkType = LANE_BR; in BrInfoProc()
59 profile->linkType = LANE_BLE; in BleInfoProc()
71 profile->linkType = LANE_P2P; in P2pInfoProc()
72 profile->bw = linkInfo->linkInfo.p2p.bw; in P2pInfoProc()
85 profile->linkType = LANE_HML; in HmlInfoProc()
86 profile->bw = linkInfo->linkInfo.p2p.bw; in HmlInfoProc()
105 profile->linkType = LANE_P2P_REUSE; in P2pReuseInfoProc()
117 profile->linkType = LANE_WLAN_2P4G; in Wlan2P4GInfoProc()
131 profile->linkType = LANE_WLAN_5G; in Wlan5GInfoProc()
146 profile->linkType = LANE_BLE_DIRECT; in BleDirectInfoProc()
[all …]
/ohos5.0/foundation/communication/dsoftbus/core/authentication/bind/
H A Dauth_device_profile_listener.cpp51 DelNotTrustDevice(profile.GetDeviceId().c_str()); in OnTrustDeviceProfileAdd()
52 g_deviceProfileChange.onDeviceProfileAdd(profile.GetDeviceId().c_str(), NULL); in OnTrustDeviceProfileAdd()
64 g_deviceProfileChange.onDeviceProfileDeleted(profile.GetDeviceId().c_str()); in OnTrustDeviceProfileDelete()
78 int32_t AuthDeviceProfileListener::OnDeviceProfileAdd(const DeviceProfile &profile) in OnDeviceProfileAdd() argument
80 (void)profile; in OnDeviceProfileAdd()
86 (void)profile; in OnDeviceProfileDelete()
98 int32_t AuthDeviceProfileListener::OnServiceProfileAdd(const ServiceProfile &profile) in OnServiceProfileAdd() argument
100 (void)profile; in OnServiceProfileAdd()
106 (void)profile; in OnServiceProfileDelete()
120 (void)profile; in OnCharacteristicProfileAdd()
[all …]
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/test/fuzztest/trustprofilemanager_fuzzer/
H A Dtrustprofilemanager_fuzzer.cpp42 std::vector<AccessControlProfile> profile; in GetAccessControlProfileByTokenIdFuzzTest() local
44 profile.push_back(acProfile); in GetAccessControlProfileByTokenIdFuzzTest()
55 std::vector<AccessControlProfile> profile; in GetAccessControlProfileOneFuzzTest() local
57 profile.push_back(acProfile); in GetAccessControlProfileOneFuzzTest()
67 std::vector<AccessControlProfile> profile; in GetAccessControlProfileTwoFuzzTest() local
69 profile.push_back(acProfile); in GetAccessControlProfileTwoFuzzTest()
78 std::vector<AccessControlProfile> profile; in GetAllAccessControlProfileFuzzTest() local
80 profile.push_back(acProfile); in GetAllAccessControlProfileFuzzTest()
94 profile.push_back(acProfile); in GetAccessControlProfileThreeFuzzTest()
108 profile.push_back(acProfile); in GetAccessControlProfileFourFuzzTest()
[all …]
/ohos5.0/docs/zh-cn/application-dev/security/
H A Dhapsigntool-guidelines.md126 7. 生成profile调试/发布证书。
129 generate-profile-cert : 生成profile调试/发布证书
178 9. profile文件签名。
181 sign-profile : profile文件签名
193 10. profile文件验签。
196 verify-profile : profile文件验签
236 - 对profile文件进行签名
313 3. **对profile文件进行签名**
315 调用profile文件签名接口,使用Profile签名密钥对profile文件进行签名。
332 sign-profile:签名profile文件
[all …]
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/trustprofilemanager/
H A Dtrust_profile_manager.cpp207 this->UpdateAccesserProfile(profile.GetAccesserId(), profile); in UpdateAccessControlProfile()
208 this->UpdateAccesseeProfile(profile.GetAccesseeId(), profile); in UpdateAccessControlProfile()
292 if (profile.empty()) { in GetAllTrustDeviceProfile()
328 if (profile.empty()) { in GetAccessControlProfile()
366 if (profile.empty()) { in GetAccessControlProfile()
403 if (profile.empty()) { in GetAccessControlProfileByTokenId()
450 if (profile.empty()) { in GetAccessControlProfile()
490 if (profile.empty()) { in GetAccessControlProfile()
529 if (profile.empty()) { in GetAllAccessControlProfile()
565 if (profile.empty()) { in GetAccessControlProfile()
[all …]
/ohos5.0/foundation/deviceprofile/device_info_manager/common/src/utils/
H A Dprofile_utils.cpp487 profile.GetCharacteristicKey()); in CharacteristicProfileToEntries()
499 profile.SetDeviceId(strValue); in EntriesToTrustDeviceProfile()
508 profile.SetStatus(intValue); in EntriesToTrustDeviceProfile()
528 profile.SetSessionKey(strValue); in EntriesToAccessControlProfile()
531 profile.SetBindType(intValue); in EntriesToAccessControlProfile()
537 profile.SetBindLevel(intValue); in EntriesToAccessControlProfile()
540 profile.SetStatus(intValue); in EntriesToAccessControlProfile()
543 profile.SetValidPeriod(intValue); in EntriesToAccessControlProfile()
638 profile.SetOsType(osType); in EntriesToDeviceProfile()
642 profile.SetOsType(osType); in EntriesToDeviceProfile()
[all …]
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/output/
H A Dcamera_output_capability.cpp140 for (auto& profile : previewProfiles) { in IsMatchPreviewProfiles() local
144 … "height: %{public}d] cant match", profile.GetCameraFormat(), profile.GetSize().width, in IsMatchPreviewProfiles()
145 profile.GetSize().height); in IsMatchPreviewProfiles()
157 for (auto& profile : photoProfiles) { in IsMatchPhotoProfiles() local
161 … "height: %{public}d] cant match", profile.GetCameraFormat(), profile.GetSize().width, in IsMatchPhotoProfiles()
162 profile.GetSize().height); in IsMatchPhotoProfiles()
174 for (auto& profile : videoProfiles) { in IsMatchVideoProfiles() local
183 …std::string frameratesStr = Container2String(profile.framerates_.begin(), profile.framerates_.end(… in IsMatchVideoProfiles()
186 profile.GetSize().width, profile.GetSize().height, frameratesStr.c_str()); in IsMatchVideoProfiles()
212 for (const auto& profile : profiles) { in RemoveDuplicatesProfile() local
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/
H A Dhfp_ag_statemachine.h167 HfpAgState(HfpAgSmInfo stu, HfpAgProfile &profile, in HfpAgState() argument
171 profile_(profile), in HfpAgState()
177 HfpAgState(const std::string &name, utility::StateMachine &statemachine, HfpAgProfile &profile, in HfpAgState() argument
180 profile_(profile), in HfpAgState()
202 …AgDisconnected(const std::string &name, utility::StateMachine &statemachine, HfpAgProfile &profile, in HfpAgDisconnected() argument
204 : HfpAgState(name, statemachine, profile, eventDispatch, HFP_AG_STATE_DISCONNECTED) in HfpAgDisconnected()
217 …fpAgConnecting(const std::string &name, utility::StateMachine &statemachine, HfpAgProfile &profile, in HfpAgConnecting() argument
219 : HfpAgState(name, statemachine, profile, eventDispatch, HFP_AG_STATE_CONNECTING) in HfpAgConnecting()
233 : HfpAgState(name, statemachine, profile, eventDispatch, HFP_AG_STATE_DISCONNECTING) in HfpAgDisconnecting()
243 …HfpAgConnected(const std::string &name, utility::StateMachine &statemachine, HfpAgProfile &profile, in HfpAgConnected() argument
[all …]
/ohos5.0/foundation/deviceprofile/device_info_manager/common/src/interfaces/
H A Dprofile_change_listener_proxy.cpp33 if (!profile.Marshalling(data)) { in OnTrustDeviceProfileAdd()
48 if (!profile.Marshalling(data)) { in OnTrustDeviceProfileDelete()
77 int32_t ProfileListenerProxy::OnDeviceProfileAdd(const DeviceProfile& profile) in OnDeviceProfileAdd() argument
83 if (!profile.Marshalling(data)) { in OnDeviceProfileAdd()
92 int32_t ProfileListenerProxy::OnDeviceProfileDelete(const DeviceProfile& profile) in OnDeviceProfileDelete() argument
98 if (!profile.Marshalling(data)) { in OnDeviceProfileDelete()
126 int32_t ProfileListenerProxy::OnServiceProfileAdd(const ServiceProfile& profile) in OnServiceProfileAdd() argument
132 if (!profile.Marshalling(data)) { in OnServiceProfileAdd()
147 if (!profile.Marshalling(data)) { in OnServiceProfileDelete()
181 if (!profile.Marshalling(data)) { in OnCharacteristicProfileAdd()
[all …]
/ohos5.0/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/output/
H A Dcamera_output_capability.h79 Profile& operator=(const Profile& profile)
81 if (this != &profile) {
82 this->format_ = profile.format_;
83 this->size_ = profile.size_;
84 this->fps_ = profile.fps_;
85 this->abilityId_ = profile.abilityId_;
89 bool operator==(const Profile& profile)
91 return this->format_ == profile.format_ && this->size_.width == profile.size_.width &&
140 bool operator==(const VideoProfile& profile)
142 return this->format_ == profile.format_ && this->size_.width == profile.size_.width &&
[all …]
/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/framework/device/
H A Ddev_profile.cpp163 DistributedDeviceProfile::CharacteristicProfile profile; in PutEnabledStatus() local
164 profile.SetDeviceId(udid); in PutEnabledStatus()
165 profile.SetServiceName(SWITCH_ID); in PutEnabledStatus()
166 profile.SetCharacteristicKey(CHARACTER_ID); in PutEnabledStatus()
167 profile.SetCharacteristicValue(enabledStatus); in PutEnabledStatus()
187 DistributedDeviceProfile::CharacteristicProfile profile; in GetEnabledStatus() local
189 CHARACTER_ID, profile); in GetEnabledStatus()
190 if (ret == HANDLE_OK && profile.GetCharacteristicValue() == SUPPORT_STATUS) { in GetEnabledStatus()
212 DistributedDeviceProfile::CharacteristicProfile profile; in GetRemoteDeviceVersion() local
215 udid, SERVICE_ID, STATIC_CHARACTER_ID, profile); in GetRemoteDeviceVersion()
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/
H A Dhfp_hf_statemachine.h400 : State(name, statemachine, parent), profile_(profile), in HfpHfState()
404 : State(name, statemachine), profile_(profile), in HfpHfState()
423 : HfpHfState(name, statemachine, profile, HFP_HF_STATE_DISCONNECTED) in HfpHfDisconnected()
436 …fpHfConnecting(const std::string &name, utility::StateMachine &statemachine, HfpHfProfile &profile) in HfpHfConnecting() argument
437 : HfpHfState(name, statemachine, profile, HFP_HF_STATE_CONNECTING) in HfpHfConnecting()
448 : HfpHfState(name, statemachine, profile, HFP_HF_STATE_DISCONNECTING) in HfpHfDisconnecting()
458 …HfpHfConnected(const std::string &name, utility::StateMachine &statemachine, HfpHfProfile &profile) in HfpHfConnected() argument
459 : HfpHfState(name, statemachine, profile, HFP_HF_STATE_CONNECTED) in HfpHfConnected()
472 : HfpHfState(name, statemachine, profile, HFP_HF_AUDIO_STATE_CONNECTING, parent) in HfpHfAudioConnecting()
484 : HfpHfState(name, statemachine, profile, HFP_HF_AUDIO_STATE_DISCONNECTING, parent) in HfpHfAudioDisconnecting()
[all …]
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/test/fuzztest/profileutils_fuzzer/
H A Dprofileutils_fuzzer.cpp135 TrustDeviceProfile profile; in TrustDeviceProfileToEntriesFuzzTest() local
138 profile.SetDeviceIdType(1); in TrustDeviceProfileToEntriesFuzzTest()
139 profile.SetStatus(1); in TrustDeviceProfileToEntriesFuzzTest()
168 AccessControlProfile profile; in AccessControlProfileToEntriesFuzzTest() local
171 profile.SetBindType(1); in AccessControlProfileToEntriesFuzzTest()
173 profile.SetDeviceIdType(1); in AccessControlProfileToEntriesFuzzTest()
175 profile.SetStatus(0); in AccessControlProfileToEntriesFuzzTest()
176 profile.SetValidPeriod(1); in AccessControlProfileToEntriesFuzzTest()
178 profile.SetBindLevel(0); in AccessControlProfileToEntriesFuzzTest()
193 Accesser profile; in EntriesToAccesserFuzzTest() local
[all …]
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/hfp/
H A Dnapi_bluetooth_hfp_ag.cpp112 profile->RegisterObserver(observer_); in On()
139 int errorCode = profile->GetConnectedDevices(devices); in GetConnectionDevices()
201 int state = profile->GetScoState(device); in GetScoState()
233 bool isOK = profile->SetActiveDevice(device); in ConnectSco()
235 isOK = profile->ConnectSco(); in ConnectSco()
267 bool isOK = profile->SetActiveDevice(device); in DisconnectSco()
269 isOK = profile->DisconnectSco(); in DisconnectSco()
301 bool isOK = profile->OpenVoiceRecognition(device); in OpenVoiceRecognition()
332 bool isOK = profile->CloseVoiceRecognition(device); in CloseVoiceRecognition()
348 int32_t errorCode = profile->Connect(device); in Connect()
[all …]

12345678910>>...44