Home
last modified time | relevance | path

Searched refs:bindLevel (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/foundation/distributedhardware/device_manager/test/unittest/mock/
H A Dmock_distributed_device_profile_client.cpp25 uint32_t bindLevel = 0; in AddAccessControlProfileFirst() local
44 accesser.SetAccesserBindLevel(bindLevel); in AddAccessControlProfileFirst()
54 accessee.SetAccesseeBindLevel(bindLevel); in AddAccessControlProfileFirst()
65 profileFirst.SetBindLevel(bindLevel); in AddAccessControlProfileFirst()
76 uint32_t bindLevel = 1; in AddAccessControlProfileSecond() local
117 profileSecond.SetBindLevel(bindLevel); in AddAccessControlProfileSecond()
128 uint32_t bindLevel = 3; in AddAccessControlProfileThird() local
168 profileThird.SetBindLevel(bindLevel); in AddAccessControlProfileThird()
179 uint32_t bindLevel = 3; in AddAccessControlprofileFourth() local
230 uint32_t bindLevel = 1; in AddAccessControlProfileFifth() local
[all …]
/ohos5.0/foundation/distributedhardware/device_manager/test/commonunittest/
H A DUTTest_dm_auth_manager_second.cpp293 authManager_->authResponseContext_->bindLevel = 1;
303 authManager_->authResponseContext_->bindLevel = 0;
313 authManager_->authResponseContext_->bindLevel = 0;
316 authManager_->authResponseContext_->bindLevel = 1;
334 authManager_->authResponseContext_->bindLevel = 1;
347 authManager_->authResponseContext_->bindLevel = 0;
349 authManager_->authResponseContext_->bindLevel = 1;
356 authManager_->authResponseContext_->bindLevel = 0;
359 authManager_->authResponseContext_->bindLevel = 1;
362 authManager_->authResponseContext_->bindLevel = 1;
[all …]
H A DUTTest_dm_auth_manager_first.cpp796 authManager_->authResponseContext_->bindLevel = 3;
809 authManager_->authResponseContext_->bindLevel = 3;
821 authManager_->authResponseContext_->bindLevel = 3;
854 authManager_->authResponseContext_->bindLevel = 3;
/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/src/authentication/
H A Ddm_auth_manager.cpp187 authRequestContext_->bindLevel = INVALIED_TYPE; in GetAuthParam()
722 authResponseContext_->bindLevel = authRequestContext_->bindLevel; in StartNegotiate()
790 static_cast<uint32_t>(authResponseContext_->bindLevel) <= APP)) { in RespNegotiate()
797 authResponseContext_->bindLevel == INVALIED_TYPE) { in RespNegotiate()
814 authResponseContext_->bindLevel = INVALIED_TYPE; in NegotiateRespMsg()
848 authResponseContext_->bindLevel == INVALIED_TYPE) { in SendAuthRequest()
1064 authResponseContext_->bindLevel == INVALIED_TYPE) { in StartAuthProcess()
1469 authResponseContext_->bindLevel == INVALIED_TYPE) { in ShowStartAuthDialog()
1499 authResponseContext_->bindLevel == INVALIED_TYPE) { in ProcessPincode()
2204 aclInfo.bindLevel = DEVICE; in CompatiblePutAcl()
[all …]
H A Dauth_message_processor.cpp179 json[TAG_BIND_LEVEL] = authResponseContext_->bindLevel; in CreateNegotiateMessage()
214 json[TAG_BIND_LEVEL] = authResponseContext_->bindLevel; in CreateRespNegotiateMessage()
477 authResponseContext_->bindLevel = json[TAG_BIND_LEVEL].get<int32_t>(); in ParsePkgNegotiateMessage()
/ohos5.0/foundation/deviceprofile/device_info_manager/common/src/interfaces/
H A Daccess_control_profile.cpp175 void AccessControlProfile::SetBindLevel(uint32_t bindLevel) in SetBindLevel() argument
177 bindLevel_ = bindLevel; in SetBindLevel()
/ohos5.0/foundation/deviceprofile/device_info_manager/common/include/interfaces/
H A Daccess_control_profile.h59 void SetBindLevel(uint32_t bindLevel);
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/trustprofilemanager/
H A Dtrust_profile_manager.cpp821 int32_t bindLevel = BINDLEVEL_INIT; in GetAclProfileByUserIdAndBundleName() local
823 resultSet->GetInt(columnIndex, bindLevel); in GetAclProfileByUserIdAndBundleName()
825 bindLevel == static_cast<int32_t>(BindLevel::DEVICE)) { in GetAclProfileByUserIdAndBundleName()
910 int32_t bindLevel = BINDLEVEL_INIT; in GetAclProfileByTokenId() local
912 resultSet->GetInt(columnIndex, bindLevel); in GetAclProfileByTokenId()
914 bindLevel == static_cast<int32_t> (BindLevel::DEVICE)) { in GetAclProfileByTokenId()
951 int32_t bindLevel = BINDLEVEL_INIT; in GetAclProfileByBundleName() local
953 resultSet->GetInt(columnIndex, bindLevel); in GetAclProfileByBundleName()
955 bindLevel == static_cast<int32_t> (BindLevel::DEVICE)) { in GetAclProfileByBundleName()
1549 int32_t bindLevel = rowEntity.Get(BIND_LEVEL); in ConvertToAccessControlProfile() local
[all …]
/ohos5.0/foundation/distributedhardware/device_manager/interfaces/kits/js4.0/src/
H A Ddm_native_util.cpp316 int32_t bindLevel = 0; in JsToBindParam() local
317 JsObjectToInt(env, object, "bindLevel", bindLevel); in JsToBindParam()
331 jsonObj[BIND_LEVEL] = bindLevel; in JsToBindParam()
/ohos5.0/foundation/distributedhardware/device_manager/test/servicesfuzztest/deviceprofileconnector_fuzzer/
H A Ddevice_profile_connector_fuzzer.cpp42 aclInfo.bindLevel = *(reinterpret_cast<const int32_t*>(data)); in DeviceProfileConnectorFuzzTest()
/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/include/authentication/
H A Ddm_auth_manager.h127 int32_t bindLevel; member
170 int32_t bindLevel; member
/ohos5.0/foundation/distributedhardware/device_manager/commondependency/include/
H A Ddeviceprofile_connector.h55 int32_t bindLevel; member
/ohos5.0/foundation/distributedhardware/device_manager/commondependency/src/
H A Ddeviceprofile_connector.cpp438 profile.SetBindLevel(aclInfo.bindLevel); in PutAccessControlList()
/ohos5.0/foundation/distributedhardware/device_manager/interfaces/kits/js/src/
H A Dnative_devicemanager_js.cpp1187 int32_t bindLevel = 0; in JsToDmExtra() local
1188 JsObjectToInt(env, object, "bindLevel", bindLevel); in JsToDmExtra()
1194 jsonObj[BIND_LEVEL] = bindLevel; in JsToDmExtra()