Searched refs:mConnectionCallback (Results 1 – 2 of 2) sorted by relevance
/external/libchrome/base/android/junit/src/org/chromium/base/process_launcher/ |
D | ChildProcessConnectionTest.java | 109 private ChildProcessConnection.ConnectionCallback mConnectionCallback; field in ChildProcessConnectionTest 304 null /* connectionBundle */, null /* callback */, mConnectionCallback); in testSetupConnectionBeforeServiceConnected() 305 verify(mConnectionCallback, never()).onConnected(any()); in testSetupConnectionBeforeServiceConnected() 310 verify(mConnectionCallback, times(1)).onConnected(connection); in testSetupConnectionBeforeServiceConnected() 320 null /* connectionBundle */, null /* callback */, mConnectionCallback); in testSetupConnectionAfterServiceConnected() 321 verify(mConnectionCallback, never()).onConnected(any()); in testSetupConnectionAfterServiceConnected() 325 verify(mConnectionCallback, times(1)).onConnected(connection); in testSetupConnectionAfterServiceConnected() 335 null /* connectionBundle */, null /* callback */, mConnectionCallback); in testKill() 336 verify(mConnectionCallback, never()).onConnected(any()); in testKill() 340 verify(mConnectionCallback, times(1)).onConnected(connection); in testKill()
|
/external/libchrome/base/android/java/src/org/chromium/base/process_launcher/ |
D | ChildProcessConnection.java | 201 private ConnectionCallback mConnectionCallback; field in ChildProcessConnection 395 mConnectionCallback = connectionCallback; in setupConnection() 496 if (mConnectionCallback != null) { in onServiceDisconnectedOnLauncherThread() 497 mConnectionCallback.onConnected(null); in onServiceDisconnectedOnLauncherThread() 498 mConnectionCallback = null; in onServiceDisconnectedOnLauncherThread() 506 if (mConnectionCallback != null) { in onSetupConnectionResult() 507 mConnectionCallback.onConnected(this); in onSetupConnectionResult() 509 mConnectionCallback = null; in onSetupConnectionResult()
|