We found a match
Your institution may have access to this item. Find your institution then sign in to continue.
- Title
Wake Lock Leak Detection in Android Apps Using Multi-Layer Perceptron.
- Authors
Khan, Muhammad Umair; Lee, Scott Uk-Jin; Wu, Zhiqiang; Abbas, Shanza
- Abstract
With the proliferation of mobile devices, the popularity of Android applications (apps) has increased exponentially. Efficient power consumption in a device is essential from the perspective of the user because users want their devices to work all day. Developers must properly utilize the application programming interfaces (APIs) provided by Android software development kit to optimize the power consumption of their app. Occasionally, developers fail to relinquish the resources required by their app, resulting in a resource leak. Wake lock APIs are used in apps to manage the power state of the Android smartphone, and they frequently consume more power than necessary if not used appropriately (also called energy leak). In this study, we use a multi-layer perceptron (MLP) to detect wake lock leaks in Android apps because the MLP can solve complex problems and determine similarities in graphs. To detect wake lock leaks, we extract the call graph as features from the APK and embed the instruction and neighbor information in the node's label of the call graph. Then, the encoded data are input to an MLP model for training and testing. We demonstrate that our model can identify wake lock leaks in apps with 99% accuracy.
- Subjects
ANDROID (Operating system); LEAK detection; SOFTWARE development tools; MOBILE apps; PROBLEM solving; GRAPH labelings; SMARTPHONES
- Publication
Electronics (2079-9292), 2021, Vol 10, Issue 18, p2211
- ISSN
2079-9292
- Publication type
Academic Journal
- DOI
10.3390/electronics10182211