Home
last modified time | relevance | path

Searched refs:mServiceCallback (Results 1 – 10 of 10) sorted by relevance

/external/cronet/base/android/junit/src/org/chromium/base/process_launcher/
DChildProcessConnectionTest.java136 private ChildProcessConnection.ServiceCallback mServiceCallback; field in ChildProcessConnectionTest
239 connection.start(false /* useStrongBinding */, mServiceCallback); in testServiceStartsSuccessfully()
242 verify(mServiceCallback, never()).onChildStarted(); in testServiceStartsSuccessfully()
243 verify(mServiceCallback, never()).onChildStartFailed(any()); in testServiceStartsSuccessfully()
244 verify(mServiceCallback, never()).onChildProcessDied(any()); in testServiceStartsSuccessfully()
249 verify(mServiceCallback, times(1)).onChildStarted(); in testServiceStartsSuccessfully()
250 verify(mServiceCallback, never()).onChildStartFailed(any()); in testServiceStartsSuccessfully()
251 verify(mServiceCallback, never()).onChildProcessDied(any()); in testServiceStartsSuccessfully()
261 connection.start(false /* useStrongBinding */, mServiceCallback); in testServiceStartsAndFailsToBind()
265 verify(mServiceCallback, never()).onChildStarted(); in testServiceStartsAndFailsToBind()
[all …]
DChildConnectionAllocatorTest.java58 private ChildProcessConnection.ServiceCallback mServiceCallback; field in ChildConnectionAllocatorTest
174 mAllocator.allocate(null /* context */, null /* serviceBundle */, mServiceCallback); in testPlainAllocate()
191 null /* context */, null /* serviceBundle */, mServiceCallback); in testAllocateMaxNumber()
199 null /* context */, null /* serviceBundle */, mServiceCallback)); in testAllocateMaxNumber()
238 allocator.allocate(null /* context */, null /* serviceBundle */, mServiceCallback); in doTestQueueAllocation()
245 null /* context */, null /* serviceBundle */, mServiceCallback); in doTestQueueAllocation()
249 null /* context */, null /* serviceBundle */, mServiceCallback); in doTestQueueAllocation()
279 null /* context */, null /* serviceBundle */, mServiceCallback); in testStrongBindingParam()
280 verify(connection, times(0)).start(useStrongBinding, mServiceCallback); in testStrongBindingParam()
295 allocator.allocate(null /* context */, null /* serviceBundle */, mServiceCallback); in runTestWithConnectionCallbacks()
[all …]
/external/libchrome/base/android/junit/src/org/chromium/base/process_launcher/
DChildProcessConnectionTest.java106 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 …]
DChildConnectionAllocatorTest.java55 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/android/java/src/org/chromium/base/process_launcher/
DChildProcessConnection.java191 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()
/external/libchrome/base/test/android/javatests/src/org/chromium/base/test/
DTestChildProcessConnection.java38 private ServiceCallback mServiceCallback; field in TestChildProcessConnection
70 mServiceCallback = serviceCallback; in start()
85 return mServiceCallback; in getServiceCallback()
/external/cronet/base/test/android/javatests/src/org/chromium/base/process_launcher/
DTestChildProcessConnection.java41 private ServiceCallback mServiceCallback; field in TestChildProcessConnection
74 mServiceCallback = serviceCallback; in start()
95 return mServiceCallback; in getServiceCallback()
/external/cronet/base/android/java/src/org/chromium/base/process_launcher/
DChildProcessConnection.java180 private ServiceCallback mServiceCallback; field in ChildProcessConnection
425 mServiceCallback = serviceCallback; in start()
452 mServiceCallback = serviceCallback; in tryStart()
577 if (mServiceCallback != null) { in onServiceConnectedOnLauncherThread()
578 mServiceCallback.onChildStartFailed(this); in onServiceConnectedOnLauncherThread()
634 if (mServiceCallback != null) { in onServiceConnectedOnLauncherThread()
635 mServiceCallback.onChildStarted(); in onServiceConnectedOnLauncherThread()
1114 if (mServiceCallback != null) { in notifyChildProcessDied()
1116 ServiceCallback serviceCallback = mServiceCallback; in notifyChildProcessDied()
1117 mServiceCallback = null; in notifyChildProcessDied()
/external/openthread/src/core/net/
Ddns_client.cpp666 info.mCallback.mServiceCallback = aCallback; in ResolveService()
885 if (callback.mServiceCallback != nullptr) in FinalizeQuery()
887 callback.mServiceCallback(aError, &aResponse, context); in FinalizeQuery()
Ddns_client.hpp707 ServiceCallback mServiceCallback; member