/foundation/distributeddatamgr/pasteboard/framework/framework/include/device/ |
H A D | dev_profile.h | 44 class SubscribeDPChangeListener : public DistributedDeviceProfile::ProfileChangeListenerStub { 48 int32_t OnTrustDeviceProfileAdd(const DistributedDeviceProfile::TrustDeviceProfile &profile) override; 49 int32_t OnTrustDeviceProfileDelete(const DistributedDeviceProfile::TrustDeviceProfile &profile) override; 50 int32_t OnTrustDeviceProfileUpdate(const DistributedDeviceProfile::TrustDeviceProfile &oldProfile, 51 const DistributedDeviceProfile::TrustDeviceProfile &newProfile) override; 52 int32_t OnDeviceProfileAdd(const DistributedDeviceProfile::DeviceProfile &profile) override; 53 int32_t OnDeviceProfileDelete(const DistributedDeviceProfile::DeviceProfile &profile) override; 54 int32_t OnDeviceProfileUpdate(const DistributedDeviceProfile::DeviceProfile &oldProfile, 55 const DistributedDeviceProfile::DeviceProfile &newProfile) override; 56 int32_t OnServiceProfileAdd(const DistributedDeviceProfile [all...] |
H A D | pasteboard_static_capability.h | 31 class PasteboardStaticCapability : public DistributedDeviceProfile::IStaticCapabilityCollector { 43 API_EXPORT DistributedDeviceProfile::IStaticCapabilityCollector *GetStaticCapabilityCollector();
|
/foundation/deviceprofile/device_info_manager/services/core/test/unittest/ |
H A D | content_sensor_manager_utils_test.cpp | 30 namespace DistributedDeviceProfile { namespace 68 DistributedDeviceProfile::ContentSensorManagerUtils::GetInstance().deviceModel_ = str; in HWTEST_F() 69 std::string result = DistributedDeviceProfile::ContentSensorManagerUtils::GetInstance().ObtainProductModel(); in HWTEST_F() 82 DistributedDeviceProfile::ContentSensorManagerUtils::GetInstance().deviceType_ = str; in HWTEST_F() 83 std::string result = DistributedDeviceProfile::ContentSensorManagerUtils::GetInstance().ObtainDeviceType(); in HWTEST_F() 96 DistributedDeviceProfile::ContentSensorManagerUtils::GetInstance().manufacture_ = str; in HWTEST_F() 97 std::string result = DistributedDeviceProfile::ContentSensorManagerUtils::GetInstance().ObtainManufacture(); in HWTEST_F() 110 DistributedDeviceProfile::ContentSensorManagerUtils::GetInstance().serial_ = str; in HWTEST_F() 111 std::string result = DistributedDeviceProfile::ContentSensorManagerUtils::GetInstance().ObtainSerial(); in HWTEST_F() 125 DistributedDeviceProfile in HWTEST_F() [all...] |
H A D | trust_profile_manager_test.cpp | 35 namespace DistributedDeviceProfile { namespace 53 int32_t ret = OHOS::DistributedDeviceProfile:: in SetUpTestCase() 60 int32_t ret = OHOS::DistributedDeviceProfile:: in TearDownTestCase() 64 ret = OHOS::DistributedDeviceProfile:: in TearDownTestCase() 95 int32_t ret = OHOS::DistributedDeviceProfile::TrustProfileManager:: in HWTEST_F() 108 int32_t ret = OHOS::DistributedDeviceProfile::TrustProfileManager:: in HWTEST_F() 126 int32_t ret = OHOS::DistributedDeviceProfile::TrustProfileManager:: in HWTEST_F() 130 ret = OHOS::DistributedDeviceProfile::TrustProfileManager:: in HWTEST_F() 136 ret = OHOS::DistributedDeviceProfile::TrustProfileManager:: in HWTEST_F() 142 ret = OHOS::DistributedDeviceProfile in HWTEST_F() [all...] |
H A D | switch_adapter_test.cpp | 28 namespace DistributedDeviceProfile { namespace 44 OHOS::DistributedDeviceProfile:: in SetUpTestCase() 50 OHOS::DistributedDeviceProfile:: in TearDownTestCase() 72 int32_t ret = OHOS::DistributedDeviceProfile:: in HWTEST_F() 87 int32_t ret = OHOS::DistributedDeviceProfile:: in HWTEST_F() 103 int32_t ret = OHOS::DistributedDeviceProfile:: in HWTEST_F() 119 int32_t ret = OHOS::DistributedDeviceProfile:: in HWTEST_F() 135 int32_t ret = OHOS::DistributedDeviceProfile:: in HWTEST_F() 148 int32_t ret = OHOS::DistributedDeviceProfile:: in HWTEST_F() 161 int32_t ret = OHOS::DistributedDeviceProfile in HWTEST_F() [all...] |
H A D | static_capability_loader_test.cpp | 30 namespace DistributedDeviceProfile { namespace 68 int32_t ret = OHOS::DistributedDeviceProfile:: in HWTEST_F() 82 int32_t ret = OHOS::DistributedDeviceProfile:: in HWTEST_F() 97 int32_t ret = OHOS::DistributedDeviceProfile:: in HWTEST_F() 111 int32_t ret = OHOS::DistributedDeviceProfile:: in HWTEST_F() 125 int32_t ret = OHOS::DistributedDeviceProfile:: in HWTEST_F() 139 int32_t ret = OHOS::DistributedDeviceProfile:: in HWTEST_F() 153 int32_t ret = OHOS::DistributedDeviceProfile:: in HWTEST_F() 167 int32_t ret = OHOS::DistributedDeviceProfile:: in HWTEST_F() 181 int32_t ret = OHOS::DistributedDeviceProfile in HWTEST_F() [all...] |
H A D | static_capability_collector_test.cpp | 29 namespace DistributedDeviceProfile { namespace 66 int32_t ret = OHOS::DistributedDeviceProfile:: in HWTEST_F() 79 int32_t ret = OHOS::DistributedDeviceProfile:: in HWTEST_F() 92 int32_t ret = OHOS::DistributedDeviceProfile:: in HWTEST_F() 96 } // namespace DistributedDeviceProfile
|
H A D | distributed_device_profile_client_rdb_test.cpp | 32 namespace DistributedDeviceProfile { namespace 188 int32_t ret = OHOS::DistributedDeviceProfile::DistributedDeviceProfileClient:: in HWTEST_F() 212 int32_t ret = OHOS::DistributedDeviceProfile::DistributedDeviceProfileClient:: in HWTEST_F() 225 int32_t ret = OHOS::DistributedDeviceProfile::DistributedDeviceProfileClient:: in HWTEST_F() 237 int32_t ret = OHOS::DistributedDeviceProfile::DistributedDeviceProfileClient:: in HWTEST_F() 250 int32_t ret = OHOS::DistributedDeviceProfile::DistributedDeviceProfileClient:: in HWTEST_F() 263 int32_t ret = OHOS::DistributedDeviceProfile::DistributedDeviceProfileClient:: in HWTEST_F() 276 int32_t ret = OHOS::DistributedDeviceProfile::DistributedDeviceProfileClient:: in HWTEST_F() 287 int32_t ret = OHOS::DistributedDeviceProfile::DistributedDeviceProfileClient:: in HWTEST_F() 295 } // namespace DistributedDeviceProfile [all...] |
H A D | profile_change_listener_proxy_test.cpp | 31 namespace DistributedDeviceProfile { namespace 71 OHOS::DistributedDeviceProfile::ProfileListenerProxy proxy(nullptr); in HWTEST_F() 89 OHOS::DistributedDeviceProfile::ProfileListenerProxy proxy(nullptr); in HWTEST_F() 107 OHOS::DistributedDeviceProfile::ProfileListenerProxy proxy(nullptr); in HWTEST_F() 125 OHOS::DistributedDeviceProfile::ProfileListenerProxy proxy(nullptr); in HWTEST_F() 133 } // namespace DistributedDeviceProfile
|
H A D | sync_options_test.cpp | 30 namespace DistributedDeviceProfile { namespace 35 shared_ptr<DistributedDeviceProfile::DpSyncOptions> syncPtr = 36 make_shared<DistributedDeviceProfile::DpSyncOptions>(); 126 } // namespace DistributedDeviceProfile
|
/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_deviceprofile.cpp | 44 using DpClient = OHOS::DistributedDeviceProfile::DistributedDeviceProfileClient; 89 static bool IsTrustDevice(std::vector<OHOS::DistributedDeviceProfile::AccessControlProfile> &trustDevices, in IsTrustDevice() 93 if (trustDevice.GetDeviceIdType() != (uint32_t)OHOS::DistributedDeviceProfile::DeviceIdType::UDID || in IsTrustDevice() 94 trustDevice.GetBindType() == (uint32_t)OHOS::DistributedDeviceProfile::BindType::SAME_ACCOUNT || in IsTrustDevice() 133 std::vector<OHOS::DistributedDeviceProfile::AccessControlProfile> aclProfiles; in IsPotentialTrustedDeviceDp() 135 if (ret != OHOS::DistributedDeviceProfile::DP_NOT_FIND_DATA && ret != OHOS::DistributedDeviceProfile::DP_SUCCESS) { in IsPotentialTrustedDeviceDp() 196 static int32_t GenerateDpAccesserAndAccessee(OHOS::DistributedDeviceProfile::Accesser &accesser, in GenerateDpAccesserAndAccessee() 197 OHOS::DistributedDeviceProfile::Accessee &accessee, std::string peerUdid) in GenerateDpAccesserAndAccessee() 220 std::vector<OHOS::DistributedDeviceProfile in InsertDpSameAccount() [all...] |
/foundation/deviceprofile/device_info_manager/old/services/core/src/contentsensor/ |
H A D | device_info_collector.cpp | 55 return DistributedDeviceProfile::ContentSensorManagerUtils::GetInstance().ObtainProductModel(); in GetDeviceModel() 60 return DistributedDeviceProfile::ContentSensorManagerUtils::GetInstance().ObtainDeviceType(); in GetDevType() 65 return DistributedDeviceProfile::ContentSensorManagerUtils::GetInstance().ObtainManufacture(); in GetDeviceManufacturer() 70 return DistributedDeviceProfile::ContentSensorManagerUtils::GetInstance().ObtainSerial(); in GetDeviceSerial() 75 return DistributedDeviceProfile::ContentSensorManagerUtils::GetInstance().ObtainMarketName(); in GetDeviceName() 80 return DistributedDeviceProfile::ContentSensorManagerUtils::GetInstance().ObtainLocalUdid(); in GetDeviceUdid()
|
H A D | system_info_collector.cpp | 54 std::string osFullName = DistributedDeviceProfile::ContentSensorManagerUtils::GetInstance().ObtainOsFullName(); in GetOsType() 55 if (osFullName.empty() || osFullName.size() >= DistributedDeviceProfile::MAX_STRING_LEN) { in GetOsType() 69 return DistributedDeviceProfile::ContentSensorManagerUtils::GetInstance().ObtainDisplayVersion(); in GetOsVersion()
|
/foundation/deviceprofile/device_info_manager/services/core/test/fuzztest/profileutils_fuzzer/ |
H A D | profileutils_fuzzer.cpp | 31 namespace DistributedDeviceProfile { namespace 385 OHOS::DistributedDeviceProfile::GetProfileTypeFuzzTest(data, size); in LLVMFuzzerTestOneInput() 386 OHOS::DistributedDeviceProfile::StartsWithFuzzTest(data, size); in LLVMFuzzerTestOneInput() 387 OHOS::DistributedDeviceProfile::GetDeviceIdByDBKeyFuzzTest(data, size); in LLVMFuzzerTestOneInput() 388 OHOS::DistributedDeviceProfile::GetCharKeyByDBKeyFuzzTest(data, size); in LLVMFuzzerTestOneInput() 389 OHOS::DistributedDeviceProfile::SplitStringFuzzTest(data, size); in LLVMFuzzerTestOneInput() 390 OHOS::DistributedDeviceProfile::IsKeyValidFuzzTest(data, size); in LLVMFuzzerTestOneInput() 391 OHOS::DistributedDeviceProfile::GenerateDeviceProfileKeyFuzzTest(data, size); in LLVMFuzzerTestOneInput() 392 OHOS::DistributedDeviceProfile::GenerateServiceProfileKeyFuzzTest(data, size); in LLVMFuzzerTestOneInput() 393 OHOS::DistributedDeviceProfile in LLVMFuzzerTestOneInput() [all...] |
/foundation/deviceprofile/device_info_manager/services/core/test/fuzztest/trustprofilemanager_fuzzer/ |
H A D | trustprofilemanager_fuzzer.cpp | 32 namespace DistributedDeviceProfile { namespace 147 OHOS::DistributedDeviceProfile::GetAccessControlProfileByTokenIdFuzzTest(data, size); in LLVMFuzzerTestOneInput() 148 OHOS::DistributedDeviceProfile::GetAccessControlProfileOneFuzzTest(data, size); in LLVMFuzzerTestOneInput() 149 OHOS::DistributedDeviceProfile::GetAccessControlProfileTwoFuzzTest(data, size); in LLVMFuzzerTestOneInput() 150 OHOS::DistributedDeviceProfile::GetAllAccessControlProfileFuzzTest(data, size); in LLVMFuzzerTestOneInput() 151 OHOS::DistributedDeviceProfile::GetAccessControlProfileThreeFuzzTest(data, size); in LLVMFuzzerTestOneInput() 152 OHOS::DistributedDeviceProfile::GetAccessControlProfileFourFuzzTest(data, size); in LLVMFuzzerTestOneInput() 153 OHOS::DistributedDeviceProfile::GetAccessControlProfileFiveFuzzTest(data, size); in LLVMFuzzerTestOneInput() 154 OHOS::DistributedDeviceProfile::DeleteTrustDeviceProfileFuzzTest(data, size); in LLVMFuzzerTestOneInput() 155 OHOS::DistributedDeviceProfile in LLVMFuzzerTestOneInput() [all...] |
/foundation/distributedhardware/device_manager/commondependency/include/ |
H A D | deviceprofile_connector.h | 96 std::vector<DistributedDeviceProfile::AccessControlProfile> GetAccessControlProfile(); 97 std::vector<DistributedDeviceProfile::AccessControlProfile> GetAccessControlProfileByUserId(int32_t userId); 120 std::vector<int32_t> CompareBindType(std::vector<DistributedDeviceProfile::AccessControlProfile> profiles, 137 std::vector<DistributedDeviceProfile::AccessControlProfile> GetAllAccessControlProfile(); 141 int32_t HandleDmAuthForm(DistributedDeviceProfile::AccessControlProfile profiles, DmDiscoveryInfo discoveryInfo); 142 void GetParamBindTypeVec(DistributedDeviceProfile::AccessControlProfile profiles, std::string pkgName, 144 void ProcessBindType(DistributedDeviceProfile::AccessControlProfile profiles, DmDiscoveryInfo paramInfo, 146 int32_t GetAuthForm(DistributedDeviceProfile::AccessControlProfile profiles, const std::string &trustDev, 148 int32_t CheckAuthForm(DmAuthForm form, DistributedDeviceProfile::AccessControlProfile profiles, 150 bool SingleUserProcess(const DistributedDeviceProfile [all...] |
/foundation/communication/dsoftbus/tests/core/authentication/unittest/ |
H A D | auth_device_profile_listener_test.cpp | 77 profile.SetBindType((uint32_t)OHOS::DistributedDeviceProfile::BindType::SAME_ACCOUNT);
in HWTEST_F() 218 DistributedDeviceProfile::ServiceProfile profile;
in HWTEST_F() 231 DistributedDeviceProfile::ServiceProfile profile;
in HWTEST_F() 244 DistributedDeviceProfile::CharacteristicProfile profile;
in HWTEST_F() 257 DistributedDeviceProfile::CharacteristicProfile profile;
in HWTEST_F() 270 DistributedDeviceProfile::CharacteristicProfile profile;
in HWTEST_F()
|
/foundation/ability/dmsfwk/interfaces/innerkits/distributed_event/include/ |
H A D | dms_static_capability.h | 28 class DmsStaticCapability : public DistributedDeviceProfile::IStaticCapabilityCollector { 39 API_EXPORT DistributedDeviceProfile::IStaticCapabilityCollector* GetStaticCapabilityCollector();
|
/foundation/distributedhardware/device_manager/test/commonunittest/ |
H A D | UTTest_dm_deviceprofile_connector.cpp | 72 DistributedDeviceProfile::AccessControlProfile profiles; in HWTEST_F() 81 DistributedDeviceProfile::AccessControlProfile profiles; in HWTEST_F() 91 DistributedDeviceProfile::AccessControlProfile profiles; in HWTEST_F() 105 DistributedDeviceProfile::AccessControlProfile profiles; in HWTEST_F() 119 DistributedDeviceProfile::AccessControlProfile profiles; in HWTEST_F() 129 DistributedDeviceProfile::AccessControlProfile profiles; in HWTEST_F() 143 DistributedDeviceProfile::AccessControlProfile profiles; in HWTEST_F() 157 DistributedDeviceProfile::AccessControlProfile profiles; in HWTEST_F() 200 DistributedDeviceProfile::AccessControlProfile profiles; in HWTEST_F() 211 DistributedDeviceProfile in HWTEST_F() [all...] |
/foundation/deviceprofile/device_info_manager/common/include/utils/ |
H A D | ipc_utils.h | 37 namespace DistributedDeviceProfile { namespace 46 OHOS::DistributedDeviceProfile::SubscribeInfo>& listenerMap); 54 OHOS::DistributedDeviceProfile::SubscribeInfo>& listenerMap); 57 } // namespace DistributedDeviceProfile
|
/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/ |
H A D | distributed_device_profile_stub_test.cpp | 32 using namespace OHOS::DistributedDeviceProfile;
115 uint32_t code = static_cast<uint32_t>(DistributedDeviceProfile::DPInterfaceCode::PUT_ACL_PROFILE);
in HWTEST_F() 139 uint32_t code = static_cast<uint32_t>(DistributedDeviceProfile::DPInterfaceCode::GET_TRUST_DEVICE_PROFILE);
in HWTEST_F() 151 uint32_t code = static_cast<uint32_t>(DistributedDeviceProfile::DPInterfaceCode::GET_ALL_TRUST_DEVICE_PROFILE);
in HWTEST_F() 163 uint32_t code = static_cast<uint32_t>(DistributedDeviceProfile::DPInterfaceCode::GET_ACL_PROFILE);
in HWTEST_F() 175 uint32_t code = static_cast<uint32_t>(DistributedDeviceProfile::DPInterfaceCode::GET_ALL_ACL_PROFILE);
in HWTEST_F() 187 uint32_t code = static_cast<uint32_t>(DistributedDeviceProfile::DPInterfaceCode::DELETE_ACL_PROFILE);
in HWTEST_F() 199 uint32_t code = static_cast<uint32_t>(DistributedDeviceProfile::DPInterfaceCode::SUBSCRIBE_DEVICE_PROFILE);
in HWTEST_F() 211 uint32_t code = static_cast<uint32_t>(DistributedDeviceProfile::DPInterfaceCode::UNSUBSCRIBE_DEVICE_PROFILE);
in HWTEST_F() 223 uint32_t code = static_cast<uint32_t>(DistributedDeviceProfile in HWTEST_F() [all...] |
/foundation/deviceprofile/device_info_manager/services/core/src/contentsensormanager/ |
H A D | collaboration_info_collector.cpp | 24 namespace DistributedDeviceProfile { namespace 72 return DistributedDeviceProfile::ContentSensorManagerUtils::GetInstance().ObtainLocalUdid(); in GetDeviceUdid()
|
H A D | system_info_collector.cpp | 28 namespace DistributedDeviceProfile { namespace 78 return DistributedDeviceProfile::ContentSensorManagerUtils::GetInstance().ObtainDisplayVersion(); in GetOsVersion()
|
/foundation/deviceprofile/device_info_manager/services/core/test/fuzztest/newdeviceprofile_fuzzer/ |
H A D | new_device_profile_fuzzer.cpp | 33 namespace DistributedDeviceProfile { namespace 111 if (size < OHOS::DistributedDeviceProfile::THRESHOLD) { in LLVMFuzzerTestOneInput() 114 OHOS::DistributedDeviceProfile::FuzzDeviceProfile(data, size); in LLVMFuzzerTestOneInput()
|
/foundation/distributeddatamgr/pasteboard/framework/framework/device/ |
H A D | dev_profile.cpp | 29 using namespace OHOS::DistributedDeviceProfile; 153 DistributedDeviceProfile::CharacteristicProfile profile; in PutEnabledStatus() 159 if (errNo != HANDLE_OK && errNo != DistributedDeviceProfile::DP_CACHE_EXIST) { in PutEnabledStatus() 177 DistributedDeviceProfile::CharacteristicProfile profile; in GetEnabledStatus() 202 DistributedDeviceProfile::CharacteristicProfile profile; in GetRemoteDeviceVersion() 241 DistributedDeviceProfile::SubscribeInfo subscribeInfo; in SubscribeProfileEvent()
|