/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/ |
D | BluetoothOppUtilityTest.java | 95 assertThat(BluetoothOppUtility.isBluetoothShareUri(INCORRECT_FORMAT_URI)).isFalse(); in isBluetoothShareUri_correctlyCheckUri() 96 assertThat(BluetoothOppUtility.isBluetoothShareUri(CORRECT_FORMAT_BUT_INVALID_FILE_URI)) in isBluetoothShareUri_correctlyCheckUri() 111 assertThat(BluetoothOppUtility.queryRecord(mContext, CORRECT_FORMAT_BUT_INVALID_FILE_URI)) in queryRecord_withInvalidFileUrl_returnsNull() 130 assertThat(BluetoothOppUtility.queryRecord(mContext, CORRECT_FORMAT_BUT_INVALID_FILE_URI)) in queryRecord_mockCursor_returnsInstance() 154 BluetoothOppUtility.queryTransfersInBatch(mContext, timestampValue); in queryTransfersInBatch_returnsCorrectUrlArrayList() 185 BluetoothOppUtility.openReceivedFile( in openReceivedFile_fileNotExist() 224 BluetoothOppUtility.openReceivedFile( in openReceivedFile_fileExist_HandlingApplicationExist() 268 BluetoothOppUtility.openReceivedFile( in openReceivedFile_fileExist_HandlingApplicationNotExist() 315 BluetoothOppUtility.fillRecord(mContext, mCursor, info); in fillRecord_filledAllProperties() 333 assertThat(BluetoothOppUtility.fileExists(mContext, CORRECT_FORMAT_BUT_INVALID_FILE_URI)) in fileExists_returnFalse() [all …]
|
D | BluetoothOppManagerTest.java | 85 BluetoothOppUtility.sSendFileMap.clear(); in tearDown() 255 BluetoothOppUtility.sSendFileMap.clear(); in cleanUpSendingFileInfo_fileInfoCleaned() 257 assertThat(BluetoothOppUtility.sSendFileMap.size()).isEqualTo(0); in cleanUpSendingFileInfo_fileInfoCleaned() 260 assertThat(BluetoothOppUtility.sSendFileMap.size()).isEqualTo(1); in cleanUpSendingFileInfo_fileInfoCleaned() 263 assertThat(BluetoothOppUtility.sSendFileMap.size()).isEqualTo(0); in cleanUpSendingFileInfo_fileInfoCleaned()
|
D | BluetoothOppObexClientSessionTest.java | 124 BluetoothOppUtility.putSendFileInfo(uri, sendFileInfo); in startThenStop_startsAndStopsClientThread() 152 BluetoothOppUtility.sSendFileMap.clear(); in startThenStop_startsAndStopsClientThread()
|
D | BluetoothOppPreferenceTest.java | 67 BluetoothOppUtility.sSendFileMap.clear(); in tearDown()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/ |
D | BluetoothOppTransferActivity.java | 138 mTransInfo = BluetoothOppUtility.queryRecord(this, mUri); in onCreate() 163 BluetoothOppUtility.updateVisibilityToHidden(this, mUri); in onCreate() 305 BluetoothOppUtility.deviceHasNoSdCard() in customizeViewContent() 330 BluetoothOppUtility.getStatusDescription( in customizeViewContent() 347 BluetoothOppUtility.getStatusDescription( in customizeViewContent() 366 BluetoothOppUtility.openReceivedFile( in onClick() 374 BluetoothOppUtility.updateVisibilityToHidden(this, mUri); in onClick() 379 BluetoothOppUtility.updateVisibilityToHidden(this, mUri); in onClick() 400 BluetoothOppUtility.updateVisibilityToHidden(this, mUri); in onClick() 409 mTransInfo = BluetoothOppUtility.queryRecord(this, mUri); in updateProgressbar() [all …]
|
D | BluetoothOppManager.java | 275 uri = BluetoothOppUtility.generateUri(uri, sendFileInfo); in saveSendingFileInfo() 276 BluetoothOppUtility.putSendFileInfo(uri, sendFileInfo); in saveSendingFileInfo() 294 uri = BluetoothOppUtility.generateUri(uri, sendFileInfo); in saveSendingFileInfo() 296 BluetoothOppUtility.putSendFileInfo(uri, sendFileInfo); in saveSendingFileInfo() 470 fileUri = BluetoothOppUtility.originalUri(fileUri); in insertMultipleShare() 539 BluetoothOppUtility.closeSendFileInfo(uri); in cleanUpSendingFileInfo() 542 BluetoothOppUtility.closeSendFileInfo(uri); in cleanUpSendingFileInfo()
|
D | BluetoothOppTransferHistory.java | 220 BluetoothOppUtility.updateVisibilityToHidden(this, contentUri); in onContextItemSelected() 301 BluetoothOppUtility.updateVisibilityToHidden(this, contentUri); in clearAllDownloads() 334 BluetoothOppTransferInfo transInfo = BluetoothOppUtility.queryRecord(this, contentUri); in openCompleteTransfer() 347 BluetoothOppUtility.updateVisibilityToHidden(this, contentUri); in openCompleteTransfer() 348 BluetoothOppUtility.openReceivedFile( in openCompleteTransfer()
|
D | BluetoothOppReceiver.java | 139 BluetoothOppTransferInfo transInfo = BluetoothOppUtility.queryRecord(context, uri); in onReceive() 153 BluetoothOppUtility.openReceivedFile( in onReceive() 159 BluetoothOppUtility.updateVisibilityToHidden(context, uri); in onReceive() 258 BluetoothOppUtility.queryRecord(context, intent.getData()); in onReceive()
|
D | BluetoothOppObexClientSession.java | 108 BluetoothOppUtility.cancelNotification(mContext); in stop() 363 BluetoothOppSendFileInfo fileInfo = BluetoothOppUtility.getSendFileInfo(mInfo.mUri); in processShareInfo() 645 BluetoothOppUtility.closeSendFileInfo(mInfo.mUri); in sendFile() 693 BluetoothOppUtility.cancelNotification(mContext); in sendFile()
|
D | BluetoothOppNotification.java | 414 BluetoothOppUtility.formatProgressText(item.totalTotal, item.totalCurrent)); in updateActiveNotification() 502 BluetoothOppUtility.formatResultText( in updateCompletedNotification() 591 BluetoothOppUtility.formatResultText( in updateCompletedNotification() 683 BluetoothOppUtility.fillRecord(mContext, cursor, info); in updateIncomingFileConfirmNotification()
|
D | BluetoothOppSendFileInfo.java | 116 if (fromExternal && BluetoothOppUtility.isForbiddenContent(uri)) { in generateFileInfo() 191 if (fromExternal && !BluetoothOppUtility.isInExternalStorageDir(uri)) { in generateFileInfo()
|
D | BluetoothOppTransferAdapter.java | 105 tv.setText(BluetoothOppUtility.getStatusDescription(mContext, status, deviceName)); in bindView()
|
D | BluetoothOppIncomingFileConfirmActivity.java | 94 mTransInfo = BluetoothOppUtility.queryRecord(this, mUri); in onCreate()
|
D | BluetoothOppObexServerSession.java | 617 BluetoothOppUtility.cancelNotification(mContext); in receiveFile() 703 BluetoothOppUtility.cancelNotification(mContext); in onClose()
|
D | BluetoothOppTransfer.java | 488 BluetoothOppUtility.getSendFileInfo(info.mUri); in markBatchFailed() 489 BluetoothOppUtility.closeSendFileInfo(info.mUri); in markBatchFailed()
|
D | BluetoothOppService.java | 904 BluetoothOppUtility.getSendFileInfo(info.mUri); in insertShare() 914 BluetoothOppUtility.closeSendFileInfo(info.mUri); in insertShare()
|
D | BluetoothOppUtility.java | 77 public class BluetoothOppUtility { class
|