Home
last modified time | relevance | path

Searched refs:retval (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/security/src/android/security/cts/
DListeningPortsTest.java255 List<ParsedProcEntry> retval = new ArrayList<ParsedProcEntry>(); in parse() local
288 retval.add(new ParsedProcEntry(localIp, localPort, state, uid)); in parse()
295 return retval; in parse()
306 byte[] retval = new byte[len / 2]; in addrToInet()
309 retval[i] = (byte) ((Character.digit(s.charAt(2*i + 6), 16) << 4) in addrToInet()
311 retval[i + 1] = (byte) ((Character.digit(s.charAt(2*i + 4), 16) << 4) in addrToInet()
313 retval[i + 2] = (byte) ((Character.digit(s.charAt(2*i + 2), 16) << 4) in addrToInet()
315 retval[i + 3] = (byte) ((Character.digit(s.charAt(2*i), 16) << 4) in addrToInet()
318 return InetAddress.getByAddress(retval); in addrToInet()
DBrowserTest.java246 List<Intent> retval = new ArrayList<Intent>(); in createAllIntents() local
254 retval.add(explicit); in createAllIntents()
257 return retval; in createAllIntents()
/cts/tests/tests/os/jni/
Dandroid_os_cts_NoExecutePermissionTest.cpp28 jboolean retval = false; in isAddressExecutable() local
40 retval = (permissions[2] == 'x'); in isAddressExecutable()
45 return retval; in isAddressExecutable()
/cts/tests/tests/permission/src/android/permission/cts/
DFileSystemPermissionTest.java720 Set<File> retval = new HashSet<File>(); in getAllWritableFilesInDirAndSubDir() local
724 return retval; in getAllWritableFilesInDirAndSubDir()
737 retval.addAll(getAllWritableFilesInDirAndSubDir(f)); in getAllWritableFilesInDirAndSubDir()
747 return retval; in getAllWritableFilesInDirAndSubDir()
752 retval.add(f.getCanonicalFile()); in getAllWritableFilesInDirAndSubDir()
755 return retval; in getAllWritableFilesInDirAndSubDir()
971 Set<File> retval = new HashSet<File>(); in getAllInsecureDevicesInDirAndSubdir() local
975 return retval; in getAllInsecureDevicesInDirAndSubdir()
988 retval.addAll(getAllInsecureDevicesInDirAndSubdir(f, type)); in getAllInsecureDevicesInDirAndSubdir()
994 return retval; in getAllInsecureDevicesInDirAndSubdir()
[all …]
/cts/apps/CtsVerifier/assets/scripts/
Dexecute_power_tests.py478 retval = self.computeBaselineState(measurements)
479 if retval[0]:
485 return retval