Commit Graph
891 Commits
Author SHA1 Message Date
evgeny fdb7e3b12c Reproduce malformed feedback event handling in the UI 2026-10-28 11:36:13 +01:00
evgeny f1e49c11b7 Document feedback snapshots and poll UI submission contracts 2026-10-28 11:36:13 +01:00
evgeny 2b113de5a1 Validate poll drafts and reject malformed feedback snapshots 2026-10-28 11:36:13 +01:00
evgeny b00ae82fc1 Reproduce invalid poll draft and inactive custom answer handling 2026-10-28 11:36:13 +01:00
evgeny 2a09eee39b Route group avatar snapshots separately from feedback changes 2026-10-28 11:36:13 +01:00
evgeny b4f30b745b Assign a registered event ID to Android group avatar snapshots 2026-10-28 11:36:13 +01:00
evgeny e0e89abf92 Reproduce Android avatar and feedback event ID collision 2026-10-28 11:36:13 +01:00
evgeny 9d65978882 Clarify capture timeline and microphone permission contracts 2026-10-28 11:36:13 +01:00
evgeny 1db3327f68 Make voice recording ownership and playback failures explicit 2026-10-28 11:36:13 +01:00
evgeny a8e9e4d425 Reproduce voice capture rollback and playback cleanup failures 2026-10-28 11:36:13 +01:00
evgeny 96b7808b3c Model microphone permission for voice recorder host tests 2026-10-28 11:36:13 +01:00
evgeny 8b500d4aa5 Add host audio output controls for voice recorder failures 2026-10-28 11:36:13 +01:00
evgeny 47c5f4a16c Retry file resource cleanup when the core stops 2026-10-28 11:36:13 +01:00
evgeny e3d8c61709 Document file browser lifecycle and export error handling 2026-10-28 11:36:13 +01:00
evgeny a1a4187fa7 Document Android file framing and error status contracts 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 82c62f82f8 Describe avatar gallery and EXIF decoding behavior 2026-10-28 11:36:13 +01:00
evgeny 1777cc7ecf Clarify avatar editor ownership and UI publication state 2026-10-28 11:36:13 +01:00
evgeny 36bf6ce217 Document Android avatar storage and publication contracts 2026-10-28 11:36:13 +01:00
evgeny 1f121cac4f Clarify Android playback recovery and diagnostics contracts 2026-10-28 11:36:13 +01:00
evgeny c8c7ec7a2c Document Android call audio I/O and clock contracts 2026-10-28 11:36:13 +01:00
evgeny 31a25b700f Test server link presentation and authorization errors in clients 2026-10-28 11:07:58 +01:00
evgeny 826d56b2f0 Select any joined channel when opening an Android server link 2026-10-28 11:06:24 +01:00
evgeny b8852f05e3 Route Android server links through channel selection and ordinary JOIN request 2026-10-28 11:05:23 +01:00
evgeny 63236e71c8 Expose authorized server addition to Android JNI 2026-10-28 11:04:56 +01:00
evgeny e22ed44b17 Fix attachment sending, media manifests and storage defaults 2026-10-28 01:47:17 +01:00
evgeny 99b5244ad5 Make Android microphone capture stoppable and cleanup resilient
Use nonblocking AudioRecord reads with data and timestamp deadlines. Serialize idempotent close, finish interrupted joins before release, isolate callback failures, and abort stereo fallback when partial-record cleanup fails.

Close failed shared readers to new subscriptions, roll back worker startup, isolate observers, preserve interrupt state, and release the last consumer exactly once. Add an independent capture-tests JVM module to the standard Android unit-test task.

Validation: 38 capture scenarios (25 AudioRecord plus 13 PCM/PTT), 455 JVM tests, assembleDebug, core build, and full check.sh (225 tests plus proxy/burst/load) passed.
2026-10-28 00:53:01 +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 66d6364227 Guard Android radio configuration with worker-owned tasks 2026-10-27 22:41:30 +01:00
evgeny 5c7908e2c6 Document Android radio automatic capture and background window contracts 2026-10-27 21:58:02 +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 d58edde4ba Verify Android phone state publishing and JNI restart recovery 2026-10-27 21:30:07 +01:00
evgeny 3231a5a218 Return Android phone state queue acceptance through JNI 2026-10-27 21:25:51 +01:00
evgeny 10fbe70b0e Own queued Android phone state data within the worker lifetime 2026-10-27 21:23:18 +01:00
evgeny 77ba9ad43f Expose Android phone state posting through the C bridge API 2026-10-27 21:18:29 +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 f753abe0a8 Verify CoreActivity against Android JNI and native activity modes 2026-10-27 20:44:34 +01:00
evgeny 370dfb906e Preserve pending CoreActivity intent when the native queue rejects a request 2026-10-27 20:39:19 +01:00
evgeny 63efcec24c Cover rejected activity commands at the native queue boundary 2026-10-27 20:11:15 +01:00
evgeny 99376470ed Route bridge activity requests through the worker owner 2026-10-27 20:10:00 +01:00
evgeny 57aca2496c Queue Android activity updates while holding the worker lifetime lock 2026-10-27 20:07:51 +01:00