Home
last modified time | relevance | path

Searched refs:bindType (Results 1 – 25 of 39) sorted by relevance

12

/ohos5.0/foundation/distributedhardware/device_manager/commondependency/src/
H A Ddeviceprofile_connector.cpp73 if (bindType == authForm) { in GetAppTrustDeviceList()
108 bindTypes.push_back(bindType); in GetDeviceAclParam()
190 switch (bindType) { in GetAuthForm()
345 std::vector<int32_t> bindType; in SyncAclByBindType() local
361 return bindType; in SyncAclByBindType()
393 offlineParam.bindType = INVALIED_TYPE; in GetOfflineParamFromAcl()
437 profile.SetBindType(aclInfo.bindType); in PutAccessControlList()
538 LOGI("BindType %{public}d.", bindType); in UpdateBindType()
540 deviceMap[udid] = bindType; in UpdateBindType()
554 offlineParam.bindType = INVALIED_TYPE; in DeleteAccessControlList()
[all …]
/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/src/
H A Ddevice_manager_service_impl.cpp282 } else if (bindType == IDENTICAL_ACCOUNT_TYPE) { in HandleOnline()
284 } else if (bindType == DEVICE_PEER_TO_PEER_TYPE) { in HandleOnline()
286 } else if (bindType == DEVICE_ACROSS_ACCOUNT_TYPE) { in HandleOnline()
288 } else if (bindType == APP_PEER_TO_PEER_TYPE) { in HandleOnline()
297 } else if (bindType == APP_ACROSS_ACCOUNT_TYPE) { in HandleOnline()
646 aclInfo.bindType = IDENTICAL_ACCOUNT; in PutIdenticalAccountToAcl()
807 LOGI("bind type is %{public}d.", bindType); in HandleDeviceScreenStatusChange()
808 if (bindType == INVALIED_TYPE) { in HandleDeviceScreenStatusChange()
810 } else if (bindType == IDENTICAL_ACCOUNT_TYPE || bindType == DEVICE_PEER_TO_PEER_TYPE || in HandleDeviceScreenStatusChange()
811 bindType == DEVICE_ACROSS_ACCOUNT_TYPE) { in HandleDeviceScreenStatusChange()
[all …]
/ohos5.0/foundation/distributedhardware/device_manager/test/unittest/mock/
H A Dmock_distributed_device_profile_client.cpp23 int32_t bindType = -1; in AddAccessControlProfileFirst() local
61 profileFirst.SetBindType(bindType); in AddAccessControlProfileFirst()
74 int32_t bindType = 1; in AddAccessControlProfileSecond() local
113 profileSecond.SetBindType(bindType); in AddAccessControlProfileSecond()
126 int32_t bindType = 256; in AddAccessControlProfileThird() local
164 profileThird.SetBindType(bindType); in AddAccessControlProfileThird()
177 int32_t bindType = 1282; in AddAccessControlprofileFourth() local
215 profileFourth.SetBindType(bindType); in AddAccessControlprofileFourth()
228 int32_t bindType = 1282; in AddAccessControlProfileFifth() local
266 profileFifth.SetBindType(bindType); in AddAccessControlProfileFifth()
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/test/unittest/
H A Dtrust_device_profile_test.cpp121 uint32_t bindType = 1; variable
123 trustDeviceProfile.SetBindType(bindType);
125 EXPECT_EQ(bindType, ret);
/ohos5.0/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/mini/
H A Dsoftbus_adapter.c103 static char* CreateRespNegotiateMsg(const int bindType);
104 static int AbilityNegotiate(const int bindType);
1056 static bool IsSupportBindType(const int bindType) in IsSupportBindType() argument
1058 if (bindType != SUPPORT_BIND_TYPE) { in IsSupportBindType()
1103 if (!IsSupportBindType(bindType)) { in SoftbusBindTarget()
1107 g_bindType = bindType; in SoftbusBindTarget()
1153 static int AbilityNegotiate(const int bindType) in AbilityNegotiate() argument
1187 int reply = AbilityNegotiate(bindType); in CreateRespNegotiateMsg()
1280 int bindType = -1; in ProcessSinkMsg() local
1282 bindType = object->valueint; in ProcessSinkMsg()
[all …]
H A Ddevice_manager_impl_lite_m.c205 int bindType = bindTypeObj->valueint; in BindTarget() local
206 int ret = SoftbusBindTarget(pkgName, deviceId, bindType, cb); in BindTarget()
/ohos5.0/foundation/distributedhardware/device_manager/common/include/ipc/model/
H A Dipc_bind_device_req.h62 void SetBindType(int32_t bindType) in SetBindType() argument
64 bindType_ = bindType; in SetBindType()
/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/src/authentication/
H A Dauth_message_processor.cpp69 jsonObj[TAG_BIND_TYPE_SIZE] = authResponseContext_->bindType.size(); in GetJsonObj()
70 for (uint32_t item = 0; item < authResponseContext_->bindType.size(); item++) { in GetJsonObj()
72 jsonObj[itemStr] = authResponseContext_->bindType[item]; in GetJsonObj()
217 json[TAG_BIND_TYPE_SIZE] = authResponseContext_->bindType.size(); in CreateRespNegotiateMessage()
220 for (uint32_t item = 0; item < authResponseContext_->bindType.size(); item++) { in CreateRespNegotiateMessage()
222 json[itemStr] = authResponseContext_->bindType[item]; in CreateRespNegotiateMessage()
424 authResponseContext_->bindType.clear(); in ParseAuthRequestMessage()
428 authResponseContext_->bindType.push_back(json[itemStr].get<int32_t>()); in ParseAuthRequestMessage()
505 authResponseContext_->bindType.clear(); in ParsePkgNegotiateMessage()
509 authResponseContext_->bindType.push_back(json[itemStr].get<int32_t>()); in ParsePkgNegotiateMessage()
H A Ddm_auth_manager.cpp723 authResponseContext_->bindType = authRequestContext_->bindType; in StartNegotiate()
928 std::vector<int32_t> bindType = in ProcessAuthRequestExt() local
931 authResponseContext_->authed = !bindType.empty(); in ProcessAuthRequestExt()
938 authResponseContext_->bindType = bindType; in ProcessAuthRequestExt()
1415 authResponseContext_->bindType, localUdid, remoteDeviceId_); in ShowConfigDialog()
2205 aclInfo.bindType = DM_POINT_TO_POINT; in CompatiblePutAcl()
2320 if (offlineParam.bindType == INVALIED_TYPE) { in DeleteAcl()
2360 authResponseContext_->bindType = in ProcRespNegotiateExt()
2541 aclInfo.bindType = DM_ACROSS_ACCOUNT; in PutAccessControlList()
2543 aclInfo.bindType = DM_IDENTICAL_ACCOUNT; in PutAccessControlList()
[all …]
/ohos5.0/foundation/deviceprofile/device_info_manager/common/src/interfaces/
H A Dtrust_device_profile.cpp72 void TrustDeviceProfile::SetBindType(uint32_t bindType) in SetBindType() argument
74 bindType_ = bindType; in SetBindType()
H A Daccess_control_profile.cpp103 void AccessControlProfile::SetBindType(uint32_t bindType) in SetBindType() argument
105 bindType_ = bindType; in SetBindType()
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/trustprofilemanager/
H A Dtrust_profile_manager.cpp544 bundleName.c_str(), bindType, status); in GetAccessControlProfile()
818 int32_t bindType = BINDTYPE_INIT; in GetAclProfileByUserIdAndBundleName() local
820 resultSet->GetInt(columnIndex, bindType); in GetAclProfileByUserIdAndBundleName()
824 if (bindType == static_cast<int32_t>(BindType::SAME_ACCOUNT) || in GetAclProfileByUserIdAndBundleName()
907 int32_t bindType = BINDTYPE_INIT; in GetAclProfileByTokenId() local
909 resultSet->GetInt(columnIndex, bindType); in GetAclProfileByTokenId()
913 if (bindType == static_cast<int32_t> (BindType::SAME_ACCOUNT) || in GetAclProfileByTokenId()
948 int32_t bindType = BINDTYPE_INIT; in GetAclProfileByBundleName() local
950 resultSet->GetInt(columnIndex, bindType); in GetAclProfileByBundleName()
1542 int32_t bindType = rowEntity.Get(BIND_TYPE); in ConvertToAccessControlProfile() local
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Dnode_context_pool_manager_gles.cpp400 GLenum bindType = GL_NONE; in BindType() local
404 bindType = GL_DEPTH_STENCIL_ATTACHMENT; in BindType()
406 bindType = GL_DEPTH_ATTACHMENT; in BindType()
408 bindType = GL_STENCIL_ATTACHMENT; in BindType()
410 return bindType; in BindType()
457 const GLenum bindType = BindType(image); in GenerateSubPassFBO() local
458 PLUGIN_ASSERT_MSG(bindType != GL_NONE, "Depth attachment has no stencil or depth"); in GenerateSubPassFBO()
459 …BindToFboMultisampled(bindType, images[original], images[di], framebuffer.width, framebuffer.heigh… in GenerateSubPassFBO()
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/test/fuzztest/trustprofilemanager_fuzzer/
H A Dtrustprofilemanager_fuzzer.cpp90 int32_t bindType = *(reinterpret_cast<const int32_t*>(data)); in GetAccessControlProfileThreeFuzzTest() local
95 … TrustProfileManager::GetInstance().GetAccessControlProfile(bundleName, bindType, status, profile); in GetAccessControlProfileThreeFuzzTest()
/ohos5.0/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include/mini/
H A Dsoftbus_adapter.h36 int SoftbusBindTarget(const char *pkgName, const char *deviceId, const int bindType, OnBindResult c…
/ohos5.0/foundation/distributedhardware/device_manager/commondependency/include/
H A Ddeviceprofile_connector.h52 int32_t bindType; member
79 uint32_t bindType; member
170 …void UpdateBindType(const std::string &udid, int32_t bindType, std::map<std::string, int32_t> &dev…
/ohos5.0/foundation/distributedhardware/device_manager/test/commonunittest/
H A DUTTest_dm_deviceprofile_connector.cpp483 EXPECT_EQ(ret.bindType, INVALIED_TYPE);
491 EXPECT_EQ(ret.bindType, INVALIED_TYPE);
499 EXPECT_EQ(ret.bindType, IDENTICAL_ACCOUNT_TYPE);
525 EXPECT_EQ(ret.bindType, INVALIED_TYPE);
534 EXPECT_EQ(ret.bindType, INVALIED_TYPE);
543 EXPECT_EQ(ret.bindType, INVALIED_TYPE);
552 EXPECT_EQ(ret.bindType, INVALIED_TYPE);
/ohos5.0/foundation/distributedhardware/device_manager/test/unittest/
H A DUTTest_device_manager_impl.cpp591 int32_t bindType = 0; variable
595 …int32_t ret = DeviceManager::GetInstance().BindDevice(packName, bindType, deviceId, bindParam, cal…
614 int32_t bindType = 0; variable
618 …int32_t ret = DeviceManager::GetInstance().BindDevice(packName, bindType, deviceId, bindParam, cal…
637 int32_t bindType = 0; variable
661 int32_t bindType = 0; variable
2501 int32_t bindType = PEER_TO_PEER; variable
2502 int32_t ret = DeviceManager::GetInstance().DpAclAdd(accessControlId, udid, bindType);
2504 bindType = IDENTICAL_ACCOUNT;
2505 ret = DeviceManager::GetInstance().DpAclAdd(accessControlId, udid, bindType);
[all …]
/ohos5.0/foundation/deviceprofile/device_info_manager/common/include/interfaces/
H A Dtrust_device_profile.h45 void SetBindType(uint32_t bindType);
H A Daccess_control_profile.h45 void SetBindType(uint32_t bindType);
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/include/trustprofilemanager/
H A Dtrust_profile_manager.h58 int32_t GetAccessControlProfile(const std::string& bundleName, int32_t bindType,
63 int32_t bindType, int32_t status, std::vector<AccessControlProfile>& profile);
/ohos5.0/foundation/distributedhardware/device_manager/interfaces/kits/js4.0/include/
H A Ddm_native_util.h58 …BindParam(const napi_env &env, const napi_value &object, std::string &bindParam, int32_t &bindType,
/ohos5.0/foundation/distributedhardware/device_manager/interfaces/kits/js4.0/src/
H A Ddm_native_util.cpp286 int32_t &bindType, bool &isMetaType) in JsToBindParam() argument
290 bindType = bindTypeTemp; in JsToBindParam()
320 jsonObj[AUTH_TYPE] = bindType; in JsToBindParam()
/ohos5.0/foundation/distributedhardware/device_manager/test/servicesfuzztest/deviceprofileconnector_fuzzer/
H A Ddevice_profile_connector_fuzzer.cpp41 aclInfo.bindType = *(reinterpret_cast<const int32_t*>(data)); in DeviceProfileConnectorFuzzTest()
/ohos5.0/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include/
H A Ddevice_manager.h385 …virtual int32_t BindDevice(const std::string &pkgName, int32_t bindType, const std::string &device…
601 …t32_t DpAclAdd(const int64_t accessControlId, const std::string &udid, const int32_t bindType) = 0;

12