Searched refs:sendFileInfo (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Bluetooth/tests/robotests/src/com/android/bluetooth/opp/ |
D | OppSendFileInfoTest.java | 66 BluetoothOppSendFileInfo sendFileInfo = BluetoothOppSendFileInfo.generateFileInfo( in testFileOpen() local 68 assertThat(sendFileInfo).isNotEqualTo(BluetoothOppSendFileInfo.SEND_FILE_INFO_ERROR); in testFileOpen() 69 assertThat(sendFileInfo.mFileName).isEqualTo("OppTestFile.txt"); in testFileOpen() 70 assertThat(sendFileInfo.mMimetype).isEqualTo("text/plain"); in testFileOpen() 71 assertThat(sendFileInfo.mLength).isEqualTo(TEST_FILE_SIZE); in testFileOpen() 72 assertThat(sendFileInfo.mInputStream).isEqualTo(mFileInputStream); in testFileOpen() 73 assertThat(sendFileInfo.mStatus).isEqualTo(0); in testFileOpen() 83 BluetoothOppSendFileInfo sendFileInfo = BluetoothOppSendFileInfo.generateFileInfo( in testInvalidUriScheme() local 85 assertThat(sendFileInfo).isEqualTo(BluetoothOppSendFileInfo.SEND_FILE_INFO_ERROR); in testInvalidUriScheme() 100 BluetoothOppSendFileInfo sendFileInfo = BluetoothOppSendFileInfo.generateFileInfo( in testBigFileOpen() local [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppManager.java | 271 BluetoothOppSendFileInfo sendFileInfo = in saveSendingFileInfo() local 274 uri = BluetoothOppUtility.generateUri(uri, sendFileInfo); in saveSendingFileInfo() 275 BluetoothOppUtility.putSendFileInfo(uri, sendFileInfo); in saveSendingFileInfo() 289 BluetoothOppSendFileInfo sendFileInfo = in saveSendingFileInfo() local 292 uri = BluetoothOppUtility.generateUri(uri, sendFileInfo); in saveSendingFileInfo() 294 BluetoothOppUtility.putSendFileInfo(uri, sendFileInfo); in saveSendingFileInfo()
|
D | BluetoothOppUtility.java | 397 static Uri generateUri(Uri uri, BluetoothOppSendFileInfo sendFileInfo) { in generateUri() argument 398 String fileInfo = sendFileInfo.toString(); in generateUri() 406 static void putSendFileInfo(Uri uri, BluetoothOppSendFileInfo sendFileInfo) { in putSendFileInfo() argument 408 Log.d(TAG, "putSendFileInfo: uri=" + uri + " sendFileInfo=" + sendFileInfo); in putSendFileInfo() 410 if (sendFileInfo == BluetoothOppSendFileInfo.SEND_FILE_INFO_ERROR) { in putSendFileInfo() 413 sSendFileMap.put(uri, sendFileInfo); in putSendFileInfo()
|
D | BluetoothOppLauncherActivity.java | 124 sendFileInfo(type, stream.toString(), false /* isHandover */, true /* in onCreate() 142 sendFileInfo(type, fileUri.toString(), false /* isHandover */, in onCreate() 409 private void sendFileInfo(String mimeType, String uriString, boolean isHandover, in sendFileInfo() method in BluetoothOppLauncherActivity
|
D | BluetoothOppService.java | 773 BluetoothOppSendFileInfo sendFileInfo = in insertShare() local 775 if (sendFileInfo == null || sendFileInfo.mInputStream == null) { in insertShare()
|