Searched refs:mBackupWriter (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/app/backup/ |
D | BackupDataOutput.java | 73 long mBackupWriter; field in BackupDataOutput 95 mBackupWriter = ctor(fd); in BackupDataOutput() 96 if (mBackupWriter == 0) { in BackupDataOutput() 132 int result = writeEntityHeader_native(mBackupWriter, key, dataSize); in writeEntityHeader() 148 int result = writeEntityData_native(mBackupWriter, data, size); in writeEntityData() 158 setKeyPrefix_native(mBackupWriter, keyPrefix); in setKeyPrefix() 165 dtor(mBackupWriter); in finalize() 172 private native static void dtor(long mBackupWriter); in dtor() argument 174 … private native static int writeEntityHeader_native(long mBackupWriter, String key, int dataSize); in writeEntityHeader_native() argument 175 private native static int writeEntityData_native(long mBackupWriter, byte[] data, int size); in writeEntityData_native() argument [all …]
|
D | FileBackupHelperBase.java | 77 int err = performBackup_native(oldStateFd, data.mBackupWriter, newStateFd, files, keys); in performBackup_checked()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/fullbackup/ |
D | AppMetadataBackupWriterTest.java | 72 private AppMetadataBackupWriter mBackupWriter; field in AppMetadataBackupWriterTest 90 mBackupWriter = new AppMetadataBackupWriter(output, mPackageManager); in setUp() 118 mBackupWriter.backupManifest(packageInfo, manifestFile, mFilesDir, /* withApk */ false); in testBackupManifest_withoutApkOrSignatures_writesCorrectData() 153 mBackupWriter.backupManifest(packageInfo, manifestFile, mFilesDir, /* withApk */ true); in testBackupManifest_withApk_writesApk() 189 mBackupWriter.backupManifest(packageInfo, manifestFile, mFilesDir, /* withApk */ false); in testBackupManifest_withSignatures_writesCorrectSignatures() 219 mBackupWriter.backupManifest(packageInfo, manifestFile, mFilesDir, /* withApk */ false); in testBackupManifest_withoutInstallerPackage_writesEmptyInstaller() 234 mBackupWriter.backupManifest(packageInfo, manifestFile, mFilesDir, /* withApk */ false); in testBackupManifest_whenRunPreviouslyWithSameData_producesSameBytesOnSecondRun() 240 mBackupWriter.backupManifest(packageInfo, manifestFile, mFilesDir, /* withApk */ false); in testBackupManifest_whenRunPreviouslyWithSameData_producesSameBytesOnSecondRun() 265 mBackupWriter.backupWidget(packageInfo, metadataFile, mFilesDir, widgetBytes); in testBackupWidget_writesCorrectData() 293 mBackupWriter.backupWidget( in testBackupWidget_withNullWidgetData_throwsNullPointerException() [all …]
|
/frameworks/base/core/jni/ |
D | android_app_backup_FullBackup.cpp | 44 jfieldID mBackupWriter; member 105 ? (BackupDataWriter*) env->GetLongField(bdo, sBackupDataOutput.mBackupWriter) in backupToTar() 136 sBackupDataOutput.mBackupWriter = GetFieldIDOrDie(env, bdoClazz, "mBackupWriter", "J"); in register_android_app_backup_FullBackup()
|