Home
last modified time | relevance | path

Searched refs:app (Results 1 - 25 of 107) sorted by relevance

12345

/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/sched_controller/
H A Dcgroup_event_handler.cpp91 "ERR_MSG", "Subscribe app status change observer failed."); in ProcessEvent()
203 std::shared_ptr<Application> app = supervisor_->GetAppRecordNonNull(uid); in HandleApplicationStateChanged() local
204 app->SetName(bundleName); in HandleApplicationStateChanged()
205 app->state_ = state; in HandleApplicationStateChanged()
218 std::shared_ptr<Application> app = supervisor_->GetAppRecordNonNull(uid); in HandleProcessStateChanged() local
219 std::shared_ptr<ProcessRecord> procRecord = app->GetProcessRecordNonNull(pid); in HandleProcessStateChanged()
221 CgroupAdjuster::GetInstance().AdjustProcessGroup(*(app.get()), *(procRecord.get()), in HandleProcessStateChanged()
240 auto app = supervisor_->GetAppRecord(uid); in HandleAbilityStateChanged() local
241 if (app) { in HandleAbilityStateChanged()
242 auto procRecord = app in HandleAbilityStateChanged()
251 auto app = supervisor_->GetAppRecordNonNull(uid); HandleAbilityStateChanged() local
273 auto app = supervisor_->GetAppRecord(uid); HandleExtensionStateChanged() local
284 auto app = supervisor_->GetAppRecordNonNull(uid); HandleExtensionStateChanged() local
305 std::shared_ptr<Application> app = supervisor_->GetAppRecordNonNull(uid); HandleProcessCreated() local
342 std::shared_ptr<Application> app = supervisor_->GetAppRecord(uid); HandleProcessDied() local
366 auto app = supervisor_->GetAppRecordNonNull(uid); HandleTransientTaskStart() local
382 auto app = supervisor_->GetAppRecordNonNull(uid); HandleTransientTaskEnd() local
399 auto app = supervisor_->GetAppRecordNonNull(uid); HandleContinuousTaskUpdate() local
426 auto app = supervisor_->GetAppRecordNonNull(uid); HandleContinuousTaskCancel() local
454 std::shared_ptr<Application> app = nullptr; HandleFocusedWindow() local
497 std::shared_ptr<Application> app = nullptr; HandleUnfocusedWindow() local
573 std::shared_ptr<Application> app = supervisor_->GetAppRecord(uid); HandleDrawingContentChangeWindow() local
607 auto app = supervisor_->GetAppRecordNonNull(uid); HandleReportMMIProcess() local
635 auto app = supervisor_->GetAppRecordNonNull(uid); HandleReportRenderThread() local
649 std::shared_ptr<Application> app = nullptr; HandleReportKeyThread() local
689 std::shared_ptr<Application> app = nullptr; HandleReportWindowState() local
762 std::shared_ptr<Application> app = supervisor_->GetAppRecord(uid); HandleReportAudioState() local
803 std::shared_ptr<Application> app = supervisor_->GetAppRecordNonNull(procRecord->GetUid()); HandleReportWebviewAudioState() local
842 std::shared_ptr<Application> app = supervisor_->GetAppRecord(uid); HandleReportRunningLockEvent() local
868 std::shared_ptr<Application> app = supervisor_->GetAppRecord(uid); HandleReportHisysEvent() local
917 std::shared_ptr<Application> app = supervisor_->GetAppRecord(uid); HandleReportScreenCaptureEvent() local
958 std::shared_ptr<Application> app = supervisor_->GetAppRecord(uid); HandleReportAvCodecEvent() local
996 std::shared_ptr<Application> app = nullptr; HandleWebviewScreenCapture() local
1050 auto app = supervisor_->GetAppRecord(uid); UpdateMmiStatus() local
1061 std::shared_ptr<Application> app = nullptr; HandleReportWebviewVideoState() local
1076 GetProcInfoByPayload(int32_t &uid, int32_t &pid, std::shared_ptr<Application>& app, std::shared_ptr<ProcessRecord>& procRecord, const nlohmann::json& payload) GetProcInfoByPayload() argument
[all...]
H A Dcgroup_adjuster.cpp61 void CgroupAdjuster::AdjustForkProcessGroup(Application &app, ProcessRecord &pr) in AdjustForkProcessGroup() argument
63 std::string filePath = ResSchedUtils::GetInstance().GetProcessFilePath(app.GetUid(), app.GetName(), pr.GetPid()); in AdjustForkProcessGroup()
100 void CgroupAdjuster::AdjustProcessGroup(Application &app, ProcessRecord &pr, AdjustSource source) in AdjustProcessGroup() argument
103 ComputeProcessGroup(app, pr, source); in AdjustProcessGroup()
104 ResSchedUtils::GetInstance().ReportArbitrationResult(app, pr, source); in AdjustProcessGroup()
105 ApplyProcessGroup(app, pr); in AdjustProcessGroup()
107 if (!app.IsHostProcess(pr.GetPid())) { in AdjustProcessGroup()
112 for (const auto &iter : app.GetPidsMap()) { in AdjustProcessGroup()
117 auto hostProcRecord = app in AdjustProcessGroup()
136 AdjustAllProcessGroup(Application &app, AdjustSource source) AdjustAllProcessGroup() argument
159 ComputeProcessGroup(Application &app, ProcessRecord &pr, AdjustSource source) ComputeProcessGroup() argument
199 ApplyProcessGroup(Application &app, ProcessRecord &pr) ApplyProcessGroup() argument
[all...]
H A Dsupervisor.cpp213 auto app = std::make_shared<Application>(uid);
214 uidsMap_[uid] = app;
215 return app;
222 auto app = iter->second;
223 pr = app->GetProcessRecord(pid);
244 auto app = iter->second;
245 pr = app->FindProcessRecordByToken(token);
247 application = app;
259 auto app = iter->second;
260 pr = app
[all...]
/foundation/arkui/ace_engine_lite/frameworks/tools/qt/simulator/jsfwk/targets/simulator/mock/vsyncthread/
H A Dvsync_dispatch_manager.cpp28 void VsyncDispatchManager::RegisterVsyncReceiver(JSThread *app) in RegisterVsyncReceiver() argument
31 appList_.append(app); in RegisterVsyncReceiver()
34 void VsyncDispatchManager::UnregisterVsyncReceiver(JSThread *app) in UnregisterVsyncReceiver() argument
37 appList_.removeOne(app); in UnregisterVsyncReceiver()
46 JSThread *app = appList_.at(i); in DispatchVsyncEvent() local
47 if (app != nullptr) { in DispatchVsyncEvent()
48 result = app->TryToDispatchTEEvent(); in DispatchVsyncEvent()
H A Dvsync_dispatch_manager.h37 void RegisterVsyncReceiver(JSThread *app);
38 void UnregisterVsyncReceiver(JSThread *app);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dmodule_profile.cpp129 {"app", BundleType::APP},
310 App app; member
881 void from_json(const nlohmann::json &jsonObject, App &app) in from_json() argument
883 APP_LOGD("read app tag from module.json"); in from_json()
888 app.bundleName, in from_json()
894 app.icon, in from_json()
900 app.label, in from_json()
906 app.versionCode, in from_json()
914 app.versionName, in from_json()
920 app in from_json()
1868 auto app = moduleJson.app; ToApplicationInfo() local
[all...]
H A Dbundle_profile.cpp114 // config.json app
347 App app; member
425 void from_json(const nlohmann::json &jsonObject, App &app) in from_json() argument
432 app.bundleName, in from_json()
438 app.originalName, in from_json()
444 app.version, in from_json()
452 app.apiVersion, in from_json()
461 app.vendor, in from_json()
467 app.singleton, in from_json()
473 app in from_json()
[all...]
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/bundle_parser/
H A Dmodule_profile.cpp147 {"app", BundleType::APP},
283 App app; member
818 void from_json(const nlohmann::json &jsonObject, App &app) in from_json() argument
820 TAG_LOGD(AAFwkTag::ABILITY_SIM, "read app tag from module.json"); in from_json()
825 app.bundleName, in from_json()
833 app.icon, in from_json()
841 app.label, in from_json()
849 app.versionCode, in from_json()
857 app.versionName, in from_json()
865 app in from_json()
1449 auto app = moduleJson.app; ToApplicationInfo() local
[all...]
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/sched_controller/include/
H A Dcgroup_adjuster.h60 void AdjustForkProcessGroup(Application &app, ProcessRecord &pr);
61 void AdjustProcessGroup(Application &app, ProcessRecord &pr, AdjustSource source);
62 void AdjustAllProcessGroup(Application &app, AdjustSource source);
63 void ApplyProcessGroup(Application &app, ProcessRecord &pr);
74 void ComputeProcessGroup(Application &app, ProcessRecord &pr, AdjustSource source);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/quick_fix/
H A Dpatch_profile.cpp38 constexpr const char* BUNDLE_PATCH_PROFILE_KEY_APP = "app";
61 App app; member
65 void from_json(const nlohmann::json &jsonObject, App &app) in from_json() argument
71 app.bundleName, in from_json()
77 app.versionCode, in from_json()
85 app.versionName, in from_json()
91 app.patchVersionCode, in from_json()
99 app.patchVersionName, in from_json()
141 patchJson.app, in from_json()
182 if (!CheckNameIsValid(patchJson.app in ToPatchInfo()
[all...]
/foundation/resourceschedule/background_task_mgr/services/common/src/
H A Dbgtask_config.cpp70 for (const auto &app : appArray) { in ParseTransientTaskExemptedQuatoList()
71 transientTaskExemptedQuatoList_.insert(app); in ParseTransientTaskExemptedQuatoList()
73 for (const auto &app : transientTaskExemptedQuatoList_) { in ParseTransientTaskExemptedQuatoList()
74 BGTASK_LOGI("ParseTransientTaskExemptedQuatoList: %{public}s.", app.c_str()); in ParseTransientTaskExemptedQuatoList()
101 for (const auto &app : appArray) { in AddExemptedQuatoData()
102 transientTaskExemptedQuatoList_.insert(app); in AddExemptedQuatoData()
135 for (const auto &app : appArray) { in SetCloudConfigParam()
136 transientTaskCloudExemptedQuatoList_.insert(app); in SetCloudConfigParam()
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/utils/include/
H A Dressched_utils.h28 using ReportArbitrationResultFunc = void (*)(Application &app, ProcessRecord &pr, AdjustSource source);
29 using ReportSysEventFunc = void (*)(Application &app, ProcessRecord &pr, uint32_t resType, int32_t state);
37 void ReportArbitrationResult(Application &app, ProcessRecord &pr, AdjustSource source);
38 void ReportSysEvent(Application &app, ProcessRecord &pr, uint32_t resType, int32_t state);
/foundation/resourceschedule/memmgr/services/memmgrservice/src/memory_level_manager/
H A Dmemory_level_manager.cpp91 std::shared_ptr<AppEntity> app; in CalcReclaimAppList() local
92 MAKE_POINTER(app, shared, AppEntity, "make shared failed", return false, bundleInfo.uid_, bundleInfo.name_); in CalcReclaimAppList()
93 appList.push_back(app); in CalcReclaimAppList()
94 HILOGI("The app will be reclaimed, uid:%{public}d, name:%{public}s.", app->uid_, app->name_.c_str()); in CalcReclaimAppList()
/foundation/communication/wifi/wifi/base/utils/
H A Dwifi_app_parser.cpp89 [bundleName](const LowLatencyAppInfo &app) { return app.packageName == bundleName; }); in IsLowLatencyApp()
95 [bundleName](const WhiteListAppInfo &app) { return app.packageName == bundleName; }); in IsWhiteListApp()
101 [bundleName](const BlackListAppInfo &app) { return app.packageName == bundleName; }); in IsBlackListApp()
107 [bundleName](const MultiLinkAppInfo &app) { return app.packageName == bundleName; });
113 [bundleName](const ChariotAppInfo &app) { return app
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/server/include/
H A Dbluetooth_socket_server.h73 SocketObserverApplication app(fd, remote); in AddObserver()
75 observerList_.push_back(app); in AddObserver()
90 [remote](const auto &app) {return app.remote == remote; }); in GetObserverApplication()
/foundation/ability/ability_runtime/service_router_framework/interfaces/inner_api/src/
H A Dservice_info.cpp83 std::unique_ptr<AppInfo> app(parcel.ReadParcelable<AppInfo>()); in ReadFromParcel()
84 if (!app) { in ReadFromParcel()
88 appInfo = *app; in ReadFromParcel()
141 std::unique_ptr<AppInfo> app(parcel.ReadParcelable<AppInfo>()); in ReadFromParcel()
142 if (!app) { in ReadFromParcel()
146 appInfo = *app; in ReadFromParcel()
/foundation/filemanagement/storage_service/interfaces/innerkits/storage_manager/native/
H A Dstorage_stats.h26 StorageStats(int64_t total, int64_t audio, int64_t video, int64_t image, int64_t file, int64_t app) in StorageStats() argument
27 : total_(total), audio_(audio), video_(video), image_(image), file_(file), app_(app) {} in StorageStats()
/foundation/ability/form_fwk/test/unittest/fms_form_caller_mgr_test/
H A Dform_caller_mgr_test.cpp331 wptr<IRemoteObject> app = providerToken; in HWTEST_F() local
333 formCallerMgr->OnProviderCallBackDied(app); in HWTEST_F()
416 wptr<IRemoteObject> app = providerToken; in HWTEST_F() local
418 formProviderCallerRecipient->OnRemoteDied(app); in HWTEST_F()
431 wptr<IRemoteObject> app = providerToken; in HWTEST_F() local
437 formProviderCallerRecipient.OnRemoteDied(app); in HWTEST_F()
451 wptr<IRemoteObject> app = providerToken; in HWTEST_F() local
453 formHostCallerRecipient.OnRemoteDied(app); in HWTEST_F()
466 wptr<IRemoteObject> app = providerToken; in HWTEST_F() local
472 formHostCallerRecipient.OnRemoteDied(app); in HWTEST_F()
[all...]
/foundation/multimedia/media_library/frameworks/services/media_dfx/src/
H A Ddfx_analyzer.cpp129 for (const auto& app : newAdaptationInfo.unadaptedAppPackages) { in FlushAdaptationToMovingPhoto()
130 allUnadaptedApps.insert(app); in FlushAdaptationToMovingPhoto()
132 for (const auto& app : newAdaptationInfo.adaptedAppPackages) { in FlushAdaptationToMovingPhoto()
133 allAdaptedApps.insert(app); in FlushAdaptationToMovingPhoto()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/cloud/
H A Dcloud_info.cpp79 for (const auto &[bundle, app] : apps) { in GetSchemaKey()
80 const auto key = GetKey(SCHEMA_PREFIX, { std::to_string(user), bundle, std::to_string(app.instanceId) }); in GetSchemaKey()
81 keys.insert_or_assign(app.bundleName, key); in GetSchemaKey()
134 for (auto &[bundle, app] : apps) { in IsAllSwitchOff()
135 if (app.cloudSwitch) { in IsAllSwitchOff()
/foundation/resourceschedule/frame_aware_sched/frameworks/core/frame_aware_policy/src/
H A Dintellisense_server.cpp120 int IntelliSenseServer::TryCreateRtgForApp(AppInfo *app) in TryCreateRtgForApp() argument
122 if (!app) { in TryCreateRtgForApp()
123 RME_LOGE("[TryCreateRtg]: null app!"); in TryCreateRtgForApp()
129 app->SetRtgrp(0); in TryCreateRtgForApp()
132 app->SetRtgrp(grpId); in TryCreateRtgForApp()
133 int uiTid = app->GetUiTid(); in TryCreateRtgForApp()
134 int renderTid = app->GetRenderTid(); in TryCreateRtgForApp()
213 RME_LOGE("Didn't find render in history app %{public}d with render %{public}d", pid, renderTid); in ReportRenderThread()
305 RME_LOGI("Get app info:%{public}d %{public}d %{public}s %{public}d", in ReportAppInfo()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/
H A Drs_surface_render_node_three_test.cpp706 auto app = std::make_shared<RSSurfaceRenderNode>(id + 1, rsContext); in HWTEST_F() local
707 ASSERT_NE(app, nullptr); in HWTEST_F()
708 app->surfaceCacheContentStatic_ = true; in HWTEST_F()
709 app->nodeType_ = RSSurfaceNodeType::APP_WINDOW_NODE; in HWTEST_F()
711 leash->AddChild(app); in HWTEST_F()
731 auto app = std::make_shared<RSSurfaceRenderNode>(id + 1, rsContext); in HWTEST_F() local
732 ASSERT_NE(app, nullptr); in HWTEST_F()
733 app->surfaceCacheContentStatic_ = true; in HWTEST_F()
734 app->nodeType_ = RSSurfaceNodeType::APP_WINDOW_NODE; in HWTEST_F()
736 leash->AddChild(app); in HWTEST_F()
755 auto app = std::make_shared<RSSurfaceRenderNode>(id + 1, rsContext); HWTEST_F() local
779 auto app = std::make_shared<RSSurfaceRenderNode>(id + 1, rsContext); HWTEST_F() local
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Dbundle_pack_info.cpp31 // app
72 const char* PACK_SUMMARY_APP = "app";
128 void to_json(nlohmann::json &jsonObject, const PackageApp &app) in to_json() argument
131 {Constants::BUNDLE_NAME, app.bundleName}, in to_json()
132 {PACK_SUMMARY_APP_BUNDLE_VERSION, app.version} in to_json()
136 void from_json(const nlohmann::json &jsonObject, PackageApp &app) in from_json() argument
143 app.bundleName, in from_json()
149 app.version, in from_json()
155 APP_LOGE("read package app error %{public}d", parseResult); in from_json()
424 {PACK_SUMMARY_APP, summary.app}, in to_json()
[all...]
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/utils/
H A Dressched_utils.cpp137 void ResSchedUtils::ReportArbitrationResult(Application &app, ProcessRecord &pr, AdjustSource source) in ReportArbitrationResult() argument
143 reportArbitrationResultFunc_(app, pr, source); in ReportArbitrationResult()
146 void ResSchedUtils::ReportSysEvent(Application &app, ProcessRecord &pr, uint32_t resType, int32_t state) in ReportSysEvent() argument
152 reportSysEventFunc_(app, pr, resType, state); in ReportSysEvent()
/foundation/arkui/ace_engine_lite/frameworks/tools/qt/simulator/entry/
H A Dmain.cpp92 QApplication app(argc, argv); in main()
101 return app.exec(); in main()

Completed in 17 milliseconds

12345