Searched refs:srcContext (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/com/android/internal/util/ |
D | AsyncChannel.java | 223 Context srcContext, Handler srcHandler, String dstPackageName, String dstClassName) { in connectSrcHandlerToPackageSync() argument 229 mSrcContext = srcContext; in connectSrcHandlerToPackageSync() 243 boolean result = srcContext.bindService(intent, mConnection, Context.BIND_AUTO_CREATE); in connectSrcHandlerToPackageSync() 258 public int connectSync(Context srcContext, Handler srcHandler, Messenger dstMessenger) { in connectSync() argument 262 connected(srcContext, srcHandler, dstMessenger); in connectSync() 278 public int connectSync(Context srcContext, Handler srcHandler, Handler dstHandler) { in connectSync() argument 279 return connectSync(srcContext, srcHandler, new Messenger(dstHandler)); in connectSync() 292 public int fullyConnectSync(Context srcContext, Handler srcHandler, Handler dstHandler) { in fullyConnectSync() argument 293 int status = connectSync(srcContext, srcHandler, dstHandler); in fullyConnectSync() 315 public void connect(Context srcContext, Handler srcHandler, String dstPackageName, in connect() argument [all …]
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pManager.java | 938 public Channel initialize(Context srcContext, Looper srcLooper, ChannelListener listener) { in initialize() argument 940 Channel channel = initalizeChannel(srcContext, srcLooper, listener, getMessenger(binder), in initialize() 949 public Channel initializeInternal(Context srcContext, Looper srcLooper, in initializeInternal() argument 951 return initalizeChannel(srcContext, srcLooper, listener, getP2pStateMachineMessenger(), in initializeInternal() 955 private Channel initalizeChannel(Context srcContext, Looper srcLooper, ChannelListener listener, in initalizeChannel() argument 959 Channel c = new Channel(srcContext, srcLooper, listener, binder, this); in initalizeChannel() 960 if (c.mAsyncChannel.connectSync(srcContext, c.mHandler, messenger) in initalizeChannel()
|