/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | MmsFileProvider.java | 68 if (!filePath.getCanonicalPath() in getFile() 69 .startsWith(getDirectory(context).getCanonicalPath())) { in getFile() 71 + filePath.getCanonicalPath() in getFile() 73 + getDirectory(context).getCanonicalPath()); in getFile()
|
D | MediaScratchFileProvider.java | 97 if (!filePath.getCanonicalPath() in getFileWithExtension() 98 .startsWith(getDirectory(context).getCanonicalPath())) { in getFileWithExtension() 100 + filePath.getCanonicalPath() in getFileWithExtension() 102 + getDirectory(context).getCanonicalPath()); in getFileWithExtension()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/util/ |
D | FileUtils.java | 35 public static String getCanonicalPath(@NonNull String path) throws IOException { in getCanonicalPath() method in FileUtils 37 return new File(path).getCanonicalPath(); in getCanonicalPath() 53 return getCanonicalPath(docIdPath); in getPathFromStorageDocId()
|
/packages/modules/Connectivity/networksecurity/service/src/com/android/server/net/ct/ |
D | DirectoryUtils.java | 30 throw new IOException("Unable to make directory " + dir.getCanonicalPath()); in makeDir() 41 throw new IOException("Failed to set " + file.getCanonicalPath() + " readable"); in setWorldReadable() 56 throw new IOException("Failed to set " + file.getCanonicalPath() + " executable"); in setWorldExecutable()
|
D | CompatibilityVersion.java | 111 if (newLogsDir.getCanonicalPath().equals(mCurrentLogsDirSymlink.getCanonicalPath())) { in install() 134 Os.symlink(newLogsDir.getCanonicalPath(), tempSymlink.getCanonicalPath()); in install()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/coex/ |
D | CoexManagerTest.java | 391 .thenReturn(createFileFromResource(FILEPATH_LTE_40_NEIGHBORING).getCanonicalPath()); in testTelephonyCallback_defaultAlgorithmEnabledXmlExists_registersWithTelephony() 412 .thenReturn(createFileFromResource(FILEPATH_LTE_40_NEIGHBORING).getCanonicalPath()); in testTelephonyCallback_defaultAlgorithmDisabled_doesNotRegisterWithTelephony() 428 .thenReturn(createFileFromResource(FILEPATH_LTE_40_NEIGHBORING).getCanonicalPath()); in testGetCoexUnsafeChannels_neighboringLte40_returns2gNeighboringChannels() 460 .thenReturn(createFileFromResource(FILEPATH_LTE_46_NEIGHBORING).getCanonicalPath()); in testGetCoexUnsafeChannels_neighboringLte46_returns5gNeighboringChannels() 493 .thenReturn(createFileFromResource(FILEPATH_LTE_27_HARMONIC).getCanonicalPath()); in testGetCoexUnsafeChannels_channel27065Example_returnsCorrectWifiChannels() 525 .thenReturn(createFileFromResource(FILEPATH_LTE_7_INTERMOD).getCanonicalPath()); in testGetCoexUnsafeChannels_channel3350Example_returnsCorrectWifiChannels() 557 .thenReturn(createFileFromResource(FILEPATH_LTE_40_NEIGHBORING).getCanonicalPath()); in testGetCoexUnsafeChannels_entire2gBandUnsafe_excludesDefault2gChannel() 585 .thenReturn(createFileFromResource(FILEPATH_LTE_46_NEIGHBORING).getCanonicalPath()); in testGetCoexUnsafeChannels_entire5gBandUnsafe_excludesDefault5gChannel() 613 .thenReturn(createFileFromResource(FILEPATH_LTE_40_NEIGHBORING).getCanonicalPath()); in testGetCoexUnsafeChannels_mockCellChannelsAdded_mockCellChannelsUsed() 657 .thenReturn(createFileFromResource(FILEPATH_LTE_40_OVERRIDE).getCanonicalPath()); in testGetCoexUnsafeChannels_overrideExists_overrideChannelsAdded() [all …]
|
/packages/providers/MediaProvider/legacy/src/com/android/providers/media/util/ |
D | LegacyFileUtils.java | 212 path = getCanonicalPath(data); in extractRelativePath() 252 data = new File(data).getCanonicalPath(); in computeValuesFromData() 325 public static String getCanonicalPath(@NonNull String path) throws IOException { in getCanonicalPath() method in LegacyFileUtils 327 return new File(path).getCanonicalPath(); in getCanonicalPath()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/multichip/ |
D | UwbMultichipDataTest.java | 126 getClass()).getCanonicalPath()); in testInitializeMultiChipOneChipConfig() 148 getClass()).getCanonicalPath()); in testInitializeMultiChipNoPosition() 170 getClass()).getCanonicalPath()); in testInitializeMultiChipTwoChipConfig()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | MmsPartsCleanup.java | 89 .getCanonicalPath(); in getAllMmsPartsInPartsDir() 95 return p.getCanonicalPath(); in getAllMmsPartsInPartsDir()
|
D | MmsProvider.java | 583 .getDir(PARTS_DIR_NAME, 0).getCanonicalPath(); in insert() 584 if (!new File(path).getCanonicalPath().startsWith(partsDirPath)) { in insert() 966 String partsDirPath = getContext().getDir(PARTS_DIR_NAME, 0).getCanonicalPath(); in update() 1096 if (!filePath.getCanonicalPath() in safeOpenFileHelper() 1097 .startsWith(getContext().getDir(PARTS_DIR_NAME, 0).getCanonicalPath())) { in safeOpenFileHelper() 1099 + filePath.getCanonicalPath() in safeOpenFileHelper() 1101 + getContext().getDir(PARTS_DIR_NAME, 0).getCanonicalPath()); in safeOpenFileHelper()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/ |
D | TunerStorageCleanUpService.java | 125 recordedProgramDirs.add(recordedProgramDir.getCanonicalPath()); in getRecordedProgramsDirs() 153 if (!recordedProgramDirs.contains(recordingDir.getCanonicalPath())) { in doInBackground()
|
/packages/modules/Connectivity/networksecurity/tests/unit/src/com/android/server/net/ct/ |
D | CompatibilityVersionTest.java | 128 assertThat(logListFile.getCanonicalPath()) in testCompatibilityVersion_installSuccessful() 136 .getCanonicalPath()); in testCompatibilityVersion_installSuccessful()
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | DictionaryMaker.java | 91 if (new File(path1).getCanonicalPath().equals(new File(path2).getCanonicalPath())) { in checkNotSameFile()
|
/packages/services/Telephony/tests/src/com/android/phone/satellite/accesscontrol/ |
D | SatelliteAccessConfigurationParserTest.java | 278 SatelliteAccessConfigurationParser.parse(file.getCanonicalPath())); in testParsingValidSatelliteAccessConfiguration() 285 String jsonString = readJsonStringFromFile(file.getCanonicalPath()); in testParsingInvalidSatelliteAccessConfiguration()
|
/packages/apps/Camera2/tests/src/com/android/camera/functional/ |
D | CameraTest.java | 47 assertEquals(-1, f.getCanonicalPath().indexOf("test_fd_leak.3gp")); in testVideoCaptureIntentFdLeak()
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/ |
D | CameraTest.java | 50 assertEquals(-1, f.getCanonicalPath().indexOf("test_fd_leak.3gp")); in testVideoCaptureIntentFdLeak()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/ |
D | ClipStorageReader.java | 51 mCanonicalPath = file.getCanonicalPath(); // Resolve symlink in ClipStorageReader()
|
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | FileSystemPermissionTest.java | 863 fileName = f.getCanonicalPath(); in tryFileOpenRead() 887 System.out.println("looking at " + f.getCanonicalPath()); in tryFileRead() 1216 String thisDir = dir.getCanonicalPath(); in getWritableDirectoriesAndSubdirectoriesOf() 1240 return !f.getAbsolutePath().equals(f.getCanonicalPath()); in isSymbolicLink()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/provider/ |
D | SharedImageProvider.java | 158 if (!path.getCanonicalPath().startsWith(LOCAL_PATH)) { in ensureValidImagePath()
|
/packages/services/Telephony/utils/satellite/configdatagenerator/src/main/java/com/android/telephony/tools/configdatagenerate/ |
D | SatelliteConfigProtoGenerator.java | 178 throw new IOException("file read fail: " + file.getCanonicalPath()); in readFileToByteArray()
|
/packages/apps/Traceur/src_common/com/android/traceur/ |
D | WinscopeUtils.java | 122 Log.v(TAG, "Copied winscope trace file " + outFile.getCanonicalPath()); in traceDump()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | FileUtils.java | 1121 path = getCanonicalPath(data); 1342 data = new File(data).getCanonicalPath(); 1430 values.put(MediaColumns.DATA, filePath.getCanonicalPath()); 1849 public static String getCanonicalPath(@NonNull String path) throws IOException { 1851 return new File(path).getCanonicalPath();
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | ContactPhotoUtils.java | 186 return !file.getCanonicalPath().startsWith("/storage/"); in isFilePathAndNotStorage()
|
/packages/apps/TV/common/src/com/android/tv/common/recording/ |
D | RecordingStorageStatusManager.java | 196 rootPath = root != null ? root.getCanonicalPath() : null; in getRecordingRootDataDirectory()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | DownloadProviderFunctionalTest.java | 106 assertStartsWith(getContext().getCacheDir().getCanonicalPath(), in testDownloadToCache()
|