Home
last modified time | relevance | path

Searched refs:newProfile (Results 1 - 23 of 23) sorted by relevance

/foundation/communication/dsoftbus/core/authentication/bind/
H A Dauth_device_profile_listener.cpp70 const TrustDeviceProfile &oldProfile, const TrustDeviceProfile &newProfile) in OnTrustDeviceProfileUpdate()
73 (void)newProfile; in OnTrustDeviceProfileUpdate()
91 const DeviceProfile &oldProfile, const DeviceProfile &newProfile) in OnDeviceProfileUpdate()
94 (void)newProfile; in OnDeviceProfileUpdate()
111 const ServiceProfile &oldProfile, const ServiceProfile &newProfile) in OnServiceProfileUpdate()
114 (void)newProfile; in OnServiceProfileUpdate()
131 const CharacteristicProfile &oldProfile, const CharacteristicProfile &newProfile) in OnCharacteristicProfileUpdate()
134 (void)newProfile; in OnCharacteristicProfileUpdate()
69 OnTrustDeviceProfileUpdate( const TrustDeviceProfile &oldProfile, const TrustDeviceProfile &newProfile) OnTrustDeviceProfileUpdate() argument
90 OnDeviceProfileUpdate( const DeviceProfile &oldProfile, const DeviceProfile &newProfile) OnDeviceProfileUpdate() argument
110 OnServiceProfileUpdate( const ServiceProfile &oldProfile, const ServiceProfile &newProfile) OnServiceProfileUpdate() argument
130 OnCharacteristicProfileUpdate( const CharacteristicProfile &oldProfile, const CharacteristicProfile &newProfile) OnCharacteristicProfileUpdate() argument
/foundation/deviceprofile/device_info_manager/services/core/test/unittest/
H A Dprofile_change_listener_proxy_test.cpp70 TrustDeviceProfile newProfile; in HWTEST_F() local
74 ret = proxy.OnTrustDeviceProfileUpdate(oldProfile, newProfile); in HWTEST_F()
88 DeviceProfile newProfile; in HWTEST_F() local
92 ret = proxy.OnDeviceProfileUpdate(oldProfile, newProfile); in HWTEST_F()
106 ServiceProfile newProfile; in HWTEST_F() local
110 ret = proxy.OnServiceProfileUpdate(oldProfile, newProfile); in HWTEST_F()
124 CharacteristicProfile newProfile; in HWTEST_F() local
128 ret = proxy.OnCharacteristicProfileUpdate(oldProfile, newProfile); in HWTEST_F()
H A Ddistributed_device_profile_client_rdb_test.cpp68 int32_t OnTrustDeviceProfileUpdate(const TrustDeviceProfile& oldProfile, const TrustDeviceProfile& newProfile) in OnTrustDeviceProfileUpdate() argument
71 cout << "OnTrustDeviceProfileUpdate: newProfile " << newProfile.dump() <<endl; in OnTrustDeviceProfileUpdate()
82 int32_t OnDeviceProfileUpdate(const DeviceProfile& oldProfile, const DeviceProfile& newProfile) in OnDeviceProfileUpdate() argument
94 int32_t OnServiceProfileUpdate(const ServiceProfile& oldProfile, const ServiceProfile& newProfile) in OnServiceProfileUpdate() argument
107 const CharacteristicProfile& newProfile) in OnCharacteristicProfileUpdate()
106 OnCharacteristicProfileUpdate(const CharacteristicProfile& oldProfile, const CharacteristicProfile& newProfile) OnCharacteristicProfileUpdate() argument
H A Ddp_subscribe_info_test.cpp65 int32_t OnTrustDeviceProfileUpdate(const TrustDeviceProfile& oldProfile, const TrustDeviceProfile& newProfile) in OnTrustDeviceProfileUpdate() argument
68 cout << "OnTrustDeviceProfileUpdate: newProfile " << newProfile.dump() <<endl; in OnTrustDeviceProfileUpdate()
79 int32_t OnDeviceProfileUpdate(const DeviceProfile& oldProfile, const DeviceProfile& newProfile) in OnDeviceProfileUpdate() argument
91 int32_t OnServiceProfileUpdate(const ServiceProfile& oldProfile, const ServiceProfile& newProfile) in OnServiceProfileUpdate() argument
104 const CharacteristicProfile& newProfile) in OnCharacteristicProfileUpdate()
103 OnCharacteristicProfileUpdate(const CharacteristicProfile& oldProfile, const CharacteristicProfile& newProfile) OnCharacteristicProfileUpdate() argument
H A Dsubscribe_profile_manager_test.cpp85 int32_t OnTrustDeviceProfileUpdate(const TrustDeviceProfile &oldProfile, const TrustDeviceProfile &newProfile) in OnTrustDeviceProfileUpdate() argument
97 int32_t OnDeviceProfileUpdate(const DeviceProfile &oldProfile, const DeviceProfile &newProfile) in OnDeviceProfileUpdate() argument
109 int32_t OnServiceProfileUpdate(const ServiceProfile &oldProfile, const ServiceProfile &newProfile) in OnServiceProfileUpdate() argument
122 const CharacteristicProfile &newProfile) in OnCharacteristicProfileUpdate()
225 TrustDeviceProfile newProfile; in HWTEST_F() local
226 int32_t errCode = SubscribeProfileManager::GetInstance().NotifyTrustDeviceProfileUpdate(oldProfile, newProfile); in HWTEST_F()
441 TrustDeviceProfile newProfile; in HWTEST_F() local
442 int32_t errCode = SubscribeProfileManager::GetInstance().NotifyTrustDeviceProfileUpdate(oldProfile, newProfile); in HWTEST_F()
645 TrustDeviceProfile newProfile; in HWTEST_F() local
646 int32_t errCode = SubscribeProfileManager::GetInstance().NotifyTrustDeviceProfileUpdate(oldProfile, newProfile); in HWTEST_F()
121 OnCharacteristicProfileUpdate(const CharacteristicProfile &oldProfile, const CharacteristicProfile &newProfile) OnCharacteristicProfileUpdate() argument
[all...]
H A Ddistributed_device_profile_client_kv_test.cpp78 int32_t OnTrustDeviceProfileUpdate(const TrustDeviceProfile &oldProfile, const TrustDeviceProfile &newProfile) in OnTrustDeviceProfileUpdate() argument
90 int32_t OnDeviceProfileUpdate(const DeviceProfile &oldProfile, const DeviceProfile &newProfile) in OnDeviceProfileUpdate() argument
102 int32_t OnServiceProfileUpdate(const ServiceProfile &oldProfile, const ServiceProfile &newProfile) in OnServiceProfileUpdate() argument
115 const CharacteristicProfile &newProfile) in OnCharacteristicProfileUpdate()
114 OnCharacteristicProfileUpdate(const CharacteristicProfile &oldProfile, const CharacteristicProfile &newProfile) OnCharacteristicProfileUpdate() argument
/foundation/communication/dsoftbus/core/authentication/include/
H A Dauth_device_profile_listener.h36 int32_t OnTrustDeviceProfileUpdate(const TrustDeviceProfile &oldProfile, const TrustDeviceProfile &newProfile);
39 int32_t OnDeviceProfileUpdate(const DeviceProfile &oldProfile, const DeviceProfile &newProfile);
42 int32_t OnServiceProfileUpdate(const ServiceProfile &oldProfile, const ServiceProfile &newProfile);
46 const CharacteristicProfile &oldProfile, const CharacteristicProfile &newProfile);
/foundation/deviceprofile/device_info_manager/common/include/interfaces/
H A Dprofile_change_listener_proxy.h34 const TrustDeviceProfile& newProfile) override;
37 int32_t OnDeviceProfileUpdate(const DeviceProfile& oldProfile, const DeviceProfile& newProfile) override;
40 int32_t OnServiceProfileUpdate(const ServiceProfile& oldProfile, const ServiceProfile& newProfile) override;
44 const CharacteristicProfile& newProfile) override;
H A Di_profile_change_listener.h35 const TrustDeviceProfile& newProfile) = 0;
38 virtual int32_t OnDeviceProfileUpdate(const DeviceProfile& oldProfile, const DeviceProfile& newProfile) = 0;
41 virtual int32_t OnServiceProfileUpdate(const ServiceProfile& oldProfile, const ServiceProfile& newProfile) = 0;
45 const CharacteristicProfile& newProfile) = 0;
/foundation/deviceprofile/device_info_manager/common/test/profilechangelistenerstubunittest/
H A Dprofile_change_listener_stub_test.h43 const TrustDeviceProfile& newProfile) override;
46 int32_t OnDeviceProfileUpdate(const DeviceProfile& oldProfile, const DeviceProfile& newProfile) override;
49 int32_t OnServiceProfileUpdate(const ServiceProfile& oldProfile, const ServiceProfile& newProfile) override;
53 const CharacteristicProfile& newProfile) override;
H A Dprofile_change_listener_stub_test.cpp57 const TrustDeviceProfile& newProfile) in OnTrustDeviceProfileUpdate()
60 (void)newProfile; in OnTrustDeviceProfileUpdate()
78 const DeviceProfile& newProfile) in OnDeviceProfileUpdate()
81 (void)newProfile; in OnDeviceProfileUpdate()
98 const ServiceProfile& newProfile) in OnServiceProfileUpdate()
101 (void)newProfile; in OnServiceProfileUpdate()
115 const CharacteristicProfile& newProfile) in OnCharacteristicProfileUpdate()
118 (void)newProfile; in OnCharacteristicProfileUpdate()
56 OnTrustDeviceProfileUpdate(const TrustDeviceProfile& oldProfile, const TrustDeviceProfile& newProfile) OnTrustDeviceProfileUpdate() argument
77 OnDeviceProfileUpdate(const DeviceProfile& oldProfile, const DeviceProfile& newProfile) OnDeviceProfileUpdate() argument
97 OnServiceProfileUpdate(const ServiceProfile& oldProfile, const ServiceProfile& newProfile) OnServiceProfileUpdate() argument
114 OnCharacteristicProfileUpdate(const CharacteristicProfile& oldProfile, const CharacteristicProfile& newProfile) OnCharacteristicProfileUpdate() argument
/foundation/multimedia/camera_framework/frameworks/native/ndk/impl/
H A Dvideo_output_impl.cpp137 Camera_VideoProfile* newProfile = new Camera_VideoProfile; in GetVideoProfile() local
138 CHECK_AND_RETURN_RET_LOG(newProfile != nullptr, CAMERA_SERVICE_FATAL_ERROR, in GetVideoProfile()
141 newProfile->format = itr->second; in GetVideoProfile()
142 newProfile->range.min = static_cast<uint32_t>(frames[0]); in GetVideoProfile()
143 newProfile->range.max = static_cast<uint32_t>(frames[1]); in GetVideoProfile()
144 newProfile->size.width = videoOutputProfile->GetSize().width; in GetVideoProfile()
145 newProfile->size.height = videoOutputProfile->GetSize().height; in GetVideoProfile()
147 *profile = newProfile; in GetVideoProfile()
H A Dpreview_output_impl.cpp131 Camera_Profile* newProfile = new Camera_Profile; in GetActiveProfile() local
132 CHECK_AND_RETURN_RET_LOG(newProfile != nullptr, CAMERA_SERVICE_FATAL_ERROR, in GetActiveProfile()
135 newProfile->format = itr->second; in GetActiveProfile()
136 newProfile->size.width = previewOutputProfile->GetSize().width; in GetActiveProfile()
137 newProfile->size.height = previewOutputProfile->GetSize().height; in GetActiveProfile()
139 *profile = newProfile; in GetActiveProfile()
H A Dphoto_output_impl.cpp378 Camera_Profile* newProfile = new Camera_Profile; in GetActiveProfile() local
379 CHECK_AND_RETURN_RET_LOG(newProfile != nullptr, CAMERA_SERVICE_FATAL_ERROR, in GetActiveProfile()
382 newProfile->format = itr->second; in GetActiveProfile()
383 newProfile->size.width = photoOutputProfile->GetSize().width; in GetActiveProfile()
384 newProfile->size.height = photoOutputProfile->GetSize().height; in GetActiveProfile()
386 *profile = newProfile; in GetActiveProfile()
/foundation/deviceprofile/device_info_manager/common/src/interfaces/
H A Dprofile_change_listener_proxy.cpp58 const TrustDeviceProfile& newProfile) in OnTrustDeviceProfileUpdate()
68 if (!newProfile.Marshalling(data)) { in OnTrustDeviceProfileUpdate()
107 int32_t ProfileListenerProxy::OnDeviceProfileUpdate(const DeviceProfile& oldProfile, const DeviceProfile& newProfile) in OnDeviceProfileUpdate() argument
117 if (!newProfile.Marshalling(data)) { in OnDeviceProfileUpdate()
156 int32_t ProfileListenerProxy::OnServiceProfileUpdate(const ServiceProfile& oldProfile, const ServiceProfile& newProfile) in OnServiceProfileUpdate() argument
166 if (!newProfile.Marshalling(data)) { in OnServiceProfileUpdate()
206 const CharacteristicProfile& newProfile) in OnCharacteristicProfileUpdate()
216 if (!newProfile.Marshalling(data)) { in OnCharacteristicProfileUpdate()
57 OnTrustDeviceProfileUpdate(const TrustDeviceProfile& oldProfile, const TrustDeviceProfile& newProfile) OnTrustDeviceProfileUpdate() argument
205 OnCharacteristicProfileUpdate(const CharacteristicProfile& oldProfile, const CharacteristicProfile& newProfile) OnCharacteristicProfileUpdate() argument
/foundation/systemabilitymgr/samgr/services/samgr/native/source/
H A Dsystem_ability_manager_util.cpp221 void SamgrUtil::FilterCommonSaProfile(const SaProfile& oldProfile, CommonSaProfile& newProfile) in FilterCommonSaProfile() argument
223 newProfile.process = oldProfile.process; in FilterCommonSaProfile()
224 newProfile.saId = oldProfile.saId; in FilterCommonSaProfile()
225 newProfile.moduleUpdate = oldProfile.moduleUpdate; in FilterCommonSaProfile()
226 newProfile.distributed = oldProfile.distributed; in FilterCommonSaProfile()
227 newProfile.cacheCommonEvent = oldProfile.cacheCommonEvent; in FilterCommonSaProfile()
228 newProfile.startAllowUpdate = oldProfile.startOnDemand.allowUpdate; in FilterCommonSaProfile()
229 newProfile.stopAllowUpdate = oldProfile.stopOnDemand.allowUpdate; in FilterCommonSaProfile()
230 newProfile.recycleStrategy = oldProfile.recycleStrategy; in FilterCommonSaProfile()
231 newProfile in FilterCommonSaProfile()
[all...]
/foundation/distributeddatamgr/pasteboard/framework/framework/include/device/
H A Ddev_profile.h51 const DistributedDeviceProfile::TrustDeviceProfile &newProfile) override;
55 const DistributedDeviceProfile::DeviceProfile &newProfile) override;
59 const DistributedDeviceProfile::ServiceProfile &newProfile) override;
63 const DistributedDeviceProfile::CharacteristicProfile &newProfile) override;
/foundation/distributeddatamgr/pasteboard/framework/framework/device/
H A Ddev_profile.cpp59 const TrustDeviceProfile &oldProfile, const TrustDeviceProfile &newProfile) in OnTrustDeviceProfileUpdate()
78 const DeviceProfile &oldProfile, const DeviceProfile &newProfile) in OnDeviceProfileUpdate()
97 const ServiceProfile &oldProfile, const ServiceProfile &newProfile) in OnServiceProfileUpdate()
116 const CharacteristicProfile &oldProfile, const CharacteristicProfile &newProfile) in OnCharacteristicProfileUpdate()
119 DevProfile::GetInstance().Notify(newProfile.GetCharacteristicValue() == SUPPORT_STATUS); in OnCharacteristicProfileUpdate()
58 OnTrustDeviceProfileUpdate( const TrustDeviceProfile &oldProfile, const TrustDeviceProfile &newProfile) OnTrustDeviceProfileUpdate() argument
77 OnDeviceProfileUpdate( const DeviceProfile &oldProfile, const DeviceProfile &newProfile) OnDeviceProfileUpdate() argument
96 OnServiceProfileUpdate( const ServiceProfile &oldProfile, const ServiceProfile &newProfile) OnServiceProfileUpdate() argument
115 OnCharacteristicProfileUpdate( const CharacteristicProfile &oldProfile, const CharacteristicProfile &newProfile) OnCharacteristicProfileUpdate() argument
/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/hgm_screen_manager/
H A Dhgm_screen.cpp107 auto newProfile = std::make_shared<ScreenProfile>(width, height, rate, modeId); in AddScreenModeInfo() local
108 screenModeInfos_.emplace_back(newProfile); in AddScreenModeInfo()
/foundation/systemabilitymgr/samgr/services/samgr/native/include/
H A Dsystem_ability_manager_util.h47 static void FilterCommonSaProfile(const SaProfile& oldProfile, CommonSaProfile& newProfile);
/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/
H A Dprofile_service_manager.cpp159 IProfile *newProfile = ClassCreator<IProfile>::NewInstance(sp.name_); in CreateBleProfileServices() local
160 if (newProfile != nullptr) { in CreateBleProfileServices()
162 newProfile->GetContext()->Initialize(); in CreateBleProfileServices()
163 newProfile->GetContext()->RegisterCallback(*(pimpl->contextCallback_)); in CreateBleProfileServices()
164 pimpl->startedProfiles_.SetProfile(BTTransport::ADAPTER_BLE, sp.name_, newProfile); in CreateBleProfileServices()
/foundation/deviceprofile/device_info_manager/services/core/src/trustprofilemanager/
H A Dtrust_profile_manager.cpp1247 const TrustDeviceProfile &newProfile) in UpdateTrustDeviceProfileNotify()
1249 if (oldProfile.GetStatus() == 1 && newProfile.GetStatus() == 0) { in UpdateTrustDeviceProfileNotify()
1250 int32_t ret = SubscribeProfileManager::GetInstance().NotifyTrustDeviceProfileDelete(newProfile); in UpdateTrustDeviceProfileNotify()
1256 if (oldProfile.GetStatus() == 0 && newProfile.GetStatus() == 1) { in UpdateTrustDeviceProfileNotify()
1257 int32_t ret = SubscribeProfileManager::GetInstance().NotifyTrustDeviceProfileAdd(newProfile); in UpdateTrustDeviceProfileNotify()
1263 if (oldProfile.GetDeviceId() != newProfile.GetDeviceId() || in UpdateTrustDeviceProfileNotify()
1264 oldProfile.GetDeviceIdHash() != newProfile.GetDeviceIdHash() || in UpdateTrustDeviceProfileNotify()
1265 oldProfile.GetDeviceIdType() != newProfile.GetDeviceIdType()) { in UpdateTrustDeviceProfileNotify()
1266 int32_t ret = SubscribeProfileManager::GetInstance().NotifyTrustDeviceProfileUpdate(oldProfile, newProfile); in UpdateTrustDeviceProfileNotify()
1246 UpdateTrustDeviceProfileNotify(const TrustDeviceProfile& oldProfile, const TrustDeviceProfile &newProfile) UpdateTrustDeviceProfileNotify() argument
/foundation/deviceprofile/device_info_manager/services/core/include/trustprofilemanager/
H A Dtrust_profile_manager.h92 const TrustDeviceProfile& newProfile);

Completed in 21 milliseconds