Home
last modified time | relevance | path

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

/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/security/src/android/security/cts/
DListeningPortsTest.java313 List<ParsedProcEntry> retval = new ArrayList<ParsedProcEntry>(); in parse() local
347 retval.add(new ParsedProcEntry(localIp, localPort, state, uid)); in parse()
354 return retval; in parse()
365 byte[] retval = new byte[len / 2]; in addrToInet()
368 retval[i] = (byte) ((Character.digit(s.charAt(2*i + 6), 16) << 4) in addrToInet()
370 retval[i + 1] = (byte) ((Character.digit(s.charAt(2*i + 4), 16) << 4) in addrToInet()
372 retval[i + 2] = (byte) ((Character.digit(s.charAt(2*i + 2), 16) << 4) in addrToInet()
374 retval[i + 3] = (byte) ((Character.digit(s.charAt(2*i), 16) << 4) in addrToInet()
377 return InetAddress.getByAddress(retval); in addrToInet()
DBrowserTest.java263 List<Intent> retval = new ArrayList<Intent>(); in createAllIntents() local
271 retval.add(explicit); in createAllIntents()
274 return retval; in createAllIntents()
/cts/tests/tests/permission/src/android/permission/cts/
DFileSystemPermissionTest.java884 Set<File> retval = new HashSet<File>(); in getAllWritableFilesInDirAndSubDir() local
888 return retval; in getAllWritableFilesInDirAndSubDir()
901 retval.addAll(getAllWritableFilesInDirAndSubDir(f)); in getAllWritableFilesInDirAndSubDir()
911 return retval; in getAllWritableFilesInDirAndSubDir()
916 retval.add(f.getCanonicalFile()); in getAllWritableFilesInDirAndSubDir()
919 return retval; in getAllWritableFilesInDirAndSubDir()
1075 Set<File> retval = new HashSet<File>(); in getAllInsecureDevicesInDirAndSubdir() local
1079 return retval; in getAllInsecureDevicesInDirAndSubdir()
1092 retval.addAll(getAllInsecureDevicesInDirAndSubdir(f, type)); in getAllInsecureDevicesInDirAndSubdir()
1098 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