Tor Norbye | 5e9618a | 2019-01-04 21:33:09 -0800 | [diff] [blame] | 1 | // Signature format: 2.0 |
Kai | cdaf159 | 2019-12-23 11:59:40 -0800 | [diff] [blame] | 2 | package android.car { |
| 3 | |
Felipe Leme | 5528ff7 | 2020-02-10 19:05:14 -0800 | [diff] [blame] | 4 | public final class Car { |
| 5 | field public static final String CAR_USER_SERVICE = "car_user_service"; |
| 6 | } |
| 7 | |
Keun young Park | 3d0b96c | 2020-01-10 19:15:50 -0800 | [diff] [blame] | 8 | public final class CarAppFocusManager { |
| 9 | method public int[] getActiveAppTypes(); |
| 10 | } |
| 11 | |
Kai | cdaf159 | 2019-12-23 11:59:40 -0800 | [diff] [blame] | 12 | public class VehiclePropertyType { |
| 13 | field public static final int BOOLEAN = 2097152; // 0x200000 |
| 14 | field public static final int BYTES = 7340032; // 0x700000 |
| 15 | field public static final int FLOAT = 6291456; // 0x600000 |
| 16 | field public static final int FLOAT_VEC = 6356992; // 0x610000 |
| 17 | field public static final int INT32 = 4194304; // 0x400000 |
| 18 | field public static final int INT32_VEC = 4259840; // 0x410000 |
| 19 | field public static final int INT64 = 5242880; // 0x500000 |
| 20 | field public static final int INT64_VEC = 5308416; // 0x510000 |
| 21 | field public static final int MASK = 16711680; // 0xff0000 |
| 22 | field public static final int MIXED = 14680064; // 0xe00000 |
| 23 | field public static final int STRING = 1048576; // 0x100000 |
| 24 | } |
| 25 | |
| 26 | } |
| 27 | |
Selim Gurun | e402992 | 2018-12-12 17:18:43 -0800 | [diff] [blame] | 28 | package android.car.content.pm { |
| 29 | |
| 30 | public final class CarPackageManager { |
| 31 | method public void setEnableActivityBlocking(boolean); |
| 32 | } |
| 33 | |
| 34 | } |
| 35 | |
Yao, Yuxing | e32b3f6 | 2019-05-22 12:36:24 -0700 | [diff] [blame] | 36 | package android.car.drivingstate { |
| 37 | |
| 38 | public final class CarDrivingStateManager { |
| 39 | method public void injectDrivingState(int); |
| 40 | } |
| 41 | |
| 42 | } |
| 43 | |
Hongwei Wang | c34d672 | 2018-12-10 15:07:16 -0800 | [diff] [blame] | 44 | package android.car.media { |
| 45 | |
| 46 | public final class CarAudioManager { |
Justin Paupore | ccc75a3 | 2019-02-12 18:20:48 -0800 | [diff] [blame] | 47 | method public boolean isDynamicRoutingEnabled(); |
Hongwei Wang | c34d672 | 2018-12-10 15:07:16 -0800 | [diff] [blame] | 48 | } |
| 49 | |
| 50 | } |
| 51 | |
Felipe Leme | 5528ff7 | 2020-02-10 19:05:14 -0800 | [diff] [blame] | 52 | package android.car.user { |
| 53 | |
| 54 | public final class CarUserManager { |
Felipe Leme | ffc330d | 2020-02-13 09:02:16 -0800 | [diff] [blame] | 55 | method @RequiresPermission(anyOf={android.Manifest.permission.INTERACT_ACROSS_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}) public void addListener(@NonNull java.util.concurrent.Executor, @NonNull android.car.user.CarUserManager.UserLifecycleListener); |
Felipe Leme | 5528ff7 | 2020-02-10 19:05:14 -0800 | [diff] [blame] | 56 | method public static String lifecycleEventTypeToString(int); |
| 57 | method @RequiresPermission(anyOf={android.Manifest.permission.INTERACT_ACROSS_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}) public void removeListener(@NonNull android.car.user.CarUserManager.UserLifecycleListener); |
Felipe Leme | 5528ff7 | 2020-02-10 19:05:14 -0800 | [diff] [blame] | 58 | field public static final int USER_LIFECYCLE_EVENT_TYPE_STARTING = 1; // 0x1 |
Felipe Leme | e4b4a1b | 2020-02-19 10:22:52 -0800 | [diff] [blame] | 59 | field public static final int USER_LIFECYCLE_EVENT_TYPE_STOPPED = 6; // 0x6 |
| 60 | field public static final int USER_LIFECYCLE_EVENT_TYPE_STOPPING = 5; // 0x5 |
Felipe Leme | 5528ff7 | 2020-02-10 19:05:14 -0800 | [diff] [blame] | 61 | field public static final int USER_LIFECYCLE_EVENT_TYPE_SWITCHING = 2; // 0x2 |
Felipe Leme | e4b4a1b | 2020-02-19 10:22:52 -0800 | [diff] [blame] | 62 | field public static final int USER_LIFECYCLE_EVENT_TYPE_UNLOCKED = 4; // 0x4 |
| 63 | field public static final int USER_LIFECYCLE_EVENT_TYPE_UNLOCKING = 3; // 0x3 |
Felipe Leme | 5528ff7 | 2020-02-10 19:05:14 -0800 | [diff] [blame] | 64 | } |
| 65 | |
Antonio Kantek | c811475 | 2020-03-05 21:37:39 -0800 | [diff] [blame] | 66 | public static final class CarUserManager.UserLifecycleEvent { |
Felipe Leme | 5528ff7 | 2020-02-10 19:05:14 -0800 | [diff] [blame] | 67 | method public int getEventType(); |
| 68 | method @Nullable public android.os.UserHandle getPreviousUserHandle(); |
| 69 | method @NonNull public android.os.UserHandle getUserHandle(); |
| 70 | } |
| 71 | |
| 72 | public static interface CarUserManager.UserLifecycleListener { |
| 73 | method public void onEvent(@NonNull android.car.user.CarUserManager.UserLifecycleEvent); |
| 74 | } |
| 75 | |
| 76 | } |
| 77 | |