Home
last modified time | relevance | path

Searched refs:mServiceConnectionListener (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/CarLibUnitTest/src/android/car/
DCarUnitTest.java95 private ServiceConnection mServiceConnectionListener; field in CarUnitTest
297 Car car = Car.createCar(mContext, mServiceConnectionListener, mEventHandler); in testCreateCar_Context_ServiceConnection_Handler()
308 verify(mServiceConnectionListener, timeout(DEFAULT_TIMEOUT_MS)).onServiceConnected( in testCreateCar_Context_ServiceConnection_Handler()
318 Car car = Car.createCar(mContext, mServiceConnectionListener); in testCreateCar_Context_ServiceConnection_DefaultHandler()
329 verify(mServiceConnectionListener, timeout(DEFAULT_TIMEOUT_MS)).onServiceConnected( in testCreateCar_Context_ServiceConnection_DefaultHandler()
341 Car car = Car.createCar(mContext, mServiceConnectionListener, mEventHandler); in testCreateCar_Context_ServiceConnection_Handler_CarServiceRegistered()
347 verify(mServiceConnectionListener, timeout(DEFAULT_TIMEOUT_MS)).onServiceConnected( in testCreateCar_Context_ServiceConnection_Handler_CarServiceRegistered()
359 Car car = Car.createCar(mContext, mServiceConnectionListener, mEventHandler); in testCreateCar_Context_ServiceConnection_Handler_Disconnect_Reconnect()
362 verify(mServiceConnectionListener, timeout(DEFAULT_TIMEOUT_MS)).onServiceConnected( in testCreateCar_Context_ServiceConnection_Handler_Disconnect_Reconnect()
364 clearInvocations(mServiceConnectionListener); in testCreateCar_Context_ServiceConnection_Handler_Disconnect_Reconnect()
[all …]
/packages/services/Car/car-lib/src/android/car/
DCar.java1643 mServiceConnectionListener.onServiceDisconnected(new ComponentName(CAR_SERVICE_PACKAGE,
1648 private final ServiceConnection mServiceConnectionListener = field in Car
2272 mContext.unbindService(mServiceConnectionListener); in disconnect()
2319 return mServiceConnectionListener; in getServiceConnectionListener()
2790 boolean bound = mContext.bindService(intent, mServiceConnectionListener, in startCarService()