skip to main content
10.1145/2846661.2846670acmconferencesArticle/Chapter ViewAbstractPublication PagessplashConference Proceedingsconference-collections
short-paper

Improving the Android development lifecycle with the VALERA record-and-replay approach

Published:26 October 2015Publication History

ABSTRACT

As smartphones become more and more popular, developers are switching their focus from traditional desktop programs to mobile apps. Recording and replaying the execution of mobile apps is useful in development tasks, from reproducing bugs to profiling and testing. However, achieving effective record-and-replay on mobile devices is a balancing act between accuracy and overhead. Prior record-and-replay approaches have focused on replaying low-level instructions, which impose significant overhead. We propose a novel, stream-oriented record-and-replay approach which achieves high-accuracy and low-overhead by aiming at a sweet spot: recording and replaying sensor and network input, event schedules, and inter-app communication via intents. To demonstrate the versatility of our approach, we have constructed a tool named that supports record-and-replay on the Android platform. Through an evaluation on 50 popular Android apps, we show that: 's replay fidelity far exceeds current record-and-replay approaches for Android; 's low-overhead allows it to replay high-throughput, timing-sensitive apps; With the ability to deterministically replay event schedule, can help to reproduce and verify event-driven races.

References

  1. G. W. Dunlap, S. T. King, S. Cinar, M. A. Basrai, and P. M. Chen. Revirt: enabling intrusion analysis through virtualmachine logging and replay. In OSDI’02. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Y. Hu, T. Azim, and I. Neamtiu. Versatile yet lightweight record-and-replay for android. In OOPSLA’15. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Jinseong Jeon and Kristopher Micinski and Jeffrey S. Foster. Redexer. http://www.cs.umd.edu/projects/PL/redexer/ index.html.Google ScholarGoogle Scholar
  4. L. Gomez, I. Neamtiu, T.Azim, and T. Millstein. Reran: Timing- and touch-sensitive record and replay for android. In ICSE ’13. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. M. Ronkko and J. Peltonen. Software industry survey, 2013. http://www.softwareindustrysurvey.org/.Google ScholarGoogle Scholar
  6. P. Maiya, A. Kanade, and R. Majumdar. Race detection for android applications. In PLDI’14. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. S. Narayanasamy, G. Pokam, and B. Calder. Bugnet: Continuously recording program execution for deterministic replay debugging. In ISCA ’05. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. B. Zhou, I. Neamtiu, and R. Gupta. A cross-platform analysis of bugs and bug-fixing in open source projects: Desktop vs. android vs. ios. In EASE ’15. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Improving the Android development lifecycle with the VALERA record-and-replay approach

              Recommendations

              Comments

              Login options

              Check if you have access through your login credentials or your institution to get full access on this article.

              Sign in
              • Published in

                cover image ACM Conferences
                MobileDeLi 2015: Proceedings of the 3rd International Workshop on Mobile Development Lifecycle
                October 2015
                57 pages
                ISBN:9781450339063
                DOI:10.1145/2846661

                Copyright © 2015 ACM

                Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

                Publisher

                Association for Computing Machinery

                New York, NY, United States

                Publication History

                • Published: 26 October 2015

                Permissions

                Request permissions about this article.

                Request Permissions

                Check for updates

                Qualifiers

                • short-paper

                Acceptance Rates

                Overall Acceptance Rate6of8submissions,75%

                Upcoming Conference

              PDF Format

              View or Download as a PDF file.

              PDF

              eReader

              View online with eReader.

              eReader