Lines Matching defs:result

547     // password text itself; it's the result of a PBKDF2 hash with a randomly chosen (but
842 // cache the result in the active session
1423 byte[] result = new byte[bytes];
1425 result[i/2] = (byte) Integer.parseInt(digits.substring(i, i+2), 16);
1427 return result;
2700 // SHA-1 a byte array and return the result in hex
3185 int result = BackupTransport.TRANSPORT_OK;
3219 result = BackupTransport.AGENT_ERROR;
3224 result = BackupTransport.AGENT_ERROR;
3231 result = BackupTransport.AGENT_ERROR;
3242 result = BackupTransport.TRANSPORT_ERROR;
3247 result = BackupTransport.AGENT_ERROR;
3250 return result;
3702 // this way, and if the result does not match the checksum as stored in the
3887 int result = transport.performFullBackup(currentPackage,
3889 if (result == BackupTransport.TRANSPORT_OK) {
3927 result = transport.sendBackupData(nRead);
3929 } while (nRead > 0 && result == BackupTransport.TRANSPORT_OK);
3935 result = BackupTransport.TRANSPORT_ERROR;
3939 // result based on what finishBackup() returns. If we're in a
3940 // failure case already, preserve that result and ignore whatever
3943 if (result == BackupTransport.TRANSPORT_OK) {
3944 result = finishResult;
3949 Slog.i(TAG, "Done trying to send backup data: result=" + result);
3952 if (result != BackupTransport.TRANSPORT_OK) {
3953 Slog.e(TAG, "Error " + result
3965 if (result == BackupTransport.TRANSPORT_PACKAGE_REJECTED) {
3974 } else if (result != BackupTransport.TRANSPORT_OK) {
3976 Slog.i(TAG, "Transport failed; aborting backup: " + result);
4273 public void setResult(int result) {
4274 mResult.set(result);
5696 InputStream result = null;
5732 // Only if all of the above worked properly will 'result' be assigned
5733 result = new CipherInputStream(rawInStream, c);
5753 return result;
5758 InputStream result = null;
5774 result = attemptMasterKeyDecryption(PBKDF_CURRENT, userSalt, ckSalt,
5776 if (result == null && pbkdf2Fallback) {
5777 result = attemptMasterKeyDecryption(PBKDF_FALLBACK, userSalt, ckSalt,
5787 return result;
7597 int result = mTransport.getNextFullRestoreDataChunk(tWriteEnd);
7598 if (result > 0) {
7602 Slog.v(TAG, " <- transport provided chunk size " + result);
7604 if (result > bufferSize) {
7605 bufferSize = result;
7608 int toCopy = result;
7617 } else if (result == BackupTransport.NO_MORE_DATA) {
7628 Slog.e(TAG, "Error " + result + " streaming restore for "
7631 status = result;
8967 // until we're done. It gets started again when the result