Lines Matching refs:transInfo
143 BluetoothOppTransferInfo transInfo = new BluetoothOppTransferInfo();
145 transInfo = BluetoothOppUtility.queryRecord(context, uri);
146 if (transInfo == null) {
151 if (transInfo.mDirection == BluetoothShare.DIRECTION_INBOUND
152 && BluetoothShare.isStatusSuccess(transInfo.mStatus)) {
154 BluetoothOppUtility.openReceivedFile(context, transInfo.mFileName,
155 transInfo.mFileType, transInfo.mTimeStamp, uri);
225 BluetoothOppTransferInfo transInfo = new BluetoothOppTransferInfo();
226 transInfo = BluetoothOppUtility.queryRecord(context, intent.getData());
227 if (transInfo == null) {
232 if (transInfo.mHandoverInitiated) {
235 if (transInfo.mDirection == BluetoothShare.DIRECTION_INBOUND) {
242 handoverIntent.putExtra(Constants.EXTRA_BT_OPP_TRANSFER_ID, transInfo.mID);
243 handoverIntent.putExtra(Constants.EXTRA_BT_OPP_ADDRESS, transInfo.mDestAddr);
245 if (BluetoothShare.isStatusSuccess(transInfo.mStatus)) {
249 transInfo.mFileName);
251 transInfo.mFileType);
260 if (BluetoothShare.isStatusSuccess(transInfo.mStatus)) {
261 if (transInfo.mDirection == BluetoothShare.DIRECTION_OUTBOUND) {
262 toastMsg = context.getString(R.string.notification_sent, transInfo.mFileName);
263 } else if (transInfo.mDirection == BluetoothShare.DIRECTION_INBOUND) {
265 transInfo.mFileName);
268 } else if (BluetoothShare.isStatusError(transInfo.mStatus)) {
269 if (transInfo.mDirection == BluetoothShare.DIRECTION_OUTBOUND) {
271 transInfo.mFileName);
272 } else if (transInfo.mDirection == BluetoothShare.DIRECTION_INBOUND) {