Home
last modified time | relevance | path

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

12345678910>>...15

/packages/apps/Dialer/java/com/android/dialer/persistentlog/
DPersistentLogFileHandler.java147 File[] files = getLogFiles(); in readBlob() local
149 ByteBuffer byteBuffer = ByteBuffer.allocate(getTotalSize(files)); in readBlob()
150 for (File file : files) { in readBlob()
156 private static int getTotalSize(File[] files) { in getTotalSize() argument
158 for (File file : files) { in getTotalSize()
193 File[] files = getLogFiles(); in selectNextFileToWrite() local
195 if (files.length == 0 || files[files.length - 1].length() > fileSizeLimit) { in selectNextFileToWrite()
196 if (files.length >= fileCountLimit) { in selectNextFileToWrite()
197 for (int i = 0; i <= files.length - fileCountLimit; i++) { in selectNextFileToWrite()
198 files[i].delete(); in selectNextFileToWrite()
[all …]
/packages/modules/Virtualization/apex/
Dsign_virt_apex.py387 files = TargetFiles(input_dir)
396 key, files['bootloader'], files['bootloader.pubkey'])
399 Async(AddHashFooter, args, key, files['bootloader'], wait=[replace_f])
400 boot_img_f = Async(AddHashFooter, args, key, files['boot.img'])
401 vendor_boot_img_f = Async(AddHashFooter, args, key, files['vendor_boot.img'])
402 init_boot_img_f = Async(AddHashFooter, args, key, files['init_boot.img'])
405 super_img_f = Async(SignSuperImg, args, key, files['super.img'], unpack_dir.name)
408 Async(MakeVbmetaImage, args, key, files['vbmeta.img'],
409 images=[files['boot.img'], files['vendor_boot.img'],
410 files['init_boot.img'], system_a_img, vendor_a_img],
[all …]
/packages/modules/Virtualization/virtualizationservice/src/
Dcomposite.rs38 let (partitions, mut files) = convert_partitions(partitions)?; in make_composite_image()
72 files.push(header_file); in make_composite_image()
73 files.push(footer_file); in make_composite_image()
74 files.push(zero_filler_file); in make_composite_image()
76 Ok((composite_image, files)) in make_composite_image()
84 let mut files = vec![]; in convert_partitions() localVariable
99 files.push(file); in convert_partitions()
111 Ok((partitions, files)) in convert_partitions()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/
DDownloadsDeletionTypeTest.java73 result.files.add(temp); in testFetchDownloads()
74 result.files.add(temp2); in testFetchDownloads()
87 result.files.add(temp); in testSetChecked()
108 result.files.add(temp); in testUncheckedFilesDoNotCountForSize()
127 result.files.add(temp); in testSaveAndRestoreRemembersUncheckedFiles()
128 result.files.add(temp2); in testSaveAndRestoreRemembersUncheckedFiles()
146 result.files.add(temp); in testCallbackOnFileLoad()
147 result.files.add(temp2); in testCallbackOnFileLoad()
182 result.files.add(temp); in testLoadingState_completeOnDeletableContentFound()
183 result.files.add(temp2); in testLoadingState_completeOnDeletableContentFound()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DFileUtils.java30 final File[] files = path.listFiles(); in deleteRecursively() local
31 if (files != null) { in deleteRecursively()
32 for (final File child : files) { in deleteRecursively()
44 final File[] files = dir.listFiles(fileNameFilter); in deleteFilteredFiles() local
45 if (files == null) { in deleteFilteredFiles()
49 for (final File file : files) { in deleteFilteredFiles()
/packages/modules/Bluetooth/system/build/secondary/third_party/libchrome/
DBUILD.gn41 "base/files/file.cc",
42 "base/files/file_descriptor_watcher_posix.cc",
43 "base/files/file_enumerator.cc",
44 "base/files/file_enumerator_posix.cc",
45 "base/files/file_path.cc",
46 "base/files/file_path_constants.cc",
47 "base/files/file_path_watcher.cc",
48 "base/files/file_path_watcher_linux.cc",
49 "base/files/file_posix.cc",
50 "base/files/file_tracing.cc",
[all …]
/packages/modules/GeoTZ/data_pipeline/
DAndroid.bp69 // files, one per time zone ID.
78 // Reads TzS2Polygon proto files and writes out TzS2Polygon proto files with canonical time zone
79 // IDs, combining multiple input files into output files where necessary.
88 // Converts TzS2Polygon proto files to TsS2CellUnion proto files at a maximum S2 level.
97 // Converts TsS2CellUnion proto files to (single time zone) TzS2Ranges proto files.
106 // Merges multiple, single time zone TzS2Ranges proto files into one, multiple time zone TzS2Ranges
133 // Dev / debug tool: Prints basic stats about TzS2Range files. See the Java class for details.
140 // Dev / debug tool: Prints basic stats about TzS2CellUnion files. See the Java class for details.
/packages/modules/NeuralNetworks/
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.
/packages/modules/adb/client/
Dincremental.cpp115 static unique_fd start_install(const Files& files, const Args& passthrough_args, bool silent) { in start_install() argument
119 for (int i = 0, size = files.size(); i < size; ++i) { in start_install()
120 const auto& file = files[i]; in start_install()
153 bool can_install(const Files& files) { in can_install() argument
154 for (const auto& file : files) { in can_install()
171 std::optional<Process> install(const Files& files, const Args& passthrough_args, bool silent) { in install() argument
172 auto connection_fd = start_install(files, passthrough_args, silent); in install()
197 std::vector<std::string> args(std::move(files)); in install()
/packages/services/Car/service/src/com/android/car/telemetry/util/
DIoUtils.java144 File[] files = directory.listFiles(); in deleteAllSilently() local
145 if (files == null) { in deleteAllSilently()
149 for (File file : files) { in deleteAllSilently()
167 File[] files = dir.listFiles(); in deleteOldFiles() local
168 if (files == null) { in deleteOldFiles()
172 for (File file : files) { in deleteOldFiles()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DFetchDownloadsLoader.java85 result.files.add(currentFile); in collectFiles()
109 public ArrayList<File> files; field in FetchDownloadsLoader.DownloadsResult
119 ArrayList<File> files, in DownloadsResult() argument
123 this.files = files; in DownloadsResult()
/packages/apps/Settings/
Dwrap_alpha.py6 for root, dirs, files in os.walk('.'):
9 for before in files:
17 for root, dirs, files in os.walk('.'):
20 for src in files:
/packages/modules/NeuralNetworks/tools/test_generator/tests/
Dtest.py278 files = []
294 files.append(arg)
299 if not files:
306 files.append(f)
307 files.sort()
309 AddUnitTests(files)
/packages/apps/StorageManager/tests/unit/src/com/android/storagemanager/deletionhelper/
DFetchDownloadsLoaderTest.java46 assertEquals(0, result.files.size()); in testEmptyDirectory()
58 assertEquals(2, result.files.size()); in testFilesInDirectory()
72 assertEquals(1, result.files.size()); in testNestedDirectories()
95 assertEquals(2, result.files.size()); in testSumFileSizes()
111 assertEquals(1, result.files.size()); in testFetchesThumbnailsForImages()
/packages/modules/Permission/SafetyCenter/ConfigLintChecker/tests/java/android/safetycenter/lint/test/
DParserExceptionDetectorTest.kt40 .files( in getDetector()
74 .files((xml("res/raw/safety_center_config.xml", "<invalid-root/>"))) in invalidConfig_throws()
85 .files((xml("res/raw/some_other_config.xml", "<some-other-root/>"))) in unrelatedFile_doesNotThrow()
92 lint().files((xml("res/values/strings.xml", "<some-other-root/>"))).run().expectClean() in unrelatedFolder_doesNotThrow()
DConfigSchemaDetectorTest.kt39 lint().files(( in getDetector()
62 lint().files((xml("res/raw/safety_center_config.xml", "<invalid-root/>"))) in invalidConfig_throws()
70 lint().files((xml("res/raw/some_other_config.xml", "<some-other-root/>"))) in unrelatedFile_doesNotThrow()
76 lint().files((xml("res/values/strings.xml", "<some-other-root/>"))) in unrelatedFolder_doesNotThrow()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhotoStore.java89 File[] files = mStorePath.listFiles(); in clear() local
90 if (files != null) { in clear()
91 for (File file : files) { in clear()
120 File[] files = mStorePath.listFiles(); in initialize() local
121 if (files == null) { in initialize()
124 for (File file : files) { in initialize()
/packages/services/Car/service/src/com/android/car/telemetry/
DResultStore.java104 File[] files = mInterimResultDirectory.listFiles(); in loadInterimResultsIntoMemory() local
105 if (files == null) { in loadInterimResultsIntoMemory()
108 for (File file : files) { in loadInterimResultsIntoMemory()
171 File[] files = mMetricsReportDirectory.listFiles(); in getAllMetricsReports() local
172 if (files == null) { in getAllMetricsReports()
175 for (File file : files) { in getAllMetricsReports()
234 File[] files = mErrorResultDirectory.listFiles(); in getAllErrorResults() local
235 if (files == null) { in getAllErrorResults()
238 for (File file : files) { in getAllErrorResults()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaUpgradeReceiver.java69 String[] files = dbDir.list(); in tryMigratingDatabases() local
70 if (files == null) return; in tryMigratingDatabases()
73 for (int i = 0; i < files.length; i++) { in tryMigratingDatabases()
74 String file = files[i]; in tryMigratingDatabases()
/packages/modules/Bluetooth/system/doc/
Ddirectory_layout.md7 * src/ - All source files for the subsystem.
8 * include/ - All include files for the subsystem.
16 * conf - *Configuration* - Various configuration text files.
20 * include - **Deprecated** - System global include files.
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile45 # format and will distribute the generated files over these directories.
47 # source files, where putting all generated files in the same directory would
115 # path before files name in the file list and in the header files. If set
220 # Doxygen selects the parser to use depending on the extension of the files it parses.
226 # .inc files as Fortran files (default is PHP), and .f files as C (default is Fortran),
228 # FILE_PATTERNS otherwise the files are not read by doxygen.
289 # For small to medium size projects (<1000 input files) the default value is
324 # defined locally in source files will be included in the documentation.
325 # If set to NO only classes defined in header files are included.
345 # undocumented members of documented classes, files or namespaces.
[all …]
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile45 # format and will distribute the generated files over these directories.
47 # source files, where putting all generated files in the same directory would
115 # path before files name in the file list and in the header files. If set
220 # Doxygen selects the parser to use depending on the extension of the files it parses.
226 # .inc files as Fortran files (default is PHP), and .f files as C (default is Fortran),
228 # FILE_PATTERNS otherwise the files are not read by doxygen.
289 # For small to medium size projects (<1000 input files) the default value is
324 # defined locally in source files will be included in the documentation.
325 # If set to NO only classes defined in header files are included.
345 # undocumented members of documented classes, files or namespaces.
[all …]
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DFsHelper.java14 File[] files = directory.listFiles(); in deleteContents() local
15 if (files != null) { in deleteContents()
16 for (File file : files) { in deleteContents()
/packages/services/Car/tools/GenericCarApiBuilder/src/com/android/car/tool/apibuilder/
DGenerateAPI.java165 File[] files = folderName.listFiles(); in getAllFiles() local
167 for (int i = 0; i < files.length; i++) { in getAllFiles()
168 if (files[i].isFile() && files[i].getName().endsWith(".java")) { in getAllFiles()
170 System.out.printf("File added %s\n", files[i]); in getAllFiles()
172 allFiles.add(files[i]); in getAllFiles()
174 if (files[i].isDirectory()) { in getAllFiles()
175 allFiles.addAll(getAllFiles(files[i])); in getAllFiles()
/packages/modules/StatsD/apex/hiddenapi/
DOWNERS1 # These files are only intended to be changed by platform-compat and
5 # soong-team@ as the hiddenapi files are tightly coupled with Soong
8 # compat-team@ for changes to hiddenapi files

12345678910>>...15