Home
last modified time | relevance | path

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

12345678910>>...20

/packages/modules/AdServices/adservices/linter/documentation/
DBackCompatNewFileDetector.md2 …g of AdServices, it generates multiple data files (e.g., adservices.db, adservices-msmt.db etc.). …
6files that were generated during normal operation before the OTA. It therefore results in multiple…
8 …e within ExtServices, and those could be creating files within the data directory as well. These f…
12 1. Identify the AdServices files within the ExtServices data directory
13 2. Trigger code within ExtServices that is responsible for cleaning up the orphaned files.
17 1. New files may be added to the AdServices code over the next few years that would also need to be…
18 2. Any manual identification of the generated files may miss something, for which we’ll need to be …
20 # Identifying AdServices files
21files generated by AdServices and non-AdServices code in ExtServices, we’ll rename all the files b…
24 1. Any folder that begins with adservices will be deleted completely (i.e., all files, recursive).
[all …]
/packages/modules/Bluetooth/tools/lint/checks/tests/com/android/bluetooth/lint/test/
DLogEnforcementVariableCreationDetectorTest.kt41 .files( in getDetector()
73 .files( in testClassWithVVar_issueFound()
105 .files( in testClassWithDbgVar_issueFound()
137 .files( in testClassWithVdbgVar_issueFound()
169 .files( in testClassWithDebugVar_issueFound()
201 .files( in testClassWithVerboseVar_issueFound()
233 .files( in testClassWithDbgEndingVar_issueFound()
265 .files( in testClassWithVdbgEndingVar_issueFound()
299 .files( in testClassWithMemberDbgVar_issueFound()
331 .files( in testClassWithMemberDebugVar_issueFound()
[all …]
DGuardedLogLineDetectorTest.kt41 .files( in getDetector()
76 .files( in testUnguardedLogStatements_inSafeIfStatement_noIssuesFound()
113 .files( in testGuardedLogWithIsLoggable_warningFound()
146 .files( in testGuardedLogWithDbgVariable_issueFound()
180 .files( in testGuardedLogWithUnaryDbgVariable_issueFound()
214 .files( in testGuardedLogWithBinaryDbgVariable_issueFound()
248 .files( in testGuardedLogWithPolyadicDbgVariable_issueFound()
282 .files( in testGuardedLogWithParenthesizedDbgVariable_issueFound()
316 .files( in testGuardedLogInNestedIfWithDbgVariable_issueFound()
352 .files( in testGuardedLogInIfElseWithDbgVariableInElseIf_issueFound()
[all …]
/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/AdServices/adservices/linter/tests/java/android/adservices/lint/test/
DDeviceConfigUsageDetectorTest.kt39 lint().files(java(""" in getDetector()
64 lint().files(java(""" in applicableMethodCalls_getBoolean_throws()
89 lint().files(java(""" in applicableMethodCalls_getInt_throws()
114 lint().files(java(""" in applicableMethodCalls_getLong_throws()
140 lint().files(java(""" in applicableMethodCalls_getFloat_throws()
165 lint().files(java(""" in applicableMethodCalls_getProperty_throws()
190 lint().files(java(""" in applicableMethodCalls_getProperties_throws()
215 lint().files(java(""" in applicableMethodCalls_getString_pass()
234 lint().files(java(""" in applicableMethodCalls_getBoolean_pass()
253 lint().files(java(""" in applicableMethodCalls_getInt_pass()
[all …]
DRoomDatabaseMigrationDetectorTest.kt44 .files( in getDetector()
88 .files( in testMigrationPath_missingDatabaseAnnotationError()
126 .files( in testMigrationPath_missingMigrationPathAttribute()
167 .files( in testMigrationPath_incompleteMigrationPath()
212 .files( in testMigrationPath_missingDatabaseVersionFieldInClass()
256 .files( in testMigrationPath_missingDatabaseVersionAnnotationField()
302 .files( in testMigrationPath_failedToReferenceDatabaseVersionError()
349 .files( in testMigrationPath_schemaExportFalseError()
395 .files( in testMigrationPath_schemaExportTrue_happyCase()
440 .files( in testMigrationPath_databaseNotRegistered()
[all …]
DBackCompatJobServiceDetectorTest.kt39 lint().files( in getDetector()
70 lint().files( in validJobService_literalExpression_doesNotThrow()
96 lint().files(java(""" in invalidJobService_noneJobService_doesNotThrow()
120 lint().files(java(""" in invalidJobService_noneFieldInitializer_doesNotThrow()
147 lint().files(java(""" in invalidJobService_throws()
188 lint().files(java(""" in invalidJobService_getLogger_throws()
/packages/modules/Bluetooth/service/
Dbuild.gradle.kts23 implementation(files("../../../../external/kotlinc/lib/kotlin-stdlib.jar")) in <lambda>()
24 …implementation(files("../../../../out/soong/.intermediates/frameworks/libs/modules-utils/java/com/… in <lambda>()
25 …implementation(files("../../../../out/soong/.intermediates/frameworks/libs/modules-utils/java/com/… in <lambda>()
26 …implementation(files("../../../../out/soong/.intermediates/frameworks/libs/modules-utils/java/fram… in <lambda>()
27 …implementation(files("../../../../out/soong/.intermediates/packages/modules/Bluetooth/framework/fr… in <lambda>()
28 …implementation(files("../../../../out/soong/.intermediates/packages/modules/Bluetooth/service/chan… in <lambda>()
29 implementation(files("../../../../prebuilts/sdk/33/system-server/android.jar")) in <lambda>()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/
DUnifiedContentPreviewUiTest.kt73 testLoadingHeadline("image/*", files = null) { headlineRow -> in <lambda>()
82 testLoadingHeadline("video/*", files = null) { headlineRow -> in <lambda>()
91 testLoadingHeadline("application/pdf", files = null) { headlineRow -> in <lambda>()
100 testLoadingHeadline("*/*", files = null) { headlineRow -> in <lambda>()
110 val files = in <lambda>() constant
115 testLoadingHeadline("image/*", files) { headlineRow -> in <lambda>()
124 val files = in <lambda>() constant
129 testLoadingHeadline("video/*", files) { headlineRow -> in <lambda>()
138 val files = in <lambda>() constant
143 testLoadingHeadline("*/*", files) { headlineRow -> in <lambda>()
[all …]
/packages/modules/Permission/SafetyCenter/ConfigLintChecker/tests/java/android/safetycenter/lint/test/
DParserExceptionDetectorTest.kt50 .files( in validMinimumConfig_doesNotThrow()
61 .files( in validFutureConfig_doesNotThrow()
73 .files(xml("res/raw-v34/safety_center_config.xml", "<invalid-root/>")) in invalidConfigWithSingleSchema_throwsOneError()
86 .files(xml("res/raw/safety_center_config.xml", "<invalid-root/>")) in invalidConfigWithMultipleSchemas_throwsMultipleErrors()
102 .files( in validUConfigWithUFields_throwsInT()
118 .files( in validTConfigWithUReference_throwsInT()
135 .files( in validTConfigWithOtherLanguageReference_throwsInT()
150 lint().files(xml("res/raw/some_other_config.xml", "<some-other-root/>")).run().expectClean() in unrelatedFile_doesNotThrow()
155 lint().files(xml("res/values/strings.xml", "<some-other-root/>")).run().expectClean() in unrelatedFolder_doesNotThrow()
DConfigSchemaDetectorTest.kt48 .files( in validMinimumConfig_doesNotThrow()
77 .files( in validFutureConfig_doesNotThrow()
107 .files((xml("res/raw-v34/safety_center_config.xml", "<invalid-root/>"))) in invalidConfigWithSingleSchema_throwsOneError()
120 .files((xml("res/raw/safety_center_config.xml", "<invalid-root/>"))) in invalidConfigWithMultipleSchemas_throwsMultipleErrors()
136 .files( in validUConfigWithUFields_throwsInT()
172 .files((xml("res/raw/some_other_config.xml", "<some-other-root/>"))) in unrelatedFile_doesNotThrow()
179 lint().files((xml("res/values/strings.xml", "<some-other-root/>"))).run().expectClean() in unrelatedFolder_doesNotThrow()
/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/Virtualization/virtualizationmanager/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
100 files.push(file); in convert_partitions()
112 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/modules/Virtualization/apex/
Dsign_virt_apex.py535 files = TargetFiles(input_dir)
545 UnpackSuperImg(args, files['super.img'], unpack_dir.name)
559 files['super.img'], wait=images_f)
562 vbmeta_f = Async(MakeVbmetaImage, args, key, files['vbmeta.img'],
568 initrd_files = [v for k, v in files.items() if IsInitrdImage(k)]
570 files['vbmeta.img'],
600 kernel_file = files[kernel]
601 initrd_normal_file = files[initrd_normal]
602 initrd_debug_file = files[initrd_debug]
611 _, original_kernel_descriptors = AvbInfo(args, files['kernel'])
[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/apps/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/buildSrc/src/main/java/task/
DSymlinkSourcesTask.kt30 protected abstract val files: ConfigurableFileTree in <lambda>() constant in task.SymlinkSourcesTask
32 fun files(filter: Action<PatternFilterable>) { in <lambda>() method in task.SymlinkSourcesTask
33 filter.execute(files) in <lambda>()
44 files.from(sourcesRoot) in <lambda>()
50 inputChanges.getFileChanges(files).forEach { change -> in <lambda>()
55 if (file !in files && file.absolutePath != sourcesRootDir.absolutePath) { in <lambda>()
/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/apps/Traceur/src/com/android/traceur/
DTraceController.java77 TraceUtils.traceDump(context, perfettoFileName).ifPresent(files -> { in shareFiles()
85 files.stream().filter(it -> in shareFiles()
89 files.remove(it); in shareFiles()
95 Uri winscopeUri = zipFileListIntoOneUri(context, files, winscopeFileName); in shareFiles()
115 private static Uri zipFileListIntoOneUri(Context context, List<File> files, String fileName) { in zipFileListIntoOneUri() argument
116 if (files.isEmpty()) { in zipFileListIntoOneUri()
129 files.forEach(file -> { in zipFileListIntoOneUri()
/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/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/
DUnifiedContentPreviewUi.java99 private void setFiles(List<FileInfo> files) { in setFiles() argument
100 mImageLoader.prePopulate(files.stream() in setFiles()
104 mFiles = files; in setFiles()
106 updatePreviewWithFiles(mContentPreviewView, mHeadlineView, files); in setFiles()
149 ViewGroup contentPreviewView, View headlineView, List<FileInfo> files) { in updatePreviewWithFiles() argument
150 final int count = files.size(); in updatePreviewWithFiles()
165 for (FileInfo fileInfo : files) { in updatePreviewWithFiles()
/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/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/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/services/Car/tools/GenericCarApiBuilder/src/com/android/car/tool/apibuilder/
DGenerateAPI.java332 File[] files = folderName.listFiles(); in getAllFiles() local
334 for (int i = 0; i < files.length; i++) { in getAllFiles()
335 if (files[i].isFile() && files[i].getName().endsWith(".java")) { in getAllFiles()
337 System.out.printf("File added %s\n", files[i]); in getAllFiles()
339 allFiles.add(files[i]); in getAllFiles()
341 if (files[i].isDirectory()) { in getAllFiles()
342 allFiles.addAll(getAllFiles(files[i])); in getAllFiles()

12345678910>>...20