tree: 4c6d79081d38751990a6a2048566a79b1284b101 [path history] [tgz]
  1. app/
  2. imsmediahal/
  3. README.md
test/README.md

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