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.java137 mCursorMockDataList.add(new CursorMockData(BluetoothShare.TOTAL_BYTES, 3, 100)); in onCreate_showSendOnGoingDialog()
159 mCursorMockDataList.add(new CursorMockData(BluetoothShare.TOTAL_BYTES, 3, 100)); in onCreate_showSendCompleteSuccessDialog()
181 mCursorMockDataList.add(new CursorMockData(BluetoothShare.TOTAL_BYTES, 3, 100)); in onCreate_showSendCompleteFailDialog()
203 mCursorMockDataList.add(new CursorMockData(BluetoothShare.TOTAL_BYTES, 3, 100)); in onCreate_showReceiveOnGoingDialog()
225 mCursorMockDataList.add(new CursorMockData(BluetoothShare.TOTAL_BYTES, 3, 100)); in onCreate_showReceiveCompleteSuccessDialog()
248 mCursorMockDataList.add(new CursorMockData(BluetoothShare.TOTAL_BYTES, 3, 100)); in onCreate_showReceiveCompleteFailDialog()
DBluetoothOppReceiveFileInfoTest.java121 BluetoothShare.TOTAL_BYTES, in generateFileInfo_wrongHint_fileError()
169 BluetoothShare.TOTAL_BYTES, in generateFileInfo_noInsertUri_returnFileError()
209 BluetoothShare.TOTAL_BYTES, in generateFileInfo_withInsertUri_workCorrectly()
253 BluetoothShare.TOTAL_BYTES, in generateFileInfo_longFileName_trimFileName()
DBluetoothOppNotificationTest.java144 BluetoothShare.TOTAL_BYTES, in updateActiveNotification()
223 BluetoothShare.TOTAL_BYTES, in updateCompletedNotification_withOutBoundShare_showsNoti()
303 BluetoothShare.TOTAL_BYTES, in updateCompletedNotification_withInBoundShare_showsNoti()
384 BluetoothShare.TOTAL_BYTES, BluetoothShare.CURRENT_BYTES, in updateIncomingFileConfirmationNotification()
DBluetoothOppReceiverTest.java353 BluetoothShare.TOTAL_BYTES, 3, 100), in onReceive_withActionTransferCompletedAndHandoverInitiated_contextSendBroadcast()
409 BluetoothShare.TOTAL_BYTES, 3, 100), in onReceive_withActionTransferComplete_noBroadcastSent()
DBluetoothOppTransferHistoryTest.java117 BluetoothShare.TOTAL_BYTES, 3, 100), in setUp()
DIncomingFileConfirmActivityTest.java128 BluetoothShare.TOTAL_BYTES, 3, 100), in setUp()
DBluetoothOppUtilityTest.java304 new CursorMockData(BluetoothShare.TOTAL_BYTES, 3, totalBytesValue), in fillRecord_filledAllProperties()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppProvider.java169 + BluetoothShare.TOTAL_BYTES in createTable()
281 BluetoothShare.TOTAL_BYTES, BluetoothShare.TIMESTAMP)); in oppDatabaseMigration()
317 copyLong(BluetoothShare.TOTAL_BYTES, values, filteredValues); in insert()
DBluetoothShare.java159 public static final String TOTAL_BYTES = "total_bytes"; field in BluetoothShare
DBluetoothOppTransferAdapter.java100 long totalBytes = cursor.getLong(cursor.getColumnIndexOrThrow(BluetoothShare.TOTAL_BYTES)); in bindView()
DBluetoothOppReceiveFileInfo.java106 BluetoothShare.TOTAL_BYTES, in generateFileInfo()
DBluetoothOppTransferHistory.java150 BluetoothShare.TOTAL_BYTES, in onCreate()
DBluetoothOppService.java861 cursor.getLong(cursor.getColumnIndexOrThrow(BluetoothShare.TOTAL_BYTES)), in insertShare()
1034 info.mTotalBytes = cursor.getLong(cursor.getColumnIndexOrThrow(BluetoothShare.TOTAL_BYTES)); in updateShare()
DBluetoothOppObexClientSession.java378 updateValues.put(BluetoothShare.TOTAL_BYTES, fileInfo.mLength); in processShareInfo()
DBluetoothOppUtility.java118 info.mTotalBytes = cursor.getLong(cursor.getColumnIndexOrThrow(BluetoothShare.TOTAL_BYTES)); in fillRecord()
DBluetoothOppObexServerSession.java293 values.put(BluetoothShare.TOTAL_BYTES, length); in onPut()
DBluetoothOppNotification.java308 final int totalBytesIndex = cursor.getColumnIndexOrThrow(BluetoothShare.TOTAL_BYTES); in updateActiveNotification()
DBluetoothOppTransfer.java492 updateValues.put(BluetoothShare.TOTAL_BYTES, fileInfo.mLength); in markBatchFailed()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadNotifier.java166 final int TOTAL_BYTES = 5; field
316 final long totalBytes = cursor.getLong(UpdateQuery.TOTAL_BYTES); in updateWithLocked()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DDataMigrationTest.java428 new Pair(BluetoothShare.TOTAL_BYTES, 42L),