/ohos5.0/foundation/distributedhardware/device_manager/commondependency/src/ |
H A D | deviceprofile_connector.cpp | 73 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 D | device_manager_service_impl.cpp | 282 } 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 D | mock_distributed_device_profile_client.cpp | 23 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 D | trust_device_profile_test.cpp | 121 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 D | softbus_adapter.c | 103 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 D | device_manager_impl_lite_m.c | 205 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 D | ipc_bind_device_req.h | 62 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 D | auth_message_processor.cpp | 69 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 D | dm_auth_manager.cpp | 723 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 D | trust_device_profile.cpp | 72 void TrustDeviceProfile::SetBindType(uint32_t bindType) in SetBindType() argument 74 bindType_ = bindType; in SetBindType()
|
H A D | access_control_profile.cpp | 103 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 D | trust_profile_manager.cpp | 544 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 D | node_context_pool_manager_gles.cpp | 400 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 D | trustprofilemanager_fuzzer.cpp | 90 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 D | softbus_adapter.h | 36 int SoftbusBindTarget(const char *pkgName, const char *deviceId, const int bindType, OnBindResult c…
|
/ohos5.0/foundation/distributedhardware/device_manager/commondependency/include/ |
H A D | deviceprofile_connector.h | 52 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 D | UTTest_dm_deviceprofile_connector.cpp | 483 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 D | UTTest_device_manager_impl.cpp | 591 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 D | trust_device_profile.h | 45 void SetBindType(uint32_t bindType);
|
H A D | access_control_profile.h | 45 void SetBindType(uint32_t bindType);
|
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/include/trustprofilemanager/ |
H A D | trust_profile_manager.h | 58 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 D | dm_native_util.h | 58 …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 D | dm_native_util.cpp | 286 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 D | device_profile_connector_fuzzer.cpp | 41 aclInfo.bindType = *(reinterpret_cast<const int32_t*>(data)); in DeviceProfileConnectorFuzzTest()
|
/ohos5.0/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include/ |
H A D | device_manager.h | 385 …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;
|