/foundation/deviceprofile/device_info_manager/common/src/interfaces/ |
H A D | device_profile.cpp | 25 const std::string TAG = "DeviceProfile"; 27 std::string DeviceProfile::GetDeviceId() const in GetDeviceId() 32 void DeviceProfile::SetDeviceId(const std::string& deviceId) in SetDeviceId() 37 std::string DeviceProfile::GetDeviceTypeName() const in GetDeviceTypeName() 42 void DeviceProfile::SetDeviceTypeName(const std::string &deviceTypeName) in SetDeviceTypeName() 47 int32_t DeviceProfile::GetDeviceTypeId() const in GetDeviceTypeId() 52 void DeviceProfile::SetDeviceTypeId(int32_t deviceTypeId) in SetDeviceTypeId() 57 std::string DeviceProfile::GetDeviceName() const in GetDeviceName() 62 void DeviceProfile::SetDeviceName(const std::string& deviceName) in SetDeviceName() 67 std::string DeviceProfile [all...] |
H A D | profile_change_listener_proxy.cpp | 77 int32_t ProfileListenerProxy::OnDeviceProfileAdd(const DeviceProfile& profile) in OnDeviceProfileAdd() 92 int32_t ProfileListenerProxy::OnDeviceProfileDelete(const DeviceProfile& profile) in OnDeviceProfileDelete() 107 int32_t ProfileListenerProxy::OnDeviceProfileUpdate(const DeviceProfile& oldProfile, const DeviceProfile& newProfile) in OnDeviceProfileUpdate()
|
/foundation/deviceprofile/device_info_manager/services/core/test/unittest/ |
H A D | dp_content_sensor_test.cpp | 66 bool ConvertToProfile(DeviceProfile& deviceProfile) override 80 DeviceProfile profile; in HWTEST_F() 121 DeviceProfile profile; in HWTEST_F() 137 DeviceProfile profile; in HWTEST_F() 153 DeviceProfile profile; in HWTEST_F() 169 DeviceProfile profile; in HWTEST_F()
|
H A D | device_profile_manager_test.cpp | 162 DeviceProfile deviceProfile; in HWTEST_F() 188 DeviceProfile deviceProfile; in HWTEST_F() 213 DeviceProfile deviceProfile1; in HWTEST_F() 227 DeviceProfile deviceProfile2; in HWTEST_F() 253 DeviceProfile deviceProfile10; in HWTEST_F() 279 DeviceProfile deviceProfile11; in HWTEST_F() 309 DeviceProfile deviceProfile; in HWTEST_F() 714 DeviceProfile deviceProfile2; in HWTEST_F() 731 DeviceProfile outDeviceProfile; in HWTEST_F() 758 DeviceProfile outDeviceProfil in HWTEST_F() [all...] |
H A D | dp_subscribe_info_test.cpp | 71 int32_t OnDeviceProfileAdd(const DeviceProfile& profile) in OnDeviceProfileAdd() 75 int32_t OnDeviceProfileDelete(const DeviceProfile& profile) in OnDeviceProfileDelete() 79 int32_t OnDeviceProfileUpdate(const DeviceProfile& oldProfile, const DeviceProfile& newProfile) in OnDeviceProfileUpdate() 261 DeviceProfile oldDeviceProfile; in HWTEST_F() 262 DeviceProfile newDeviceProfile; in HWTEST_F()
|
/foundation/deviceprofile/device_info_manager/old/services/core/test/fuzztest/profilechangenotification_fuzzer/ |
H A D | profilechangenotification_fuzzer.cpp | 28 namespace DeviceProfile { namespace 77 OHOS::DeviceProfile::GetProfileEntriesFuzzTest(data, size); in LLVMFuzzerTestOneInput() 78 OHOS::DeviceProfile::GetDeviceIdFuzzTest(data, size); in LLVMFuzzerTestOneInput() 79 OHOS::DeviceProfile::MarshallingFuzzTest(data, size); in LLVMFuzzerTestOneInput() 80 OHOS::DeviceProfile::UnmarshallingFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/ |
H A D | test_util.cpp | 23 namespace DeviceProfile { namespace 24 void DeviceProfile::TestUtil::MockPermission(const std::string& procName) in MockPermission() 32 void DeviceProfile::TestUtil::MockProcessAndPermission(const char* processName, const char *perms[], int32_t permsNum) in MockProcessAndPermission() 50 void DeviceProfile::TestUtil::MockInvalidTokenID() in MockInvalidTokenID()
|
/foundation/communication/dsoftbus/core/authentication/include/ |
H A D | auth_device_profile_listener.h | 37 int32_t OnDeviceProfileAdd(const DeviceProfile &profile); 38 int32_t OnDeviceProfileDelete(const DeviceProfile &profile); 39 int32_t OnDeviceProfileUpdate(const DeviceProfile &oldProfile, const DeviceProfile &newProfile);
|
/foundation/deviceprofile/device_info_manager/common/include/interfaces/ |
H A D | profile_change_listener_proxy.h | 35 int32_t OnDeviceProfileAdd(const DeviceProfile& profile) override; 36 int32_t OnDeviceProfileDelete(const DeviceProfile& profile) override; 37 int32_t OnDeviceProfileUpdate(const DeviceProfile& oldProfile, const DeviceProfile& newProfile) override;
|
H A D | i_profile_change_listener.h | 29 DECLARE_INTERFACE_DESCRIPTOR(u"OHOS.DeviceProfile.IProfileListener"); 36 virtual int32_t OnDeviceProfileAdd(const DeviceProfile& profile) = 0; 37 virtual int32_t OnDeviceProfileDelete(const DeviceProfile& profile) = 0; 38 virtual int32_t OnDeviceProfileUpdate(const DeviceProfile& oldProfile, const DeviceProfile& newProfile) = 0;
|
H A D | device_profile.h | 25 class DeviceProfile : public DpParcel { class 27 DeviceProfile() in DeviceProfile() function in OHOS::DistributedDeviceProfile::DeviceProfile 40 ~DeviceProfile() = default; 66 bool operator!=(const DeviceProfile& deviceProfile) const;
|
/foundation/deviceprofile/device_info_manager/common/test/profilechangelistenerstubunittest/ |
H A D | profile_change_listener_stub_test.h | 44 int32_t OnDeviceProfileAdd(const DeviceProfile& profile) override; 45 int32_t OnDeviceProfileDelete(const DeviceProfile& profile) override; 46 int32_t OnDeviceProfileUpdate(const DeviceProfile& oldProfile, const DeviceProfile& newProfile) override;
|
/foundation/deviceprofile/device_info_manager/common/test/deviceprofileunittest/ |
H A D | device_profile_test.cpp | 49 DeviceProfile deviceProfile; in HWTEST_F() 57 DeviceProfile deviceProfile; in HWTEST_F() 65 DeviceProfile deviceProfile; in HWTEST_F()
|
/foundation/deviceprofile/device_info_manager/old/services/core/test/fuzztest/subscribeprofileeventinner_fuzzer/ |
H A D | subscribeprofileeventinner_fuzzer.cpp | 32 namespace DeviceProfile { namespace 354 } // namespace DeviceProfile 360 OHOS::DeviceProfile::FuzzDumpLocalProfile(data, size); in LLVMFuzzerTestOneInput() 361 OHOS::DeviceProfile::PutAccessControlProfileInnerTest(data, size); in LLVMFuzzerTestOneInput() 362 OHOS::DeviceProfile::GetTrustDeviceProfileInnerTest(data, size); in LLVMFuzzerTestOneInput() 363 OHOS::DeviceProfile::UpdateAccessControlProfileInnerTest(data, size); in LLVMFuzzerTestOneInput() 364 OHOS::DeviceProfile::GetAllAccessControlProfileInnerTest(data, size); in LLVMFuzzerTestOneInput() 365 OHOS::DeviceProfile::DeleteAccessControlProfileInnerTest(data, size); in LLVMFuzzerTestOneInput() 366 OHOS::DeviceProfile::PutServiceProfileBatchInnerTest(data, size); in LLVMFuzzerTestOneInput() 367 OHOS::DeviceProfile in LLVMFuzzerTestOneInput() [all...] |
/foundation/deviceprofile/device_info_manager/services/core/src/contentsensormanager/ |
H A D | collector.cpp | 26 void Collector::Collect(const DeviceProfile& deviceProfile) in Collect() 30 bool Collector::ConvertToProfile(DeviceProfile& deviceProfile) in ConvertToProfile() 44 } // namespace DeviceProfile
|
/foundation/deviceprofile/device_info_manager/old/services/core/test/fuzztest/dumplocalprofile_fuzzer/ |
H A D | dumplocalprofile_fuzzer.cpp | 28 namespace DeviceProfile { namespace 43 OHOS::DeviceProfile::FuzzDumpLocalProfile(data, size); in LLVMFuzzerTestOneInput()
|
/foundation/deviceprofile/device_info_manager/services/core/include/contentsensormanager/ |
H A D | collector.h | 29 virtual bool ConvertToProfile(DeviceProfile& deviceProfile); 33 void Collect(const DeviceProfile& deviceProfile); 35 } // namespace DeviceProfile
|
/foundation/communication/dsoftbus/core/authentication/bind/ |
H A D | auth_device_profile_listener.cpp | 78 int32_t AuthDeviceProfileListener::OnDeviceProfileAdd(const DeviceProfile &profile) in OnDeviceProfileAdd() 84 int32_t AuthDeviceProfileListener::OnDeviceProfileDelete(const DeviceProfile &profile) in OnDeviceProfileDelete() 91 const DeviceProfile &oldProfile, const DeviceProfile &newProfile) in OnDeviceProfileUpdate()
|
/foundation/distributeddatamgr/pasteboard/framework/framework/include/device/ |
H A D | dev_profile.h | 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;
|
/foundation/deviceprofile/device_info_manager/old/services/core/test/fuzztest/deviceprofile_fuzzer/ |
H A D | device_profile_fuzzer.cpp | 34 namespace DeviceProfile { namespace 47 const std::u16string DP_INTERFACE_TOKEN = u"OHOS.DeviceProfile.IDistributedDeviceProfile"; 107 if (size < OHOS::DeviceProfile::THRESHOLD) { in LLVMFuzzerTestOneInput() 110 OHOS::DeviceProfile::FuzzDeviceProfile(data, size); in LLVMFuzzerTestOneInput()
|
/foundation/deviceprofile/device_info_manager/old/services/core/test/fuzztest/getdeviceprofile_fuzzer/ |
H A D | getdeviceprofile_fuzzer.cpp | 28 namespace DeviceProfile { namespace 61 OHOS::DeviceProfile::FuzzGetDeviceProfile(data, size); in LLVMFuzzerTestOneInput()
|
/foundation/deviceprofile/device_info_manager/old/services/core/src/ |
H A D | sync_options.cpp | 27 namespace DeviceProfile { namespace 67 syncMode_ = static_cast<DeviceProfile::SyncMode>(mode); in Unmarshalling() 80 } // namespace DeviceProfile
|
/foundation/deviceprofile/device_info_manager/old/services/core/test/fuzztest/putdeviceprofile_fuzzer/ |
H A D | putdeviceprofile_fuzzer.cpp | 30 namespace DeviceProfile { namespace 66 OHOS::DeviceProfile::FuzzPutDeviceProfile(data, size); in LLVMFuzzerTestOneInput()
|
/foundation/deviceprofile/device_info_manager/old/tools/dp/include/ |
H A D | dp_command.h | 29 namespace DeviceProfile { namespace 30 class DpShellCommand : public OHOS::DeviceProfile::ShellCommand { 62 } // namespace DeviceProfile
|
/foundation/deviceprofile/device_info_manager/services/core/include/utils/ |
H A D | profile_control_utils.h | 32 static int32_t PutDeviceProfile(std::shared_ptr<IKVAdapter> kvStore, const DeviceProfile& deviceProfile); 45 DeviceProfile& deviceProfile); 56 static int32_t GetAllDeviceProfile(std::shared_ptr<IKVAdapter> kvStore, std::vector<DeviceProfile>& deviceProfiles); 63 } // namespace DeviceProfile
|