Home
last modified time | relevance | path

Searched refs:BluetoothOppUtility (Results 1 – 17 of 17) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppUtilityTest.java95 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 …]
DBluetoothOppManagerTest.java85 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()
DBluetoothOppObexClientSessionTest.java124 BluetoothOppUtility.putSendFileInfo(uri, sendFileInfo); in startThenStop_startsAndStopsClientThread()
152 BluetoothOppUtility.sSendFileMap.clear(); in startThenStop_startsAndStopsClientThread()
DBluetoothOppPreferenceTest.java67 BluetoothOppUtility.sSendFileMap.clear(); in tearDown()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppTransferActivity.java138 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 …]
DBluetoothOppManager.java275 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()
DBluetoothOppTransferHistory.java220 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()
DBluetoothOppReceiver.java139 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()
DBluetoothOppObexClientSession.java108 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()
DBluetoothOppNotification.java414 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()
DBluetoothOppSendFileInfo.java116 if (fromExternal && BluetoothOppUtility.isForbiddenContent(uri)) { in generateFileInfo()
191 if (fromExternal && !BluetoothOppUtility.isInExternalStorageDir(uri)) { in generateFileInfo()
DBluetoothOppTransferAdapter.java105 tv.setText(BluetoothOppUtility.getStatusDescription(mContext, status, deviceName)); in bindView()
DBluetoothOppIncomingFileConfirmActivity.java94 mTransInfo = BluetoothOppUtility.queryRecord(this, mUri); in onCreate()
DBluetoothOppObexServerSession.java617 BluetoothOppUtility.cancelNotification(mContext); in receiveFile()
703 BluetoothOppUtility.cancelNotification(mContext); in onClose()
DBluetoothOppTransfer.java488 BluetoothOppUtility.getSendFileInfo(info.mUri); in markBatchFailed()
489 BluetoothOppUtility.closeSendFileInfo(info.mUri); in markBatchFailed()
DBluetoothOppService.java904 BluetoothOppUtility.getSendFileInfo(info.mUri); in insertShare()
914 BluetoothOppUtility.closeSendFileInfo(info.mUri); in insertShare()
DBluetoothOppUtility.java77 public class BluetoothOppUtility { class