Home
last modified time | relevance | path

Searched refs:createCar (Results 1 – 25 of 89) sorted by relevance

1234

/packages/services/Car/tests/carservice_unit_test/src/android/car/
DCarTest.java185 Car car = Car.createCar(mContext); in testCreateCarSuccessWithCarServiceRunning()
195 assertThat(Car.createCar(mContext)).isNull(); in testCreateCarReturnNull()
203 Car car = Car.createCar(mContext); in testCreateCarOkWhenCarServiceIsStarted()
213 Car car = Car.createCar(mContext, null, in testCreateCarWithStatusChangeNoServiceConnectionWithCarServiceStarted()
232 Car car = Car.createCar(mContext, null, in testCreateCarWithStatusChangeNoServiceHandleCarServiceRestart()
265 Car car = Car.createCar(mContext, null, in testCreateCarWithStatusChangeDirectCallInsideMainForServiceAlreadyReady()
280 Car car = Car.createCar(mContext, null, in testCreateCarWithStatusChangeDirectCallInsideMainForServiceReadyLater()
/packages/services/Car/car-lib/api/
Dlint-baseline.txt12 ExecutorRegistration: android.car.Car#createCar(android.content.Context, android.os.Handler, long, …
13 Registration methods should have overload that accepts delivery Executor: `createCar`
68 MissingNullability: android.car.Car#createCar(android.content.Context) parameter #0:
69 Missing nullability on parameter `context` in method `createCar`
70 MissingNullability: android.car.Car#createCar(android.content.Context, android.content.ServiceConne…
71 Missing nullability on parameter `context` in method `createCar`
72 MissingNullability: android.car.Car#createCar(android.content.Context, android.content.ServiceConne…
73 Missing nullability on parameter `serviceConnectionListener` in method `createCar`
74 MissingNullability: android.car.Car#createCar(android.content.Context, android.content.ServiceConne…
75 Missing nullability on parameter `context` in method `createCar`
[all …]
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/testutils/
DShadowCar.java41 public static Car createCar(Context context) { in createCar() method in ShadowCar
50 public static Car createCar(@NonNull Context context, in createCar() method in ShadowCar
61 public static Car createCar(Context context, @Nullable Handler handler) { in createCar() method in ShadowCar
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DCarApiTestFragment.java75 mCarForCreateAndConnect = Car.createCar(getContext(), in onCreateView()
82 mCarForCreateCar = Car.createCar(getContext()); in onCreateView()
88 mCarForStatusChange = Car.createCar(getContext(), null, in onCreateView()
DAudioAutoStartActivity.java21 import static android.car.Car.createCar;
99 mCar = createCar(this, null, in connectCar()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarTest.java71 Car car = Car.createCar(mContext, mConnectionListener); in testCarConnection()
97 Car car = Car.createCar(mContext, mConnectionListener); in testDoubleConnect()
107 Car car = Car.createCar(mContext, mConnectionListener); in testConstructorWithICar()
DCarAppFocusManagerTest.java255 Car car = createCar(context, eventThread); in createManager()
261 private static Car createCar(Context context, LooperThread eventThread) in createCar() method in CarAppFocusManagerTest
265 Car car = Car.createCar(context, connectionListener, eventThread.mHandler); in createCar()
/packages/services/Car/car-lib/src/android/car/
DCar.java1146 public static Car createCar(Context context, ServiceConnection serviceConnectionListener, in createCar() method in Car
1174 public static Car createCar(Context context, ServiceConnection serviceConnectionListener) { in createCar() method in Car
1175 return createCar(context, serviceConnectionListener, null); in createCar()
1189 public static Car createCar(Context context) { in createCar() method in Car
1190 return createCar(context, (Handler) null); in createCar()
1208 public static Car createCar(Context context, @Nullable Handler handler) { in createCar() method in Car
1304 public static Car createCar(@NonNull Context context, in createCar() method in Car
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowCar.java49 protected static Car createCar(Context context, ServiceConnection serviceConnection) { in createCar() method in ShadowCar
76 protected static Car createCar(Context context) { in createCar() method in ShadowCar
/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/admin/
DCarDevicePolicyManagerPermissionTest.java22 import static android.car.Car.createCar;
58 Car car = Objects.requireNonNull(createCar(mContext, (Handler) null)); in setUp()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/utils/
DCarUxRestrictionsUtil.java72 Car.createCar(context.getApplicationContext(), null, in CarUxRestrictionsUtil()
89 Car carApi = Car.createCar(context.getApplicationContext()); in CarUxRestrictionsUtil()
/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/user/
DCarUserManagerPermissionTest.java24 import static android.car.Car.createCar;
67 Car car = Objects.requireNonNull(createCar(mContext, (Handler) null)); in setUp()
/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/media/
DCarAudioManagerPermissionTest.java22 import static android.car.Car.createCar;
58 Car car = Objects.requireNonNull(createCar(mContext, (Handler) null)); in setUp()
DCarAudioManagerPublicPermissionTest.java48 Car car = Car.createCar(context, (Handler) null); in setUp()
/packages/services/Car/tests/CarEvsCameraPreviewApp/src/com/google/android/car/evs/
DCarEvsCameraActivity.java33 Car.createCar(getApplicationContext(), /* handler = */ null, CAR_WAIT_TIMEOUT_MS, in onCreate()
/packages/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/components/
DCarDriverDistractionManagerAdapter.java34 mCar = Car.createCar(ctx); in CarDriverDistractionManagerAdapter()
/packages/services/Car/experimental/service/src/com/android/experimentalcar/
DExperimentalCarService.java39 mCar = Car.createCar(this); in onCreate()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/
DCarServiceProvider.java42 mCar = Car.createCar(mContext, /* handler= */ null, Car.CAR_WAIT_TIMEOUT_DO_NOT_WAIT, in CarServiceProvider()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DCarUxRestrictionsHelper.java46 mCar = Car.createCar(context); in CarUxRestrictionsHelper()
/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/
DCarPermisisonTest.java40 mCar = Car.createCar( in setUp()
DCarPublicPermissionTest.java40 mCar = Car.createCar( in setUp()
/packages/apps/Car/Notification/src/com/android/car/notification/
DNotificationApplication.java78 mCar = Car.createCar(this, mCarConnectionListener); in onCreate()
/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/content/pm/
DCarPackageManagerPermissionTest.java45 mCar = Car.createCar(InstrumentationRegistry.getInstrumentation().getTargetContext()); in setUp()
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/testutils/
DShadowCar.java49 protected static Car createCar(Context context, ServiceConnection serviceConnection) { in createCar() method in ShadowCar
/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/input/
DCarInputManagerPermisisonTest.java52 mCar = Car.createCar( in setUp()

1234