HACMony: Automatically Testing Hopping-related Audio-stream Conflict Issues on HarmonyOS

HACMony: Automatically Testing Hopping-related Audio-stream Conflict Issues on HarmonyOS

arXiv:2504.07472v1 Announce Type: new Abstract: HarmonyOS is rising as a preferred distributed working system for various cellular gadgets. One of its standout options is app-hopping, which permits customers to seamlessly transition apps throughout completely different HarmonyOS gadgets. However, when apps taking part in audio streams hop between gadgets, they’ll simply set off Hopping-related Audio-stream Conflict (HAC) eventualities. Improper decision of HAC will result in important HAC points, that are more durable to detect in comparison with single-device audio-stream conflicts, as a result of unclear semantics of HarmonyOS’s app-hopping mechanism and the shortage of efficient multi-app hopping testing strategies. To fill the hole, this paper introduces an automatic and environment friendly method to detecting HAC points. We formalized the operational semantics of HarmonyOS’s app-hopping mechanism for audio streams for the primary time. Leveraging this formalization, we designed an Audio Service Transition Graph (ASTG) to mannequin the behaviors of audio-API-related companies and proposed a model-based method to detect HAC points robotically. Our strategies have been applied in a instrument, HACMony, and evaluated on 20 real-world HarmonyOS apps. Experimental outcomes reveal that 11 of the 20 apps exhibit HAC points. Additionally, we summarized the detected points into two typical sorts, particularly MOD and MOR, and analyzed their traits to help and information each app and OS builders.

HI-FI News

through cs.SE updates on arXiv.org https://ift.tt/GXty4qz

April 11, 2025 at 06:00PM