Searched refs:mCar (Results 1 – 3 of 3) sorted by relevance
58 private Car mCar; field in CarTest63 if (mCar != null && mCar.isConnected()) { in tearDown()64 mCar.disconnect(); in tearDown()71 mCar = Car.createCar(mContext, mServiceConnectionListener); in testConnection()72 assertThat(mCar.isConnected()).isFalse(); in testConnection()73 assertThat(mCar.isConnecting()).isFalse(); in testConnection()74 mCar.connect(); in testConnection()77 assertThat(mCar.getCarConnectionType()).isEqualTo(Car.CONNECTION_TYPE_EMBEDDED); in testConnection()78 mCar.disconnect(); in testConnection()79 assertThat(mCar.isConnected()).isFalse(); in testConnection()[all …]
64 private Car mCar; field in CarApiTestBase71 mCar = Car.createCar(mContext); in setUp()76 if (mCar != null) { in disconnectCar()77 mCar.disconnect(); in disconnectCar()82 return mCar; in getCar()
57 private Car mCar; field in CarWatchdogTestActivity183 if (mCar != null) { in onDestroy()184 mCar.disconnect(); in onDestroy()195 if (mCar != null && mCar.isConnected()) { in initCarApi()196 mCar.disconnect(); in initCarApi()197 mCar = null; in initCarApi()199 mCar = Car.createCar(this, null, Car.CAR_WAIT_TIMEOUT_WAIT_FOREVER, in initCarApi()