Lines Matching defs:bytes

586             if (DEBUG_BACKUP) Log.d(TAG, systemSettingsData.length + " bytes of settings data");
589 if (DEBUG_BACKUP) Log.d(TAG, secureSettingsData.length + " bytes of secure settings data");
592 if (DEBUG_BACKUP) Log.d(TAG, globalSettingsData.length + " bytes of global settings data");
595 if (DEBUG_BACKUP) Log.d(TAG, locale.length + " bytes of locale data");
598 if (DEBUG_BACKUP) Log.d(TAG, wifiSupplicantData.length + " bytes of wifi supplicant data");
601 if (DEBUG_BACKUP) Log.d(TAG, wifiConfigData.length + " bytes of wifi config data");
604 if (DEBUG_BACKUP) Log.d(TAG, lockSettingsData.length + " bytes of lock settings data");
638 if (DEBUG_BACKUP) Log.d(TAG, nBytes + " bytes of settings data");
645 if (DEBUG_BACKUP) Log.d(TAG, nBytes + " bytes of secure settings data");
653 if (DEBUG_BACKUP) Log.d(TAG, nBytes + " bytes of global settings data");
662 if (DEBUG_BACKUP) Log.d(TAG, nBytes + " bytes of locale data");
669 if (DEBUG_BACKUP) Log.d(TAG, nBytes + " bytes of wifi supplicant data");
684 if (DEBUG_BACKUP) Log.d(TAG, nBytes + " bytes of wifi config data");
691 if (DEBUG_BACKUP) Log.d(TAG, nBytes + " bytes of lock settings data");
824 private void restoreSettings(byte[] settings, int bytes, Uri contentUri,
856 while (pos < bytes) {
1015 byte[] bytes = new byte[(int)file.length()];
1019 while (offset < bytes.length
1020 && (numRead=is.read(bytes, offset, bytes.length-offset)) >= 0) {
1025 if (offset < bytes.length) {
1029 return bytes;
1044 private void restoreFileData(String filename, byte[] bytes, int size) {
1050 os.write(bytes, 0, size);
1091 private void restoreWifiSupplicant(String filename, byte[] bytes, int size) {
1108 for (int i = 0; i < size; i++) restoredAsBytes[i] = (char) bytes[i];
1149 * @return the index after adding the size of an int (4) in bytes.