/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/io/ |
FileMatchersTest.java | 13 private File directory; field in class:FileMatchersTest 18 directory = File.createTempFile("myDir", ""); 19 directory.delete(); 20 directory.mkdirs(); 22 file = new File(directory, "myFile"); 27 assertMatches("matches existing directory", FileMatchers.anExistingDirectory(), directory); 34 assertMatches("matches existing directory", FileMatchers.anExistingFileOrDirectory(), directory); 40 assertDoesNotMatch("doesn't match existing directory", FileMatchers.anExistingFile(), directory) [all...] |
/external/jacoco/org.jacoco.report/src/org/jacoco/report/ |
DirectorySourceFileLocator.java | 20 * Locator for source files that picks source files from a given directory in 25 private final File directory; field in class:DirectorySourceFileLocator 29 * directory. 31 * @param directory 32 * directory to search for source file 40 public DirectorySourceFileLocator(final File directory, 43 this.directory = directory; 48 final File file = new File(directory, path);
|
/external/libbrillo/policy/ |
resilient_policy_util.cc | 19 base::FilePath directory = default_policy_path.DirName(); local 20 if (!base::PathExists(directory)) 27 base::FileEnumerator file_iter(directory, false, base::FileEnumerator::FILES);
|
/external/libchrome/base/memory/ |
shared_memory_helper.cc | 35 FilePath directory; local 37 if (!GetShmemTempDir(options.executable, &directory)) 40 fp->reset(base::CreateAndOpenTemporaryFileInDir(directory, path));
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/stub/command/ |
PwdCommandHandler.java | 25 * CommandHandler for the PWD (Print Working Directory) and XPWD commands. By default, return
26 * an empty directory name, along with a reply code of 257. You can customize the returned
27 * directory name by setting the <code>directory</code> property.
36 private String directory = "";
field in class:PwdCommandHandler 46 sendReply(session, quotes(directory));
50 * Set the directory String to be returned by this command
52 * @param directory - the directory
54 public void setDirectory(String directory) {
[all...] |
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/ |
PwdCommandHandler.java | 25 * CommandHandler for the PWD (Print Working Directory) and XPWD commands. By default, return
26 * an empty directory name, along with a reply code of 257. You can customize the returned
27 * directory name by setting the <code>directory</code> property.
37 private String directory = "";
field in class:PwdCommandHandler 50 sendReply(session, quotes(directory));
54 * Set the directory String to be returned by this command
55 * @param directory - the directory
58 this.directory = response; [all...] |
/external/proguard/src/proguard/io/ |
DirectoryPump.java | 27 * This class can read a given file or directory, recursively, applying a given 34 private final File directory; field in class:DirectoryPump 37 public DirectoryPump(File directory) 39 this.directory = directory; 48 if (!directory.exists()) 50 throw new IOException("No such file or directory"); 53 readFiles(directory, dataEntryReader); 65 dataEntryReader.read(new FileDataEntry(directory, file));
|
FileDataEntry.java | 34 private final File directory; field in class:FileDataEntry 39 public FileDataEntry(File directory, 42 this.directory = directory; 51 // Chop the directory name from the file name and get the right separators. 52 return file.equals(directory) ? 55 .substring(directory.getPath().length() + File.separator.length())
|
DirectoryWriter.java | 30 * directory. 46 * @param baseFile the base directory to which all files will be written. 67 File directory = getFile(dataEntry); local 68 if (!directory.exists() && 69 !directory.mkdirs()) 71 throw new IOException("Can't create directory [" + directory.getPath() + "]"); 106 throw new IOException("Can't create directory [" + parentDirectory.getPath() + "]");
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
TrialOutputFactoryService.java | 41 * A {@link TrialOutputFactory} implemented as a service that manages a directory either under 42 * {@code /tmp} or in a user configured directory. 44 * <p>If there is a user configured directory, then no files will be deleted on service shutdown. 60 private File directory; field in class:TrialOutputFactoryService 74 if (directory == null) { 78 dir = directory; 105 File directory; local 109 directory = new File(dirName); 110 if (!directory.exists()) { 111 if (!directory.mkdirs()) [all...] |
/external/ImageMagick/MagickCore/ |
vms.c | 36 % The directory methods are strongly based on similar methods written 64 % closedir() closes the named directory stream and frees the DIR structure. 75 void closedir(DIR *directory) 79 assert(directory != (DIR *) NULL); 80 directory->pattern=DestroyString(directory->pattern); 81 directory=DestroyString(directory); 96 % opendir() opens the directory named by filename and associates a directory 109 *directory; local [all...] |
utility-private.h | 147 *directory; local 149 directory=getcwd(path,extent); 150 (void) directory;
|
/external/libcups/cups/ |
dir.c | 2 * Directory routines for CUPS. 4 * This set of APIs abstracts enumeration of directory entries. 36 struct _cups_dir_s /**** Directory data structure ****/ 38 char directory[1024]; /* Directory filename */ member in struct:_cups_dir_s 39 HANDLE dir; /* Directory handle */ 40 cups_dentry_t entry; /* Directory entry */ 66 * 'cupsDirClose()' - Close a directory. 72 cupsDirClose(cups_dir_t *dp) /* I - Directory pointer */ 82 * Close an open directory handle.. 243 char directory[1024]; \/* Directory filename *\/ member in struct:_cups_dir_s [all...] |
/external/nanopb-c/examples/network_server/ |
server.c | 54 DIR *directory; local 62 directory = opendir(request.path); 64 printf("Listing directory: %s\n", request.path); 66 if (directory == NULL) 78 response.file.arg = directory;
|
/external/parameter-framework/upstream/test/tmpfile/windows/ |
TmpFile.cpp | 73 char directory[] = "."; local 76 if (::GetTempFileName(directory, prefix, 0, path) == 0) { 79 auto message = std::string() + "Could not create a tmp file in \"" + directory +
|
/external/perfetto/src/traced/probes/filesystem/ |
file_scanner.cc | 79 std::string directory = std::move(queue_.back()); local 81 current_dir_handle_.reset(opendir(directory.c_str())); 83 PERFETTO_DPLOG("opendir %s", directory.c_str()); 87 current_directory_ = std::move(directory); 129 // Readdir and stat not guaranteed to have directory info for all systems 131 // Continue iterating through files if current entry is a directory
|
/frameworks/native/cmds/installd/ |
CacheItem.h | 34 * isolated file, or an entire directory tree that should be deleted as a 48 bool directory; member in class:android::installd::CacheItem
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
SidebarUiTest.java | 43 bots.directory.openDocument(dirName1); 52 bots.directory.selectDocument(fileName1, 1);
|
KeyboardNavigationUiTest.java | 44 // Tests that pressing tab switches focus between the roots and directory listings. 50 bots.directory.assertHasFocus(); 58 bots.directory.assertHasFocus(); 62 bots.directory.assertHasFocus(); 74 bots.directory.assertFirstDocumentHasFocus();
|
DirectoryMessagesUiTest.java | 42 bots.directory.openDocument(DemoProvider.DIR_AUTH); 43 bots.directory.assertHasMessage( 44 "To view this directory, sign in to DocumentsUI Tests"); 45 bots.directory.assertHasMessageButtonText("SIGN IN"); 49 bots.directory.openDocument(DemoProvider.DIR_INFO); 50 bots.directory.assertHasMessage(DemoProvider.MSG_INFO); 51 bots.directory.assertHasMessageButtonText("DISMISS"); 55 bots.directory.openDocument(DemoProvider.DIR_INFO); 56 bots.directory.assertHasMessage(true); 57 bots.directory.clickMessageButton() [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
ShortcutDumpFiles.java | 47 final File directory = mService.getDumpPath(); local 48 directory.mkdirs(); 49 if (!directory.exists()) { 50 Slog.e(TAG, "Failed to create directory: " + directory); 54 final File path = new File(directory, filename); 78 final File directory = mService.getDumpPath(); local 79 final File[] files = directory.listFiles(f -> f.isFile()); 80 if (!directory.exists() || ArrayUtils.isEmpty(files)) {
|
/developers/build/prebuilts/gradle/DirectorySelection/Application/tests/src/com/example/android/directoryselection/ |
DirectoryEntryAdapterTest.java | 71 DirectoryEntry directory = new DirectoryEntry(); local 72 directory.fileName = DIRECTORY1; 73 directory.mimeType = DirectoryEntryAdapter.DIRECTORY_MIME_TYPE; 74 mDirectoryEntries.add(directory);
|
/developers/samples/android/content/documentsUi/DirectorySelection/Application/tests/src/com/example/android/directoryselection/ |
DirectoryEntryAdapterTest.java | 71 DirectoryEntry directory = new DirectoryEntry(); local 72 directory.fileName = DIRECTORY1; 73 directory.mimeType = DirectoryEntryAdapter.DIRECTORY_MIME_TYPE; 74 mDirectoryEntries.add(directory);
|
/system/ca-certificates/ |
Android.mk | 31 # $(3): destination directory 32 define include-prebuilt-with-destination-directory 47 $(foreach cacert, $(cacerts), $(eval $(call include-prebuilt-with-destination-directory,target-cacert-$(notdir $(cacert)),$(cacert),$(cacerts_target_directory)))) 56 $(foreach cacert, $(cacerts), $(eval $(call include-prebuilt-with-destination-directory,host-cacert-$(notdir $(cacert)),$(cacert),$(cacerts_host_directory))))
|
/prebuilts/tools/common/m2/repository/com/amazonaws/aws-java-sdk-directory/1.11.18/ |
aws-java-sdk-directory-1.11.18.jar | |