Lines Matching refs:Car
17 package com.google.android.car.kitchensink.cluster;
20 import android.car.cluster.CarInstrumentClusterManager;
21 import android.car.cluster.ClusterActivityState;
24 import android.support.car.Car;
25 import android.support.car.CarConnectionCallback;
26 import android.support.car.CarNotConnectedException;
31 import com.google.android.car.kitchensink.R;
42 private Car mCarApi;
53 mCarApi = Car.createCar(this /* context */, new CarConnectionCallback() {
56 public void onConnected(Car car) {
57 onCarConnected(car);
61 public void onDisconnected(Car car) {
62 onCarDisconnected(car);
65 Log.i(TAG, "Connecting to car api...");
82 private void onCarConnected(Car car) {
83 Log.i(TAG, "onCarConnected, car: " + car);
85 mClusterManager = (CarInstrumentClusterManager) car.getCarManager(
86 android.car.Car.CAR_INSTRUMENT_CLUSTER_SERVICE);
95 } catch (android.car.CarNotConnectedException e) {
100 private void onCarDisconnected(Car car) {