/frameworks/base/tests/backup/ |
D | test_restore.sh | 52 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/ |
D | minikin_style.md | 12 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/ |
D | UsageStatsDatabase.java | 165 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/ |
D | ValidateDefaultPermissions.cpp | 29 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/ |
D | MultiDexExtractor.java | 136 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 …]
|
D | MultiDex.java | 244 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/ |
D | FileBackupHelper.java | 53 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()
|
D | FileBackupHelperBase.java | 55 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/ |
D | ValidatePermission.cpp | 28 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/ |
D | ValidateMediaCodecs.cpp | 27 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/ |
D | FileServiceInfo.java | 35 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/ |
D | report_directory.cpp | 46 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()
|
D | WorkDirectory.cpp | 543 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/ |
D | README.md | 16 …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/ |
D | ProcessStatsService.java | 392 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/ |
D | Android.mk | 24 $(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/ |
D | Android.mk | 25 $(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/ |
D | README.txt | 16 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/ |
D | FileObserver.java | 116 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/ |
D | UsimPhoneBookManager.java | 204 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/ |
D | docs.gradle | 20 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/ |
D | UserDataPreparer.java | 167 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/ |
D | MainActivity.java | 276 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/ |
D | Android.mk | 25 $(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/ |
D | fix_resources.py | 35 files = os.listdir(dir) 36 files = map(lambda f: os.path.join(dir, f), files) 37 for f in files:
|