Home
last modified time | relevance | path

Searched refs:Profile (Results 1 - 25 of 88) sorted by relevance

1234

/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/
H A Dprofile.cpp24 Profile::Profile(const std::string &name) : profileName_(name) in Profile() function in OHOS::AppExecFwk::Profile
27 bool Profile::ReadFromParcel(Parcel &parcel) in ReadFromParcel()
34 Profile *Profile::Unmarshalling(Parcel &parcel) in Unmarshalling()
36 Profile *profile = new (std::nothrow) Profile(); in Unmarshalling()
45 bool Profile::Marshalling(Parcel &parcel) const in Marshalling()
H A Dapp_launch_data.cpp27 void AppLaunchData::SetProfile(const Profile &profile) in SetProfile()
126 std::unique_ptr<Profile> profileRead(parcel.ReadParcelable<Profile>()); in ReadFromParcel()
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/output/
H A Dcamera_output_capability.h72 class Profile { class
74 Profile(CameraFormat format, Size size);
75 Profile(CameraFormat format, Size size, int32_t specId);
76 Profile(CameraFormat format, Size size, Fps fps, std::vector<uint32_t> abilityId);
77 Profile(CameraFormat format, Size size, Fps fps, std::vector<uint32_t> abilityId, int32_t specId);
78 Profile() = default;
79 Profile& operator=(const Profile& profile) in operator =()
89 bool operator==(const Profile& profile) in operator ==()
94 virtual ~Profile() in operator ==()
[all...]
H A Dcapture_output.h132 void SetPhotoProfile(Profile& profile);
133 std::shared_ptr<Profile> GetPhotoProfile();
134 void SetPreviewProfile(Profile& profile);
135 std::shared_ptr<Profile> GetPreviewProfile();
169 std::shared_ptr<Profile> photoProfile_;
171 std::shared_ptr<Profile> previewProfile_;
/foundation/multimedia/camera_framework/frameworks/native/camera/src/output/
H A Dcamera_output_capability.cpp38 bool IsProfileSameRatio(Profile& srcProfile, ProfileSizeRatio sizeRatio, float unspecifiedValue) in IsProfileSameRatio()
47 Profile::Profile(CameraFormat format, Size size) : format_(format), size_(size), specId_(0) {} in Profile() function in OHOS::CameraStandard::Profile
48 Profile::Profile(CameraFormat format, Size size, int32_t specId) : format_(format), size_(size), specId_(specId) {} in Profile() function in OHOS::CameraStandard::Profile
49 Profile::Profile(CameraFormat format, Size size, Fps fps, std::vector<uint32_t> abilityId) in Profile() function in OHOS::CameraStandard::Profile
51 Profile::Profile(CameraFormat format, Size size, Fps fps, std::vector<uint32_t> abilityId, int32_t specId) in Profile() function in OHOS::CameraStandard::Profile
53 CameraFormat Profile in Profile()
[all...]
H A Dcapture_output.cpp143 void CaptureOutput::SetPhotoProfile(Profile& profile) in SetPhotoProfile()
146 photoProfile_ = std::make_shared<Profile>(profile); in SetPhotoProfile()
149 std::shared_ptr<Profile> CaptureOutput::GetPhotoProfile() in GetPhotoProfile()
155 void CaptureOutput::SetPreviewProfile(Profile& profile) in SetPreviewProfile()
158 previewProfile_ = std::make_shared<Profile>(profile); in SetPreviewProfile()
161 std::shared_ptr<Profile> CaptureOutput::GetPreviewProfile() in GetPreviewProfile()
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/include/appmgr/
H A Dprofile.h26 class Profile : public Parcelable { class
28 Profile() = default;
29 explicit Profile(const std::string &name);
30 virtual ~Profile() = default;
62 static Profile *Unmarshalling(Parcel &parcel);
H A Dapp_launch_data.h56 * @param Profile&, the current profile.
58 void SetProfile(const Profile &profile);
63 * @param Profile&, the current process info.
105 inline const Profile &GetProfile() const in GetProfile()
261 Profile profile_;
/foundation/multimedia/camera_framework/frameworks/native/camera/test/moduletest/include/
H A Dcamera_framework_moduletest.h35 Profile preview;
36 Profile photo;
74 std::vector<Profile> previewProfiles;
75 std::vector<Profile> photoProfiles;
90 sptr<CaptureOutput> CreatePreviewOutput(Profile& profile);
99 sptr<CaptureOutput> CreatePhotoOutput(Profile profile);
101 Profile SelectProfileByRatioAndFormat(sptr<CameraOutputCapability>& modeAbility,
108 Profile previewProfile, Profile photoProfile);
123 std::shared_ptr<Profile> GetSketchPreviewProfil
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dmodule_profile.cpp30 namespace Profile { namespace
264 std::string bundleType = Profile::BUNDLE_TYPE_APP;
266 std::string compileSdkType = Profile::COMPILE_SDK_TYPE_OPEN_HARMONY;
1512 } // namespace Profile
1520 void GetMetadata(std::vector<Metadata> &metadata, const std::vector<Profile::Metadata> &profileMetadata) in GetMetadata()
1522 for (const Profile::Metadata &item : profileMetadata) { in GetMetadata()
1531 void GetHnpPackage(std::vector<HnpPackage> &hnpPackage, const std::vector<Profile::HnpPackage> &profileHnpPackage) in GetHnpPackage()
1533 for (const Profile::HnpPackage &item : profileHnpPackage) { in GetHnpPackage()
1617 const Profile::ModuleJson &moduleJson, in ParserNativeSo()
1703 nlohmann::json moduleJson = jsonObject.at(Profile in ParserAtomicModuleConfig()
[all...]
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/bundle_parser/
H A Dmodule_profile.cpp81 namespace Profile { namespace
249 std::string bundleType = Profile::BUNDLE_TYPE_APP;
251 std::string compileSdkType = Profile::COMPILE_SDK_TYPE_OPEN_HARMONY;
1377 } // namespace Profile
1385 void GetMetadata(std::vector<Metadata> &metadata, const std::vector<Profile::Metadata> &profileMetadata) in GetMetadata()
1387 for (const Profile::Metadata &item : profileMetadata) { in GetMetadata()
1444 const Profile::ModuleJson &moduleJson, in ToApplicationInfo()
1491 applicationInfo.entityType = Profile::APP_ENTITY_TYPE_DEFAULT_VALUE; in ToApplicationInfo()
1494 if (app.bundleType == Profile::BUNDLE_TYPE_ATOMIC_SERVICE) { in ToApplicationInfo()
1504 auto iterBundleType = std::find_if(std::begin(Profile in ToApplicationInfo()
[all...]
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/input/
H A Dcamera_manager.h245 sptr<PhotoOutput> CreatePhotoOutput(Profile& profile, sptr<IBufferProducer>& surface);
291 int CreatePhotoOutput(Profile& profile, sptr<IBufferProducer>& surface, sptr<PhotoOutput>* pPhotoOutput);
368 sptr<PreviewOutput> CreatePreviewOutput(Profile& profile, sptr<Surface> surface);
378 int CreatePreviewOutput(Profile& profile, sptr<Surface> surface, sptr<PreviewOutput>* pPreviewOutput);
412 sptr<PreviewOutput> CreateDeferredPreviewOutput(Profile& profile);
421 int CreateDeferredPreviewOutput(Profile& profile, sptr<PreviewOutput>* pPreviewOutput);
672 sptr<IStreamRepeat>& streamPtr, Profile& profile, const sptr<OHOS::IBufferProducer>& producer);
675 sptr<IStreamRepeat>& streamPtr, Profile& profile, const sptr<OHOS::IBufferProducer>& producer);
678 sptr<IStreamCapture>& streamPtr, Profile& profile, const sptr<OHOS::IBufferProducer>& producer);
731 std::vector<Profile> photoProfile
[all...]
H A Dcamera_device.h212 template<typename T, typename = std::enable_if_t<std::is_same_v<T, Profile> || std::is_same_v<T, VideoProfile>>>
237 std::unordered_map<int32_t, std::vector<Profile>> modePreviewProfiles_ = {};
238 std::unordered_map<int32_t, std::vector<Profile>> modePhotoProfiles_ = {};
/foundation/distributedhardware/distributed_camera/services/cameraservice/cameraoperator/handler/include/
H A Ddcamera_handler.h59 std::vector<CameraStandard::Profile>& profileList, std::set<int32_t>& formatSet);
61 std::vector<CameraStandard::Profile>& profileList);
63 std::vector<CameraStandard::Profile>& profileList);
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/session/
H A Dphoto_session.h71 bool IsPhotoProfileLegal(sptr<CameraDevice>& device, Profile& photoProfile);
72 bool IsPreviewProfileLegal(sptr<CameraDevice>& device, Profile& previewProfile);
H A Dvideo_session.h71 bool IsPhotoProfileLegal(sptr<CameraDevice>& device, Profile& photoProfile);
72 bool IsPreviewProfileLegal(sptr<CameraDevice>& device, Profile& previewProfile);
H A Dcapture_session.h91 Profile previewProfile;
92 Profile photoProfile;
1237 bool ValidateOutputProfile(Profile& outputProfile, CaptureOutputType outputType);
1358 std::vector<sptr<CameraAbility>> GetSessionFunctions(std::vector<Profile>& previewProfiles,
1359 std::vector<Profile>& photoProfiles,
1777 Profile photoProfile_;
1778 Profile previewProfile_;
1900 void PopulateProfileLists(std::vector<Profile>& photoProfileList,
1901 std::vector<Profile>& previewProfileList,
1904 std::map<int32_t, std::vector<Profile>>
[all...]
/foundation/ability/ability_runtime/test/mock/services_appmgr_test/include/
H A Dmock_application_proxy.h39 MOCK_METHOD1(ScheduleProfileChanged, void(const Profile&));
120 void ProfileChanged(const Profile& profile) in ProfileChanged()
126 bool CompareProfile(const Profile& profile) const in CompareProfile()
141 Profile profile_;
H A Dmock_application.h38 MOCK_METHOD1(ScheduleProfileChanged, void(const Profile&));
119 void ProfileChanged(const Profile& profile) in ProfileChanged()
125 bool CompareProfile(const Profile& profile) const in CompareProfile()
140 Profile profile_;
/foundation/ability/ability_runtime/test/unittest/app_launch_data_test/
H A Dapp_launch_data_test.cpp104 parcel.ReadParcelable<Profile>(); in HWTEST_F()
125 sptr<Profile> profile = new Profile(); in HWTEST_F()
/foundation/multimedia/camera_framework/interfaces/inner_api/native/test/
H A Dcamera_capture.cpp147 std::vector<Profile> previewProfiles = outputcapability->GetPreviewProfiles(); in main()
164 std::vector<Profile> photoProfiles = outputcapability->GetPhotoProfiles(); in main()
212 Profile photoprofile = Profile(static_cast<CameraFormat>(photoFormat), photosize); in main()
238 Profile previewprofile = Profile(static_cast<CameraFormat>(previewFormat), previewsize); in main()
H A Dcamera_capture_video.cpp324 std::vector<Profile> previewProfiles = outputcapability->GetPreviewProfiles(); in InitCameraFormatAndResolution()
341 std::vector<Profile> photoProfiles = outputcapability->GetPhotoProfiles(); in InitCameraFormatAndResolution()
464 Profile previewprofile_ = Profile(static_cast<CameraFormat>(previewFormat_), previewsize_); in InitPreviewOutput()
504 Profile previewprofile2_ = Profile(static_cast<CameraFormat>(previewFormat_), previewsize2_); in InitSecondPreviewOutput()
548 Profile photoprofile_ = Profile(static_cast<CameraFormat>(photoFormat_), photosize_); in InitPhotoOutput()
/foundation/ai/ai_engine/services/common/platform/os_wrapper/audio_loader/include/
H A Daudio_utils.h38 Profile GetProfileFromAudioCoderFormat(AudioCodecFormat format);
/foundation/multimedia/camera_framework/interfaces/kits/js/camera_napi/include/
H A Dcamera_napi_object_types.h69 explicit CameraNapiObjProfile(Profile& profile) : profile_(profile) {} in CameraNapiObjProfile()
73 Profile& profile_;
/foundation/multimedia/camera_framework/frameworks/native/ndk/impl/
H A Dcamera_manager_impl.h103 std::vector<OHOS::CameraStandard::Profile> &previewProfiles);
106 std::vector<OHOS::CameraStandard::Profile> &photoProfiles);

Completed in 16 milliseconds

1234