Add bt anomaly action in testing app
This cl adds the action to start bluttooth unoptimized scanning. With this action we could test whether bt anomaly detector is effective. Bug: 62602318 Test: make -j40 AnomalyTester Change-Id: I7f41dbb07384fbf3c5a81e460a3629306bc33f59
This commit is contained in:
@@ -35,16 +35,21 @@
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="3"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Threshold(ms)"/>
|
||||
android:hint="Threshold(ms)"
|
||||
android:text="3000"
|
||||
android:inputType="number"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/bluetooth_run_time"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="3"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Run time(ms)"/>
|
||||
android:hint="Run time(ms)"
|
||||
android:text="6000"
|
||||
android:inputType="number"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/bluetooth_button"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="2"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
Reference in New Issue
Block a user