summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-03-01 00:35:01 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-03-01 00:35:01 +0000
commit1b15816d9faaf3ff3240933d9f4f1a696bb3d45a (patch)
treed9a02dab290c0a2b0db186f4e0706fe1fb8e7cc0
parentb06784e8d74970e0730502803b9019c9faa3ecee (diff)
parent1338d7ac5f98d81d77833b62d08b61fb087c4f08 (diff)
downloadadt-infra-emu-34-3-release.tar.gz
Snap for 11518112 from 1338d7ac5f98d81d77833b62d08b61fb087c4f08 to emu-34-3-releaseemu-34-3-release
Change-Id: I788cf56d37fc4df3e93632b50eb4c3a0f6286dbf
-rw-r--r--pytest/test_embedded/tests/incubating/sensors/test_sensor_service.py13
-rw-r--r--pytest/test_embedded/tests/sensors/test_sensor.py5
2 files changed, 13 insertions, 5 deletions
diff --git a/pytest/test_embedded/tests/incubating/sensors/test_sensor_service.py b/pytest/test_embedded/tests/incubating/sensors/test_sensor_service.py
index 67cebe63..d3ca35d1 100644
--- a/pytest/test_embedded/tests/incubating/sensors/test_sensor_service.py
+++ b/pytest/test_embedded/tests/incubating/sensors/test_sensor_service.py
@@ -100,9 +100,16 @@ async def set_and_get_sensor(sensor_service, sensor_value):
2,
),
("Acceleration", SensorValue.SENSOR_SENSOR_TYPE_ACCELERATION, 10, 0, 0),
- ("Acceleration_Uncalibrated", SensorValue.SENSOR_SENSOR_TYPE_ACCELERATION_UNCALIBRATED, 25, 0, 0),
- ("Heart_Rate", SensorValue.SENSOR_SENSOR_TYPE_HEART_RATE, 60, 0, 10),
- ("RGBC_Light", SensorValue.SENSOR_SENSOR_TYPE_RGBC_LIGHT, 255, 0, 0),
+ (
+ "Acceleration_Uncalibrated",
+ SensorValue.SENSOR_SENSOR_TYPE_ACCELERATION_UNCALIBRATED,
+ 25,
+ 0,
+ 0,
+ ),
+ # BUG: b/326662659 HEART_RATE and RGBC_LIGHT sensor values not available for phone AVD
+ # ("Heart_Rate", SensorValue.SENSOR_SENSOR_TYPE_HEART_RATE, 60, 0, 10), BUG: b/326662659 HEART_RATE not available for phone AVD
+ # ("RGBC_Light", SensorValue.SENSOR_SENSOR_TYPE_RGBC_LIGHT, 255, 0, 0),
],
)
async def test_sensor_value(service, test_name, sensor_value, x, y, z):
diff --git a/pytest/test_embedded/tests/sensors/test_sensor.py b/pytest/test_embedded/tests/sensors/test_sensor.py
index 81b41842..d5351f12 100644
--- a/pytest/test_embedded/tests/sensors/test_sensor.py
+++ b/pytest/test_embedded/tests/sensors/test_sensor.py
@@ -78,8 +78,9 @@ async def set_and_get_sensor(emu_controller, sensor_value):
("Gyroscope_Uncalibrated", SensorValue.GYROSCOPE_UNCALIBRATED, 2, 2, 2),
("Acceleration", SensorValue.ACCELERATION, 10, 0, 0),
("Acceleration_Uncalibrated", SensorValue.ACCELERATION_UNCALIBRATED, 25, 0, 0),
- ("Heart_Rate", SensorValue.HEART_RATE, 60, 0, 10),
- ("RGBC_Light", SensorValue.RGBC_LIGHT, 255, 0, 0),
+ # BUG: b/326662659 HEART_RATE and RGBC_LIGHT sensor values not available for phone AVD
+ # ("Heart_Rate", SensorValue.HEART_RATE, 60, 0, 10),
+ # ("RGBC_Light", SensorValue.RGBC_LIGHT, 255, 0, 0),
],
)
async def test_sensor_value(emulator_controller, test_name, sensor_value, x, y, z):