Searched defs:totalBytes (Results 1 - 5 of 5) sorted by relevance

/packages/apps/Settings/src/com/android/settings/deviceinfo/
H A DStorageVolumePreference.java50 public StorageVolumePreference(Context context, VolumeInfo volume, int color, long totalBytes) { argument
72 if (totalBytes <= 0) {
73 totalBytes = path.getTotalSpace();
76 final long usedBytes = totalBytes - freeBytes;
79 final String total = Formatter.formatFileSize(context, totalBytes);
81 if (totalBytes > 0) {
82 mUsedPercent = (int) ((usedBytes * 100) / totalBytes);
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppShareInfo.java73 long totalBytes, long currentBytes, long timestamp, boolean mediaScanned) {
84 mTotalBytes = totalBytes;
71 BluetoothOppShareInfo(int id, Uri uri, String hint, String filename, String mimetype, int direction, String destination, int visibility, int confirm, int status, long totalBytes, long currentBytes, long timestamp, boolean mediaScanned) argument
H A DBluetoothOppUtility.java269 public static String formatProgressText(long totalBytes, long currentBytes) { argument
270 if (totalBytes <= 0) {
273 long progress = currentBytes * 100 / totalBytes;
/packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/
H A DTunerRecordingSessionWorker.java495 long totalBytes, long startTime, long endTime) {
501 .setDataBytes(totalBytes)
494 insertRecordedProgram(Program program, long channelId, String storageUri, long totalBytes, long startTime, long endTime) argument
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadInfo.java303 public int getRequiredNetworkType(long totalBytes) { argument
310 if (totalBytes > mSystemFacade.getMaxBytesOverMobile()) {
313 if (totalBytes > mSystemFacade.getRecommendedMaxBytesOverMobile()
371 public boolean isMeteredAllowed(long totalBytes) { argument
372 return getRequiredNetworkType(totalBytes) != JobInfo.NETWORK_TYPE_UNMETERED;

Completed in 271 milliseconds