Searched refs:mServiceCallback (Results 1 – 4 of 4) sorted by relevance
/external/libchrome/base/android/junit/src/org/chromium/base/process_launcher/ |
D | ChildProcessConnectionTest.java | 106 private ChildProcessConnection.ServiceCallback mServiceCallback; field in ChildProcessConnectionTest 197 connection.start(false /* useStrongBinding */, mServiceCallback); in testServiceStartsSuccessfully() 200 verify(mServiceCallback, never()).onChildStarted(); in testServiceStartsSuccessfully() 201 verify(mServiceCallback, never()).onChildStartFailed(any()); in testServiceStartsSuccessfully() 202 verify(mServiceCallback, never()).onChildProcessDied(any()); in testServiceStartsSuccessfully() 207 verify(mServiceCallback, times(1)).onChildStarted(); in testServiceStartsSuccessfully() 208 verify(mServiceCallback, never()).onChildStartFailed(any()); in testServiceStartsSuccessfully() 209 verify(mServiceCallback, never()).onChildProcessDied(any()); in testServiceStartsSuccessfully() 219 connection.start(false /* useStrongBinding */, mServiceCallback); in testServiceStartsAndFailsToBind() 223 verify(mServiceCallback, never()).onChildStarted(); in testServiceStartsAndFailsToBind() [all …]
|
D | ChildConnectionAllocatorTest.java | 55 private ChildProcessConnection.ServiceCallback mServiceCallback; field in ChildConnectionAllocatorTest 148 mAllocator.allocate(null /* context */, null /* serviceBundle */, mServiceCallback); in testPlainAllocate() 165 null /* context */, null /* serviceBundle */, mServiceCallback); in testAllocateMaxNumber() 173 null /* context */, null /* serviceBundle */, mServiceCallback)); in testAllocateMaxNumber() 186 mAllocator.allocate(null /* context */, null /* serviceBundle */, mServiceCallback); in testQueueAllocation() 193 null /* context */, null /* serviceBundle */, mServiceCallback); in testQueueAllocation() 197 null /* context */, null /* serviceBundle */, mServiceCallback); in testQueueAllocation() 227 null /* context */, null /* serviceBundle */, mServiceCallback); in testStrongBindingParam() 228 verify(connection, times(0)).start(useStrongBinding, mServiceCallback); in testStrongBindingParam() 243 mAllocator.allocate(null /* context */, null /* serviceBundle */, mServiceCallback); in runTestWithConnectionCallbacks() [all …]
|
/external/libchrome/base/test/android/javatests/src/org/chromium/base/test/ |
D | TestChildProcessConnection.java | 38 private ServiceCallback mServiceCallback; field in TestChildProcessConnection 70 mServiceCallback = serviceCallback; in start() 85 return mServiceCallback; in getServiceCallback()
|
/external/libchrome/base/android/java/src/org/chromium/base/process_launcher/ |
D | ChildProcessConnection.java | 191 private ServiceCallback mServiceCallback; field in ChildProcessConnection 362 mServiceCallback = serviceCallback; in start() 447 if (mServiceCallback != null) { in onServiceConnectedOnLauncherThread() 448 mServiceCallback.onChildStartFailed(this); in onServiceConnectedOnLauncherThread() 461 if (mServiceCallback != null) { in onServiceConnectedOnLauncherThread() 462 mServiceCallback.onChildStarted(); in onServiceConnectedOnLauncherThread() 727 if (mServiceCallback != null) { in notifyChildProcessDied() 729 ServiceCallback serviceCallback = mServiceCallback; in notifyChildProcessDied() 730 mServiceCallback = null; in notifyChildProcessDied()
|