/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/ |
D | StorageUsageProgressBarPreferenceControllerTest.java | 50 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/ |
D | BluetoothOppTransferActivityTest.java | 122 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()
|
D | BluetoothOppReceiveFileInfoTest.java | 115 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()
|
D | BluetoothOppNotificationTest.java | 99 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()
|
D | BluetoothOppReceiverTest.java | 238 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()
|
D | IncomingFileConfirmActivityTest.java | 108 new BluetoothOppTestUtils.CursorMockData(BluetoothShare.TOTAL_BYTES, 3, 100), in setUp()
|
D | BluetoothOppTransferHistoryTest.java | 104 new BluetoothOppTestUtils.CursorMockData(BluetoothShare.TOTAL_BYTES, 3, 100), in setUp()
|
D | BluetoothOppUtilityTest.java | 254 new CursorMockData(BluetoothShare.TOTAL_BYTES, 3, totalBytesValue), in fillRecord_filledAllProperties()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/ |
D | BluetoothOppProvider.java | 152 + BluetoothShare.STATUS + " INTEGER, " + BluetoothShare.TOTAL_BYTES in createTable() 245 BluetoothShare.TOTAL_BYTES, in oppDatabaseMigration() 277 copyLong(BluetoothShare.TOTAL_BYTES, values, filteredValues); in insert()
|
D | BluetoothShare.java | 195 public static final String TOTAL_BYTES = "total_bytes"; field in BluetoothShare
|
D | BluetoothOppTransferAdapter.java | 101 long totalBytes = cursor.getLong(cursor.getColumnIndexOrThrow(BluetoothShare.TOTAL_BYTES)); in bindView()
|
D | BluetoothOppReceiveFileInfo.java | 102 BluetoothShare.FILENAME_HINT, BluetoothShare.TOTAL_BYTES, in generateFileInfo()
|
D | BluetoothOppTransferHistory.java | 125 BluetoothShare.TOTAL_BYTES, in onCreate()
|
D | BluetoothOppService.java | 778 cursor.getLong(cursor.getColumnIndexOrThrow(BluetoothShare.TOTAL_BYTES)), in insertShare() 935 info.mTotalBytes = cursor.getLong(cursor.getColumnIndexOrThrow(BluetoothShare.TOTAL_BYTES)); in updateShare()
|
D | BluetoothOppObexClientSession.java | 369 updateValues.put(BluetoothShare.TOTAL_BYTES, fileInfo.mLength); in processShareInfo()
|
D | BluetoothOppObexServerSession.java | 273 values.put(BluetoothShare.TOTAL_BYTES, length); in onPut()
|
D | BluetoothOppUtility.java | 117 info.mTotalBytes = cursor.getLong(cursor.getColumnIndexOrThrow(BluetoothShare.TOTAL_BYTES)); in fillRecord()
|
D | BluetoothOppNotification.java | 274 final int totalBytesIndex = cursor.getColumnIndexOrThrow(BluetoothShare.TOTAL_BYTES); in updateActiveNotification()
|
D | BluetoothOppTransfer.java | 456 updateValues.put(BluetoothShare.TOTAL_BYTES, fileInfo.mLength); in markBatchFailed()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadNotifier.java | 157 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/ |
D | DataMigrationTest.java | 437 new Pair(BluetoothShare.TOTAL_BYTES, 42L),
|