Searched refs:BackupUtils (Results 1 - 12 of 12) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/backup/ |
H A D | BackupUtilsTest.java | 39 import com.android.server.backup.BackupUtils; 57 private static final byte[] SIGNATURE_HASH_1 = BackupUtils.hashSignature(SIGNATURE_1); 58 private static final byte[] SIGNATURE_HASH_2 = BackupUtils.hashSignature(SIGNATURE_2); 59 private static final byte[] SIGNATURE_HASH_3 = BackupUtils.hashSignature(SIGNATURE_3); 60 private static final byte[] SIGNATURE_HASH_4 = BackupUtils.hashSignature(SIGNATURE_4); 73 boolean result = BackupUtils.signaturesMatch(storedSigHashes, null, 88 boolean result = BackupUtils.signaturesMatch(storedSigHashes, packageInfo, 108 boolean result = BackupUtils.signaturesMatch(null, packageInfo, 129 boolean result = BackupUtils.signaturesMatch(storedSigHashes, packageInfo, 147 boolean result = BackupUtils [all...] |
/frameworks/base/core/java/android/util/ |
H A D | BackupUtils.java | 27 public class BackupUtils { class
|
H A D | RecurrenceRule.java | 99 start = convertZonedDateTime(BackupUtils.readString(in)); 100 end = convertZonedDateTime(BackupUtils.readString(in)); 101 period = convertPeriod(BackupUtils.readString(in)); 110 BackupUtils.writeString(out, convertZonedDateTime(start)); 111 BackupUtils.writeString(out, convertZonedDateTime(end)); 112 BackupUtils.writeString(out, convertPeriod(period));
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkTemplate.java | 39 import android.util.BackupUtils; 493 BackupUtils.writeString(out, mSubscriberId); 494 BackupUtils.writeString(out, mNetworkId); 500 throws IOException, BackupUtils.BadVersionException { 503 throw new BackupUtils.BadVersionException("Unknown Backup Serialization Version"); 507 String subscriberId = BackupUtils.readString(in); 508 String networkId = BackupUtils.readString(in); 511 throw new BackupUtils.BadVersionException(
|
H A D | NetworkPolicy.java | 21 import android.util.BackupUtils; 258 BackupUtils.BadVersionException { 261 throw new BackupUtils.BadVersionException("Unknown backup version: " + version); 270 final String cycleTimezone = BackupUtils.readString(in);
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | ShortcutPackageInfo.java | 29 import com.android.server.backup.BackupUtils; 145 if (!BackupUtils.signaturesMatch(mSigHashes, currentPackage, pmi)) { 176 pi.lastUpdateTime, BackupUtils.hashSignatureArray(signatures), /* shadow=*/ false); 205 mSigHashes = BackupUtils.hashSignatureArray(signatures);
|
/frameworks/base/services/core/java/com/android/server/backup/ |
H A D | BackupUtils.java | 34 public class BackupUtils { class 35 private static final String TAG = "BackupUtils";
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsBackupAgent.java | 41 import android.util.BackupUtils; 845 } catch (IOException | BackupUtils.BadVersionException e) { 866 out.writeByte(BackupUtils.NOT_NULL); 870 out.writeByte(BackupUtils.NULL); 900 throw new BackupUtils.BadVersionException( 907 if (isNull == BackupUtils.NULL) continue; 916 } catch (NullPointerException | IOException | BackupUtils.BadVersionException
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
H A D | PackageManagerBackupAgent.java | 251 homeSigHashes = BackupUtils.hashSignatureArray(homeInfoSignatures); 270 && !BackupUtils.signaturesMatch(mStoredHomeSigHashes, homeInfo, pmi)); 365 BackupUtils.hashSignatureArray(infoSignatures)); 517 sigs = BackupUtils.hashSignatureArray(sigs);
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiConfiguration.java | 34 import android.util.BackupUtils; 2231 BackupUtils.writeString(out, SSID); 2234 BackupUtils.writeString(out, preSharedKey); 2244 BackupUtils.BadVersionException { 2248 throw new BackupUtils.BadVersionException("Unknown Backup Serialization Version"); 2253 config.SSID = BackupUtils.readString(in); 2256 config.preSharedKey = BackupUtils.readString(in);
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
H A D | PerformUnifiedRestoreTask.java | 62 import com.android.server.backup.BackupUtils; 628 if (!BackupUtils.signaturesMatch(metaInfo.sigHashes, mCurrentPackage, pmi)) {
|
/frameworks/base/config/ |
H A D | boot-image-profile.txt | 6264 HPLandroid/util/BackupUtils;->writeString(Ljava/io/DataOutputStream;Ljava/lang/String;)V [all...] |
Completed in 255 milliseconds