/frameworks/base/core/tests/coretests/src/android/util/apk/ |
D | SourceStampVerifierTest.java | 85 SourceStampVerifier.verify(testApk.getAbsolutePath()); in testSourceStamp_noStamp() 98 SourceStampVerifier.verify(mPrimaryApk.getAbsolutePath()); in testSourceStamp_correctSignature() 113 SourceStampVerifier.verify(mPrimaryApk.getAbsolutePath()); in testSourceStamp_signatureMissing() 125 SourceStampVerifier.verify(mPrimaryApk.getAbsolutePath()); in testSourceStamp_certificateMismatch() 137 SourceStampVerifier.verify(mPrimaryApk.getAbsolutePath()); in testSourceStamp_apkHashMismatch_v1SignatureScheme() 149 SourceStampVerifier.verify(mPrimaryApk.getAbsolutePath()); in testSourceStamp_apkHashMismatch_v2SignatureScheme() 161 SourceStampVerifier.verify(mPrimaryApk.getAbsolutePath()); in testSourceStamp_apkHashMismatch_v3SignatureScheme() 173 SourceStampVerifier.verify(mPrimaryApk.getAbsolutePath()); in testSourceStamp_malformedSignature() 186 apkFiles.add(mPrimaryApk.getAbsolutePath()); in testSourceStamp_multiApk_validStamps() 187 apkFiles.add(mSecondaryApk.getAbsolutePath()); in testSourceStamp_multiApk_validStamps() [all …]
|
/frameworks/base/core/java/android/os/incremental/ |
D | IncrementalFileStorages.java | 100 incrementalManager.registerLoadingProgressCallback(stageDir.getAbsolutePath(), in initialize() 117 inheritedDir.getAbsolutePath())) { in IncrementalFileStorages() 119 inheritedDir.getAbsolutePath()); in IncrementalFileStorages() 128 mDefaultStorage = mIncrementalManager.createStorage(stageDir.getAbsolutePath(), in IncrementalFileStorages() 139 mDefaultStorage = mIncrementalManager.createStorage(stageDir.getAbsolutePath(), in IncrementalFileStorages() 196 mInheritedStorage.makeLink(sourcePath.getAbsolutePath(), mDefaultStorage, in makeLink() 197 destPath.getAbsolutePath()); in makeLink() 227 mIncrementalManager.unregisterLoadingProgressCallbacks(mStageDir.getAbsolutePath()); in cleanUp() 228 defaultStorage.unBind(mStageDir.getAbsolutePath()); in cleanUp()
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
D | StorageManagerIntegrationTest.java | 39 String filePath = file.getAbsolutePath(); in testMountSingleObb() 55 String filePath1 = file1.getAbsolutePath(); in testMountMultipleObb() 60 String filePath2 = file2.getAbsolutePath(); in testMountMultipleObb() 65 String filePath3 = file3.getAbsolutePath(); in testMountMultipleObb() 91 String filePath = file.getAbsolutePath(); in testMountUnsignedObb() 106 String filePath = file.getAbsolutePath(); in testMountBadPackageNameObb() 116 String filePath = file.getAbsolutePath(); in testRemountObb()
|
/frameworks/base/ravenwood/runtime-common-src/com/android/ravenwood/common/ |
D | RavenwoodCommonUtils.java | 112 System.load(file.getAbsolutePath()); in loadJniLibraryInternal() 132 var gparent = new File((new File(dir)).getAbsolutePath() + "../../..") in dumpFiles() 151 out.println(prefix + dir.getAbsolutePath() + " is not a directory!"); in listFiles() 154 out.println(prefix + ":" + dir.getAbsolutePath() + "/"); in listFiles() 161 if (dir.getAbsolutePath().startsWith("/usr") || dir.getAbsolutePath().startsWith("/lib")) { in listFiles() 204 var ret = d.getAbsolutePath() + "/"; in getRavenwoodRuntimePathInternal()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ApexEnvironmentTest.java | 38 apexEnvironment.getDeviceProtectedDataDir().getAbsolutePath()); in dataDirectoryPathsAreAsExpected() 42 .getDeviceProtectedDataDirForUser(UserHandle.of(5)).getAbsolutePath()); in dataDirectoryPathsAreAsExpected() 46 UserHandle.of(16)).getAbsolutePath()); in dataDirectoryPathsAreAsExpected()
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | MediaStoreSaver.java | 40 String folder_path = folder.getAbsolutePath(); in savePNG() 45 System.out.println("make directory: " + dir.getAbsolutePath()); in savePNG() 54 System.out.println("saved image: " + file.getAbsolutePath()); in savePNG() 64 return file.getAbsolutePath(); in savePNG()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | ExifInterfaceTest.java | 174 IMAGE_FILENAMES[i]).getAbsolutePath(); in setUp() 189 IMAGE_FILENAMES[i]).getAbsolutePath(); in tearDown() 323 ExifInterface exifInterface = new ExifInterface(imageFile.getAbsolutePath()); in testExifInterfaceCommon() 339 in = new BufferedInputStream(new FileInputStream(imageFile.getAbsolutePath())); in testExifInterfaceCommon() 349 fd = Os.open(imageFile.getAbsolutePath(), OsConstants.O_RDONLY, 0600); in testExifInterfaceCommon() 364 ExifInterface exifInterface = new ExifInterface(imageFile.getAbsolutePath()); in testSaveAttributes_withFileName() 366 exifInterface = new ExifInterface(imageFile.getAbsolutePath()); in testSaveAttributes_withFileName() 372 exifInterface = new ExifInterface(imageFile.getAbsolutePath()); in testSaveAttributes_withFileName() 380 exifInterface = new ExifInterface(imageFile.getAbsolutePath()); in testSaveAttributes_withFileName() 390 fd = Os.open(imageFile.getAbsolutePath(), OsConstants.O_RDWR, 0600); in testSaveAttributes_withFileDescriptor() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
D | AppMetadataBackupWriter.java | 105 filesDir.getAbsolutePath(), in backupManifest() 106 manifestFile.getAbsolutePath(), in backupManifest() 193 filesDir.getAbsolutePath(), in backupWidget() 194 metadataFile.getAbsolutePath(), in backupWidget() 265 Log.i(TAG, "obb dir: " + obbDir.getAbsolutePath()); in backupObb() 269 String obbDirName = obbDir.getAbsolutePath(); in backupObb() 276 obb.getAbsolutePath(), in backupObb()
|
/frameworks/base/services/core/java/com/android/server/cpu/ |
D | CpuInfoReader.java | 123 mCpuFreqDir.getAbsolutePath()); in init() 139 Slogf.e(TAG, "Missing proc stat file at %s", mProcStatFile.getAbsolutePath()); in init() 144 Slogf.e(TAG, "Failed to read cpuset information from %s", mCpusetDir.getAbsolutePath()); in init() 266 writer.printf("mCpusetDir = %s\n", mCpusetDir.getAbsolutePath()); in dump() 267 writer.printf("mCpuFreqDir = %s\n", mCpuFreqDir.getAbsolutePath()); in dump() 268 writer.printf("mProcStatFile = %s\n", mProcStatFile.getAbsolutePath()); in dump() 335 cpuFreqDir.getAbsolutePath()); in setCpuFreqDir() 345 + "directories", cpuFreqDir.getAbsolutePath(), numCpuFreqPolicyDirs, in setCpuFreqDir() 362 Slogf.e(TAG, "Missing proc stat file at %s", procStatFile.getAbsolutePath()); in setProcStatFile() 387 Slogf.e(TAG, "Missing cpuset directories at %s", mCpusetDir.getAbsolutePath()); in readCpusetCategories() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/parsing/ |
D | PackageCacher.java | 77 sb.append(packageFile.getAbsolutePath().hashCode()); in getCacheKey() 147 "Failed to find APEX file backing " + packageFile.getAbsolutePath()); in isCacheUpToDate() 155 final StructStat pkg = Os.stat(packageFile.getAbsolutePath()); in isCacheUpToDate() 156 final StructStat cache = Os.stat(cacheFile.getAbsolutePath()); in isCacheUpToDate() 192 final byte[] bytes = IoUtils.readFileAsByteArray(cacheFile.getAbsolutePath()); in getCachedResult() 194 if (!packageFile.getAbsolutePath().equals(parsed.getPath())) { in getCachedResult()
|
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
D | MediaStoreSaver.java | 41 String folder_path = folder.getAbsolutePath(); in save() 60 System.out.println("saved image: " + file.getAbsolutePath()); in save() 70 return file.getAbsolutePath(); in save()
|
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
D | MediaStoreSaver.java | 41 String folder_path = folder.getAbsolutePath(); in save() 60 System.out.println("saved image: " + file.getAbsolutePath()); in save() 70 return file.getAbsolutePath(); in save()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | RandomAccessFileUtils.java | 39 Slog.w(TAG, "Error writing file:" + file.getAbsolutePath(), e); in writeBoolean() 48 Slog.w(TAG, "Error reading file:" + file.getAbsolutePath(), e); in readBoolean()
|
/frameworks/multidex/library/src/androidx/multidex/ |
D | MultiDexExtractor.java | 285 Log.w(TAG, "Failed to read crc from " + extractedFile.getAbsolutePath(), e); in performExtractions() 290 + " '" + extractedFile.getAbsolutePath() + "': length " in performExtractions() 303 extractedFile.getAbsolutePath() + " for secondary dex (" + in performExtractions() 408 throw new IOException("Failed to mark readonly \"" + tmp.getAbsolutePath() + in extract() 409 "\" (tmp of \"" + extractTo.getAbsolutePath() + "\")"); in extract() 413 throw new IOException("Failed to rename \"" + tmp.getAbsolutePath() + in extract() 414 "\" to \"" + extractTo.getAbsolutePath() + "\""); in extract()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageUtil.java | 45 Os.chmod(newFileDir.getAbsolutePath(), 0771); in getTemporaryFile() 58 Os.chmod(newFileDir.getAbsolutePath(), 0771); in getIconFile() 105 Os.chmod(newFile.getAbsolutePath(), 0644); in getFileFromFd()
|
/frameworks/base/services/core/java/com/android/server/backup/ |
D | SystemBackupAgent.java | 79 Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM).getAbsolutePath(); 82 "wallpaper").getAbsolutePath(); 87 Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM).getAbsolutePath(); 90 "wallpaper_info.xml").getAbsolutePath();
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationHistoryDatabase.java | 182 Slog.e(TAG, "error reading " + file.getBaseFile().getAbsolutePath(), e); in readNotificationHistory() 208 Slog.e(TAG, "error reading " + file.getBaseFile().getAbsolutePath(), e); in readNotificationHistory() 274 if (af != null && filePath.equals(af.getBaseFile().getAbsolutePath())) { in removeFilePathFromHistory() 287 removeFilePathFromHistory(file.getBaseFile().getAbsolutePath()); in deleteFile() 310 Slog.e(TAG, "Cannot open " + file.getBaseFile().getAbsolutePath(), e); in readLocked() 341 + file.getBaseFile().getAbsolutePath()); in run() 378 + af.getBaseFile().getAbsolutePath(), e); in run()
|
/frameworks/base/core/java/android/app/ |
D | NativeActivity.java | 171 getAbsolutePath(getFilesDir()), getAbsolutePath(getObbDir()), in onCreate() 172 getAbsolutePath(getExternalFilesDir(null)), in onCreate() 183 private static String getAbsolutePath(File file) { in getAbsolutePath() method in NativeActivity 184 return (file != null) ? file.getAbsolutePath() : null; in getAbsolutePath()
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests/src/com/android/framework/multidexlegacytestservices/test/ |
D | ServicesTests.java | 42 assertFalse("Failed to delete result file '" + resultFile.getAbsolutePath() + "'.", in testStressConcurentFirstLaunch() 46 assertFalse("Failed to delete completion file '" + completeFile.getAbsolutePath() + in testStressConcurentFirstLaunch()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/ |
D | SlicePermissionManagerTest.java | 57 Log.v(TAG, "testGrant: slice permissions stored in " + sliceDir.getAbsolutePath()); in testGrant() 75 Log.v(TAG, "testBackup: slice permissions stored in " + sliceDir.getAbsolutePath()); in testBackup() 119 Log.v(TAG, "testInvalid: slice permissions stored in " + sliceDir.getAbsolutePath()); in testInvalid()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/ |
D | FileHashCacheTests.java | 76 FileHashCache.sPersistFileName = persistFile.getAbsolutePath(); in setUp() 131 final long before = Os.stat(apkA.getAbsolutePath()).st_ctime; in testFileHashCache_generic() 134 } while (android.system.Os.stat(apkA.getAbsolutePath()).st_ctime == before); in testFileHashCache_generic()
|
/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/ |
D | SettingsTest.java | 82 enableFsVerity(packagesXml.getAbsolutePath()); in performTest() 85 BlockDeviceWriter.damageFileAgainstBlockDevice(getDevice(), packagesXml.getAbsolutePath(), in performTest()
|
/frameworks/base/core/java/android/util/apk/ |
D | ApkSignatureSchemeV4Verifier.java | 86 apk.getAbsolutePath()); in extractSignature() 97 final File idsig = new File(apk.getAbsolutePath() + V4Signature.EXT); in extractSignature() 98 try (var fis = new FileInputStream(idsig.getAbsolutePath())) { in extractSignature() 118 final byte[] actualDigest = VerityUtils.getFsverityDigest(apk.getAbsolutePath()); in extractSignature()
|
/frameworks/base/graphics/java/android/graphics/ |
D | GraphicsStatsService.java | 111 + mGraphicsStatsDir.getAbsolutePath()); in GraphicsStatsService() 267 nAddToDump(dump, data.getAbsolutePath()); in pullGraphicsStatsImpl() 311 Log.w(TAG, "Unable to create path: '" + parent.getAbsolutePath() + "'"); in saveBuffer() 314 nSaveBuffer(path.getAbsolutePath(), buffer.mInfo.mPackageName, in saveBuffer() 328 Log.w(TAG, "Failed to delete '" + file.getAbsolutePath() + "'!"); in deleteRecursiveLocked() 408 nAddToDump(dump, path.getAbsolutePath(), buffer.mInfo.mPackageName, in dumpActiveLocked() 423 nAddToDump(dump, data.getAbsolutePath()); in dumpHistoricalLocked()
|
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/ |
D | DumpCommand.java | 58 + DEFAULT_DUMP_FILE.getAbsolutePath() + "\n"; in detailedOptions() 121 String.format("UI hierchary dumped to: %s", dumpFile.getAbsolutePath())); in run()
|