Files
ability_ability_runtime/services/abilitymgr/include
yewei0794 02518f9854 feat: restrict reusePid to IN_PROCESS mode and add GetValidAppRunningRecordByPid
- Only set reusePid when MODULAR_OBJECT IN_PROCESS mode (IsInProcess flag)
- Add isInProcess flag to BaseExtensionRecord, set in SetupNewRecord
- Add GetValidAppRunningRecordByPid for PID lookup with validity check
- Revert CheckAppRunningRecordIsExist to original (no reusePid coupling)
- Remove IsProcessMatchedByFieldOrPid, restore inline matching logic
- Move reusePid check before plugin/normal flow in LoadAbility
- Add TDD tests for SetExtensionLoadParam, GetValidAppRunningRecordByPid,
  and LoadAbility reusePid path

Co-Authored-By: Agent

🤖‍ AI[98%] 👌 AI Adopted[98%] 🧑 Human[2%]
Co-authored-by: claude (glm-5.1) <ai@local>

Signed-off-by: yewei0794 <weiyejxnf@163.com>
Change-Id: I00c745f043dbcbbf2879a4f10398825f589049bf
2026-05-25 19:31:30 +08:00
..
2025-12-03 11:06:47 +08:00
2025-09-16 21:19:39 +08:00
2026-02-09 20:46:30 +08:00
2026-05-08 11:05:14 +08:00
2026-04-27 11:38:29 +08:00
2026-03-23 10:48:36 +08:00
2026-01-27 20:56:27 +08:00
2025-07-12 15:44:39 +08:00
2026-05-16 19:32:55 +08:00
2025-11-03 21:25:45 +08:00
2025-11-20 11:35:49 +08:00
2025-09-22 11:03:59 +08:00
2026-05-16 11:52:19 +08:00
2026-05-05 20:47:30 +08:00
2026-01-30 17:43:08 +08:00
2026-02-09 20:46:30 +08:00
2026-01-03 10:25:43 +08:00
2025-06-11 14:36:18 +08:00
2026-04-25 15:40:40 +08:00
2026-02-09 20:46:30 +08:00
2024-01-04 01:46:44 +00:00
2026-01-27 20:56:27 +08:00
2026-05-11 09:00:55 +08:00
2022-09-20 10:34:22 +08:00
2026-02-13 14:19:19 +08:00
2026-05-16 11:52:19 +08:00
2026-04-20 19:47:45 +08:00
2025-10-15 14:14:10 +08:00
2026-03-14 15:17:31 +08:00
2026-04-15 15:58:29 +08:00
2026-02-09 20:46:30 +08:00
2026-01-27 20:56:27 +08:00
2026-02-09 20:46:30 +08:00
2026-02-09 20:46:30 +08:00
2025-12-24 18:25:44 +08:00
2026-02-09 20:46:30 +08:00