skip to main content
10.1145/2512989.2512990acmotherconferencesArticle/Chapter ViewAbstractPublication PagesjtresConference Proceedingsconference-collections
research-article

RTDroid: a design for real-time Android

Published: 09 October 2013 Publication History

Abstract

There has been much recent interest in adding support for real-time capabilities to Android. Proposed architectures for doing so fall into four broad categories, but only two support real-time Android applications. These two proposals include a real-time garbage collector for real-time memory management and a real-time operating system for real-time scheduling and resource management. Although they provide the fundamental building blocks for real-time Android, unfortunately such proposals are incomplete. In this paper we examine the Android programming model, libraries, and core systems services in the context of the Fiji real-time VM coupled with the RT Linux and RTEMS real-time operating systems. We show that even with a real-time operating system as well as real-time memory management, the predictability of core Android constructs is poor. To address this limitation we propose a preliminary RTDroid design and show its applicability to real-time systems.

References

[1]
Android and RTOS together: The dynamic duo for today's medical devices. http://embedded-computing.com/articles/android-rtos-duo-todays-medical-devices/.
[2]
.dex --- Dalvik Executable Format. http://source.android.com/tech/dalvik/dex-format.html.
[3]
dex2jar. http://code.google.com/p/dex2jar/.
[4]
Real-Time Linux Wiki. https://rt.wiki.kernel.org/index.php/Main_Page.
[5]
Roving reporter: Medical Device Manufacturers Improve Their Bedside Manner with Android. http://goo.gl/d2JF3.
[6]
RTEMS. http://www.rtems.org/.
[7]
Strand-1 satellite launches Google Nexus One smartphone into orbit. http://www.wired.co.uk/news/archive/2013-02/25/strand-1-phone-satellite.
[8]
What OS Is Best for a Medical Device? http://www.summitdata.com/blog/?p=68.
[9]
Why Android will be the biggest selling medical devices in the world by the end of 2012. http://goo.gl/G5UXq.
[10]
B. Buzbee B. Cheng. A JIT Compiler for Android's Dalvik VM. http://www.google.com/events/io/2010/sessions/jit-compiler-androids-dalvik-vm.html.
[11]
Alexandre Bartel, Jacques Klein, Yves Le Traon, and Martin Monperrus. Dexpler: converting android Dalvik bytecode to Jimple for static analysis with Soot. In Proceedings of the ACM SIGPLAN International Workshop on State of the Art in Java Program analysis, SOAP '12, pages 27--38, New York, NY, USA, 2012. ACM.
[12]
D. Bornstein. Dalvik VM internals. http://sites.google.com/site/io/dalvik-vm-internals.
[13]
James Gosling and Greg Bollella. The Real-Time Specification for Java. Addison-Wesley Longman Publishing Co., Inc., Boston, MA, USA, 2000.
[14]
D. Hart, J. Stultz, and T. Ts'o. Real-time linux in real time. IBM Syst. J., 47(2): 207--220, April 2008.
[15]
Igor Kalkov, Dominik Franke, John F. Schommer, and Stefan Kowalewski. A real-time extension to the Android platform. In Proceedings of the 10th International Workshop on Java Technologies for Real-time and Embedded Systems, JTRES '12, pages 105--114, New York, NY, USA, 2012. ACM.
[16]
MinSeong Kim and Andy Wellings. An efficient and predictable implementation of asynchronous event handling in the RTSJ. In Proceedings of the 6th international workshop on Java technologies for real-time and embedded systems, JTRES '08, pages 48--57, New York, NY, USA, 2008. ACM.
[17]
Cláudio Maia, Luis Nogueira, and Luis Miguel Pinho. Evaluating Android OS for embedded real-time systems. In Proceedings of the 6th International Workshop on Operating Systems Platforms for Embedded Real-Time Applications, Brussels, Belgium, OSPERT '10, pages 63--70, 2010.
[18]
Hyeong-Seok Oh, Beom-Jun Kim, Hyung-Kyu Choi, and Soo-Mook Moon. Evaluation of Android Dalvik virtual machine. In Proceedings of the 10th International Workshop on Java Technologies for Real-time and Embedded Systems, JTRES '12, pages 115--124, New York, NY, USA, 2012. ACM.
[19]
Filip Pizlo, Lukasz Ziarek, Ethan Blanton, Petr Maj, and Jan Vitek. High-level programming of embedded hard real-time devices. In Proceedings of the 5th European conference on Computer systems, EuroSys '10, pages 69--82, New York, NY, USA, 2010. ACM.
[20]
Filip Pizlo, Lukasz Ziarek, Petr Maj, Antony L. Hosking, Ethan Blanton, and Jan Vitek. Schism: fragmentation-tolerant real-time garbage collection. In Proceedings of the 2010 ACM SIGPLAN conference on Programming language design and implementation, PLDI '10, pages 146--159, New York, NY, USA, 2010. ACM.
[21]
Yunhe Shi, Kevin Casey, M. Anton Ertl, and David Gregg. Virtual machine showdown: Stack versus registers. ACM Trans. Archit. Code Optim., 4(4): 2:1--2:36, January 2008.
[22]
Yin Yan, Sree Harsha Konduri, Amit Kulkarni, Varun Anand, Steven Y. Ko, and Lukasz Ziarek. {technical report} RTDroid: A Design for Real-Time Android. http://rtdroid.cse.buffalo.edu/techreport/rtdroid.pdf.

