Lines Matching refs:test_instance
27 def CanRunHidlHalTest(test_instance, argument
53 test_instance.getUserParams(opt_param_names=opt_params)
55 bitness = str(getattr(test_instance, keys.ConfigKeys.IKEY_ABI_BITNESS, ""))
58 getattr(test_instance,
73 file_path_prefix = getattr(test_instance, "file_path_prefix", "")
88 getattr(test_instance, keys.ConfigKeys.IKEY_PRECONDITION_LSHAL, ""))
97 def CheckFeaturePrecondition(test_instance, dut, shell=None): argument
112 test_instance.getUserParams(opt_param_names=opt_params)
115 getattr(test_instance, keys.ConfigKeys.IKEY_PRECONDITION_FEATURE, ""))
135 def MeetFirstApiLevelPrecondition(test_instance, dut=None): argument
150 test_instance.getUserParams(opt_param_names=opt_params)
151 if not hasattr(test_instance,
156 test_instance, keys.ConfigKeys.IKEY_PRECONDITION_FIRST_API_LEVEL, 0)
166 dut = test_instance.android_devices[0]
178 def CheckSysPropPrecondition(test_instance, dut, shell=None): argument
194 if not hasattr(test_instance, keys.ConfigKeys.IKEY_PRECONDITION_SYSPROP):
198 getattr(test_instance, keys.ConfigKeys.IKEY_PRECONDITION_SYSPROP, ''))