From 439456464a04c0c5c9930f0c945b6ef731f893b0 Mon Sep 17 00:00:00 2001 From: Mallikarjuna Reddy Amireddy Date: Mon, 24 Aug 2015 14:24:15 -0700 Subject: [PATCH] seemp: Add support for QSSP Enhancement Add seemp parameters for frameworks refactoring. Remove logging from fs proc base and net socket modules. Update seemp_api, seemp_parm_id header file and seemp_core to log data with blk header set to 64B. Change-Id: I8c7e461d8a65263bdafb239b84ffde8e0b5dcbe5 Signed-off-by: Mallikarjuna Reddy Amireddy --- .../msm/seemp_core/seemp_event_encoder.c | 17 +- drivers/platform/msm/seemp_core/seemp_logk.c | 102 +-- drivers/platform/msm/seemp_core/seemp_logk.h | 4 +- fs/proc/base.c | 8 - include/uapi/linux/seemp_api.h | 805 +++++++++--------- include/uapi/linux/seemp_param_id.h | 71 +- net/socket.c | 2 - 7 files changed, 460 insertions(+), 549 deletions(-) diff --git a/drivers/platform/msm/seemp_core/seemp_event_encoder.c b/drivers/platform/msm/seemp_core/seemp_event_encoder.c index 7014a2e441fa..7bf61d953455 100644 --- a/drivers/platform/msm/seemp_core/seemp_event_encoder.c +++ b/drivers/platform/msm/seemp_core/seemp_event_encoder.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, The Linux Foundation. All rights reserved. + * Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -22,12 +22,12 @@ static void encode_seemp_section(char *section_start, char *section_eq, char *section_end, bool param, bool numeric, int id, __s32 numeric_value); -static void check_param_range(char *section_eq, bool *param, +static void check_param_range(char *section_eq, bool param, bool *numeric, int val_len, __s32 *numeric_value) { long long_value = 0; - if (*param && *numeric) { + if (param && *numeric) { /*check if 2 bytes & in[-99999,999999]*/ *numeric = (val_len >= 2) && (val_len <= 6); if (*numeric) { @@ -35,9 +35,12 @@ static void check_param_range(char *section_eq, bool *param, != 0) { *numeric = false; } else { - *numeric_value = (__s16)long_value; - *numeric = (*numeric_value >= -32768) && - (*numeric_value <= 32767); + *numeric_value = (__s32)long_value; + /* We are checking whether the value + * lies within 16bits + */ + *numeric = (long_value >= -32768) && + (long_value <= 32767); } } } @@ -96,7 +99,7 @@ void encode_seemp_params(struct seemp_logk_blk *blk) ch = *s; *s = 0; - check_param_range(section_eq, ¶m, + check_param_range(section_eq, param, &numeric, val_len, &numeric_value); *s = ch; } diff --git a/drivers/platform/msm/seemp_core/seemp_logk.c b/drivers/platform/msm/seemp_core/seemp_logk.c index 2930f7ffc4d2..7b046aa74014 100644 --- a/drivers/platform/msm/seemp_core/seemp_logk.c +++ b/drivers/platform/msm/seemp_core/seemp_logk.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014-2015, The Linux Foundation. All rights reserved. + * Copyright (c) 2014-2016, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -22,7 +22,6 @@ #define MASK_BUFFER_SIZE 256 #define FOUR_MB 4 -#define USER_APP_START_UID 10000 #define YEAR_BASE 1900 static struct seemp_logk_dev *slogk_dev; @@ -55,7 +54,6 @@ static long seemp_logk_reserve_rdblks( static long seemp_logk_set_mask(unsigned long arg); static long seemp_logk_set_mapping(unsigned long arg); static long seemp_logk_check_filter(unsigned long arg); -static int get_uid_from_message_for_system_event(const char *buffer); void* (*seemp_logk_kernel_begin)(char **buf); @@ -78,7 +76,6 @@ void *seemp_logk_kernel_start_record(char **buf) int ret; DEFINE_WAIT(write_wait); - ret = 0; idx = 0; now = current_kernel_time(); @@ -149,87 +146,17 @@ void *seemp_logk_kernel_start_record(char **buf) void seemp_logk_kernel_end_record(void *blck) { - int current_uid = 0; - int parsed_current_uid = 0; struct seemp_logk_blk *blk = (struct seemp_logk_blk *)blck; if (blk) { /*update status at the very end*/ blk->status |= 0x1; - current_uid = current_uid(); - if (current_uid < USER_APP_START_UID) { - parsed_current_uid = - get_uid_from_message_for_system_event(blk->payload.msg); - if (parsed_current_uid != -1) - blk->uid = parsed_current_uid; - else - blk->uid = current_uid; - } else - blk->uid = current_uid; + blk->uid = current_uid(); ringbuf_finish_writer(slogk_dev, blk); } } -/* - * get_uid_from_message_for_system_event() - helper function to get the - * uid of the actual app that is changing the state and updating it - * accordingly rather than with the system UID = 1000 - * NOTE: Not a very efficient implementation. This does a N*8 character - * comparisons everytime a message with UID less than 10000 is seen - */ -static int get_uid_from_message_for_system_event(const char *buffer) -{ - char asciiuid[6]; - long appuid = 0; - int aindex = 0; - char *comparator_string = "app_uid="; - int ret = 0; - - char *p1 = (char *)buffer; - - while (*p1) { - char *p1begin = p1; - char *p2 = (char *)comparator_string; - - aindex = 0; - - while (*p1 && *p2 && *p1 == *p2) { - p1++; - p2++; - } - - if (*p2 == '\0') { - while ((*p1) && (aindex < 5) - && (*p1 != ',')) { - asciiuid[aindex++] = *p1; - p1++; - } - if (*p1 != ',') { - pr_err("Failed to get app_id\n"); - return -EPERM; - } - asciiuid[aindex] = '\0'; - - /* - * now get the integer value of this ascii - * string number - */ - ret = kstrtol(asciiuid, 10, &appuid); - if (ret != 0) { - pr_err("failed in the kstrtol function uid:%s\n", - asciiuid); - return ret; - } else { - return (int)(appuid); - } - } - - p1 = p1begin + 1; - } - return -EPERM; -} - static int seemp_logk_usr_record(const char __user *buf, size_t count) { struct seemp_logk_blk *blk; @@ -238,10 +165,8 @@ static int seemp_logk_usr_record(const char __user *buf, size_t count) struct timespec now; struct tm ts; int idx, ret; - int currentuid; - int parsedcurrentuid; - DEFINE_WAIT(write_wait); + DEFINE_WAIT(write_wait); if (buf) { local_blk = (struct seemp_logk_blk *)buf; if (copy_from_user(&usr_blk.pid, &local_blk->pid, @@ -301,16 +226,7 @@ static int seemp_logk_usr_record(const char __user *buf, size_t count) memcpy(&blk->payload, &usr_blk.payload, sizeof(struct blk_payload)); blk->pid = usr_blk.pid; - currentuid = usr_blk.uid; - if (currentuid <= USER_APP_START_UID) { - parsedcurrentuid = get_uid_from_message_for_system_event - (blk->payload.msg); - if (parsedcurrentuid != -EPERM) - blk->uid = parsedcurrentuid; - else - blk->uid = currentuid; - } else - blk->uid = currentuid; + blk->uid = usr_blk.uid; blk->tid = usr_blk.tid; blk->sec = now.tv_sec; blk->nsec = now.tv_nsec; @@ -393,7 +309,6 @@ static long seemp_logk_ioctl(struct file *filp, unsigned int cmd, mutex_unlock(&sdev->lock); if (ret && block_apps) wake_up_interruptible(&sdev->writers_wq); - return 0; } else if (cmd == SEEMP_CMD_GET_RINGSZ) { if (copy_to_user((unsigned int *)arg, &sdev->ring_sz, sizeof(unsigned int))) @@ -408,9 +323,11 @@ static long seemp_logk_ioctl(struct file *filp, unsigned int cmd, return seemp_logk_set_mapping(arg); } else if (SEEMP_CMD_CHECK_FILTER == cmd) { return seemp_logk_check_filter(arg); + } else { + pr_err("Invalid Request %X\n", cmd); + return -ENOIOCTLCMD; } - pr_err("Invalid Request %X\n", cmd); - return -ENOIOCTLCMD; + return 0; } static long seemp_logk_reserve_rdblks( @@ -420,7 +337,6 @@ static long seemp_logk_reserve_rdblks( struct read_range rrange; DEFINE_WAIT(read_wait); - mutex_lock(&sdev->lock); if (sdev->num_writers > 0 || sdev->num_read_avail_blks <= 0) { ret = -EPERM; @@ -678,7 +594,7 @@ __init int seemp_logk_init(void) } slogk_dev = kmalloc(sizeof(*slogk_dev), GFP_KERNEL); - if (!slogk_dev) + if (slogk_dev == NULL) return -ENOMEM; slogk_dev->ring_sz = ring_sz; diff --git a/drivers/platform/msm/seemp_core/seemp_logk.h b/drivers/platform/msm/seemp_core/seemp_logk.h index aa3c66df4a4a..9c3e0162950c 100644 --- a/drivers/platform/msm/seemp_core/seemp_logk.h +++ b/drivers/platform/msm/seemp_core/seemp_logk.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014-2015, The Linux Foundation. All rights reserved. + * Copyright (c) 2014-2016, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -128,7 +128,7 @@ struct seemp_logk_dev { }; #define BLK_SIZE 256 -#define BLK_HDR_SIZE 68 +#define BLK_HDR_SIZE 64 #define TS_SIZE 20 #define BLK_MAX_MSG_SZ (BLK_SIZE - BLK_HDR_SIZE) diff --git a/fs/proc/base.c b/fs/proc/base.c index b6ab7887f7e8..ae40e058bbb6 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -87,8 +87,6 @@ #include #include #include -#include -#include #ifdef CONFIG_HARDWALL #include #endif @@ -962,9 +960,6 @@ static ssize_t oom_adj_write(struct file *file, const char __user *buf, goto out; } - seemp_logk_oom_adjust_write(task->pid, - task->cred->uid, oom_adj); - task_lock(task); if (!task->mm) { err = -EINVAL; @@ -1068,9 +1063,6 @@ static ssize_t oom_score_adj_write(struct file *file, const char __user *buf, goto out; } - seemp_logk_oom_adjust_write(task->pid, - task->cred->uid, oom_score_adj); - task_lock(task); if (!task->mm) { err = -EINVAL; diff --git a/include/uapi/linux/seemp_api.h b/include/uapi/linux/seemp_api.h index 38ed8e3fba12..4dfc257ea326 100644 --- a/include/uapi/linux/seemp_api.h +++ b/include/uapi/linux/seemp_api.h @@ -1,418 +1,395 @@ #ifndef _SEEMP_API_H_ #define _SEEMP_API_H_ -#define SEEMP_API_kernel__oom_adjust_write 0 -#define SEEMP_API_kernel__sendto 1 -#define SEEMP_API_kernel__recvfrom 2 -#define SEEMP_API_View__onTouchEvent 3 -#define SEEMP_API_View__onKeyDown 4 -#define SEEMP_API_View__onKeyUp 5 -#define SEEMP_API_View__onTrackBallEvent 6 -#define SEEMP_API_PhoneNumberUtils__getDeviceSoftwareVersion 7 -#define SEEMP_API_apS__get_ANDROID_ID_ 8 -#define SEEMP_API_TelephonyManager__getDeviceId 9 -#define SEEMP_API_TelephonyManager__getSimSerialNumber 10 -#define SEEMP_API_TelephonyManager__getLine1Number 11 -#define SEEMP_API_PhoneNumberUtils__getNumberFromIntent 12 -#define SEEMP_API_Telephony__query 13 -#define SEEMP_API_CallerInfo__getCallerId 14 -#define SEEMP_API_CallerInfo__getCallerInfo 15 -#define SEEMP_API_ContentResolver__query 16 -#define SEEMP_API_AccountManagerService__getPassword 17 -#define SEEMP_API_AccountManagerService__getUserData 18 -#define SEEMP_API_AccountManagerService__addAccount 19 -#define SEEMP_API_AccountManagerService__removeAccount 20 -#define SEEMP_API_AccountManagerService__setPassword 21 -#define SEEMP_API_AccountManagerService__clearPassword 22 -#define SEEMP_API_AccountManagerService__setUserData 23 -#define SEEMP_API_AccountManagerService__editProperties 24 -#define SEEMP_API_AM__getPassword 25 -#define SEEMP_API_AM__getUserData 26 -#define SEEMP_API_AM__addAccountExplicitly 27 -#define SEEMP_API_AM__removeAccount 28 -#define SEEMP_API_AM__setPassword 29 -#define SEEMP_API_AM__clearPassword 30 -#define SEEMP_API_AM__setUserData 31 -#define SEEMP_API_AM__addAccount 32 -#define SEEMP_API_AM__editProperties 33 -#define SEEMP_API_AM__doWork 34 -#define SEEMP_API_Browser__addSearchUrl 35 -#define SEEMP_API_Browser__canClearHistory 36 -#define SEEMP_API_Browser__ClearHistory 37 -#define SEEMP_API_Browser__deleteFromHistory 38 -#define SEEMP_API_Browser__deleteHistoryTimeFrame 39 -#define SEEMP_API_Browser__deleteHistoryWhere 40 -#define SEEMP_API_Browser__getAllBookmarks 41 -#define SEEMP_API_Browser__getAllVisitedUrls 42 -#define SEEMP_API_Browser__getVisitedHistory 43 -#define SEEMP_API_Browser__getVisitedLike 44 -#define SEEMP_API_Browser__requestAllIcons 45 -#define SEEMP_API_Browser__truncateHistory 46 -#define SEEMP_API_Browser__updateVisitedHistory 47 -#define SEEMP_API_Browser__clearSearches 48 -#define SEEMP_API_WebIconDatabase__bulkRequestIconForPageUrl 49 -#define SEEMP_API_ContentResolver__insert 50 -#define SEEMP_API_CalendarContract__insert 51 -#define SEEMP_API_CalendarContract__alarmExists 52 -#define SEEMP_API_CalendarContract__findNextAlarmTime 53 -#define SEEMP_API_CalendarContract__query 54 -#define SEEMP_API_LocationManager___requestLocationUpdates 55 -#define SEEMP_API_LocationManager__addGpsStatusListener 56 -#define SEEMP_API_LocationManager__addNmeaListener 57 -#define SEEMP_API_LocationManager__addProximityAlert 58 -#define SEEMP_API_LocationManager__getBestProvider 59 -#define SEEMP_API_LocationManager__getLastKnownLocation 60 -#define SEEMP_API_LocationManager__getProvider 61 -#define SEEMP_API_LocationManager__getProviders 62 -#define SEEMP_API_LocationManager__isProviderEnabled 63 -#define SEEMP_API_LocationManager__requestLocationUpdates 64 -#define SEEMP_API_LocationManager__sendExtraCommand 65 -#define SEEMP_API_TelephonyManager__getCellLocation 66 -#define SEEMP_API_TelephonyManager__getNeighboringCellInfo 67 -#define SEEMP_API_GeolocationService__registerForLocationUpdates 68 -#define SEEMP_API_GeolocationService__setEnableGps 69 -#define SEEMP_API_GeolocationService__start 70 -#define SEEMP_API_WebChromeClient__onGeolocationPermissionsShowPrompt 71 -#define SEEMP_API_WifiManager__getScanResults 72 -#define SEEMP_API_abB__enable 73 -#define SEEMP_API_abB__disable 74 -#define SEEMP_API_abB__startDiscovery 75 -#define SEEMP_API_abB__listenUsingInsecureRfcommWithServiceRecord 76 -#define SEEMP_API_abB__listenUsingSecureRfcommWithServiceRecord 77 -#define SEEMP_API_abB__getBondedDevices 78 -#define SEEMP_API_abB__getRemoteDevice 79 -#define SEEMP_API_abB__getState 80 -#define SEEMP_API_abB__getProfileConnectionState 81 -#define SEEMP_API_Camera__takePicture 82 -#define SEEMP_API_Camera__setPreviewCallback 83 -#define SEEMP_API_Camera__setPreviewCallbackWithBuffer 84 -#define SEEMP_API_Camera__setOneShotPreviewCallback 85 -#define SEEMP_API_MediaRecorder__start 86 -#define SEEMP_API_MediaRecorder__stop 87 -#define SEEMP_API_AudioRecord__startRecording 88 -#define SEEMP_API_AudioRecord__start 89 -#define SEEMP_API_AudioRecord__stop 90 -#define SEEMP_API_SpeechRecognizer__startListening 91 -#define SEEMP_API_at_SmsManager__sendDataMessage 92 -#define SEEMP_API_at_SmsManager__sendMultipartTextMessage 93 -#define SEEMP_API_at_SmsManager__sendTextMessage 94 -#define SEEMP_API_at_gsm_SmsManager__sendDataMessage 95 -#define SEEMP_API_at_gsm_SmsManager__sendMultipartTextMessage 96 -#define SEEMP_API_at_gsm_SmsManager__sendTextMessage 97 -#define SEEMP_API_at_SmsManager__copyMessageToIcc 98 -#define SEEMP_API_at_SmsManager__deleteMessageFromIcc 99 -#define SEEMP_API_at_SmsManager__updateMessageOnIcc 100 -#define SEEMP_API_at_gsm_SmsManager__copyMessageToSim 101 -#define SEEMP_API_at_gsm_SmsManager__deleteMessageFromSim 102 -#define SEEMP_API_at_gsm_SmsManager__updateMessageOnSim 103 -#define SEEMP_API_at_gsm_SmsManager__getAllMessagesFromSim 104 -#define SEEMP_API_ah_SEL__onAccuracyChanged_ACCELEROMETER_ 105 -#define SEEMP_API_ah_SEL__onSensorChanged_ACCELEROMETER_ 106 -#define SEEMP_API_ah_SensorManager__registerListener 107 -#define SEEMP_API_ASensorEventQueue__enableSensor 108 -#define SEEMP_API_ContactsContract__getLookupUri 109 -#define SEEMP_API_ContactsContract__lookupContact 110 -#define SEEMP_API_ContactsContract__openContactPhotoInputStream 111 -#define SEEMP_API_ContactsContract__getContactLookupUri 112 -#define SEEMP_API_PackageManagerService__installPackage 113 -#define SEEMP_API_TelephonyManager__getSubscriberId 114 -#define SEEMP_API_URL__openConnection 115 -#define SEEMP_API_AM__confirmCredentials 116 -#define SEEMP_API_AM__invalidateAuthToken 117 -#define SEEMP_API_AM__updateCredentials 118 -#define SEEMP_API_AM__checkManageAccountsOrUseCredentialsPermissions 119 -#define SEEMP_API_AM__checkManageAccountsPermission 120 -#define SEEMP_API_AM__peekAuthToken 121 -#define SEEMP_API_AM__setAuthToken 122 -#define SEEMP_API_AM__checkAuthenticateAccountsPermission 123 -#define SEEMP_API_ah_SEL__onAccuracyChanged_ORIENTATION_ 124 -#define SEEMP_API_ah_SEL__onSensorChanged_ORIENTATION_ 125 -#define SEEMP_API_apS__get_ACCELEROMETER_ROTATION_ 126 -#define SEEMP_API_apS__get_USER_ROTATION_ 127 -#define SEEMP_API_apS__get_ADB_ENABLED_ 128 -#define SEEMP_API_apS__get_DEBUG_APP_ 129 -#define SEEMP_API_apS__get_WAIT_FOR_DEBUGGER_ 130 -#define SEEMP_API_apS__get_AIRPLANE_MODE_ON_ 131 -#define SEEMP_API_apS__get_AIRPLANE_MODE_RADIOS_ 132 -#define SEEMP_API_apS__get_ALARM_ALERT_ 133 -#define SEEMP_API_apS__get_NEXT_ALARM_FORMATTED_ 134 -#define SEEMP_API_apS__get_ALWAYS_FINISH_ACTIVITIES_ 135 -#define SEEMP_API_apS__get_LOGGING_ID_ 136 -#define SEEMP_API_apS__get_ANIMATOR_DURATION_SCALE_ 137 -#define SEEMP_API_apS__get_WINDOW_ANIMATION_SCALE_ 138 -#define SEEMP_API_apS__get_FONT_SCALE_ 139 -#define SEEMP_API_apS__get_SCREEN_BRIGHTNESS_ 140 -#define SEEMP_API_apS__get_SCREEN_BRIGHTNESS_MODE_ 141 -#define SEEMP_API_apS__get_SCREEN_BRIGHTNESS_MODE_AUTOMATIC_ 142 -#define SEEMP_API_apS__get_SCREEN_BRIGHTNESS_MODE_MANUAL_ 143 -#define SEEMP_API_apS__get_SCREEN_OFF_TIMEOUT_ 144 -#define SEEMP_API_apS__get_DIM_SCREEN_ 145 -#define SEEMP_API_apS__get_TS_ANIMATION_SCALE_ 146 -#define SEEMP_API_apS__get_STAY_ON_WHILE_PLUGGED_IN_ 147 -#define SEEMP_API_apS__get_WALLPAPER_ACTIVITY_ 148 -#define SEEMP_API_apS__get_SHOW_PROCESSES_ 149 -#define SEEMP_API_apS__get_SHOW_WEB_SUGGESTIONS_ 150 -#define SEEMP_API_apS__get_SHOW_GTALK_SERVICE_STATUS_ 151 -#define SEEMP_API_apS__get_USE_GOOGLE_MAIL_ 152 -#define SEEMP_API_apS__get_AUTO_TIME_ 153 -#define SEEMP_API_apS__get_AUTO_TIME_ZONE_ 154 -#define SEEMP_API_apS__get_DATE_FORMAT_ 155 -#define SEEMP_API_apS__get_TIME_12_24_ 156 -#define SEEMP_API_apS__get_BLUETOOTH_DISCOVERABILITY_ 157 -#define SEEMP_API_apS__get_BLUETOOTH_DISCOVERABILITY_TIMEOUT_ 158 -#define SEEMP_API_apS__get_BLUETOOTH_ON_ 159 -#define SEEMP_API_apS__get_DEVICE_PROVISIONED_ 160 -#define SEEMP_API_apS__get_SETUP_WIZARD_HAS_RUN_ 161 -#define SEEMP_API_apS__get_DTMF_TONE_WHEN_DIALING_ 162 -#define SEEMP_API_apS__get_END_BUTTON_BEHAVIOR_ 163 -#define SEEMP_API_apS__get_RINGTONE_ 164 -#define SEEMP_API_apS__get_MODE_RINGER_ 165 -#define SEEMP_API_apS__get_INSTALL_NON_MARKET_APPS_ 166 -#define SEEMP_API_apS__get_LOCATION_PROVIDERS_ALLOWED_ 167 -#define SEEMP_API_apS__get_LOCK_PATTERN_ENABLED_ 168 -#define SEEMP_API_apS__get_LOCK_PATTERN_TACTILE_FEEDBACK_ENABLED_ 169 -#define SEEMP_API_apS__get_LOCK_PATTERN_VISIBLE_ 170 -#define SEEMP_API_apS__get_NETWORK_PREFERENCE_ 171 -#define SEEMP_API_apS__get_DATA_ROAMING_ 172 -#define SEEMP_API_apS__get_HTTP_PROXY_ 173 -#define SEEMP_API_apS__get_PARENTAL_CONTROL_ENABLED_ 174 -#define SEEMP_API_apS__get_PARENTAL_CONTROL_LAST_UPDATE_ 175 -#define SEEMP_API_apS__get_PARENTAL_CONTROL_REDIRECT_URL_ 176 -#define SEEMP_API_apS__get_RADIO_BLUETOOTH_ 177 -#define SEEMP_API_apS__get_RADIO_CELL_ 178 -#define SEEMP_API_apS__get_RADIO_NFC_ 179 -#define SEEMP_API_apS__get_RADIO_WIFI_ 180 -#define SEEMP_API_apS__get_SYS_PROP_SETTING_VERSION_ 181 -#define SEEMP_API_apS__get_SETTINGS_CLASSNAME_ 182 -#define SEEMP_API_apS__get_TEXT_AUTO_CAPS_ 183 -#define SEEMP_API_apS__get_TEXT_AUTO_PUNCTUATE_ 184 -#define SEEMP_API_apS__get_TEXT_AUTO_REPLACE_ 185 -#define SEEMP_API_apS__get_TEXT_SHOW_PASSWORD_ 186 -#define SEEMP_API_apS__get_USB_MASS_STORAGE_ENABLED_ 187 -#define SEEMP_API_apS__get_VIBRATE_ON_ 188 -#define SEEMP_API_apS__get_HAPTIC_FEEDBACK_ENABLED_ 189 -#define SEEMP_API_apS__get_VOLUME_ALARM_ 190 -#define SEEMP_API_apS__get_VOLUME_BLUETOOTH_SCO_ 191 -#define SEEMP_API_apS__get_VOLUME_MUSIC_ 192 -#define SEEMP_API_apS__get_VOLUME_NOTIFICATION_ 193 -#define SEEMP_API_apS__get_VOLUME_RING_ 194 -#define SEEMP_API_apS__get_VOLUME_SYSTEM_ 195 -#define SEEMP_API_apS__get_VOLUME_VOICE_ 196 -#define SEEMP_API_apS__get_SOUND_EFFECTS_ENABLED_ 197 -#define SEEMP_API_apS__get_MODE_RINGER_STREAMS_AFFECTED_ 198 -#define SEEMP_API_apS__get_MUTE_STREAMS_AFFECTED_ 199 -#define SEEMP_API_apS__get_NOTIFICATION_SOUND_ 200 -#define SEEMP_API_apS__get_APPEND_FOR_LAST_AUDIBLE_ 201 -#define SEEMP_API_apS__get_WIFI_MAX_DHCP_RETRY_COUNT_ 202 -#define SEEMP_API_apS__get_WIFI_MOBILE_DATA_TS_WAKELOCK_TIMEOUT_MS_ 203 -#define SEEMP_API_apS__get_WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON_ 204 -#define SEEMP_API_apS__get_WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY_ 205 -#define SEEMP_API_apS__get_WIFI_NUM_OPEN_NETWORKS_KEPT_ 206 -#define SEEMP_API_apS__get_WIFI_ON_ 207 -#define SEEMP_API_apS__get_WIFI_SLEEP_POLICY_ 208 -#define SEEMP_API_apS__get_WIFI_SLEEP_POLICY_DEFAULT_ 209 -#define SEEMP_API_apS__get_WIFI_SLEEP_POLICY_NEVER_ 210 -#define SEEMP_API_apS__get_WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED_ 211 -#define SEEMP_API_apS__get_WIFI_STATIC_DNS1_ 212 -#define SEEMP_API_apS__get_WIFI_STATIC_DNS2_ 213 -#define SEEMP_API_apS__get_WIFI_STATIC_GATEWAY_ 214 -#define SEEMP_API_apS__get_WIFI_STATIC_IP_ 215 -#define SEEMP_API_apS__get_WIFI_STATIC_NETMASK_ 216 -#define SEEMP_API_apS__get_WIFI_USE_STATIC_IP_ 217 -#define SEEMP_API_apS__get_WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PR_ 218 -#define SEEMP_API_apS__get_WIFI_WATCHDOG_AP_COUNT_ 219 -#define SEEMP_API_apS__get_WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MS_ 220 -#define SEEMP_API_apS__get_WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLED_ 221 -#define SEEMP_API_apS__get_WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MS_ 222 -#define SEEMP_API_apS__get_WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNT_ 223 -#define SEEMP_API_apS__get_WIFI_WATCHDOG_MAX_AP_CHECKS_ 224 -#define SEEMP_API_apS__get_WIFI_WATCHDOG_ON_ 225 -#define SEEMP_API_apS__get_WIFI_WATCHDOG_PING_COUNT_ 226 -#define SEEMP_API_apS__get_WIFI_WATCHDOG_PING_DELAY_MS_ 227 -#define SEEMP_API_apS__get_WIFI_WATCHDOG_PING_TIMEOUT_MS_ 228 -#define SEEMP_API_apS__put_ACCELEROMETER_ROTATION_ 229 -#define SEEMP_API_apS__put_USER_ROTATION_ 230 -#define SEEMP_API_apS__put_ADB_ENABLED_ 231 -#define SEEMP_API_apS__put_DEBUG_APP_ 232 -#define SEEMP_API_apS__put_WAIT_FOR_DEBUGGER_ 233 -#define SEEMP_API_apS__put_AIRPLANE_MODE_ON_ 234 -#define SEEMP_API_apS__put_AIRPLANE_MODE_RADIOS_ 235 -#define SEEMP_API_apS__put_ALARM_ALERT_ 236 -#define SEEMP_API_apS__put_NEXT_ALARM_FORMATTED_ 237 -#define SEEMP_API_apS__put_ALWAYS_FINISH_ACTIVITIES_ 238 -#define SEEMP_API_apS__put_ANDROID_ID_ 239 -#define SEEMP_API_apS__put_LOGGING_ID_ 240 -#define SEEMP_API_apS__put_ANIMATOR_DURATION_SCALE_ 241 -#define SEEMP_API_apS__put_WINDOW_ANIMATION_SCALE_ 242 -#define SEEMP_API_apS__put_FONT_SCALE_ 243 -#define SEEMP_API_apS__put_SCREEN_BRIGHTNESS_ 244 -#define SEEMP_API_apS__put_SCREEN_BRIGHTNESS_MODE_ 245 -#define SEEMP_API_apS__put_SCREEN_BRIGHTNESS_MODE_AUTOMATIC_ 246 -#define SEEMP_API_apS__put_SCREEN_BRIGHTNESS_MODE_MANUAL_ 247 -#define SEEMP_API_apS__put_SCREEN_OFF_TIMEOUT_ 248 -#define SEEMP_API_apS__put_DIM_SCREEN_ 249 -#define SEEMP_API_apS__put_TS_ANIMATION_SCALE_ 250 -#define SEEMP_API_apS__put_STAY_ON_WHILE_PLUGGED_IN_ 251 -#define SEEMP_API_apS__put_WALLPAPER_ACTIVITY_ 252 -#define SEEMP_API_apS__put_SHOW_PROCESSES_ 253 -#define SEEMP_API_apS__put_SHOW_WEB_SUGGESTIONS_ 254 -#define SEEMP_API_apS__put_SHOW_GTALK_SERVICE_STATUS_ 255 -#define SEEMP_API_apS__put_USE_GOOGLE_MAIL_ 256 -#define SEEMP_API_apS__put_AUTO_TIME_ 257 -#define SEEMP_API_apS__put_AUTO_TIME_ZONE_ 258 -#define SEEMP_API_apS__put_DATE_FORMAT_ 259 -#define SEEMP_API_apS__put_TIME_12_24_ 260 -#define SEEMP_API_apS__put_BLUETOOTH_DISCOVERABILITY_ 261 -#define SEEMP_API_apS__put_BLUETOOTH_DISCOVERABILITY_TIMEOUT_ 262 -#define SEEMP_API_apS__put_BLUETOOTH_ON_ 263 -#define SEEMP_API_apS__put_DEVICE_PROVISIONED_ 264 -#define SEEMP_API_apS__put_SETUP_WIZARD_HAS_RUN_ 265 -#define SEEMP_API_apS__put_DTMF_TONE_WHEN_DIALING_ 266 -#define SEEMP_API_apS__put_END_BUTTON_BEHAVIOR_ 267 -#define SEEMP_API_apS__put_RINGTONE_ 268 -#define SEEMP_API_apS__put_MODE_RINGER_ 269 -#define SEEMP_API_apS__put_INSTALL_NON_MARKET_APPS_ 270 -#define SEEMP_API_apS__put_LOCATION_PROVIDERS_ALLOWED_ 271 -#define SEEMP_API_apS__put_LOCK_PATTERN_ENABLED_ 272 -#define SEEMP_API_apS__put_LOCK_PATTERN_TACTILE_FEEDBACK_ENABLED_ 273 -#define SEEMP_API_apS__put_LOCK_PATTERN_VISIBLE_ 274 -#define SEEMP_API_apS__put_NETWORK_PREFERENCE_ 275 -#define SEEMP_API_apS__put_DATA_ROAMING_ 276 -#define SEEMP_API_apS__put_HTTP_PROXY_ 277 -#define SEEMP_API_apS__put_PARENTAL_CONTROL_ENABLED_ 278 -#define SEEMP_API_apS__put_PARENTAL_CONTROL_LAST_UPDATE_ 279 -#define SEEMP_API_apS__put_PARENTAL_CONTROL_REDIRECT_URL_ 280 -#define SEEMP_API_apS__put_RADIO_BLUETOOTH_ 281 -#define SEEMP_API_apS__put_RADIO_CELL_ 282 -#define SEEMP_API_apS__put_RADIO_NFC_ 283 -#define SEEMP_API_apS__put_RADIO_WIFI_ 284 -#define SEEMP_API_apS__put_SYS_PROP_SETTING_VERSION_ 285 -#define SEEMP_API_apS__put_SETTINGS_CLASSNAME_ 286 -#define SEEMP_API_apS__put_TEXT_AUTO_CAPS_ 287 -#define SEEMP_API_apS__put_TEXT_AUTO_PUNCTUATE_ 288 -#define SEEMP_API_apS__put_TEXT_AUTO_REPLACE_ 289 -#define SEEMP_API_apS__put_TEXT_SHOW_PASSWORD_ 290 -#define SEEMP_API_apS__put_USB_MASS_STORAGE_ENABLED_ 291 -#define SEEMP_API_apS__put_VIBRATE_ON_ 292 -#define SEEMP_API_apS__put_HAPTIC_FEEDBACK_ENABLED_ 293 -#define SEEMP_API_apS__put_VOLUME_ALARM_ 294 -#define SEEMP_API_apS__put_VOLUME_BLUETOOTH_SCO_ 295 -#define SEEMP_API_apS__put_VOLUME_MUSIC_ 296 -#define SEEMP_API_apS__put_VOLUME_NOTIFICATION_ 297 -#define SEEMP_API_apS__put_VOLUME_RING_ 298 -#define SEEMP_API_apS__put_VOLUME_SYSTEM_ 299 -#define SEEMP_API_apS__put_VOLUME_VOICE_ 300 -#define SEEMP_API_apS__put_SOUND_EFFECTS_ENABLED_ 301 -#define SEEMP_API_apS__put_MODE_RINGER_STREAMS_AFFECTED_ 302 -#define SEEMP_API_apS__put_MUTE_STREAMS_AFFECTED_ 303 -#define SEEMP_API_apS__put_NOTIFICATION_SOUND_ 304 -#define SEEMP_API_apS__put_APPEND_FOR_LAST_AUDIBLE_ 305 -#define SEEMP_API_apS__put_WIFI_MAX_DHCP_RETRY_COUNT_ 306 -#define SEEMP_API_apS__put_WIFI_MOBILE_DATA_TS_WAKELOCK_TIMEOUT_MS_ 307 -#define SEEMP_API_apS__put_WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON_ 308 -#define SEEMP_API_apS__put_WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY_ 309 -#define SEEMP_API_apS__put_WIFI_NUM_OPEN_NETWORKS_KEPT_ 310 -#define SEEMP_API_apS__put_WIFI_ON_ 311 -#define SEEMP_API_apS__put_WIFI_SLEEP_POLICY_ 312 -#define SEEMP_API_apS__put_WIFI_SLEEP_POLICY_DEFAULT_ 313 -#define SEEMP_API_apS__put_WIFI_SLEEP_POLICY_NEVER_ 314 -#define SEEMP_API_apS__put_WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED_ 315 -#define SEEMP_API_apS__put_WIFI_STATIC_DNS1_ 316 -#define SEEMP_API_apS__put_WIFI_STATIC_DNS2_ 317 -#define SEEMP_API_apS__put_WIFI_STATIC_GATEWAY_ 318 -#define SEEMP_API_apS__put_WIFI_STATIC_IP_ 319 -#define SEEMP_API_apS__put_WIFI_STATIC_NETMASK_ 320 -#define SEEMP_API_apS__put_WIFI_USE_STATIC_IP_ 321 -#define SEEMP_API_apS__put_WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PR_ 322 -#define SEEMP_API_apS__put_WIFI_WATCHDOG_AP_COUNT_ 323 -#define SEEMP_API_apS__put_WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MS_ 324 -#define SEEMP_API_apS__put_WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLED_ 325 -#define SEEMP_API_apS__put_WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MS_ 326 -#define SEEMP_API_apS__put_WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNT_ 327 -#define SEEMP_API_apS__put_WIFI_WATCHDOG_MAX_AP_CHECKS_ 328 -#define SEEMP_API_apS__put_WIFI_WATCHDOG_ON_ 329 -#define SEEMP_API_apS__put_WIFI_WATCHDOG_PING_COUNT_ 330 -#define SEEMP_API_apS__put_WIFI_WATCHDOG_PING_DELAY_MS_ 331 -#define SEEMP_API_apS__put_WIFI_WATCHDOG_PING_TIMEOUT_MS_ 332 -#define SEEMP_API_Poll__setCumulativeWifiRxMBytes 333 -#define SEEMP_API_Poll__setInstantaneousWifiRxMBytes 334 -#define SEEMP_API_Poll__setCumulativeWifiRxPackets 335 -#define SEEMP_API_Poll__setInstantaneousWifiRxPackets 336 -#define SEEMP_API_Poll__setCumulativeWifiTxMBytes 337 -#define SEEMP_API_Poll__setInstantaneousWifiTxMBytes 338 -#define SEEMP_API_Poll__setCumulativeWifiTxPackets 339 -#define SEEMP_API_Poll__setInstantaneousWifiTxPackets 340 -#define SEEMP_API_Poll__setCumulativeWifiRxTcpMBytes 341 -#define SEEMP_API_Poll__setInstantaneousWifiRxTcpMBytes 342 -#define SEEMP_API_Poll__setCumulativeWifiRxTcpPackets 343 -#define SEEMP_API_Poll__setInstantaneousWifiRxTcpPackets 344 -#define SEEMP_API_Poll__setCumulativeWifiRxUdpMBytes 345 -#define SEEMP_API_Poll__setInstantaneousWifiRxUdpMBytes 346 -#define SEEMP_API_Poll__setCumulativeWifiRxUdpPackets 347 -#define SEEMP_API_Poll__setInstantaneousWifiRxUdpPackets 348 -#define SEEMP_API_Poll__setCumulativeWifiRxOtherMBytes 349 -#define SEEMP_API_Poll__setInstantaneousWifiRxOtherMBytes 350 -#define SEEMP_API_Poll__setCumulativeWifiRxOtherPackets 351 -#define SEEMP_API_Poll__setInstantaneousWifiRxOtherPackets 352 -#define SEEMP_API_Poll__setCumulativeWifiTxTcpMBytes 353 -#define SEEMP_API_Poll__setInstantaneousWifiTxTcpMBytes 354 -#define SEEMP_API_Poll__setCumulativeWifiTxTcpPackets 355 -#define SEEMP_API_Poll__setInstantaneousWifiTxTcpPackets 356 -#define SEEMP_API_Poll__setCumulativeWifiTxUdpMBytes 357 -#define SEEMP_API_Poll__setInstantaneousWifiTxUdpMBytes 358 -#define SEEMP_API_Poll__setCumulativeWifiTxUdpPackets 359 -#define SEEMP_API_Poll__setInstantaneousWifiTxUdpPackets 360 -#define SEEMP_API_Poll__setCumulativeWifiTxOtherMBytes 361 -#define SEEMP_API_Poll__setInstantaneousWifiTxOtherMBytes 362 -#define SEEMP_API_Poll__setCumulativeWifiTxOtherPackets 363 -#define SEEMP_API_Poll__setInstantaneousWifiTxOtherPackets 364 -#define SEEMP_API_Poll__setCumulativeMobileRxMBytes 365 -#define SEEMP_API_Poll__setInstantaneousMobileRxMBytes 366 -#define SEEMP_API_Poll__setCumulativeMobileRxPackets 367 -#define SEEMP_API_Poll__setInstantaneousMobileRxPackets 368 -#define SEEMP_API_Poll__setCumulativeMobileTxMBytes 369 -#define SEEMP_API_Poll__setInstantaneousMobileTxMBytes 370 -#define SEEMP_API_Poll__setCumulativeMobileTxPackets 371 -#define SEEMP_API_Poll__setInstantaneousMobileTxPackets 372 -#define SEEMP_API_Poll__setCumulativeMobileRxTcpMBytes 373 -#define SEEMP_API_Poll__setInstantaneousMobileRxTcpMBytes 374 -#define SEEMP_API_Poll__setCumulativeMobileRxTcpPackets 375 -#define SEEMP_API_Poll__setInstantaneousMobileRxTcpPackets 376 -#define SEEMP_API_Poll__setCumulativeMobileRxUdpMBytes 377 -#define SEEMP_API_Poll__setInstantaneousMobileRxUdpMBytes 378 -#define SEEMP_API_Poll__setCumulativeMobileRxUdpPackets 379 -#define SEEMP_API_Poll__setInstantaneousMobileRxUdpPackets 380 -#define SEEMP_API_Poll__setCumulativeMobileRxOtherMBytes 381 -#define SEEMP_API_Poll__setInstantaneousMobileRxOtherMBytes 382 -#define SEEMP_API_Poll__setCumulativeMobileRxOtherPackets 383 -#define SEEMP_API_Poll__setInstantaneousMobileRxOtherPackets 384 -#define SEEMP_API_Poll__setCumulativeMobileTxTcpMBytes 385 -#define SEEMP_API_Poll__setInstantaneousMobileTxTcpMBytes 386 -#define SEEMP_API_Poll__setCumulativeMobileTxTcpPackets 387 -#define SEEMP_API_Poll__setInstantaneousMobileTxTcpPackets 388 -#define SEEMP_API_Poll__setCumulativeMobileTxUdpMBytes 389 -#define SEEMP_API_Poll__setInstantaneousMobileTxUdpMBytes 390 -#define SEEMP_API_Poll__setCumulativeMobileTxUdpPackets 391 -#define SEEMP_API_Poll__setInstantaneousMobileTxUdpPackets 392 -#define SEEMP_API_Poll__setCumulativeMobileTxOtherMBytes 393 -#define SEEMP_API_Poll__setInstantaneousMobileTxOtherMBytes 394 -#define SEEMP_API_Poll__setCumulativeMobileTxOtherPackets 395 -#define SEEMP_API_Poll__setInstantaneousMobileTxOtherPackets 396 -#define SEEMP_API_Poll__setNumSockets 397 -#define SEEMP_API_Poll__setNumTcpStateListen 398 -#define SEEMP_API_Poll__setNumTcpStateEstablished 399 -#define SEEMP_API_Poll__setNumLocalIp 400 -#define SEEMP_API_Poll__setNumLocalPort 401 -#define SEEMP_API_Poll__setNumRemoteIp 402 -#define SEEMP_API_Poll__setNumRemotePort 403 -#define SEEMP_API_Poll__setNumRemoteTuple 404 -#define SEEMP_API_Poll__setNumInode 405 -#define SEEMP_API_Instrumentation__startActivitySync 406 -#define SEEMP_API_Instrumentation__execStartActivity 407 -#define SEEMP_API_Instrumentation__execStartActivitiesAsUser 408 -#define SEEMP_API_Instrumentation__execStartActivityAsCaller 409 -#define SEEMP_API_Instrumentation__execStartActivityFromAppTask 410 -#define SEEMP_API_ah_SystemSensorManager__registerListenerImpl 411 -#define SEEMP_API_ah_SystemSensorManager__unregisterListenerImpl 412 +#define SEEMP_API_kernel__oom_adjust_write 0 +#define SEEMP_API_kernel__sendto 1 +#define SEEMP_API_kernel__recvfrom 2 +#define SEEMP_API_View__onTouchEvent 3 +#define SEEMP_API_View__onKeyDown 4 +#define SEEMP_API_View__onKeyUp 5 +#define SEEMP_API_View__onTrackBallEvent 6 +#define SEEMP_API_android_provider_Settings__get_ANDROID_ID_ 7 +#define SEEMP_API_TelephonyManager__getDeviceId 8 +#define SEEMP_API_TelephonyManager__getLine1Number 9 +#define SEEMP_API_Telephony__query 10 +#define SEEMP_API_CallerInfo__getCallerId 11 +#define SEEMP_API_CallerInfo__getCallerInfo 12 +#define SEEMP_API_ContentResolver__query 13 +#define SEEMP_API_AccountManagerService__getPassword 14 +#define SEEMP_API_AccountManagerService__getUserData 15 +#define SEEMP_API_AccountManagerService__addAccount 16 +#define SEEMP_API_AccountManagerService__removeAccount 17 +#define SEEMP_API_AccountManagerService__setPassword 18 +#define SEEMP_API_AccountManagerService__clearPassword 19 +#define SEEMP_API_AccountManagerService__setUserData 20 +#define SEEMP_API_AccountManagerService__editProperties 21 +#define SEEMP_API_AccountManager__getPassword 22 +#define SEEMP_API_AccountManager__getUserData 23 +#define SEEMP_API_AccountManager__addAccountExplicitly 24 +#define SEEMP_API_AccountManager__removeAccount 25 +#define SEEMP_API_AccountManager__setPassword 26 +#define SEEMP_API_AccountManager__clearPassword 27 +#define SEEMP_API_AccountManager__setUserData 28 +#define SEEMP_API_AccountManager__addAccount 29 +#define SEEMP_API_AccountManager__editProperties 30 +#define SEEMP_API_AccountManager__doWork 31 +#define SEEMP_API_Browser__getAllBookmarks 32 +#define SEEMP_API_Browser__getAllVisitedUrls 33 +#define SEEMP_API_Browser__getVisitedLike 34 +#define SEEMP_API_Browser__getVisitedHistory 35 +#define SEEMP_API_Browser__requestAllIcons 36 +#define SEEMP_API_ContentResolver__insert 37 +#define SEEMP_API_CalendarContract__insert 38 +#define SEEMP_API_CalendarContract__alarmExists 39 +#define SEEMP_API_CalendarContract__findNextAlarmTime 40 +#define SEEMP_API_CalendarContract__query 41 +#define SEEMP_API_LocationManager___requestLocationUpdates 42 +#define SEEMP_API_LocationManager__addGpsStatusListener 43 +#define SEEMP_API_LocationManager__addNmeaListener 44 +#define SEEMP_API_LocationManager__addProximityAlert 45 +#define SEEMP_API_LocationManager__getLastKnownLocation 46 +#define SEEMP_API_LocationManager__requestLocationUpdates 47 +#define SEEMP_API_LocationManager__sendExtraCommand 48 +#define SEEMP_API_TelephonyManager__getCellLocation 49 +#define SEEMP_API_TelephonyManager__getNeighboringCellInfo 50 +#define SEEMP_API_GeolocationService__registerForLocationUpdates 51 +#define SEEMP_API_GeolocationService__setEnableGps 52 +#define SEEMP_API_GeolocationService__start 53 +#define SEEMP_API_WebChromeClient__onGeolocationPermissionsShowPrompt 54 +#define SEEMP_API_WifiManager__getScanResults 55 +#define SEEMP_API_adB__enable 56 +#define SEEMP_API_adB__disable 57 +#define SEEMP_API_adB__startDiscovery 58 +#define SEEMP_API_adB__listenUsingInsecureRfcommWithServiceRecord 59 +#define SEEMP_API_adB__listenUsingSecureRfcommWithServiceRecord 60 +#define SEEMP_API_adB__getBondedDevices 61 +#define SEEMP_API_adB__getRemoteDevice 62 +#define SEEMP_API_adB__getState 63 +#define SEEMP_API_adB__getProfileConnectionState 64 +#define SEEMP_API_Camera__takePicture 65 +#define SEEMP_API_Camera__setPreviewCallback 66 +#define SEEMP_API_Camera__setPreviewCallbackWithBuffer 67 +#define SEEMP_API_Camera__setOneShotPreviewCallback 68 +#define SEEMP_API_android_media_MediaRecorder__start 69 +#define SEEMP_API_AudioRecord__startRecording 70 +#define SEEMP_API_AudioRecord__start 71 +#define SEEMP_API_SpeechRecognizer__startListening 72 +#define SEEMP_API_at_SmsManager__sendDataMessage 73 +#define SEEMP_API_at_SmsManager__sendMultipartTextMessage 74 +#define SEEMP_API_at_SmsManager__sendTextMessage 75 +#define SEEMP_API_at_gsm_SmsManager__sendDataMessage 76 +#define SEEMP_API_at_gsm_SmsManager__sendMultipartTextMessage 77 +#define SEEMP_API_at_gsm_SmsManager__sendTextMessage 78 +#define SEEMP_API_at_SmsManager__copyMessageToIcc 79 +#define SEEMP_API_at_SmsManager__deleteMessageFromIcc 80 +#define SEEMP_API_at_SmsManager__updateMessageOnIcc 81 +#define SEEMP_API_at_gsm_SmsManager__copyMessageToSim 82 +#define SEEMP_API_at_gsm_SmsManager__deleteMessageFromSim 83 +#define SEEMP_API_at_gsm_SmsManager__updateMessageOnSim 84 +#define SEEMP_API_at_gsm_SmsManager__getAllMessagesFromSim 85 +#define SEEMP_API_ContactsContract__getLookupUri 86 +#define SEEMP_API_ContactsContract__lookupContact 87 +#define SEEMP_API_ContactsContract__openContactPhotoInputStream 88 +#define SEEMP_API_ContactsContract__getContactLookupUri 89 +#define SEEMP_API_PackageManagerService__installPackage 90 +#define SEEMP_API_URL__openConnection 91 +#define SEEMP_API_URI__URI 92 +#define SEEMP_API_HttpGet__HttpGet 93 +#define SEEMP_API_HttpPut__HttpPut 94 +#define SEEMP_API_HttpPost__HttpPost 95 +#define SEEMP_API_apS__get_ACCELEROMETER_ROTATION_ 96 +#define SEEMP_API_apS__get_USER_ROTATION_ 97 +#define SEEMP_API_apS__get_ADB_ENABLED_ 98 +#define SEEMP_API_apS__get_DEBUG_APP_ 99 +#define SEEMP_API_apS__get_WAIT_FOR_DEBUGGER_ 100 +#define SEEMP_API_apS__get_AIRPLANE_MODE_ON_ 101 +#define SEEMP_API_apS__get_AIRPLANE_MODE_RADIOS_ 102 +#define SEEMP_API_apS__get_ALARM_ALERT_ 103 +#define SEEMP_API_apS__get_NEXT_ALARM_FORMATTED_ 104 +#define SEEMP_API_apS__get_ALWAYS_FINISH_ACTIVITIES_ 105 +#define SEEMP_API_apS__get_LOGGING_ID_ 106 +#define SEEMP_API_apS__get_ANIMATOR_DURATION_SCALE_ 107 +#define SEEMP_API_apS__get_WINDOW_ANIMATION_SCALE_ 108 +#define SEEMP_API_apS__get_FONT_SCALE_ 109 +#define SEEMP_API_apS__get_SCREEN_BRIGHTNESS_ 110 +#define SEEMP_API_apS__get_SCREEN_BRIGHTNESS_MODE_ 111 +#define SEEMP_API_apS__get_SCREEN_BRIGHTNESS_MODE_AUTOMATIC_ 112 +#define SEEMP_API_apS__get_SCREEN_BRIGHTNESS_MODE_MANUAL_ 113 +#define SEEMP_API_apS__get_SCREEN_OFF_TIMEOUT_ 114 +#define SEEMP_API_apS__get_DIM_SCREEN_ 115 +#define SEEMP_API_apS__get_TRANSITION_ANIMATION_SCALE_ 116 +#define SEEMP_API_apS__get_STAY_ON_WHILE_PLUGGED_IN_ 117 +#define SEEMP_API_apS__get_WALLPAPER_ACTIVITY_ 118 +#define SEEMP_API_apS__get_SHOW_PROCESSES_ 119 +#define SEEMP_API_apS__get_SHOW_WEB_SUGGESTIONS_ 120 +#define SEEMP_API_apS__get_SHOW_GTALK_SERVICE_STATUS_ 121 +#define SEEMP_API_apS__get_USE_GOOGLE_MAIL_ 122 +#define SEEMP_API_apS__get_AUTO_TIME_ 123 +#define SEEMP_API_apS__get_AUTO_TIME_ZONE_ 124 +#define SEEMP_API_apS__get_DATE_FORMAT_ 125 +#define SEEMP_API_apS__get_TIME_12_24_ 126 +#define SEEMP_API_apS__get_BLUETOOTH_DISCOVERABILITY_ 127 +#define SEEMP_API_apS__get_BLUETOOTH_DISCOVERABILITY_TIMEOUT_ 128 +#define SEEMP_API_apS__get_BLUETOOTH_ON_ 129 +#define SEEMP_API_apS__get_DEVICE_PROVISIONED_ 130 +#define SEEMP_API_apS__get_SETUP_WIZARD_HAS_RUN_ 131 +#define SEEMP_API_apS__get_DTMF_TONE_WHEN_DIALING_ 132 +#define SEEMP_API_apS__get_END_BUTTON_BEHAVIOR_ 133 +#define SEEMP_API_apS__get_RINGTONE_ 134 +#define SEEMP_API_apS__get_MODE_RINGER_ 135 +#define SEEMP_API_apS__get_INSTALL_NON_MARKET_APPS_ 136 +#define SEEMP_API_apS__get_LOCATION_PROVIDERS_ALLOWED_ 137 +#define SEEMP_API_apS__get_LOCK_PATTERN_ENABLED_ 138 +#define SEEMP_API_apS__get_LOCK_PATTERN_TACTILE_FEEDBACK_ENABLED_ 139 +#define SEEMP_API_apS__get_LOCK_PATTERN_VISIBLE_ 140 +#define SEEMP_API_apS__get_NETWORK_PREFERENCE_ 141 +#define SEEMP_API_apS__get_DATA_ROAMING_ 142 +#define SEEMP_API_apS__get_HTTP_PROXY_ 143 +#define SEEMP_API_apS__get_PARENTAL_CONTROL_ENABLED_ 144 +#define SEEMP_API_apS__get_PARENTAL_CONTROL_LAST_UPDATE_ 145 +#define SEEMP_API_apS__get_PARENTAL_CONTROL_REDIRECT_URL_ 146 +#define SEEMP_API_apS__get_RADIO_BLUETOOTH_ 147 +#define SEEMP_API_apS__get_RADIO_CELL_ 148 +#define SEEMP_API_apS__get_RADIO_NFC_ 149 +#define SEEMP_API_apS__get_RADIO_WIFI_ 150 +#define SEEMP_API_apS__get_SYS_PROP_SETTING_VERSION_ 151 +#define SEEMP_API_apS__get_SETTINGS_CLASSNAME_ 152 +#define SEEMP_API_apS__get_TEXT_AUTO_CAPS_ 153 +#define SEEMP_API_apS__get_TEXT_AUTO_PUNCTUATE_ 154 +#define SEEMP_API_apS__get_TEXT_AUTO_REPLACE_ 155 +#define SEEMP_API_apS__get_TEXT_SHOW_PASSWORD_ 156 +#define SEEMP_API_apS__get_USB_MASS_STORAGE_ENABLED_ 157 +#define SEEMP_API_apS__get_VIBRATE_ON_ 158 +#define SEEMP_API_apS__get_HAPTIC_FEEDBACK_ENABLED_ 159 +#define SEEMP_API_apS__get_VOLUME_ALARM_ 160 +#define SEEMP_API_apS__get_VOLUME_BLUETOOTH_SCO_ 161 +#define SEEMP_API_apS__get_VOLUME_MUSIC_ 162 +#define SEEMP_API_apS__get_VOLUME_NOTIFICATION_ 163 +#define SEEMP_API_apS__get_VOLUME_RING_ 164 +#define SEEMP_API_apS__get_VOLUME_SYSTEM_ 165 +#define SEEMP_API_apS__get_VOLUME_VOICE_ 166 +#define SEEMP_API_apS__get_SOUND_EFFECTS_ENABLED_ 167 +#define SEEMP_API_apS__get_MODE_RINGER_STREAMS_AFFECTED_ 168 +#define SEEMP_API_apS__get_MUTE_STREAMS_AFFECTED_ 169 +#define SEEMP_API_apS__get_NOTIFICATION_SOUND_ 170 +#define SEEMP_API_apS__get_APPEND_FOR_LAST_AUDIBLE_ 171 +#define SEEMP_API_apS__get_WIFI_MAX_DHCP_RETRY_COUNT_ 172 +#define SEEMP_API_apS__get_WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MS_ 173 +#define SEEMP_API_apS__get_WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON_ 174 +#define SEEMP_API_apS__get_WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY_ 175 +#define SEEMP_API_apS__get_WIFI_NUM_OPEN_NETWORKS_KEPT_ 176 +#define SEEMP_API_apS__get_WIFI_ON_ 177 +#define SEEMP_API_apS__get_WIFI_SLEEP_POLICY_ 178 +#define SEEMP_API_apS__get_WIFI_SLEEP_POLICY_DEFAULT_ 179 +#define SEEMP_API_apS__get_WIFI_SLEEP_POLICY_NEVER_ 180 +#define SEEMP_API_apS__get_WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED_ 181 +#define SEEMP_API_apS__get_WIFI_STATIC_DNS1_ 182 +#define SEEMP_API_apS__get_WIFI_STATIC_DNS2_ 183 +#define SEEMP_API_apS__get_WIFI_STATIC_GATEWAY_ 184 +#define SEEMP_API_apS__get_WIFI_STATIC_IP_ 185 +#define SEEMP_API_apS__get_WIFI_STATIC_NETMASK_ 186 +#define SEEMP_API_apS__get_WIFI_USE_STATIC_IP_ 187 +#define SEEMP_API_apS__get_WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGE_ 188 +#define SEEMP_API_apS__get_WIFI_WATCHDOG_AP_COUNT_ 189 +#define SEEMP_API_apS__get_WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MS_ 190 +#define SEEMP_API_apS__get_WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLED_ 191 +#define SEEMP_API_apS__get_WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MS_ 192 +#define SEEMP_API_apS__get_WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNT_ 193 +#define SEEMP_API_apS__get_WIFI_WATCHDOG_MAX_AP_CHECKS_ 194 +#define SEEMP_API_apS__get_WIFI_WATCHDOG_ON_ 195 +#define SEEMP_API_apS__get_WIFI_WATCHDOG_PING_COUNT_ 196 +#define SEEMP_API_apS__get_WIFI_WATCHDOG_PING_DELAY_MS_ 197 +#define SEEMP_API_apS__get_WIFI_WATCHDOG_PING_TIMEOUT_MS_ 198 +#define SEEMP_API_apS__put_ACCELEROMETER_ROTATION_ 199 +#define SEEMP_API_apS__put_USER_ROTATION_ 200 +#define SEEMP_API_apS__put_ADB_ENABLED_ 201 +#define SEEMP_API_apS__put_DEBUG_APP_ 202 +#define SEEMP_API_apS__put_WAIT_FOR_DEBUGGER_ 203 +#define SEEMP_API_apS__put_AIRPLANE_MODE_ON_ 204 +#define SEEMP_API_apS__put_AIRPLANE_MODE_RADIOS_ 205 +#define SEEMP_API_apS__put_ALARM_ALERT_ 206 +#define SEEMP_API_apS__put_NEXT_ALARM_FORMATTED_ 207 +#define SEEMP_API_apS__put_ALWAYS_FINISH_ACTIVITIES_ 208 +#define SEEMP_API_apS__put_ANDROID_ID_ 209 +#define SEEMP_API_apS__put_LOGGING_ID_ 210 +#define SEEMP_API_apS__put_ANIMATOR_DURATION_SCALE_ 211 +#define SEEMP_API_apS__put_WINDOW_ANIMATION_SCALE_ 212 +#define SEEMP_API_apS__put_FONT_SCALE_ 213 +#define SEEMP_API_apS__put_SCREEN_BRIGHTNESS_ 214 +#define SEEMP_API_apS__put_SCREEN_BRIGHTNESS_MODE_ 215 +#define SEEMP_API_apS__put_SCREEN_BRIGHTNESS_MODE_AUTOMATIC_ 216 +#define SEEMP_API_apS__put_SCREEN_BRIGHTNESS_MODE_MANUAL_ 217 +#define SEEMP_API_apS__put_SCREEN_OFF_TIMEOUT_ 218 +#define SEEMP_API_apS__put_DIM_SCREEN_ 219 +#define SEEMP_API_apS__put_TRANSITION_ANIMATION_SCALE_ 220 +#define SEEMP_API_apS__put_STAY_ON_WHILE_PLUGGED_IN_ 221 +#define SEEMP_API_apS__put_WALLPAPER_ACTIVITY_ 222 +#define SEEMP_API_apS__put_SHOW_PROCESSES_ 223 +#define SEEMP_API_apS__put_SHOW_WEB_SUGGESTIONS_ 224 +#define SEEMP_API_apS__put_SHOW_GTALK_SERVICE_STATUS_ 225 +#define SEEMP_API_apS__put_USE_GOOGLE_MAIL_ 226 +#define SEEMP_API_apS__put_AUTO_TIME_ 227 +#define SEEMP_API_apS__put_AUTO_TIME_ZONE_ 228 +#define SEEMP_API_apS__put_DATE_FORMAT_ 229 +#define SEEMP_API_apS__put_TIME_12_24_ 230 +#define SEEMP_API_apS__put_BLUETOOTH_DISCOVERABILITY_ 231 +#define SEEMP_API_apS__put_BLUETOOTH_DISCOVERABILITY_TIMEOUT_ 232 +#define SEEMP_API_apS__put_BLUETOOTH_ON_ 233 +#define SEEMP_API_apS__put_DEVICE_PROVISIONED_ 234 +#define SEEMP_API_apS__put_SETUP_WIZARD_HAS_RUN_ 235 +#define SEEMP_API_apS__put_DTMF_TONE_WHEN_DIALING_ 236 +#define SEEMP_API_apS__put_END_BUTTON_BEHAVIOR_ 237 +#define SEEMP_API_apS__put_RINGTONE_ 238 +#define SEEMP_API_apS__put_MODE_RINGER_ 239 +#define SEEMP_API_apS__put_INSTALL_NON_MARKET_APPS_ 240 +#define SEEMP_API_apS__put_LOCATION_PROVIDERS_ALLOWED_ 241 +#define SEEMP_API_apS__put_LOCK_PATTERN_ENABLED_ 242 +#define SEEMP_API_apS__put_LOCK_PATTERN_TACTILE_FEEDBACK_ENABLED_ 243 +#define SEEMP_API_apS__put_LOCK_PATTERN_VISIBLE_ 244 +#define SEEMP_API_apS__put_NETWORK_PREFERENCE_ 245 +#define SEEMP_API_apS__put_DATA_ROAMING_ 246 +#define SEEMP_API_apS__put_HTTP_PROXY_ 247 +#define SEEMP_API_apS__put_PARENTAL_CONTROL_ENABLED_ 248 +#define SEEMP_API_apS__put_PARENTAL_CONTROL_LAST_UPDATE_ 249 +#define SEEMP_API_apS__put_PARENTAL_CONTROL_REDIRECT_URL_ 250 +#define SEEMP_API_apS__put_RADIO_BLUETOOTH_ 251 +#define SEEMP_API_apS__put_RADIO_CELL_ 252 +#define SEEMP_API_apS__put_RADIO_NFC_ 253 +#define SEEMP_API_apS__put_RADIO_WIFI_ 254 +#define SEEMP_API_apS__put_SYS_PROP_SETTING_VERSION_ 255 +#define SEEMP_API_apS__put_SETTINGS_CLASSNAME_ 256 +#define SEEMP_API_apS__put_TEXT_AUTO_CAPS_ 257 +#define SEEMP_API_apS__put_TEXT_AUTO_PUNCTUATE_ 258 +#define SEEMP_API_apS__put_TEXT_AUTO_REPLACE_ 259 +#define SEEMP_API_apS__put_TEXT_SHOW_PASSWORD_ 260 +#define SEEMP_API_apS__put_USB_MASS_STORAGE_ENABLED_ 261 +#define SEEMP_API_apS__put_VIBRATE_ON_ 262 +#define SEEMP_API_apS__put_HAPTIC_FEEDBACK_ENABLED_ 263 +#define SEEMP_API_apS__put_VOLUME_ALARM_ 264 +#define SEEMP_API_apS__put_VOLUME_BLUETOOTH_SCO_ 265 +#define SEEMP_API_apS__put_VOLUME_MUSIC_ 266 +#define SEEMP_API_apS__put_VOLUME_NOTIFICATION_ 267 +#define SEEMP_API_apS__put_VOLUME_RING_ 268 +#define SEEMP_API_apS__put_VOLUME_SYSTEM_ 269 +#define SEEMP_API_apS__put_VOLUME_VOICE_ 270 +#define SEEMP_API_apS__put_SOUND_EFFECTS_ENABLED_ 271 +#define SEEMP_API_apS__put_MODE_RINGER_STREAMS_AFFECTED_ 272 +#define SEEMP_API_apS__put_MUTE_STREAMS_AFFECTED_ 273 +#define SEEMP_API_apS__put_NOTIFICATION_SOUND_ 274 +#define SEEMP_API_apS__put_APPEND_FOR_LAST_AUDIBLE_ 275 +#define SEEMP_API_apS__put_WIFI_MAX_DHCP_RETRY_COUNT_ 276 +#define SEEMP_API_apS__put_WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MS_ 277 +#define SEEMP_API_apS__put_WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON_ 278 +#define SEEMP_API_apS__put_WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY_ 279 +#define SEEMP_API_apS__put_WIFI_NUM_OPEN_NETWORKS_KEPT_ 280 +#define SEEMP_API_apS__put_WIFI_ON_ 281 +#define SEEMP_API_apS__put_WIFI_SLEEP_POLICY_ 282 +#define SEEMP_API_apS__put_WIFI_SLEEP_POLICY_DEFAULT_ 283 +#define SEEMP_API_apS__put_WIFI_SLEEP_POLICY_NEVER_ 284 +#define SEEMP_API_apS__put_WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED_ 285 +#define SEEMP_API_apS__put_WIFI_STATIC_DNS1_ 286 +#define SEEMP_API_apS__put_WIFI_STATIC_DNS2_ 287 +#define SEEMP_API_apS__put_WIFI_STATIC_GATEWAY_ 288 +#define SEEMP_API_apS__put_WIFI_STATIC_IP_ 289 +#define SEEMP_API_apS__put_WIFI_STATIC_NETMASK_ 290 +#define SEEMP_API_apS__put_WIFI_USE_STATIC_IP_ 291 +#define SEEMP_API_apS__put_WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGE_ 292 +#define SEEMP_API_apS__put_WIFI_WATCHDOG_AP_COUNT_ 293 +#define SEEMP_API_apS__put_WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MS_ 294 +#define SEEMP_API_apS__put_WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLED_ 295 +#define SEEMP_API_apS__put_WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MS_ 296 +#define SEEMP_API_apS__put_WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNT_ 297 +#define SEEMP_API_apS__put_WIFI_WATCHDOG_MAX_AP_CHECKS_ 298 +#define SEEMP_API_apS__put_WIFI_WATCHDOG_ON_ 299 +#define SEEMP_API_apS__put_WIFI_WATCHDOG_PING_COUNT_ 300 +#define SEEMP_API_apS__put_WIFI_WATCHDOG_PING_DELAY_MS_ 301 +#define SEEMP_API_apS__put_WIFI_WATCHDOG_PING_TIMEOUT_MS_ 302 +#define SEEMP_API_Poll__setCumulativeWifiRxMBytes 303 +#define SEEMP_API_Poll__setInstantaneousWifiRxMBytes 304 +#define SEEMP_API_Poll__setCumulativeWifiRxPackets 305 +#define SEEMP_API_Poll__setInstantaneousWifiRxPackets 306 +#define SEEMP_API_Poll__setCumulativeWifiTxMBytes 307 +#define SEEMP_API_Poll__setInstantaneousWifiTxMBytes 308 +#define SEEMP_API_Poll__setCumulativeWifiTxPackets 309 +#define SEEMP_API_Poll__setInstantaneousWifiTxPackets 310 +#define SEEMP_API_Poll__setCumulativeWifiRxTcpMBytes 311 +#define SEEMP_API_Poll__setInstantaneousWifiRxTcpMBytes 312 +#define SEEMP_API_Poll__setCumulativeWifiRxTcpPackets 313 +#define SEEMP_API_Poll__setInstantaneousWifiRxTcpPackets 314 +#define SEEMP_API_Poll__setCumulativeWifiRxUdpMBytes 315 +#define SEEMP_API_Poll__setInstantaneousWifiRxUdpMBytes 316 +#define SEEMP_API_Poll__setCumulativeWifiRxUdpPackets 317 +#define SEEMP_API_Poll__setInstantaneousWifiRxUdpPackets 318 +#define SEEMP_API_Poll__setCumulativeWifiRxOtherMBytes 319 +#define SEEMP_API_Poll__setInstantaneousWifiRxOtherMBytes 320 +#define SEEMP_API_Poll__setCumulativeWifiRxOtherPackets 321 +#define SEEMP_API_Poll__setInstantaneousWifiRxOtherPackets 322 +#define SEEMP_API_Poll__setCumulativeWifiTxTcpMBytes 323 +#define SEEMP_API_Poll__setInstantaneousWifiTxTcpMBytes 324 +#define SEEMP_API_Poll__setCumulativeWifiTxTcpPackets 325 +#define SEEMP_API_Poll__setInstantaneousWifiTxTcpPackets 326 +#define SEEMP_API_Poll__setCumulativeWifiTxUdpMBytes 327 +#define SEEMP_API_Poll__setInstantaneousWifiTxUdpMBytes 328 +#define SEEMP_API_Poll__setCumulativeWifiTxUdpPackets 329 +#define SEEMP_API_Poll__setInstantaneousWifiTxUdpPackets 330 +#define SEEMP_API_Poll__setCumulativeWifiTxOtherMBytes 331 +#define SEEMP_API_Poll__setInstantaneousWifiTxOtherMBytes 332 +#define SEEMP_API_Poll__setCumulativeWifiTxOtherPackets 333 +#define SEEMP_API_Poll__setInstantaneousWifiTxOtherPackets 334 +#define SEEMP_API_Poll__setCumulativeMobileRxMBytes 335 +#define SEEMP_API_Poll__setInstantaneousMobileRxMBytes 336 +#define SEEMP_API_Poll__setCumulativeMobileRxPackets 337 +#define SEEMP_API_Poll__setInstantaneousMobileRxPackets 338 +#define SEEMP_API_Poll__setCumulativeMobileTxMBytes 339 +#define SEEMP_API_Poll__setInstantaneousMobileTxMBytes 340 +#define SEEMP_API_Poll__setCumulativeMobileTxPackets 341 +#define SEEMP_API_Poll__setInstantaneousMobileTxPackets 342 +#define SEEMP_API_Poll__setCumulativeMobileRxTcpMBytes 343 +#define SEEMP_API_Poll__setInstantaneousMobileRxTcpMBytes 344 +#define SEEMP_API_Poll__setCumulativeMobileRxTcpPackets 345 +#define SEEMP_API_Poll__setInstantaneousMobileRxTcpPackets 346 +#define SEEMP_API_Poll__setCumulativeMobileRxUdpMBytes 347 +#define SEEMP_API_Poll__setInstantaneousMobileRxUdpMBytes 348 +#define SEEMP_API_Poll__setCumulativeMobileRxUdpPackets 349 +#define SEEMP_API_Poll__setInstantaneousMobileRxUdpPackets 350 +#define SEEMP_API_Poll__setCumulativeMobileRxOtherMBytes 351 +#define SEEMP_API_Poll__setInstantaneousMobileRxOtherMBytes 352 +#define SEEMP_API_Poll__setCumulativeMobileRxOtherPackets 353 +#define SEEMP_API_Poll__setInstantaneousMobileRxOtherPackets 354 +#define SEEMP_API_Poll__setCumulativeMobileTxTcpMBytes 355 +#define SEEMP_API_Poll__setInstantaneousMobileTxTcpMBytes 356 +#define SEEMP_API_Poll__setCumulativeMobileTxTcpPackets 357 +#define SEEMP_API_Poll__setInstantaneousMobileTxTcpPackets 358 +#define SEEMP_API_Poll__setCumulativeMobileTxUdpMBytes 359 +#define SEEMP_API_Poll__setInstantaneousMobileTxUdpMBytes 360 +#define SEEMP_API_Poll__setCumulativeMobileTxUdpPackets 361 +#define SEEMP_API_Poll__setInstantaneousMobileTxUdpPackets 362 +#define SEEMP_API_Poll__setCumulativeMobileTxOtherMBytes 363 +#define SEEMP_API_Poll__setInstantaneousMobileTxOtherMBytes 364 +#define SEEMP_API_Poll__setCumulativeMobileTxOtherPackets 365 +#define SEEMP_API_Poll__setInstantaneousMobileTxOtherPackets 366 +#define SEEMP_API_Poll__setNumSockets 367 +#define SEEMP_API_Poll__setNumTcpStateListen 368 +#define SEEMP_API_Poll__setNumTcpStateEstablished 369 +#define SEEMP_API_Poll__setNumLocalIp 370 +#define SEEMP_API_Poll__setNumLocalPort 371 +#define SEEMP_API_Poll__setNumRemoteIp 372 +#define SEEMP_API_Poll__setNumRemotePort 373 +#define SEEMP_API_Poll__setNumRemoteTuple 374 +#define SEEMP_API_Poll__setNumInode 375 +#define SEEMP_API_Instrumentation__startActivitySync 376 +#define SEEMP_API_Instrumentation__execStartActivity 377 +#define SEEMP_API_Instrumentation__execStartActivitiesAsUser 378 +#define SEEMP_API_Instrumentation__execStartActivityAsCaller 379 +#define SEEMP_API_Instrumentation__execStartActivityFromAppTask 380 +#define SEEMP_API_ah_SystemSensorManager__registerListenerImpl 381 +#define SEEMP_API_ah_SystemSensorManager__unregisterListenerImpl 382 +#define SEEMP_API_WindowManagerImpl__addView 383 +#define SEEMP_API_WindowManagerImpl__updateViewLayout 384 +#define SEEMP_API_ActivityManagerService__applyOomAdjLocked 385 +#define SEEMP_API_ProcessRecord__makeActive 386 +#define SEEMP_API_ProcessRecord__makeInactive 387 +#define SEEMP_API_TelephonyManager__getSimSerialNumber 388 +#define SEEMP_API_TelephonyManager__getSubscriberId 389 -#endif /* _SEEMP_API_H_ */ +#endif /* _SEEMP_API_H_*/ diff --git a/include/uapi/linux/seemp_param_id.h b/include/uapi/linux/seemp_param_id.h index d4f1894dadd1..0bb14204bbe7 100644 --- a/include/uapi/linux/seemp_param_id.h +++ b/include/uapi/linux/seemp_param_id.h @@ -3,13 +3,16 @@ #define PARAM_ID_LEN 0 #define PARAM_ID_OOM_ADJ 1 -#define PARAM_ID_APP_PID 2 -#define PARAM_ID_VALUE 3 -#define PARAM_ID_RATE 4 -#define PARAM_ID_SENSOR 5 -#define PARAM_ID_SIZE 6 -#define PARAM_ID_FD 7 -#define NUM_PARAM_IDS 8 +#define PARAM_ID_APP_UID 2 +#define PARAM_ID_APP_PID 3 +#define PARAM_ID_VALUE 4 +#define PARAM_ID_SIZE 5 +#define PARAM_ID_FD 6 +#define PARAM_ID_RATE 7 +#define PARAM_ID_SENSOR 8 +#define PARAM_ID_WINDOW_TYPE 9 +#define PARAM_ID_WINDOW_FLAG 10 +#define NUM_PARAM_IDS 11 #ifndef PROVIDE_PARAM_ID int param_id_index(const char *param, const char *end); @@ -20,22 +23,28 @@ int param_id_index(const char *param, const char *end) int id = -1; int len = ((end != NULL) ? (end - param) : (int)strlen(param)); - /**/ if ((len == 3) && !memcmp(param, "len", 3)) + if ((len == 3) && !memcmp(param, "len", 3)) id = 0; else if ((len == 7) && !memcmp(param, "oom_adj", 7)) id = 1; - else if ((len == 7) && !memcmp(param, "app_pid", 7)) + else if ((len == 7) && !memcmp(param, "app_uid", 7)) id = 2; - else if ((len == 5) && !memcmp(param, "value", 5)) + else if ((len == 7) && !memcmp(param, "app_pid", 7)) id = 3; - else if ((len == 4) && !memcmp(param, "rate", 4)) + else if ((len == 5) && !memcmp(param, "value", 5)) id = 4; - else if ((len == 6) && !memcmp(param, "sensor", 6)) - id = 5; else if ((len == 4) && !memcmp(param, "size", 4)) - id = 6; + id = 5; else if ((len == 2) && !memcmp(param, "fd", 2)) + id = 6; + else if ((len == 4) && !memcmp(param, "rate", 4)) id = 7; + else if ((len == 6) && !memcmp(param, "sensor", 6)) + id = 8; + else if ((len == 11) && !memcmp(param, "window_type", 11)) + id = 9; + else if ((len == 11) && !memcmp(param, "window_flag", 11)) + id = 10; return id; } @@ -46,23 +55,39 @@ const char *get_param_id_name(int id) switch (id) { case 0: - name = "len"; break; + name = "len"; + break; case 1: - name = "oom_adj"; break; + name = "oom_adj"; + break; case 2: - name = "app_pid"; break; + name = "app_uid"; + break; case 3: - name = "value"; break; + name = "app_pid"; + break; case 4: - name = "rate"; break; + name = "value"; + break; case 5: - name = "sensor"; break; + name = "size"; + break; case 6: - name = "size"; break; + name = "fd"; + break; case 7: - name = "fd"; break; + name = "rate"; + break; + case 8: + name = "sensor"; + break; + case 9: + name = "window_type"; + break; + case 10: + name = "window_flag"; + break; } - return name; } #endif /* PROVIDE_PARAM_ID */ diff --git a/net/socket.c b/net/socket.c index 1d63a5cdfeaa..d87fdd37e5f6 100644 --- a/net/socket.c +++ b/net/socket.c @@ -1855,8 +1855,6 @@ SYSCALL_DEFINE6(recvfrom, int, fd, void __user *, ubuf, size_t, size, int err, err2; int fput_needed; - seemp_logk_recvfrom(fd, ubuf, size, flags, addr, addr_len); - if (size > INT_MAX) size = INT_MAX; sock = sockfd_lookup_light(fd, &err, &fput_needed);