Home
last modified time | relevance | path

Searched refs:hal (Results 1 – 25 of 51) sorted by relevance

123

/test/vts/script/
Dcreate-image.sh18 rm ${ANDROID_BUILD_TOP}/test/vts/testcases/hal/automotive/ -rf
19 rm ${ANDROID_BUILD_TOP}/test/vts/testcases/hal/camera/ -rf
20 rm ${ANDROID_BUILD_TOP}/test/vts/testcases/hal/gnss/ -rf
21 rm ${ANDROID_BUILD_TOP}/test/vts/testcases/hal/nfc/ -rf
22 rm ${ANDROID_BUILD_TOP}/test/vts/testcases/hal/sensors/ -rf
23 rm ${ANDROID_BUILD_TOP}/test/vts/testcases/hal/vibrator/ -rf
24 rm ${ANDROID_BUILD_TOP}/test/vts/testcases/hal/vr/ -rf
25 rm ${ANDROID_BUILD_TOP}/test/vts/testcases/hal/tv/ -rf
29 mkdir ${ANDROID_BUILD_TOP}/test/vts/testcases/hal -p
30 touch ${ANDROID_BUILD_TOP}/test/vts/testcases/hal/__init__.py
[all …]
/test/vts-testcase/hal/tv/cec/V1_0/host/
DVtsHalTvCecV1_0HostTest.py35 self.dut.hal.InitHidlHal(
46 self.vtypes = self.dut.hal.tv_cec.GetHidlTypeInterface("types")
51 self.dut.hal.tv_cec.clearLogicalAddress()
52 result = self.dut.hal.tv_cec.addLogicalAddress(
59 status, paddr = self.dut.hal.tv_cec.getPhysicalAddress()
72 result = self.dut.hal.tv_cec.sendMessage(message)
77 version = self.dut.hal.tv_cec.getCecVersion()
82 vendor_id = self.dut.hal.tv_cec.getVendorId()
88 port_infos = self.dut.hal.tv_cec.getPortInfo()
93 self.dut.hal.tv_cec.setOption(self.vtypes.OptionKey.WAKEUP, True)
[all …]
/test/vts/tools/build/tasks/list/
Dvts_spec_file_list.mk17 test/vts/specification/hal/conventional/bluetooth/1.0/BluetoothHalV1bt_interface_t.vts \
18 test/vts/specification/hal/conventional/bluetooth/1.0/BluetoothHalV1.vts \
19 test/vts/specification/hal/conventional/light/1.0/LightHalV1.vts \
20 test/vts/specification/hal/conventional/camera/3.4/CameraHalV3.vts \
21 test/vts/specification/hal/conventional/camera/3.4/CameraHalV3camera3_device_ops_t.vts \
22 test/vts/specification/hal/conventional/camera/2.1/CameraHalV2hw_device_t.vts \
23 test/vts/specification/hal/conventional/camera/2.1/CameraHalV2.vts \
24 test/vts/specification/hal/conventional/wifi/1.0/WifiHalV1.vts \
25 test/vts/specification/hal/conventional/gps/1.0/GpsHalV1GpsInterface.vts \
26 test/vts/specification/hal/conventional/gps/1.0/GpsHalV1.vts \
/test/vts-testcase/hal/gnss/V1_0/host/
DVtsHalGnssV1_0HostTest.py41 self.dut.hal.InitHidlHal(
79 client_callback = self.dut.hal.gnss.GetHidlCallbackInterface(
91 result = self.dut.hal.gnss.setCallback(client_callback)
98 nested_interface = self.dut.hal.gnss.getExtensionAGnssRil()
105 nested_interface = self.dut.hal.gnss.getExtensionGnssGeofencing()
109 nested_interface = self.dut.hal.gnss.getExtensionAGnss()
116 nested_interface = self.dut.hal.gnss.getExtensionGnssNi()
120 nested_interface = self.dut.hal.gnss.getExtensionGnssMeasurement()
124 nested_interface = self.dut.hal.gnss.getExtensionXtra()
128 nested_interface = self.dut.hal.gnss.getExtensionGnssConfiguration()
[all …]
/test/vts-testcase/hal/nfc/V1_0/host/
DVtsHalNfcV1_0HostTest.py47 self.dut.hal.InitHidlHal(
79 client_callback = self.dut.hal.nfc.GetHidlCallbackInterface(
84 result = self.dut.hal.nfc.open(client_callback)
87 result = self.dut.hal.nfc.prediscover()
90 result = self.dut.hal.nfc.controlGranted()
93 result = self.dut.hal.nfc.powerCycle()
96 nfc_types = self.dut.hal.nfc.GetHidlTypeInterface("types")
99 result = self.dut.hal.nfc.write([0, 1, 2, 3, 4, 5])
102 result = self.dut.hal.nfc.close()
/test/vts-testcase/fuzz/iface_fuzzer/
DProtoFuzzerRunner.cpp103 static void GetService(DriverBase *hal, string service_name, bool binder_mode) { in GetService() argument
108 if (!hal->GetService(true, service_name.c_str())) { in GetService()
117 if (!hal->GetService(false, service_name.c_str())) { in GetService()
128 DriverBase *hal; in LoadInterface() local
140 hal = hal_loader(hidl_service); in LoadInterface()
144 hal = hal_loader(); in LoadInterface()
146 return hal; in LoadInterface()
164 std::shared_ptr<DriverBase> hal{LoadInterface(*comp_spec)}; in Init() local
171 GetService(hal.get(), service_name, binder_mode); in Init()
175 .comp_spec_ = comp_spec, .hal_ = hal, in Init()
[all …]
/test/vts/testcases/codelab/host_multi_hal/
DVtsCodelabHostMultiHalTest.py34 self.dut.hal.InitHidlHal(
42 self.dut.hal.InitHidlHal(
50 self.light_types = self.dut.hal.light.GetHidlTypeInterface("types")
51 self.thermal_types = self.dut.hal.thermal.GetHidlTypeInterface("types")
63 status = self.dut.hal.light.setLight(self.light_types.Type.BACKLIGHT,
69 status, cpuUsages = self.dut.hal.thermal.getCpuUsages()
/test/vts/testcases/codelab/fmq_test/
DVtsCodelabFmqTest.py68 self.dut.hal.InitHidlHal(
77 self._audio = self.dut.hal.audio
85 client=self.dut.hal.GetTcpClient("audio"))
93 client=self.dut.hal.GetTcpClient("audio"))
103 client=self.dut.hal.GetTcpClient("audio"))
111 client=self.dut.hal.GetTcpClient("audio"))
121 client=self.dut.hal.GetTcpClient("audio"))
129 client=self.dut.hal.GetTcpClient("audio"))
137 client=self.dut.hal.GetTcpClient("audio"))
151 client=self.dut.hal.GetTcpClient("audio"))
[all …]
/test/vts/utils/python/coverage/
Dsancov_utils.py111 for hal in hals:
113 'lshal -itp 2> /dev/null | grep {0}'.format(hal)).splitlines()
121 logging.warn('No matching processes IDs found for HAL %s', hal)
132 hal)
137 process_name, self._TARGET_SANCOV_PATH, hal)
156 for hal in hals:
157 dut.adb.shell(self._FLUSH_COMMAND.format(hal))
301 for hal in hals:
304 self._TARGET_SANCOV_PATH, hal)).splitlines())
315 for hal in hals:
[all …]
/test/vts/specification/
DAndroid.mk26 test/vts/drivers/hal \
27 test/vts/drivers/hal/common \
28 test/vts/drivers/hal/framework \
29 test/vts/drivers/hal/libdatatype \
30 test/vts/drivers/hal/libmeasurement \
/test/vts-testcase/hal/vr/V1_0/host/
DVtsHalVrV1_0HostTest.py34 self.dut.hal.InitHidlHal(
44 result = self.dut.hal.vr.init()
49 result = self.dut.hal.vr.setVrMode(True)
54 result = self.dut.hal.vr.setVrMode(False)
/test/vts-testcase/hal/vibrator/V1_0/host/
DVtsHalVibratorV1_0HostTest.py34 self.dut.hal.InitHidlHal(
44 vibrator_types = self.dut.hal.vibrator.GetHidlTypeInterface("types")
52 result = self.dut.hal.vibrator.on(10000)
58 result = self.dut.hal.vibrator.off()
/test/vts-testcase/hal/media/c2/V1_0/host/
DVtsHalMediaC2V1_0HostTest.py26 from vts.utils.python.hal import hal_service_name_utils
49 self._dut.hal.InitHidlHal(
57 self.vtypes = self._dut.hal.media_c2.GetHidlTypeInterface("types")
58 status, traitsList = self._dut.hal.media_c2.listComponents()
/test/vts/testcases/codelab/hidl_handle_test/
DVtsCodelabHidlHandleTest.py93 self.dut.hal.InitHidlHal(
102 self._dumpstate = self.dut.hal.dumpstate
138 client=self.dut.hal.GetTcpClient("dumpstate"))
142 client=self.dut.hal.GetTcpClient("dumpstate"))
195 client=self.dut.hal.GetTcpClient("dumpstate"))
/test/vts-testcase/hal/radio/V1_0/host/
DVtsHalRadioV1_0HostTest.py33 self.dut.hal.InitHidlHal(
42 self.radio = self.dut.hal.radio # shortcut
43 self.radio_types = self.dut.hal.radio.GetHidlTypeInterface("types")
/test/vts/agents/hal/
DAndroid.mk52 test/vts/agents/hal \
53 test/vts/agents/hal/proto \
54 test/vts/drivers/hal/common \
/test/vts/testcases/
DREADME.md3 * HIDL HAL Tests: `test/vts-testcase/hal/<hal name>/<version>` and `hardware/interfaces/<hal name>/…
/test/vts-testcase/hal/contexthub/V1_0/host/
DVtsHalContexthubV1_0HostTest.py74 self.dut.hal.InitHidlHal(
82 self.types = self.dut.hal.contexthub.GetHidlTypeInterface("types")
87 hubs = self.dut.hal.contexthub.getHubs()
/test/vts/tools/vts-tradefed/res/config/
Dplans.md17 * __vts-hal-profiling__: For all default VTS HAL performance profiling tests.
18 * __vts-hal-replay__: For all default VTS HAL replay tests.
37 * __vts-hal-auto__: For VTS automotive vehicle HAL test.
38 * __vts-hal-tv__: For VTS tv HAL test.
/test/vts/utils/python/precondition/
Dprecondition_utils.py24 from vts.utils.python.hal import hal_service_name_utils
87 hal = str(
89 if hal:
91 shell, hal, bitness, run_as_compliance_test)
/test/vts-testcase/hal/media/omx/V1_0/host/
DVtsHalMediaOmxV1_0HostTest.py68 self._dut.hal.InitHidlHal(
77 self.vtypes = self._dut.hal.media_omx.GetHidlTypeInterface("types")
78 status, nodeList = self._dut.hal.media_omx.listNodes()
/test/vts-testcase/hal/tv/input/V1_0/host/
DVtsHalTvInputV1_0HostTest.py36 self.dut.hal.InitHidlHal(
46 configs = self.dut.hal.tv_input.getStreamConfigurations(0)
/test/vts/tools/build/tasks/
Dvts_package.mk89 $(call find-files-in-subdirs,test/vts-testcase/hal-trace,"*.vts.trace" -and -type f,.) \
93 …test/vts-testcase/hal-trace/$(f):$(VTS_TESTCASES_OUT)/hal-hidl-trace/test/vts-testcase/hal-trace/$…
101 $(eval target_hal_hash_copy_pairs += $(m):$(VTS_TESTCASES_OUT)/hal-hidl-hash/$(m))))
/test/vts-testcase/hal/sensors/V1_0/host/
DVtsHalSensorsV1_0HostTest.py37 self.dut.hal.InitHidlHal(
52 sensors_types = self.dut.hal.sensors.GetHidlTypeInterface("types")
/test/vts-testcase/hal/sensors/V2_0/host/
DVtsHalSensorsV2_0HostTest.py37 self.dut.hal.InitHidlHal(
52 sensors_types = self.dut.hal.sensors.GetHidlTypeInterface("types")

123