Home
last modified time | relevance | path

Searched refs:res (Results 1 – 25 of 56) sorted by relevance

123

/test/vts/drivers/hal/common/binder/
DVtsFuzzerBinderService.cpp84 int32_t res; in LoadHal() local
85 status_t status = reply.readInt32(&res); in LoadHal()
88 return res; in LoadHal()
112 int32_t res; in Status() local
113 /* status_t */ reply.readInt32(&res); in Status()
114 return res; in Status()
130 const char* res = reply.readCString(); in Call() local
131 if (res == NULL) { in Call()
133 return res; in Call()
136 printf("len(reply) = %zu\n", strlen(res)); in Call()
[all …]
/test/vts/runners/target/vts_hal_hidl_target/
DVtsHalHidlTargetCallbackBase.h148 WaitForCallbackResult res = PeekCallbackLocks(callback_function_names); variable
149 while (!res.no_timeout) {
157 res = PeekCallbackLocks(callback_function_names);
159 return res;
301 WaitForCallbackResult res; in Wait() local
302 res.name = name_; in Wait()
312 return res; in Wait()
316 return res; in Wait()
320 res.no_timeout = true; in Wait()
322 res.args = arg_data_.front(); in Wait()
[all …]
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/
DCompatibilityTestTest.java78 Set<IAbi> res = mTest.getAbis(); in testGetAbis() local
79 assertEquals(2, res.size()); in testGetAbis()
80 for (IAbi abi : res) { in testGetAbis()
115 Set<IAbi> res = mTest.getAbis(); in testGetAbis_primaryAbiOnly() local
116 assertEquals(1, res.size()); in testGetAbis_primaryAbiOnly()
117 for (IAbi abi : res) { in testGetAbis_primaryAbiOnly()
156 Set<IAbi> res = mTest.getAbis(); in testGetAbis_skipCtsArchCheck() local
157 assertEquals(2, res.size()); in testGetAbis_skipCtsArchCheck()
158 for (IAbi abi : res) { in testGetAbis_skipCtsArchCheck()
175 Set<IAbi> res = mTest.getAbis(); in testGetAbis_skipCtsArchCheck_abiSpecified() local
[all …]
DJarHostTestTest.java148 List<IRemoteTest> res = (List<IRemoteTest>) mTest.split(1, mTestInfo); in testSplit_withoutJar() local
149 assertEquals(2, res.size()); in testSplit_withoutJar()
150 assertTrue(res.get(0) instanceof JarHostTest); in testSplit_withoutJar()
151 assertTrue(res.get(1) instanceof JarHostTest); in testSplit_withoutJar()
166 List<IRemoteTest> res = (List<IRemoteTest>) mTest.split(1, mTestInfo); in testSplit_withJar() local
167 assertEquals(2, res.size()); in testSplit_withJar()
168 assertTrue(res.get(0) instanceof JarHostTest); in testSplit_withJar()
170 ((JarHostTest)res.get(0)).getClassNames().toString()); in testSplit_withJar()
171 assertTrue(res.get(1) instanceof JarHostTest); in testSplit_withJar()
173 ((JarHostTest)res.get(1)).getClassNames().toString()); in testSplit_withJar()
DModuleRepoTest.java479 List<IModuleDef> res = mRepo.getShard(testList, 0, 1); in testGetshard_allSameRuntime() local
480 assertEquals(4, res.size()); in testGetshard_allSameRuntime()
481 res = mRepo.getShard(testList, 0, 2); in testGetshard_allSameRuntime()
482 assertEquals(2, res.size()); in testGetshard_allSameRuntime()
483 assertEquals(mod1, res.get(0)); in testGetshard_allSameRuntime()
484 assertEquals(mod2, res.get(1)); in testGetshard_allSameRuntime()
485 res = mRepo.getShard(testList, 1, 2); in testGetshard_allSameRuntime()
486 assertEquals(2, res.size()); in testGetshard_allSameRuntime()
487 assertEquals(mod3, res.get(0)); in testGetshard_allSameRuntime()
488 assertEquals(mod4, res.get(1)); in testGetshard_allSameRuntime()
[all …]
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/util/
DDynamicConfigFileReaderTest.java90 String res = DynamicConfigFileReader.getValueFromConfig(mConfigFile, "doesnotexit"); in testGetValueFromFile_keyNotFound() local
91 assertNull(res); in testGetValueFromFile_keyNotFound()
100 String res = DynamicConfigFileReader.getValueFromConfig(mConfigFile, "media_files_url"); in testGetValueFromFile() local
101 assertEquals("some value", res); in testGetValueFromFile()
110 String res = DynamicConfigFileReader.getValueFromConfig( in testGetValueFromBuild() local
112 assertEquals("some value", res); in testGetValueFromBuild()
121 String res = DynamicConfigFileReader.getValueFromConfig( in testGetValueFromBuild_moduleNotFound() local
123 assertNull(res); in testGetValueFromBuild_moduleNotFound()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/targetprep/
DDynamicConfigPusherTest.java124 File res = mPreparer.getLocalConfigFile(mMockBuildHelper, mMockDevice); in testLocalRead_fromDynamicConfigName() local
125 assertEquals(check, res); in testLocalRead_fromDynamicConfigName()
147 File res = mPreparer.getLocalConfigFile(mMockBuildHelper, mMockDevice); in testLocalRead() local
148 assertEquals(check, res); in testLocalRead()
210 File res = null; in testResourceRead() local
213 res = mPreparer.getLocalConfigFile(mMockBuildHelper, mMockDevice); in testResourceRead()
214 assertTrue(res.exists()); in testResourceRead()
215 assertTrue(FileUtil.readStringFromFile(res).contains("<dynamicConfig>")); in testResourceRead()
217 FileUtil.deleteFile(res); in testResourceRead()
232 File res = null; in testResourceRead_resourceFileName() local
[all …]
/test/vts/utils/python/mirror/
Dshell_mirror.py50 res = True
53 res &= self._client.Heal()
55 if not res:
58 return res
Dmirror_tracker.py103 res = all(map(lambda shell: shell.Heal(), self._registered_mirrors.values()))
105 if not res:
108 return res
521 res = self._adb.shell(cmd, no_except=True)
522 all[const.STDOUT].append(res[const.STDOUT])
523 all[const.STDERR].append(res[const.STDERR])
524 all[const.EXIT_CODE].append(res[const.EXIT_CODE])
/test/vts/tools/build/tasks/
Dvts_package.mk114 $(call find-files-in-subdirs,hardware/interfaces/media/res,"*.*" -and -type f,.) \
118 hardware/interfaces/media/res/$(f):$(VTS10_TESTCASES_OUT)/DATA/media/res/$(f))
121 …$(call find-files-in-subdirs,frameworks/av/media/codec2/hidl/1.0/vts/functional/res,"*.*" -and -ty…
125 …frameworks/av/media/codec2/hidl/1.0/vts/functional/res/$(f):$(VTS10_TESTCASES_OUT)/DATA/media/c2/r…
135 $(call find-files-in-subdirs,test/vts-testcase/performance/res/,"*.*" -and -type f,.) \
139 test/vts-testcase/performance/res/$(f):$(VTS10_TESTCASES_OUT)/DATA/performance/res/$(f))
/test/vts-testcase/security/poc/target/kernel_wifi/31707909/
Dpoc.cpp67 int fd, i, res; in poc() local
96 if ((res = ioctl(fd, 0x89F0, (struct ifreq *)&arg)) < 0) { in poc()
97 printf("ioctl error res:0x%x, %s \r\n", res, strerror(errno)); in poc()
/test/vti/dashboard/src/main/webapp/WEB-INF/jsp/
Dshow_plan_run.jsp109 var rows = resultNames.map(function(res, i) {
110 nickname = res.replace('TEST_CASE_RESULT_', '').replace('_', ' ')
117 var colors = resultNames.map(function(res) {
118 return $('.' + res).css('background-color') || 'white';
170 <c:forEach items='${resultNames}' var='res'>
172 <c:set var='trimmed' value='${fn:replace(res, "TEST_CASE_RESULT_", "")}'/>
174 <label for='${res}'>${nickname}</label>
175 <div id='${res}' class='${res} legend-bubble'></div>
Dshow_tree.jsp176 var rows = resultNames.map(function(res, i) {
177 nickname = res.replace('TEST_CASE_RESULT_', '').replace('_', ' ')
184 var colors = resultNames.map(function(res) {
185 return $('.' + res).css('background-color') || 'white';
220 <c:forEach items='${resultNames}' var='res'>
222 <c:set var='trimmed' value='${fn:replace(res, "TEST_CASE_RESULT_", "")}'/>
224 <label for='${res}'>${nickname}</label>
225 <div id='${res}' class='${res} legend-bubble'></div>
Dshow_table.jsp151 var rows = resultNames.map(function(res, i) {
152 nickname = res.replace('TEST_CASE_RESULT_', '').replace('_', ' ')
159 var colors = resultNames.map(function(res) {
160 return $('.' + res).css('background-color') || 'white';
251 <c:forEach items='${resultNames}' var='res'>
253 <c:set var='trimmed' value='${fn:replace(res, "TEST_CASE_RESULT_", "")}'/>
255 <label for='${res}'>${nickname}</label>
256 <div id='${res}' class='${res} legend-bubble'></div>
/test/framework/harnesses/host_controller/command_processor/
Dcommand_device.py154 res = stderr.splitlines()[0].rstrip()
155 if ":" in res:
156 device["product"] = res.split(":")[1].strip()
157 elif "waiting for %s" % serial in res:
158 res = stderr.splitlines()[1].rstrip()
159 device["product"] = res.split(":")[1].strip()
/test/vts/utils/python/fuzzer/
Dcorpus_manager_test.py93 res = _corpus_manager.FetchCorpusSeed('ILight', '/tmp/tmpDir1')
94 self.assertEquals(res, 'locked')
109 res = _corpus_manager.FetchCorpusSeed('ILight', '/tmp/tmpDir1')
110 self.assertEquals(res, 'directory')
168 res = _corpus_manager.FetchCorpusSeed('ILight', '/tmp/tmpDir1')
169 self.assertEquals(res, 'directory')
/test/vts/utils/python/instrumentation/
Dtest_framework_instrumentation_test.py218 res = tfi.GenerateTextReport()
221 self.assertGreater(len(res), 0)
225 self.assertIn('name1', res)
226 self.assertIn('name2', res)
227 self.assertIn('cat1', res)
228 self.assertIn('cat2', res)
/test/vts/utils/native/testability_checker/
DVtsTestabilityChecker.cpp274 hardware::Return<void> res; in CheckTestHalWithHwManager() local
276 res = sm_->listByInterface(fqName, [&](const auto& registered_instances) { in CheckTestHalWithHwManager()
283 res = sm_->list([&](const auto& services) { in CheckTestHalWithHwManager()
292 if (!res.isOk()) { in CheckTestHalWithHwManager()
293 LOG(ERROR) << "failed to check services: " << res.description(); in CheckTestHalWithHwManager()
/test/vts-testcase/hal/treble/vintf/
DDeviceManifestTest.cpp42 auto res = TestTargetFcmVersion(shipping_fcm_version, shipping_api_level); in TEST_F() local
43 ASSERT_RESULT_OK(res); in TEST_F()
/test/vts/harnesses/tradefed/src/com/android/tradefed/util/
DVtsPythonRunnerHelper.java127 File res = new File(virtualenvPath, binDirName); in getPythonBinDir() local
128 if (!res.exists()) { in getPythonBinDir()
131 return res.getAbsolutePath(); in getPythonBinDir()
/test/mlts/benchmark/dogfood/
DAndroid.mk42 LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res $(LOCAL_PATH)/../res
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/
DApkPackageNameCheck.java135 AaptParser res = AaptParser.parse(apkFile); in testApkPackageNames() local
136 assertNotNull(res); in testApkPackageNames()
137 String packageName = res.getPackageName(); in testApkPackageNames()
/test/vts-testcase/kernel/ltp/testcase/tools/common/
Dfilter_utils.py385 res = check_function(item)
387 if (not res and self.enable_module_name_prefix_matching and
389 res = check_function(
393 return res
/test/vts/utils/python/common/
Dfilter_utils.py385 res = check_function(item)
387 if (not res and self.enable_module_name_prefix_matching and
389 res = check_function(
393 return res
/test/mlts/benchmark/crashtest/
DAndroid.mk45 LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res $(LOCAL_PATH)/../res

123