1 /* 2 * Copyright (C) 2019 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package android.car.experimental; 18 19 import android.car.annotation.ExperimentalFeature; 20 21 /** 22 * Top level class for experimental Car features 23 * 24 * @hide 25 */ 26 public final class ExperimentalCar { 27 /** 28 * Service for testing experimental feature 29 * 30 * @hide 31 */ 32 @ExperimentalFeature 33 public static final String TEST_EXPERIMENTAL_FEATURE_SERVICE = 34 "android.car.experimental.test_demo_experimental_feature_service"; 35 36 /** 37 * Service for monitoring the driver distraction level. 38 * 39 * @hide 40 */ 41 @ExperimentalFeature 42 public static final String DRIVER_DISTRACTION_EXPERIMENTAL_FEATURE_SERVICE = 43 "android.car.experimental.driver_distraction_experimental_feature_service"; 44 45 46 /** 47 * Permission necessary to observe the driver distraction level through {@link 48 * CarDriverDistractionManager}. 49 * 50 * @hide 51 */ 52 public static final String PERMISSION_READ_CAR_DRIVER_DISTRACTION = 53 "android.car.permission.CAR_DRIVER_DISTRACTION"; 54 } 55