Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DParallelPackageParser.java66 File scanFile; // File that was parsed field in ParallelPackageParser.ParseResult
73 ", scanFile=" + scanFile + in toString()
102 public void submit(File scanFile, int parseFlags) { in submit() argument
105 Trace.traceBegin(TRACE_TAG_PACKAGE_MANAGER, "parallel parsePackage [" + scanFile + "]"); in submit()
107 pr.scanFile = scanFile; in submit()
108 pr.parsedPackage = parsePackage(scanFile, parseFlags); in submit()
127 protected ParsedPackage parsePackage(File scanFile, int parseFlags) in parsePackage() argument
130 return mPackageParser.parsePackage(scanFile, parseFlags, true); in parsePackage()
DInstallPackageHelper.java3161 final File scanFile = decompressPackage(stubPkg.getPackageName(), stubPkg.getPath()); in installStubPackageLI() local
3162 if (scanFile == null) { in installStubPackageLI()
3172 return initPackageTracedLI(scanFile, parseFlags, scanFlags); in installStubPackageLI()
3177 mRemovePackageHelper.removeCodePath(scanFile); in installStubPackageLI()
3539 ApexInfo i1 = parsingApexInfo.get(a.scanFile); in scanApexPackages()
3540 ApexInfo i2 = parsingApexInfo.get(b.scanFile); in scanApexPackages()
3550 ApexInfo ai = parsingApexInfo.get(parseResult.scanFile); in scanApexPackages()
3553 | mPm.getSystemPackageScanFlags(parseResult.scanFile); in scanApexPackages()
3632 errorMsg = "Failed to scan " + parseResult.scanFile + ": " + e.getMessage(); in installPackagesFromDir()
3640 errorMsg = "Failed to parse " + parseResult.scanFile + ": " + e.getMessage(); in installPackagesFromDir()
[all …]
DPackageManagerService.java7939 Pair<Integer, Integer> getSystemPackageRescanFlagsAndReparseFlags(File scanFile, in getSystemPackageRescanFlagsAndReparseFlags() argument
7947 if (partition.containsPrivApp(scanFile)) { in getSystemPackageRescanFlagsAndReparseFlags()
7953 if (partition.containsApp(scanFile)) { in getSystemPackageRescanFlagsAndReparseFlags()
8085 AndroidPackage initPackageTracedLI(File scanFile, final int parseFlags, int scanFlags) in initPackageTracedLI() argument
8087 return mInstallPackageHelper.initPackageTracedLI(scanFile, parseFlags, scanFlags); in initPackageTracedLI()
/frameworks/base/core/java/android/content/pm/
DPackagePartitions.java244 public boolean containsPrivApp(@NonNull File scanFile) { in containsPrivApp() argument
246 && FileUtils.contains(mPrivAppFolder.getFile(), canonicalize(scanFile)); in containsPrivApp()
250 public boolean containsApp(@NonNull File scanFile) { in containsApp() argument
252 && FileUtils.contains(mAppFolder.getFile(), canonicalize(scanFile)); in containsApp()
256 public boolean containsOverlay(@NonNull File scanFile) { in containsOverlay() argument
258 && FileUtils.contains(mOverlayFolder.getFile(), canonicalize(scanFile)); in containsOverlay()
/frameworks/base/packages/SoundPicker/src/com/android/soundpicker/
DRingtoneOverlayService.java89 final Uri uri = scanFile(dest); in copyResourceAndSetAsSound()
103 private Uri scanFile(@NonNull final File file) { in scanFile() method in RingtoneOverlayService
104 return MediaStore.scanFile(getContentResolver(), file); in scanFile()
/frameworks/av/media/module/id3/
Dtestid3.cpp72 void scanFile(const char *path) { in scanFile() function
117 scanFile(path); in scan()
147 scanFile(newPath); in scan()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DParallelPackageParserTest.java68 File parsedFile = result.scanFile; in test()
84 protected ParsedPackage parsePackage(File scanFile, int parseFlags) { in parsePackage() argument
/frameworks/base/media/java/android/media/
DMediaScannerConnection.java152 public void scanFile(String path, String mimeType) { in scanFile() method in MediaScannerConnection
181 public static void scanFile(Context context, String[] paths, String[] mimeTypes, in scanFile() method in MediaScannerConnection
197 uri = MediaStore.scanFile(ContentResolver.wrap(client), file.getCanonicalFile()); in scanFileQuietly()
DMediaScannerClient.java24 public void scanFile(String path, long lastModified, long fileSize, in scanFile() method
DIMediaScannerService.aidl45 void scanFile(String path, String mimeType); in scanFile() method
DMediaScanner.java129 public void scanFile(String path, long lastModified, long fileSize, in scanFile() method in MediaScanner.MyMediaScannerClient
DRingtoneManager.java1016 return MediaStore.scanFile(mContext.getContentResolver(), outFile); in addCustomExternalRingtone()
/frameworks/av/media/libstagefright/tests/fuzzers/
DStagefrightMediaScannerFuzzer.cpp27 virtual status_t scanFile(const char*, long long, long long, bool, bool) { in scanFile() function in android::FuzzMediaScannerClient
/frameworks/av/media/libmedia/
DMediaScanner.cpp214 status_t status = client.scanFile(path, statbuf.st_mtime, 0, in doProcessDirectoryEntry()
230 status_t status = client.scanFile(path, statbuf.st_mtime, statbuf.st_size, in doProcessDirectoryEntry()
/frameworks/av/media/libmedia/include/media/
Dmediascanner.h117 virtual status_t scanFile(const char* path, long long lastModified,
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java342 MediaStore.scanFile(resolver, file.getParentFile()); in updateMediaStore()
344 MediaStore.scanFile(resolver, file); in updateMediaStore()
522 scanFile(visibleFile); in openDocument()
531 final Uri uri = MediaStore.scanFile(getContext().getContentResolver(), target); in openFileForRead()
581 private void scanFile(File visibleFile) { in scanFile() method
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java448 MediaStore.scanFile(mContext.getContentResolver(), new File(path)); in rescanFile()
662 MediaStore.scanFile(resolver, file.getParentFile()); in updateMediaStore()
664 MediaStore.scanFile(resolver, file); in updateMediaStore()
793 Uri uri = MediaStore.scanFile(mContext.getContentResolver(), new File(path)); in openFilePath()
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DObjectViewer.java72 mScannerConnection.scanFile(mPath, null); in onMediaScannerConnected()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoLand.java291 MediaScannerConnection.scanFile( in shareCat()
/frameworks/base/core/java/android/app/
DDownloadManager.java1361 MediaStore.scanFile(mResolver, before); in rename()
1362 MediaStore.scanFile(mResolver, after); in rename()
/frameworks/base/core/java/android/content/
DIntent.java12863 uri = MediaStore.scanFile(context.getContentResolver(), new File(uri.getPath())); in maybeConvertFileToContentUri()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt15481 method public void scanFile(java.lang.String, java.lang.String);
15482 …method public static void scanFile(android.content.Context, java.lang.String[], java.lang.String[]…
/frameworks/base/core/api/
Dcurrent.txt24671 method public void scanFile(String, String);
24672 …method public static void scanFile(android.content.Context, String[], String[], android.media.Medi…
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt26458 Landroid/media/IMediaScannerService$Stub$Proxy;->scanFile(Ljava/lang/String;Ljava/lang/String;)V
28689 Landroid/media/MediaScannerClient;->scanFile(Ljava/lang/String;JJZZ)V