Searched refs:directory (Results 1 - 25 of 55) sorted by relevance

123

/frameworks/rs/script_api/
H A DGenerator.h21 bool generateHeaderFiles(const std::string& directory);
24 bool generateTestFiles(const std::string& directory, unsigned int versionOfTestFiles);
H A DGenerateDocumentation.cpp431 static bool generateOverview(const string& directory) { argument
433 if (!file.start(directory, OVERVIEW_HTML_FILE_NAME)) {
454 static bool generateAlphabeticalIndex(const string& directory) { argument
456 if (!file.start(directory, INDEX_HTML_FILE_NAME)) {
617 static bool writeDetailedDocumentationFile(const string& directory, argument
627 if (!file.start(directory, fileName)) {
696 static bool generateAndroidTableOfContentSnippet(const string& directory) { argument
698 if (!file.start(directory, "guide_toc.cs")) {
727 bool generateDocumentation(const string& directory) { argument
728 bool success = generateOverview(directory)
[all...]
H A DUtilities.h67 bool start(const std::string& directory, const std::string& name);
H A DUtilities.cpp196 bool GeneratedFile::start(const string& directory, const string& name) { argument
197 const string path = directory + "/" + name;
/frameworks/base/cmds/incidentd/src/
H A Dreport_directory.h28 android::status_t create_directory(const char* directory);
29 void clean_directory(const char* directory, off_t maxSize, size_t maxCount);
H A Dreport_directory.cpp36 status_t create_directory(const char* directory) { argument
39 char* dir = strdup(directory);
59 ALOGE("No such directory %s, something wrong.", dir);
68 // Ensure that the final directory is owned by the system with 0770. If it isn't
70 if (stat(directory, &st) != 0) {
71 ALOGE("No incident reports today. Can't stat: %s", directory);
76 ALOGE("No incident reports today. Mode is %0o on report directory %s", st.st_mode,
77 directory);
82 ALOGE("No incident reports today. Owner is %d and group is %d on report directory %s",
83 st.st_uid, st.st_gid, directory);
98 clean_directory(const char* directory, off_t maxSize, size_t maxCount) argument
[all...]
H A DReporter.h92 Reporter(const char* directory); // For testing purpose only.
/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutDumpFiles.java47 final File directory = mService.getDumpPath();
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();
79 final File[] files = directory.listFiles(f -> f.isFile());
80 if (!directory.exists() || ArrayUtils.isEmpty(files)) {
/frameworks/base/packages/DefaultContainerService/jni/
H A Dcom_android_defcontainer_MeasurementUtils.cpp32 static jlong native_measureDirectory(JNIEnv* env, jobject /* clazz */, jstring directory) { argument
35 const char* path = env->GetStringUTFChars(directory, NULL);
48 env->ReleaseStringUTFChars(directory, path);
/frameworks/base/tools/obbtool/
H A Dmkobb.sh151 echo " -d <directory> Use <directory> as input for OBB files"
169 -d) directory=$2; shift 2;;
180 if [ "${directory}x" = "x" -o ! -d "${directory}" ]; then \
181 echo "ERROR: Must specify valid input directory"
205 echo "ERROR: Output directory does not exist: ${outdir}"
214 block_count=`du -s --apparent-size --block-size=512 ${directory} | awk '{ print $1; }'`
216 echo "ERROR: Couldn't read size of input directory ${directory}"
[all...]
/frameworks/native/cmds/installd/
H A DCacheItem.h34 * isolated file, or an entire directory tree that should be deleted as a
48 bool directory; member in class:android::installd::CacheItem
H A DCacheItem.cpp35 directory = S_ISDIR(p->fts_statp->st_mode);
72 if (directory) {
/frameworks/base/core/java/com/android/internal/app/
H A DIMediaContainerService.aidl28 void clearDirectory(String directory);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DWfaCertBuilder.java40 * @param directory the location where the cert files are stored
43 public static Set<X509Certificate> loadCertsFromDisk(String directory) { argument
46 File certDir = new File(directory);
/frameworks/base/core/java/android/net/http/
H A DHttpResponseCache.java46 * cache directory} of the filesystem}: <pre> {@code
73 * external storage directory. <strong>There are no access controls on the
74 * external storage directory so it should not be used for caches that could
77 * during use. Retrieve the external cache directory using {@link
175 * @param directory the directory to hold cache data.
178 * @throws IOException if {@code directory} cannot be used for this cache.
182 public static synchronized HttpResponseCache install(File directory, long maxSize) argument
189 if (trueResponseCache.isEquivalent(directory, maxSize)) {
198 AndroidShimResponseCache.create(directory, maxSiz
[all...]
/frameworks/av/media/libnblog/
H A DReportPerformance.cpp49 const char * directory, bool append, int author, log_hash_t hash) {
74 histogramName << directory << "histograms_" << common.str();
75 outlierName << directory << "outliers_" << common.str();
76 peakName << directory << "peaks_" << common.str();
46 writeToFile(const std::deque<std::pair<timestamp, Histogram>> &hists, const std::deque<std::pair<msInterval, timestamp>> &outlierData, const std::deque<timestamp> &peakTimestamps, const char * directory, bool append, int author, log_hash_t hash) argument
/frameworks/compile/mclinker/lib/Support/Unix/
H A DFileSystem.inc59 // find a new directory
67 errno = 0; // opendir() will set errno if it failed to open directory.
76 // find a new directory
90 llvm::report_fatal_error(std::string("Can't read directory: ") +
/frameworks/base/tools/preload2/
H A DAndroid.mk23 # Copy the preload-tool shell script to the host's bin directory.
/frameworks/opt/setupwizard/library/
H A Dcommon-platform-deprecated.mk16 # Path to directory of setup wizard lib (e.g. frameworks/opt/setupwizard/library)
/frameworks/base/media/java/android/media/
H A DMiniThumbFile.java105 File directory = new File(path).getParentFile();
106 if (!directory.isDirectory()) {
107 if (!directory.mkdirs()) {
108 Log.e(TAG, "Unable to create .thumbnails directory "
109 + directory.toString());
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
H A DDefaultContainerService.java70 * a single monolithic APK file or a cluster directory
96 * a single monolithic APK file or a cluster directory
166 final File directory = new File(path);
167 if (directory.exists() && directory.isDirectory()) {
168 eraseFiles(directory);
176 * a single monolithic APK file or a cluster directory
/frameworks/base/media/mca/filterfw/native/
H A Dlibfilterfw.mk28 # Finally, add this directory
/frameworks/base/services/core/java/com/android/server/updates/
H A DCertificateTransparencyLogInstallReceiver.java51 * containing log information to a directory with a file per log. To support atomically
52 * replacing the old configuration directory with the new there's a bunch of steps. We
53 * create a new directory with the logs and then do an atomic update of the current symlink
54 * to point to the new directory.
60 throw new IOException("Unable to make directory " + updateDir.getCanonicalPath());
69 // 2. Handle the corner case where the new directory already exists.
72 // and so we cannot delete the directory since its in use. Instead just bump the version
86 throw new IOException("Unable to make directory " + newVersion.getCanonicalPath());
120 Slog.i(TAG, "CT log directory updated to " + newVersion.getAbsolutePath());
127 private void installLog(File directory, JSONObjec argument
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
H A DFileCollectorTest.java88 File directory = temporaryFolder.newFolder();
89 writeDataToFile(new File(directory, "test"), "1234");
/frameworks/native/services/vr/performanced/
H A Dcpu_set.cpp52 DirectoryReader directory(base::unique_fd(dup(base_fd)));
53 if (!directory) {
55 strerror(directory.GetError()));
63 while (dirent* entry = directory.Next()) {

Completed in 1020 milliseconds

123