Home
last modified time | relevance | path

Searched refs:mCar (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/car/src/android/car/cts/
DCarTest.java58 private Car mCar; field in CarTest
63 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 …]
DCarApiTestBase.java64 private Car mCar; field in CarApiTestBase
71 mCar = Car.createCar(mContext); in setUp()
76 if (mCar != null) { in disconnectCar()
77 mCar.disconnect(); in disconnectCar()
82 return mCar; in getCar()
/cts/hostsidetests/car/app/src/android/car/cts/app/
DCarWatchdogTestActivity.java57 private Car mCar; field in CarWatchdogTestActivity
183 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()