Cited By

View all
  • (2019)Aplicaciones Ada en Android con requisitos de tiempo realRevista Iberoamericana de Automática e Informática industrial10.4995/riai.2019.1060416:3(264)Online publication date: 12-Jun-2019
  • (2017)PosterProceedings of the 15th Annual International Conference on Mobile Systems, Applications, and Services10.1145/3081333.3089312(168-168)Online publication date: 16-Jun-2017
  • (2017)Explicit prioritization of parallel Intent broadcasts in real‐time AndroidConcurrency and Computation: Practice and Experience10.1002/cpe.412229:22Online publication date: 5-May-2017
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Other conferences
JTRES '13: Proceedings of the 11th International Workshop on Java Technologies for Real-time and Embedded Systems
October 2013
122 pages
ISBN:9781450321662
DOI:10.1145/2512989
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 ACM 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]

Sponsors

  • Atego: Atego
  • aicas GmbH

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 09 October 2013

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Research-article

Conference

JTRES '13
Sponsor:
  • Atego

Acceptance Rates

JTRES '13 Paper Acceptance Rate 12 of 16 submissions, 75%;
Overall Acceptance Rate 50 of 70 submissions, 71%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)9
  • Downloads (Last 6 weeks)0
Reflects downloads up to 25 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2019)Aplicaciones Ada en Android con requisitos de tiempo realRevista Iberoamericana de Automática e Informática industrial10.4995/riai.2019.1060416:3(264)Online publication date: 12-Jun-2019
  • (2017)PosterProceedings of the 15th Annual International Conference on Mobile Systems, Applications, and Services10.1145/3081333.3089312(168-168)Online publication date: 16-Jun-2017
  • (2017)Explicit prioritization of parallel Intent broadcasts in real‐time AndroidConcurrency and Computation: Practice and Experience10.1002/cpe.412229:22Online publication date: 5-May-2017
  • (2017)You Deserve Better Properties (From Your Smart Devices)Fog for 5G and IoT10.1002/9781119187202.ch4(86-105)Online publication date: 27-Mar-2017
  • (2016)Real Time Sound Processing on AndroidProceedings of the 14th International Workshop on Java Technologies for Real-Time and Embedded Systems10.1145/2990509.2990512(1-10)Online publication date: 29-Aug-2016
  • (2016)jUAVProceedings of the 14th International Workshop on Java Technologies for Real-Time and Embedded Systems10.1145/2990509.2990511(1-10)Online publication date: 29-Aug-2016
  • (2016)Using a Multi-Tasking VM for Mobile ApplicationsProceedings of the 17th International Workshop on Mobile Computing Systems and Applications10.1145/2873587.2873596(93-98)Online publication date: 23-Feb-2016
  • (2016)RTDroid: A Design for Real-Time AndroidIEEE Transactions on Mobile Computing10.1109/TMC.2015.249918715:10(2564-2584)Online publication date: 1-Oct-2016
  • (2015)Hybrid Avatar-Agent Technology – A Conceptual Step Towards Mediated “Social” Virtual Reality and its Respective Challengesi-com10.1515/icom-2015-003014:2(107-114)Online publication date: 12-Jul-2015
  • (2015)CPU Isolation on the Android OS for running Real-Time ApplicationsProceedings of the 13th International Workshop on Java Technologies for Real-time and Embedded Systems10.1145/2822304.2822317(1-7)Online publication date: 7-Oct-2015
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media