1 /* 2 * Copyright (C) 2021 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.platform.helpers; 18 19 // Automotive Configuration Constants 20 public class AutoConfigConstants { 21 // Resource Types 22 public static final String RESOURCE_ID = "RESOURCE_ID"; 23 public static final String TEXT = "TEXT"; 24 public static final String TEXT_CONTAINS = "TEXT_CONTAINS"; 25 public static final String DESCRIPTION = "DESCRIPTION"; 26 public static final String CLASS = "CLASS"; 27 28 // App Grid 29 public static final String APP_GRID = "APP_GRID"; 30 public static final String APP_GRID_ACTIVITY = "APP_GRID_ACTIVITY"; 31 public static final String APP_GRID_PACKAGE = "APP_GRID_PACKAGE"; 32 public static final String APP_GRID_VIEW = "APP_GRID_VIEW"; 33 public static final String APP_GRID_VIEW_ID = "APP_GRID_VIEW_ID"; 34 public static final String APPLICATION_NAME = "APPLICATION_NAME"; 35 public static final String OPEN_APP_GRID_COMMAND = "OPEN_APP_GRID_COMMAND"; 36 37 // Home 38 public static final String BOTTOM_CARD = "BOTTOM_CARD"; 39 public static final String HOME = "HOME"; 40 public static final String HOME_PACKAGE = "HOME_PACKAGE"; 41 public static final String HOME_VIEW = "HOME_VIEW"; 42 public static final String MAP_CARD = "MAP_CARD"; 43 public static final String TOP_CARD = "TOP_CARD"; 44 45 // Lock Screen 46 public static final String LOCK_SCREEN = "LOCK_SCREEN"; 47 public static final String LOCK_SCREEN_PACKAGE = "LOCK_SCREEN_PACKAGE"; 48 public static final String LOCK_SCREEN_VIEW = "LOCK_SCREEN_VIEW"; 49 public static final String ENTER_KEY = "ENTER_KEY"; 50 51 // SETTINGS 52 public static final String SETTINGS = "SETTINGS"; 53 public static final String SETTINGS_TITLE_TEXT = "SETTINGS_TITLE_TEXT"; 54 public static final String SETTINGS_PACKAGE = "SETTINGS_PACKAGE"; 55 public static final String SETTINGS_RRO_PACKAGE = "SETTINGS_RRO_PACKAGE"; 56 public static final String OPEN_SETTINGS_COMMAND = "OPEN_SETTINGS_COMMAND"; 57 public static final String OPEN_QUICK_SETTINGS_COMMAND = "OPEN_QUICK_SETTINGS_COMMAND"; 58 public static final String SPLIT_SCREEN_UI = "SPLIT_SCREEN_UI"; 59 // Full Settings 60 public static final String FULL_SETTINGS = "FULL_SETTINGS"; 61 public static final String PAGE_TITLE = "PAGE_TITLE"; 62 public static final String SEARCH = "SEARCH"; 63 public static final String SEARCH_BOX = "SEARCH_BOX"; 64 public static final String SEARCH_RESULTS = "SEARCH_RESULTS"; 65 public static final String UP_BUTTON = "UP_BUTTON"; 66 public static final String DOWN_BUTTON = "DOWN_BUTTON"; 67 // Quick Settings 68 public static final String QUICK_SETTINGS = "QUICK_SETTINGS"; 69 public static final String OPEN_MORE_SETTINGS = "OPEN_MORE_SETTINGS"; 70 public static final String NIGHT_MODE = "NIGHT_MODE"; 71 // Display 72 public static final String DISPLAY_SETTINGS = "DISPLAY"; 73 public static final String BRIGHTNESS_LEVEL = "BRIGHTNESS_LEVEL"; 74 // Sound 75 public static final String SOUND_SETTINGS = "SOUND"; 76 public static final String SAVE_BUTTON = "SAVE"; 77 // Network and Internet 78 public static final String NETWORK_AND_INTERNET_SETTINGS = "NETWORK_AND_INTERNET"; 79 public static final String TOGGLE_WIFI = "TOGGLE_WIFI"; 80 public static final String TOGGLE_HOTSPOT = "TOGGLE_HOTSPOT"; 81 // Bluetooth 82 public static final String BLUETOOTH_SETTINGS = "BLUETOOTH"; 83 public static final String TOGGLE_BLUETOOTH = "TOGGLE_BLUETOOTH"; 84 // Apps 85 public static final String APPS_SETTINGS = "APPS"; 86 public static final String PERMISSIONS_PAGE_TITLE = "PERMISSIONS_PAGE_TITLE"; 87 public static final String VIEW_ALL = "VIEW_ALL"; 88 public static final String ENABLE_DISABLE_BUTTON = "ENABLE_DISABLE_BUTTON"; 89 public static final String DISABLE_BUTTON_TEXT = "DISABLE_BUTTON_TEXT"; 90 public static final String ENABLE_BUTTON_TEXT = "ENABLE_BUTTON_TEXT"; 91 public static final String DISABLE_APP_BUTTON = "DISABLE_APP_BUTTON"; 92 public static final String FORCE_STOP_BUTTON = "FORCE_STOP_BUTTON"; 93 public static final String OK_BUTTON = "OK_BUTTON"; 94 public static final String PERMISSIONS_MENU = "PERMISSIONS_MENU"; 95 public static final String ALLOW_BUTTON = "ALLOW_BUTTON"; 96 public static final String DONT_ALLOW_BUTTON = "DONT_ALLOW_BUTTON"; 97 public static final String DONT_ALLOW_ANYWAY_BUTTON = "DONT_ALLOW_ANYWAY_BUTTON"; 98 // Date and Time 99 public static final String DATE_AND_TIME_SETTINGS = "DATE_AND_TIME"; 100 public static final String SET_TIME_AUTOMATICALLY = "SET_TIME_AUTOMATICALLY"; 101 public static final String SET_TIME_ZONE_AUTOMATICALLY = "SET_TIME_ZONE_AUTOMATICALLY"; 102 public static final String SET_DATE = "SET_DATE"; 103 public static final String SET_TIME = "SET_TIME"; 104 public static final String SELECT_TIME_ZONE = "SELECT_TIME_ZONE"; 105 public static final String USE_24_HOUR_FORMAT = "USE_24_HOUR_FORMAT"; 106 // OK_BUTTON from Apps and Info Settings 107 public static final String NUMBER_PICKER_WIDGET = "NUMBER_PICKER_WIDGET"; 108 public static final String EDIT_TEXT_WIDGET = "EDIT_TEXT_WIDGET"; 109 // System 110 public static final String SYSTEM_SETTINGS = "SYSTEM"; 111 public static final String ABOUT_MENU = "ABOUT_MENU"; 112 public static final String RESET_OPTIONS_MENU = "RESET_OPTIONS_MENU"; 113 public static final String LANGUAGES_AND_INPUT_MENU = "LANGUAGES_AND_INPUT_MENU"; 114 public static final String DEVICE_MODEL = "DEVICE_MODEL"; 115 public static final String ANDROID_VERSION = "ANDROID_VERSION"; 116 public static final String ANDROID_SECURITY_PATCH_LEVEL = "ANDROID_SECURITY_PATCH_LEVEL"; 117 public static final String KERNEL_VERSION = "KERNEL_VERSION"; 118 public static final String BUILD_NUMBER = "BUILD_NUMBER"; 119 public static final String RECYCLER_VIEW_WIDGET = "RECYCLER_VIEW_WIDGET"; 120 public static final String RESET_NETWORK = "RESET_NETWORK"; 121 public static final String RESET_SETTINGS = "RESET_SETTINGS"; 122 public static final String RESET_APP_PREFERENCES = "RESET_APP_PREFERENCES"; 123 public static final String RESET_APPS = "RESET_APPS"; 124 public static final String LANGUAGES_MENU = "LANGUAGES_MENU"; 125 public static final String LANGUAGES_MENU_IN_SELECTED_LANGUAGE = 126 "LANGUAGES_MENU_IN_SELECTED_LANGUAGE"; 127 128 // MU profiles 129 public static final String MANAGE_OTHER_PROFILES = "MANAGE_OTHER_PROFILES"; 130 public static final String ADD_PROFILE = "ADD_PROFILE"; 131 public static final String OK = "OK"; 132 public static final String DELETE_SELF = "DELETE_SELF"; 133 public static final String DELETE = "DELETE"; 134 public static final String MAKE_ADMIN = "MAKE_ADMIN"; 135 public static final String MAKE_ADMIN_CONFIRM = "MAKE_ADMIN_CONFIRM"; 136 public static final String TIME_PATTERN = "TIME_PATTERN"; 137 138 // Accounts 139 public static final String PROFILE_ACCOUNT_SETTINGS = "PROFILES_ACCOUNTS"; 140 public static final String ADD_ACCOUNT = "ADD_ACCOUNT"; 141 public static final String ADD_GOOGLE_ACCOUNT = "ADD_GOOGLE_ACCOUNT"; 142 public static final String SIGN_IN_ON_CAR_SCREEN = "SIGN_IN_ON_CAR_SCREEN"; 143 public static final String GOOGLE_SIGN_IN_SCREEN = "GOOGLE_SIGN_IN_SCREEN"; 144 public static final String ENTER_EMAIL = "ENTER_EMAIL"; 145 // Same ENTER_PASSWORD is applicable for Security Settings 146 public static final String ENTER_PASSWORD = "ENTER_PASSWORD"; 147 // Same NEXT_BUTTON is applicable for Media Center 148 public static final String NEXT_BUTTON = "NEXT_BUTTON"; 149 public static final String DONE_BUTTON = "DONE_BUTTON"; 150 // Same REMOVE_BUTTON is applicable for Security Settings 151 public static final String REMOVE_BUTTON = "REMOVE_BUTTON"; 152 public static final String REMOVE_ACCOUNT_BUTTON = "REMOVE_ACCOUNT_BUTTON"; 153 // Security 154 public static final String SECURITY_SETTINGS = "SECURITY"; 155 public static final String TITLE = "TITLE"; 156 public static final String CHOOSE_LOCK_TYPE = "CHOOSE_LOCK_TYPE"; 157 public static final String PROFILE_LOCK = "PROFILE_LOCK"; 158 public static final String LOCK_TYPE_PASSWORD = "LOCK_TYPE_PASSWORD"; 159 public static final String LOCK_TYPE_PIN = "LOCK_TYPE_PIN"; 160 public static final String LOCK_TYPE_NONE = "LOCK_TYPE_NONE"; 161 public static final String CONTINUE_BUTTON = "CONTINUE_BUTTON"; 162 public static final String CONFIRM_BUTTON = "CONFIRM_BUTTON"; 163 // ENTER_PASSWORD from Account Settings 164 public static final String PIN_PAD = "PIN_PAD"; 165 public static final String ENTER_PIN_BUTTON = "ENTER_PIN_BUTTON"; 166 // REMOVE_BUTTON from Account Settings 167 168 // PHONE 169 public static final String PHONE = "PHONE"; 170 public static final String DIAL_PACKAGE = "DIAL_PACKAGE"; 171 public static final String OPEN_DIAL_PAD_COMMAND = "OPEN_DIAL_PAD_COMMAND"; 172 public static final String PHONE_ACTIVITY = "PHONE_ACTIVITY"; 173 // In Call Screen 174 public static final String IN_CALL_VIEW = "IN_CALL_VIEW"; 175 public static final String DIALED_CONTACT_TITLE = "DIALED_CONTACT_TITLE"; 176 public static final String DIALED_CONTACT_NUMBER = "DIALED_CONTACT_NUMBER"; 177 public static final String END_CALL = "END_CALL"; 178 public static final String MUTE_CALL = "MUTE_CALL"; 179 public static final String SWITCH_TO_DIAL_PAD = "SWITCH_TO_DIAL_PAD"; 180 public static final String CHANGE_VOICE_CHANNEL = "CHANGE_VOICE_CHANNEL"; 181 public static final String VOICE_CHANNEL_CAR = "VOICE_CHANNEL_CAR"; 182 public static final String VOICE_CHANNEL_PHONE = "VOICE_CHANNEL_PHONE"; 183 // Dial Pad Screen 184 public static final String DIAL_PAD_VIEW = "DIAL_PAD_VIEW"; 185 public static final String DIAL_PAD_MENU = "DIAL_PAD_MENU"; 186 public static final String DIAL_PAD_FRAGMENT = "DIAL_PAD_FRAGMENT"; 187 public static final String DIALED_NUMBER = "DIALED_NUMBER"; 188 public static final String MAKE_CALL = "MAKE_CALL"; 189 public static final String DELETE_NUMBER = "DELETE_NUMBER"; 190 // Contacts Screen 191 public static final String CONTACTS_VIEW = "CONTACTS_VIEW"; 192 public static final String CONTACTS_MENU = "CONTACTS_MENU"; 193 public static final String CONTACT_INFO = "CONTACT_INFO"; 194 public static final String CONTACT_NAME = "CONTACT_NAME"; 195 public static final String CONTACT_DETAIL = "CONTACT_DETAIL"; 196 public static final String ADD_CONTACT_TO_FAVORITE = "ADD_CONTACT_TO_FAVORITE"; 197 public static final String SEARCH_CONTACT = "SEARCH_CONTACT"; 198 public static final String CONTACT_SEARCH_BAR = "CONTACT_SEARCH_BAR"; 199 public static final String SEARCH_RESULT = "SEARCH_RESULT"; 200 public static final String CONTACT_SETTINGS = "CONTACT_SETTINGS"; 201 public static final String CONTACT_ORDER = "CONTACT_ORDER"; 202 public static final String SORT_BY_FIRST_NAME = "SORT_BY_FIRST_NAME"; 203 public static final String SORT_BY_LAST_NAME = "SORT_BY_LAST_NAME"; 204 public static final String CONTACT_TYPE_WORK = "CONTACT_TYPE_WORK"; 205 public static final String CONTACT_TYPE_MOBILE = "CONTACT_TYPE_MOBILE"; 206 public static final String CONTACT_TYPE_HOME = "CONTACT_TYPE_HOME"; 207 // Call History Screen 208 public static final String CALL_HISTORY_VIEW = "CALL_HISTORY_VIEW"; 209 public static final String CALL_HISTORY_MENU = "CALL_HISTORY_MENU"; 210 public static final String CALL_HISTORY_INFO = "CALL_HISTORY_INFO"; 211 // Favorites Screen 212 public static final String FAVORITES_VIEW = "FAVORITES_VIEW"; 213 public static final String FAVORITES_MENU = "FAVORITES_MENU"; 214 215 // Notifications 216 public static final String NOTIFICATIONS = "NOTIFICATIONS"; 217 public static final String OPEN_NOTIFICATIONS_COMMAND = "OPEN_NOTIFICATIONS_COMMAND"; 218 public static final String RECYCLER_VIEW_CLASS = "RECYCLER_VIEW_CLASS"; 219 // Expanded Notifications Screen 220 public static final String EXPANDED_NOTIFICATIONS_SCREEN = "EXPANDED_NOTIFICATIONS_SCREEN"; 221 public static final String NOTIFICATION_LIST = "NOTIFICATION_LIST"; 222 public static final String NOTIFICATION_VIEW = "NOTIFICATION_VIEW"; 223 public static final String CLEAR_ALL_BUTTON = "CLEAR_ALL_BUTTON"; 224 public static final String STATUS_BAR = "STATUS_BAR"; 225 public static final String APP_ICON = "APP_ICON"; 226 public static final String APP_NAME = "APP_NAME"; 227 public static final String NOTIFICATION_TITLE = "NOTIFICATION_TITLE"; 228 public static final String NOTIFICATION_BODY = "NOTIFICATION_BODY"; 229 public static final String CARD_VIEW = "CARD_VIEW"; 230 231 // Media Center 232 public static final String MEDIA_CENTER = "MEDIA_CENTER"; 233 public static final String MEDIA_CENTER_PACKAGE = "MEDIA_CENTER_PACKAGE"; 234 public static final String MEDIA_ACTIVITY = "MEDIA_ACTIVITY"; 235 // Media Center Screen 236 public static final String MEDIA_CENTER_SCREEN = "MEDIA_CENTER_SCREEN"; 237 public static final String PLAY_PAUSE_BUTTON = "PLAY_PAUSE_BUTTON"; 238 // NEXT_BUTTON from Account Settings 239 public static final String PREVIOUS_BUTTON = "PREVIOUS_BUTTON"; 240 public static final String SHUFFLE_BUTTON = "SHUFFLE_BUTTON"; 241 public static final String PLAY_QUEUE_BUTTON = "PLAY_QUEUE_BUTTON"; 242 public static final String MINIMIZED_MEDIA_CONTROLS = "MINIMIZED_MEDIA_CONTROLS"; 243 public static final String TRACK_NAME = "TRACK_NAME"; 244 public static final String TRACK_NAME_MINIMIZED_CONTROL = "TRACK_NAME_MINIMIZED_CONTROL"; 245 public static final String BACK_BUTTON = "BACK_BUTTON"; 246 // Media Center On Home Screen 247 public static final String MEDIA_CENTER_ON_HOME_SCREEN = "MEDIA_CENTER_ON_HOME_SCREEN"; 248 } 249