• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# ImsMedia test
2
3## 1. Introduction
4 - The `test/` directory in _ImsMedia_ contains test implementation of _ImsMedia_'.
5 - Module `imsmediahal/` contains implementation of _ImsMedia_'s HAL APIs.
6
7
8 ## 2. Procedure to test app
9
10 Build `app` and `imsmediahal` under `test\` folder
11
12 ```
13 gcert
14 cd test
15 mma
16 ```
17
18 #### 2.1 Install test app from out folder and run
19 ```
20 adb install imsmediatestingapp.apk
21 ```
22
23 #### 2.2 Modify manifest file
24 ```
25 adb pull /vendor/etc/vintf/manifest.xml
26
27 add below content in manifest file.
28
29 <hal format="aidl">
30        <name>android.hardware.radio.ims.media</name>
31        <fqname>IImsMedia/default</fqname>
32 </hal>
33
34 push back manifest file to Device.
35
36 adb push manifest.xml /vendor/etc/vintf/manifest.xml
37 ```
38
39 #### 2.3 Push imsmediahal apk into device from out folder
40 ```
41 adb push com.android.telephony.testimsmediahal /system/priv-app/
42
43 adb reboot
44
45 Test the Audio using test app
46 ```
47