# Phase 1 Emulator Testing Guide **Author**: Matthew Raymer **Date**: November 2025 **Status**: Testing Guide **Version**: 1.0.0 ## Purpose This guide provides step-by-step instructions for testing Phase 1 (Cold Start Recovery) implementation on an Android emulator. All Phase 1 tests can be run entirely on an emulator using ADB commands. --- ## Latest Known Good Run (Emulator) **Environment** - Device: Android Emulator – Pixel 8 API 34 - App ID: `com.timesafari.dailynotification` - Build: Debug APK from `test-apps/android-test-app` - Script: `./test-phase1.sh` - Date: 27 November 2025 **Observed Results** - ✅ TEST 1: Cold Start Missed Detection - Logs show: - `Marked missed notification: daily_` - `Cold start recovery complete: missed=1, rescheduled=0, verified=0, errors=0` - "Stored notification content in database" present in logs - Alarm present in `dumpsys alarm` before kill - ✅ TEST 2: Future Alarm Verification / Rescheduling - Logs show: - `Rescheduled alarm: daily_ for