Home
last modified time | relevance | path

Searched refs:fileMode (Results 1 – 2 of 2) sorted by relevance

/tools/tradefederation/core/util-apps/ContentProvider/main/java/android/tradefed/contentprovider/
DManagedFileContentProvider.java189 final int fileMode = modeToMode(mode); in openFile() local
191 if ((fileMode & ParcelFileDescriptor.MODE_CREATE) == ParcelFileDescriptor.MODE_CREATE) { in openFile()
200 return ParcelFileDescriptor.open(file, fileMode); in openFile()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java1507 String fileMode = executeShellCommand(String.format("ls -l %s", fullPath)); in isExecutable() local
1508 if (fileMode != null) { in isExecutable()
1509 return EXE_FILE.matcher(fileMode).find(); in isExecutable()