diff options
author | Keun Soo Yim | 2017-04-24 16:49:30 -0500 |
---|---|---|
committer | Keun Soo Yim | 2017-04-26 18:32:14 -0500 |
commit | ce89d5816ff1a891bf3b701f471dc60c65d8ccbe (patch) | |
tree | ea68b74f1990a5e295bae234183b5738a9af889f | |
parent | 6287508ad35867e0ec8a1d9ddd6812e0e8cf26f3 (diff) | |
download | platform-hardware-interfaces-ce89d5816ff1a891bf3b701f471dc60c65d8ccbe.tar.gz platform-hardware-interfaces-ce89d5816ff1a891bf3b701f471dc60c65d8ccbe.tar.xz platform-hardware-interfaces-ce89d5816ff1a891bf3b701f471dc60c65d8ccbe.zip |
stop bluetooth service while VTS test is running
Test: run VTS HAL BT test
Bug: 37153328
Change-Id: I615d96daff496096122cd18158c205073f4623a6
(cherry picked from commit 1965f73bacbb1cd937f97149b29583edb65c2c99)
-rw-r--r-- | bluetooth/1.0/default/android.hardware.bluetooth@1.0-service.rc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bluetooth/1.0/default/android.hardware.bluetooth@1.0-service.rc b/bluetooth/1.0/default/android.hardware.bluetooth@1.0-service.rc index 0f76c39f..47cc13e3 100644 --- a/bluetooth/1.0/default/android.hardware.bluetooth@1.0-service.rc +++ b/bluetooth/1.0/default/android.hardware.bluetooth@1.0-service.rc | |||
@@ -3,3 +3,12 @@ service bluetooth-1-0 /vendor/bin/hw/android.hardware.bluetooth@1.0-service | |||
3 | user bluetooth | 3 | user bluetooth |
4 | group bluetooth | 4 | group bluetooth |
5 | writepid /dev/stune/foreground/tasks | 5 | writepid /dev/stune/foreground/tasks |
6 | |||
7 | on property:vts.native_server.on=1 && property:ro.build.type=userdebug | ||
8 | stop bluetooth-1-0 | ||
9 | on property:vts.native_server.on=1 && property:ro.build.type=eng | ||
10 | stop bluetooth-1-0 | ||
11 | on property:vts.native_server.on=0 && property:ro.build.type=userdebug | ||
12 | start bluetooth-1-0 | ||
13 | on property:vts.native_server.on=0 && property:ro.build.type=eng | ||
14 | start bluetooth-1-0 | ||