/frameworks/base/tools/lint/framework/checks/src/test/java/com/google/android/lint/parcel/ |
D | SaferParcelCheckerTest.kt | 43 .files( in getDetector() 74 .files( in testParcelDoesNotDetectSafeReadSerializable() 96 .files( in testParcelDetectUnsafeReadArrayList() 125 .files( in testParcelDoesNotDetectSafeReadArrayList() 147 .files( in testParcelDetectUnsafeReadList() 179 .files( in testDParceloesNotDetectSafeReadList() 203 .files( in testParcelDetectUnsafeReadParcelable() 233 .files( in testParcelDoesNotDetectSafeReadParcelable() 255 .files( in testParcelDetectUnsafeReadParcelableList() 287 .files( in testParcelDoesNotDetectSafeReadParcelableList() [all …]
|
/frameworks/base/tools/hoststubgen/hoststubgen/test-tiny-framework/ |
D | diff-and-update-golden.sh | 21 Compare the generated jar files from tiny-framework to the "golden" files. 24 -u: Update the golden files. 26 -3: Run `meld` to compare original, stub and impl jar files in 3-way diff. 27 This is useful to visualize the exact differences between 3 jar files. 72 files=( 95 for file in ${files[*]} ; do 115 run meld ${files[0]} ${files[1]} ${files[2]} & 120 …run meld --diff ${files[0]} ${files[1]} --diff ${files[1]} ${files[2]} --diff ${files[0]} ${files[…
|
/frameworks/base/tools/lint/global/checks/src/test/java/com/google/android/lint/aidl/ |
D | SimpleManualPermissionEnforcementDetectorTest.kt | 35 lint().files( in getDetector() 73 lint().files( in testClass_orSelfFalse_warning() 111 lint().files( in testClass_enforcesFalse_warning() 149 lint().files( in testAnonClass() 191 lint().files( in testConstantEvaluation() 231 lint().files( in testAllOf() 277 lint().files( in testAllOf_mixedOrSelf_warning() 323 lint().files( in testAllOf_mixedEnforces_warning() 369 lint().files( in testPrecedingExpressions() 391 lint().files( in testPermissionHelper() [all …]
|
D | EnforcePermissionDetectorTest.kt | 39 lint().files(java( in getDetector() 58 lint().files(java( in testDoesNotDetectIssuesCorrectAnnotationAllOnMethod() 77 lint().files(java( in testDoesNotDetectIssuesCorrectAnnotationAllLiteralOnMethod() 97 lint().files(java( in testDoesNotDetectIssuesCorrectAnnotationAnyOnMethod() 116 lint().files(java( in testDoesNotDetectIssuesCorrectAnnotationAnyLiteralOnMethod() 135 lint().files(java( in testDetectIssuesMismatchingAnnotationOnMethod() 159 lint().files(java( in testDetectIssuesAnnotationOnNonStubMethod() 180 lint().files(java( in testDetectNoIssuesAnnotationOnNonStubMethod() 203 lint().files(java( in testDetectIssuesEmptyAnnotationOnMethod() 227 lint().files(java( in testDetectIssuesMismatchingAnyAnnotationOnMethod() [all …]
|
D | EnforcePermissionHelperDetectorTest.kt | 32 lint().files( in getDetector() 69 lint().files( in testFirstExpressionIsVariableDeclaration() 107 lint().files( in testMethodIsEmpty() 134 lint().files( in testOkay() 156 lint().files( in testHelperWithoutSuperPrefix_Okay() 178 lint().files( in testInterfaceDefaultMethod_notStubAncestor_error() 203 lint().files( in testInheritance_callSuper_okay() 252 lint().files( in testInheritance_callHelper_okay() 301 lint().files( in testInheritance_missingCallInChain_error() 357 lint().files( in testInheritance_missingCall_error() [all …]
|
/frameworks/base/tools/lint/framework/checks/src/test/java/com/google/android/lint/ |
D | CallingIdentityTokenDetectorTest.kt | 44 lint().files( in getDetector() 86 lint().files( in testDetectsUnusedTokens() 142 lint().files( in testDetectsUnusedTokensInScopes() 181 lint().files( in testDoesNotDetectUsedTokensInScopes() 211 lint().files( in testDetectsUnusedTokensWithSimilarNamesInScopes() 257 lint().files( in testDetectsNonFinalTokens() 312 lint().files( in testDetectsNestedClearCallingIdentityCalls() 365 lint().files( in testDetectsClearIdentityCallNotFollowedByTryFinally() 462 lint().files( in testDetectsRestoreCallingIdentityCallNotInFinally() 526 lint().files( in testDetectsRestoreCallingIdentityCallNotInFinallyInScopes() [all …]
|
/frameworks/base/core/java/com/android/internal/content/ |
D | F2fsUtils.java | 109 final File[] files = getFilesToRelease(file); in releaseCompressedBlocks() local 110 if (files == null || files.length == 0) { in releaseCompressedBlocks() 116 for (int i = files.length - 1; i >= 0; --i) { in releaseCompressedBlocks() 117 final long releasedBlocks = nativeReleaseCompressedBlocks(files[i].getAbsolutePath()); in releaseCompressedBlocks() 120 + " from \"" + files[i] + "\""); in releaseCompressedBlocks() 266 final ArrayList<File> files = new ArrayList<>(); in getFilesRecursive() local 269 files.addAll(getFilesRecursive(f)); in getFilesRecursive() 271 files.add(f); in getFilesRecursive() 274 return files; in getFilesRecursive() 281 final List<File> files = getFilesRecursive(codePath); in getFilesToRelease() local [all …]
|
/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/base/packages/SystemUI/scripts/token_alignment/ |
D | tsconfig.json | 6 …// "incremental": true, /* Save .tsbuildinfo files to allow for incre… 9 …ectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when… 15 … /* Specify a set of bundled library declaration files that describe the … 18 …rue, /* Emit design-type metadata for decorated declarations in source files. */ 23 …// "noLib": true, /* Disable including any library files, inclu… 25 … "auto", /* Control what method is used to detect module-format JS files. */ 29 …ir": "./", /* Specify the root folder within your source files. */ 38 "resolveJsonModule": true, /* Enable importing .json files. */ 39 …llow 'import's, 'require's or '<reference>'s from expanding the number of files TypeScript should … 42 … /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get… [all …]
|
/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/packages/SystemUI/ |
D | flag_check.py | 60 files = args.files 63 if not should_run_path(project, files): 115 def should_run_path(project, files): argument 123 return should_run_files(files) 128 def should_run_files(files): argument 130 if not files: 132 if 'packages/SystemUI' in files:
|
/frameworks/base/ravenwood/scripts/ |
D | convert-androidtest.py | 45 def find_target_files(files): argument 48 for file in files: 63 files = args 66 files = find_target_files(files) 68 if len(files) == 0: 73 with fileinput.input(files=(files), inplace = True, backup = '.bak') as f: 176 for file in files:
|
/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/base/packages/SystemUI/checks/tests/com/android/internal/systemui/lint/ |
D | DumpableNotRegisteredDetectorTest.kt | 32 .files( in getDetector() 52 .files( in classIsDumpable_andRegisterIsCalled_noViolation() 83 .files( in classIsDumpable_andRegisterNormalIsCalled_noViolation() 114 .files( in classIsDumpable_andRegisterCriticalIsCalled_noViolation() 145 .files( in classIsDumpable_noRegister_violation() 178 .files( in classIsDumpable_usesNotDumpManagerMethod_violation() 215 .files( in classIsDumpableAndCoreStartable_noRegister_noViolation() 245 .files( in classIsAbstract_noRegister_noViolation()
|
D | DemotingTestWithoutBugDetectorTest.kt | 35 .files( in getDetector() 56 .files( in getDetector() 80 .files( in testMarkFlaky_withoutBugId() 108 .files( in testMarkFlaky_withoutBugId() 139 .files( in testExcludeDevices_withBugId() 163 .files( in testExcludeDevices_withoutBugId() 194 .files( in testIgnore_withBug() 218 .files( in testIgnore_withoutBug() 246 .files( in testIgnore_withoutBug()
|
D | BindServiceOnMainThreadDetectorTest.kt | 33 .files( in getDetector() 67 .files( in testBindServiceAsUser() 102 .files( in testUnbindService() 134 .files( in testSuppressUnbindService() 160 .files( in testWorkerMethod() 194 .files( in testWorkerClass()
|
D | BroadcastSentViaContextDetectorTest.kt | 33 .files( in getDetector() 65 .files( in testSendBroadcastAsUser() 98 .files( in testSendBroadcastInActivity() 132 .files( in testSuppressSendBroadcastInActivity() 160 .files( in testSendBroadcastInBroadcastSender() 187 .files( in testNoopIfNoCall()
|
/frameworks/base/services/core/java/com/android/server/powerstats/ |
D | PowerStatsDataStorage.java | 178 File[] files = mDataStorageDir.listFiles(); in PowerStatsDataStorage() local 179 for (int i = 0; i < files.length; i++) { in PowerStatsDataStorage() 199 if (files[i].getName().startsWith(beforeVersionDot)) { in PowerStatsDataStorage() 201 if (!files[i].getName().startsWith(mDataStorageFilename)) { in PowerStatsDataStorage() 202 files[i].delete(); in PowerStatsDataStorage() 258 File[] files = mDataStorageDir.listFiles(); in deleteLogs() local 259 for (int i = 0; i < files.length; i++) { in deleteLogs() 263 if (files[i].getName().startsWith(beforeVersionDot)) { in deleteLogs() 264 files[i].delete(); in deleteLogs() 280 final File[] files = mDataStorageDir.listFiles(); in dump() local [all …]
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsDatabase.java | 190 for (LongSparseArray<AtomicFile> files : mSortedStatFiles) { in init() 191 final int startIndex = files.firstIndexOnOrAfter(currentTimeMillis); in init() 196 final int fileCount = files.size(); in init() 198 files.valueAt(i).delete(); in init() 204 files.removeAt(i); in init() 225 final LongSparseArray<AtomicFile> files = in checkinDailyFiles() local 227 final int fileCount = files.size(); in checkinDailyFiles() 233 if (files.valueAt(i).getBaseFile().getPath().endsWith(CHECKED_IN_SUFFIX)) { in checkinDailyFiles() 246 readLocked(files.valueAt(i), stats, false); in checkinDailyFiles() 259 final AtomicFile file = files.valueAt(i); in checkinDailyFiles() [all …]
|
/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/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/telephony/java/android/telephony/mbms/ |
D | FileServiceInfo.java | 34 private final List<FileInfo> files; field in FileServiceInfo 42 files = new ArrayList<>(newFiles); in FileServiceInfo() 60 files = new ArrayList<FileInfo>(); in FileServiceInfo() 61 in.readList(files, FileInfo.class.getClassLoader(), android.telephony.mbms.FileInfo.class); in FileServiceInfo() 67 dest.writeList(files); in writeToParcel() 81 return files; in getFiles()
|
/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 …]
|