Home
last modified time | relevance | path

Searched refs:getAbsolutePath (Results 1 – 25 of 249) sorted by relevance

12345678910

/frameworks/base/core/tests/coretests/src/android/util/apk/
DSourceStampVerifierTest.java85 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/
DIncrementalFileStorages.java100 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/
DStorageManagerIntegrationTest.java39 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/
DRavenwoodCommonUtils.java112 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/
DApexEnvironmentTest.java38 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/
DMediaStoreSaver.java40 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/
DExifInterfaceTest.java174 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/
DAppMetadataBackupWriter.java105 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/
DCpuInfoReader.java123 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/
DPackageCacher.java77 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/
DMediaStoreSaver.java41 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/
DMediaStoreSaver.java41 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/
DRandomAccessFileUtils.java39 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/
DMultiDexExtractor.java285 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/
DWearPackageUtil.java45 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/
DSystemBackupAgent.java79 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/
DNotificationHistoryDatabase.java182 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/
DNativeActivity.java171 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/
DServicesTests.java42 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/
DSlicePermissionManagerTest.java57 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/
DFileHashCacheTests.java76 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/
DSettingsTest.java82 enableFsVerity(packagesXml.getAbsolutePath()); in performTest()
85 BlockDeviceWriter.damageFileAgainstBlockDevice(getDevice(), packagesXml.getAbsolutePath(), in performTest()
/frameworks/base/core/java/android/util/apk/
DApkSignatureSchemeV4Verifier.java86 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/
DGraphicsStatsService.java111 + 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/
DDumpCommand.java58 + DEFAULT_DUMP_FILE.getAbsolutePath() + "\n"; in detailedOptions()
121 String.format("UI hierchary dumped to: %s", dumpFile.getAbsolutePath())); in run()

12345678910