Commit Graph
55 Commits
Author SHA1 Message Date
evgeny cee1d39cef Model recoverable receiver and radio output lifecycle failures 2026-10-29 13:34:23 +01:00
evgeny f16fb62f69 Drain radio callbacks before terminating the host executor 2026-10-29 13:34:22 +01:00
evgeny 56da1fd323 Reproduce stuck radio PTT and verify native release ordering 2026-10-29 13:34:22 +01:00
evgeny 7525593212 Keep radio overlay and toast boundaries outside host audio logic 2026-10-29 13:34:22 +01:00
evgeny 846de14eb7 Provide microphone permission resources for radio host tests 2026-10-29 13:34:22 +01:00
evgeny 9bec795149 Observe native radio capture and PTT commands in host tests 2026-10-29 13:34:22 +01:00
evgeny fa75915a7f Provide radio screen state and monotonic nanoseconds to host tests 2026-10-29 13:34:22 +01:00
evgeny 43f8bf2a0e Model radio screen receiver registration in host tests 2026-10-29 13:34:22 +01:00
evgeny 08899f237d Model radio playback without Android audio hardware 2026-10-29 13:34:22 +01:00
evgeny 92dfe78861 Require confirmed media release in existing alert lifecycle tests 2026-10-28 14:43:27 +01:00
evgeny 1f15f33efe Allow absent callbacks after partial ringback listener setup 2026-10-28 14:43:27 +01:00
evgeny 79aca54da3 Reproduce lost ringback and notification players after release failures 2026-10-28 14:43:27 +01:00
evgeny 2c4805530f Require confirmed cleanup in existing ringtone lifecycle tests 2026-10-28 14:43:27 +01:00
evgeny d24b879329 Reproduce lost ringtone and focus owners after cleanup failures 2026-10-28 14:43:27 +01:00
evgeny 5d4493cf3e Model rejected vibration scheduling and partial cancellation 2026-10-28 14:43:27 +01:00
evgeny c1a469a74b Model recoverable alert playback and focus cleanup failures 2026-10-28 14:43:27 +01:00
evgeny 8fabbace61 Cover orphan notification cleanup through language refresh 2026-10-28 14:43:27 +01:00
evgeny 4f24118a27 Check lifecycle refresh does not repeat completed alert cleanup 2026-10-28 14:43:27 +01:00
evgeny 18c0b9fcc2 Verify repeated cleanup across incoming alert lifecycle failures 2026-10-28 14:43:27 +01:00
evgeny 536ce04e39 Reproduce lost incoming alert resources after cleanup exceptions 2026-10-28 14:43:27 +01:00
evgeny 157959d480 Model partial wake lock and notification cleanup failures 2026-10-28 14:43:27 +01:00
evgeny 9af1bd38b9 Preserve unknown battery exemption status on Android service errors 2026-10-28 14:43:27 +01:00
evgeny a056ccae96 Compile the battery permission adapter in Android host tests 2026-10-28 14:43:27 +01:00
evgeny 74b6a939cb Model power exemption queries and system activity launch failures 2026-10-28 14:43:27 +01:00
evgeny 932472e621 Handle nullable multicast lock creation before acquiring ownership 2026-10-28 12:28:28 +01:00
evgeny 720cc83d01 Validate LAN events and retain multicast lock ownership on errors 2026-10-28 12:28:28 +01:00
evgeny 22417c5b59 Reproduce LAN invitation state and multicast ownership failures 2026-10-28 12:28:28 +01:00
evgeny 7edd872422 Model LAN invitation JNI calls and multicast lock failures 2026-10-28 12:28:28 +01:00
evgeny 47c5f4a16c Retry file resource cleanup when the core stops 2026-10-28 11:36:13 +01:00
evgeny ee77a90e5d Preserve file wake lock ownership and isolate cleanup errors 2026-10-28 11:36:13 +01:00
evgeny b9e12fcfad Reproduce file cleanup failures and verify native cancellation 2026-10-28 11:36:13 +01:00
evgeny cedf9e0b69 Model native file failures and wake lock ownership on host 2026-10-28 11:36:13 +01:00
evgeny f18f6d291e Add host document providers for file failure tests 2026-10-28 11:36:13 +01:00
evgeny 0db3ceea81 Recover Android media audio sessions with explicit resource ownership
Retry monitor and capture setup after invalidating failed attempts. Bind output leases and callbacks to registration identity, cancel confirmation timers, and keep hardware cleanup independent from device enumeration during call handoff.

