Home
last modified time | relevance | path

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

12345678910

/frameworks/base/core/tests/coretests/src/android/util/apk/
DSourceStampVerifierTest.java73 SourceStampVerifier.verify(testApk.getAbsolutePath()); in testSourceStamp_noStamp()
86 SourceStampVerifier.verify(mPrimaryApk.getAbsolutePath()); in testSourceStamp_correctSignature()
101 SourceStampVerifier.verify(mPrimaryApk.getAbsolutePath()); in testSourceStamp_signatureMissing()
113 SourceStampVerifier.verify(mPrimaryApk.getAbsolutePath()); in testSourceStamp_certificateMismatch()
125 SourceStampVerifier.verify(mPrimaryApk.getAbsolutePath()); in testSourceStamp_apkHashMismatch_v1SignatureScheme()
137 SourceStampVerifier.verify(mPrimaryApk.getAbsolutePath()); in testSourceStamp_apkHashMismatch_v2SignatureScheme()
149 SourceStampVerifier.verify(mPrimaryApk.getAbsolutePath()); in testSourceStamp_apkHashMismatch_v3SignatureScheme()
161 SourceStampVerifier.verify(mPrimaryApk.getAbsolutePath()); in testSourceStamp_malformedSignature()
174 apkFiles.add(mPrimaryApk.getAbsolutePath()); in testSourceStamp_multiApk_validStamps()
175 apkFiles.add(mSecondaryApk.getAbsolutePath()); in testSourceStamp_multiApk_validStamps()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsStorageTestable.java69 super.getLockPatternFilename(userId)).getAbsolutePath(); in getLockPatternFilename()
75 super.getLockPasswordFilename(userId)).getAbsolutePath(); in getLockPasswordFilename()
81 super.getChildProfileLockFile(userId)).getAbsolutePath(); in getChildProfileLockFile()
86 return makeDirs(mStorageDir, super.getRebootEscrowServerBlob()).getAbsolutePath(); in getRebootEscrowServerBlob()
91 return makeDirs(mStorageDir, super.getRebootEscrowFile(userId)).getAbsolutePath(); in getRebootEscrowFile()
97 userId).getAbsolutePath()); in getSyntheticPasswordDirectoryForUser()
/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()
193 mInheritedStorage.makeLink(sourcePath.getAbsolutePath(), mDefaultStorage, in makeLink()
194 destPath.getAbsolutePath()); in makeLink()
224 mIncrementalManager.unregisterLoadingProgressCallbacks(mStageDir.getAbsolutePath()); in cleanUp()
225 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/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/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/pm/
DFileInstallArgs.java116 mOriginInfo.mFile.getAbsolutePath(), mCodeFile); in doCopyApk()
122 final boolean isIncremental = isIncrementalPath(mCodeFile.getAbsolutePath()); in doCopyApk()
160 && isIncrementalPath(beforeCodeFile.getAbsolutePath()); in doRename()
168 Os.rename(beforeCodeFile.getAbsolutePath(), afterCodeFile.getAbsolutePath()); in doRename()
218 return (mCodeFile != null) ? mCodeFile.getAbsolutePath() : null; in getCodePath()
DPackageAbiHelperImpl.java74 String fullPath = codePath.getAbsolutePath(); in calculateBundledApkRoot()
171 apkName).getAbsolutePath(); in deriveNativeLibraryPaths()
176 secondaryLibDir, apkName).getAbsolutePath(); in deriveNativeLibraryPaths()
183 .getAbsolutePath(); in deriveNativeLibraryPaths()
191 nativeLibraryRootDir = new File(codeFile, LIB_DIR_NAME).getAbsolutePath(); in deriveNativeLibraryPaths()
195 getPrimaryInstructionSet(abis)).getAbsolutePath(); in deriveNativeLibraryPaths()
199 VMRuntime.getInstructionSet(abis.secondary)).getAbsolutePath(); in deriveNativeLibraryPaths()
/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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DExifInterfaceTest.java171 IMAGE_FILENAMES[i]).getAbsolutePath(); in setUp()
186 IMAGE_FILENAMES[i]).getAbsolutePath(); in tearDown()
320 ExifInterface exifInterface = new ExifInterface(imageFile.getAbsolutePath()); in testExifInterfaceCommon()
336 in = new BufferedInputStream(new FileInputStream(imageFile.getAbsolutePath())); in testExifInterfaceCommon()
346 fd = Os.open(imageFile.getAbsolutePath(), OsConstants.O_RDONLY, 0600); in testExifInterfaceCommon()
360 ExifInterface exifInterface = new ExifInterface(imageFile.getAbsolutePath()); in testSaveAttributes_withFileName()
362 exifInterface = new ExifInterface(imageFile.getAbsolutePath()); in testSaveAttributes_withFileName()
369 exifInterface = new ExifInterface(imageFile.getAbsolutePath()); in testSaveAttributes_withFileName()
374 exifInterface = new ExifInterface(imageFile.getAbsolutePath()); in testSaveAttributes_withFileName()
384 fd = Os.open(imageFile.getAbsolutePath(), OsConstants.O_RDWR, 0600); in testSaveAttributes_withFileDescriptor()
/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/services/core/java/com/android/server/pm/parsing/
DPackageCacher.java129 "Failed to find APEX file backing " + packageFile.getAbsolutePath()); in isCacheUpToDate()
137 final StructStat pkg = Os.stat(packageFile.getAbsolutePath()); in isCacheUpToDate()
138 final StructStat cache = Os.stat(cacheFile.getAbsolutePath()); in isCacheUpToDate()
173 final byte[] bytes = IoUtils.readFileAsByteArray(cacheFile.getAbsolutePath()); in getCachedResult()
/frameworks/base/services/core/java/com/android/server/backup/
DSystemBackupAgent.java71 Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM).getAbsolutePath();
74 "wallpaper").getAbsolutePath();
79 Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM).getAbsolutePath();
82 "wallpaper_info.xml").getAbsolutePath();
/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/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/notification/
DNotificationHistoryDatabase.java181 Slog.e(TAG, "error reading " + file.getBaseFile().getAbsolutePath(), e); in readNotificationHistory()
207 Slog.e(TAG, "error reading " + file.getBaseFile().getAbsolutePath(), e); in readNotificationHistory()
273 if (af != null && filePath.equals(af.getBaseFile().getAbsolutePath())) { in removeFilePathFromHistory()
286 removeFilePathFromHistory(file.getBaseFile().getAbsolutePath()); in deleteFile()
309 Slog.e(TAG, "Cannot open " + file.getBaseFile().getAbsolutePath(), e); in readLocked()
340 + file.getBaseFile().getAbsolutePath()); in run()
377 + 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/tests/StagedInstallTest/src/com/android/tests/stagedinstallinternal/host/
DStagedInstallInternalTest.java194 "--staged-ready-timeout", "60000", apexFile.getAbsolutePath()); in testAdbStagdReadyTimeoutFlagWorks()
209 apexFile.getAbsolutePath()); in testAdbStagedInstallWaitsTillReadyByDefault()
224 "--staged-ready-timeout", "0", apexFile.getAbsolutePath()); in testAdbStagedReadyWaitCanBeSkipped()
241 "--enable-rollback", apexFile.getAbsolutePath()); in testAdbRollbackAppWaitsForStagedReady()
259 apexFile.getAbsolutePath(), apkFile.getAbsolutePath()); in testAdbInstallMultiPackageCommandWorks()
/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/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests2/src/com/android/framework/multidexlegacytestservices/test2/
DServicesTests.java201 throw new AssertionError("Failed to clear '" + subElement.getAbsolutePath() + "'"); in clearDirContent()
228 "Failed to delete result file '" + resultFile.getAbsolutePath() + "'.", in initServicesWorkFiles()
233 "Failed to delete completion file '" + completeFile.getAbsolutePath() + "'.", in initServicesWorkFiles()
320 Assert.assertTrue(dir.getAbsolutePath(), dir.isDirectory()); in getSecondaryFolder()
/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