Home
last modified time | relevance | path

Searched refs:TOTAL_BYTES (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/
DStorageUsageProgressBarPreferenceControllerTest.java50 private static final long TOTAL_BYTES = 456L; field in StorageUsageProgressBarPreferenceControllerTest
51 private static final long USAGE_BYTES = TOTAL_BYTES - FREE_BYTES;
81 .thenReturn(TOTAL_BYTES); in setSelectedStorageEntry_primaryStorage_getPrimaryStorageBytes()
92 assertThat(mController.mTotalBytes).isEqualTo(TOTAL_BYTES); in setSelectedStorageEntry_primaryStorage_getPrimaryStorageBytes()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppTransferActivityTest.java122 mCursorMockDataList.add(new CursorMockData(BluetoothShare.TOTAL_BYTES, 3, 100)); in onCreate_showSendOnGoingDialog()
145 mCursorMockDataList.add(new CursorMockData(BluetoothShare.TOTAL_BYTES, 3, 100)); in onCreate_showSendCompleteSuccessDialog()
168 mCursorMockDataList.add(new CursorMockData(BluetoothShare.TOTAL_BYTES, 3, 100)); in onCreate_showSendCompleteFailDialog()
190 mCursorMockDataList.add(new CursorMockData(BluetoothShare.TOTAL_BYTES, 3, 100)); in onCreate_showReceiveOnGoingDialog()
212 mCursorMockDataList.add(new CursorMockData(BluetoothShare.TOTAL_BYTES, 3, 100)); in onCreate_showReceiveCompleteSuccessDialog()
237 mCursorMockDataList.add(new CursorMockData(BluetoothShare.TOTAL_BYTES, 3, 100)); in onCreate_showReceiveCompleteFailDialog()
DBluetoothOppReceiveFileInfoTest.java115 new String[]{BluetoothShare.FILENAME_HINT, BluetoothShare.TOTAL_BYTES, in generateFileInfo_wrongHint_fileError()
151 new String[]{BluetoothShare.FILENAME_HINT, BluetoothShare.TOTAL_BYTES, in generateFileInfo_noInsertUri_returnFileError()
179 new String[]{BluetoothShare.FILENAME_HINT, BluetoothShare.TOTAL_BYTES, in generateFileInfo_withInsertUri_workCorrectly()
211 new String[]{BluetoothShare.FILENAME_HINT, BluetoothShare.TOTAL_BYTES, in generateFileInfo_longFileName_trimFileName()
DBluetoothOppNotificationTest.java99 BluetoothShare.TOTAL_BYTES, BluetoothShare.CURRENT_BYTES, BluetoothShare._DATA, in updateActiveNotification()
141 BluetoothShare.TOTAL_BYTES, BluetoothShare.CURRENT_BYTES, BluetoothShare._DATA, in updateCompletedNotification_withOutBoundShare_showsNoti()
180 BluetoothShare.TOTAL_BYTES, BluetoothShare.CURRENT_BYTES, BluetoothShare._DATA, in updateCompletedNotification_withInBoundShare_showsNoti()
220 BluetoothShare.TOTAL_BYTES, BluetoothShare.CURRENT_BYTES, BluetoothShare._DATA, in updateIncomingFileConfirmationNotification()
DBluetoothOppReceiverTest.java238 new BluetoothOppTestUtils.CursorMockData(BluetoothShare.TOTAL_BYTES, 3, 100), in onReceive_withActionTransferCompletedAndHandoverInitiated_contextSendBroadcast()
280 new BluetoothOppTestUtils.CursorMockData(BluetoothShare.TOTAL_BYTES, 3, 100), in onReceive_withActionTransferComplete_noBroadcastSent()
DIncomingFileConfirmActivityTest.java108 new BluetoothOppTestUtils.CursorMockData(BluetoothShare.TOTAL_BYTES, 3, 100), in setUp()
DBluetoothOppTransferHistoryTest.java104 new BluetoothOppTestUtils.CursorMockData(BluetoothShare.TOTAL_BYTES, 3, 100), in setUp()
DBluetoothOppUtilityTest.java254 new CursorMockData(BluetoothShare.TOTAL_BYTES, 3, totalBytesValue), in fillRecord_filledAllProperties()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppProvider.java152 + BluetoothShare.STATUS + " INTEGER, " + BluetoothShare.TOTAL_BYTES in createTable()
245 BluetoothShare.TOTAL_BYTES, in oppDatabaseMigration()
277 copyLong(BluetoothShare.TOTAL_BYTES, values, filteredValues); in insert()
DBluetoothShare.java195 public static final String TOTAL_BYTES = "total_bytes"; field in BluetoothShare
DBluetoothOppTransferAdapter.java101 long totalBytes = cursor.getLong(cursor.getColumnIndexOrThrow(BluetoothShare.TOTAL_BYTES)); in bindView()
DBluetoothOppReceiveFileInfo.java102 BluetoothShare.FILENAME_HINT, BluetoothShare.TOTAL_BYTES, in generateFileInfo()
DBluetoothOppTransferHistory.java125 BluetoothShare.TOTAL_BYTES, in onCreate()
DBluetoothOppService.java778 cursor.getLong(cursor.getColumnIndexOrThrow(BluetoothShare.TOTAL_BYTES)), in insertShare()
935 info.mTotalBytes = cursor.getLong(cursor.getColumnIndexOrThrow(BluetoothShare.TOTAL_BYTES)); in updateShare()
DBluetoothOppObexClientSession.java369 updateValues.put(BluetoothShare.TOTAL_BYTES, fileInfo.mLength); in processShareInfo()
DBluetoothOppObexServerSession.java273 values.put(BluetoothShare.TOTAL_BYTES, length); in onPut()
DBluetoothOppUtility.java117 info.mTotalBytes = cursor.getLong(cursor.getColumnIndexOrThrow(BluetoothShare.TOTAL_BYTES)); in fillRecord()
DBluetoothOppNotification.java274 final int totalBytesIndex = cursor.getColumnIndexOrThrow(BluetoothShare.TOTAL_BYTES); in updateActiveNotification()
DBluetoothOppTransfer.java456 updateValues.put(BluetoothShare.TOTAL_BYTES, fileInfo.mLength); in markBatchFailed()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadNotifier.java157 final int TOTAL_BYTES = 5; field
303 final long totalBytes = cursor.getLong(UpdateQuery.TOTAL_BYTES); in updateWithLocked()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DDataMigrationTest.java437 new Pair(BluetoothShare.TOTAL_BYTES, 42L),