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 | 885 public Channel initialize(Context srcContext, Looper srcLooper, ChannelListener listener) { in initialize() argument 886 return initalizeChannel(srcContext, srcLooper, listener, getMessenger()); in initialize() 893 public Channel initializeInternal(Context srcContext, Looper srcLooper, in initializeInternal() argument 895 return initalizeChannel(srcContext, srcLooper, listener, getP2pStateMachineMessenger()); in initializeInternal() 898 private Channel initalizeChannel(Context srcContext, Looper srcLooper, ChannelListener listener, in initalizeChannel() argument 902 Channel c = new Channel(srcContext, srcLooper, listener); in initalizeChannel() 903 if (c.mAsyncChannel.connectSync(srcContext, c.mHandler, messenger) in initalizeChannel()
|