People use smartphones to do many tasks: view email attachments, read social media posts, create and edit photographs, and forward files. The user's perspective on actions performed when creating, viewing, and modifying files (her mental model ) reflects the visible clicks and swipes performed. At the file system and OS, however, such actions are less clear. A single click can lead to a flurry of hundreds of file system reads and writes, system calls, and communication steps. While individual apps can use analytics to record in-app user actions, common patterns such as download-read-forward cross app boundaries and become difficult to discover. That lack leads to inefficiencies in on-device file management and backup. To better enable apps and devices to discover the user's mental model, we present CEMDA, an Android app that automatically detects the user's mental model by applying the theories of file lifecycle events and complex events. CEMDA detects over 10 high level user stories in 4 categories of user actions (create, access, share, modify) while operating completely in user space and without OS modification. CEMDA successfully detects user actions in cross-app actions across popular messaging and productivity apps (e.g., WhatsApp, Adobe Reader) with 75%-100% success while consuming minimal battery and memory.
Read full abstract