1 /* Copyright (c) 2015-2017 The Linux Foundation. All rights reserved. 2 * 3 * Redistribution and use in source and binary forms, with or without 4 * modification, are permitted provided that the following conditions are 5 * met: 6 * * Redistributions of source code must retain the above copyright 7 * notice, this list of conditions and the following disclaimer. 8 * * Redistributions in binary form must reproduce the above 9 * copyright notice, this list of conditions and the following 10 * disclaimer in the documentation and/or other materials provided 11 * with the distribution. 12 * * Neither the name of The Linux Foundation, nor the names of its 13 * contributors may be used to endorse or promote products derived 14 * from this software without specific prior written permission. 15 * 16 * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED 17 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 18 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT 19 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS 20 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 21 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 22 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 23 * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 24 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 25 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN 26 * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * 28 */ 29 30 #ifndef __DATAITEMID_H__ 31 #define __DATAITEMID_H__ 32 33 /** 34 * Enumeration of Data Item types 35 * When add/remove/update changes are made to Data Items, this file needs to be updated 36 * accordingly 37 */ 38 typedef enum e_DataItemId { 39 INVALID_DATA_ITEM_ID = -1, 40 // 0 - 4 41 AIRPLANEMODE_DATA_ITEM_ID, 42 ENH_DATA_ITEM_ID, 43 GPSSTATE_DATA_ITEM_ID, 44 NLPSTATUS_DATA_ITEM_ID, 45 WIFIHARDWARESTATE_DATA_ITEM_ID, 46 // 5 - 9 47 NETWORKINFO_DATA_ITEM_ID, 48 RILVERSION_DATA_ITEM_ID, 49 RILSERVICEINFO_DATA_ITEM_ID, 50 RILCELLINFO_DATA_ITEM_ID, 51 SERVICESTATUS_DATA_ITEM_ID, 52 // 10 - 14 53 MODEL_DATA_ITEM_ID, 54 MANUFACTURER_DATA_ITEM_ID, 55 VOICECALL_DATA_ITEM, 56 ASSISTED_GPS_DATA_ITEM_ID, 57 SCREEN_STATE_DATA_ITEM_ID, 58 // 15 - 19 59 POWER_CONNECTED_STATE_DATA_ITEM_ID, 60 TIMEZONE_CHANGE_DATA_ITEM_ID, 61 TIME_CHANGE_DATA_ITEM_ID, 62 WIFI_SUPPLICANT_STATUS_DATA_ITEM_ID, 63 SHUTDOWN_STATE_DATA_ITEM_ID, 64 // 20 - 24 65 TAC_DATA_ITEM_ID, 66 MCCMNC_DATA_ITEM_ID, 67 BTLE_SCAN_DATA_ITEM_ID, 68 BT_SCAN_DATA_ITEM_ID, 69 OEM_GTP_UPLOAD_TRIGGER_READY_ITEM_ID, 70 71 MAX_DATA_ITEM_ID, 72 73 // 26 - 74 BATTERY_LEVEL_DATA_ITEM_ID, 75 76 MAX_DATA_ITEM_ID_1_1, 77 } DataItemId; 78 79 #endif // #ifndef __DATAITEMID_H__ 80