Home
last modified time | relevance | path

Searched refs:files (Results 1 – 25 of 529) sorted by relevance

12345678910>>...22

/frameworks/base/tests/backup/
Dtest_restore.sh52 echo --- Previous files
58 echo --- Erased files and shared_prefs
82 check_file files/file.txt "first file" || need_bug=1
83 check_file files/another_file.txt "asdf" || need_bug=1
85 check_file files/empty.txt "" || need_bug=1
89 check_exists files/file_doesnt_exist.txt && need_bug=1
90 check_exists files/no_files_here.txt && need_bug=1
100 echo --- Restored files
108 a shell cat /data/data/com.android.backuptest/files/3.txt | tail -n 3
/frameworks/minikin/doc/
Dminikin_style.md12 3. C system files
13 4. C++ system files
15 6. Other libraries' files
17 8. Minikin public files
19 10. Minikin private files
25 #include <math.h> // C system header files.
26 #include <string> // C++ system header files.
38 * `#include <...>` should be used for non local library files.
39 * `#include "..."` should be used for minikin header files.
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsDatabase.java165 for (TimeSparseArray<AtomicFile> files : mSortedStatFiles) { in init()
166 final int startIndex = files.closestIndexOnOrAfter(currentTimeMillis); in init()
171 final int fileCount = files.size(); in init()
173 files.valueAt(i).delete(); in init()
179 files.removeAt(i); in init()
200 final TimeSparseArray<AtomicFile> files = in checkinDailyFiles() local
202 final int fileCount = files.size(); in checkinDailyFiles()
208 if (files.valueAt(i).getBaseFile().getPath().endsWith(CHECKED_IN_SUFFIX)) { in checkinDailyFiles()
221 readLocked(files.valueAt(i), stats); in checkinDailyFiles()
234 final AtomicFile file = files.valueAt(i); in checkinDailyFiles()
[all …]
/frameworks/base/services/core/xsd/vts/
DValidateDefaultPermissions.cpp29 std::vector<std::string> files; in get_files_in_dirs() local
33 return files; in get_files_in_dirs()
42 files.push_back(de->d_name); in get_files_in_dirs()
45 return files; in get_files_in_dirs()
57 std::vector<std::string> files = get_files_in_dirs(dir_path); in TEST() local
58 for (auto& file_name : files) { in TEST()
/frameworks/multidex/library/src/androidx/multidex/
DMultiDexExtractor.java136 List<ExtractedDex> files; in load() local
139 files = loadExistingExtractions(context, prefsKeyPrefix); in load()
143 files = performExtractions(); in load()
145 files); in load()
153 files = performExtractions(); in load()
155 files); in load()
158 Log.i(TAG, "load found " + files.size() + " secondary dex files"); in load()
159 return files; in load()
186 final List<ExtractedDex> files = new ArrayList<ExtractedDex>(totalDexNumber - 1); in loadExistingExtractions() local
206 files.add(extractedFile); in loadExistingExtractions()
[all …]
DMultiDex.java244 List<? extends File> files = in doInstallation() local
247 installSecondaryDexes(loader, dexDir, files); in doInstallation()
255 files = extractor.load(mainContext, prefsKeyPrefix, true); in doInstallation()
256 installSecondaryDexes(loader, dexDir, files); in doInstallation()
359 List<? extends File> files) in installSecondaryDexes() argument
363 if (!files.isEmpty()) { in installSecondaryDexes()
365 V19.install(loader, files, dexDir); in installSecondaryDexes()
367 V14.install(loader, files); in installSecondaryDexes()
369 V4.install(loader, files); in installSecondaryDexes()
454 File[] files = dexDir.listFiles(); in clearOldDexDir() local
[all …]
/frameworks/base/core/java/android/app/backup/
DFileBackupHelper.java53 public FileBackupHelper(Context context, String... files) { in FileBackupHelper() argument
58 mFiles = files; in FileBackupHelper()
76 String[] files = mFiles; in performBackup() local
78 final int N = files.length; in performBackup()
81 fullPaths[i] = (new File(base, files[i])).getAbsolutePath(); in performBackup()
85 performBackup_checked(oldState, data, newState, fullPaths, files); in performBackup()
DFileBackupHelperBase.java55 ParcelFileDescriptor newState, String[] files, String[] keys) { in performBackup_checked() argument
56 if (files.length == 0) { in performBackup_checked()
60 for (String f: files) { in performBackup_checked()
66 if (files.length != keys.length) { in performBackup_checked()
67 throw new RuntimeException("files.length=" + files.length in performBackup_checked()
77 int err = performBackup_native(oldStateFd, data.mBackupWriter, newStateFd, files, keys); in performBackup_checked()
124 long data, FileDescriptor newState, String[] files, String[] keys); in performBackup_native() argument
/frameworks/base/core/xsd/vts/
DValidatePermission.cpp28 static void get_files_in_dirs(const char* dir_path, std::vector<std::string>& files) { in get_files_in_dirs() argument
42 files.push_back(de->d_name); in get_files_in_dirs()
55 std::vector<std::string> files; in TEST() local
56 get_files_in_dirs(location, files); in TEST()
58 for (std::string file_name : files) { in TEST()
/frameworks/av/media/libstagefright/xmlparser/vts/
DValidateMediaCodecs.cpp27 static void get_files_in_dirs(const char* dir_path, std::vector<std::string>& files) { in get_files_in_dirs() argument
41 files.push_back(de->d_name); in get_files_in_dirs()
54 std::vector<std::string> files; in TEST() local
55 get_files_in_dirs(location, files); in TEST()
57 for (std::string file_name : files) { in TEST()
/frameworks/base/telephony/java/android/telephony/mbms/
DFileServiceInfo.java35 private final List<FileInfo> files; field in FileServiceInfo
44 files = new ArrayList<>(newFiles); in FileServiceInfo()
62 files = new ArrayList<FileInfo>(); in FileServiceInfo()
63 in.readList(files, FileInfo.class.getClassLoader()); in FileServiceInfo()
69 dest.writeList(files); in writeToParcel()
83 return files; in getFiles()
/frameworks/base/cmds/incidentd/src/
Dreport_directory.cpp46 std::vector<std::pair<String8, struct stat>> files; in clean_directory() local
72 files.push_back(std::pair<String8, struct stat>(filename, st)); in clean_directory()
86 sort(files.begin(), files.end(), stat_mtime_cmp); in clean_directory()
89 for (std::vector<std::pair<String8, struct stat>>::iterator it = files.begin(); in clean_directory()
90 it != files.end() && totalSize >= maxSize && totalCount >= maxCount; it++) { in clean_directory()
DWorkDirectory.cpp543 map<string,WorkDirectoryEntry> files; in getReports() local
544 get_directory_contents_locked(&files, after); in getReports()
545 for (map<string,WorkDirectoryEntry>::iterator it = files.begin(); in getReports()
546 it != files.end(); it++) { in getReports()
597 map<string,WorkDirectoryEntry> files; in hasMore() local
598 get_directory_contents_locked(&files, after); in hasMore()
599 return files.size() > 0; in hasMore()
622 map<string,WorkDirectoryEntry> files; in commitAll() local
623 get_directory_contents_locked(&files, 0); in commitAll()
625 for (map<string,WorkDirectoryEntry>::iterator it = files.begin(); in commitAll()
[all …]
/frameworks/av/media/codec2/hidl/1.0/vts/functional/common/
DREADME.md16 …nts. The resource files for this test are taken from `frameworks/av/media/codec2/hidl/1.0/vts/func…
18 usage: `VtsHalMediaC2V1_0TargetAudioDecTest -I default -C <comp name> -P <path to resource files>`
20 usage: `VtsHalMediaC2V1_0TargetAudioEncTest -I software -C <comp name> -P <path to resource files>`
27 …nts. The resource files for this test are taken from `frameworks/av/media/codec2/hidl/1.0/vts/func…
29 usage: `VtsHalMediaC2V1_0TargetVideoDecTest -I default -C <comp name> -P <path to resource files>`
31 usage: `VtsHalMediaC2V1_0TargetVideoEncTest -I software -C <comp name> -P <path to resource files>`
/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java392 File[] files = mBaseDir.listFiles(); in getCommittedFiles() local
393 if (files == null || files.length <= minNum) { in getCommittedFiles()
396 ArrayList<String> filesArray = new ArrayList<String>(files.length); in getCommittedFiles()
398 if (DEBUG) Slog.d(TAG, "Collecting " + files.length + " files except: " + currentFile); in getCommittedFiles()
399 for (int i=0; i<files.length; i++) { in getCommittedFiles()
400 File file = files[i]; in getCommittedFiles()
518 ArrayList<String> files = getCommittedFiles(0, false, true);
519 if (files != null) {
520 for (int i=files.size()-1; i>=0; i--) {
523 new File(files.get(i)), ParcelFileDescriptor.MODE_READ_ONLY);
[all …]
/frameworks/rs/tests/java_api/RsTest/
DAndroid.mk24 $(call all-java-files-under,src) \
25 $(call all-java-files-under,../RSUnitTests/gui) \
26 $(call all-java-files-under,../RSUnitTests/src) \
27 $(call all-renderscript-files-under,../RSUnitTests/src) \
/frameworks/rs/tests/java_api/RSTest_CompatLib/
DAndroid.mk25 $(call all-java-files-under,src) \
26 $(call all-java-files-under,../RSUnitTests/gui) \
27 $(call all-java-files-under,../RSUnitTests/supportlibsrc_gen) \
28 $(call all-renderscript-files-under,../RSUnitTests/supportlibsrc_gen) \
/frameworks/ml/nn/
DREADME.txt16 This directory contains files for the Android Neural Networks API.
21 Includes source code and internal header files.
22 ./runtime/include: The header files that an external developer would use.
25 ./runtime/test: Test files.
31 ./common: Contains files that can be useful for multiple components,
33 internal header files.
34 ./common/include: Header files to be used by the components using common.
/frameworks/base/core/java/android/os/
DFileObserver.java116 public int[] startWatching(List<File> files, in startWatching() argument
118 final int count = files.size(); in startWatching()
121 paths[i] = files.get(i).getAbsolutePath(); in startWatching()
212 public FileObserver(@NonNull List<File> files) { in FileObserver() argument
213 this(files, ALL_EVENTS); in FileObserver()
250 public FileObserver(@NonNull List<File> files, @NotifyEventType int mask) { in FileObserver() argument
251 mFiles = files; in FileObserver()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DUsimPhoneBookManager.java204 SparseArray<File> files; in readEmailFileAndWait() local
205 files = mPbrRecords.get(recId).mFileIds; in readEmailFileAndWait()
206 if (files == null) return; in readEmailFileAndWait()
208 File email = files.get(USIM_EFEMAIL_TAG); in readEmailFileAndWait()
218 if (files.get(USIM_EFIAP_TAG) == null) { in readEmailFileAndWait()
224 readIapFileAndWait(files.get(USIM_EFIAP_TAG).getEfid()); in readEmailFileAndWait()
469 SparseArray<File> files; in readAdnFileAndWait() local
470 files = mPbrRecords.get(recId).mFileIds; in readAdnFileAndWait()
471 if (files == null || files.size() == 0) return; in readAdnFileAndWait()
475 if (files.get(USIM_EFEXT1_TAG) != null) { in readAdnFileAndWait()
[all …]
/frameworks/opt/setupwizard/tools/gradle/
Ddocs.gradle20 classpath = files(variant.javaCompile.classpath.files) + files(
27 bootClasspath = files(android.getBootClasspath()).asType(List)
29 docletpath = files("$DOCSDIR/doclava.jar", "$DOCSDIR/jsilver.jar").asType(List)
/frameworks/base/services/core/java/com/android/server/pm/
DUserDataPreparer.java167 final List<File> files = new ArrayList<>(); in reconcileUsers() local
168 Collections.addAll(files, FileUtils in reconcileUsers()
170 Collections.addAll(files, FileUtils in reconcileUsers()
172 Collections.addAll(files, FileUtils in reconcileUsers()
174 Collections.addAll(files, FileUtils in reconcileUsers()
176 Collections.addAll(files, FileUtils in reconcileUsers()
178 reconcileUsers(volumeUuid, validUsersList, files); in reconcileUsers()
182 void reconcileUsers(String volumeUuid, List<UserInfo> validUsersList, List<File> files) { in reconcileUsers() argument
189 for (File file : files) { in reconcileUsers()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DMainActivity.java276 File[] files = dir.listFiles(); in findJpeg() local
277 if (files == null) return null; in findJpeg()
278 for (int i = 0; i < files.length; i++) { in findJpeg()
279 if (files[i].isDirectory() && !files[i].getName().startsWith(".")) { in findJpeg()
280 File ret = findJpeg(files[i]); in findJpeg()
287 if (files[i].getName().toLowerCase().endsWith(".jpg")) { in findJpeg()
288 Log.v(TAG, "returning " + files[i].getAbsolutePath()); in findJpeg()
289 return files[i]; in findJpeg()
/frameworks/rs/tests/java_api/RSTestBackward/
DAndroid.mk25 $(call all-java-files-under, src)\
26 $(call all-java-files-under, ../RSUnitTests/src)\
27 $(call all-renderscript-files-under, ../RSUnitTests/src)\
/frameworks/base/tools/aapt2/tools/
Dfix_resources.py35 files = os.listdir(dir)
36 files = map(lambda f: os.path.join(dir, f), files)
37 for f in files:

12345678910>>...22