Home
last modified time | relevance | path

Searched refs:mTransport (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
DService.java35 private final Transport mTransport; field in Service
40 mTransport = transport; in Service()
53 return mTransport; in getTransport()
57 return mTransport.getLogger(); in getLogger()
61 mTransport.registerService(mServiceId, this); in start()
65 mTransport.unregisterService(mServiceId); in stop()
/frameworks/base/core/java/android/database/
DContentObserver.java29 private Transport mTransport; // guarded by mLock field in ContentObserver
49 if (mTransport == null) { in getContentObserver()
50 mTransport = new Transport(this); in getContentObserver()
52 return mTransport; in getContentObserver()
64 final Transport oldTransport = mTransport; in releaseContentObserver()
67 mTransport = null; in releaseContentObserver()
/frameworks/base/obex/javax/obex/
DServerSession.java52 private ObexTransport mTransport; field in ServerSession
77 mTransport = trans; in ServerSession()
78 mInput = mTransport.openInputStream(); in ServerSession()
79 mOutput = mTransport.openOutputStream(); in ServerSession()
171 if (length > ObexHelper.getMaxRxPacketSize(mTransport)) { in handleAbortRequest()
314 if (length > ObexHelper.getMaxRxPacketSize(mTransport)) { in handleSetPathRequest()
436 if (length > ObexHelper.getMaxRxPacketSize(mTransport)) { in handleDisconnectRequest()
566 if(mMaxPacketLength > ObexHelper.getMaxTxPacketSize(mTransport)) { in handleConnectRequest()
569 + ObexHelper.getMaxTxPacketSize(mTransport) in handleConnectRequest()
571 mMaxPacketLength = ObexHelper.getMaxTxPacketSize(mTransport); in handleConnectRequest()
[all …]
DClientSession.java73 private final ObexTransport mTransport; field in ClientSession
81 mTransport = trans; in ClientSession()
97 mTransport = trans; in ClientSession()
129 int maxRxPacketSize = ObexHelper.getMaxRxPacketSize(mTransport); in connect()
516 if (length > ObexHelper.getMaxRxPacketSize(mTransport)) { in sendRequest()
534 if(mMaxTxPacketSize > ObexHelper.getMaxTxPacketSize(mTransport)) { in sendRequest()
539 + ObexHelper.getMaxTxPacketSize(mTransport) in sendRequest()
541 mMaxTxPacketSize = ObexHelper.getMaxTxPacketSize(mTransport); in sendRequest()
DServerOperation.java88 private ObexTransport mTransport; field in ServerOperation
142 mTransport = p.getTransport(); in ServerOperation()
185 if (packet.mLength > ObexHelper.getMaxRxPacketSize(mTransport)) { in ServerOperation()
188 + packet.mLength + " maxLength: " + ObexHelper.getMaxRxPacketSize(mTransport)); in ServerOperation()
280 if(mTransport.isSrmSupported() && srmMode != null in updateRequestHeaders()
559 if (packet.mLength > ObexHelper.getMaxRxPacketSize(mTransport)) { in sendReply()
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
DSourceActivity.java54 private UsbAccessoryStreamTransport mTransport; field in SourceActivity
163 mTransport = new UsbAccessoryStreamTransport(mLogger, fd); in connect()
165 mTransport.startReading(); in connect()
175 if (mTransport != null) { in disconnect()
176 mTransport.close(); in disconnect()
177 mTransport = null; in disconnect()
182 mDisplaySourceService = new DisplaySourceService(this, mTransport, mPresenter); in startServices()
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMasObexClientSession.java52 private final ObexTransport mTransport; field in BluetoothMasObexClientSession
96 mTransport = transport; in BluetoothMasObexClientSession()
136 mSession = new ClientSession(mTransport); in connect()
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DSinkActivity.java80 private UsbAccessoryBulkTransport mTransport; field in SinkActivity
228 mTransport = new UsbAccessoryBulkTransport(mLogger, conn, bulkIn, bulkOut); in connect()
233 mTransport.startReading(); in connect()
284 if (mTransport != null) { in disconnect()
285 mTransport.close(); in disconnect()
286 mTransport = null; in disconnect()
405 mDisplaySinkService = new DisplaySinkService(this, mTransport, in startServices()
/frameworks/base/core/java/android/content/
DContentProvider.java122 private Transport mTransport = new Transport(); field in ContentProvider
530 return mTransport.mAppOpsManager.noteProxyOp(permOp, callingPkg); in checkPermissionAndAppOp()
723 mTransport.mAppOpsManager.checkPackage(Binder.getCallingUid(), pkg); in getCallingPackage()
831 mTransport.mReadOp = readOp; in setAppOps()
832 mTransport.mWriteOp = writeOp; in setAppOps()
838 return mTransport.mAppOpsManager; in getAppOpsManager()
1706 return mTransport; in getIContentProvider()
1739 mTransport.mAppOpsManager = (AppOpsManager) context.getSystemService( in attachInfo()
/frameworks/base/core/java/android/bluetooth/
DBluetoothGatt.java54 private int mTransport; field in BluetoothGatt
161 … !mAutoConnect, mTransport); // autoConnect is inverse of "isDirect"
504 mTransport = transport; in BluetoothGatt()
692 false, mTransport); // autoConnect is inverse of "isDirect" in connect()
DBluetoothGattServer.java54 private int mTransport; field in BluetoothGattServer
316 mTransport = transport; in BluetoothGattServer()
443 … autoConnect ? false : true,mTransport); // autoConnect is inverse of "isDirect" in connect()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java1910 final ServiceInfo svc = conn.mTransport;
2009 bindTransport(conn.mTransport);
2043 ServiceInfo mTransport; field in BackupManagerService.TransportConnection
2046 mTransport = transport; in TransportConnection()
2634 IBackupTransport mTransport; field in BackupManagerService.PerformBackupTask
2659 mTransport = transport; in PerformBackupTask()
2747 final String transportName = mTransport.transportDirName(); in beginBackup()
2755 mStatus = mTransport.initializeDevice(); in beginBackup()
2775 IBackupAgent.Stub.asInterface(pmAgent.onBind()), mTransport); in beginBackup()
2788 EventLog.writeEvent(EventLogTags.BACKUP_RESET, mTransport.transportDirName()); in beginBackup()
[all …]
/frameworks/base/core/java/android/accounts/
DAbstractAccountAuthenticator.java519 private Transport mTransport = new Transport(); field in AbstractAccountAuthenticator
525 return mTransport.asBinder(); in getIBinder()