Home
last modified time | relevance | path

Searched refs:srcContext (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
DAsyncChannel.java230 Context srcContext, Handler srcHandler, String dstPackageName, String dstClassName) { in connectSrcHandlerToPackageSync() argument
236 mSrcContext = srcContext; in connectSrcHandlerToPackageSync()
250 boolean result = srcContext.bindService(intent, mConnection, Context.BIND_AUTO_CREATE); in connectSrcHandlerToPackageSync()
266 public int connectSync(Context srcContext, Handler srcHandler, Messenger dstMessenger) { in connectSync() argument
270 connected(srcContext, srcHandler, dstMessenger); in connectSync()
286 public int connectSync(Context srcContext, Handler srcHandler, Handler dstHandler) { in connectSync() argument
287 return connectSync(srcContext, srcHandler, new Messenger(dstHandler)); in connectSync()
300 public int fullyConnectSync(Context srcContext, Handler srcHandler, Handler dstHandler) { in fullyConnectSync() argument
301 int status = connectSync(srcContext, srcHandler, dstHandler); in fullyConnectSync()
323 public void connect(Context srcContext, Handler srcHandler, String dstPackageName, in connect() argument
[all …]
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pManager.java1136 public Channel initialize(Context srcContext, Looper srcLooper, ChannelListener listener) { in initialize() argument
1138 Channel channel = initalizeChannel(srcContext, srcLooper, listener, getMessenger(binder), in initialize()
1147 public Channel initializeInternal(Context srcContext, Looper srcLooper, in initializeInternal() argument
1149 return initalizeChannel(srcContext, srcLooper, listener, getP2pStateMachineMessenger(), in initializeInternal()
1153 private Channel initalizeChannel(Context srcContext, Looper srcLooper, ChannelListener listener, in initalizeChannel() argument
1157 Channel c = new Channel(srcContext, srcLooper, listener, binder, this); in initalizeChannel()
1158 if (c.mAsyncChannel.connectSync(srcContext, c.mHandler, messenger) in initalizeChannel()