/test/vts/drivers/hal/common/binder/ |
D | VtsFuzzerBinderService.cpp | 84 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/ |
D | VtsHalHidlTargetCallbackBase.h | 148 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/ |
D | CompatibilityTestTest.java | 78 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 …]
|
D | JarHostTestTest.java | 148 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()
|
D | ModuleRepoTest.java | 479 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/ |
D | DynamicConfigFileReaderTest.java | 90 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/ |
D | DynamicConfigPusherTest.java | 124 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/ |
D | shell_mirror.py | 50 res = True 53 res &= self._client.Heal() 55 if not res: 58 return res
|
D | mirror_tracker.py | 103 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/ |
D | vts_package.mk | 114 $(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/ |
D | poc.cpp | 67 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/ |
D | show_plan_run.jsp | 109 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>
|
D | show_tree.jsp | 176 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>
|
D | show_table.jsp | 151 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/ |
D | command_device.py | 154 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/ |
D | corpus_manager_test.py | 93 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/ |
D | test_framework_instrumentation_test.py | 218 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/ |
D | VtsTestabilityChecker.cpp | 274 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/ |
D | DeviceManifestTest.cpp | 42 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/ |
D | VtsPythonRunnerHelper.java | 127 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/ |
D | Android.mk | 42 LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res $(LOCAL_PATH)/../res
|
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/ |
D | ApkPackageNameCheck.java | 135 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/ |
D | filter_utils.py | 385 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/ |
D | filter_utils.py | 385 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/ |
D | Android.mk | 45 LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res $(LOCAL_PATH)/../res
|