Searched refs:BluetoothOppSendFileInfo (Results 1 - 6 of 6) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppSendFileInfo.java54 public class BluetoothOppSendFileInfo { class
55 private static final String TAG = "BluetoothOppSendFileInfo";
61 static final BluetoothOppSendFileInfo SEND_FILE_INFO_ERROR = new BluetoothOppSendFileInfo(
80 public BluetoothOppSendFileInfo(String fileName, String type, long length, method in class:BluetoothOppSendFileInfo
91 public BluetoothOppSendFileInfo(String data, String type, long length, int status) { method in class:BluetoothOppSendFileInfo
100 public static BluetoothOppSendFileInfo generateFileInfo(
231 return new BluetoothOppSendFileInfo(fileName, contentType, length, is, 0);
H A DBluetoothOppUtility.java66 private static final ConcurrentHashMap<Uri, BluetoothOppSendFileInfo> sSendFileMap
67 = new ConcurrentHashMap<Uri, BluetoothOppSendFileInfo>();
336 static void putSendFileInfo(Uri uri, BluetoothOppSendFileInfo sendFileInfo) {
338 if (sendFileInfo == BluetoothOppSendFileInfo.SEND_FILE_INFO_ERROR) {
344 static BluetoothOppSendFileInfo getSendFileInfo(Uri uri) {
346 BluetoothOppSendFileInfo info = sSendFileMap.get(uri);
347 return (info != null) ? info : BluetoothOppSendFileInfo.SEND_FILE_INFO_ERROR;
352 BluetoothOppSendFileInfo info = sSendFileMap.remove(uri);
H A DBluetoothOppObexClientSession.java144 private BluetoothOppSendFileInfo mFileInfo = null;
308 private BluetoothOppSendFileInfo processShareInfo() {
311 BluetoothOppSendFileInfo fileInfo = BluetoothOppUtility.getSendFileInfo(mInfo.mUri);
313 if (V) Log.v(TAG, "BluetoothOppSendFileInfo get invalid file");
318 Log.v(TAG, "Generate BluetoothOppSendFileInfo:");
337 private int sendFile(BluetoothOppSendFileInfo fileInfo) {
H A DBluetoothOppManager.java258 uri, BluetoothOppSendFileInfo.generateFileInfo(
273 uri, BluetoothOppSendFileInfo.generateFileInfo(
H A DBluetoothOppTransfer.java397 BluetoothOppSendFileInfo fileInfo
H A DBluetoothOppService.java670 BluetoothOppSendFileInfo sendFileInfo = BluetoothOppUtility.getSendFileInfo(

Completed in 678 milliseconds