Files
rk35xx-android14/packages/modules/ImsMedia/test
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00
..

ImsMedia test

1. Introduction

  • The test/ directory in ImsMedia contains test implementation of ImsMedia'.
  • Module imsmediahal/ contains implementation of ImsMedia's HAL APIs.

2. Procedure to test app

Build app and imsmediahal under test\ folder

gcert
cd test
mma

2.1 Install test app from out folder and run

adb install imsmediatestingapp.apk

2.2 Modify manifest file

adb pull /vendor/etc/vintf/manifest.xml

add below content in manifest file.

<hal format="aidl">
       <name>android.hardware.radio.ims.media</name>
       <fqname>IImsMedia/default</fqname>
</hal>

push back manifest file to Device.

adb push manifest.xml /vendor/etc/vintf/manifest.xml

2.3 Push imsmediahal apk into device from out folder

adb push com.android.telephony.testimsmediahal /system/priv-app/

adb reboot

Test the Audio using test app