Home
last modified time | relevance | path

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

/frameworks/base/tests/ApkVerityTest/src/com/android/apkverity/
DApkVerityTest.java134 .addFile(BASE_APK) in testInstallBaseWithWrongSignature()
135 .addFile(SPLIT_APK_DM + ".fsv_sig", in testInstallBaseWithWrongSignature()
242 .addFile(SPLIT_APK) in testInstallSplitOnlyMissingSignature()
250 .addFile(BASE_APK) in testInstallSplitOnlyWithoutBaseSignature()
269 .addFile(BASE_APK) in testInstallOnlyDmHasFsvSig()
271 .addFile(SPLIT_APK) in testInstallOnlyDmHasFsvSig()
290 .addFile(BASE_APK) in testInstallDmWithoutFsvSig_Base()
291 .addFile(BASE_APK_DM) in testInstallDmWithoutFsvSig_Base()
292 .addFile(SPLIT_APK) in testInstallDmWithoutFsvSig_Base()
312 .addFile(BASE_APK) in testInstallDmWithoutFsvSig_Split()
[all …]
DBaseInstallMultiple.java57 T addFile(String filename) throws FileNotFoundException { in addFile() method in BaseInstallMultiple
58 return addFile(filename, filename); in addFile()
61 T addFile(String filename, String remoteName) throws FileNotFoundException { in addFile() method in BaseInstallMultiple
/frameworks/base/libs/services/src/os/
DDropBoxManager.cpp204 DropBoxManager::addFile(const String16& tag, const string& filename, int flags) in addFile() function in android::os::DropBoxManager
213 return addFile(tag, fd, flags); in addFile()
217 DropBoxManager::addFile(const String16& tag, int fd, int flags) in addFile() function in android::os::DropBoxManager
232 Status status = service->addFile(tag, parcelFd, flags); in addFile()
/frameworks/base/tests/BinaryTransparencyHostTest/src/android/transparency/test/
DBaseInstallMultiple.java57 T addFile(String filename) throws FileNotFoundException { in addFile() method in BaseInstallMultiple
58 return addFile(filename, filename); in addFile()
61 T addFile(String filename, String remoteName) throws FileNotFoundException { in addFile() method in BaseInstallMultiple
DBinaryTransparencyHostTest.java94 .addFile("ApkVerityTestApp.apk") in testCollectAllSilentInstalledMbaInfo()
95 .addFile("ApkVerityTestAppSplit.apk") in testCollectAllSilentInstalledMbaInfo()
/frameworks/base/libs/services/include/android/os/
DDropBoxManager.h59 Status addFile(const String16& tag, const string& filename, int flags);
63 Status addFile(const String16& tag, int fd, int flags);
/frameworks/base/core/java/com/android/internal/os/
DIDropBoxManagerService.aidl31 void addFile(String tag, in ParcelFileDescriptor fd, int flags); in addFile() method
/frameworks/base/tools/aapt/
DAaptAssets.cpp522 status_t AaptGroup::addFile(const sp<AaptFile>& file, const bool overwriteDuplicate) in addFile() function in AaptGroup
594 status_t AaptDir::addFile(const String8& name, const sp<AaptGroup>& file) in addFile() function in AaptDir
652 return group->addFile(file, overwrite); in addLeafFile()
895 status_t AaptAssets::addFile(const String8& name, const sp<AaptGroup>& file) in addFile() function in AaptAssets
898 return AaptDir::addFile(name, file); in addFile()
901 sp<AaptFile> AaptAssets::addFile( in addFile() function in AaptAssets
922 status_t res = dir->addFile(rootStr, group); in addFile()
928 status_t res = group->addFile(file); in addFile()
961 grr->addFile(file); in addResource()
963 subdir->addFile(leafName, grr); in addResource()
[all …]
DAaptAssets.h223 status_t addFile(const sp<AaptFile>& file, const bool overwriteDuplicate=false);
255 virtual status_t addFile(const String8& name, const sp<AaptGroup>& file);
527 virtual status_t addFile(const String8& name, const sp<AaptGroup>& file);
529 sp<AaptFile> addFile(const String8& filePath,
DResource.cpp442 existingGroup->addFile(files.valueAt(j)); in collect_files()
672 baseGroup->addFile(overlayFiles.valueAt(overlayGroupIndex)); in applyFileOverlay()
/frameworks/base/core/java/android/content/pm/
DIPackageInstallerSession.aidl53 …void addFile(int location, String name, long lengthBytes, in byte[] metadata, in byte[] signature); in addFile() method
DPackageInstaller.java1563 public void addFile(@FileLocation int location, @NonNull String name, long lengthBytes, in addFile() method in PackageInstaller.Session
1566 mSession.addFile(location, name, lengthBytes, metadata, signature); in addFile()
/frameworks/base/core/java/android/os/
DDropBoxManager.java355 public void addFile(@NonNull String tag, @NonNull File file, @Flags int flags) in addFile() method in DropBoxManager
360 mService.addFile(tag, pfd, flags); in addFile()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DDropBoxTest.java183 dropbox.addFile("DropBoxTest", f0, DropBoxManager.IS_TEXT);
184 dropbox.addFile("DropBoxTest", f1, DropBoxManager.IS_TEXT | DropBoxManager.IS_GZIPPED);
185 dropbox.addFile("DropBoxTest", f2, 0);
186 dropbox.addFile("DropBoxTest", f3, DropBoxManager.IS_GZIPPED);
1075 dropbox.addFile(tag, f, 0);
/frameworks/base/services/core/java/com/android/server/
DDropBoxManagerService.java174 public void addFile(String tag, ParcelFileDescriptor fd, int flags) {
175 DropBoxManagerService.this.addFile(tag, fd, flags);
423 public void addFile(String tag, ParcelFileDescriptor fd, int flags) { in addFile() method in DropBoxManagerService
DBootReceiver.java378 db.addFile(TAG_TOMBSTONE_PROTO_WITH_HEADERS, tombstoneProtoWithHeaders, 0); in addTombstoneToDropBox()
DBatteryService.java840 db.addFile("BATTERY_DISCHARGE_INFO", dumpFile, DropBoxManager.IS_TEXT); in logBatteryStatsLocked()
/frameworks/base/cmds/incidentd/src/
DBroadcaster.cpp410 Status status = dropbox->addFile(String16("incident"), readFd, 0); in send_to_dropbox()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java3707 session.addFile(LOCATION_DATA_APP, name, sessionSizeBytes, in doAddFiles()
3799 session.addFile(LOCATION_DATA_APP, name, sizeBytes, metadata.toByteArray(), signature); in processArgForStdin()
3838 session.addFile(LOCATION_DATA_APP, name, size, metadata.toByteArray(), v4signatureBytes); in processArgForLocalFile()
DPackageInstallerSession.java4146 public void addFile(int location, String name, long lengthBytes, byte[] metadata,
/frameworks/base/core/api/
Dsystem-current.txt3828 …method @RequiresPermission("com.android.permission.USE_INSTALLER_V2") public void addFile(int, @No…
Dcurrent.txt32900 …method public void addFile(@NonNull String, @NonNull java.io.File, int) throws java.io.IOException;
/frameworks/base/boot/
Dboot-image-profile.txt12072 HSPLandroid/os/DropBoxManager;->addFile(Ljava/lang/String;Ljava/io/File;I)V
/frameworks/base/config/
Dboot-image-profile.txt12075 HSPLandroid/os/DropBoxManager;->addFile(Ljava/lang/String;Ljava/io/File;I)V
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt21682 method public void addFile(java.lang.String, java.io.File, int) throws java.io.IOException;