Searched defs:totalBytes (Results 1 - 8 of 8) sorted by relevance
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
H A D | StorageSummaryPreference.java | 40 public void setPercent(long usedBytes, long totalBytes) { argument 41 mPercent = MathUtils.constrain((int) ((usedBytes * 100) / totalBytes),
|
H A D | StorageVolumePreference.java | 51 public StorageVolumePreference(Context context, VolumeInfo volume, int color, long totalBytes) { argument 73 if (totalBytes <= 0) { 74 totalBytes = path.getTotalSpace(); 77 final long usedBytes = totalBytes - freeBytes; 80 final String total = Formatter.formatFileSize(context, totalBytes); 82 if (totalBytes > 0) { 83 mUsedPercent = (int) ((usedBytes * 100) / totalBytes);
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
H A D | StorageSummaryDonutPreference.java | 63 public void setPercent(long usedBytes, long totalBytes) { argument 64 if (totalBytes == 0) { 68 mPercent = usedBytes / (double) totalBytes;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppShareInfo.java | 73 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 D | BluetoothOppUtility.java | 273 public static String formatProgressText(long totalBytes, long currentBytes) { argument 274 if (totalBytes <= 0) { 277 long progress = currentBytes * 100 / totalBytes;
|
/packages/services/Car/evs/sampleDriver/ |
H A D | bufferCopy.cpp | 78 const unsigned totalBytes = sizeY + sizeColor; local 81 memcpy(tgt, imgData, totalBytes);
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | DownloadInfo.java | 303 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;
|
/packages/apps/TV/src/com/android/tv/tuner/tvinput/ |
H A D | TunerRecordingSessionWorker.java | 589 long totalBytes, long startTime, long endTime) { 596 .setDataBytes(totalBytes) 588 insertRecordedProgram(Program program, long channelId, String storageUri, long totalBytes, long startTime, long endTime) argument
|
Completed in 242 milliseconds