Commit profiles only after successful storage writes, acquire mode ownership before Android side effects, and reject blocking operations on main or the control worker. Keep the app singleton backed by an isolated MediaAudioSession with a single executor.

Validation: 30 media session scenarios, 420 JVM tests, assembleDebug, core build, and full check.sh (225 tests plus proxy/burst/load) passed.
2026-10-28 00:28:42 +01:00
evgeny 68e4674290 Harden Android audio router lifecycle and route selection
Roll back failed startup, finish independent stop cleanup, invalidate stale device and Telecom callbacks, and serialize router mutations. Publish input/output targets after accepted selection and support retries of rejected requests.

Separate modern communication device selection from legacy SCO, refresh replaced descriptors, and support A2DP and USB input-only devices in per-track mode. Clarify routing and observer ownership contracts.

Validation: 45 router scenarios, 390 JVM tests, assembleDebug, core build, and full check.sh (225 tests plus proxy/burst/load) passed. Previous router fails 25 of the 30 new cases.
2026-10-27 23:53:21 +01:00
evgeny 9993be16bb Own Android incoming call alerts and notification actions
Bind notification tokens to full call IDs and call kinds, cancel actions on stop, and reject decline callbacks after ringing ends. Serialize alert state on main and recover notification channel setup after Android API failures.

Keep sound independent of wake-lock and notification failures. Remove orphaned notifications on cold start, preserve idempotent alerts during duplicate delivery and language changes, and document lifecycle contracts.

Validation: 32 new lifecycle cases, 360 JVM tests, assembleDebug, core build, and full check.sh (225 tests plus proxy/burst/load) passed.
2026-10-27 23:31:56 +01:00
evgeny 0c30dc028f Fix Android alert profiles and playback resource ownership
Configure audio attributes before MediaPlayer preparation, keep vibration independent from sound failures, and guard loop/focus cleanup against stale callbacks. Preserve ringback players on repeated phase requests.

Add 35 alert lifecycle tests against real Kotlin sources with controlled Android API failures. Validation: 328 JVM tests, assembleDebug, core build, and full check.sh (225 tests plus proxy/burst/load) passed. Previous sources fail 32 of the 35 new cases.
2026-10-27 23:12:11 +01:00
evgeny 1ddb9fd272 Recover SIM observers without losing healthy subscription state 2026-10-27 21:49:15 +01:00
evgeny 30e132b729 Compile the real SIM monitor in the Android host tests 2026-10-27 21:39:26 +01:00
evgeny de59c42dd2 Add controlled Telephony fixtures for Android SIM monitoring 2026-10-27 21:35:45 +01:00
evgeny 78864c202b Make proximity observation safe across failures and restarts 2026-10-27 20:57:24 +01:00
evgeny 4c3aaa330a Add a host sensor fixture for ProximityManager lifecycle checks 2026-10-27 20:54:40 +01:00
evgeny 63efcec24c Cover rejected activity commands at the native queue boundary 2026-10-27 20:11:15 +01:00
evgeny 658e69b7d0 Add regressions for CoreActivity thread ownership and request caching 2026-10-27 19:53:53 +01:00
evgeny 0952547eb2 Serialize Android config transactions and await them through UI lifecycles 2026-10-27 17:18:13 +01:00
evgeny 55f3805a8c Serialize Android network snapshots across monitor and core lifecycles 2026-10-27 15:04:27 +01:00
evgeny 6e6bde7410 Include socket refresh monitoring in isolated host tests 2026-10-27 15:04:27 +01:00
evgeny 6322135deb Model delayed network callbacks and config workers in host tests 2026-10-27 15:04:27 +01:00
evgeny 4f92c6827a Own Android network activity registrations across start and stop 2026-10-27 15:04:27 +01:00
evgeny bfb99a901d Expose network activity callbacks to the isolated Android host tests 2026-10-27 15:04:27 +01:00