diff options
author | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2016-12-13 02:11:57 +0100 |
---|---|---|
committer | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2016-12-13 02:11:57 +0100 |
commit | 70d33c2827eb419d5394e6a78666c36dbc8cbc13 (patch) | |
tree | 56fda475ee8a9a6ebda8fa37036b87a234d8be27 | |
parent | ffbabf1dbd74d814f88d03cd1ab69e869c005e58 (diff) | |
download | vendor_replicant-70d33c2827eb419d5394e6a78666c36dbc8cbc13.zip vendor_replicant-70d33c2827eb419d5394e6a78666c36dbc8cbc13.tar.gz vendor_replicant-70d33c2827eb419d5394e6a78666c36dbc8cbc13.tar.bz2 |
update cmsdk api files to latest version
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
-rw-r--r-- | cmsdk/api/5.txt | 342 | ||||
-rw-r--r-- | cmsdk/api/6.txt | 1567 | ||||
-rw-r--r-- | cmsdk/api/7.txt | 1552 | ||||
-rw-r--r-- | cmsdk/system-api/5.txt | 342 | ||||
-rw-r--r-- | cmsdk/system-api/6.txt | 1567 |
5 files changed, 5358 insertions, 12 deletions
diff --git a/cmsdk/api/5.txt b/cmsdk/api/5.txt index 7168d70..7d69561 100644 --- a/cmsdk/api/5.txt +++ b/cmsdk/api/5.txt @@ -196,6 +196,38 @@ package cyanogenmod.app { field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.app.CustomTileListenerService"; } + public class LiveLockScreenInfo implements android.os.Parcelable { + ctor public LiveLockScreenInfo(android.content.ComponentName, int); + ctor public LiveLockScreenInfo(); + method public cyanogenmod.app.LiveLockScreenInfo clone(); + method public int describeContents(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.app.LiveLockScreenInfo> CREATOR; + field public static final int PRIORITY_DEFAULT = 0; // 0x0 + field public static final int PRIORITY_HIGH = 1; // 0x1 + field public static final int PRIORITY_LOW = -1; // 0xffffffff + field public static final int PRIORITY_MAX = 2; // 0x2 + field public static final int PRIORITY_MIN = -2; // 0xfffffffe + field public android.content.ComponentName component; + field public int priority; + } + + public static class LiveLockScreenInfo.Builder { + ctor public LiveLockScreenInfo.Builder(); + method public cyanogenmod.app.LiveLockScreenInfo build(); + method public cyanogenmod.app.LiveLockScreenInfo.Builder setComponent(android.content.ComponentName); + method public cyanogenmod.app.LiveLockScreenInfo.Builder setPriority(int); + } + + public class LiveLockScreenManager { + method public void cancel(int); + method public cyanogenmod.app.LiveLockScreenInfo getDefaultLiveLockScreen(); + method public static cyanogenmod.app.LiveLockScreenManager getInstance(android.content.Context); + method public void setDefaultLiveLockScreen(cyanogenmod.app.LiveLockScreenInfo); + method public boolean show(int, cyanogenmod.app.LiveLockScreenInfo); + field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.app.LiveLockScreenManagerService"; + } + public class PartnerInterface { method public java.lang.String getCurrentHotwordPackageName(); method public static cyanogenmod.app.PartnerInterface getInstance(android.content.Context); @@ -395,7 +427,7 @@ package cyanogenmod.externalviews { protected abstract class KeyguardExternalViewProviderService.Provider { ctor protected KeyguardExternalViewProviderService.Provider(android.os.Bundle); - method protected final void collapseNotificationPanel(); + method protected final deprecated void collapseNotificationPanel(); method protected android.os.Bundle getOptions(); method protected void onAttach(); method protected abstract void onBouncerShowing(boolean); @@ -403,11 +435,13 @@ package cyanogenmod.externalviews { method protected void onDetach(); method protected abstract void onKeyguardDismissed(); method protected abstract void onKeyguardShowing(boolean); + method protected void onLockscreenSlideOffsetChanged(float); method protected abstract void onScreenTurnedOff(); method protected abstract void onScreenTurnedOn(); method protected final boolean requestDismiss(); method protected final boolean requestDismissAndStartActivity(android.content.Intent); method protected final void setInteractivity(boolean); + method protected final void slideLockscreenIn(); } } @@ -532,8 +566,8 @@ package cyanogenmod.os { public class Build { ctor public Build(); method public static java.lang.String getNameForSDKInt(int); - field public static final java.lang.String CYANOGENMOD_DISPLAY_VERSION = "ro.cm.display.version"; - field public static final java.lang.String CYANOGENMOD_VERSION = "ro.cm.version"; + field public static final java.lang.String CYANOGENMOD_DISPLAY_VERSION; + field public static final java.lang.String CYANOGENMOD_VERSION; field public static final java.lang.String UNKNOWN = "unknown"; } @@ -551,6 +585,16 @@ package cyanogenmod.os { field public static final int ELDERBERRY = 5; // 0x5 } + public final class Concierge { + method public static cyanogenmod.os.Concierge.ParcelInfo prepareParcel(android.os.Parcel); + method public static cyanogenmod.os.Concierge.ParcelInfo receiveParcel(android.os.Parcel); + } + + public static final class Concierge.ParcelInfo { + method public void complete(); + method public int getParcelVersion(); + } + } package cyanogenmod.platform { @@ -563,7 +607,10 @@ package cyanogenmod.platform { ctor public Manifest.permission(); field public static final java.lang.String ACCESS_APP_SUGGESTIONS = "cyanogenmod.permission.ACCESS_APP_SUGGESTIONS"; field public static final java.lang.String ACCESS_THEME_MANAGER = "cyanogenmod.permission.ACCESS_THEME_MANAGER"; + field public static final java.lang.String ACCESS_WEATHER_MANAGER = "cyanogenmod.permission.ACCESS_WEATHER_MANAGER"; + field public static final java.lang.String BIND_WEATHER_PROVIDER_SERVICE = "cyanogenmod.permission.BIND_WEATHER_PROVIDER_SERVICE"; field public static final java.lang.String HARDWARE_ABSTRACTION_ACCESS = "cyanogenmod.permission.HARDWARE_ABSTRACTION_ACCESS"; + field public static final java.lang.String LIVE_LOCK_SCREEN_MANAGER_ACCESS = "cyanogenmod.permission.LIVE_LOCK_SCREEN_MANAGER_ACCESS"; field public static final java.lang.String MANAGE_ALARMS = "cyanogenmod.permission.MANAGE_ALARMS"; field public static final java.lang.String MANAGE_PERSISTENT_STORAGE = "cyanogenmod.permission.MANAGE_PERSISTENT_STORAGE"; field public static final java.lang.String MODIFY_MSIM_PHONE_STATE = "cyanogenmod.permission.MODIFY_MSIM_PHONE_STATE"; @@ -574,13 +621,17 @@ package cyanogenmod.platform { field public static final java.lang.String PROTECTED_APP = "cyanogenmod.permission.PROTECTED_APP"; field public static final java.lang.String PUBLISH_CUSTOM_TILE = "cyanogenmod.permission.PUBLISH_CUSTOM_TILE"; field public static final java.lang.String READ_ALARMS = "cyanogenmod.permission.READ_ALARMS"; + field public static final java.lang.String READ_DATAUSAGE = "cyanogenmod.permission.READ_DATAUSAGE"; field public static final java.lang.String READ_MSIM_PHONE_STATE = "cyanogenmod.permission.READ_MSIM_PHONE_STATE"; field public static final java.lang.String READ_THEMES = "cyanogenmod.permission.READ_THEMES"; - field public static final java.lang.String THIRD_PARTY_KEYGUARD = "android.permission.THIRD_PARTY_KEYGUARD"; + field public static final java.lang.String READ_WEATHER = "cyanogenmod.permission.READ_WEATHER"; + field public static final java.lang.String THIRD_PARTY_KEYGUARD = "cyanogenmod.permission.THIRD_PARTY_KEYGUARD"; field public static final java.lang.String WRITE_ALARMS = "cyanogenmod.permission.WRITE_ALARMS"; + field public static final java.lang.String WRITE_DATAUSAGE = "cyanogenmod.permission.WRITE_DATAUSAGE"; field public static final java.lang.String WRITE_SECURE_SETTINGS = "cyanogenmod.permission.WRITE_SECURE_SETTINGS"; field public static final java.lang.String WRITE_SETTINGS = "cyanogenmod.permission.WRITE_SETTINGS"; field public static final java.lang.String WRITE_THEMES = "cyanogenmod.permission.WRITE_THEMES"; + field public static final java.lang.String WRITE_WEATHER = "cyanogenmod.permission.WRITE_WEATHER"; } public final class R { @@ -742,6 +793,7 @@ package cyanogenmod.providers { public final class CMSettings { ctor public CMSettings(); + field public static final java.lang.String ACTION_DATA_USAGE = "cyanogenmod.settings.ACTION_DATA_USAGE"; field public static final java.lang.String AUTHORITY = "cmsettings"; } @@ -765,6 +817,7 @@ package cyanogenmod.providers { method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String); field public static final android.net.Uri CONTENT_URI; field public static final java.lang.String SYS_PROP_CM_SETTING_VERSION = "sys.cm_settings_global_version"; + field public static final java.lang.String WEATHER_TEMPERATURE_UNIT = "weather_temperature_unit"; } public static final class CMSettings.Secure extends android.provider.Settings.NameValueTable { @@ -890,6 +943,39 @@ package cyanogenmod.providers { field public static final java.lang.String ZEN_PRIORITY_ALLOW_LIGHTS = "zen_priority_allow_lights"; } + public final class DataUsageContract { + ctor public DataUsageContract(); + field public static final java.lang.String ACTIVE = "active"; + field public static final android.net.Uri BASE_CONTENT_URI; + field public static final java.lang.String BYTES = "bytes"; + field public static final int COLUMN_OF_ACTIVE = 3; // 0x3 + field public static final int COLUMN_OF_BYTES = 5; // 0x5 + field public static final int COLUMN_OF_ENABLE = 2; // 0x2 + field public static final int COLUMN_OF_EXTRA = 10; // 0xa + field public static final int COLUMN_OF_FAST_AVG = 8; // 0x8 + field public static final int COLUMN_OF_FAST_SAMPLES = 9; // 0x9 + field public static final int COLUMN_OF_ID = 0; // 0x0 + field public static final int COLUMN_OF_LABEL = 4; // 0x4 + field public static final int COLUMN_OF_SLOW_AVG = 6; // 0x6 + field public static final int COLUMN_OF_SLOW_SAMPLES = 7; // 0x7 + field public static final int COLUMN_OF_UID = 1; // 0x1 + field public static final java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.itemdatausage_item"; + field public static final java.lang.String CONTENT_TYPE = "vnd.android.cursor.dirdatausage_item"; + field public static final android.net.Uri CONTENT_URI; + field public static final java.lang.String DATAUSAGE_AUTHORITY = "org.cyanogenmod.providers.datausage"; + field public static final java.lang.String DATAUSAGE_TABLE = "datausage"; + field public static final java.lang.String ENABLE = "enable"; + field public static final java.lang.String EXTRA = "extra"; + field public static final java.lang.String FAST_AVG = "fast_avg"; + field public static final java.lang.String FAST_SAMPLES = "fast_samples"; + field public static final java.lang.String LABEL = "label"; + field public static final java.lang.String[] PROJECTION_ALL; + field public static final java.lang.String SLOW_AVG = "slow_avg"; + field public static final java.lang.String SLOW_SAMPLES = "slow_samples"; + field public static final java.lang.String UID = "uid"; + field public static final java.lang.String _ID = "_id"; + } + public class ThemesContract { ctor public ThemesContract(); field public static final java.lang.String AUTHORITY = "com.cyanogenmod.themes"; @@ -1010,6 +1096,95 @@ package cyanogenmod.providers { field public static final int UPDATING = 2; // 0x2 } + public class WeatherContract { + ctor public WeatherContract(); + field public static final java.lang.String AUTHORITY = "com.cyanogenmod.weather"; + field public static final android.net.Uri AUTHORITY_URI; + } + + public static class WeatherContract.WeatherColumns { + ctor public WeatherContract.WeatherColumns(); + field public static final android.net.Uri CONTENT_URI; + field public static final android.net.Uri CURRENT_AND_FORECAST_WEATHER_URI; + field public static final java.lang.String CURRENT_CITY = "city"; + field public static final java.lang.String CURRENT_CONDITION = "condition"; + field public static final java.lang.String CURRENT_CONDITION_CODE = "condition_code"; + field public static final java.lang.String CURRENT_HUMIDITY = "humidity"; + field public static final java.lang.String CURRENT_TEMPERATURE = "temperature"; + field public static final java.lang.String CURRENT_TEMPERATURE_UNIT = "temperature_unit"; + field public static final java.lang.String CURRENT_TIMESTAMP = "timestamp"; + field public static final android.net.Uri CURRENT_WEATHER_URI; + field public static final java.lang.String CURRENT_WIND_DIRECTION = "wind_direction"; + field public static final java.lang.String CURRENT_WIND_SPEED = "wind_speed"; + field public static final java.lang.String CURRENT_WIND_SPEED_UNIT = "wind_speed_unit"; + field public static final java.lang.String FORECAST_CONDITION = "forecast_condition"; + field public static final java.lang.String FORECAST_CONDITION_CODE = "forecast_condition_code"; + field public static final java.lang.String FORECAST_HIGH = "forecast_high"; + field public static final java.lang.String FORECAST_LOW = "forecast_low"; + field public static final android.net.Uri FORECAST_WEATHER_URI; + field public static final java.lang.String TODAYS_HIGH_TEMPERATURE = "todays_high"; + field public static final java.lang.String TODAYS_LOW_TEMPERATURE = "todays_low"; + } + + public static final class WeatherContract.WeatherColumns.TempUnit { + field public static final int CELSIUS = 1; // 0x1 + field public static final int FAHRENHEIT = 2; // 0x2 + } + + public static final class WeatherContract.WeatherColumns.WeatherCode { + field public static final int BLOWING_SNOW = 14; // 0xe + field public static final int BLUSTERY = 22; // 0x16 + field public static final int CLEAR_NIGHT = 30; // 0x1e + field public static final int CLOUDY = 25; // 0x19 + field public static final int COLD = 24; // 0x18 + field public static final int DRIZZLE = 9; // 0x9 + field public static final int DUST = 18; // 0x12 + field public static final int FAIR_DAY = 33; // 0x21 + field public static final int FAIR_NIGHT = 32; // 0x20 + field public static final int FOGGY = 19; // 0x13 + field public static final int FREEZING_DRIZZLE = 8; // 0x8 + field public static final int FREEZING_RAIN = 10; // 0xa + field public static final int HAIL = 16; // 0x10 + field public static final int HAZE = 20; // 0x14 + field public static final int HEAVY_SNOW = 39; // 0x27 + field public static final int HOT = 35; // 0x23 + field public static final int HURRICANE = 2; // 0x2 + field public static final int ISOLATED_THUNDERSHOWERS = 44; // 0x2c + field public static final int ISOLATED_THUNDERSTORMS = 36; // 0x24 + field public static final int LIGHT_SNOW_SHOWERS = 13; // 0xd + field public static final int MIXED_RAIN_AND_HAIL = 34; // 0x22 + field public static final int MIXED_RAIN_AND_SLEET = 6; // 0x6 + field public static final int MIXED_RAIN_AND_SNOW = 5; // 0x5 + field public static final int MIXED_SNOW_AND_SLEET = 7; // 0x7 + field public static final int MOSTLY_CLOUDY_DAY = 27; // 0x1b + field public static final int MOSTLY_CLOUDY_NIGHT = 26; // 0x1a + field public static final int NOT_AVAILABLE = 3200; // 0xc80 + field public static final int PARTLY_CLOUDY = 41; // 0x29 + field public static final int PARTLY_CLOUDY_DAY = 29; // 0x1d + field public static final int PARTLY_CLOUDY_NIGHT = 28; // 0x1c + field public static final int SCATTERED_SHOWERS = 38; // 0x26 + field public static final int SCATTERED_SNOW_SHOWERS = 40; // 0x28 + field public static final int SCATTERED_THUNDERSTORMS = 37; // 0x25 + field public static final int SEVERE_THUNDERSTORMS = 3; // 0x3 + field public static final int SHOWERS = 11; // 0xb + field public static final int SLEET = 17; // 0x11 + field public static final int SMOKY = 21; // 0x15 + field public static final int SNOW = 15; // 0xf + field public static final int SNOW_FLURRIES = 12; // 0xc + field public static final int SNOW_SHOWERS = 43; // 0x2b + field public static final int SUNNY = 31; // 0x1f + field public static final int THUNDERSHOWER = 42; // 0x2a + field public static final int THUNDERSTORMS = 4; // 0x4 + field public static final int TORNADO = 0; // 0x0 + field public static final int TROPICAL_STORM = 1; // 0x1 + field public static final int WINDY = 23; // 0x17 + } + + public static final class WeatherContract.WeatherColumns.WindSpeedUnit { + field public static final int KPH = 1; // 0x1 + field public static final int MPH = 2; // 0x2 + } + } package cyanogenmod.themes { @@ -1073,7 +1248,7 @@ package cyanogenmod.themes { public class ThemeManager { method public deprecated void addClient(cyanogenmod.themes.ThemeManager.ThemeChangeListener); method public void applyDefaultTheme(); - method public static cyanogenmod.themes.ThemeManager getInstance(); + method public static cyanogenmod.themes.ThemeManager getInstance(android.content.Context); method public cyanogenmod.themes.ThemeChangeRequest.RequestType getLastThemeChangeRequestType(); method public long getLastThemeChangeTime(); method public int getProgress(); @@ -1091,7 +1266,7 @@ package cyanogenmod.themes { method public void requestThemeChange(java.util.Map<java.lang.String, java.lang.String>); method public void requestThemeChange(java.util.Map<java.lang.String, java.lang.String>, boolean); method public void requestThemeChange(cyanogenmod.themes.ThemeChangeRequest, boolean); - method public void unregisterProcessingListener(cyanogenmod.themes.ThemeManager.ThemeChangeListener); + method public void unregisterProcessingListener(cyanogenmod.themes.ThemeManager.ThemeProcessingListener); method public void unregisterThemeChangeListener(cyanogenmod.themes.ThemeManager.ThemeChangeListener); } @@ -1122,3 +1297,158 @@ package cyanogenmod.util { } +package cyanogenmod.weather { + + public class CMWeatherManager { + method public void cancelRequest(int); + method public java.lang.String getActiveWeatherServiceProviderLabel(); + method public static cyanogenmod.weather.CMWeatherManager getInstance(android.content.Context); + method public int lookupCity(java.lang.String, cyanogenmod.weather.CMWeatherManager.LookupCityRequestListener); + method public void registerWeatherServiceProviderChangeListener(cyanogenmod.weather.CMWeatherManager.WeatherServiceProviderChangeListener); + method public int requestWeatherUpdate(android.location.Location, cyanogenmod.weather.CMWeatherManager.WeatherUpdateRequestListener); + method public int requestWeatherUpdate(cyanogenmod.weather.WeatherLocation, cyanogenmod.weather.CMWeatherManager.WeatherUpdateRequestListener); + method public void unregisterWeatherServiceProviderChangeListener(cyanogenmod.weather.CMWeatherManager.WeatherServiceProviderChangeListener); + } + + public static abstract interface CMWeatherManager.LookupCityRequestListener { + method public abstract void onLookupCityRequestCompleted(int, java.util.List<cyanogenmod.weather.WeatherLocation>); + } + + public static final class CMWeatherManager.RequestStatus { + field public static final int ALREADY_IN_PROGRESS = -3; // 0xfffffffd + field public static final int COMPLETED = 1; // 0x1 + field public static final int FAILED = -1; // 0xffffffff + field public static final int NO_MATCH_FOUND = -4; // 0xfffffffc + field public static final int SUBMITTED_TOO_SOON = -2; // 0xfffffffe + } + + public static abstract interface CMWeatherManager.WeatherServiceProviderChangeListener { + method public abstract void onWeatherServiceProviderChanged(java.lang.String); + } + + public static abstract interface CMWeatherManager.WeatherUpdateRequestListener { + method public abstract void onWeatherRequestCompleted(int, cyanogenmod.weather.WeatherInfo); + } + + public final class RequestInfo implements android.os.Parcelable { + method public int describeContents(); + method public java.lang.String getCityName(); + method public android.location.Location getLocation(); + method public int getRequestType(); + method public int getTemperatureUnit(); + method public cyanogenmod.weather.WeatherLocation getWeatherLocation(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.weather.RequestInfo> CREATOR; + field public static final int TYPE_LOOKUP_CITY_NAME_REQ = 3; // 0x3 + field public static final int TYPE_WEATHER_BY_GEO_LOCATION_REQ = 1; // 0x1 + field public static final int TYPE_WEATHER_BY_WEATHER_LOCATION_REQ = 2; // 0x2 + } + + public final class WeatherInfo implements android.os.Parcelable { + method public int describeContents(); + method public java.lang.String getCity(); + method public int getConditionCode(); + method public java.util.List<cyanogenmod.weather.WeatherInfo.DayForecast> getForecasts(); + method public double getHumidity(); + method public double getTemperature(); + method public int getTemperatureUnit(); + method public long getTimestamp(); + method public double getTodaysHigh(); + method public double getTodaysLow(); + method public double getWindDirection(); + method public double getWindSpeed(); + method public int getWindSpeedUnit(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.weather.WeatherInfo> CREATOR; + } + + public static class WeatherInfo.Builder { + ctor public WeatherInfo.Builder(java.lang.String, double, int); + method public cyanogenmod.weather.WeatherInfo build(); + method public cyanogenmod.weather.WeatherInfo.Builder setForecast(java.util.List<cyanogenmod.weather.WeatherInfo.DayForecast>); + method public cyanogenmod.weather.WeatherInfo.Builder setHumidity(double); + method public cyanogenmod.weather.WeatherInfo.Builder setTimestamp(long); + method public cyanogenmod.weather.WeatherInfo.Builder setTodaysHigh(double); + method public cyanogenmod.weather.WeatherInfo.Builder setTodaysLow(double); + method public cyanogenmod.weather.WeatherInfo.Builder setWeatherCondition(int); + method public cyanogenmod.weather.WeatherInfo.Builder setWind(double, double, int); + } + + public static class WeatherInfo.DayForecast implements android.os.Parcelable { + method public int describeContents(); + method public int getConditionCode(); + method public double getHigh(); + method public double getLow(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.weather.WeatherInfo.DayForecast> CREATOR; + } + + public static class WeatherInfo.DayForecast.Builder { + ctor public WeatherInfo.DayForecast.Builder(int); + method public cyanogenmod.weather.WeatherInfo.DayForecast build(); + method public cyanogenmod.weather.WeatherInfo.DayForecast.Builder setHigh(double); + method public cyanogenmod.weather.WeatherInfo.DayForecast.Builder setLow(double); + } + + public final class WeatherLocation implements android.os.Parcelable { + method public int describeContents(); + method public java.lang.String getCity(); + method public java.lang.String getCityId(); + method public java.lang.String getCountry(); + method public java.lang.String getCountryId(); + method public java.lang.String getPostalCode(); + method public java.lang.String getState(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.weather.WeatherLocation> CREATOR; + } + + public static class WeatherLocation.Builder { + ctor public WeatherLocation.Builder(java.lang.String, java.lang.String); + ctor public WeatherLocation.Builder(java.lang.String); + method public cyanogenmod.weather.WeatherLocation build(); + method public cyanogenmod.weather.WeatherLocation.Builder setCountry(java.lang.String); + method public cyanogenmod.weather.WeatherLocation.Builder setCountryId(java.lang.String); + method public cyanogenmod.weather.WeatherLocation.Builder setPostalCode(java.lang.String); + method public cyanogenmod.weather.WeatherLocation.Builder setState(java.lang.String); + } + +} + +package cyanogenmod.weatherservice { + + public final class ServiceRequest { + method public void complete(cyanogenmod.weatherservice.ServiceRequestResult); + method public void fail(); + method public cyanogenmod.weather.RequestInfo getRequestInfo(); + method public void reject(int); + } + + public final class ServiceRequestResult implements android.os.Parcelable { + method public int describeContents(); + method public java.util.List<cyanogenmod.weather.WeatherLocation> getLocationLookupList(); + method public cyanogenmod.weather.WeatherInfo getWeatherInfo(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.weatherservice.ServiceRequestResult> CREATOR; + } + + public static class ServiceRequestResult.Builder { + ctor public ServiceRequestResult.Builder(); + ctor public ServiceRequestResult.Builder(cyanogenmod.weather.WeatherInfo); + ctor public ServiceRequestResult.Builder(java.util.List<cyanogenmod.weather.WeatherLocation>); + method public cyanogenmod.weatherservice.ServiceRequestResult build(); + } + + public abstract class WeatherProviderService extends android.app.Service { + ctor public WeatherProviderService(); + method protected final void attachBaseContext(android.content.Context); + method public final android.os.IBinder onBind(android.content.Intent); + method protected void onConnected(); + method protected void onDisconnected(); + method protected abstract void onRequestCancelled(cyanogenmod.weatherservice.ServiceRequest); + method protected abstract void onRequestSubmitted(cyanogenmod.weatherservice.ServiceRequest); + field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.weatherservice.WeatherProviderService"; + field public static final java.lang.String SERVICE_META_DATA = "cyanogenmod.weatherservice"; + } + +} + diff --git a/cmsdk/api/6.txt b/cmsdk/api/6.txt new file mode 100644 index 0000000..5a57e67 --- /dev/null +++ b/cmsdk/api/6.txt @@ -0,0 +1,1567 @@ +package cyanogenmod.alarmclock { + + public final class ClockContract { + field public static final java.lang.String AUTHORITY = "com.android.deskclock"; + } + + public static abstract interface ClockContract.AlarmSettingColumns { + field public static final java.lang.String INCREASING_VOLUME = "incvol"; + field public static final java.lang.String LABEL = "label"; + field public static final java.lang.String NO_RINGTONE; + field public static final android.net.Uri NO_RINGTONE_URI; + field public static final java.lang.String PROFILE = "profile"; + field public static final java.lang.String RINGTONE = "ringtone"; + field public static final java.lang.String VIBRATE = "vibrate"; + } + + public static abstract interface ClockContract.AlarmsColumns implements cyanogenmod.alarmclock.ClockContract.AlarmSettingColumns { + field public static final android.net.Uri CONTENT_URI; + field public static final java.lang.String DAYS_OF_WEEK = "daysofweek"; + field public static final java.lang.String DELETE_AFTER_USE = "delete_after_use"; + field public static final java.lang.String ENABLED = "enabled"; + field public static final java.lang.String HOUR = "hour"; + field public static final java.lang.String MINUTES = "minutes"; + } + + public static abstract interface ClockContract.CitiesColumns { + field public static final java.lang.String CITY_ID = "city_id"; + field public static final java.lang.String CITY_NAME = "city_name"; + field public static final android.net.Uri CONTENT_URI; + field public static final java.lang.String TIMEZONE_NAME = "timezone_name"; + field public static final java.lang.String TIMEZONE_OFFSET = "timezone_offset"; + } + + public static abstract interface ClockContract.InstancesColumns implements cyanogenmod.alarmclock.ClockContract.AlarmSettingColumns { + field public static final java.lang.String ALARM_ID = "alarm_id"; + field public static final java.lang.String ALARM_STATE = "alarm_state"; + field public static final android.net.Uri CONTENT_URI; + field public static final java.lang.String DAY = "day"; + field public static final int DISMISSED_STATE = 7; // 0x7 + field public static final int FIRED_STATE = 5; // 0x5 + field public static final int HIDE_NOTIFICATION_STATE = 2; // 0x2 + field public static final int HIGH_NOTIFICATION_STATE = 3; // 0x3 + field public static final java.lang.String HOUR = "hour"; + field public static final int LOW_NOTIFICATION_STATE = 1; // 0x1 + field public static final java.lang.String MINUTES = "minutes"; + field public static final int MISSED_STATE = 6; // 0x6 + field public static final java.lang.String MONTH = "month"; + field public static final int POWER_OFF_ALARM_STATE = -1; // 0xffffffff + field public static final int PREDISMISSED_STATE = 8; // 0x8 + field public static final int SILENT_STATE = 0; // 0x0 + field public static final int SNOOZE_STATE = 4; // 0x4 + field public static final java.lang.String YEAR = "year"; + } + + public class CyanogenModAlarmClock { + ctor public CyanogenModAlarmClock(); + method public static android.content.Intent createAlarmIntent(android.content.Context); + field public static final java.lang.String ACTION_SET_ALARM_ENABLED = "cyanogenmod.alarmclock.SET_ALARM_ENABLED"; + field public static final java.lang.String EXTRA_ALARM_ID = "cyanogenmod.intent.extra.alarmclock.ID"; + field public static final java.lang.String EXTRA_ENABLED = "cyanogenmod.intent.extra.alarmclock.ENABLED"; + field public static final java.lang.String MODIFY_ALARMS_PERMISSION = "cyanogenmod.alarmclock.permission.MODIFY_ALARMS"; + field public static final java.lang.String READ_ALARMS_PERMISSION = "cyanogenmod.alarmclock.permission.READ_ALARMS"; + } + +} + +package cyanogenmod.app { + + public class CMStatusBarManager { + method public static cyanogenmod.app.CMStatusBarManager getInstance(android.content.Context); + method public void publishTile(int, cyanogenmod.app.CustomTile); + method public void publishTile(java.lang.String, int, cyanogenmod.app.CustomTile); + method public void publishTileAsUser(java.lang.String, int, cyanogenmod.app.CustomTile, android.os.UserHandle); + method public void removeTile(int); + method public void removeTile(java.lang.String, int); + method public void removeTileAsUser(java.lang.String, int, android.os.UserHandle); + } + + public class CMTelephonyManager { + method public static cyanogenmod.app.CMTelephonyManager getInstance(android.content.Context); + method public java.util.List<android.telephony.SubscriptionInfo> getSubInformation(); + method public boolean isDataConnectionEnabled(); + method public boolean isDataConnectionSelectedOnSub(int); + method public boolean isSubActive(int); + method public void setDataConnectionState(boolean); + method public void setDefaultPhoneSub(int); + method public void setDefaultSmsSub(int); + method public void setSubState(int, boolean); + field public static final int ASK_FOR_SUBSCRIPTION_ID = 0; // 0x0 + } + + public class CustomTile implements android.os.Parcelable { + ctor public CustomTile(android.os.Parcel); + ctor public CustomTile(); + method public cyanogenmod.app.CustomTile clone(); + method public int describeContents(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.app.CustomTile> CREATOR; + field public static final int PSEUDO_GRID_ITEM_MAX_COUNT = 9; // 0x9 + field public boolean collapsePanel; + field public java.lang.String contentDescription; + field public android.app.PendingIntent deleteIntent; + field public cyanogenmod.app.CustomTile.ExpandedStyle expandedStyle; + field public int icon; + field public java.lang.String label; + field public android.app.PendingIntent onClick; + field public android.net.Uri onClickUri; + field public android.app.PendingIntent onLongClick; + field public android.content.Intent onSettingsClick; + field public android.graphics.Bitmap remoteIcon; + field public boolean sensitiveData; + } + + public static class CustomTile.Builder { + ctor public CustomTile.Builder(android.content.Context); + method public cyanogenmod.app.CustomTile build(); + method public cyanogenmod.app.CustomTile.Builder hasSensitiveData(boolean); + method public cyanogenmod.app.CustomTile.Builder setContentDescription(java.lang.String); + method public cyanogenmod.app.CustomTile.Builder setContentDescription(int); + method public cyanogenmod.app.CustomTile.Builder setDeleteIntent(android.app.PendingIntent); + method public cyanogenmod.app.CustomTile.Builder setExpandedStyle(cyanogenmod.app.CustomTile.ExpandedStyle); + method public cyanogenmod.app.CustomTile.Builder setIcon(int); + method public cyanogenmod.app.CustomTile.Builder setIcon(android.graphics.Bitmap); + method public cyanogenmod.app.CustomTile.Builder setLabel(java.lang.String); + method public cyanogenmod.app.CustomTile.Builder setLabel(int); + method public cyanogenmod.app.CustomTile.Builder setOnClickIntent(android.app.PendingIntent); + method public cyanogenmod.app.CustomTile.Builder setOnClickUri(android.net.Uri); + method public cyanogenmod.app.CustomTile.Builder setOnLongClickIntent(android.app.PendingIntent); + method public cyanogenmod.app.CustomTile.Builder setOnSettingsClickIntent(android.content.Intent); + method public cyanogenmod.app.CustomTile.Builder shouldCollapsePanel(boolean); + } + + public static class CustomTile.ExpandedGridItem extends cyanogenmod.app.CustomTile.ExpandedItem { + ctor public CustomTile.ExpandedGridItem(); + method public void setExpandedGridItemBitmap(android.graphics.Bitmap); + method public void setExpandedGridItemDrawable(int); + method public void setExpandedGridItemOnClickIntent(android.app.PendingIntent); + method public void setExpandedGridItemTitle(java.lang.String); + } + + public static class CustomTile.ExpandedItem implements android.os.Parcelable { + ctor protected CustomTile.ExpandedItem(android.os.Parcel); + method public int describeContents(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.app.CustomTile.ExpandedItem> CREATOR; + field public android.graphics.Bitmap itemBitmapResource; + field public int itemDrawableResourceId; + field public java.lang.String itemSummary; + field public java.lang.String itemTitle; + field public android.app.PendingIntent onClickPendingIntent; + } + + public static class CustomTile.ExpandedListItem extends cyanogenmod.app.CustomTile.ExpandedItem { + ctor public CustomTile.ExpandedListItem(); + method public void setExpandedListItemBitmap(android.graphics.Bitmap); + method public void setExpandedListItemDrawable(int); + method public void setExpandedListItemOnClickIntent(android.app.PendingIntent); + method public void setExpandedListItemSummary(java.lang.String); + method public void setExpandedListItemTitle(java.lang.String); + } + + public static class CustomTile.ExpandedStyle implements android.os.Parcelable { + method public int describeContents(); + method public android.widget.RemoteViews getContentViews(); + method public cyanogenmod.app.CustomTile.ExpandedItem[] getExpandedItems(); + method public int getStyle(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.app.CustomTile.ExpandedStyle> CREATOR; + field public static final int GRID_STYLE = 0; // 0x0 + field public static final int LIST_STYLE = 1; // 0x1 + field public static final int REMOTE_STYLE = 2; // 0x2 + } + + public static class CustomTile.GridExpandedStyle extends cyanogenmod.app.CustomTile.ExpandedStyle { + ctor public CustomTile.GridExpandedStyle(); + method public void setGridItems(java.util.ArrayList<cyanogenmod.app.CustomTile.ExpandedGridItem>); + } + + public static class CustomTile.ListExpandedStyle extends cyanogenmod.app.CustomTile.ExpandedStyle { + ctor public CustomTile.ListExpandedStyle(); + method public void setListItems(java.util.ArrayList<cyanogenmod.app.CustomTile.ExpandedListItem>); + } + + public static class CustomTile.RemoteExpandedStyle extends cyanogenmod.app.CustomTile.ExpandedStyle { + ctor public CustomTile.RemoteExpandedStyle(); + method public void setRemoteViews(android.widget.RemoteViews); + } + + public class CustomTileListenerService extends android.app.Service { + ctor public CustomTileListenerService(); + method public android.os.IBinder onBind(android.content.Intent); + method public void onCustomTilePosted(cyanogenmod.app.StatusBarPanelCustomTile); + method public void onCustomTileRemoved(cyanogenmod.app.StatusBarPanelCustomTile); + method public void onListenerConnected(); + method public final void removeCustomTile(java.lang.String, java.lang.String, int); + field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.app.CustomTileListenerService"; + } + + public class LiveLockScreenInfo implements android.os.Parcelable { + ctor public LiveLockScreenInfo(android.content.ComponentName, int); + ctor public LiveLockScreenInfo(); + method public cyanogenmod.app.LiveLockScreenInfo clone(); + method public int describeContents(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.app.LiveLockScreenInfo> CREATOR; + field public static final int PRIORITY_DEFAULT = 0; // 0x0 + field public static final int PRIORITY_HIGH = 1; // 0x1 + field public static final int PRIORITY_LOW = -1; // 0xffffffff + field public static final int PRIORITY_MAX = 2; // 0x2 + field public static final int PRIORITY_MIN = -2; // 0xfffffffe + field public android.content.ComponentName component; + field public int priority; + } + + public static class LiveLockScreenInfo.Builder { + ctor public LiveLockScreenInfo.Builder(); + method public cyanogenmod.app.LiveLockScreenInfo build(); + method public cyanogenmod.app.LiveLockScreenInfo.Builder setComponent(android.content.ComponentName); + method public cyanogenmod.app.LiveLockScreenInfo.Builder setPriority(int); + } + + public class LiveLockScreenManager { + method public void cancel(int); + method public cyanogenmod.app.LiveLockScreenInfo getDefaultLiveLockScreen(); + method public static cyanogenmod.app.LiveLockScreenManager getInstance(android.content.Context); + method public void setDefaultLiveLockScreen(cyanogenmod.app.LiveLockScreenInfo); + method public boolean show(int, cyanogenmod.app.LiveLockScreenInfo); + field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.app.LiveLockScreenManagerService"; + } + + public class PartnerInterface { + method public java.lang.String getCurrentHotwordPackageName(); + method public static cyanogenmod.app.PartnerInterface getInstance(android.content.Context); + method public void rebootDevice(); + method public void setAirplaneModeEnabled(boolean); + method public void setMobileDataEnabled(boolean); + method public boolean setZenMode(int); + method public boolean setZenModeWithDuration(int, long); + method public void shutdownDevice(); + field public static final java.lang.String MODIFY_NETWORK_SETTINGS_PERMISSION = "cyanogenmod.permission.MODIFY_NETWORK_SETTINGS"; + field public static final java.lang.String MODIFY_SOUND_SETTINGS_PERMISSION = "cyanogenmod.permission.MODIFY_SOUND_SETTINGS"; + field public static final int ZEN_MODE_IMPORTANT_INTERRUPTIONS = 1; // 0x1 + field public static final int ZEN_MODE_NO_INTERRUPTIONS = 2; // 0x2 + field public static final int ZEN_MODE_OFF = 0; // 0x0 + } + + public final class Profile implements java.lang.Comparable android.os.Parcelable { + ctor public Profile(java.lang.String); + method public void addSecondaryUuid(java.util.UUID); + method public int compareTo(java.lang.Object); + method public int describeContents(); + method public cyanogenmod.profiles.AirplaneModeSettings getAirplaneMode(); + method public cyanogenmod.profiles.BrightnessSettings getBrightness(); + method public cyanogenmod.profiles.ConnectionSettings getConnectionSettingWithSubId(int); + method public java.util.Collection<cyanogenmod.profiles.ConnectionSettings> getConnectionSettings(); + method public int getDozeMode(); + method public int getExpandedDesktopMode(); + method public java.lang.String getName(); + method public int getNotificationLightMode(); + method public int getProfileType(); + method public cyanogenmod.profiles.RingModeSettings getRingMode(); + method public cyanogenmod.profiles.LockSettings getScreenLockMode(); + method public java.util.UUID[] getSecondaryUuids(); + method public cyanogenmod.profiles.ConnectionSettings getSettingsForConnection(int); + method public cyanogenmod.profiles.StreamSettings getSettingsForStream(int); + method public java.util.Collection<cyanogenmod.profiles.StreamSettings> getStreamSettings(); + method public int getTriggerState(int, java.lang.String); + method public java.util.ArrayList<cyanogenmod.app.Profile.ProfileTrigger> getTriggersFromType(int); + method public java.util.UUID getUuid(); + method public boolean isConditionalType(); + method public void setAirplaneMode(cyanogenmod.profiles.AirplaneModeSettings); + method public void setBrightness(cyanogenmod.profiles.BrightnessSettings); + method public void setConnectionSettings(cyanogenmod.profiles.ConnectionSettings); + method public void setDozeMode(int); + method public void setExpandedDesktopMode(int); + method public void setName(java.lang.String); + method public void setNotificationLightMode(int); + method public void setProfileType(int); + method public void setRingMode(cyanogenmod.profiles.RingModeSettings); + method public void setScreenLockMode(cyanogenmod.profiles.LockSettings); + method public void setSecondaryUuids(java.util.List<java.util.UUID>); + method public void setStreamSettings(cyanogenmod.profiles.StreamSettings); + method public void setTrigger(cyanogenmod.app.Profile.ProfileTrigger); + method public void writeToParcel(android.os.Parcel, int); + } + + public static class Profile.DozeMode { + ctor public Profile.DozeMode(); + field public static final int DEFAULT = 0; // 0x0 + field public static final int DISABLE = 2; // 0x2 + field public static final int ENABLE = 1; // 0x1 + } + + public static class Profile.ExpandedDesktopMode { + ctor public Profile.ExpandedDesktopMode(); + field public static final int DEFAULT = 0; // 0x0 + field public static final int DISABLE = 2; // 0x2 + field public static final int ENABLE = 1; // 0x1 + } + + public static class Profile.LockMode { + ctor public Profile.LockMode(); + field public static final int DEFAULT = 0; // 0x0 + field public static final int DISABLE = 2; // 0x2 + field public static final int INSECURE = 1; // 0x1 + } + + public static class Profile.NotificationLightMode { + ctor public Profile.NotificationLightMode(); + field public static final int DEFAULT = 0; // 0x0 + field public static final int DISABLE = 2; // 0x2 + field public static final int ENABLE = 1; // 0x1 + } + + public static class Profile.ProfileTrigger implements android.os.Parcelable { + ctor public Profile.ProfileTrigger(int, java.lang.String, int, java.lang.String); + method public int describeContents(); + method public java.lang.String getId(); + method public java.lang.String getName(); + method public int getState(); + method public int getType(); + method public void writeToParcel(android.os.Parcel, int); + } + + public static class Profile.TriggerState { + ctor public Profile.TriggerState(); + field public static final int DISABLED = 2; // 0x2 + field public static final int ON_A2DP_CONNECT = 3; // 0x3 + field public static final int ON_A2DP_DISCONNECT = 4; // 0x4 + field public static final int ON_CONNECT = 0; // 0x0 + field public static final int ON_DISCONNECT = 1; // 0x1 + } + + public static class Profile.TriggerType { + ctor public Profile.TriggerType(); + field public static final int BLUETOOTH = 1; // 0x1 + field public static final int WIFI = 0; // 0x0 + } + + public static class Profile.Type { + ctor public Profile.Type(); + field public static final int CONDITIONAL = 1; // 0x1 + field public static final int TOGGLE = 0; // 0x0 + } + + public class ProfileManager { + method public void addProfile(cyanogenmod.app.Profile); + method public cyanogenmod.app.Profile getActiveProfile(); + method public static cyanogenmod.app.ProfileManager getInstance(android.content.Context); + method public deprecated cyanogenmod.app.Profile getProfile(java.lang.String); + method public cyanogenmod.app.Profile getProfile(java.util.UUID); + method public java.lang.String[] getProfileNames(); + method public cyanogenmod.app.Profile[] getProfiles(); + method public boolean isProfilesEnabled(); + method public boolean profileExists(java.lang.String); + method public boolean profileExists(java.util.UUID); + method public void removeProfile(cyanogenmod.app.Profile); + method public void resetAll(); + method public deprecated void setActiveProfile(java.lang.String); + method public void setActiveProfile(java.util.UUID); + method public void updateProfile(cyanogenmod.app.Profile); + field public static final java.lang.String ACTION_PROFILE_PICKER = "cyanogenmod.platform.intent.action.PROFILE_PICKER"; + field public static final java.lang.String EXTRA_LAST_PROFILE_NAME = "lastName"; + field public static final java.lang.String EXTRA_LAST_PROFILE_UUID = "lastUuid"; + field public static final java.lang.String EXTRA_PROFILES_STATE = "profile_state"; + field public static final java.lang.String EXTRA_PROFILE_DIALOG_THEME = "cyanogenmod.platform.intent.extra.profile.DIALOG_THEME"; + field public static final java.lang.String EXTRA_PROFILE_EXISTING_UUID = "cyanogenmod.platform.extra.profile.EXISTING_UUID"; + field public static final java.lang.String EXTRA_PROFILE_NAME = "name"; + field public static final java.lang.String EXTRA_PROFILE_PICKED_UUID = "cyanogenmod.platform.intent.extra.profile.PICKED_UUID"; + field public static final java.lang.String EXTRA_PROFILE_SHOW_NONE = "cyanogenmod.platform.intent.extra.profile.SHOW_NONE"; + field public static final java.lang.String EXTRA_PROFILE_TITLE = "cyanogenmod.platform.intent.extra.profile.TITLE"; + field public static final java.lang.String EXTRA_PROFILE_UUID = "uuid"; + field public static final java.lang.String INTENT_ACTION_PROFILE_SELECTED = "cyanogenmod.platform.intent.action.PROFILE_SELECTED"; + field public static final java.lang.String INTENT_ACTION_PROFILE_UPDATED = "cyanogenmod.platform.intent.action.PROFILE_UPDATED"; + field public static final java.util.UUID NO_PROFILE; + field public static final java.lang.String PROFILES_STATE_CHANGED_ACTION = "cyanogenmod.platform.app.profiles.PROFILES_STATE_CHANGED"; + field public static final int PROFILES_STATE_DISABLED = 0; // 0x0 + field public static final int PROFILES_STATE_ENABLED = 1; // 0x1 + } + + public class StatusBarPanelCustomTile implements android.os.Parcelable { + ctor public StatusBarPanelCustomTile(java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, int, int, cyanogenmod.app.CustomTile, android.os.UserHandle); + ctor public StatusBarPanelCustomTile(java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, int, int, cyanogenmod.app.CustomTile, android.os.UserHandle, long); + ctor public StatusBarPanelCustomTile(android.os.Parcel); + method public cyanogenmod.app.StatusBarPanelCustomTile clone(); + method public int describeContents(); + method public cyanogenmod.app.CustomTile getCustomTile(); + method public int getId(); + method public java.lang.String getKey(); + method public java.lang.String getPackage(); + method public long getPostTime(); + method public java.lang.String getTag(); + method public android.os.UserHandle getUser(); + method public int getUserId(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.app.StatusBarPanelCustomTile> CREATOR; + } + +} + +package cyanogenmod.content { + + public class Intent { + ctor public Intent(); + field public static final java.lang.String ACTION_PROTECTED = "cyanogenmod.intent.action.PACKAGE_PROTECTED"; + field public static final java.lang.String ACTION_PROTECTED_CHANGED = "cyanogenmod.intent.action.PROTECTED_COMPONENT_UPDATE"; + field public static final java.lang.String ACTION_THEME_INSTALLED = "cyanogenmod.intent.action.THEME_INSTALLED"; + field public static final java.lang.String ACTION_THEME_REMOVED = "cyanogenmod.intent.action.THEME_REMOVED"; + field public static final java.lang.String ACTION_THEME_UPDATED = "cyanogenmod.intent.action.THEME_UPDATED"; + field public static final java.lang.String CATEGORY_THEME_PACKAGE_INSTALLED_STATE_CHANGE = "cyanogenmod.intent.category.THEME_PACKAGE_INSTALL_STATE_CHANGE"; + field public static final java.lang.String EXTRA_PROTECTED_COMPONENTS = "cyanogenmod.intent.extra.PACKAGE_PROTECTED_COMPONENTS"; + field public static final java.lang.String EXTRA_PROTECTED_STATE = "cyanogenmod.intent.extra.PACKAGE_PROTECTED_STATE"; + field public static final java.lang.String URI_SCHEME_PACKAGE = "package"; + } + +} + +package cyanogenmod.externalviews { + + public abstract class KeyguardExternalViewProviderService extends android.app.Service { + ctor public KeyguardExternalViewProviderService(); + method protected abstract cyanogenmod.externalviews.KeyguardExternalViewProviderService.Provider createExternalView(android.os.Bundle); + method public final android.os.IBinder onBind(android.content.Intent); + field public static final java.lang.String META_DATA = "cyanogenmod.externalviews.keyguard"; + field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.externalviews.KeyguardExternalViewProviderService"; + } + + protected abstract class KeyguardExternalViewProviderService.Provider { + ctor protected KeyguardExternalViewProviderService.Provider(android.os.Bundle); + method protected final deprecated void collapseNotificationPanel(); + method protected android.os.Bundle getOptions(); + method protected void onAttach(); + method protected abstract void onBouncerShowing(boolean); + method protected abstract android.view.View onCreateView(); + method protected void onDetach(); + method protected abstract void onKeyguardDismissed(); + method protected abstract void onKeyguardShowing(boolean); + method protected void onLockscreenSlideOffsetChanged(float); + method protected abstract void onScreenTurnedOff(); + method protected abstract void onScreenTurnedOn(); + method protected final boolean requestDismiss(); + method protected final boolean requestDismissAndStartActivity(android.content.Intent); + method protected final void setInteractivity(boolean); + method protected final void slideLockscreenIn(); + } + +} + +package cyanogenmod.hardware { + + public final class CMHardwareManager { + method public boolean deletePersistentObject(java.lang.String); + method public boolean get(int); + method public int getColorBalance(); + method public android.util.Range<java.lang.Integer> getColorBalanceRange(); + method public cyanogenmod.hardware.DisplayMode getCurrentDisplayMode(); + method public cyanogenmod.hardware.DisplayMode getDefaultDisplayMode(); + method public cyanogenmod.hardware.HSIC getDefaultPictureAdjustment(); + method public int[] getDisplayColorCalibration(); + method public int getDisplayColorCalibrationDefault(); + method public int getDisplayColorCalibrationMax(); + method public int getDisplayColorCalibrationMin(); + method public deprecated int[] getDisplayGammaCalibration(int); + method public deprecated int getDisplayGammaCalibrationMax(); + method public deprecated int getDisplayGammaCalibrationMin(); + method public cyanogenmod.hardware.DisplayMode[] getDisplayModes(); + method public static cyanogenmod.hardware.CMHardwareManager getInstance(android.content.Context); + method public java.lang.String getLtoDestination(); + method public long getLtoDownloadInterval(); + method public java.lang.String getLtoSource(); + method public deprecated int getNumGammaControls(); + method public cyanogenmod.hardware.HSIC getPictureAdjustment(); + method public java.util.List<android.util.Range<java.lang.Float>> getPictureAdjustmentRanges(); + method public java.lang.String getSerialNumber(); + method public int getSupportedFeatures(); + method public int getThermalState(); + method public java.lang.String getUniqueDeviceId(); + method public int getVibratorDefaultIntensity(); + method public int getVibratorIntensity(); + method public int getVibratorMaxIntensity(); + method public int getVibratorMinIntensity(); + method public int getVibratorWarningIntensity(); + method public boolean isSunlightEnhancementSelfManaged(); + method public boolean isSupported(int); + method public byte[] readPersistentBytes(java.lang.String); + method public int readPersistentInt(java.lang.String); + method public java.lang.String readPersistentString(java.lang.String); + method public boolean registerThermalListener(cyanogenmod.hardware.ThermalListenerCallback); + method public boolean requireAdaptiveBacklightForSunlightEnhancement(); + method public boolean set(int, boolean); + method public boolean setColorBalance(int); + method public boolean setDisplayColorCalibration(int[]); + method public deprecated boolean setDisplayGammaCalibration(int, int[]); + method public boolean setDisplayMode(cyanogenmod.hardware.DisplayMode, boolean); + method public boolean setPictureAdjustment(cyanogenmod.hardware.HSIC); + method public boolean setVibratorIntensity(int); + method public boolean unRegisterThermalListener(cyanogenmod.hardware.ThermalListenerCallback); + method public boolean writePersistentBytes(java.lang.String, byte[]); + method public boolean writePersistentInt(java.lang.String, int); + method public boolean writePersistentString(java.lang.String, java.lang.String); + field public static final int FEATURE_ADAPTIVE_BACKLIGHT = 1; // 0x1 + field public static final int FEATURE_AUTO_CONTRAST = 4096; // 0x1000 + field public static final int FEATURE_COLOR_BALANCE = 131072; // 0x20000 + field public static final int FEATURE_COLOR_ENHANCEMENT = 2; // 0x2 + field public static final int FEATURE_DISPLAY_COLOR_CALIBRATION = 4; // 0x4 + field public static final int FEATURE_DISPLAY_GAMMA_CALIBRATION = 8; // 0x8 + field public static final int FEATURE_DISPLAY_MODES = 8192; // 0x2000 + field public static final int FEATURE_HIGH_TOUCH_SENSITIVITY = 16; // 0x10 + field public static final int FEATURE_KEY_DISABLE = 32; // 0x20 + field public static final int FEATURE_LONG_TERM_ORBITS = 64; // 0x40 + field public static final int FEATURE_PERSISTENT_STORAGE = 16384; // 0x4000 + field public static final int FEATURE_PICTURE_ADJUSTMENT = 262144; // 0x40000 + field public static final int FEATURE_SERIAL_NUMBER = 128; // 0x80 + field public static final int FEATURE_SUNLIGHT_ENHANCEMENT = 256; // 0x100 + field public static final int FEATURE_TAP_TO_WAKE = 512; // 0x200 + field public static final int FEATURE_THERMAL_MONITOR = 32768; // 0x8000 + field public static final int FEATURE_TOUCH_HOVERING = 2048; // 0x800 + field public static final int FEATURE_UNIQUE_DEVICE_ID = 65536; // 0x10000 + field public static final int FEATURE_VIBRATOR = 1024; // 0x400 + } + + public class DisplayMode implements android.os.Parcelable { + ctor public DisplayMode(int, java.lang.String); + method public int describeContents(); + method public void writeToParcel(android.os.Parcel, int); + field public final int id; + field public final java.lang.String name; + } + + public class HSIC implements android.os.Parcelable { + ctor public HSIC(float, float, float, float, float); + method public int describeContents(); + method public java.lang.String flatten(); + method public static cyanogenmod.hardware.HSIC fromFloatArray(float[]); + method public float getContrast(); + method public float getHue(); + method public float getIntensity(); + method public float getSaturation(); + method public float getSaturationThreshold(); + method public float[] toFloatArray(); + method public int[] toRGB(); + method public static cyanogenmod.hardware.HSIC unflattenFrom(java.lang.String) throws java.lang.NumberFormatException; + method public void writeToParcel(android.os.Parcel, int); + } + + public abstract interface IThermalListenerCallback implements android.os.IInterface { + method public abstract void onThermalChanged(int) throws android.os.RemoteException; + } + + public static abstract class IThermalListenerCallback.Stub extends android.os.Binder implements cyanogenmod.hardware.IThermalListenerCallback { + ctor public IThermalListenerCallback.Stub(); + method public android.os.IBinder asBinder(); + method public static cyanogenmod.hardware.IThermalListenerCallback asInterface(android.os.IBinder); + method public boolean onTransact(int, android.os.Parcel, android.os.Parcel, int) throws android.os.RemoteException; + } + + public class LiveDisplayConfig implements android.os.Parcelable { + ctor public LiveDisplayConfig(java.util.BitSet, int, int, int, boolean, boolean, boolean, boolean, android.util.Range<java.lang.Integer>, android.util.Range<java.lang.Integer>, android.util.Range<java.lang.Float>, android.util.Range<java.lang.Float>, android.util.Range<java.lang.Float>, android.util.Range<java.lang.Float>, android.util.Range<java.lang.Float>); + method public int describeContents(); + method public android.util.Range<java.lang.Integer> getColorBalanceRange(); + method public android.util.Range<java.lang.Integer> getColorTemperatureRange(); + method public android.util.Range<java.lang.Float> getContrastRange(); + method public boolean getDefaultAutoContrast(); + method public boolean getDefaultAutoOutdoorMode(); + method public boolean getDefaultCABC(); + method public boolean getDefaultColorEnhancement(); + method public int getDefaultDayTemperature(); + method public int getDefaultMode(); + method public int getDefaultNightTemperature(); + method public android.util.Range<java.lang.Float> getHueRange(); + method public android.util.Range<java.lang.Float> getIntensityRange(); + method public java.util.List<android.util.Range<java.lang.Float>> getPictureAdjustmentRanges(); + method public android.util.Range<java.lang.Float> getSaturationRange(); + method public android.util.Range<java.lang.Float> getSaturationThresholdRange(); + method public boolean hasFeature(int); + method public boolean hasModeSupport(); + method public boolean isAvailable(); + method public void writeToParcel(android.os.Parcel, int); + } + + public class LiveDisplayManager { + method public float[] getColorAdjustment(); + method public cyanogenmod.hardware.LiveDisplayConfig getConfig(); + method public int getDayColorTemperature(); + method public cyanogenmod.hardware.HSIC getDefaultPictureAdjustment(); + method public static synchronized cyanogenmod.hardware.LiveDisplayManager getInstance(android.content.Context); + method public int getMode(); + method public int getNightColorTemperature(); + method public cyanogenmod.hardware.HSIC getPictureAdjustment(); + method public boolean isAutoContrastEnabled(); + method public boolean isAutomaticOutdoorModeEnabled(); + method public boolean isCABCEnabled(); + method public boolean isColorEnhancementEnabled(); + method public boolean setAutoContrastEnabled(boolean); + method public boolean setAutomaticOutdoorModeEnabled(boolean); + method public boolean setCABCEnabled(boolean); + method public boolean setColorAdjustment(float[]); + method public boolean setColorEnhancementEnabled(boolean); + method public boolean setDayColorTemperature(int); + method public boolean setMode(int); + method public boolean setNightColorTemperature(int); + method public boolean setPictureAdjustment(cyanogenmod.hardware.HSIC); + field public static final int ADJUSTMENT_CONTRAST = 3; // 0x3 + field public static final int ADJUSTMENT_HUE = 0; // 0x0 + field public static final int ADJUSTMENT_INTENSITY = 2; // 0x2 + field public static final int ADJUSTMENT_SATURATION = 1; // 0x1 + field public static final int FEATURE_AUTO_CONTRAST = 11; // 0xb + field public static final int FEATURE_CABC = 10; // 0xa + field public static final int FEATURE_COLOR_ADJUSTMENT = 13; // 0xd + field public static final int FEATURE_COLOR_BALANCE = 16; // 0x10 + field public static final int FEATURE_COLOR_ENHANCEMENT = 12; // 0xc + field public static final int FEATURE_DISPLAY_MODES = 15; // 0xf + field public static final int FEATURE_MANAGED_OUTDOOR_MODE = 14; // 0xe + field public static final int FEATURE_PICTURE_ADJUSTMENT = 17; // 0x11 + field public static final int MODE_AUTO = 2; // 0x2 + field public static final int MODE_DAY = 4; // 0x4 + field public static final int MODE_NIGHT = 1; // 0x1 + field public static final int MODE_OFF = 0; // 0x0 + field public static final int MODE_OUTDOOR = 3; // 0x3 + } + + public abstract class ThermalListenerCallback extends cyanogenmod.hardware.IThermalListenerCallback.Stub { + ctor public ThermalListenerCallback(); + } + + public static final class ThermalListenerCallback.State { + ctor public ThermalListenerCallback.State(); + method public static final java.lang.String toString(int); + field public static final int STATE_COOL = 0; // 0x0 + field public static final int STATE_CRITICAL = 3; // 0x3 + field public static final int STATE_UNKNOWN = -1; // 0xffffffff + field public static final int STATE_WARM_FALLING = 1; // 0x1 + field public static final int STATE_WARM_RISING = 2; // 0x2 + } + +} + +package cyanogenmod.media { + + public class MediaRecorder { + ctor public MediaRecorder(); + field public static final java.lang.String ACTION_HOTWORD_INPUT_CHANGED = "com.cyanogenmod.intent.action.HOTWORD_INPUT_CHANGED"; + field public static final java.lang.String CAPTURE_AUDIO_HOTWORD_PERMISSION = "android.permission.CAPTURE_AUDIO_HOTWORD"; + field public static final java.lang.String EXTRA_CURRENT_PACKAGE_NAME = "com.cyanogenmod.intent.extra.CURRENT_PACKAGE_NAME"; + } + + public static class MediaRecorder.AudioSource { + ctor public MediaRecorder.AudioSource(); + field public static final int HOTWORD = 1999; // 0x7cf + } + +} + +package cyanogenmod.os { + + public class Build { + ctor public Build(); + method public static java.lang.String getNameForSDKInt(int); + field public static final java.lang.String CYANOGENMOD_DISPLAY_VERSION; + field public static final java.lang.String CYANOGENMOD_VERSION; + field public static final java.lang.String UNKNOWN = "unknown"; + } + + public static class Build.CM_VERSION { + ctor public Build.CM_VERSION(); + field public static final int SDK_INT; + } + + public static class Build.CM_VERSION_CODES { + ctor public Build.CM_VERSION_CODES(); + field public static final int APRICOT = 1; // 0x1 + field public static final int BOYSENBERRY = 2; // 0x2 + field public static final int CANTALOUPE = 3; // 0x3 + field public static final int DRAGON_FRUIT = 4; // 0x4 + field public static final int ELDERBERRY = 5; // 0x5 + field public static final int FIG = 6; // 0x6 + } + + public final class Concierge { + method public static cyanogenmod.os.Concierge.ParcelInfo prepareParcel(android.os.Parcel); + method public static cyanogenmod.os.Concierge.ParcelInfo receiveParcel(android.os.Parcel); + } + + public static final class Concierge.ParcelInfo { + method public void complete(); + method public int getParcelVersion(); + } + +} + +package cyanogenmod.platform { + + public final class Manifest { + ctor public Manifest(); + } + + public static final class Manifest.permission { + ctor public Manifest.permission(); + field public static final java.lang.String ACCESS_APP_SUGGESTIONS = "cyanogenmod.permission.ACCESS_APP_SUGGESTIONS"; + field public static final java.lang.String ACCESS_THEME_MANAGER = "cyanogenmod.permission.ACCESS_THEME_MANAGER"; + field public static final java.lang.String ACCESS_WEATHER_MANAGER = "cyanogenmod.permission.ACCESS_WEATHER_MANAGER"; + field public static final java.lang.String BIND_WEATHER_PROVIDER_SERVICE = "cyanogenmod.permission.BIND_WEATHER_PROVIDER_SERVICE"; + field public static final java.lang.String HARDWARE_ABSTRACTION_ACCESS = "cyanogenmod.permission.HARDWARE_ABSTRACTION_ACCESS"; + field public static final java.lang.String LIVE_LOCK_SCREEN_MANAGER_ACCESS = "cyanogenmod.permission.LIVE_LOCK_SCREEN_MANAGER_ACCESS"; + field public static final java.lang.String MANAGE_ALARMS = "cyanogenmod.permission.MANAGE_ALARMS"; + field public static final java.lang.String MANAGE_LIVEDISPLAY = "cyanogenmod.permission.MANAGE_LIVEDISPLAY"; + field public static final java.lang.String MANAGE_PERSISTENT_STORAGE = "cyanogenmod.permission.MANAGE_PERSISTENT_STORAGE"; + field public static final java.lang.String MODIFY_MSIM_PHONE_STATE = "cyanogenmod.permission.MODIFY_MSIM_PHONE_STATE"; + field public static final java.lang.String MODIFY_NETWORK_SETTINGS = "cyanogenmod.permission.MODIFY_NETWORK_SETTINGS"; + field public static final java.lang.String MODIFY_PROFILES = "cyanogenmod.permission.MODIFY_PROFILES"; + field public static final java.lang.String MODIFY_SOUND_SETTINGS = "cyanogenmod.permission.MODIFY_SOUND_SETTINGS"; + field public static final java.lang.String PERFORMANCE_ACCESS = "cyanogenmod.permission.PERFORMANCE_ACCESS"; + field public static final java.lang.String PROTECTED_APP = "cyanogenmod.permission.PROTECTED_APP"; + field public static final java.lang.String PUBLISH_CUSTOM_TILE = "cyanogenmod.permission.PUBLISH_CUSTOM_TILE"; + field public static final java.lang.String READ_ALARMS = "cyanogenmod.permission.READ_ALARMS"; + field public static final java.lang.String READ_DATAUSAGE = "cyanogenmod.permission.READ_DATAUSAGE"; + field public static final java.lang.String READ_MSIM_PHONE_STATE = "cyanogenmod.permission.READ_MSIM_PHONE_STATE"; + field public static final java.lang.String READ_THEMES = "cyanogenmod.permission.READ_THEMES"; + field public static final java.lang.String READ_WEATHER = "cyanogenmod.permission.READ_WEATHER"; + field public static final java.lang.String THIRD_PARTY_KEYGUARD = "cyanogenmod.permission.THIRD_PARTY_KEYGUARD"; + field public static final java.lang.String WRITE_ALARMS = "cyanogenmod.permission.WRITE_ALARMS"; + field public static final java.lang.String WRITE_DATAUSAGE = "cyanogenmod.permission.WRITE_DATAUSAGE"; + field public static final java.lang.String WRITE_SECURE_SETTINGS = "cyanogenmod.permission.WRITE_SECURE_SETTINGS"; + field public static final java.lang.String WRITE_SETTINGS = "cyanogenmod.permission.WRITE_SETTINGS"; + field public static final java.lang.String WRITE_THEMES = "cyanogenmod.permission.WRITE_THEMES"; + field public static final java.lang.String WRITE_WEATHER = "cyanogenmod.permission.WRITE_WEATHER"; + } + + public final class R { + ctor public R(); + } + + public static final class R.array { + ctor public R.array(); + } + + public static final class R.attr { + ctor public R.attr(); + } + + public static final class R.bool { + ctor public R.bool(); + } + + public static final class R.color { + ctor public R.color(); + } + + public static final class R.dimen { + ctor public R.dimen(); + } + + public static final class R.drawable { + ctor public R.drawable(); + } + + public static final class R.id { + ctor public R.id(); + } + + public static final class R.integer { + ctor public R.integer(); + } + + public static final class R.layout { + ctor public R.layout(); + } + + public static final class R.string { + ctor public R.string(); + } + + public static final class R.xml { + ctor public R.xml(); + } + +} + +package cyanogenmod.power { + + public class PerformanceManager { + method public static cyanogenmod.power.PerformanceManager getInstance(android.content.Context); + method public int getNumberOfProfiles(); + method public int getPowerProfile(); + method public boolean getProfileHasAppProfiles(int); + method public boolean setPowerProfile(int); + field public static final java.lang.String POWER_PROFILE_CHANGED = "cyanogenmod.power.PROFILE_CHANGED"; + field public static final int PROFILE_BALANCED = 1; // 0x1 + field public static final int PROFILE_BIAS_PERFORMANCE = 4; // 0x4 + field public static final int PROFILE_BIAS_POWER_SAVE = 3; // 0x3 + field public static final int PROFILE_HIGH_PERFORMANCE = 2; // 0x2 + field public static final int PROFILE_POWER_SAVE = 0; // 0x0 + field public static final java.lang.String TAG = "PerformanceManager"; + } + +} + +package cyanogenmod.profiles { + + public final class AirplaneModeSettings implements android.os.Parcelable { + ctor public AirplaneModeSettings(android.os.Parcel); + ctor public AirplaneModeSettings(); + ctor public AirplaneModeSettings(int, boolean); + method public int describeContents(); + method public int getValue(); + method public boolean isOverride(); + method public void setOverride(boolean); + method public void setValue(int); + method public void writeToParcel(android.os.Parcel, int); + } + + public static class AirplaneModeSettings.BooleanState { + ctor public AirplaneModeSettings.BooleanState(); + field public static final int STATE_DISALED = 0; // 0x0 + field public static final int STATE_ENABLED = 1; // 0x1 + } + + public final class BrightnessSettings implements android.os.Parcelable { + ctor public BrightnessSettings(android.os.Parcel); + ctor public BrightnessSettings(); + ctor public BrightnessSettings(int, boolean); + method public int describeContents(); + method public int getValue(); + method public boolean isOverride(); + method public void setOverride(boolean); + method public void setValue(int); + method public void writeToParcel(android.os.Parcel, int); + } + + public final class ConnectionSettings implements android.os.Parcelable { + ctor public ConnectionSettings(android.os.Parcel); + ctor public ConnectionSettings(int); + ctor public ConnectionSettings(int, int, boolean); + method public int describeContents(); + method public int getConnectionId(); + method public int getSubId(); + method public int getValue(); + method public boolean isOverride(); + method public void setOverride(boolean); + method public void setSubId(int); + method public void setValue(int); + method public void writeToParcel(android.os.Parcel, int); + field public static final int PROFILE_CONNECTION_2G3G4G = 9; // 0x9 + field public static final int PROFILE_CONNECTION_BLUETOOTH = 7; // 0x7 + field public static final int PROFILE_CONNECTION_GPS = 4; // 0x4 + field public static final int PROFILE_CONNECTION_MOBILEDATA = 0; // 0x0 + field public static final int PROFILE_CONNECTION_NFC = 8; // 0x8 + field public static final int PROFILE_CONNECTION_SYNC = 5; // 0x5 + field public static final int PROFILE_CONNECTION_WIFI = 1; // 0x1 + field public static final int PROFILE_CONNECTION_WIFIAP = 2; // 0x2 + field public static final int PROFILE_CONNECTION_WIMAX = 3; // 0x3 + } + + public static class ConnectionSettings.BooleanState { + ctor public ConnectionSettings.BooleanState(); + field public static final int STATE_DISALED = 0; // 0x0 + field public static final int STATE_ENABLED = 1; // 0x1 + } + + public final class LockSettings implements android.os.Parcelable { + ctor public LockSettings(android.os.Parcel); + ctor public LockSettings(); + ctor public LockSettings(int); + method public int describeContents(); + method public int getValue(); + method public void setValue(int); + method public void writeToParcel(android.os.Parcel, int); + } + + public final class RingModeSettings implements android.os.Parcelable { + ctor public RingModeSettings(android.os.Parcel); + ctor public RingModeSettings(); + ctor public RingModeSettings(java.lang.String, boolean); + method public int describeContents(); + method public java.lang.String getValue(); + method public boolean isOverride(); + method public void setOverride(boolean); + method public void setValue(java.lang.String); + method public void writeToParcel(android.os.Parcel, int); + field public static final java.lang.String RING_MODE_MUTE = "mute"; + field public static final java.lang.String RING_MODE_NORMAL = "normal"; + field public static final java.lang.String RING_MODE_VIBRATE = "vibrate"; + } + + public final class StreamSettings implements android.os.Parcelable { + ctor public StreamSettings(android.os.Parcel); + ctor public StreamSettings(int); + ctor public StreamSettings(int, int, boolean); + method public int describeContents(); + method public int getStreamId(); + method public int getValue(); + method public boolean isOverride(); + method public void setOverride(boolean); + method public void setValue(int); + method public void writeToParcel(android.os.Parcel, int); + } + +} + +package cyanogenmod.providers { + + public final class CMSettings { + ctor public CMSettings(); + field public static final java.lang.String ACTION_DATA_USAGE = "cyanogenmod.settings.ACTION_DATA_USAGE"; + field public static final java.lang.String ACTION_LIVEDISPLAY_SETTINGS = "cyanogenmod.settings.LIVEDISPLAY_SETTINGS"; + field public static final java.lang.String AUTHORITY = "cmsettings"; + } + + public static class CMSettings.CMSettingNotFoundException extends android.util.AndroidException { + ctor public CMSettings.CMSettingNotFoundException(java.lang.String); + } + + public static final class CMSettings.Global extends android.provider.Settings.NameValueTable { + ctor public CMSettings.Global(); + method public static float getFloat(android.content.ContentResolver, java.lang.String, float); + method public static float getFloat(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; + method public static int getInt(android.content.ContentResolver, java.lang.String, int); + method public static int getInt(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; + method public static long getLong(android.content.ContentResolver, java.lang.String, long); + method public static long getLong(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; + method public static java.lang.String getString(android.content.ContentResolver, java.lang.String); + method public static android.net.Uri getUriFor(java.lang.String); + method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float); + method public static boolean putInt(android.content.ContentResolver, java.lang.String, int); + method public static boolean putLong(android.content.ContentResolver, java.lang.String, long); + method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String); + field public static final android.net.Uri CONTENT_URI; + field public static final java.lang.String SYS_PROP_CM_SETTING_VERSION = "sys.cm_settings_global_version"; + field public static final java.lang.String WEATHER_TEMPERATURE_UNIT = "weather_temperature_unit"; + } + + public static final class CMSettings.Secure extends android.provider.Settings.NameValueTable { + ctor public CMSettings.Secure(); + method public static float getFloat(android.content.ContentResolver, java.lang.String, float); + method public static float getFloat(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; + method public static int getInt(android.content.ContentResolver, java.lang.String, int); + method public static int getInt(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; + method public static long getLong(android.content.ContentResolver, java.lang.String, long); + method public static long getLong(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; + method public static java.lang.String getString(android.content.ContentResolver, java.lang.String); + method public static android.net.Uri getUriFor(java.lang.String); + method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float); + method public static boolean putInt(android.content.ContentResolver, java.lang.String, int); + method public static boolean putLong(android.content.ContentResolver, java.lang.String, long); + method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String); + field public static final android.net.Uri CONTENT_URI; + field public static final java.lang.String SYS_PROP_CM_SETTING_VERSION = "sys.cm_settings_secure_version"; + } + + public static final class CMSettings.System extends android.provider.Settings.NameValueTable { + ctor public CMSettings.System(); + method public static float getFloat(android.content.ContentResolver, java.lang.String, float); + method public static float getFloat(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; + method public static int getInt(android.content.ContentResolver, java.lang.String, int); + method public static int getInt(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; + method public static long getLong(android.content.ContentResolver, java.lang.String, long); + method public static long getLong(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; + method public static java.lang.String getString(android.content.ContentResolver, java.lang.String); + method public static android.net.Uri getUriFor(java.lang.String); + method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float); + method public static boolean putInt(android.content.ContentResolver, java.lang.String, int); + method public static boolean putLong(android.content.ContentResolver, java.lang.String, long); + method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String); + field public static final java.lang.String APP_SWITCH_WAKE_SCREEN = "app_switch_wake_screen"; + field public static final java.lang.String ASSIST_WAKE_SCREEN = "assist_wake_screen"; + field public static final java.lang.String BACK_WAKE_SCREEN = "back_wake_screen"; + field public static final java.lang.String BATTERY_LIGHT_ENABLED = "battery_light_enabled"; + field public static final java.lang.String BATTERY_LIGHT_FULL_COLOR = "battery_light_full_color"; + field public static final java.lang.String BATTERY_LIGHT_LOW_COLOR = "battery_light_low_color"; + field public static final java.lang.String BATTERY_LIGHT_MEDIUM_COLOR = "battery_light_medium_color"; + field public static final java.lang.String BATTERY_LIGHT_PULSE = "battery_light_pulse"; + field public static final java.lang.String BLUETOOTH_ACCEPT_ALL_FILES = "bluetooth_accept_all_files"; + field public static final java.lang.String CALL_RECORDING_FORMAT = "call_recording_format"; + field public static final java.lang.String CAMERA_LAUNCH = "camera_launch"; + field public static final java.lang.String CAMERA_SLEEP_ON_RELEASE = "camera_sleep_on_release"; + field public static final java.lang.String CAMERA_WAKE_SCREEN = "camera_wake_screen"; + field public static final android.net.Uri CONTENT_URI; + field public static final java.lang.String DIALER_OPENCNAM_ACCOUNT_SID = "dialer_opencnam_account_sid"; + field public static final java.lang.String DIALER_OPENCNAM_AUTH_TOKEN = "dialer_opencnam_auth_token"; + field public static final java.lang.String DISPLAY_AUTO_CONTRAST = "display_auto_contrast"; + field public static final java.lang.String DISPLAY_AUTO_OUTDOOR_MODE = "display_auto_outdoor_mode"; + field public static final java.lang.String DISPLAY_CABC = "display_low_power"; + field public static final java.lang.String DISPLAY_COLOR_ADJUSTMENT = "display_color_adjustment"; + field public static final java.lang.String DISPLAY_COLOR_ENHANCE = "display_color_enhance"; + field public static final deprecated java.lang.String DISPLAY_LOW_POWER = "display_low_power"; + field public static final java.lang.String DISPLAY_PICTURE_ADJUSTMENT = "display_picture_adjustment"; + field public static final java.lang.String DISPLAY_TEMPERATURE_DAY = "display_temperature_day"; + field public static final java.lang.String DISPLAY_TEMPERATURE_MODE = "display_temperature_mode"; + field public static final java.lang.String DISPLAY_TEMPERATURE_NIGHT = "display_temperature_night"; + field public static final java.lang.String DOUBLE_TAP_SLEEP_GESTURE = "double_tap_sleep_gesture"; + field public static final java.lang.String ENABLE_FORWARD_LOOKUP = "enable_forward_lookup"; + field public static final java.lang.String ENABLE_PEOPLE_LOOKUP = "enable_people_lookup"; + field public static final java.lang.String ENABLE_REVERSE_LOOKUP = "enable_reverse_lookup"; + field public static final java.lang.String FORWARD_LOOKUP_PROVIDER = "forward_lookup_provider"; + field public static final java.lang.String HEADSET_CONNECT_PLAYER = "headset_connect_player"; + field public static final java.lang.String HIGH_TOUCH_SENSITIVITY_ENABLE = "high_touch_sensitivity_enable"; + field public static final java.lang.String HOME_WAKE_SCREEN = "home_wake_screen"; + field public static final java.lang.String INCREASING_RING = "increasing_ring"; + field public static final java.lang.String INCREASING_RING_RAMP_UP_TIME = "increasing_ring_ramp_up_time"; + field public static final java.lang.String INCREASING_RING_START_VOLUME = "increasing_ring_start_vol"; + field public static final java.lang.String KEY_APP_SWITCH_ACTION = "key_app_switch_action"; + field public static final java.lang.String KEY_APP_SWITCH_LONG_PRESS_ACTION = "key_app_switch_long_press_action"; + field public static final java.lang.String KEY_ASSIST_ACTION = "key_assist_action"; + field public static final java.lang.String KEY_ASSIST_LONG_PRESS_ACTION = "key_assist_long_press_action"; + field public static final java.lang.String KEY_HOME_DOUBLE_TAP_ACTION = "key_home_double_tap_action"; + field public static final java.lang.String KEY_HOME_LONG_PRESS_ACTION = "key_home_long_press_action"; + field public static final java.lang.String KEY_MENU_ACTION = "key_menu_action"; + field public static final java.lang.String KEY_MENU_LONG_PRESS_ACTION = "key_menu_long_press_action"; + field public static final java.lang.String LOCKSCREEN_PIN_SCRAMBLE_LAYOUT = "lockscreen_scramble_pin_layout"; + field public static final java.lang.String LOCKSCREEN_ROTATION = "lockscreen_rotation"; + field public static final java.lang.String MENU_WAKE_SCREEN = "menu_wake_screen"; + field public static final java.lang.String NAVBAR_LEFT_IN_LANDSCAPE = "navigation_bar_left"; + field public static final java.lang.String NAVIGATION_BAR_MENU_ARROW_KEYS = "navigation_bar_menu_arrow_keys"; + field public static final java.lang.String NAV_BUTTONS = "nav_buttons"; + field public static final java.lang.String NOTIFICATION_LIGHT_BRIGHTNESS_LEVEL = "notification_light_brightness_level"; + field public static final java.lang.String NOTIFICATION_LIGHT_MULTIPLE_LEDS_ENABLE = "notification_light_multiple_leds_enable"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_COLOR = "notification_light_pulse_call_color"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_LED_OFF = "notification_light_pulse_call_led_off"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_LED_ON = "notification_light_pulse_call_led_on"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CUSTOM_ENABLE = "notification_light_pulse_custom_enable"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CUSTOM_VALUES = "notification_light_pulse_custom_values"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_COLOR = "notification_light_pulse_default_color"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_LED_OFF = "notification_light_pulse_default_led_off"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_LED_ON = "notification_light_pulse_default_led_on"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_COLOR = "notification_light_pulse_vmail_color"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_LED_OFF = "notification_light_pulse_vmail_led_off"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_LED_ON = "notification_light_pulse_vmail_led_on"; + field public static final java.lang.String NOTIFICATION_LIGHT_SCREEN_ON = "notification_light_screen_on_enable"; + field public static final java.lang.String NOTIFICATION_PLAY_QUEUE = "notification_play_queue"; + field public static final java.lang.String PEOPLE_LOOKUP_PROVIDER = "people_lookup_provider"; + field public static final java.lang.String PROXIMITY_ON_WAKE = "proximity_on_wake"; + field public static final java.lang.String QS_SHOW_BRIGHTNESS_SLIDER = "qs_show_brightness_slider"; + field public static final java.lang.String RECENTS_SHOW_SEARCH_BAR = "recents_show_search_bar"; + field public static final java.lang.String REVERSE_LOOKUP_PROVIDER = "reverse_lookup_provider"; + field public static final java.lang.String SHOW_ALARM_ICON = "show_alarm_icon"; + field public static final java.lang.String STATUS_BAR_AM_PM = "status_bar_am_pm"; + field public static final java.lang.String STATUS_BAR_BATTERY_STYLE = "status_bar_battery_style"; + field public static final java.lang.String STATUS_BAR_BRIGHTNESS_CONTROL = "status_bar_brightness_control"; + field public static final java.lang.String STATUS_BAR_CLOCK = "status_bar_clock"; + field public static final java.lang.String STATUS_BAR_IME_SWITCHER = "status_bar_ime_switcher"; + field public static final java.lang.String STATUS_BAR_NOTIF_COUNT = "status_bar_notif_count"; + field public static final java.lang.String STATUS_BAR_QUICK_QS_PULLDOWN = "qs_quick_pulldown"; + field public static final java.lang.String STATUS_BAR_SHOW_BATTERY_PERCENT = "status_bar_show_battery_percent"; + field public static final java.lang.String STATUS_BAR_SHOW_WEATHER = "status_bar_show_weather"; + field public static final java.lang.String SWAP_VOLUME_KEYS_ON_ROTATION = "swap_volume_keys_on_rotation"; + field public static final java.lang.String SYSTEM_PROFILES_ENABLED = "system_profiles_enabled"; + field public static final java.lang.String SYS_PROP_CM_SETTING_VERSION = "sys.cm_settings_system_version"; + field public static final java.lang.String T9_SEARCH_INPUT_LOCALE = "t9_search_input_locale"; + field public static final java.lang.String TOUCHSCREEN_GESTURE_HAPTIC_FEEDBACK = "touchscreen_gesture_haptic_feedback"; + field public static final java.lang.String USE_EDGE_SERVICE_FOR_GESTURES = "edge_service_for_gestures"; + field public static final java.lang.String VOLBTN_MUSIC_CONTROLS = "volbtn_music_controls"; + field public static final java.lang.String VOLUME_ADJUST_SOUNDS_ENABLED = "volume_adjust_sounds_enabled"; + field public static final java.lang.String VOLUME_KEYS_CONTROL_RING_STREAM = "volume_keys_control_ring_stream"; + field public static final java.lang.String VOLUME_WAKE_SCREEN = "volume_wake_screen"; + field public static final java.lang.String ZEN_ALLOW_LIGHTS = "allow_lights"; + field public static final java.lang.String ZEN_PRIORITY_ALLOW_LIGHTS = "zen_priority_allow_lights"; + } + + public final class DataUsageContract { + ctor public DataUsageContract(); + field public static final java.lang.String ACTIVE = "active"; + field public static final android.net.Uri BASE_CONTENT_URI; + field public static final java.lang.String BYTES = "bytes"; + field public static final int COLUMN_OF_ACTIVE = 3; // 0x3 + field public static final int COLUMN_OF_BYTES = 5; // 0x5 + field public static final int COLUMN_OF_ENABLE = 2; // 0x2 + field public static final int COLUMN_OF_EXTRA = 10; // 0xa + field public static final int COLUMN_OF_FAST_AVG = 8; // 0x8 + field public static final int COLUMN_OF_FAST_SAMPLES = 9; // 0x9 + field public static final int COLUMN_OF_ID = 0; // 0x0 + field public static final int COLUMN_OF_LABEL = 4; // 0x4 + field public static final int COLUMN_OF_SLOW_AVG = 6; // 0x6 + field public static final int COLUMN_OF_SLOW_SAMPLES = 7; // 0x7 + field public static final int COLUMN_OF_UID = 1; // 0x1 + field public static final java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.itemdatausage_item"; + field public static final java.lang.String CONTENT_TYPE = "vnd.android.cursor.dirdatausage_item"; + field public static final android.net.Uri CONTENT_URI; + field public static final java.lang.String DATAUSAGE_AUTHORITY = "org.cyanogenmod.providers.datausage"; + field public static final java.lang.String DATAUSAGE_TABLE = "datausage"; + field public static final java.lang.String ENABLE = "enable"; + field public static final java.lang.String EXTRA = "extra"; + field public static final java.lang.String FAST_AVG = "fast_avg"; + field public static final java.lang.String FAST_SAMPLES = "fast_samples"; + field public static final java.lang.String LABEL = "label"; + field public static final java.lang.String[] PROJECTION_ALL; + field public static final java.lang.String SLOW_AVG = "slow_avg"; + field public static final java.lang.String SLOW_SAMPLES = "slow_samples"; + field public static final java.lang.String UID = "uid"; + field public static final java.lang.String _ID = "_id"; + } + + public class ThemesContract { + ctor public ThemesContract(); + field public static final java.lang.String AUTHORITY = "com.cyanogenmod.themes"; + field public static final android.net.Uri AUTHORITY_URI; + } + + public static class ThemesContract.MixnMatchColumns { + ctor public ThemesContract.MixnMatchColumns(); + method public static java.lang.String componentToImageColName(java.lang.String); + method public static java.lang.String componentToMixNMatchKey(java.lang.String); + method public static java.lang.String mixNMatchKeyToComponent(java.lang.String); + field public static final java.lang.String COL_COMPONENT_ID = "component_id"; + field public static final java.lang.String COL_KEY = "key"; + field public static final java.lang.String COL_PREV_VALUE = "previous_value"; + field public static final java.lang.String COL_UPDATE_TIME = "update_time"; + field public static final java.lang.String COL_VALUE = "value"; + field public static final android.net.Uri CONTENT_URI; + field public static final java.lang.String KEY_ALARM = "mixnmatch_alarm"; + field public static final java.lang.String KEY_BOOT_ANIM = "mixnmatch_boot_anim"; + field public static final java.lang.String KEY_FONT = "mixnmatch_font"; + field public static final java.lang.String KEY_HOMESCREEN = "mixnmatch_homescreen"; + field public static final java.lang.String KEY_ICONS = "mixnmatch_icons"; + field public static final java.lang.String KEY_LIVE_LOCK_SCREEN = "mixnmatch_live_lock_screen"; + field public static final java.lang.String KEY_LOCKSCREEN = "mixnmatch_lockscreen"; + field public static final java.lang.String KEY_NAVIGATION_BAR = "mixnmatch_navigation_bar"; + field public static final java.lang.String KEY_NOTIFICATIONS = "mixnmatch_notifications"; + field public static final java.lang.String KEY_OVERLAYS = "mixnmatch_overlays"; + field public static final java.lang.String KEY_RINGTONE = "mixnmatch_ringtone"; + field public static final java.lang.String KEY_STATUS_BAR = "mixnmatch_status_bar"; + field public static final java.lang.String[] ROWS; + } + + public static class ThemesContract.PreviewColumns { + ctor public ThemesContract.PreviewColumns(); + field public static final android.net.Uri APPLIED_URI; + field public static final java.lang.String BOOTANIMATION_THUMBNAIL = "bootanimation_thumbnail"; + field public static final java.lang.String COL_KEY = "key"; + field public static final java.lang.String COL_VALUE = "value"; + field public static final android.net.Uri COMPONENTS_URI; + field public static final java.lang.String COMPONENT_ID = "component_id"; + field public static final android.net.Uri CONTENT_URI; + field public static final java.lang.String ICON_PREVIEW_1 = "icon_preview_1"; + field public static final java.lang.String ICON_PREVIEW_2 = "icon_preview_2"; + field public static final java.lang.String ICON_PREVIEW_3 = "icon_preview_3"; + field public static final java.lang.String LIVE_LOCK_SCREEN_PREVIEW = "live_lock_screen_preview"; + field public static final java.lang.String LIVE_LOCK_SCREEN_THUMBNAIL = "live_lock_screen_thumbnail"; + field public static final java.lang.String LOCK_WALLPAPER_PREVIEW = "lock_wallpaper_preview"; + field public static final java.lang.String LOCK_WALLPAPER_THUMBNAIL = "lock_wallpaper_thumbnail"; + field public static final java.lang.String NAVBAR_BACKGROUND = "navbar_background"; + field public static final java.lang.String NAVBAR_BACK_BUTTON = "navbar_back_button"; + field public static final java.lang.String NAVBAR_HOME_BUTTON = "navbar_home_button"; + field public static final java.lang.String NAVBAR_RECENT_BUTTON = "navbar_recent_button"; + field public static final java.lang.String STATUSBAR_BACKGROUND = "statusbar_background"; + field public static final java.lang.String STATUSBAR_BATTERY_CIRCLE = "statusbar_battery_circle"; + field public static final java.lang.String STATUSBAR_BATTERY_LANDSCAPE = "statusbar_battery_landscape"; + field public static final java.lang.String STATUSBAR_BATTERY_PORTRAIT = "statusbar_battery_portrait"; + field public static final java.lang.String STATUSBAR_BLUETOOTH_ICON = "statusbar_bluetooth_icon"; + field public static final java.lang.String STATUSBAR_CLOCK_TEXT_COLOR = "statusbar_clock_text_color"; + field public static final java.lang.String STATUSBAR_SIGNAL_ICON = "statusbar_signal_icon"; + field public static final java.lang.String STATUSBAR_WIFI_COMBO_MARGIN_END = "wifi_combo_margin_end"; + field public static final java.lang.String STATUSBAR_WIFI_ICON = "statusbar_wifi_icon"; + field public static final java.lang.String STYLE_PREVIEW = "style_preview"; + field public static final java.lang.String STYLE_THUMBNAIL = "style_thumbnail"; + field public static final java.lang.String THEME_ID = "theme_id"; + field public static final java.lang.String[] VALID_KEYS; + field public static final java.lang.String WALLPAPER_FULL = "wallpaper_full"; + field public static final java.lang.String WALLPAPER_PREVIEW = "wallpaper_preview"; + field public static final java.lang.String WALLPAPER_THUMBNAIL = "wallpaper_thumbnail"; + field public static final java.lang.String _ID = "_id"; + } + + public static class ThemesContract.ThemesColumns { + ctor public ThemesContract.ThemesColumns(); + field public static final java.lang.String AUTHOR = "author"; + field public static final java.lang.String BOOT_ANIM_URI = "bootanim_uri"; + field public static final android.net.Uri CONTENT_URI; + field public static final java.lang.String DATE_CREATED = "created"; + field public static final java.lang.String FONT_URI = "font_uri"; + field public static final java.lang.String HOMESCREEN_URI = "homescreen_uri"; + field public static final java.lang.String ICON_URI = "icon_uri"; + field public static final java.lang.String INSTALL_STATE = "install_state"; + field public static final java.lang.String INSTALL_TIME = "install_time"; + field public static final java.lang.String IS_DEFAULT_THEME = "is_default_theme"; + field public static final java.lang.String IS_LEGACY_ICONPACK = "is_legacy_iconpack"; + field public static final java.lang.String IS_LEGACY_THEME = "is_legacy_theme"; + field public static final java.lang.String LAST_UPDATE_TIME = "updateTime"; + field public static final java.lang.String LOCKSCREEN_URI = "lockscreen_uri"; + field public static final java.lang.String MODIFIES_ALARMS = "mods_alarms"; + field public static final java.lang.String MODIFIES_BOOT_ANIM = "mods_bootanim"; + field public static final java.lang.String MODIFIES_FONTS = "mods_fonts"; + field public static final java.lang.String MODIFIES_ICONS = "mods_icons"; + field public static final java.lang.String MODIFIES_LAUNCHER = "mods_homescreen"; + field public static final java.lang.String MODIFIES_LIVE_LOCK_SCREEN = "mods_live_lock_screen"; + field public static final java.lang.String MODIFIES_LOCKSCREEN = "mods_lockscreen"; + field public static final java.lang.String MODIFIES_NAVIGATION_BAR = "mods_navigation_bar"; + field public static final java.lang.String MODIFIES_NOTIFICATIONS = "mods_notifications"; + field public static final java.lang.String MODIFIES_OVERLAYS = "mods_overlays"; + field public static final java.lang.String MODIFIES_RINGTONES = "mods_ringtones"; + field public static final java.lang.String MODIFIES_STATUS_BAR = "mods_status_bar"; + field public static final java.lang.String OVERLAYS_URI = "overlays_uri"; + field public static final java.lang.String PKG_NAME = "pkg_name"; + field public static final java.lang.String PRESENT_AS_THEME = "present_as_theme"; + field public static final java.lang.String PRIMARY_COLOR = "primary_color"; + field public static final java.lang.String SECONDARY_COLOR = "secondary_color"; + field public static final java.lang.String STATUSBAR_URI = "status_uri"; + field public static final java.lang.String STYLE_URI = "style_uri"; + field public static final java.lang.String TARGET_API = "target_api"; + field public static final java.lang.String TITLE = "title"; + field public static final java.lang.String WALLPAPER_URI = "wallpaper_uri"; + field public static final java.lang.String _ID = "_id"; + } + + public static class ThemesContract.ThemesColumns.InstallState { + ctor public ThemesContract.ThemesColumns.InstallState(); + field public static final int INSTALLED = 3; // 0x3 + field public static final int INSTALLING = 1; // 0x1 + field public static final int UNKNOWN = 0; // 0x0 + field public static final int UPDATING = 2; // 0x2 + } + + public class WeatherContract { + ctor public WeatherContract(); + field public static final java.lang.String AUTHORITY = "com.cyanogenmod.weather"; + field public static final android.net.Uri AUTHORITY_URI; + } + + public static class WeatherContract.WeatherColumns { + ctor public WeatherContract.WeatherColumns(); + field public static final android.net.Uri CONTENT_URI; + field public static final android.net.Uri CURRENT_AND_FORECAST_WEATHER_URI; + field public static final java.lang.String CURRENT_CITY = "city"; + field public static final java.lang.String CURRENT_CONDITION = "condition"; + field public static final java.lang.String CURRENT_CONDITION_CODE = "condition_code"; + field public static final java.lang.String CURRENT_HUMIDITY = "humidity"; + field public static final java.lang.String CURRENT_TEMPERATURE = "temperature"; + field public static final java.lang.String CURRENT_TEMPERATURE_UNIT = "temperature_unit"; + field public static final java.lang.String CURRENT_TIMESTAMP = "timestamp"; + field public static final android.net.Uri CURRENT_WEATHER_URI; + field public static final java.lang.String CURRENT_WIND_DIRECTION = "wind_direction"; + field public static final java.lang.String CURRENT_WIND_SPEED = "wind_speed"; + field public static final java.lang.String CURRENT_WIND_SPEED_UNIT = "wind_speed_unit"; + field public static final java.lang.String FORECAST_CONDITION = "forecast_condition"; + field public static final java.lang.String FORECAST_CONDITION_CODE = "forecast_condition_code"; + field public static final java.lang.String FORECAST_HIGH = "forecast_high"; + field public static final java.lang.String FORECAST_LOW = "forecast_low"; + field public static final android.net.Uri FORECAST_WEATHER_URI; + field public static final java.lang.String TODAYS_HIGH_TEMPERATURE = "todays_high"; + field public static final java.lang.String TODAYS_LOW_TEMPERATURE = "todays_low"; + } + + public static final class WeatherContract.WeatherColumns.TempUnit { + field public static final int CELSIUS = 1; // 0x1 + field public static final int FAHRENHEIT = 2; // 0x2 + } + + public static final class WeatherContract.WeatherColumns.WeatherCode { + field public static final int BLOWING_SNOW = 14; // 0xe + field public static final int BLUSTERY = 22; // 0x16 + field public static final int CLEAR_NIGHT = 30; // 0x1e + field public static final int CLOUDY = 25; // 0x19 + field public static final int COLD = 24; // 0x18 + field public static final int DRIZZLE = 9; // 0x9 + field public static final int DUST = 18; // 0x12 + field public static final int FAIR_DAY = 33; // 0x21 + field public static final int FAIR_NIGHT = 32; // 0x20 + field public static final int FOGGY = 19; // 0x13 + field public static final int FREEZING_DRIZZLE = 8; // 0x8 + field public static final int FREEZING_RAIN = 10; // 0xa + field public static final int HAIL = 16; // 0x10 + field public static final int HAZE = 20; // 0x14 + field public static final int HEAVY_SNOW = 39; // 0x27 + field public static final int HOT = 35; // 0x23 + field public static final int HURRICANE = 2; // 0x2 + field public static final int ISOLATED_THUNDERSHOWERS = 44; // 0x2c + field public static final int ISOLATED_THUNDERSTORMS = 36; // 0x24 + field public static final int LIGHT_SNOW_SHOWERS = 13; // 0xd + field public static final int MIXED_RAIN_AND_HAIL = 34; // 0x22 + field public static final int MIXED_RAIN_AND_SLEET = 6; // 0x6 + field public static final int MIXED_RAIN_AND_SNOW = 5; // 0x5 + field public static final int MIXED_SNOW_AND_SLEET = 7; // 0x7 + field public static final int MOSTLY_CLOUDY_DAY = 27; // 0x1b + field public static final int MOSTLY_CLOUDY_NIGHT = 26; // 0x1a + field public static final int NOT_AVAILABLE = 3200; // 0xc80 + field public static final int PARTLY_CLOUDY = 41; // 0x29 + field public static final int PARTLY_CLOUDY_DAY = 29; // 0x1d + field public static final int PARTLY_CLOUDY_NIGHT = 28; // 0x1c + field public static final int SCATTERED_SHOWERS = 38; // 0x26 + field public static final int SCATTERED_SNOW_SHOWERS = 40; // 0x28 + field public static final int SCATTERED_THUNDERSTORMS = 37; // 0x25 + field public static final int SEVERE_THUNDERSTORMS = 3; // 0x3 + field public static final int SHOWERS = 11; // 0xb + field public static final int SLEET = 17; // 0x11 + field public static final int SMOKY = 21; // 0x15 + field public static final int SNOW = 15; // 0xf + field public static final int SNOW_FLURRIES = 12; // 0xc + field public static final int SNOW_SHOWERS = 43; // 0x2b + field public static final int SUNNY = 31; // 0x1f + field public static final int THUNDERSHOWER = 42; // 0x2a + field public static final int THUNDERSTORMS = 4; // 0x4 + field public static final int TORNADO = 0; // 0x0 + field public static final int TROPICAL_STORM = 1; // 0x1 + field public static final int WINDY = 23; // 0x17 + } + + public static final class WeatherContract.WeatherColumns.WindSpeedUnit { + field public static final int KPH = 1; // 0x1 + field public static final int MPH = 2; // 0x2 + } + +} + +package cyanogenmod.themes { + + public final class ThemeChangeRequest implements android.os.Parcelable { + method public int describeContents(); + method public java.lang.String getAlarmThemePackageName(); + method public java.lang.String getBootanimationThemePackageName(); + method public java.lang.String getFontThemePackageName(); + method public java.lang.String getIconsThemePackageName(); + method public java.lang.String getLiveLockScreenThemePackageName(); + method public java.lang.String getLockWallpaperThemePackageName(); + method public java.lang.String getNavBarThemePackageName(); + method public java.lang.String getNotificationThemePackageName(); + method public int getNumChangesRequested(); + method public java.lang.String getOverlayThemePackageName(); + method public final java.util.Map<java.lang.String, java.lang.String> getPerAppOverlays(); + method public cyanogenmod.themes.ThemeChangeRequest.RequestType getReqeustType(); + method public java.lang.String getRingtoneThemePackageName(); + method public java.lang.String getStatusBarThemePackageName(); + method public final java.util.Map<java.lang.String, java.lang.String> getThemeComponentsMap(); + method public long getWallpaperId(); + method public java.lang.String getWallpaperThemePackageName(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.themes.ThemeChangeRequest> CREATOR; + field public static final int DEFAULT_WALLPAPER_ID = -1; // 0xffffffff + } + + public static class ThemeChangeRequest.Builder { + ctor public ThemeChangeRequest.Builder(); + ctor public ThemeChangeRequest.Builder(android.content.res.ThemeConfig); + method public cyanogenmod.themes.ThemeChangeRequest build(); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setAlarm(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setAppOverlay(java.lang.String, java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setBootanimation(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setComponent(java.lang.String, java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setFont(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setIcons(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setLiveLockScreen(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setLockWallpaper(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setNavBar(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setNotification(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setOverlay(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setRequestType(cyanogenmod.themes.ThemeChangeRequest.RequestType); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setRingtone(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setStatusBar(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setWallpaper(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setWallpaperId(long); + } + + public static final class ThemeChangeRequest.RequestType extends java.lang.Enum { + method public static cyanogenmod.themes.ThemeChangeRequest.RequestType valueOf(java.lang.String); + method public static final cyanogenmod.themes.ThemeChangeRequest.RequestType[] values(); + enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType THEME_REMOVED; + enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType THEME_RESET; + enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType THEME_UPDATED; + enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType USER_REQUEST; + enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType USER_REQUEST_MIXNMATCH; + } + + public class ThemeManager { + method public deprecated void addClient(cyanogenmod.themes.ThemeManager.ThemeChangeListener); + method public void applyDefaultTheme(); + method public static cyanogenmod.themes.ThemeManager getInstance(android.content.Context); + method public cyanogenmod.themes.ThemeChangeRequest.RequestType getLastThemeChangeRequestType(); + method public long getLastThemeChangeTime(); + method public int getProgress(); + method public boolean isThemeApplying(); + method public boolean isThemeBeingProcessed(java.lang.String); + method public deprecated void onClientDestroyed(cyanogenmod.themes.ThemeManager.ThemeChangeListener); + method public deprecated void onClientPaused(cyanogenmod.themes.ThemeManager.ThemeChangeListener); + method public deprecated void onClientResumed(cyanogenmod.themes.ThemeManager.ThemeChangeListener); + method public boolean processThemeResources(java.lang.String); + method public void registerProcessingListener(cyanogenmod.themes.ThemeManager.ThemeProcessingListener); + method public void registerThemeChangeListener(cyanogenmod.themes.ThemeManager.ThemeChangeListener); + method public deprecated void removeClient(cyanogenmod.themes.ThemeManager.ThemeChangeListener); + method public void requestThemeChange(java.lang.String, java.util.List<java.lang.String>); + method public void requestThemeChange(java.lang.String, java.util.List<java.lang.String>, boolean); + method public void requestThemeChange(java.util.Map<java.lang.String, java.lang.String>); + method public void requestThemeChange(java.util.Map<java.lang.String, java.lang.String>, boolean); + method public void requestThemeChange(cyanogenmod.themes.ThemeChangeRequest, boolean); + method public void unregisterProcessingListener(cyanogenmod.themes.ThemeManager.ThemeProcessingListener); + method public void unregisterThemeChangeListener(cyanogenmod.themes.ThemeManager.ThemeChangeListener); + } + + public static abstract interface ThemeManager.ThemeChangeListener { + method public abstract void onFinish(boolean); + method public abstract void onProgress(int); + } + + public static abstract interface ThemeManager.ThemeProcessingListener { + method public abstract void onFinishedProcessing(java.lang.String); + } + +} + +package cyanogenmod.util { + + public class ColorUtils { + ctor public ColorUtils(); + method public static double calculateDeltaE(double, double, double, double, double, double); + method public static float[] convertRGBtoLAB(int); + method public static int dropAlpha(int); + method public static int findPerceptuallyNearestColor(int, int[]); + method public static int findPerceptuallyNearestSolidColor(int); + method public static int generateAlertColorFromDrawable(android.graphics.drawable.Drawable); + method public static com.android.internal.util.cm.palette.Palette.Swatch getDominantSwatch(com.android.internal.util.cm.palette.Palette); + method public static float[] temperatureToRGB(int); + } + +} + +package cyanogenmod.weather { + + public class CMWeatherManager { + method public void cancelRequest(int); + method public java.lang.String getActiveWeatherServiceProviderLabel(); + method public static cyanogenmod.weather.CMWeatherManager getInstance(android.content.Context); + method public int lookupCity(java.lang.String, cyanogenmod.weather.CMWeatherManager.LookupCityRequestListener); + method public void registerWeatherServiceProviderChangeListener(cyanogenmod.weather.CMWeatherManager.WeatherServiceProviderChangeListener); + method public int requestWeatherUpdate(android.location.Location, cyanogenmod.weather.CMWeatherManager.WeatherUpdateRequestListener); + method public int requestWeatherUpdate(cyanogenmod.weather.WeatherLocation, cyanogenmod.weather.CMWeatherManager.WeatherUpdateRequestListener); + method public void unregisterWeatherServiceProviderChangeListener(cyanogenmod.weather.CMWeatherManager.WeatherServiceProviderChangeListener); + } + + public static abstract interface CMWeatherManager.LookupCityRequestListener { + method public abstract void onLookupCityRequestCompleted(int, java.util.List<cyanogenmod.weather.WeatherLocation>); + } + + public static final class CMWeatherManager.RequestStatus { + field public static final int ALREADY_IN_PROGRESS = -3; // 0xfffffffd + field public static final int COMPLETED = 1; // 0x1 + field public static final int FAILED = -1; // 0xffffffff + field public static final int NO_MATCH_FOUND = -4; // 0xfffffffc + field public static final int SUBMITTED_TOO_SOON = -2; // 0xfffffffe + } + + public static abstract interface CMWeatherManager.WeatherServiceProviderChangeListener { + method public abstract void onWeatherServiceProviderChanged(java.lang.String); + } + + public static abstract interface CMWeatherManager.WeatherUpdateRequestListener { + method public abstract void onWeatherRequestCompleted(int, cyanogenmod.weather.WeatherInfo); + } + + public final class RequestInfo implements android.os.Parcelable { + method public int describeContents(); + method public java.lang.String getCityName(); + method public android.location.Location getLocation(); + method public int getRequestType(); + method public int getTemperatureUnit(); + method public cyanogenmod.weather.WeatherLocation getWeatherLocation(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.weather.RequestInfo> CREATOR; + field public static final int TYPE_LOOKUP_CITY_NAME_REQ = 3; // 0x3 + field public static final int TYPE_WEATHER_BY_GEO_LOCATION_REQ = 1; // 0x1 + field public static final int TYPE_WEATHER_BY_WEATHER_LOCATION_REQ = 2; // 0x2 + } + + public final class WeatherInfo implements android.os.Parcelable { + method public int describeContents(); + method public java.lang.String getCity(); + method public int getConditionCode(); + method public java.util.List<cyanogenmod.weather.WeatherInfo.DayForecast> getForecasts(); + method public double getHumidity(); + method public double getTemperature(); + method public int getTemperatureUnit(); + method public long getTimestamp(); + method public double getTodaysHigh(); + method public double getTodaysLow(); + method public double getWindDirection(); + method public double getWindSpeed(); + method public int getWindSpeedUnit(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.weather.WeatherInfo> CREATOR; + } + + public static class WeatherInfo.Builder { + ctor public WeatherInfo.Builder(java.lang.String, double, int); + method public cyanogenmod.weather.WeatherInfo build(); + method public cyanogenmod.weather.WeatherInfo.Builder setForecast(java.util.List<cyanogenmod.weather.WeatherInfo.DayForecast>); + method public cyanogenmod.weather.WeatherInfo.Builder setHumidity(double); + method public cyanogenmod.weather.WeatherInfo.Builder setTimestamp(long); + method public cyanogenmod.weather.WeatherInfo.Builder setTodaysHigh(double); + method public cyanogenmod.weather.WeatherInfo.Builder setTodaysLow(double); + method public cyanogenmod.weather.WeatherInfo.Builder setWeatherCondition(int); + method public cyanogenmod.weather.WeatherInfo.Builder setWind(double, double, int); + } + + public static class WeatherInfo.DayForecast implements android.os.Parcelable { + method public int describeContents(); + method public int getConditionCode(); + method public double getHigh(); + method public double getLow(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.weather.WeatherInfo.DayForecast> CREATOR; + } + + public static class WeatherInfo.DayForecast.Builder { + ctor public WeatherInfo.DayForecast.Builder(int); + method public cyanogenmod.weather.WeatherInfo.DayForecast build(); + method public cyanogenmod.weather.WeatherInfo.DayForecast.Builder setHigh(double); + method public cyanogenmod.weather.WeatherInfo.DayForecast.Builder setLow(double); + } + + public final class WeatherLocation implements android.os.Parcelable { + method public int describeContents(); + method public java.lang.String getCity(); + method public java.lang.String getCityId(); + method public java.lang.String getCountry(); + method public java.lang.String getCountryId(); + method public java.lang.String getPostalCode(); + method public java.lang.String getState(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.weather.WeatherLocation> CREATOR; + } + + public static class WeatherLocation.Builder { + ctor public WeatherLocation.Builder(java.lang.String, java.lang.String); + ctor public WeatherLocation.Builder(java.lang.String); + method public cyanogenmod.weather.WeatherLocation build(); + method public cyanogenmod.weather.WeatherLocation.Builder setCountry(java.lang.String); + method public cyanogenmod.weather.WeatherLocation.Builder setCountryId(java.lang.String); + method public cyanogenmod.weather.WeatherLocation.Builder setPostalCode(java.lang.String); + method public cyanogenmod.weather.WeatherLocation.Builder setState(java.lang.String); + } + +} + +package cyanogenmod.weatherservice { + + public final class ServiceRequest { + method public void complete(cyanogenmod.weatherservice.ServiceRequestResult); + method public void fail(); + method public cyanogenmod.weather.RequestInfo getRequestInfo(); + method public void reject(int); + } + + public final class ServiceRequestResult implements android.os.Parcelable { + method public int describeContents(); + method public java.util.List<cyanogenmod.weather.WeatherLocation> getLocationLookupList(); + method public cyanogenmod.weather.WeatherInfo getWeatherInfo(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.weatherservice.ServiceRequestResult> CREATOR; + } + + public static class ServiceRequestResult.Builder { + ctor public ServiceRequestResult.Builder(); + ctor public ServiceRequestResult.Builder(cyanogenmod.weather.WeatherInfo); + ctor public ServiceRequestResult.Builder(java.util.List<cyanogenmod.weather.WeatherLocation>); + method public cyanogenmod.weatherservice.ServiceRequestResult build(); + } + + public abstract class WeatherProviderService extends android.app.Service { + ctor public WeatherProviderService(); + method protected final void attachBaseContext(android.content.Context); + method public final android.os.IBinder onBind(android.content.Intent); + method protected void onConnected(); + method protected void onDisconnected(); + method protected abstract void onRequestCancelled(cyanogenmod.weatherservice.ServiceRequest); + method protected abstract void onRequestSubmitted(cyanogenmod.weatherservice.ServiceRequest); + field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.weatherservice.WeatherProviderService"; + field public static final java.lang.String SERVICE_META_DATA = "cyanogenmod.weatherservice"; + } + +} + diff --git a/cmsdk/api/7.txt b/cmsdk/api/7.txt new file mode 100644 index 0000000..3b80f90 --- /dev/null +++ b/cmsdk/api/7.txt @@ -0,0 +1,1552 @@ +package cyanogenmod.alarmclock { + + public final class ClockContract { + field public static final java.lang.String AUTHORITY = "com.android.deskclock"; + } + + public static abstract interface ClockContract.AlarmSettingColumns { + field public static final java.lang.String INCREASING_VOLUME = "incvol"; + field public static final java.lang.String LABEL = "label"; + field public static final java.lang.String NO_RINGTONE; + field public static final android.net.Uri NO_RINGTONE_URI; + field public static final java.lang.String PROFILE = "profile"; + field public static final java.lang.String RINGTONE = "ringtone"; + field public static final java.lang.String VIBRATE = "vibrate"; + } + + public static abstract interface ClockContract.AlarmsColumns implements cyanogenmod.alarmclock.ClockContract.AlarmSettingColumns { + field public static final android.net.Uri CONTENT_URI; + field public static final java.lang.String DAYS_OF_WEEK = "daysofweek"; + field public static final java.lang.String DELETE_AFTER_USE = "delete_after_use"; + field public static final java.lang.String ENABLED = "enabled"; + field public static final java.lang.String HOUR = "hour"; + field public static final java.lang.String MINUTES = "minutes"; + } + + public static abstract interface ClockContract.CitiesColumns { + field public static final java.lang.String CITY_ID = "city_id"; + field public static final java.lang.String CITY_NAME = "city_name"; + field public static final android.net.Uri CONTENT_URI; + field public static final java.lang.String TIMEZONE_NAME = "timezone_name"; + field public static final java.lang.String TIMEZONE_OFFSET = "timezone_offset"; + } + + public static abstract interface ClockContract.InstancesColumns implements cyanogenmod.alarmclock.ClockContract.AlarmSettingColumns { + field public static final java.lang.String ALARM_ID = "alarm_id"; + field public static final java.lang.String ALARM_STATE = "alarm_state"; + field public static final android.net.Uri CONTENT_URI; + field public static final java.lang.String DAY = "day"; + field public static final int DISMISSED_STATE = 7; // 0x7 + field public static final int FIRED_STATE = 5; // 0x5 + field public static final int HIDE_NOTIFICATION_STATE = 2; // 0x2 + field public static final int HIGH_NOTIFICATION_STATE = 3; // 0x3 + field public static final java.lang.String HOUR = "hour"; + field public static final int LOW_NOTIFICATION_STATE = 1; // 0x1 + field public static final java.lang.String MINUTES = "minutes"; + field public static final int MISSED_STATE = 6; // 0x6 + field public static final java.lang.String MONTH = "month"; + field public static final int POWER_OFF_ALARM_STATE = -1; // 0xffffffff + field public static final int PREDISMISSED_STATE = 8; // 0x8 + field public static final int SILENT_STATE = 0; // 0x0 + field public static final int SNOOZE_STATE = 4; // 0x4 + field public static final java.lang.String YEAR = "year"; + } + + public class CyanogenModAlarmClock { + ctor public CyanogenModAlarmClock(); + method public static android.content.Intent createAlarmIntent(android.content.Context); + field public static final java.lang.String ACTION_SET_ALARM_ENABLED = "cyanogenmod.alarmclock.SET_ALARM_ENABLED"; + field public static final java.lang.String EXTRA_ALARM_ID = "cyanogenmod.intent.extra.alarmclock.ID"; + field public static final java.lang.String EXTRA_ENABLED = "cyanogenmod.intent.extra.alarmclock.ENABLED"; + field public static final java.lang.String MODIFY_ALARMS_PERMISSION = "cyanogenmod.alarmclock.permission.MODIFY_ALARMS"; + field public static final java.lang.String READ_ALARMS_PERMISSION = "cyanogenmod.alarmclock.permission.READ_ALARMS"; + } + +} + +package cyanogenmod.app { + + public class CMStatusBarManager { + method public static cyanogenmod.app.CMStatusBarManager getInstance(android.content.Context); + method public void publishTile(int, cyanogenmod.app.CustomTile); + method public void publishTile(java.lang.String, int, cyanogenmod.app.CustomTile); + method public void publishTileAsUser(java.lang.String, int, cyanogenmod.app.CustomTile, android.os.UserHandle); + method public void removeTile(int); + method public void removeTile(java.lang.String, int); + method public void removeTileAsUser(java.lang.String, int, android.os.UserHandle); + } + + public class CMTelephonyManager { + method public static cyanogenmod.app.CMTelephonyManager getInstance(android.content.Context); + method public java.util.List<android.telephony.SubscriptionInfo> getSubInformation(); + method public boolean isDataConnectionEnabled(); + method public boolean isDataConnectionSelectedOnSub(int); + method public boolean isSubActive(int); + method public void setDataConnectionState(boolean); + method public void setDefaultPhoneSub(int); + method public void setDefaultSmsSub(int); + method public void setSubState(int, boolean); + field public static final int ASK_FOR_SUBSCRIPTION_ID = 0; // 0x0 + } + + public class CustomTile implements android.os.Parcelable { + ctor public CustomTile(android.os.Parcel); + ctor public CustomTile(); + method public cyanogenmod.app.CustomTile clone(); + method public int describeContents(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.app.CustomTile> CREATOR; + field public static final int PSEUDO_GRID_ITEM_MAX_COUNT = 9; // 0x9 + field public boolean collapsePanel; + field public java.lang.String contentDescription; + field public android.app.PendingIntent deleteIntent; + field public cyanogenmod.app.CustomTile.ExpandedStyle expandedStyle; + field public int icon; + field public java.lang.String label; + field public android.app.PendingIntent onClick; + field public android.net.Uri onClickUri; + field public android.app.PendingIntent onLongClick; + field public android.content.Intent onSettingsClick; + field public android.graphics.Bitmap remoteIcon; + field public boolean sensitiveData; + } + + public static class CustomTile.Builder { + ctor public CustomTile.Builder(android.content.Context); + method public cyanogenmod.app.CustomTile build(); + method public cyanogenmod.app.CustomTile.Builder hasSensitiveData(boolean); + method public cyanogenmod.app.CustomTile.Builder setContentDescription(java.lang.String); + method public cyanogenmod.app.CustomTile.Builder setContentDescription(int); + method public cyanogenmod.app.CustomTile.Builder setDeleteIntent(android.app.PendingIntent); + method public cyanogenmod.app.CustomTile.Builder setExpandedStyle(cyanogenmod.app.CustomTile.ExpandedStyle); + method public cyanogenmod.app.CustomTile.Builder setIcon(int); + method public cyanogenmod.app.CustomTile.Builder setIcon(android.graphics.Bitmap); + method public cyanogenmod.app.CustomTile.Builder setLabel(java.lang.String); + method public cyanogenmod.app.CustomTile.Builder setLabel(int); + method public cyanogenmod.app.CustomTile.Builder setOnClickIntent(android.app.PendingIntent); + method public cyanogenmod.app.CustomTile.Builder setOnClickUri(android.net.Uri); + method public cyanogenmod.app.CustomTile.Builder setOnLongClickIntent(android.app.PendingIntent); + method public cyanogenmod.app.CustomTile.Builder setOnSettingsClickIntent(android.content.Intent); + method public cyanogenmod.app.CustomTile.Builder shouldCollapsePanel(boolean); + } + + public static class CustomTile.ExpandedGridItem extends cyanogenmod.app.CustomTile.ExpandedItem { + ctor public CustomTile.ExpandedGridItem(); + method public void setExpandedGridItemBitmap(android.graphics.Bitmap); + method public void setExpandedGridItemDrawable(int); + method public void setExpandedGridItemOnClickIntent(android.app.PendingIntent); + method public void setExpandedGridItemTitle(java.lang.String); + } + + public static class CustomTile.ExpandedItem implements android.os.Parcelable { + ctor protected CustomTile.ExpandedItem(android.os.Parcel); + method public int describeContents(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.app.CustomTile.ExpandedItem> CREATOR; + field public android.graphics.Bitmap itemBitmapResource; + field public int itemDrawableResourceId; + field public java.lang.String itemSummary; + field public java.lang.String itemTitle; + field public android.app.PendingIntent onClickPendingIntent; + } + + public static class CustomTile.ExpandedListItem extends cyanogenmod.app.CustomTile.ExpandedItem { + ctor public CustomTile.ExpandedListItem(); + method public void setExpandedListItemBitmap(android.graphics.Bitmap); + method public void setExpandedListItemDrawable(int); + method public void setExpandedListItemOnClickIntent(android.app.PendingIntent); + method public void setExpandedListItemSummary(java.lang.String); + method public void setExpandedListItemTitle(java.lang.String); + } + + public static class CustomTile.ExpandedStyle implements android.os.Parcelable { + method public int describeContents(); + method public android.widget.RemoteViews getContentViews(); + method public cyanogenmod.app.CustomTile.ExpandedItem[] getExpandedItems(); + method public int getStyle(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.app.CustomTile.ExpandedStyle> CREATOR; + field public static final int GRID_STYLE = 0; // 0x0 + field public static final int LIST_STYLE = 1; // 0x1 + field public static final int REMOTE_STYLE = 2; // 0x2 + } + + public static class CustomTile.GridExpandedStyle extends cyanogenmod.app.CustomTile.ExpandedStyle { + ctor public CustomTile.GridExpandedStyle(); + method public void setGridItems(java.util.ArrayList<cyanogenmod.app.CustomTile.ExpandedGridItem>); + } + + public static class CustomTile.ListExpandedStyle extends cyanogenmod.app.CustomTile.ExpandedStyle { + ctor public CustomTile.ListExpandedStyle(); + method public void setListItems(java.util.ArrayList<cyanogenmod.app.CustomTile.ExpandedListItem>); + } + + public static class CustomTile.RemoteExpandedStyle extends cyanogenmod.app.CustomTile.ExpandedStyle { + ctor public CustomTile.RemoteExpandedStyle(); + method public void setRemoteViews(android.widget.RemoteViews); + } + + public class CustomTileListenerService extends android.app.Service { + ctor public CustomTileListenerService(); + method public android.os.IBinder onBind(android.content.Intent); + method public void onCustomTilePosted(cyanogenmod.app.StatusBarPanelCustomTile); + method public void onCustomTileRemoved(cyanogenmod.app.StatusBarPanelCustomTile); + method public void onListenerConnected(); + method public final void removeCustomTile(java.lang.String, java.lang.String, int); + field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.app.CustomTileListenerService"; + } + + public class LiveLockScreenInfo implements android.os.Parcelable { + ctor public LiveLockScreenInfo(android.content.ComponentName, int); + ctor public LiveLockScreenInfo(); + method public cyanogenmod.app.LiveLockScreenInfo clone(); + method public int describeContents(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.app.LiveLockScreenInfo> CREATOR; + field public static final int PRIORITY_DEFAULT = 0; // 0x0 + field public static final int PRIORITY_HIGH = 1; // 0x1 + field public static final int PRIORITY_LOW = -1; // 0xffffffff + field public static final int PRIORITY_MAX = 2; // 0x2 + field public static final int PRIORITY_MIN = -2; // 0xfffffffe + field public android.content.ComponentName component; + field public int priority; + } + + public static class LiveLockScreenInfo.Builder { + ctor public LiveLockScreenInfo.Builder(); + method public cyanogenmod.app.LiveLockScreenInfo build(); + method public cyanogenmod.app.LiveLockScreenInfo.Builder setComponent(android.content.ComponentName); + method public cyanogenmod.app.LiveLockScreenInfo.Builder setPriority(int); + } + + public class LiveLockScreenManager { + method public void cancel(int); + method public cyanogenmod.app.LiveLockScreenInfo getDefaultLiveLockScreen(); + method public static cyanogenmod.app.LiveLockScreenManager getInstance(android.content.Context); + method public void setDefaultLiveLockScreen(cyanogenmod.app.LiveLockScreenInfo); + method public boolean show(int, cyanogenmod.app.LiveLockScreenInfo); + field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.app.LiveLockScreenManagerService"; + } + + public class PartnerInterface { + method public java.lang.String getCurrentHotwordPackageName(); + method public static cyanogenmod.app.PartnerInterface getInstance(android.content.Context); + method public void rebootDevice(); + method public void setAirplaneModeEnabled(boolean); + method public void setMobileDataEnabled(boolean); + method public boolean setZenMode(int); + method public boolean setZenModeWithDuration(int, long); + method public void shutdownDevice(); + field public static final java.lang.String MODIFY_NETWORK_SETTINGS_PERMISSION = "cyanogenmod.permission.MODIFY_NETWORK_SETTINGS"; + field public static final java.lang.String MODIFY_SOUND_SETTINGS_PERMISSION = "cyanogenmod.permission.MODIFY_SOUND_SETTINGS"; + field public static final int ZEN_MODE_IMPORTANT_INTERRUPTIONS = 1; // 0x1 + field public static final int ZEN_MODE_NO_INTERRUPTIONS = 2; // 0x2 + field public static final int ZEN_MODE_OFF = 0; // 0x0 + } + + public final class Profile implements java.lang.Comparable android.os.Parcelable { + ctor public Profile(java.lang.String); + method public void addSecondaryUuid(java.util.UUID); + method public int compareTo(java.lang.Object); + method public int describeContents(); + method public cyanogenmod.profiles.AirplaneModeSettings getAirplaneMode(); + method public cyanogenmod.profiles.BrightnessSettings getBrightness(); + method public cyanogenmod.profiles.ConnectionSettings getConnectionSettingWithSubId(int); + method public java.util.Collection<cyanogenmod.profiles.ConnectionSettings> getConnectionSettings(); + method public int getDozeMode(); + method public int getExpandedDesktopMode(); + method public java.lang.String getName(); + method public int getNotificationLightMode(); + method public int getProfileType(); + method public cyanogenmod.profiles.RingModeSettings getRingMode(); + method public cyanogenmod.profiles.LockSettings getScreenLockMode(); + method public java.util.UUID[] getSecondaryUuids(); + method public cyanogenmod.profiles.ConnectionSettings getSettingsForConnection(int); + method public cyanogenmod.profiles.StreamSettings getSettingsForStream(int); + method public java.util.Collection<cyanogenmod.profiles.StreamSettings> getStreamSettings(); + method public int getTriggerState(int, java.lang.String); + method public java.util.ArrayList<cyanogenmod.app.Profile.ProfileTrigger> getTriggersFromType(int); + method public java.util.UUID getUuid(); + method public boolean isConditionalType(); + method public void setAirplaneMode(cyanogenmod.profiles.AirplaneModeSettings); + method public void setBrightness(cyanogenmod.profiles.BrightnessSettings); + method public void setConnectionSettings(cyanogenmod.profiles.ConnectionSettings); + method public void setDozeMode(int); + method public void setExpandedDesktopMode(int); + method public void setName(java.lang.String); + method public void setNotificationLightMode(int); + method public void setProfileType(int); + method public void setRingMode(cyanogenmod.profiles.RingModeSettings); + method public void setScreenLockMode(cyanogenmod.profiles.LockSettings); + method public void setSecondaryUuids(java.util.List<java.util.UUID>); + method public void setStreamSettings(cyanogenmod.profiles.StreamSettings); + method public void setTrigger(cyanogenmod.app.Profile.ProfileTrigger); + method public void writeToParcel(android.os.Parcel, int); + } + + public static class Profile.DozeMode { + ctor public Profile.DozeMode(); + field public static final int DEFAULT = 0; // 0x0 + field public static final int DISABLE = 2; // 0x2 + field public static final int ENABLE = 1; // 0x1 + } + + public static class Profile.ExpandedDesktopMode { + ctor public Profile.ExpandedDesktopMode(); + field public static final int DEFAULT = 0; // 0x0 + field public static final int DISABLE = 2; // 0x2 + field public static final int ENABLE = 1; // 0x1 + } + + public static class Profile.LockMode { + ctor public Profile.LockMode(); + field public static final int DEFAULT = 0; // 0x0 + field public static final int DISABLE = 2; // 0x2 + field public static final int INSECURE = 1; // 0x1 + } + + public static class Profile.NotificationLightMode { + ctor public Profile.NotificationLightMode(); + field public static final int DEFAULT = 0; // 0x0 + field public static final int DISABLE = 2; // 0x2 + field public static final int ENABLE = 1; // 0x1 + } + + public static class Profile.ProfileTrigger implements android.os.Parcelable { + ctor public Profile.ProfileTrigger(int, java.lang.String, int, java.lang.String); + method public int describeContents(); + method public java.lang.String getId(); + method public java.lang.String getName(); + method public int getState(); + method public int getType(); + method public void writeToParcel(android.os.Parcel, int); + } + + public static class Profile.TriggerState { + ctor public Profile.TriggerState(); + field public static final int DISABLED = 2; // 0x2 + field public static final int ON_A2DP_CONNECT = 3; // 0x3 + field public static final int ON_A2DP_DISCONNECT = 4; // 0x4 + field public static final int ON_CONNECT = 0; // 0x0 + field public static final int ON_DISCONNECT = 1; // 0x1 + } + + public static class Profile.TriggerType { + ctor public Profile.TriggerType(); + field public static final int BLUETOOTH = 1; // 0x1 + field public static final int WIFI = 0; // 0x0 + } + + public static class Profile.Type { + ctor public Profile.Type(); + field public static final int CONDITIONAL = 1; // 0x1 + field public static final int TOGGLE = 0; // 0x0 + } + + public class ProfileManager { + method public void addProfile(cyanogenmod.app.Profile); + method public cyanogenmod.app.Profile getActiveProfile(); + method public static cyanogenmod.app.ProfileManager getInstance(android.content.Context); + method public deprecated cyanogenmod.app.Profile getProfile(java.lang.String); + method public cyanogenmod.app.Profile getProfile(java.util.UUID); + method public java.lang.String[] getProfileNames(); + method public cyanogenmod.app.Profile[] getProfiles(); + method public boolean isProfilesEnabled(); + method public boolean profileExists(java.lang.String); + method public boolean profileExists(java.util.UUID); + method public void removeProfile(cyanogenmod.app.Profile); + method public void resetAll(); + method public deprecated void setActiveProfile(java.lang.String); + method public void setActiveProfile(java.util.UUID); + method public void updateProfile(cyanogenmod.app.Profile); + field public static final java.lang.String ACTION_PROFILE_PICKER = "cyanogenmod.platform.intent.action.PROFILE_PICKER"; + field public static final java.lang.String EXTRA_LAST_PROFILE_NAME = "lastName"; + field public static final java.lang.String EXTRA_LAST_PROFILE_UUID = "lastUuid"; + field public static final java.lang.String EXTRA_PROFILES_STATE = "profile_state"; + field public static final java.lang.String EXTRA_PROFILE_DIALOG_THEME = "cyanogenmod.platform.intent.extra.profile.DIALOG_THEME"; + field public static final java.lang.String EXTRA_PROFILE_EXISTING_UUID = "cyanogenmod.platform.extra.profile.EXISTING_UUID"; + field public static final java.lang.String EXTRA_PROFILE_NAME = "name"; + field public static final java.lang.String EXTRA_PROFILE_PICKED_UUID = "cyanogenmod.platform.intent.extra.profile.PICKED_UUID"; + field public static final java.lang.String EXTRA_PROFILE_SHOW_NONE = "cyanogenmod.platform.intent.extra.profile.SHOW_NONE"; + field public static final java.lang.String EXTRA_PROFILE_TITLE = "cyanogenmod.platform.intent.extra.profile.TITLE"; + field public static final java.lang.String EXTRA_PROFILE_UUID = "uuid"; + field public static final java.lang.String INTENT_ACTION_PROFILE_SELECTED = "cyanogenmod.platform.intent.action.PROFILE_SELECTED"; + field public static final java.lang.String INTENT_ACTION_PROFILE_UPDATED = "cyanogenmod.platform.intent.action.PROFILE_UPDATED"; + field public static final java.util.UUID NO_PROFILE; + field public static final java.lang.String PROFILES_STATE_CHANGED_ACTION = "cyanogenmod.platform.app.profiles.PROFILES_STATE_CHANGED"; + field public static final int PROFILES_STATE_DISABLED = 0; // 0x0 + field public static final int PROFILES_STATE_ENABLED = 1; // 0x1 + } + + public class StatusBarPanelCustomTile implements android.os.Parcelable { + ctor public StatusBarPanelCustomTile(java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, int, int, cyanogenmod.app.CustomTile, android.os.UserHandle); + ctor public StatusBarPanelCustomTile(java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, int, int, cyanogenmod.app.CustomTile, android.os.UserHandle, long); + ctor public StatusBarPanelCustomTile(android.os.Parcel); + method public cyanogenmod.app.StatusBarPanelCustomTile clone(); + method public int describeContents(); + method public cyanogenmod.app.CustomTile getCustomTile(); + method public int getId(); + method public java.lang.String getKey(); + method public java.lang.String getPackage(); + method public long getPostTime(); + method public java.lang.String getTag(); + method public android.os.UserHandle getUser(); + method public int getUserId(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.app.StatusBarPanelCustomTile> CREATOR; + } + +} + +package cyanogenmod.content { + + public class Intent { + ctor public Intent(); + field public static final java.lang.String ACTION_PROTECTED = "cyanogenmod.intent.action.PACKAGE_PROTECTED"; + field public static final java.lang.String ACTION_PROTECTED_CHANGED = "cyanogenmod.intent.action.PROTECTED_COMPONENT_UPDATE"; + field public static final java.lang.String ACTION_THEME_INSTALLED = "cyanogenmod.intent.action.THEME_INSTALLED"; + field public static final java.lang.String ACTION_THEME_REMOVED = "cyanogenmod.intent.action.THEME_REMOVED"; + field public static final java.lang.String ACTION_THEME_UPDATED = "cyanogenmod.intent.action.THEME_UPDATED"; + field public static final java.lang.String CATEGORY_THEME_PACKAGE_INSTALLED_STATE_CHANGE = "cyanogenmod.intent.category.THEME_PACKAGE_INSTALL_STATE_CHANGE"; + field public static final java.lang.String EXTRA_PROTECTED_COMPONENTS = "cyanogenmod.intent.extra.PACKAGE_PROTECTED_COMPONENTS"; + field public static final java.lang.String EXTRA_PROTECTED_STATE = "cyanogenmod.intent.extra.PACKAGE_PROTECTED_STATE"; + field public static final java.lang.String URI_SCHEME_PACKAGE = "package"; + } + +} + +package cyanogenmod.externalviews { + + public abstract class KeyguardExternalViewProviderService extends android.app.Service { + ctor public KeyguardExternalViewProviderService(); + method protected abstract cyanogenmod.externalviews.KeyguardExternalViewProviderService.Provider createExternalView(android.os.Bundle); + method public final android.os.IBinder onBind(android.content.Intent); + field public static final java.lang.String META_DATA = "cyanogenmod.externalviews.keyguard"; + field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.externalviews.KeyguardExternalViewProviderService"; + } + + protected abstract class KeyguardExternalViewProviderService.Provider { + ctor protected KeyguardExternalViewProviderService.Provider(android.os.Bundle); + method protected final deprecated void collapseNotificationPanel(); + method protected android.os.Bundle getOptions(); + method protected void onAttach(); + method protected abstract void onBouncerShowing(boolean); + method protected abstract android.view.View onCreateView(); + method protected void onDetach(); + method protected abstract void onKeyguardDismissed(); + method protected abstract void onKeyguardShowing(boolean); + method protected void onLockscreenSlideOffsetChanged(float); + method protected abstract void onScreenTurnedOff(); + method protected abstract void onScreenTurnedOn(); + method protected final boolean requestDismiss(); + method protected final boolean requestDismissAndStartActivity(android.content.Intent); + method protected final void setInteractivity(boolean); + method protected final void slideLockscreenIn(); + } + +} + +package cyanogenmod.hardware { + + public final class CMHardwareManager { + method public boolean deletePersistentObject(java.lang.String); + method public boolean get(int); + method public int getColorBalance(); + method public android.util.Range<java.lang.Integer> getColorBalanceRange(); + method public cyanogenmod.hardware.DisplayMode getCurrentDisplayMode(); + method public cyanogenmod.hardware.DisplayMode getDefaultDisplayMode(); + method public cyanogenmod.hardware.HSIC getDefaultPictureAdjustment(); + method public int[] getDisplayColorCalibration(); + method public int getDisplayColorCalibrationDefault(); + method public int getDisplayColorCalibrationMax(); + method public int getDisplayColorCalibrationMin(); + method public deprecated int[] getDisplayGammaCalibration(int); + method public deprecated int getDisplayGammaCalibrationMax(); + method public deprecated int getDisplayGammaCalibrationMin(); + method public cyanogenmod.hardware.DisplayMode[] getDisplayModes(); + method public static cyanogenmod.hardware.CMHardwareManager getInstance(android.content.Context); + method public java.lang.String getLtoDestination(); + method public long getLtoDownloadInterval(); + method public java.lang.String getLtoSource(); + method public deprecated int getNumGammaControls(); + method public cyanogenmod.hardware.HSIC getPictureAdjustment(); + method public java.util.List<android.util.Range<java.lang.Float>> getPictureAdjustmentRanges(); + method public java.lang.String getSerialNumber(); + method public int getSupportedFeatures(); + method public int getThermalState(); + method public java.lang.String getUniqueDeviceId(); + method public int getVibratorDefaultIntensity(); + method public int getVibratorIntensity(); + method public int getVibratorMaxIntensity(); + method public int getVibratorMinIntensity(); + method public int getVibratorWarningIntensity(); + method public boolean isSunlightEnhancementSelfManaged(); + method public boolean isSupported(int); + method public byte[] readPersistentBytes(java.lang.String); + method public int readPersistentInt(java.lang.String); + method public java.lang.String readPersistentString(java.lang.String); + method public boolean registerThermalListener(cyanogenmod.hardware.ThermalListenerCallback); + method public boolean requireAdaptiveBacklightForSunlightEnhancement(); + method public boolean set(int, boolean); + method public boolean setColorBalance(int); + method public boolean setDisplayColorCalibration(int[]); + method public deprecated boolean setDisplayGammaCalibration(int, int[]); + method public boolean setDisplayMode(cyanogenmod.hardware.DisplayMode, boolean); + method public boolean setPictureAdjustment(cyanogenmod.hardware.HSIC); + method public boolean setVibratorIntensity(int); + method public boolean unRegisterThermalListener(cyanogenmod.hardware.ThermalListenerCallback); + method public boolean writePersistentBytes(java.lang.String, byte[]); + method public boolean writePersistentInt(java.lang.String, int); + method public boolean writePersistentString(java.lang.String, java.lang.String); + field public static final int FEATURE_ADAPTIVE_BACKLIGHT = 1; // 0x1 + field public static final int FEATURE_AUTO_CONTRAST = 4096; // 0x1000 + field public static final int FEATURE_COLOR_BALANCE = 131072; // 0x20000 + field public static final int FEATURE_COLOR_ENHANCEMENT = 2; // 0x2 + field public static final int FEATURE_DISPLAY_COLOR_CALIBRATION = 4; // 0x4 + field public static final int FEATURE_DISPLAY_GAMMA_CALIBRATION = 8; // 0x8 + field public static final int FEATURE_DISPLAY_MODES = 8192; // 0x2000 + field public static final int FEATURE_HIGH_TOUCH_SENSITIVITY = 16; // 0x10 + field public static final int FEATURE_KEY_DISABLE = 32; // 0x20 + field public static final int FEATURE_LONG_TERM_ORBITS = 64; // 0x40 + field public static final int FEATURE_PERSISTENT_STORAGE = 16384; // 0x4000 + field public static final int FEATURE_PICTURE_ADJUSTMENT = 262144; // 0x40000 + field public static final int FEATURE_SERIAL_NUMBER = 128; // 0x80 + field public static final int FEATURE_SUNLIGHT_ENHANCEMENT = 256; // 0x100 + field public static final int FEATURE_TAP_TO_WAKE = 512; // 0x200 + field public static final int FEATURE_THERMAL_MONITOR = 32768; // 0x8000 + field public static final int FEATURE_TOUCH_HOVERING = 2048; // 0x800 + field public static final int FEATURE_UNIQUE_DEVICE_ID = 65536; // 0x10000 + field public static final int FEATURE_VIBRATOR = 1024; // 0x400 + } + + public class DisplayMode implements android.os.Parcelable { + ctor public DisplayMode(int, java.lang.String); + method public int describeContents(); + method public void writeToParcel(android.os.Parcel, int); + field public final int id; + field public final java.lang.String name; + } + + public class HSIC implements android.os.Parcelable { + ctor public HSIC(float, float, float, float, float); + method public int describeContents(); + method public java.lang.String flatten(); + method public static cyanogenmod.hardware.HSIC fromFloatArray(float[]); + method public float getContrast(); + method public float getHue(); + method public float getIntensity(); + method public float getSaturation(); + method public float getSaturationThreshold(); + method public float[] toFloatArray(); + method public int[] toRGB(); + method public static cyanogenmod.hardware.HSIC unflattenFrom(java.lang.String) throws java.lang.NumberFormatException; + method public void writeToParcel(android.os.Parcel, int); + } + + public abstract interface IThermalListenerCallback implements android.os.IInterface { + method public abstract void onThermalChanged(int) throws android.os.RemoteException; + } + + public static abstract class IThermalListenerCallback.Stub extends android.os.Binder implements cyanogenmod.hardware.IThermalListenerCallback { + ctor public IThermalListenerCallback.Stub(); + method public android.os.IBinder asBinder(); + method public static cyanogenmod.hardware.IThermalListenerCallback asInterface(android.os.IBinder); + method public boolean onTransact(int, android.os.Parcel, android.os.Parcel, int) throws android.os.RemoteException; + } + + public class LiveDisplayConfig implements android.os.Parcelable { + ctor public LiveDisplayConfig(java.util.BitSet, int, int, int, boolean, boolean, boolean, boolean, android.util.Range<java.lang.Integer>, android.util.Range<java.lang.Integer>, android.util.Range<java.lang.Float>, android.util.Range<java.lang.Float>, android.util.Range<java.lang.Float>, android.util.Range<java.lang.Float>, android.util.Range<java.lang.Float>); + method public int describeContents(); + method public android.util.Range<java.lang.Integer> getColorBalanceRange(); + method public android.util.Range<java.lang.Integer> getColorTemperatureRange(); + method public android.util.Range<java.lang.Float> getContrastRange(); + method public boolean getDefaultAutoContrast(); + method public boolean getDefaultAutoOutdoorMode(); + method public boolean getDefaultCABC(); + method public boolean getDefaultColorEnhancement(); + method public int getDefaultDayTemperature(); + method public int getDefaultMode(); + method public int getDefaultNightTemperature(); + method public android.util.Range<java.lang.Float> getHueRange(); + method public android.util.Range<java.lang.Float> getIntensityRange(); + method public java.util.List<android.util.Range<java.lang.Float>> getPictureAdjustmentRanges(); + method public android.util.Range<java.lang.Float> getSaturationRange(); + method public android.util.Range<java.lang.Float> getSaturationThresholdRange(); + method public boolean hasFeature(int); + method public boolean hasModeSupport(); + method public boolean isAvailable(); + method public void writeToParcel(android.os.Parcel, int); + } + + public class LiveDisplayManager { + method public float[] getColorAdjustment(); + method public cyanogenmod.hardware.LiveDisplayConfig getConfig(); + method public int getDayColorTemperature(); + method public cyanogenmod.hardware.HSIC getDefaultPictureAdjustment(); + method public static synchronized cyanogenmod.hardware.LiveDisplayManager getInstance(android.content.Context); + method public int getMode(); + method public int getNightColorTemperature(); + method public cyanogenmod.hardware.HSIC getPictureAdjustment(); + method public boolean isAutoContrastEnabled(); + method public boolean isAutomaticOutdoorModeEnabled(); + method public boolean isCABCEnabled(); + method public boolean isColorEnhancementEnabled(); + method public boolean setAutoContrastEnabled(boolean); + method public boolean setAutomaticOutdoorModeEnabled(boolean); + method public boolean setCABCEnabled(boolean); + method public boolean setColorAdjustment(float[]); + method public boolean setColorEnhancementEnabled(boolean); + method public boolean setDayColorTemperature(int); + method public boolean setMode(int); + method public boolean setNightColorTemperature(int); + method public boolean setPictureAdjustment(cyanogenmod.hardware.HSIC); + field public static final int ADJUSTMENT_CONTRAST = 3; // 0x3 + field public static final int ADJUSTMENT_HUE = 0; // 0x0 + field public static final int ADJUSTMENT_INTENSITY = 2; // 0x2 + field public static final int ADJUSTMENT_SATURATION = 1; // 0x1 + field public static final int FEATURE_AUTO_CONTRAST = 11; // 0xb + field public static final int FEATURE_CABC = 10; // 0xa + field public static final int FEATURE_COLOR_ADJUSTMENT = 13; // 0xd + field public static final int FEATURE_COLOR_BALANCE = 16; // 0x10 + field public static final int FEATURE_COLOR_ENHANCEMENT = 12; // 0xc + field public static final int FEATURE_DISPLAY_MODES = 15; // 0xf + field public static final int FEATURE_MANAGED_OUTDOOR_MODE = 14; // 0xe + field public static final int FEATURE_PICTURE_ADJUSTMENT = 17; // 0x11 + field public static final int MODE_AUTO = 2; // 0x2 + field public static final int MODE_DAY = 4; // 0x4 + field public static final int MODE_NIGHT = 1; // 0x1 + field public static final int MODE_OFF = 0; // 0x0 + field public static final int MODE_OUTDOOR = 3; // 0x3 + } + + public abstract class ThermalListenerCallback extends cyanogenmod.hardware.IThermalListenerCallback.Stub { + ctor public ThermalListenerCallback(); + } + + public static final class ThermalListenerCallback.State { + ctor public ThermalListenerCallback.State(); + method public static final java.lang.String toString(int); + field public static final int STATE_COOL = 0; // 0x0 + field public static final int STATE_CRITICAL = 3; // 0x3 + field public static final int STATE_UNKNOWN = -1; // 0xffffffff + field public static final int STATE_WARM_FALLING = 1; // 0x1 + field public static final int STATE_WARM_RISING = 2; // 0x2 + } + +} + +package cyanogenmod.media { + + public class MediaRecorder { + ctor public MediaRecorder(); + field public static final java.lang.String ACTION_HOTWORD_INPUT_CHANGED = "com.cyanogenmod.intent.action.HOTWORD_INPUT_CHANGED"; + field public static final java.lang.String CAPTURE_AUDIO_HOTWORD_PERMISSION = "android.permission.CAPTURE_AUDIO_HOTWORD"; + field public static final java.lang.String EXTRA_CURRENT_PACKAGE_NAME = "com.cyanogenmod.intent.extra.CURRENT_PACKAGE_NAME"; + } + + public static class MediaRecorder.AudioSource { + ctor public MediaRecorder.AudioSource(); + field public static final int HOTWORD = 1999; // 0x7cf + } + +} + +package cyanogenmod.os { + + public class Build { + ctor public Build(); + method public static java.lang.String getNameForSDKInt(int); + field public static final java.lang.String CYANOGENMOD_DISPLAY_VERSION; + field public static final java.lang.String CYANOGENMOD_VERSION; + field public static final java.lang.String UNKNOWN = "unknown"; + } + + public static class Build.CM_VERSION { + ctor public Build.CM_VERSION(); + field public static final int SDK_INT; + } + + public static class Build.CM_VERSION_CODES { + ctor public Build.CM_VERSION_CODES(); + field public static final int APRICOT = 1; // 0x1 + field public static final int BOYSENBERRY = 2; // 0x2 + field public static final int CANTALOUPE = 3; // 0x3 + field public static final int DRAGON_FRUIT = 4; // 0x4 + field public static final int ELDERBERRY = 5; // 0x5 + field public static final int FIG = 6; // 0x6 + field public static final int GUAVA = 7; // 0x7 + } + + public final class Concierge { + method public static cyanogenmod.os.Concierge.ParcelInfo prepareParcel(android.os.Parcel); + method public static cyanogenmod.os.Concierge.ParcelInfo receiveParcel(android.os.Parcel); + } + + public static final class Concierge.ParcelInfo { + method public void complete(); + method public int getParcelVersion(); + } + +} + +package cyanogenmod.platform { + + public final class Manifest { + ctor public Manifest(); + } + + public static final class Manifest.permission { + ctor public Manifest.permission(); + field public static final java.lang.String ACCESS_APP_SUGGESTIONS = "cyanogenmod.permission.ACCESS_APP_SUGGESTIONS"; + field public static final java.lang.String ACCESS_THEME_MANAGER = "cyanogenmod.permission.ACCESS_THEME_MANAGER"; + field public static final java.lang.String ACCESS_WEATHER_MANAGER = "cyanogenmod.permission.ACCESS_WEATHER_MANAGER"; + field public static final java.lang.String BIND_WEATHER_PROVIDER_SERVICE = "cyanogenmod.permission.BIND_WEATHER_PROVIDER_SERVICE"; + field public static final java.lang.String HARDWARE_ABSTRACTION_ACCESS = "cyanogenmod.permission.HARDWARE_ABSTRACTION_ACCESS"; + field public static final java.lang.String LIVE_LOCK_SCREEN_MANAGER_ACCESS = "cyanogenmod.permission.LIVE_LOCK_SCREEN_MANAGER_ACCESS"; + field public static final java.lang.String MANAGE_ALARMS = "cyanogenmod.permission.MANAGE_ALARMS"; + field public static final java.lang.String MANAGE_LIVEDISPLAY = "cyanogenmod.permission.MANAGE_LIVEDISPLAY"; + field public static final java.lang.String MANAGE_PERSISTENT_STORAGE = "cyanogenmod.permission.MANAGE_PERSISTENT_STORAGE"; + field public static final java.lang.String MODIFY_MSIM_PHONE_STATE = "cyanogenmod.permission.MODIFY_MSIM_PHONE_STATE"; + field public static final java.lang.String MODIFY_NETWORK_SETTINGS = "cyanogenmod.permission.MODIFY_NETWORK_SETTINGS"; + field public static final java.lang.String MODIFY_PROFILES = "cyanogenmod.permission.MODIFY_PROFILES"; + field public static final java.lang.String MODIFY_SOUND_SETTINGS = "cyanogenmod.permission.MODIFY_SOUND_SETTINGS"; + field public static final java.lang.String PERFORMANCE_ACCESS = "cyanogenmod.permission.PERFORMANCE_ACCESS"; + field public static final java.lang.String PROTECTED_APP = "cyanogenmod.permission.PROTECTED_APP"; + field public static final java.lang.String PUBLISH_CUSTOM_TILE = "cyanogenmod.permission.PUBLISH_CUSTOM_TILE"; + field public static final java.lang.String READ_ALARMS = "cyanogenmod.permission.READ_ALARMS"; + field public static final java.lang.String READ_DATAUSAGE = "cyanogenmod.permission.READ_DATAUSAGE"; + field public static final java.lang.String READ_MSIM_PHONE_STATE = "cyanogenmod.permission.READ_MSIM_PHONE_STATE"; + field public static final java.lang.String READ_THEMES = "cyanogenmod.permission.READ_THEMES"; + field public static final java.lang.String READ_WEATHER = "cyanogenmod.permission.READ_WEATHER"; + field public static final java.lang.String THIRD_PARTY_KEYGUARD = "cyanogenmod.permission.THIRD_PARTY_KEYGUARD"; + field public static final java.lang.String WRITE_ALARMS = "cyanogenmod.permission.WRITE_ALARMS"; + field public static final java.lang.String WRITE_DATAUSAGE = "cyanogenmod.permission.WRITE_DATAUSAGE"; + field public static final java.lang.String WRITE_SECURE_SETTINGS = "cyanogenmod.permission.WRITE_SECURE_SETTINGS"; + field public static final java.lang.String WRITE_SETTINGS = "cyanogenmod.permission.WRITE_SETTINGS"; + field public static final java.lang.String WRITE_THEMES = "cyanogenmod.permission.WRITE_THEMES"; + field public static final java.lang.String WRITE_WEATHER = "cyanogenmod.permission.WRITE_WEATHER"; + } + + public final class R { + ctor public R(); + } + + public static final class R.array { + ctor public R.array(); + } + + public static final class R.attr { + ctor public R.attr(); + } + + public static final class R.bool { + ctor public R.bool(); + } + + public static final class R.drawable { + ctor public R.drawable(); + } + + public static final class R.integer { + ctor public R.integer(); + } + + public static final class R.string { + ctor public R.string(); + } + + public static final class R.xml { + ctor public R.xml(); + } + +} + +package cyanogenmod.power { + + public class PerformanceManager { + method public static cyanogenmod.power.PerformanceManager getInstance(android.content.Context); + method public int getNumberOfProfiles(); + method public int getPowerProfile(); + method public boolean getProfileHasAppProfiles(int); + method public boolean setPowerProfile(int); + field public static final java.lang.String POWER_PROFILE_CHANGED = "cyanogenmod.power.PROFILE_CHANGED"; + field public static final int PROFILE_BALANCED = 1; // 0x1 + field public static final int PROFILE_BIAS_PERFORMANCE = 4; // 0x4 + field public static final int PROFILE_BIAS_POWER_SAVE = 3; // 0x3 + field public static final int PROFILE_HIGH_PERFORMANCE = 2; // 0x2 + field public static final int PROFILE_POWER_SAVE = 0; // 0x0 + field public static final java.lang.String TAG = "PerformanceManager"; + } + +} + +package cyanogenmod.profiles { + + public final class AirplaneModeSettings implements android.os.Parcelable { + ctor public AirplaneModeSettings(android.os.Parcel); + ctor public AirplaneModeSettings(); + ctor public AirplaneModeSettings(int, boolean); + method public int describeContents(); + method public int getValue(); + method public boolean isOverride(); + method public void setOverride(boolean); + method public void setValue(int); + method public void writeToParcel(android.os.Parcel, int); + } + + public static class AirplaneModeSettings.BooleanState { + ctor public AirplaneModeSettings.BooleanState(); + field public static final int STATE_DISALED = 0; // 0x0 + field public static final int STATE_ENABLED = 1; // 0x1 + } + + public final class BrightnessSettings implements android.os.Parcelable { + ctor public BrightnessSettings(android.os.Parcel); + ctor public BrightnessSettings(); + ctor public BrightnessSettings(int, boolean); + method public int describeContents(); + method public int getValue(); + method public boolean isOverride(); + method public void setOverride(boolean); + method public void setValue(int); + method public void writeToParcel(android.os.Parcel, int); + } + + public final class ConnectionSettings implements android.os.Parcelable { + ctor public ConnectionSettings(android.os.Parcel); + ctor public ConnectionSettings(int); + ctor public ConnectionSettings(int, int, boolean); + method public int describeContents(); + method public int getConnectionId(); + method public int getSubId(); + method public int getValue(); + method public boolean isOverride(); + method public void setOverride(boolean); + method public void setSubId(int); + method public void setValue(int); + method public void writeToParcel(android.os.Parcel, int); + field public static final int PROFILE_CONNECTION_2G3G4G = 9; // 0x9 + field public static final int PROFILE_CONNECTION_BLUETOOTH = 7; // 0x7 + field public static final int PROFILE_CONNECTION_GPS = 4; // 0x4 + field public static final int PROFILE_CONNECTION_MOBILEDATA = 0; // 0x0 + field public static final int PROFILE_CONNECTION_NFC = 8; // 0x8 + field public static final int PROFILE_CONNECTION_SYNC = 5; // 0x5 + field public static final int PROFILE_CONNECTION_WIFI = 1; // 0x1 + field public static final int PROFILE_CONNECTION_WIFIAP = 2; // 0x2 + field public static final deprecated int PROFILE_CONNECTION_WIMAX = 3; // 0x3 + } + + public static class ConnectionSettings.BooleanState { + ctor public ConnectionSettings.BooleanState(); + field public static final int STATE_DISALED = 0; // 0x0 + field public static final int STATE_ENABLED = 1; // 0x1 + } + + public final class LockSettings implements android.os.Parcelable { + ctor public LockSettings(android.os.Parcel); + ctor public LockSettings(); + ctor public LockSettings(int); + method public int describeContents(); + method public int getValue(); + method public void setValue(int); + method public void writeToParcel(android.os.Parcel, int); + } + + public final class RingModeSettings implements android.os.Parcelable { + ctor public RingModeSettings(android.os.Parcel); + ctor public RingModeSettings(); + ctor public RingModeSettings(java.lang.String, boolean); + method public int describeContents(); + method public java.lang.String getValue(); + method public boolean isOverride(); + method public void setOverride(boolean); + method public void setValue(java.lang.String); + method public void writeToParcel(android.os.Parcel, int); + field public static final java.lang.String RING_MODE_MUTE = "mute"; + field public static final java.lang.String RING_MODE_NORMAL = "normal"; + field public static final java.lang.String RING_MODE_VIBRATE = "vibrate"; + } + + public final class StreamSettings implements android.os.Parcelable { + ctor public StreamSettings(android.os.Parcel); + ctor public StreamSettings(int); + ctor public StreamSettings(int, int, boolean); + method public int describeContents(); + method public int getStreamId(); + method public int getValue(); + method public boolean isOverride(); + method public void setOverride(boolean); + method public void setValue(int); + method public void writeToParcel(android.os.Parcel, int); + } + +} + +package cyanogenmod.providers { + + public final class CMSettings { + ctor public CMSettings(); + field public static final java.lang.String ACTION_DATA_USAGE = "cyanogenmod.settings.ACTION_DATA_USAGE"; + field public static final java.lang.String ACTION_LIVEDISPLAY_SETTINGS = "cyanogenmod.settings.LIVEDISPLAY_SETTINGS"; + field public static final java.lang.String AUTHORITY = "cmsettings"; + } + + public static class CMSettings.CMSettingNotFoundException extends android.util.AndroidException { + ctor public CMSettings.CMSettingNotFoundException(java.lang.String); + } + + public static final class CMSettings.Global extends android.provider.Settings.NameValueTable { + ctor public CMSettings.Global(); + method public static float getFloat(android.content.ContentResolver, java.lang.String, float); + method public static float getFloat(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; + method public static int getInt(android.content.ContentResolver, java.lang.String, int); + method public static int getInt(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; + method public static long getLong(android.content.ContentResolver, java.lang.String, long); + method public static long getLong(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; + method public static java.lang.String getString(android.content.ContentResolver, java.lang.String); + method public static android.net.Uri getUriFor(java.lang.String); + method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float); + method public static boolean putInt(android.content.ContentResolver, java.lang.String, int); + method public static boolean putLong(android.content.ContentResolver, java.lang.String, long); + method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String); + field public static final android.net.Uri CONTENT_URI; + field public static final java.lang.String SYS_PROP_CM_SETTING_VERSION = "sys.cm_settings_global_version"; + field public static final java.lang.String WEATHER_TEMPERATURE_UNIT = "weather_temperature_unit"; + } + + public static final class CMSettings.Secure extends android.provider.Settings.NameValueTable { + ctor public CMSettings.Secure(); + method public static float getFloat(android.content.ContentResolver, java.lang.String, float); + method public static float getFloat(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; + method public static int getInt(android.content.ContentResolver, java.lang.String, int); + method public static int getInt(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; + method public static long getLong(android.content.ContentResolver, java.lang.String, long); + method public static long getLong(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; + method public static java.lang.String getString(android.content.ContentResolver, java.lang.String); + method public static android.net.Uri getUriFor(java.lang.String); + method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float); + method public static boolean putInt(android.content.ContentResolver, java.lang.String, int); + method public static boolean putLong(android.content.ContentResolver, java.lang.String, long); + method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String); + field public static final android.net.Uri CONTENT_URI; + field public static final java.lang.String SYS_PROP_CM_SETTING_VERSION = "sys.cm_settings_secure_version"; + } + + public static final class CMSettings.System extends android.provider.Settings.NameValueTable { + ctor public CMSettings.System(); + method public static float getFloat(android.content.ContentResolver, java.lang.String, float); + method public static float getFloat(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; + method public static int getInt(android.content.ContentResolver, java.lang.String, int); + method public static int getInt(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; + method public static long getLong(android.content.ContentResolver, java.lang.String, long); + method public static long getLong(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; + method public static java.lang.String getString(android.content.ContentResolver, java.lang.String); + method public static android.net.Uri getUriFor(java.lang.String); + method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float); + method public static boolean putInt(android.content.ContentResolver, java.lang.String, int); + method public static boolean putLong(android.content.ContentResolver, java.lang.String, long); + method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String); + field public static final java.lang.String APP_SWITCH_WAKE_SCREEN = "app_switch_wake_screen"; + field public static final java.lang.String ASSIST_WAKE_SCREEN = "assist_wake_screen"; + field public static final java.lang.String BACK_WAKE_SCREEN = "back_wake_screen"; + field public static final java.lang.String BATTERY_LIGHT_ENABLED = "battery_light_enabled"; + field public static final java.lang.String BATTERY_LIGHT_FULL_COLOR = "battery_light_full_color"; + field public static final java.lang.String BATTERY_LIGHT_LOW_COLOR = "battery_light_low_color"; + field public static final java.lang.String BATTERY_LIGHT_MEDIUM_COLOR = "battery_light_medium_color"; + field public static final java.lang.String BATTERY_LIGHT_PULSE = "battery_light_pulse"; + field public static final java.lang.String BLUETOOTH_ACCEPT_ALL_FILES = "bluetooth_accept_all_files"; + field public static final java.lang.String CALL_RECORDING_FORMAT = "call_recording_format"; + field public static final java.lang.String CAMERA_LAUNCH = "camera_launch"; + field public static final java.lang.String CAMERA_SLEEP_ON_RELEASE = "camera_sleep_on_release"; + field public static final java.lang.String CAMERA_WAKE_SCREEN = "camera_wake_screen"; + field public static final android.net.Uri CONTENT_URI; + field public static final java.lang.String DIALER_OPENCNAM_ACCOUNT_SID = "dialer_opencnam_account_sid"; + field public static final java.lang.String DIALER_OPENCNAM_AUTH_TOKEN = "dialer_opencnam_auth_token"; + field public static final java.lang.String DISPLAY_AUTO_CONTRAST = "display_auto_contrast"; + field public static final java.lang.String DISPLAY_AUTO_OUTDOOR_MODE = "display_auto_outdoor_mode"; + field public static final java.lang.String DISPLAY_CABC = "display_low_power"; + field public static final java.lang.String DISPLAY_COLOR_ADJUSTMENT = "display_color_adjustment"; + field public static final java.lang.String DISPLAY_COLOR_ENHANCE = "display_color_enhance"; + field public static final deprecated java.lang.String DISPLAY_LOW_POWER = "display_low_power"; + field public static final java.lang.String DISPLAY_PICTURE_ADJUSTMENT = "display_picture_adjustment"; + field public static final java.lang.String DISPLAY_TEMPERATURE_DAY = "display_temperature_day"; + field public static final java.lang.String DISPLAY_TEMPERATURE_MODE = "display_temperature_mode"; + field public static final java.lang.String DISPLAY_TEMPERATURE_NIGHT = "display_temperature_night"; + field public static final java.lang.String DOUBLE_TAP_SLEEP_GESTURE = "double_tap_sleep_gesture"; + field public static final java.lang.String ENABLE_FORWARD_LOOKUP = "enable_forward_lookup"; + field public static final java.lang.String ENABLE_PEOPLE_LOOKUP = "enable_people_lookup"; + field public static final java.lang.String ENABLE_REVERSE_LOOKUP = "enable_reverse_lookup"; + field public static final java.lang.String FORWARD_LOOKUP_PROVIDER = "forward_lookup_provider"; + field public static final java.lang.String HEADSET_CONNECT_PLAYER = "headset_connect_player"; + field public static final java.lang.String HIGH_TOUCH_SENSITIVITY_ENABLE = "high_touch_sensitivity_enable"; + field public static final java.lang.String HOME_WAKE_SCREEN = "home_wake_screen"; + field public static final java.lang.String INCREASING_RING = "increasing_ring"; + field public static final java.lang.String INCREASING_RING_RAMP_UP_TIME = "increasing_ring_ramp_up_time"; + field public static final java.lang.String INCREASING_RING_START_VOLUME = "increasing_ring_start_vol"; + field public static final java.lang.String KEY_APP_SWITCH_ACTION = "key_app_switch_action"; + field public static final java.lang.String KEY_APP_SWITCH_LONG_PRESS_ACTION = "key_app_switch_long_press_action"; + field public static final java.lang.String KEY_ASSIST_ACTION = "key_assist_action"; + field public static final java.lang.String KEY_ASSIST_LONG_PRESS_ACTION = "key_assist_long_press_action"; + field public static final java.lang.String KEY_HOME_DOUBLE_TAP_ACTION = "key_home_double_tap_action"; + field public static final java.lang.String KEY_HOME_LONG_PRESS_ACTION = "key_home_long_press_action"; + field public static final java.lang.String KEY_MENU_ACTION = "key_menu_action"; + field public static final java.lang.String KEY_MENU_LONG_PRESS_ACTION = "key_menu_long_press_action"; + field public static final java.lang.String LOCKSCREEN_PIN_SCRAMBLE_LAYOUT = "lockscreen_scramble_pin_layout"; + field public static final java.lang.String LOCKSCREEN_ROTATION = "lockscreen_rotation"; + field public static final java.lang.String MENU_WAKE_SCREEN = "menu_wake_screen"; + field public static final java.lang.String NAVBAR_LEFT_IN_LANDSCAPE = "navigation_bar_left"; + field public static final java.lang.String NAVIGATION_BAR_MENU_ARROW_KEYS = "navigation_bar_menu_arrow_keys"; + field public static final java.lang.String NAV_BUTTONS = "nav_buttons"; + field public static final java.lang.String NOTIFICATION_LIGHT_BRIGHTNESS_LEVEL = "notification_light_brightness_level"; + field public static final java.lang.String NOTIFICATION_LIGHT_MULTIPLE_LEDS_ENABLE = "notification_light_multiple_leds_enable"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_COLOR = "notification_light_pulse_call_color"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_LED_OFF = "notification_light_pulse_call_led_off"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_LED_ON = "notification_light_pulse_call_led_on"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CUSTOM_ENABLE = "notification_light_pulse_custom_enable"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CUSTOM_VALUES = "notification_light_pulse_custom_values"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_COLOR = "notification_light_pulse_default_color"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_LED_OFF = "notification_light_pulse_default_led_off"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_LED_ON = "notification_light_pulse_default_led_on"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_COLOR = "notification_light_pulse_vmail_color"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_LED_OFF = "notification_light_pulse_vmail_led_off"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_LED_ON = "notification_light_pulse_vmail_led_on"; + field public static final java.lang.String NOTIFICATION_LIGHT_SCREEN_ON = "notification_light_screen_on_enable"; + field public static final java.lang.String NOTIFICATION_PLAY_QUEUE = "notification_play_queue"; + field public static final java.lang.String PEOPLE_LOOKUP_PROVIDER = "people_lookup_provider"; + field public static final java.lang.String PROXIMITY_ON_WAKE = "proximity_on_wake"; + field public static final java.lang.String QS_SHOW_BRIGHTNESS_SLIDER = "qs_show_brightness_slider"; + field public static final java.lang.String RECENTS_SHOW_SEARCH_BAR = "recents_show_search_bar"; + field public static final java.lang.String REVERSE_LOOKUP_PROVIDER = "reverse_lookup_provider"; + field public static final java.lang.String SHOW_ALARM_ICON = "show_alarm_icon"; + field public static final java.lang.String STATUS_BAR_AM_PM = "status_bar_am_pm"; + field public static final java.lang.String STATUS_BAR_BATTERY_STYLE = "status_bar_battery_style"; + field public static final java.lang.String STATUS_BAR_BRIGHTNESS_CONTROL = "status_bar_brightness_control"; + field public static final java.lang.String STATUS_BAR_CLOCK = "status_bar_clock"; + field public static final java.lang.String STATUS_BAR_IME_SWITCHER = "status_bar_ime_switcher"; + field public static final java.lang.String STATUS_BAR_NOTIF_COUNT = "status_bar_notif_count"; + field public static final java.lang.String STATUS_BAR_QUICK_QS_PULLDOWN = "qs_quick_pulldown"; + field public static final java.lang.String STATUS_BAR_SHOW_BATTERY_PERCENT = "status_bar_show_battery_percent"; + field public static final java.lang.String STATUS_BAR_SHOW_WEATHER = "status_bar_show_weather"; + field public static final java.lang.String SWAP_VOLUME_KEYS_ON_ROTATION = "swap_volume_keys_on_rotation"; + field public static final java.lang.String SYSTEM_PROFILES_ENABLED = "system_profiles_enabled"; + field public static final java.lang.String SYS_PROP_CM_SETTING_VERSION = "sys.cm_settings_system_version"; + field public static final java.lang.String T9_SEARCH_INPUT_LOCALE = "t9_search_input_locale"; + field public static final java.lang.String TOUCHSCREEN_GESTURE_HAPTIC_FEEDBACK = "touchscreen_gesture_haptic_feedback"; + field public static final java.lang.String USE_EDGE_SERVICE_FOR_GESTURES = "edge_service_for_gestures"; + field public static final java.lang.String VOLBTN_MUSIC_CONTROLS = "volbtn_music_controls"; + field public static final java.lang.String VOLUME_ADJUST_SOUNDS_ENABLED = "volume_adjust_sounds_enabled"; + field public static final java.lang.String VOLUME_KEYS_CONTROL_RING_STREAM = "volume_keys_control_ring_stream"; + field public static final java.lang.String VOLUME_WAKE_SCREEN = "volume_wake_screen"; + field public static final java.lang.String ZEN_ALLOW_LIGHTS = "allow_lights"; + field public static final java.lang.String ZEN_PRIORITY_ALLOW_LIGHTS = "zen_priority_allow_lights"; + } + + public final class DataUsageContract { + ctor public DataUsageContract(); + field public static final java.lang.String ACTIVE = "active"; + field public static final android.net.Uri BASE_CONTENT_URI; + field public static final java.lang.String BYTES = "bytes"; + field public static final int COLUMN_OF_ACTIVE = 3; // 0x3 + field public static final int COLUMN_OF_BYTES = 5; // 0x5 + field public static final int COLUMN_OF_ENABLE = 2; // 0x2 + field public static final int COLUMN_OF_EXTRA = 10; // 0xa + field public static final int COLUMN_OF_FAST_AVG = 8; // 0x8 + field public static final int COLUMN_OF_FAST_SAMPLES = 9; // 0x9 + field public static final int COLUMN_OF_ID = 0; // 0x0 + field public static final int COLUMN_OF_LABEL = 4; // 0x4 + field public static final int COLUMN_OF_SLOW_AVG = 6; // 0x6 + field public static final int COLUMN_OF_SLOW_SAMPLES = 7; // 0x7 + field public static final int COLUMN_OF_UID = 1; // 0x1 + field public static final java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.itemdatausage_item"; + field public static final java.lang.String CONTENT_TYPE = "vnd.android.cursor.dirdatausage_item"; + field public static final android.net.Uri CONTENT_URI; + field public static final java.lang.String DATAUSAGE_AUTHORITY = "org.cyanogenmod.providers.datausage"; + field public static final java.lang.String DATAUSAGE_TABLE = "datausage"; + field public static final java.lang.String ENABLE = "enable"; + field public static final java.lang.String EXTRA = "extra"; + field public static final java.lang.String FAST_AVG = "fast_avg"; + field public static final java.lang.String FAST_SAMPLES = "fast_samples"; + field public static final java.lang.String LABEL = "label"; + field public static final java.lang.String[] PROJECTION_ALL; + field public static final java.lang.String SLOW_AVG = "slow_avg"; + field public static final java.lang.String SLOW_SAMPLES = "slow_samples"; + field public static final java.lang.String UID = "uid"; + field public static final java.lang.String _ID = "_id"; + } + + public class ThemesContract { + ctor public ThemesContract(); + field public static final java.lang.String AUTHORITY = "com.cyanogenmod.themes"; + field public static final android.net.Uri AUTHORITY_URI; + } + + public static class ThemesContract.MixnMatchColumns { + ctor public ThemesContract.MixnMatchColumns(); + method public static java.lang.String componentToImageColName(java.lang.String); + method public static java.lang.String componentToMixNMatchKey(java.lang.String); + method public static java.lang.String mixNMatchKeyToComponent(java.lang.String); + field public static final java.lang.String COL_COMPONENT_ID = "component_id"; + field public static final java.lang.String COL_KEY = "key"; + field public static final java.lang.String COL_PREV_VALUE = "previous_value"; + field public static final java.lang.String COL_UPDATE_TIME = "update_time"; + field public static final java.lang.String COL_VALUE = "value"; + field public static final android.net.Uri CONTENT_URI; + field public static final java.lang.String KEY_ALARM = "mixnmatch_alarm"; + field public static final java.lang.String KEY_BOOT_ANIM = "mixnmatch_boot_anim"; + field public static final java.lang.String KEY_FONT = "mixnmatch_font"; + field public static final java.lang.String KEY_HOMESCREEN = "mixnmatch_homescreen"; + field public static final java.lang.String KEY_ICONS = "mixnmatch_icons"; + field public static final java.lang.String KEY_LIVE_LOCK_SCREEN = "mixnmatch_live_lock_screen"; + field public static final java.lang.String KEY_LOCKSCREEN = "mixnmatch_lockscreen"; + field public static final java.lang.String KEY_NAVIGATION_BAR = "mixnmatch_navigation_bar"; + field public static final java.lang.String KEY_NOTIFICATIONS = "mixnmatch_notifications"; + field public static final java.lang.String KEY_OVERLAYS = "mixnmatch_overlays"; + field public static final java.lang.String KEY_RINGTONE = "mixnmatch_ringtone"; + field public static final java.lang.String KEY_STATUS_BAR = "mixnmatch_status_bar"; + field public static final java.lang.String[] ROWS; + } + + public static class ThemesContract.PreviewColumns { + ctor public ThemesContract.PreviewColumns(); + field public static final android.net.Uri APPLIED_URI; + field public static final java.lang.String BOOTANIMATION_THUMBNAIL = "bootanimation_thumbnail"; + field public static final java.lang.String COL_KEY = "key"; + field public static final java.lang.String COL_VALUE = "value"; + field public static final android.net.Uri COMPONENTS_URI; + field public static final java.lang.String COMPONENT_ID = "component_id"; + field public static final android.net.Uri CONTENT_URI; + field public static final java.lang.String ICON_PREVIEW_1 = "icon_preview_1"; + field public static final java.lang.String ICON_PREVIEW_2 = "icon_preview_2"; + field public static final java.lang.String ICON_PREVIEW_3 = "icon_preview_3"; + field public static final java.lang.String LIVE_LOCK_SCREEN_PREVIEW = "live_lock_screen_preview"; + field public static final java.lang.String LIVE_LOCK_SCREEN_THUMBNAIL = "live_lock_screen_thumbnail"; + field public static final java.lang.String LOCK_WALLPAPER_PREVIEW = "lock_wallpaper_preview"; + field public static final java.lang.String LOCK_WALLPAPER_THUMBNAIL = "lock_wallpaper_thumbnail"; + field public static final java.lang.String NAVBAR_BACKGROUND = "navbar_background"; + field public static final java.lang.String NAVBAR_BACK_BUTTON = "navbar_back_button"; + field public static final java.lang.String NAVBAR_HOME_BUTTON = "navbar_home_button"; + field public static final java.lang.String NAVBAR_RECENT_BUTTON = "navbar_recent_button"; + field public static final java.lang.String STATUSBAR_BACKGROUND = "statusbar_background"; + field public static final java.lang.String STATUSBAR_BATTERY_CIRCLE = "statusbar_battery_circle"; + field public static final java.lang.String STATUSBAR_BATTERY_LANDSCAPE = "statusbar_battery_landscape"; + field public static final java.lang.String STATUSBAR_BATTERY_PORTRAIT = "statusbar_battery_portrait"; + field public static final java.lang.String STATUSBAR_BLUETOOTH_ICON = "statusbar_bluetooth_icon"; + field public static final java.lang.String STATUSBAR_CLOCK_TEXT_COLOR = "statusbar_clock_text_color"; + field public static final java.lang.String STATUSBAR_SIGNAL_ICON = "statusbar_signal_icon"; + field public static final java.lang.String STATUSBAR_WIFI_COMBO_MARGIN_END = "wifi_combo_margin_end"; + field public static final java.lang.String STATUSBAR_WIFI_ICON = "statusbar_wifi_icon"; + field public static final java.lang.String STYLE_PREVIEW = "style_preview"; + field public static final java.lang.String STYLE_THUMBNAIL = "style_thumbnail"; + field public static final java.lang.String THEME_ID = "theme_id"; + field public static final java.lang.String[] VALID_KEYS; + field public static final java.lang.String WALLPAPER_FULL = "wallpaper_full"; + field public static final java.lang.String WALLPAPER_PREVIEW = "wallpaper_preview"; + field public static final java.lang.String WALLPAPER_THUMBNAIL = "wallpaper_thumbnail"; + field public static final java.lang.String _ID = "_id"; + } + + public static class ThemesContract.ThemesColumns { + ctor public ThemesContract.ThemesColumns(); + field public static final java.lang.String AUTHOR = "author"; + field public static final java.lang.String BOOT_ANIM_URI = "bootanim_uri"; + field public static final android.net.Uri CONTENT_URI; + field public static final java.lang.String DATE_CREATED = "created"; + field public static final java.lang.String FONT_URI = "font_uri"; + field public static final java.lang.String HOMESCREEN_URI = "homescreen_uri"; + field public static final java.lang.String ICON_URI = "icon_uri"; + field public static final java.lang.String INSTALL_STATE = "install_state"; + field public static final java.lang.String INSTALL_TIME = "install_time"; + field public static final java.lang.String IS_DEFAULT_THEME = "is_default_theme"; + field public static final java.lang.String IS_LEGACY_ICONPACK = "is_legacy_iconpack"; + field public static final java.lang.String IS_LEGACY_THEME = "is_legacy_theme"; + field public static final java.lang.String LAST_UPDATE_TIME = "updateTime"; + field public static final java.lang.String LOCKSCREEN_URI = "lockscreen_uri"; + field public static final java.lang.String MODIFIES_ALARMS = "mods_alarms"; + field public static final java.lang.String MODIFIES_BOOT_ANIM = "mods_bootanim"; + field public static final java.lang.String MODIFIES_FONTS = "mods_fonts"; + field public static final java.lang.String MODIFIES_ICONS = "mods_icons"; + field public static final java.lang.String MODIFIES_LAUNCHER = "mods_homescreen"; + field public static final java.lang.String MODIFIES_LIVE_LOCK_SCREEN = "mods_live_lock_screen"; + field public static final java.lang.String MODIFIES_LOCKSCREEN = "mods_lockscreen"; + field public static final java.lang.String MODIFIES_NAVIGATION_BAR = "mods_navigation_bar"; + field public static final java.lang.String MODIFIES_NOTIFICATIONS = "mods_notifications"; + field public static final java.lang.String MODIFIES_OVERLAYS = "mods_overlays"; + field public static final java.lang.String MODIFIES_RINGTONES = "mods_ringtones"; + field public static final java.lang.String MODIFIES_STATUS_BAR = "mods_status_bar"; + field public static final java.lang.String OVERLAYS_URI = "overlays_uri"; + field public static final java.lang.String PKG_NAME = "pkg_name"; + field public static final java.lang.String PRESENT_AS_THEME = "present_as_theme"; + field public static final java.lang.String PRIMARY_COLOR = "primary_color"; + field public static final java.lang.String SECONDARY_COLOR = "secondary_color"; + field public static final java.lang.String STATUSBAR_URI = "status_uri"; + field public static final java.lang.String STYLE_URI = "style_uri"; + field public static final java.lang.String TARGET_API = "target_api"; + field public static final java.lang.String TITLE = "title"; + field public static final java.lang.String WALLPAPER_URI = "wallpaper_uri"; + field public static final java.lang.String _ID = "_id"; + } + + public static class ThemesContract.ThemesColumns.InstallState { + ctor public ThemesContract.ThemesColumns.InstallState(); + field public static final int INSTALLED = 3; // 0x3 + field public static final int INSTALLING = 1; // 0x1 + field public static final int UNKNOWN = 0; // 0x0 + field public static final int UPDATING = 2; // 0x2 + } + + public class WeatherContract { + ctor public WeatherContract(); + field public static final java.lang.String AUTHORITY = "com.cyanogenmod.weather"; + field public static final android.net.Uri AUTHORITY_URI; + } + + public static class WeatherContract.WeatherColumns { + ctor public WeatherContract.WeatherColumns(); + field public static final android.net.Uri CONTENT_URI; + field public static final android.net.Uri CURRENT_AND_FORECAST_WEATHER_URI; + field public static final java.lang.String CURRENT_CITY = "city"; + field public static final java.lang.String CURRENT_CONDITION = "condition"; + field public static final java.lang.String CURRENT_CONDITION_CODE = "condition_code"; + field public static final java.lang.String CURRENT_HUMIDITY = "humidity"; + field public static final java.lang.String CURRENT_TEMPERATURE = "temperature"; + field public static final java.lang.String CURRENT_TEMPERATURE_UNIT = "temperature_unit"; + field public static final java.lang.String CURRENT_TIMESTAMP = "timestamp"; + field public static final android.net.Uri CURRENT_WEATHER_URI; + field public static final java.lang.String CURRENT_WIND_DIRECTION = "wind_direction"; + field public static final java.lang.String CURRENT_WIND_SPEED = "wind_speed"; + field public static final java.lang.String CURRENT_WIND_SPEED_UNIT = "wind_speed_unit"; + field public static final java.lang.String FORECAST_CONDITION = "forecast_condition"; + field public static final java.lang.String FORECAST_CONDITION_CODE = "forecast_condition_code"; + field public static final java.lang.String FORECAST_HIGH = "forecast_high"; + field public static final java.lang.String FORECAST_LOW = "forecast_low"; + field public static final android.net.Uri FORECAST_WEATHER_URI; + field public static final java.lang.String TODAYS_HIGH_TEMPERATURE = "todays_high"; + field public static final java.lang.String TODAYS_LOW_TEMPERATURE = "todays_low"; + } + + public static final class WeatherContract.WeatherColumns.TempUnit { + field public static final int CELSIUS = 1; // 0x1 + field public static final int FAHRENHEIT = 2; // 0x2 + } + + public static final class WeatherContract.WeatherColumns.WeatherCode { + field public static final int BLOWING_SNOW = 14; // 0xe + field public static final int BLUSTERY = 22; // 0x16 + field public static final int CLEAR_NIGHT = 30; // 0x1e + field public static final int CLOUDY = 25; // 0x19 + field public static final int COLD = 24; // 0x18 + field public static final int DRIZZLE = 9; // 0x9 + field public static final int DUST = 18; // 0x12 + field public static final int FAIR_DAY = 33; // 0x21 + field public static final int FAIR_NIGHT = 32; // 0x20 + field public static final int FOGGY = 19; // 0x13 + field public static final int FREEZING_DRIZZLE = 8; // 0x8 + field public static final int FREEZING_RAIN = 10; // 0xa + field public static final int HAIL = 16; // 0x10 + field public static final int HAZE = 20; // 0x14 + field public static final int HEAVY_SNOW = 39; // 0x27 + field public static final int HOT = 35; // 0x23 + field public static final int HURRICANE = 2; // 0x2 + field public static final int ISOLATED_THUNDERSHOWERS = 44; // 0x2c + field public static final int ISOLATED_THUNDERSTORMS = 36; // 0x24 + field public static final int LIGHT_SNOW_SHOWERS = 13; // 0xd + field public static final int MIXED_RAIN_AND_HAIL = 34; // 0x22 + field public static final int MIXED_RAIN_AND_SLEET = 6; // 0x6 + field public static final int MIXED_RAIN_AND_SNOW = 5; // 0x5 + field public static final int MIXED_SNOW_AND_SLEET = 7; // 0x7 + field public static final int MOSTLY_CLOUDY_DAY = 27; // 0x1b + field public static final int MOSTLY_CLOUDY_NIGHT = 26; // 0x1a + field public static final int NOT_AVAILABLE = 3200; // 0xc80 + field public static final int PARTLY_CLOUDY = 41; // 0x29 + field public static final int PARTLY_CLOUDY_DAY = 29; // 0x1d + field public static final int PARTLY_CLOUDY_NIGHT = 28; // 0x1c + field public static final int SCATTERED_SHOWERS = 38; // 0x26 + field public static final int SCATTERED_SNOW_SHOWERS = 40; // 0x28 + field public static final int SCATTERED_THUNDERSTORMS = 37; // 0x25 + field public static final int SEVERE_THUNDERSTORMS = 3; // 0x3 + field public static final int SHOWERS = 11; // 0xb + field public static final int SLEET = 17; // 0x11 + field public static final int SMOKY = 21; // 0x15 + field public static final int SNOW = 15; // 0xf + field public static final int SNOW_FLURRIES = 12; // 0xc + field public static final int SNOW_SHOWERS = 43; // 0x2b + field public static final int SUNNY = 31; // 0x1f + field public static final int THUNDERSHOWER = 42; // 0x2a + field public static final int THUNDERSTORMS = 4; // 0x4 + field public static final int TORNADO = 0; // 0x0 + field public static final int TROPICAL_STORM = 1; // 0x1 + field public static final int WINDY = 23; // 0x17 + } + + public static final class WeatherContract.WeatherColumns.WindSpeedUnit { + field public static final int KPH = 1; // 0x1 + field public static final int MPH = 2; // 0x2 + } + +} + +package cyanogenmod.themes { + + public final class ThemeChangeRequest implements android.os.Parcelable { + method public int describeContents(); + method public java.lang.String getAlarmThemePackageName(); + method public java.lang.String getBootanimationThemePackageName(); + method public java.lang.String getFontThemePackageName(); + method public java.lang.String getIconsThemePackageName(); + method public java.lang.String getLiveLockScreenThemePackageName(); + method public java.lang.String getLockWallpaperThemePackageName(); + method public java.lang.String getNavBarThemePackageName(); + method public java.lang.String getNotificationThemePackageName(); + method public int getNumChangesRequested(); + method public java.lang.String getOverlayThemePackageName(); + method public final java.util.Map<java.lang.String, java.lang.String> getPerAppOverlays(); + method public cyanogenmod.themes.ThemeChangeRequest.RequestType getReqeustType(); + method public java.lang.String getRingtoneThemePackageName(); + method public java.lang.String getStatusBarThemePackageName(); + method public final java.util.Map<java.lang.String, java.lang.String> getThemeComponentsMap(); + method public long getWallpaperId(); + method public java.lang.String getWallpaperThemePackageName(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.themes.ThemeChangeRequest> CREATOR; + field public static final int DEFAULT_WALLPAPER_ID = -1; // 0xffffffff + } + + public static class ThemeChangeRequest.Builder { + ctor public ThemeChangeRequest.Builder(); + ctor public ThemeChangeRequest.Builder(android.content.res.ThemeConfig); + method public cyanogenmod.themes.ThemeChangeRequest build(); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setAlarm(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setAppOverlay(java.lang.String, java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setBootanimation(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setComponent(java.lang.String, java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setFont(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setIcons(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setLiveLockScreen(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setLockWallpaper(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setNavBar(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setNotification(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setOverlay(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setRequestType(cyanogenmod.themes.ThemeChangeRequest.RequestType); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setRingtone(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setStatusBar(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setWallpaper(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setWallpaperId(long); + } + + public static final class ThemeChangeRequest.RequestType extends java.lang.Enum { + method public static cyanogenmod.themes.ThemeChangeRequest.RequestType valueOf(java.lang.String); + method public static final cyanogenmod.themes.ThemeChangeRequest.RequestType[] values(); + enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType THEME_REMOVED; + enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType THEME_RESET; + enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType THEME_UPDATED; + enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType USER_REQUEST; + enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType USER_REQUEST_MIXNMATCH; + } + + public class ThemeManager { + method public deprecated void addClient(cyanogenmod.themes.ThemeManager.ThemeChangeListener); + method public void applyDefaultTheme(); + method public static cyanogenmod.themes.ThemeManager getInstance(android.content.Context); + method public cyanogenmod.themes.ThemeChangeRequest.RequestType getLastThemeChangeRequestType(); + method public long getLastThemeChangeTime(); + method public int getProgress(); + method public boolean isThemeApplying(); + method public boolean isThemeBeingProcessed(java.lang.String); + method public deprecated void onClientDestroyed(cyanogenmod.themes.ThemeManager.ThemeChangeListener); + method public deprecated void onClientPaused(cyanogenmod.themes.ThemeManager.ThemeChangeListener); + method public deprecated void onClientResumed(cyanogenmod.themes.ThemeManager.ThemeChangeListener); + method public boolean processThemeResources(java.lang.String); + method public void registerProcessingListener(cyanogenmod.themes.ThemeManager.ThemeProcessingListener); + method public void registerThemeChangeListener(cyanogenmod.themes.ThemeManager.ThemeChangeListener); + method public deprecated void removeClient(cyanogenmod.themes.ThemeManager.ThemeChangeListener); + method public void requestThemeChange(java.lang.String, java.util.List<java.lang.String>); + method public void requestThemeChange(java.lang.String, java.util.List<java.lang.String>, boolean); + method public void requestThemeChange(java.util.Map<java.lang.String, java.lang.String>); + method public void requestThemeChange(java.util.Map<java.lang.String, java.lang.String>, boolean); + method public void requestThemeChange(cyanogenmod.themes.ThemeChangeRequest, boolean); + method public void unregisterProcessingListener(cyanogenmod.themes.ThemeManager.ThemeProcessingListener); + method public void unregisterThemeChangeListener(cyanogenmod.themes.ThemeManager.ThemeChangeListener); + } + + public static abstract interface ThemeManager.ThemeChangeListener { + method public abstract void onFinish(boolean); + method public abstract void onProgress(int); + } + + public static abstract interface ThemeManager.ThemeProcessingListener { + method public abstract void onFinishedProcessing(java.lang.String); + } + +} + +package cyanogenmod.util { + + public class ColorUtils { + ctor public ColorUtils(); + method public static double calculateDeltaE(double, double, double, double, double, double); + method public static float[] convertRGBtoLAB(int); + method public static int dropAlpha(int); + method public static int findPerceptuallyNearestColor(int, int[]); + method public static int findPerceptuallyNearestSolidColor(int); + method public static int generateAlertColorFromDrawable(android.graphics.drawable.Drawable); + method public static com.android.internal.util.cm.palette.Palette.Swatch getDominantSwatch(com.android.internal.util.cm.palette.Palette); + method public static float[] temperatureToRGB(int); + } + +} + +package cyanogenmod.weather { + + public class CMWeatherManager { + method public void cancelRequest(int); + method public java.lang.String getActiveWeatherServiceProviderLabel(); + method public static cyanogenmod.weather.CMWeatherManager getInstance(android.content.Context); + method public int lookupCity(java.lang.String, cyanogenmod.weather.CMWeatherManager.LookupCityRequestListener); + method public void registerWeatherServiceProviderChangeListener(cyanogenmod.weather.CMWeatherManager.WeatherServiceProviderChangeListener); + method public int requestWeatherUpdate(android.location.Location, cyanogenmod.weather.CMWeatherManager.WeatherUpdateRequestListener); + method public int requestWeatherUpdate(cyanogenmod.weather.WeatherLocation, cyanogenmod.weather.CMWeatherManager.WeatherUpdateRequestListener); + method public void unregisterWeatherServiceProviderChangeListener(cyanogenmod.weather.CMWeatherManager.WeatherServiceProviderChangeListener); + } + + public static abstract interface CMWeatherManager.LookupCityRequestListener { + method public abstract void onLookupCityRequestCompleted(int, java.util.List<cyanogenmod.weather.WeatherLocation>); + } + + public static final class CMWeatherManager.RequestStatus { + field public static final int ALREADY_IN_PROGRESS = -3; // 0xfffffffd + field public static final int COMPLETED = 1; // 0x1 + field public static final int FAILED = -1; // 0xffffffff + field public static final int NO_MATCH_FOUND = -4; // 0xfffffffc + field public static final int SUBMITTED_TOO_SOON = -2; // 0xfffffffe + } + + public static abstract interface CMWeatherManager.WeatherServiceProviderChangeListener { + method public abstract void onWeatherServiceProviderChanged(java.lang.String); + } + + public static abstract interface CMWeatherManager.WeatherUpdateRequestListener { + method public abstract void onWeatherRequestCompleted(int, cyanogenmod.weather.WeatherInfo); + } + + public final class RequestInfo implements android.os.Parcelable { + method public int describeContents(); + method public java.lang.String getCityName(); + method public android.location.Location getLocation(); + method public int getRequestType(); + method public int getTemperatureUnit(); + method public cyanogenmod.weather.WeatherLocation getWeatherLocation(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.weather.RequestInfo> CREATOR; + field public static final int TYPE_LOOKUP_CITY_NAME_REQ = 3; // 0x3 + field public static final int TYPE_WEATHER_BY_GEO_LOCATION_REQ = 1; // 0x1 + field public static final int TYPE_WEATHER_BY_WEATHER_LOCATION_REQ = 2; // 0x2 + } + + public final class WeatherInfo implements android.os.Parcelable { + method public int describeContents(); + method public java.lang.String getCity(); + method public int getConditionCode(); + method public java.util.List<cyanogenmod.weather.WeatherInfo.DayForecast> getForecasts(); + method public double getHumidity(); + method public double getTemperature(); + method public int getTemperatureUnit(); + method public long getTimestamp(); + method public double getTodaysHigh(); + method public double getTodaysLow(); + method public double getWindDirection(); + method public double getWindSpeed(); + method public int getWindSpeedUnit(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.weather.WeatherInfo> CREATOR; + } + + public static class WeatherInfo.Builder { + ctor public WeatherInfo.Builder(java.lang.String, double, int); + method public cyanogenmod.weather.WeatherInfo build(); + method public cyanogenmod.weather.WeatherInfo.Builder setForecast(java.util.List<cyanogenmod.weather.WeatherInfo.DayForecast>); + method public cyanogenmod.weather.WeatherInfo.Builder setHumidity(double); + method public cyanogenmod.weather.WeatherInfo.Builder setTimestamp(long); + method public cyanogenmod.weather.WeatherInfo.Builder setTodaysHigh(double); + method public cyanogenmod.weather.WeatherInfo.Builder setTodaysLow(double); + method public cyanogenmod.weather.WeatherInfo.Builder setWeatherCondition(int); + method public cyanogenmod.weather.WeatherInfo.Builder setWind(double, double, int); + } + + public static class WeatherInfo.DayForecast implements android.os.Parcelable { + method public int describeContents(); + method public int getConditionCode(); + method public double getHigh(); + method public double getLow(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.weather.WeatherInfo.DayForecast> CREATOR; + } + + public static class WeatherInfo.DayForecast.Builder { + ctor public WeatherInfo.DayForecast.Builder(int); + method public cyanogenmod.weather.WeatherInfo.DayForecast build(); + method public cyanogenmod.weather.WeatherInfo.DayForecast.Builder setHigh(double); + method public cyanogenmod.weather.WeatherInfo.DayForecast.Builder setLow(double); + } + + public final class WeatherLocation implements android.os.Parcelable { + method public int describeContents(); + method public java.lang.String getCity(); + method public java.lang.String getCityId(); + method public java.lang.String getCountry(); + method public java.lang.String getCountryId(); + method public java.lang.String getPostalCode(); + method public java.lang.String getState(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.weather.WeatherLocation> CREATOR; + } + + public static class WeatherLocation.Builder { + ctor public WeatherLocation.Builder(java.lang.String, java.lang.String); + ctor public WeatherLocation.Builder(java.lang.String); + method public cyanogenmod.weather.WeatherLocation build(); + method public cyanogenmod.weather.WeatherLocation.Builder setCountry(java.lang.String); + method public cyanogenmod.weather.WeatherLocation.Builder setCountryId(java.lang.String); + method public cyanogenmod.weather.WeatherLocation.Builder setPostalCode(java.lang.String); + method public cyanogenmod.weather.WeatherLocation.Builder setState(java.lang.String); + } + +} + +package cyanogenmod.weatherservice { + + public final class ServiceRequest { + method public void complete(cyanogenmod.weatherservice.ServiceRequestResult); + method public void fail(); + method public cyanogenmod.weather.RequestInfo getRequestInfo(); + method public void reject(int); + } + + public final class ServiceRequestResult implements android.os.Parcelable { + method public int describeContents(); + method public java.util.List<cyanogenmod.weather.WeatherLocation> getLocationLookupList(); + method public cyanogenmod.weather.WeatherInfo getWeatherInfo(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.weatherservice.ServiceRequestResult> CREATOR; + } + + public static class ServiceRequestResult.Builder { + ctor public ServiceRequestResult.Builder(); + ctor public ServiceRequestResult.Builder(cyanogenmod.weather.WeatherInfo); + ctor public ServiceRequestResult.Builder(java.util.List<cyanogenmod.weather.WeatherLocation>); + method public cyanogenmod.weatherservice.ServiceRequestResult build(); + } + + public abstract class WeatherProviderService extends android.app.Service { + ctor public WeatherProviderService(); + method protected final void attachBaseContext(android.content.Context); + method public final android.os.IBinder onBind(android.content.Intent); + method protected void onConnected(); + method protected void onDisconnected(); + method protected abstract void onRequestCancelled(cyanogenmod.weatherservice.ServiceRequest); + method protected abstract void onRequestSubmitted(cyanogenmod.weatherservice.ServiceRequest); + field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.weatherservice.WeatherProviderService"; + field public static final java.lang.String SERVICE_META_DATA = "cyanogenmod.weatherservice"; + } + +} + diff --git a/cmsdk/system-api/5.txt b/cmsdk/system-api/5.txt index 7168d70..7d69561 100644 --- a/cmsdk/system-api/5.txt +++ b/cmsdk/system-api/5.txt @@ -196,6 +196,38 @@ package cyanogenmod.app { field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.app.CustomTileListenerService"; } + public class LiveLockScreenInfo implements android.os.Parcelable { + ctor public LiveLockScreenInfo(android.content.ComponentName, int); + ctor public LiveLockScreenInfo(); + method public cyanogenmod.app.LiveLockScreenInfo clone(); + method public int describeContents(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.app.LiveLockScreenInfo> CREATOR; + field public static final int PRIORITY_DEFAULT = 0; // 0x0 + field public static final int PRIORITY_HIGH = 1; // 0x1 + field public static final int PRIORITY_LOW = -1; // 0xffffffff + field public static final int PRIORITY_MAX = 2; // 0x2 + field public static final int PRIORITY_MIN = -2; // 0xfffffffe + field public android.content.ComponentName component; + field public int priority; + } + + public static class LiveLockScreenInfo.Builder { + ctor public LiveLockScreenInfo.Builder(); + method public cyanogenmod.app.LiveLockScreenInfo build(); + method public cyanogenmod.app.LiveLockScreenInfo.Builder setComponent(android.content.ComponentName); + method public cyanogenmod.app.LiveLockScreenInfo.Builder setPriority(int); + } + + public class LiveLockScreenManager { + method public void cancel(int); + method public cyanogenmod.app.LiveLockScreenInfo getDefaultLiveLockScreen(); + method public static cyanogenmod.app.LiveLockScreenManager getInstance(android.content.Context); + method public void setDefaultLiveLockScreen(cyanogenmod.app.LiveLockScreenInfo); + method public boolean show(int, cyanogenmod.app.LiveLockScreenInfo); + field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.app.LiveLockScreenManagerService"; + } + public class PartnerInterface { method public java.lang.String getCurrentHotwordPackageName(); method public static cyanogenmod.app.PartnerInterface getInstance(android.content.Context); @@ -395,7 +427,7 @@ package cyanogenmod.externalviews { protected abstract class KeyguardExternalViewProviderService.Provider { ctor protected KeyguardExternalViewProviderService.Provider(android.os.Bundle); - method protected final void collapseNotificationPanel(); + method protected final deprecated void collapseNotificationPanel(); method protected android.os.Bundle getOptions(); method protected void onAttach(); method protected abstract void onBouncerShowing(boolean); @@ -403,11 +435,13 @@ package cyanogenmod.externalviews { method protected void onDetach(); method protected abstract void onKeyguardDismissed(); method protected abstract void onKeyguardShowing(boolean); + method protected void onLockscreenSlideOffsetChanged(float); method protected abstract void onScreenTurnedOff(); method protected abstract void onScreenTurnedOn(); method protected final boolean requestDismiss(); method protected final boolean requestDismissAndStartActivity(android.content.Intent); method protected final void setInteractivity(boolean); + method protected final void slideLockscreenIn(); } } @@ -532,8 +566,8 @@ package cyanogenmod.os { public class Build { ctor public Build(); method public static java.lang.String getNameForSDKInt(int); - field public static final java.lang.String CYANOGENMOD_DISPLAY_VERSION = "ro.cm.display.version"; - field public static final java.lang.String CYANOGENMOD_VERSION = "ro.cm.version"; + field public static final java.lang.String CYANOGENMOD_DISPLAY_VERSION; + field public static final java.lang.String CYANOGENMOD_VERSION; field public static final java.lang.String UNKNOWN = "unknown"; } @@ -551,6 +585,16 @@ package cyanogenmod.os { field public static final int ELDERBERRY = 5; // 0x5 } + public final class Concierge { + method public static cyanogenmod.os.Concierge.ParcelInfo prepareParcel(android.os.Parcel); + method public static cyanogenmod.os.Concierge.ParcelInfo receiveParcel(android.os.Parcel); + } + + public static final class Concierge.ParcelInfo { + method public void complete(); + method public int getParcelVersion(); + } + } package cyanogenmod.platform { @@ -563,7 +607,10 @@ package cyanogenmod.platform { ctor public Manifest.permission(); field public static final java.lang.String ACCESS_APP_SUGGESTIONS = "cyanogenmod.permission.ACCESS_APP_SUGGESTIONS"; field public static final java.lang.String ACCESS_THEME_MANAGER = "cyanogenmod.permission.ACCESS_THEME_MANAGER"; + field public static final java.lang.String ACCESS_WEATHER_MANAGER = "cyanogenmod.permission.ACCESS_WEATHER_MANAGER"; + field public static final java.lang.String BIND_WEATHER_PROVIDER_SERVICE = "cyanogenmod.permission.BIND_WEATHER_PROVIDER_SERVICE"; field public static final java.lang.String HARDWARE_ABSTRACTION_ACCESS = "cyanogenmod.permission.HARDWARE_ABSTRACTION_ACCESS"; + field public static final java.lang.String LIVE_LOCK_SCREEN_MANAGER_ACCESS = "cyanogenmod.permission.LIVE_LOCK_SCREEN_MANAGER_ACCESS"; field public static final java.lang.String MANAGE_ALARMS = "cyanogenmod.permission.MANAGE_ALARMS"; field public static final java.lang.String MANAGE_PERSISTENT_STORAGE = "cyanogenmod.permission.MANAGE_PERSISTENT_STORAGE"; field public static final java.lang.String MODIFY_MSIM_PHONE_STATE = "cyanogenmod.permission.MODIFY_MSIM_PHONE_STATE"; @@ -574,13 +621,17 @@ package cyanogenmod.platform { field public static final java.lang.String PROTECTED_APP = "cyanogenmod.permission.PROTECTED_APP"; field public static final java.lang.String PUBLISH_CUSTOM_TILE = "cyanogenmod.permission.PUBLISH_CUSTOM_TILE"; field public static final java.lang.String READ_ALARMS = "cyanogenmod.permission.READ_ALARMS"; + field public static final java.lang.String READ_DATAUSAGE = "cyanogenmod.permission.READ_DATAUSAGE"; field public static final java.lang.String READ_MSIM_PHONE_STATE = "cyanogenmod.permission.READ_MSIM_PHONE_STATE"; field public static final java.lang.String READ_THEMES = "cyanogenmod.permission.READ_THEMES"; - field public static final java.lang.String THIRD_PARTY_KEYGUARD = "android.permission.THIRD_PARTY_KEYGUARD"; + field public static final java.lang.String READ_WEATHER = "cyanogenmod.permission.READ_WEATHER"; + field public static final java.lang.String THIRD_PARTY_KEYGUARD = "cyanogenmod.permission.THIRD_PARTY_KEYGUARD"; field public static final java.lang.String WRITE_ALARMS = "cyanogenmod.permission.WRITE_ALARMS"; + field public static final java.lang.String WRITE_DATAUSAGE = "cyanogenmod.permission.WRITE_DATAUSAGE"; field public static final java.lang.String WRITE_SECURE_SETTINGS = "cyanogenmod.permission.WRITE_SECURE_SETTINGS"; field public static final java.lang.String WRITE_SETTINGS = "cyanogenmod.permission.WRITE_SETTINGS"; field public static final java.lang.String WRITE_THEMES = "cyanogenmod.permission.WRITE_THEMES"; + field public static final java.lang.String WRITE_WEATHER = "cyanogenmod.permission.WRITE_WEATHER"; } public final class R { @@ -742,6 +793,7 @@ package cyanogenmod.providers { public final class CMSettings { ctor public CMSettings(); + field public static final java.lang.String ACTION_DATA_USAGE = "cyanogenmod.settings.ACTION_DATA_USAGE"; field public static final java.lang.String AUTHORITY = "cmsettings"; } @@ -765,6 +817,7 @@ package cyanogenmod.providers { method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String); field public static final android.net.Uri CONTENT_URI; field public static final java.lang.String SYS_PROP_CM_SETTING_VERSION = "sys.cm_settings_global_version"; + field public static final java.lang.String WEATHER_TEMPERATURE_UNIT = "weather_temperature_unit"; } public static final class CMSettings.Secure extends android.provider.Settings.NameValueTable { @@ -890,6 +943,39 @@ package cyanogenmod.providers { field public static final java.lang.String ZEN_PRIORITY_ALLOW_LIGHTS = "zen_priority_allow_lights"; } + public final class DataUsageContract { + ctor public DataUsageContract(); + field public static final java.lang.String ACTIVE = "active"; + field public static final android.net.Uri BASE_CONTENT_URI; + field public static final java.lang.String BYTES = "bytes"; + field public static final int COLUMN_OF_ACTIVE = 3; // 0x3 + field public static final int COLUMN_OF_BYTES = 5; // 0x5 + field public static final int COLUMN_OF_ENABLE = 2; // 0x2 + field public static final int COLUMN_OF_EXTRA = 10; // 0xa + field public static final int COLUMN_OF_FAST_AVG = 8; // 0x8 + field public static final int COLUMN_OF_FAST_SAMPLES = 9; // 0x9 + field public static final int COLUMN_OF_ID = 0; // 0x0 + field public static final int COLUMN_OF_LABEL = 4; // 0x4 + field public static final int COLUMN_OF_SLOW_AVG = 6; // 0x6 + field public static final int COLUMN_OF_SLOW_SAMPLES = 7; // 0x7 + field public static final int COLUMN_OF_UID = 1; // 0x1 + field public static final java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.itemdatausage_item"; + field public static final java.lang.String CONTENT_TYPE = "vnd.android.cursor.dirdatausage_item"; + field public static final android.net.Uri CONTENT_URI; + field public static final java.lang.String DATAUSAGE_AUTHORITY = "org.cyanogenmod.providers.datausage"; + field public static final java.lang.String DATAUSAGE_TABLE = "datausage"; + field public static final java.lang.String ENABLE = "enable"; + field public static final java.lang.String EXTRA = "extra"; + field public static final java.lang.String FAST_AVG = "fast_avg"; + field public static final java.lang.String FAST_SAMPLES = "fast_samples"; + field public static final java.lang.String LABEL = "label"; + field public static final java.lang.String[] PROJECTION_ALL; + field public static final java.lang.String SLOW_AVG = "slow_avg"; + field public static final java.lang.String SLOW_SAMPLES = "slow_samples"; + field public static final java.lang.String UID = "uid"; + field public static final java.lang.String _ID = "_id"; + } + public class ThemesContract { ctor public ThemesContract(); field public static final java.lang.String AUTHORITY = "com.cyanogenmod.themes"; @@ -1010,6 +1096,95 @@ package cyanogenmod.providers { field public static final int UPDATING = 2; // 0x2 } + public class WeatherContract { + ctor public WeatherContract(); + field public static final java.lang.String AUTHORITY = "com.cyanogenmod.weather"; + field public static final android.net.Uri AUTHORITY_URI; + } + + public static class WeatherContract.WeatherColumns { + ctor public WeatherContract.WeatherColumns(); + field public static final android.net.Uri CONTENT_URI; + field public static final android.net.Uri CURRENT_AND_FORECAST_WEATHER_URI; + field public static final java.lang.String CURRENT_CITY = "city"; + field public static final java.lang.String CURRENT_CONDITION = "condition"; + field public static final java.lang.String CURRENT_CONDITION_CODE = "condition_code"; + field public static final java.lang.String CURRENT_HUMIDITY = "humidity"; + field public static final java.lang.String CURRENT_TEMPERATURE = "temperature"; + field public static final java.lang.String CURRENT_TEMPERATURE_UNIT = "temperature_unit"; + field public static final java.lang.String CURRENT_TIMESTAMP = "timestamp"; + field public static final android.net.Uri CURRENT_WEATHER_URI; + field public static final java.lang.String CURRENT_WIND_DIRECTION = "wind_direction"; + field public static final java.lang.String CURRENT_WIND_SPEED = "wind_speed"; + field public static final java.lang.String CURRENT_WIND_SPEED_UNIT = "wind_speed_unit"; + field public static final java.lang.String FORECAST_CONDITION = "forecast_condition"; + field public static final java.lang.String FORECAST_CONDITION_CODE = "forecast_condition_code"; + field public static final java.lang.String FORECAST_HIGH = "forecast_high"; + field public static final java.lang.String FORECAST_LOW = "forecast_low"; + field public static final android.net.Uri FORECAST_WEATHER_URI; + field public static final java.lang.String TODAYS_HIGH_TEMPERATURE = "todays_high"; + field public static final java.lang.String TODAYS_LOW_TEMPERATURE = "todays_low"; + } + + public static final class WeatherContract.WeatherColumns.TempUnit { + field public static final int CELSIUS = 1; // 0x1 + field public static final int FAHRENHEIT = 2; // 0x2 + } + + public static final class WeatherContract.WeatherColumns.WeatherCode { + field public static final int BLOWING_SNOW = 14; // 0xe + field public static final int BLUSTERY = 22; // 0x16 + field public static final int CLEAR_NIGHT = 30; // 0x1e + field public static final int CLOUDY = 25; // 0x19 + field public static final int COLD = 24; // 0x18 + field public static final int DRIZZLE = 9; // 0x9 + field public static final int DUST = 18; // 0x12 + field public static final int FAIR_DAY = 33; // 0x21 + field public static final int FAIR_NIGHT = 32; // 0x20 + field public static final int FOGGY = 19; // 0x13 + field public static final int FREEZING_DRIZZLE = 8; // 0x8 + field public static final int FREEZING_RAIN = 10; // 0xa + field public static final int HAIL = 16; // 0x10 + field public static final int HAZE = 20; // 0x14 + field public static final int HEAVY_SNOW = 39; // 0x27 + field public static final int HOT = 35; // 0x23 + field public static final int HURRICANE = 2; // 0x2 + field public static final int ISOLATED_THUNDERSHOWERS = 44; // 0x2c + field public static final int ISOLATED_THUNDERSTORMS = 36; // 0x24 + field public static final int LIGHT_SNOW_SHOWERS = 13; // 0xd + field public static final int MIXED_RAIN_AND_HAIL = 34; // 0x22 + field public static final int MIXED_RAIN_AND_SLEET = 6; // 0x6 + field public static final int MIXED_RAIN_AND_SNOW = 5; // 0x5 + field public static final int MIXED_SNOW_AND_SLEET = 7; // 0x7 + field public static final int MOSTLY_CLOUDY_DAY = 27; // 0x1b + field public static final int MOSTLY_CLOUDY_NIGHT = 26; // 0x1a + field public static final int NOT_AVAILABLE = 3200; // 0xc80 + field public static final int PARTLY_CLOUDY = 41; // 0x29 + field public static final int PARTLY_CLOUDY_DAY = 29; // 0x1d + field public static final int PARTLY_CLOUDY_NIGHT = 28; // 0x1c + field public static final int SCATTERED_SHOWERS = 38; // 0x26 + field public static final int SCATTERED_SNOW_SHOWERS = 40; // 0x28 + field public static final int SCATTERED_THUNDERSTORMS = 37; // 0x25 + field public static final int SEVERE_THUNDERSTORMS = 3; // 0x3 + field public static final int SHOWERS = 11; // 0xb + field public static final int SLEET = 17; // 0x11 + field public static final int SMOKY = 21; // 0x15 + field public static final int SNOW = 15; // 0xf + field public static final int SNOW_FLURRIES = 12; // 0xc + field public static final int SNOW_SHOWERS = 43; // 0x2b + field public static final int SUNNY = 31; // 0x1f + field public static final int THUNDERSHOWER = 42; // 0x2a + field public static final int THUNDERSTORMS = 4; // 0x4 + field public static final int TORNADO = 0; // 0x0 + field public static final int TROPICAL_STORM = 1; // 0x1 + field public static final int WINDY = 23; // 0x17 + } + + public static final class WeatherContract.WeatherColumns.WindSpeedUnit { + field public static final int KPH = 1; // 0x1 + field public static final int MPH = 2; // 0x2 + } + } package cyanogenmod.themes { @@ -1073,7 +1248,7 @@ package cyanogenmod.themes { public class ThemeManager { method public deprecated void addClient(cyanogenmod.themes.ThemeManager.ThemeChangeListener); method public void applyDefaultTheme(); - method public static cyanogenmod.themes.ThemeManager getInstance(); + method public static cyanogenmod.themes.ThemeManager getInstance(android.content.Context); method public cyanogenmod.themes.ThemeChangeRequest.RequestType getLastThemeChangeRequestType(); method public long getLastThemeChangeTime(); method public int getProgress(); @@ -1091,7 +1266,7 @@ package cyanogenmod.themes { method public void requestThemeChange(java.util.Map<java.lang.String, java.lang.String>); method public void requestThemeChange(java.util.Map<java.lang.String, java.lang.String>, boolean); method public void requestThemeChange(cyanogenmod.themes.ThemeChangeRequest, boolean); - method public void unregisterProcessingListener(cyanogenmod.themes.ThemeManager.ThemeChangeListener); + method public void unregisterProcessingListener(cyanogenmod.themes.ThemeManager.ThemeProcessingListener); method public void unregisterThemeChangeListener(cyanogenmod.themes.ThemeManager.ThemeChangeListener); } @@ -1122,3 +1297,158 @@ package cyanogenmod.util { } +package cyanogenmod.weather { + + public class CMWeatherManager { + method public void cancelRequest(int); + method public java.lang.String getActiveWeatherServiceProviderLabel(); + method public static cyanogenmod.weather.CMWeatherManager getInstance(android.content.Context); + method public int lookupCity(java.lang.String, cyanogenmod.weather.CMWeatherManager.LookupCityRequestListener); + method public void registerWeatherServiceProviderChangeListener(cyanogenmod.weather.CMWeatherManager.WeatherServiceProviderChangeListener); + method public int requestWeatherUpdate(android.location.Location, cyanogenmod.weather.CMWeatherManager.WeatherUpdateRequestListener); + method public int requestWeatherUpdate(cyanogenmod.weather.WeatherLocation, cyanogenmod.weather.CMWeatherManager.WeatherUpdateRequestListener); + method public void unregisterWeatherServiceProviderChangeListener(cyanogenmod.weather.CMWeatherManager.WeatherServiceProviderChangeListener); + } + + public static abstract interface CMWeatherManager.LookupCityRequestListener { + method public abstract void onLookupCityRequestCompleted(int, java.util.List<cyanogenmod.weather.WeatherLocation>); + } + + public static final class CMWeatherManager.RequestStatus { + field public static final int ALREADY_IN_PROGRESS = -3; // 0xfffffffd + field public static final int COMPLETED = 1; // 0x1 + field public static final int FAILED = -1; // 0xffffffff + field public static final int NO_MATCH_FOUND = -4; // 0xfffffffc + field public static final int SUBMITTED_TOO_SOON = -2; // 0xfffffffe + } + + public static abstract interface CMWeatherManager.WeatherServiceProviderChangeListener { + method public abstract void onWeatherServiceProviderChanged(java.lang.String); + } + + public static abstract interface CMWeatherManager.WeatherUpdateRequestListener { + method public abstract void onWeatherRequestCompleted(int, cyanogenmod.weather.WeatherInfo); + } + + public final class RequestInfo implements android.os.Parcelable { + method public int describeContents(); + method public java.lang.String getCityName(); + method public android.location.Location getLocation(); + method public int getRequestType(); + method public int getTemperatureUnit(); + method public cyanogenmod.weather.WeatherLocation getWeatherLocation(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.weather.RequestInfo> CREATOR; + field public static final int TYPE_LOOKUP_CITY_NAME_REQ = 3; // 0x3 + field public static final int TYPE_WEATHER_BY_GEO_LOCATION_REQ = 1; // 0x1 + field public static final int TYPE_WEATHER_BY_WEATHER_LOCATION_REQ = 2; // 0x2 + } + + public final class WeatherInfo implements android.os.Parcelable { + method public int describeContents(); + method public java.lang.String getCity(); + method public int getConditionCode(); + method public java.util.List<cyanogenmod.weather.WeatherInfo.DayForecast> getForecasts(); + method public double getHumidity(); + method public double getTemperature(); + method public int getTemperatureUnit(); + method public long getTimestamp(); + method public double getTodaysHigh(); + method public double getTodaysLow(); + method public double getWindDirection(); + method public double getWindSpeed(); + method public int getWindSpeedUnit(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.weather.WeatherInfo> CREATOR; + } + + public static class WeatherInfo.Builder { + ctor public WeatherInfo.Builder(java.lang.String, double, int); + method public cyanogenmod.weather.WeatherInfo build(); + method public cyanogenmod.weather.WeatherInfo.Builder setForecast(java.util.List<cyanogenmod.weather.WeatherInfo.DayForecast>); + method public cyanogenmod.weather.WeatherInfo.Builder setHumidity(double); + method public cyanogenmod.weather.WeatherInfo.Builder setTimestamp(long); + method public cyanogenmod.weather.WeatherInfo.Builder setTodaysHigh(double); + method public cyanogenmod.weather.WeatherInfo.Builder setTodaysLow(double); + method public cyanogenmod.weather.WeatherInfo.Builder setWeatherCondition(int); + method public cyanogenmod.weather.WeatherInfo.Builder setWind(double, double, int); + } + + public static class WeatherInfo.DayForecast implements android.os.Parcelable { + method public int describeContents(); + method public int getConditionCode(); + method public double getHigh(); + method public double getLow(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.weather.WeatherInfo.DayForecast> CREATOR; + } + + public static class WeatherInfo.DayForecast.Builder { + ctor public WeatherInfo.DayForecast.Builder(int); + method public cyanogenmod.weather.WeatherInfo.DayForecast build(); + method public cyanogenmod.weather.WeatherInfo.DayForecast.Builder setHigh(double); + method public cyanogenmod.weather.WeatherInfo.DayForecast.Builder setLow(double); + } + + public final class WeatherLocation implements android.os.Parcelable { + method public int describeContents(); + method public java.lang.String getCity(); + method public java.lang.String getCityId(); + method public java.lang.String getCountry(); + method public java.lang.String getCountryId(); + method public java.lang.String getPostalCode(); + method public java.lang.String getState(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.weather.WeatherLocation> CREATOR; + } + + public static class WeatherLocation.Builder { + ctor public WeatherLocation.Builder(java.lang.String, java.lang.String); + ctor public WeatherLocation.Builder(java.lang.String); + method public cyanogenmod.weather.WeatherLocation build(); + method public cyanogenmod.weather.WeatherLocation.Builder setCountry(java.lang.String); + method public cyanogenmod.weather.WeatherLocation.Builder setCountryId(java.lang.String); + method public cyanogenmod.weather.WeatherLocation.Builder setPostalCode(java.lang.String); + method public cyanogenmod.weather.WeatherLocation.Builder setState(java.lang.String); + } + +} + +package cyanogenmod.weatherservice { + + public final class ServiceRequest { + method public void complete(cyanogenmod.weatherservice.ServiceRequestResult); + method public void fail(); + method public cyanogenmod.weather.RequestInfo getRequestInfo(); + method public void reject(int); + } + + public final class ServiceRequestResult implements android.os.Parcelable { + method public int describeContents(); + method public java.util.List<cyanogenmod.weather.WeatherLocation> getLocationLookupList(); + method public cyanogenmod.weather.WeatherInfo getWeatherInfo(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.weatherservice.ServiceRequestResult> CREATOR; + } + + public static class ServiceRequestResult.Builder { + ctor public ServiceRequestResult.Builder(); + ctor public ServiceRequestResult.Builder(cyanogenmod.weather.WeatherInfo); + ctor public ServiceRequestResult.Builder(java.util.List<cyanogenmod.weather.WeatherLocation>); + method public cyanogenmod.weatherservice.ServiceRequestResult build(); + } + + public abstract class WeatherProviderService extends android.app.Service { + ctor public WeatherProviderService(); + method protected final void attachBaseContext(android.content.Context); + method public final android.os.IBinder onBind(android.content.Intent); + method protected void onConnected(); + method protected void onDisconnected(); + method protected abstract void onRequestCancelled(cyanogenmod.weatherservice.ServiceRequest); + method protected abstract void onRequestSubmitted(cyanogenmod.weatherservice.ServiceRequest); + field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.weatherservice.WeatherProviderService"; + field public static final java.lang.String SERVICE_META_DATA = "cyanogenmod.weatherservice"; + } + +} + diff --git a/cmsdk/system-api/6.txt b/cmsdk/system-api/6.txt new file mode 100644 index 0000000..5a57e67 --- /dev/null +++ b/cmsdk/system-api/6.txt @@ -0,0 +1,1567 @@ +package cyanogenmod.alarmclock { + + public final class ClockContract { + field public static final java.lang.String AUTHORITY = "com.android.deskclock"; + } + + public static abstract interface ClockContract.AlarmSettingColumns { + field public static final java.lang.String INCREASING_VOLUME = "incvol"; + field public static final java.lang.String LABEL = "label"; + field public static final java.lang.String NO_RINGTONE; + field public static final android.net.Uri NO_RINGTONE_URI; + field public static final java.lang.String PROFILE = "profile"; + field public static final java.lang.String RINGTONE = "ringtone"; + field public static final java.lang.String VIBRATE = "vibrate"; + } + + public static abstract interface ClockContract.AlarmsColumns implements cyanogenmod.alarmclock.ClockContract.AlarmSettingColumns { + field public static final android.net.Uri CONTENT_URI; + field public static final java.lang.String DAYS_OF_WEEK = "daysofweek"; + field public static final java.lang.String DELETE_AFTER_USE = "delete_after_use"; + field public static final java.lang.String ENABLED = "enabled"; + field public static final java.lang.String HOUR = "hour"; + field public static final java.lang.String MINUTES = "minutes"; + } + + public static abstract interface ClockContract.CitiesColumns { + field public static final java.lang.String CITY_ID = "city_id"; + field public static final java.lang.String CITY_NAME = "city_name"; + field public static final android.net.Uri CONTENT_URI; + field public static final java.lang.String TIMEZONE_NAME = "timezone_name"; + field public static final java.lang.String TIMEZONE_OFFSET = "timezone_offset"; + } + + public static abstract interface ClockContract.InstancesColumns implements cyanogenmod.alarmclock.ClockContract.AlarmSettingColumns { + field public static final java.lang.String ALARM_ID = "alarm_id"; + field public static final java.lang.String ALARM_STATE = "alarm_state"; + field public static final android.net.Uri CONTENT_URI; + field public static final java.lang.String DAY = "day"; + field public static final int DISMISSED_STATE = 7; // 0x7 + field public static final int FIRED_STATE = 5; // 0x5 + field public static final int HIDE_NOTIFICATION_STATE = 2; // 0x2 + field public static final int HIGH_NOTIFICATION_STATE = 3; // 0x3 + field public static final java.lang.String HOUR = "hour"; + field public static final int LOW_NOTIFICATION_STATE = 1; // 0x1 + field public static final java.lang.String MINUTES = "minutes"; + field public static final int MISSED_STATE = 6; // 0x6 + field public static final java.lang.String MONTH = "month"; + field public static final int POWER_OFF_ALARM_STATE = -1; // 0xffffffff + field public static final int PREDISMISSED_STATE = 8; // 0x8 + field public static final int SILENT_STATE = 0; // 0x0 + field public static final int SNOOZE_STATE = 4; // 0x4 + field public static final java.lang.String YEAR = "year"; + } + + public class CyanogenModAlarmClock { + ctor public CyanogenModAlarmClock(); + method public static android.content.Intent createAlarmIntent(android.content.Context); + field public static final java.lang.String ACTION_SET_ALARM_ENABLED = "cyanogenmod.alarmclock.SET_ALARM_ENABLED"; + field public static final java.lang.String EXTRA_ALARM_ID = "cyanogenmod.intent.extra.alarmclock.ID"; + field public static final java.lang.String EXTRA_ENABLED = "cyanogenmod.intent.extra.alarmclock.ENABLED"; + field public static final java.lang.String MODIFY_ALARMS_PERMISSION = "cyanogenmod.alarmclock.permission.MODIFY_ALARMS"; + field public static final java.lang.String READ_ALARMS_PERMISSION = "cyanogenmod.alarmclock.permission.READ_ALARMS"; + } + +} + +package cyanogenmod.app { + + public class CMStatusBarManager { + method public static cyanogenmod.app.CMStatusBarManager getInstance(android.content.Context); + method public void publishTile(int, cyanogenmod.app.CustomTile); + method public void publishTile(java.lang.String, int, cyanogenmod.app.CustomTile); + method public void publishTileAsUser(java.lang.String, int, cyanogenmod.app.CustomTile, android.os.UserHandle); + method public void removeTile(int); + method public void removeTile(java.lang.String, int); + method public void removeTileAsUser(java.lang.String, int, android.os.UserHandle); + } + + public class CMTelephonyManager { + method public static cyanogenmod.app.CMTelephonyManager getInstance(android.content.Context); + method public java.util.List<android.telephony.SubscriptionInfo> getSubInformation(); + method public boolean isDataConnectionEnabled(); + method public boolean isDataConnectionSelectedOnSub(int); + method public boolean isSubActive(int); + method public void setDataConnectionState(boolean); + method public void setDefaultPhoneSub(int); + method public void setDefaultSmsSub(int); + method public void setSubState(int, boolean); + field public static final int ASK_FOR_SUBSCRIPTION_ID = 0; // 0x0 + } + + public class CustomTile implements android.os.Parcelable { + ctor public CustomTile(android.os.Parcel); + ctor public CustomTile(); + method public cyanogenmod.app.CustomTile clone(); + method public int describeContents(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.app.CustomTile> CREATOR; + field public static final int PSEUDO_GRID_ITEM_MAX_COUNT = 9; // 0x9 + field public boolean collapsePanel; + field public java.lang.String contentDescription; + field public android.app.PendingIntent deleteIntent; + field public cyanogenmod.app.CustomTile.ExpandedStyle expandedStyle; + field public int icon; + field public java.lang.String label; + field public android.app.PendingIntent onClick; + field public android.net.Uri onClickUri; + field public android.app.PendingIntent onLongClick; + field public android.content.Intent onSettingsClick; + field public android.graphics.Bitmap remoteIcon; + field public boolean sensitiveData; + } + + public static class CustomTile.Builder { + ctor public CustomTile.Builder(android.content.Context); + method public cyanogenmod.app.CustomTile build(); + method public cyanogenmod.app.CustomTile.Builder hasSensitiveData(boolean); + method public cyanogenmod.app.CustomTile.Builder setContentDescription(java.lang.String); + method public cyanogenmod.app.CustomTile.Builder setContentDescription(int); + method public cyanogenmod.app.CustomTile.Builder setDeleteIntent(android.app.PendingIntent); + method public cyanogenmod.app.CustomTile.Builder setExpandedStyle(cyanogenmod.app.CustomTile.ExpandedStyle); + method public cyanogenmod.app.CustomTile.Builder setIcon(int); + method public cyanogenmod.app.CustomTile.Builder setIcon(android.graphics.Bitmap); + method public cyanogenmod.app.CustomTile.Builder setLabel(java.lang.String); + method public cyanogenmod.app.CustomTile.Builder setLabel(int); + method public cyanogenmod.app.CustomTile.Builder setOnClickIntent(android.app.PendingIntent); + method public cyanogenmod.app.CustomTile.Builder setOnClickUri(android.net.Uri); + method public cyanogenmod.app.CustomTile.Builder setOnLongClickIntent(android.app.PendingIntent); + method public cyanogenmod.app.CustomTile.Builder setOnSettingsClickIntent(android.content.Intent); + method public cyanogenmod.app.CustomTile.Builder shouldCollapsePanel(boolean); + } + + public static class CustomTile.ExpandedGridItem extends cyanogenmod.app.CustomTile.ExpandedItem { + ctor public CustomTile.ExpandedGridItem(); + method public void setExpandedGridItemBitmap(android.graphics.Bitmap); + method public void setExpandedGridItemDrawable(int); + method public void setExpandedGridItemOnClickIntent(android.app.PendingIntent); + method public void setExpandedGridItemTitle(java.lang.String); + } + + public static class CustomTile.ExpandedItem implements android.os.Parcelable { + ctor protected CustomTile.ExpandedItem(android.os.Parcel); + method public int describeContents(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.app.CustomTile.ExpandedItem> CREATOR; + field public android.graphics.Bitmap itemBitmapResource; + field public int itemDrawableResourceId; + field public java.lang.String itemSummary; + field public java.lang.String itemTitle; + field public android.app.PendingIntent onClickPendingIntent; + } + + public static class CustomTile.ExpandedListItem extends cyanogenmod.app.CustomTile.ExpandedItem { + ctor public CustomTile.ExpandedListItem(); + method public void setExpandedListItemBitmap(android.graphics.Bitmap); + method public void setExpandedListItemDrawable(int); + method public void setExpandedListItemOnClickIntent(android.app.PendingIntent); + method public void setExpandedListItemSummary(java.lang.String); + method public void setExpandedListItemTitle(java.lang.String); + } + + public static class CustomTile.ExpandedStyle implements android.os.Parcelable { + method public int describeContents(); + method public android.widget.RemoteViews getContentViews(); + method public cyanogenmod.app.CustomTile.ExpandedItem[] getExpandedItems(); + method public int getStyle(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.app.CustomTile.ExpandedStyle> CREATOR; + field public static final int GRID_STYLE = 0; // 0x0 + field public static final int LIST_STYLE = 1; // 0x1 + field public static final int REMOTE_STYLE = 2; // 0x2 + } + + public static class CustomTile.GridExpandedStyle extends cyanogenmod.app.CustomTile.ExpandedStyle { + ctor public CustomTile.GridExpandedStyle(); + method public void setGridItems(java.util.ArrayList<cyanogenmod.app.CustomTile.ExpandedGridItem>); + } + + public static class CustomTile.ListExpandedStyle extends cyanogenmod.app.CustomTile.ExpandedStyle { + ctor public CustomTile.ListExpandedStyle(); + method public void setListItems(java.util.ArrayList<cyanogenmod.app.CustomTile.ExpandedListItem>); + } + + public static class CustomTile.RemoteExpandedStyle extends cyanogenmod.app.CustomTile.ExpandedStyle { + ctor public CustomTile.RemoteExpandedStyle(); + method public void setRemoteViews(android.widget.RemoteViews); + } + + public class CustomTileListenerService extends android.app.Service { + ctor public CustomTileListenerService(); + method public android.os.IBinder onBind(android.content.Intent); + method public void onCustomTilePosted(cyanogenmod.app.StatusBarPanelCustomTile); + method public void onCustomTileRemoved(cyanogenmod.app.StatusBarPanelCustomTile); + method public void onListenerConnected(); + method public final void removeCustomTile(java.lang.String, java.lang.String, int); + field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.app.CustomTileListenerService"; + } + + public class LiveLockScreenInfo implements android.os.Parcelable { + ctor public LiveLockScreenInfo(android.content.ComponentName, int); + ctor public LiveLockScreenInfo(); + method public cyanogenmod.app.LiveLockScreenInfo clone(); + method public int describeContents(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.app.LiveLockScreenInfo> CREATOR; + field public static final int PRIORITY_DEFAULT = 0; // 0x0 + field public static final int PRIORITY_HIGH = 1; // 0x1 + field public static final int PRIORITY_LOW = -1; // 0xffffffff + field public static final int PRIORITY_MAX = 2; // 0x2 + field public static final int PRIORITY_MIN = -2; // 0xfffffffe + field public android.content.ComponentName component; + field public int priority; + } + + public static class LiveLockScreenInfo.Builder { + ctor public LiveLockScreenInfo.Builder(); + method public cyanogenmod.app.LiveLockScreenInfo build(); + method public cyanogenmod.app.LiveLockScreenInfo.Builder setComponent(android.content.ComponentName); + method public cyanogenmod.app.LiveLockScreenInfo.Builder setPriority(int); + } + + public class LiveLockScreenManager { + method public void cancel(int); + method public cyanogenmod.app.LiveLockScreenInfo getDefaultLiveLockScreen(); + method public static cyanogenmod.app.LiveLockScreenManager getInstance(android.content.Context); + method public void setDefaultLiveLockScreen(cyanogenmod.app.LiveLockScreenInfo); + method public boolean show(int, cyanogenmod.app.LiveLockScreenInfo); + field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.app.LiveLockScreenManagerService"; + } + + public class PartnerInterface { + method public java.lang.String getCurrentHotwordPackageName(); + method public static cyanogenmod.app.PartnerInterface getInstance(android.content.Context); + method public void rebootDevice(); + method public void setAirplaneModeEnabled(boolean); + method public void setMobileDataEnabled(boolean); + method public boolean setZenMode(int); + method public boolean setZenModeWithDuration(int, long); + method public void shutdownDevice(); + field public static final java.lang.String MODIFY_NETWORK_SETTINGS_PERMISSION = "cyanogenmod.permission.MODIFY_NETWORK_SETTINGS"; + field public static final java.lang.String MODIFY_SOUND_SETTINGS_PERMISSION = "cyanogenmod.permission.MODIFY_SOUND_SETTINGS"; + field public static final int ZEN_MODE_IMPORTANT_INTERRUPTIONS = 1; // 0x1 + field public static final int ZEN_MODE_NO_INTERRUPTIONS = 2; // 0x2 + field public static final int ZEN_MODE_OFF = 0; // 0x0 + } + + public final class Profile implements java.lang.Comparable android.os.Parcelable { + ctor public Profile(java.lang.String); + method public void addSecondaryUuid(java.util.UUID); + method public int compareTo(java.lang.Object); + method public int describeContents(); + method public cyanogenmod.profiles.AirplaneModeSettings getAirplaneMode(); + method public cyanogenmod.profiles.BrightnessSettings getBrightness(); + method public cyanogenmod.profiles.ConnectionSettings getConnectionSettingWithSubId(int); + method public java.util.Collection<cyanogenmod.profiles.ConnectionSettings> getConnectionSettings(); + method public int getDozeMode(); + method public int getExpandedDesktopMode(); + method public java.lang.String getName(); + method public int getNotificationLightMode(); + method public int getProfileType(); + method public cyanogenmod.profiles.RingModeSettings getRingMode(); + method public cyanogenmod.profiles.LockSettings getScreenLockMode(); + method public java.util.UUID[] getSecondaryUuids(); + method public cyanogenmod.profiles.ConnectionSettings getSettingsForConnection(int); + method public cyanogenmod.profiles.StreamSettings getSettingsForStream(int); + method public java.util.Collection<cyanogenmod.profiles.StreamSettings> getStreamSettings(); + method public int getTriggerState(int, java.lang.String); + method public java.util.ArrayList<cyanogenmod.app.Profile.ProfileTrigger> getTriggersFromType(int); + method public java.util.UUID getUuid(); + method public boolean isConditionalType(); + method public void setAirplaneMode(cyanogenmod.profiles.AirplaneModeSettings); + method public void setBrightness(cyanogenmod.profiles.BrightnessSettings); + method public void setConnectionSettings(cyanogenmod.profiles.ConnectionSettings); + method public void setDozeMode(int); + method public void setExpandedDesktopMode(int); + method public void setName(java.lang.String); + method public void setNotificationLightMode(int); + method public void setProfileType(int); + method public void setRingMode(cyanogenmod.profiles.RingModeSettings); + method public void setScreenLockMode(cyanogenmod.profiles.LockSettings); + method public void setSecondaryUuids(java.util.List<java.util.UUID>); + method public void setStreamSettings(cyanogenmod.profiles.StreamSettings); + method public void setTrigger(cyanogenmod.app.Profile.ProfileTrigger); + method public void writeToParcel(android.os.Parcel, int); + } + + public static class Profile.DozeMode { + ctor public Profile.DozeMode(); + field public static final int DEFAULT = 0; // 0x0 + field public static final int DISABLE = 2; // 0x2 + field public static final int ENABLE = 1; // 0x1 + } + + public static class Profile.ExpandedDesktopMode { + ctor public Profile.ExpandedDesktopMode(); + field public static final int DEFAULT = 0; // 0x0 + field public static final int DISABLE = 2; // 0x2 + field public static final int ENABLE = 1; // 0x1 + } + + public static class Profile.LockMode { + ctor public Profile.LockMode(); + field public static final int DEFAULT = 0; // 0x0 + field public static final int DISABLE = 2; // 0x2 + field public static final int INSECURE = 1; // 0x1 + } + + public static class Profile.NotificationLightMode { + ctor public Profile.NotificationLightMode(); + field public static final int DEFAULT = 0; // 0x0 + field public static final int DISABLE = 2; // 0x2 + field public static final int ENABLE = 1; // 0x1 + } + + public static class Profile.ProfileTrigger implements android.os.Parcelable { + ctor public Profile.ProfileTrigger(int, java.lang.String, int, java.lang.String); + method public int describeContents(); + method public java.lang.String getId(); + method public java.lang.String getName(); + method public int getState(); + method public int getType(); + method public void writeToParcel(android.os.Parcel, int); + } + + public static class Profile.TriggerState { + ctor public Profile.TriggerState(); + field public static final int DISABLED = 2; // 0x2 + field public static final int ON_A2DP_CONNECT = 3; // 0x3 + field public static final int ON_A2DP_DISCONNECT = 4; // 0x4 + field public static final int ON_CONNECT = 0; // 0x0 + field public static final int ON_DISCONNECT = 1; // 0x1 + } + + public static class Profile.TriggerType { + ctor public Profile.TriggerType(); + field public static final int BLUETOOTH = 1; // 0x1 + field public static final int WIFI = 0; // 0x0 + } + + public static class Profile.Type { + ctor public Profile.Type(); + field public static final int CONDITIONAL = 1; // 0x1 + field public static final int TOGGLE = 0; // 0x0 + } + + public class ProfileManager { + method public void addProfile(cyanogenmod.app.Profile); + method public cyanogenmod.app.Profile getActiveProfile(); + method public static cyanogenmod.app.ProfileManager getInstance(android.content.Context); + method public deprecated cyanogenmod.app.Profile getProfile(java.lang.String); + method public cyanogenmod.app.Profile getProfile(java.util.UUID); + method public java.lang.String[] getProfileNames(); + method public cyanogenmod.app.Profile[] getProfiles(); + method public boolean isProfilesEnabled(); + method public boolean profileExists(java.lang.String); + method public boolean profileExists(java.util.UUID); + method public void removeProfile(cyanogenmod.app.Profile); + method public void resetAll(); + method public deprecated void setActiveProfile(java.lang.String); + method public void setActiveProfile(java.util.UUID); + method public void updateProfile(cyanogenmod.app.Profile); + field public static final java.lang.String ACTION_PROFILE_PICKER = "cyanogenmod.platform.intent.action.PROFILE_PICKER"; + field public static final java.lang.String EXTRA_LAST_PROFILE_NAME = "lastName"; + field public static final java.lang.String EXTRA_LAST_PROFILE_UUID = "lastUuid"; + field public static final java.lang.String EXTRA_PROFILES_STATE = "profile_state"; + field public static final java.lang.String EXTRA_PROFILE_DIALOG_THEME = "cyanogenmod.platform.intent.extra.profile.DIALOG_THEME"; + field public static final java.lang.String EXTRA_PROFILE_EXISTING_UUID = "cyanogenmod.platform.extra.profile.EXISTING_UUID"; + field public static final java.lang.String EXTRA_PROFILE_NAME = "name"; + field public static final java.lang.String EXTRA_PROFILE_PICKED_UUID = "cyanogenmod.platform.intent.extra.profile.PICKED_UUID"; + field public static final java.lang.String EXTRA_PROFILE_SHOW_NONE = "cyanogenmod.platform.intent.extra.profile.SHOW_NONE"; + field public static final java.lang.String EXTRA_PROFILE_TITLE = "cyanogenmod.platform.intent.extra.profile.TITLE"; + field public static final java.lang.String EXTRA_PROFILE_UUID = "uuid"; + field public static final java.lang.String INTENT_ACTION_PROFILE_SELECTED = "cyanogenmod.platform.intent.action.PROFILE_SELECTED"; + field public static final java.lang.String INTENT_ACTION_PROFILE_UPDATED = "cyanogenmod.platform.intent.action.PROFILE_UPDATED"; + field public static final java.util.UUID NO_PROFILE; + field public static final java.lang.String PROFILES_STATE_CHANGED_ACTION = "cyanogenmod.platform.app.profiles.PROFILES_STATE_CHANGED"; + field public static final int PROFILES_STATE_DISABLED = 0; // 0x0 + field public static final int PROFILES_STATE_ENABLED = 1; // 0x1 + } + + public class StatusBarPanelCustomTile implements android.os.Parcelable { + ctor public StatusBarPanelCustomTile(java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, int, int, cyanogenmod.app.CustomTile, android.os.UserHandle); + ctor public StatusBarPanelCustomTile(java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, int, int, cyanogenmod.app.CustomTile, android.os.UserHandle, long); + ctor public StatusBarPanelCustomTile(android.os.Parcel); + method public cyanogenmod.app.StatusBarPanelCustomTile clone(); + method public int describeContents(); + method public cyanogenmod.app.CustomTile getCustomTile(); + method public int getId(); + method public java.lang.String getKey(); + method public java.lang.String getPackage(); + method public long getPostTime(); + method public java.lang.String getTag(); + method public android.os.UserHandle getUser(); + method public int getUserId(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.app.StatusBarPanelCustomTile> CREATOR; + } + +} + +package cyanogenmod.content { + + public class Intent { + ctor public Intent(); + field public static final java.lang.String ACTION_PROTECTED = "cyanogenmod.intent.action.PACKAGE_PROTECTED"; + field public static final java.lang.String ACTION_PROTECTED_CHANGED = "cyanogenmod.intent.action.PROTECTED_COMPONENT_UPDATE"; + field public static final java.lang.String ACTION_THEME_INSTALLED = "cyanogenmod.intent.action.THEME_INSTALLED"; + field public static final java.lang.String ACTION_THEME_REMOVED = "cyanogenmod.intent.action.THEME_REMOVED"; + field public static final java.lang.String ACTION_THEME_UPDATED = "cyanogenmod.intent.action.THEME_UPDATED"; + field public static final java.lang.String CATEGORY_THEME_PACKAGE_INSTALLED_STATE_CHANGE = "cyanogenmod.intent.category.THEME_PACKAGE_INSTALL_STATE_CHANGE"; + field public static final java.lang.String EXTRA_PROTECTED_COMPONENTS = "cyanogenmod.intent.extra.PACKAGE_PROTECTED_COMPONENTS"; + field public static final java.lang.String EXTRA_PROTECTED_STATE = "cyanogenmod.intent.extra.PACKAGE_PROTECTED_STATE"; + field public static final java.lang.String URI_SCHEME_PACKAGE = "package"; + } + +} + +package cyanogenmod.externalviews { + + public abstract class KeyguardExternalViewProviderService extends android.app.Service { + ctor public KeyguardExternalViewProviderService(); + method protected abstract cyanogenmod.externalviews.KeyguardExternalViewProviderService.Provider createExternalView(android.os.Bundle); + method public final android.os.IBinder onBind(android.content.Intent); + field public static final java.lang.String META_DATA = "cyanogenmod.externalviews.keyguard"; + field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.externalviews.KeyguardExternalViewProviderService"; + } + + protected abstract class KeyguardExternalViewProviderService.Provider { + ctor protected KeyguardExternalViewProviderService.Provider(android.os.Bundle); + method protected final deprecated void collapseNotificationPanel(); + method protected android.os.Bundle getOptions(); + method protected void onAttach(); + method protected abstract void onBouncerShowing(boolean); + method protected abstract android.view.View onCreateView(); + method protected void onDetach(); + method protected abstract void onKeyguardDismissed(); + method protected abstract void onKeyguardShowing(boolean); + method protected void onLockscreenSlideOffsetChanged(float); + method protected abstract void onScreenTurnedOff(); + method protected abstract void onScreenTurnedOn(); + method protected final boolean requestDismiss(); + method protected final boolean requestDismissAndStartActivity(android.content.Intent); + method protected final void setInteractivity(boolean); + method protected final void slideLockscreenIn(); + } + +} + +package cyanogenmod.hardware { + + public final class CMHardwareManager { + method public boolean deletePersistentObject(java.lang.String); + method public boolean get(int); + method public int getColorBalance(); + method public android.util.Range<java.lang.Integer> getColorBalanceRange(); + method public cyanogenmod.hardware.DisplayMode getCurrentDisplayMode(); + method public cyanogenmod.hardware.DisplayMode getDefaultDisplayMode(); + method public cyanogenmod.hardware.HSIC getDefaultPictureAdjustment(); + method public int[] getDisplayColorCalibration(); + method public int getDisplayColorCalibrationDefault(); + method public int getDisplayColorCalibrationMax(); + method public int getDisplayColorCalibrationMin(); + method public deprecated int[] getDisplayGammaCalibration(int); + method public deprecated int getDisplayGammaCalibrationMax(); + method public deprecated int getDisplayGammaCalibrationMin(); + method public cyanogenmod.hardware.DisplayMode[] getDisplayModes(); + method public static cyanogenmod.hardware.CMHardwareManager getInstance(android.content.Context); + method public java.lang.String getLtoDestination(); + method public long getLtoDownloadInterval(); + method public java.lang.String getLtoSource(); + method public deprecated int getNumGammaControls(); + method public cyanogenmod.hardware.HSIC getPictureAdjustment(); + method public java.util.List<android.util.Range<java.lang.Float>> getPictureAdjustmentRanges(); + method public java.lang.String getSerialNumber(); + method public int getSupportedFeatures(); + method public int getThermalState(); + method public java.lang.String getUniqueDeviceId(); + method public int getVibratorDefaultIntensity(); + method public int getVibratorIntensity(); + method public int getVibratorMaxIntensity(); + method public int getVibratorMinIntensity(); + method public int getVibratorWarningIntensity(); + method public boolean isSunlightEnhancementSelfManaged(); + method public boolean isSupported(int); + method public byte[] readPersistentBytes(java.lang.String); + method public int readPersistentInt(java.lang.String); + method public java.lang.String readPersistentString(java.lang.String); + method public boolean registerThermalListener(cyanogenmod.hardware.ThermalListenerCallback); + method public boolean requireAdaptiveBacklightForSunlightEnhancement(); + method public boolean set(int, boolean); + method public boolean setColorBalance(int); + method public boolean setDisplayColorCalibration(int[]); + method public deprecated boolean setDisplayGammaCalibration(int, int[]); + method public boolean setDisplayMode(cyanogenmod.hardware.DisplayMode, boolean); + method public boolean setPictureAdjustment(cyanogenmod.hardware.HSIC); + method public boolean setVibratorIntensity(int); + method public boolean unRegisterThermalListener(cyanogenmod.hardware.ThermalListenerCallback); + method public boolean writePersistentBytes(java.lang.String, byte[]); + method public boolean writePersistentInt(java.lang.String, int); + method public boolean writePersistentString(java.lang.String, java.lang.String); + field public static final int FEATURE_ADAPTIVE_BACKLIGHT = 1; // 0x1 + field public static final int FEATURE_AUTO_CONTRAST = 4096; // 0x1000 + field public static final int FEATURE_COLOR_BALANCE = 131072; // 0x20000 + field public static final int FEATURE_COLOR_ENHANCEMENT = 2; // 0x2 + field public static final int FEATURE_DISPLAY_COLOR_CALIBRATION = 4; // 0x4 + field public static final int FEATURE_DISPLAY_GAMMA_CALIBRATION = 8; // 0x8 + field public static final int FEATURE_DISPLAY_MODES = 8192; // 0x2000 + field public static final int FEATURE_HIGH_TOUCH_SENSITIVITY = 16; // 0x10 + field public static final int FEATURE_KEY_DISABLE = 32; // 0x20 + field public static final int FEATURE_LONG_TERM_ORBITS = 64; // 0x40 + field public static final int FEATURE_PERSISTENT_STORAGE = 16384; // 0x4000 + field public static final int FEATURE_PICTURE_ADJUSTMENT = 262144; // 0x40000 + field public static final int FEATURE_SERIAL_NUMBER = 128; // 0x80 + field public static final int FEATURE_SUNLIGHT_ENHANCEMENT = 256; // 0x100 + field public static final int FEATURE_TAP_TO_WAKE = 512; // 0x200 + field public static final int FEATURE_THERMAL_MONITOR = 32768; // 0x8000 + field public static final int FEATURE_TOUCH_HOVERING = 2048; // 0x800 + field public static final int FEATURE_UNIQUE_DEVICE_ID = 65536; // 0x10000 + field public static final int FEATURE_VIBRATOR = 1024; // 0x400 + } + + public class DisplayMode implements android.os.Parcelable { + ctor public DisplayMode(int, java.lang.String); + method public int describeContents(); + method public void writeToParcel(android.os.Parcel, int); + field public final int id; + field public final java.lang.String name; + } + + public class HSIC implements android.os.Parcelable { + ctor public HSIC(float, float, float, float, float); + method public int describeContents(); + method public java.lang.String flatten(); + method public static cyanogenmod.hardware.HSIC fromFloatArray(float[]); + method public float getContrast(); + method public float getHue(); + method public float getIntensity(); + method public float getSaturation(); + method public float getSaturationThreshold(); + method public float[] toFloatArray(); + method public int[] toRGB(); + method public static cyanogenmod.hardware.HSIC unflattenFrom(java.lang.String) throws java.lang.NumberFormatException; + method public void writeToParcel(android.os.Parcel, int); + } + + public abstract interface IThermalListenerCallback implements android.os.IInterface { + method public abstract void onThermalChanged(int) throws android.os.RemoteException; + } + + public static abstract class IThermalListenerCallback.Stub extends android.os.Binder implements cyanogenmod.hardware.IThermalListenerCallback { + ctor public IThermalListenerCallback.Stub(); + method public android.os.IBinder asBinder(); + method public static cyanogenmod.hardware.IThermalListenerCallback asInterface(android.os.IBinder); + method public boolean onTransact(int, android.os.Parcel, android.os.Parcel, int) throws android.os.RemoteException; + } + + public class LiveDisplayConfig implements android.os.Parcelable { + ctor public LiveDisplayConfig(java.util.BitSet, int, int, int, boolean, boolean, boolean, boolean, android.util.Range<java.lang.Integer>, android.util.Range<java.lang.Integer>, android.util.Range<java.lang.Float>, android.util.Range<java.lang.Float>, android.util.Range<java.lang.Float>, android.util.Range<java.lang.Float>, android.util.Range<java.lang.Float>); + method public int describeContents(); + method public android.util.Range<java.lang.Integer> getColorBalanceRange(); + method public android.util.Range<java.lang.Integer> getColorTemperatureRange(); + method public android.util.Range<java.lang.Float> getContrastRange(); + method public boolean getDefaultAutoContrast(); + method public boolean getDefaultAutoOutdoorMode(); + method public boolean getDefaultCABC(); + method public boolean getDefaultColorEnhancement(); + method public int getDefaultDayTemperature(); + method public int getDefaultMode(); + method public int getDefaultNightTemperature(); + method public android.util.Range<java.lang.Float> getHueRange(); + method public android.util.Range<java.lang.Float> getIntensityRange(); + method public java.util.List<android.util.Range<java.lang.Float>> getPictureAdjustmentRanges(); + method public android.util.Range<java.lang.Float> getSaturationRange(); + method public android.util.Range<java.lang.Float> getSaturationThresholdRange(); + method public boolean hasFeature(int); + method public boolean hasModeSupport(); + method public boolean isAvailable(); + method public void writeToParcel(android.os.Parcel, int); + } + + public class LiveDisplayManager { + method public float[] getColorAdjustment(); + method public cyanogenmod.hardware.LiveDisplayConfig getConfig(); + method public int getDayColorTemperature(); + method public cyanogenmod.hardware.HSIC getDefaultPictureAdjustment(); + method public static synchronized cyanogenmod.hardware.LiveDisplayManager getInstance(android.content.Context); + method public int getMode(); + method public int getNightColorTemperature(); + method public cyanogenmod.hardware.HSIC getPictureAdjustment(); + method public boolean isAutoContrastEnabled(); + method public boolean isAutomaticOutdoorModeEnabled(); + method public boolean isCABCEnabled(); + method public boolean isColorEnhancementEnabled(); + method public boolean setAutoContrastEnabled(boolean); + method public boolean setAutomaticOutdoorModeEnabled(boolean); + method public boolean setCABCEnabled(boolean); + method public boolean setColorAdjustment(float[]); + method public boolean setColorEnhancementEnabled(boolean); + method public boolean setDayColorTemperature(int); + method public boolean setMode(int); + method public boolean setNightColorTemperature(int); + method public boolean setPictureAdjustment(cyanogenmod.hardware.HSIC); + field public static final int ADJUSTMENT_CONTRAST = 3; // 0x3 + field public static final int ADJUSTMENT_HUE = 0; // 0x0 + field public static final int ADJUSTMENT_INTENSITY = 2; // 0x2 + field public static final int ADJUSTMENT_SATURATION = 1; // 0x1 + field public static final int FEATURE_AUTO_CONTRAST = 11; // 0xb + field public static final int FEATURE_CABC = 10; // 0xa + field public static final int FEATURE_COLOR_ADJUSTMENT = 13; // 0xd + field public static final int FEATURE_COLOR_BALANCE = 16; // 0x10 + field public static final int FEATURE_COLOR_ENHANCEMENT = 12; // 0xc + field public static final int FEATURE_DISPLAY_MODES = 15; // 0xf + field public static final int FEATURE_MANAGED_OUTDOOR_MODE = 14; // 0xe + field public static final int FEATURE_PICTURE_ADJUSTMENT = 17; // 0x11 + field public static final int MODE_AUTO = 2; // 0x2 + field public static final int MODE_DAY = 4; // 0x4 + field public static final int MODE_NIGHT = 1; // 0x1 + field public static final int MODE_OFF = 0; // 0x0 + field public static final int MODE_OUTDOOR = 3; // 0x3 + } + + public abstract class ThermalListenerCallback extends cyanogenmod.hardware.IThermalListenerCallback.Stub { + ctor public ThermalListenerCallback(); + } + + public static final class ThermalListenerCallback.State { + ctor public ThermalListenerCallback.State(); + method public static final java.lang.String toString(int); + field public static final int STATE_COOL = 0; // 0x0 + field public static final int STATE_CRITICAL = 3; // 0x3 + field public static final int STATE_UNKNOWN = -1; // 0xffffffff + field public static final int STATE_WARM_FALLING = 1; // 0x1 + field public static final int STATE_WARM_RISING = 2; // 0x2 + } + +} + +package cyanogenmod.media { + + public class MediaRecorder { + ctor public MediaRecorder(); + field public static final java.lang.String ACTION_HOTWORD_INPUT_CHANGED = "com.cyanogenmod.intent.action.HOTWORD_INPUT_CHANGED"; + field public static final java.lang.String CAPTURE_AUDIO_HOTWORD_PERMISSION = "android.permission.CAPTURE_AUDIO_HOTWORD"; + field public static final java.lang.String EXTRA_CURRENT_PACKAGE_NAME = "com.cyanogenmod.intent.extra.CURRENT_PACKAGE_NAME"; + } + + public static class MediaRecorder.AudioSource { + ctor public MediaRecorder.AudioSource(); + field public static final int HOTWORD = 1999; // 0x7cf + } + +} + +package cyanogenmod.os { + + public class Build { + ctor public Build(); + method public static java.lang.String getNameForSDKInt(int); + field public static final java.lang.String CYANOGENMOD_DISPLAY_VERSION; + field public static final java.lang.String CYANOGENMOD_VERSION; + field public static final java.lang.String UNKNOWN = "unknown"; + } + + public static class Build.CM_VERSION { + ctor public Build.CM_VERSION(); + field public static final int SDK_INT; + } + + public static class Build.CM_VERSION_CODES { + ctor public Build.CM_VERSION_CODES(); + field public static final int APRICOT = 1; // 0x1 + field public static final int BOYSENBERRY = 2; // 0x2 + field public static final int CANTALOUPE = 3; // 0x3 + field public static final int DRAGON_FRUIT = 4; // 0x4 + field public static final int ELDERBERRY = 5; // 0x5 + field public static final int FIG = 6; // 0x6 + } + + public final class Concierge { + method public static cyanogenmod.os.Concierge.ParcelInfo prepareParcel(android.os.Parcel); + method public static cyanogenmod.os.Concierge.ParcelInfo receiveParcel(android.os.Parcel); + } + + public static final class Concierge.ParcelInfo { + method public void complete(); + method public int getParcelVersion(); + } + +} + +package cyanogenmod.platform { + + public final class Manifest { + ctor public Manifest(); + } + + public static final class Manifest.permission { + ctor public Manifest.permission(); + field public static final java.lang.String ACCESS_APP_SUGGESTIONS = "cyanogenmod.permission.ACCESS_APP_SUGGESTIONS"; + field public static final java.lang.String ACCESS_THEME_MANAGER = "cyanogenmod.permission.ACCESS_THEME_MANAGER"; + field public static final java.lang.String ACCESS_WEATHER_MANAGER = "cyanogenmod.permission.ACCESS_WEATHER_MANAGER"; + field public static final java.lang.String BIND_WEATHER_PROVIDER_SERVICE = "cyanogenmod.permission.BIND_WEATHER_PROVIDER_SERVICE"; + field public static final java.lang.String HARDWARE_ABSTRACTION_ACCESS = "cyanogenmod.permission.HARDWARE_ABSTRACTION_ACCESS"; + field public static final java.lang.String LIVE_LOCK_SCREEN_MANAGER_ACCESS = "cyanogenmod.permission.LIVE_LOCK_SCREEN_MANAGER_ACCESS"; + field public static final java.lang.String MANAGE_ALARMS = "cyanogenmod.permission.MANAGE_ALARMS"; + field public static final java.lang.String MANAGE_LIVEDISPLAY = "cyanogenmod.permission.MANAGE_LIVEDISPLAY"; + field public static final java.lang.String MANAGE_PERSISTENT_STORAGE = "cyanogenmod.permission.MANAGE_PERSISTENT_STORAGE"; + field public static final java.lang.String MODIFY_MSIM_PHONE_STATE = "cyanogenmod.permission.MODIFY_MSIM_PHONE_STATE"; + field public static final java.lang.String MODIFY_NETWORK_SETTINGS = "cyanogenmod.permission.MODIFY_NETWORK_SETTINGS"; + field public static final java.lang.String MODIFY_PROFILES = "cyanogenmod.permission.MODIFY_PROFILES"; + field public static final java.lang.String MODIFY_SOUND_SETTINGS = "cyanogenmod.permission.MODIFY_SOUND_SETTINGS"; + field public static final java.lang.String PERFORMANCE_ACCESS = "cyanogenmod.permission.PERFORMANCE_ACCESS"; + field public static final java.lang.String PROTECTED_APP = "cyanogenmod.permission.PROTECTED_APP"; + field public static final java.lang.String PUBLISH_CUSTOM_TILE = "cyanogenmod.permission.PUBLISH_CUSTOM_TILE"; + field public static final java.lang.String READ_ALARMS = "cyanogenmod.permission.READ_ALARMS"; + field public static final java.lang.String READ_DATAUSAGE = "cyanogenmod.permission.READ_DATAUSAGE"; + field public static final java.lang.String READ_MSIM_PHONE_STATE = "cyanogenmod.permission.READ_MSIM_PHONE_STATE"; + field public static final java.lang.String READ_THEMES = "cyanogenmod.permission.READ_THEMES"; + field public static final java.lang.String READ_WEATHER = "cyanogenmod.permission.READ_WEATHER"; + field public static final java.lang.String THIRD_PARTY_KEYGUARD = "cyanogenmod.permission.THIRD_PARTY_KEYGUARD"; + field public static final java.lang.String WRITE_ALARMS = "cyanogenmod.permission.WRITE_ALARMS"; + field public static final java.lang.String WRITE_DATAUSAGE = "cyanogenmod.permission.WRITE_DATAUSAGE"; + field public static final java.lang.String WRITE_SECURE_SETTINGS = "cyanogenmod.permission.WRITE_SECURE_SETTINGS"; + field public static final java.lang.String WRITE_SETTINGS = "cyanogenmod.permission.WRITE_SETTINGS"; + field public static final java.lang.String WRITE_THEMES = "cyanogenmod.permission.WRITE_THEMES"; + field public static final java.lang.String WRITE_WEATHER = "cyanogenmod.permission.WRITE_WEATHER"; + } + + public final class R { + ctor public R(); + } + + public static final class R.array { + ctor public R.array(); + } + + public static final class R.attr { + ctor public R.attr(); + } + + public static final class R.bool { + ctor public R.bool(); + } + + public static final class R.color { + ctor public R.color(); + } + + public static final class R.dimen { + ctor public R.dimen(); + } + + public static final class R.drawable { + ctor public R.drawable(); + } + + public static final class R.id { + ctor public R.id(); + } + + public static final class R.integer { + ctor public R.integer(); + } + + public static final class R.layout { + ctor public R.layout(); + } + + public static final class R.string { + ctor public R.string(); + } + + public static final class R.xml { + ctor public R.xml(); + } + +} + +package cyanogenmod.power { + + public class PerformanceManager { + method public static cyanogenmod.power.PerformanceManager getInstance(android.content.Context); + method public int getNumberOfProfiles(); + method public int getPowerProfile(); + method public boolean getProfileHasAppProfiles(int); + method public boolean setPowerProfile(int); + field public static final java.lang.String POWER_PROFILE_CHANGED = "cyanogenmod.power.PROFILE_CHANGED"; + field public static final int PROFILE_BALANCED = 1; // 0x1 + field public static final int PROFILE_BIAS_PERFORMANCE = 4; // 0x4 + field public static final int PROFILE_BIAS_POWER_SAVE = 3; // 0x3 + field public static final int PROFILE_HIGH_PERFORMANCE = 2; // 0x2 + field public static final int PROFILE_POWER_SAVE = 0; // 0x0 + field public static final java.lang.String TAG = "PerformanceManager"; + } + +} + +package cyanogenmod.profiles { + + public final class AirplaneModeSettings implements android.os.Parcelable { + ctor public AirplaneModeSettings(android.os.Parcel); + ctor public AirplaneModeSettings(); + ctor public AirplaneModeSettings(int, boolean); + method public int describeContents(); + method public int getValue(); + method public boolean isOverride(); + method public void setOverride(boolean); + method public void setValue(int); + method public void writeToParcel(android.os.Parcel, int); + } + + public static class AirplaneModeSettings.BooleanState { + ctor public AirplaneModeSettings.BooleanState(); + field public static final int STATE_DISALED = 0; // 0x0 + field public static final int STATE_ENABLED = 1; // 0x1 + } + + public final class BrightnessSettings implements android.os.Parcelable { + ctor public BrightnessSettings(android.os.Parcel); + ctor public BrightnessSettings(); + ctor public BrightnessSettings(int, boolean); + method public int describeContents(); + method public int getValue(); + method public boolean isOverride(); + method public void setOverride(boolean); + method public void setValue(int); + method public void writeToParcel(android.os.Parcel, int); + } + + public final class ConnectionSettings implements android.os.Parcelable { + ctor public ConnectionSettings(android.os.Parcel); + ctor public ConnectionSettings(int); + ctor public ConnectionSettings(int, int, boolean); + method public int describeContents(); + method public int getConnectionId(); + method public int getSubId(); + method public int getValue(); + method public boolean isOverride(); + method public void setOverride(boolean); + method public void setSubId(int); + method public void setValue(int); + method public void writeToParcel(android.os.Parcel, int); + field public static final int PROFILE_CONNECTION_2G3G4G = 9; // 0x9 + field public static final int PROFILE_CONNECTION_BLUETOOTH = 7; // 0x7 + field public static final int PROFILE_CONNECTION_GPS = 4; // 0x4 + field public static final int PROFILE_CONNECTION_MOBILEDATA = 0; // 0x0 + field public static final int PROFILE_CONNECTION_NFC = 8; // 0x8 + field public static final int PROFILE_CONNECTION_SYNC = 5; // 0x5 + field public static final int PROFILE_CONNECTION_WIFI = 1; // 0x1 + field public static final int PROFILE_CONNECTION_WIFIAP = 2; // 0x2 + field public static final int PROFILE_CONNECTION_WIMAX = 3; // 0x3 + } + + public static class ConnectionSettings.BooleanState { + ctor public ConnectionSettings.BooleanState(); + field public static final int STATE_DISALED = 0; // 0x0 + field public static final int STATE_ENABLED = 1; // 0x1 + } + + public final class LockSettings implements android.os.Parcelable { + ctor public LockSettings(android.os.Parcel); + ctor public LockSettings(); + ctor public LockSettings(int); + method public int describeContents(); + method public int getValue(); + method public void setValue(int); + method public void writeToParcel(android.os.Parcel, int); + } + + public final class RingModeSettings implements android.os.Parcelable { + ctor public RingModeSettings(android.os.Parcel); + ctor public RingModeSettings(); + ctor public RingModeSettings(java.lang.String, boolean); + method public int describeContents(); + method public java.lang.String getValue(); + method public boolean isOverride(); + method public void setOverride(boolean); + method public void setValue(java.lang.String); + method public void writeToParcel(android.os.Parcel, int); + field public static final java.lang.String RING_MODE_MUTE = "mute"; + field public static final java.lang.String RING_MODE_NORMAL = "normal"; + field public static final java.lang.String RING_MODE_VIBRATE = "vibrate"; + } + + public final class StreamSettings implements android.os.Parcelable { + ctor public StreamSettings(android.os.Parcel); + ctor public StreamSettings(int); + ctor public StreamSettings(int, int, boolean); + method public int describeContents(); + method public int getStreamId(); + method public int getValue(); + method public boolean isOverride(); + method public void setOverride(boolean); + method public void setValue(int); + method public void writeToParcel(android.os.Parcel, int); + } + +} + +package cyanogenmod.providers { + + public final class CMSettings { + ctor public CMSettings(); + field public static final java.lang.String ACTION_DATA_USAGE = "cyanogenmod.settings.ACTION_DATA_USAGE"; + field public static final java.lang.String ACTION_LIVEDISPLAY_SETTINGS = "cyanogenmod.settings.LIVEDISPLAY_SETTINGS"; + field public static final java.lang.String AUTHORITY = "cmsettings"; + } + + public static class CMSettings.CMSettingNotFoundException extends android.util.AndroidException { + ctor public CMSettings.CMSettingNotFoundException(java.lang.String); + } + + public static final class CMSettings.Global extends android.provider.Settings.NameValueTable { + ctor public CMSettings.Global(); + method public static float getFloat(android.content.ContentResolver, java.lang.String, float); + method public static float getFloat(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; + method public static int getInt(android.content.ContentResolver, java.lang.String, int); + method public static int getInt(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; + method public static long getLong(android.content.ContentResolver, java.lang.String, long); + method public static long getLong(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; + method public static java.lang.String getString(android.content.ContentResolver, java.lang.String); + method public static android.net.Uri getUriFor(java.lang.String); + method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float); + method public static boolean putInt(android.content.ContentResolver, java.lang.String, int); + method public static boolean putLong(android.content.ContentResolver, java.lang.String, long); + method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String); + field public static final android.net.Uri CONTENT_URI; + field public static final java.lang.String SYS_PROP_CM_SETTING_VERSION = "sys.cm_settings_global_version"; + field public static final java.lang.String WEATHER_TEMPERATURE_UNIT = "weather_temperature_unit"; + } + + public static final class CMSettings.Secure extends android.provider.Settings.NameValueTable { + ctor public CMSettings.Secure(); + method public static float getFloat(android.content.ContentResolver, java.lang.String, float); + method public static float getFloat(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; + method public static int getInt(android.content.ContentResolver, java.lang.String, int); + method public static int getInt(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; + method public static long getLong(android.content.ContentResolver, java.lang.String, long); + method public static long getLong(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; + method public static java.lang.String getString(android.content.ContentResolver, java.lang.String); + method public static android.net.Uri getUriFor(java.lang.String); + method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float); + method public static boolean putInt(android.content.ContentResolver, java.lang.String, int); + method public static boolean putLong(android.content.ContentResolver, java.lang.String, long); + method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String); + field public static final android.net.Uri CONTENT_URI; + field public static final java.lang.String SYS_PROP_CM_SETTING_VERSION = "sys.cm_settings_secure_version"; + } + + public static final class CMSettings.System extends android.provider.Settings.NameValueTable { + ctor public CMSettings.System(); + method public static float getFloat(android.content.ContentResolver, java.lang.String, float); + method public static float getFloat(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; + method public static int getInt(android.content.ContentResolver, java.lang.String, int); + method public static int getInt(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; + method public static long getLong(android.content.ContentResolver, java.lang.String, long); + method public static long getLong(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; + method public static java.lang.String getString(android.content.ContentResolver, java.lang.String); + method public static android.net.Uri getUriFor(java.lang.String); + method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float); + method public static boolean putInt(android.content.ContentResolver, java.lang.String, int); + method public static boolean putLong(android.content.ContentResolver, java.lang.String, long); + method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String); + field public static final java.lang.String APP_SWITCH_WAKE_SCREEN = "app_switch_wake_screen"; + field public static final java.lang.String ASSIST_WAKE_SCREEN = "assist_wake_screen"; + field public static final java.lang.String BACK_WAKE_SCREEN = "back_wake_screen"; + field public static final java.lang.String BATTERY_LIGHT_ENABLED = "battery_light_enabled"; + field public static final java.lang.String BATTERY_LIGHT_FULL_COLOR = "battery_light_full_color"; + field public static final java.lang.String BATTERY_LIGHT_LOW_COLOR = "battery_light_low_color"; + field public static final java.lang.String BATTERY_LIGHT_MEDIUM_COLOR = "battery_light_medium_color"; + field public static final java.lang.String BATTERY_LIGHT_PULSE = "battery_light_pulse"; + field public static final java.lang.String BLUETOOTH_ACCEPT_ALL_FILES = "bluetooth_accept_all_files"; + field public static final java.lang.String CALL_RECORDING_FORMAT = "call_recording_format"; + field public static final java.lang.String CAMERA_LAUNCH = "camera_launch"; + field public static final java.lang.String CAMERA_SLEEP_ON_RELEASE = "camera_sleep_on_release"; + field public static final java.lang.String CAMERA_WAKE_SCREEN = "camera_wake_screen"; + field public static final android.net.Uri CONTENT_URI; + field public static final java.lang.String DIALER_OPENCNAM_ACCOUNT_SID = "dialer_opencnam_account_sid"; + field public static final java.lang.String DIALER_OPENCNAM_AUTH_TOKEN = "dialer_opencnam_auth_token"; + field public static final java.lang.String DISPLAY_AUTO_CONTRAST = "display_auto_contrast"; + field public static final java.lang.String DISPLAY_AUTO_OUTDOOR_MODE = "display_auto_outdoor_mode"; + field public static final java.lang.String DISPLAY_CABC = "display_low_power"; + field public static final java.lang.String DISPLAY_COLOR_ADJUSTMENT = "display_color_adjustment"; + field public static final java.lang.String DISPLAY_COLOR_ENHANCE = "display_color_enhance"; + field public static final deprecated java.lang.String DISPLAY_LOW_POWER = "display_low_power"; + field public static final java.lang.String DISPLAY_PICTURE_ADJUSTMENT = "display_picture_adjustment"; + field public static final java.lang.String DISPLAY_TEMPERATURE_DAY = "display_temperature_day"; + field public static final java.lang.String DISPLAY_TEMPERATURE_MODE = "display_temperature_mode"; + field public static final java.lang.String DISPLAY_TEMPERATURE_NIGHT = "display_temperature_night"; + field public static final java.lang.String DOUBLE_TAP_SLEEP_GESTURE = "double_tap_sleep_gesture"; + field public static final java.lang.String ENABLE_FORWARD_LOOKUP = "enable_forward_lookup"; + field public static final java.lang.String ENABLE_PEOPLE_LOOKUP = "enable_people_lookup"; + field public static final java.lang.String ENABLE_REVERSE_LOOKUP = "enable_reverse_lookup"; + field public static final java.lang.String FORWARD_LOOKUP_PROVIDER = "forward_lookup_provider"; + field public static final java.lang.String HEADSET_CONNECT_PLAYER = "headset_connect_player"; + field public static final java.lang.String HIGH_TOUCH_SENSITIVITY_ENABLE = "high_touch_sensitivity_enable"; + field public static final java.lang.String HOME_WAKE_SCREEN = "home_wake_screen"; + field public static final java.lang.String INCREASING_RING = "increasing_ring"; + field public static final java.lang.String INCREASING_RING_RAMP_UP_TIME = "increasing_ring_ramp_up_time"; + field public static final java.lang.String INCREASING_RING_START_VOLUME = "increasing_ring_start_vol"; + field public static final java.lang.String KEY_APP_SWITCH_ACTION = "key_app_switch_action"; + field public static final java.lang.String KEY_APP_SWITCH_LONG_PRESS_ACTION = "key_app_switch_long_press_action"; + field public static final java.lang.String KEY_ASSIST_ACTION = "key_assist_action"; + field public static final java.lang.String KEY_ASSIST_LONG_PRESS_ACTION = "key_assist_long_press_action"; + field public static final java.lang.String KEY_HOME_DOUBLE_TAP_ACTION = "key_home_double_tap_action"; + field public static final java.lang.String KEY_HOME_LONG_PRESS_ACTION = "key_home_long_press_action"; + field public static final java.lang.String KEY_MENU_ACTION = "key_menu_action"; + field public static final java.lang.String KEY_MENU_LONG_PRESS_ACTION = "key_menu_long_press_action"; + field public static final java.lang.String LOCKSCREEN_PIN_SCRAMBLE_LAYOUT = "lockscreen_scramble_pin_layout"; + field public static final java.lang.String LOCKSCREEN_ROTATION = "lockscreen_rotation"; + field public static final java.lang.String MENU_WAKE_SCREEN = "menu_wake_screen"; + field public static final java.lang.String NAVBAR_LEFT_IN_LANDSCAPE = "navigation_bar_left"; + field public static final java.lang.String NAVIGATION_BAR_MENU_ARROW_KEYS = "navigation_bar_menu_arrow_keys"; + field public static final java.lang.String NAV_BUTTONS = "nav_buttons"; + field public static final java.lang.String NOTIFICATION_LIGHT_BRIGHTNESS_LEVEL = "notification_light_brightness_level"; + field public static final java.lang.String NOTIFICATION_LIGHT_MULTIPLE_LEDS_ENABLE = "notification_light_multiple_leds_enable"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_COLOR = "notification_light_pulse_call_color"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_LED_OFF = "notification_light_pulse_call_led_off"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_LED_ON = "notification_light_pulse_call_led_on"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CUSTOM_ENABLE = "notification_light_pulse_custom_enable"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CUSTOM_VALUES = "notification_light_pulse_custom_values"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_COLOR = "notification_light_pulse_default_color"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_LED_OFF = "notification_light_pulse_default_led_off"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_LED_ON = "notification_light_pulse_default_led_on"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_COLOR = "notification_light_pulse_vmail_color"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_LED_OFF = "notification_light_pulse_vmail_led_off"; + field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_LED_ON = "notification_light_pulse_vmail_led_on"; + field public static final java.lang.String NOTIFICATION_LIGHT_SCREEN_ON = "notification_light_screen_on_enable"; + field public static final java.lang.String NOTIFICATION_PLAY_QUEUE = "notification_play_queue"; + field public static final java.lang.String PEOPLE_LOOKUP_PROVIDER = "people_lookup_provider"; + field public static final java.lang.String PROXIMITY_ON_WAKE = "proximity_on_wake"; + field public static final java.lang.String QS_SHOW_BRIGHTNESS_SLIDER = "qs_show_brightness_slider"; + field public static final java.lang.String RECENTS_SHOW_SEARCH_BAR = "recents_show_search_bar"; + field public static final java.lang.String REVERSE_LOOKUP_PROVIDER = "reverse_lookup_provider"; + field public static final java.lang.String SHOW_ALARM_ICON = "show_alarm_icon"; + field public static final java.lang.String STATUS_BAR_AM_PM = "status_bar_am_pm"; + field public static final java.lang.String STATUS_BAR_BATTERY_STYLE = "status_bar_battery_style"; + field public static final java.lang.String STATUS_BAR_BRIGHTNESS_CONTROL = "status_bar_brightness_control"; + field public static final java.lang.String STATUS_BAR_CLOCK = "status_bar_clock"; + field public static final java.lang.String STATUS_BAR_IME_SWITCHER = "status_bar_ime_switcher"; + field public static final java.lang.String STATUS_BAR_NOTIF_COUNT = "status_bar_notif_count"; + field public static final java.lang.String STATUS_BAR_QUICK_QS_PULLDOWN = "qs_quick_pulldown"; + field public static final java.lang.String STATUS_BAR_SHOW_BATTERY_PERCENT = "status_bar_show_battery_percent"; + field public static final java.lang.String STATUS_BAR_SHOW_WEATHER = "status_bar_show_weather"; + field public static final java.lang.String SWAP_VOLUME_KEYS_ON_ROTATION = "swap_volume_keys_on_rotation"; + field public static final java.lang.String SYSTEM_PROFILES_ENABLED = "system_profiles_enabled"; + field public static final java.lang.String SYS_PROP_CM_SETTING_VERSION = "sys.cm_settings_system_version"; + field public static final java.lang.String T9_SEARCH_INPUT_LOCALE = "t9_search_input_locale"; + field public static final java.lang.String TOUCHSCREEN_GESTURE_HAPTIC_FEEDBACK = "touchscreen_gesture_haptic_feedback"; + field public static final java.lang.String USE_EDGE_SERVICE_FOR_GESTURES = "edge_service_for_gestures"; + field public static final java.lang.String VOLBTN_MUSIC_CONTROLS = "volbtn_music_controls"; + field public static final java.lang.String VOLUME_ADJUST_SOUNDS_ENABLED = "volume_adjust_sounds_enabled"; + field public static final java.lang.String VOLUME_KEYS_CONTROL_RING_STREAM = "volume_keys_control_ring_stream"; + field public static final java.lang.String VOLUME_WAKE_SCREEN = "volume_wake_screen"; + field public static final java.lang.String ZEN_ALLOW_LIGHTS = "allow_lights"; + field public static final java.lang.String ZEN_PRIORITY_ALLOW_LIGHTS = "zen_priority_allow_lights"; + } + + public final class DataUsageContract { + ctor public DataUsageContract(); + field public static final java.lang.String ACTIVE = "active"; + field public static final android.net.Uri BASE_CONTENT_URI; + field public static final java.lang.String BYTES = "bytes"; + field public static final int COLUMN_OF_ACTIVE = 3; // 0x3 + field public static final int COLUMN_OF_BYTES = 5; // 0x5 + field public static final int COLUMN_OF_ENABLE = 2; // 0x2 + field public static final int COLUMN_OF_EXTRA = 10; // 0xa + field public static final int COLUMN_OF_FAST_AVG = 8; // 0x8 + field public static final int COLUMN_OF_FAST_SAMPLES = 9; // 0x9 + field public static final int COLUMN_OF_ID = 0; // 0x0 + field public static final int COLUMN_OF_LABEL = 4; // 0x4 + field public static final int COLUMN_OF_SLOW_AVG = 6; // 0x6 + field public static final int COLUMN_OF_SLOW_SAMPLES = 7; // 0x7 + field public static final int COLUMN_OF_UID = 1; // 0x1 + field public static final java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.itemdatausage_item"; + field public static final java.lang.String CONTENT_TYPE = "vnd.android.cursor.dirdatausage_item"; + field public static final android.net.Uri CONTENT_URI; + field public static final java.lang.String DATAUSAGE_AUTHORITY = "org.cyanogenmod.providers.datausage"; + field public static final java.lang.String DATAUSAGE_TABLE = "datausage"; + field public static final java.lang.String ENABLE = "enable"; + field public static final java.lang.String EXTRA = "extra"; + field public static final java.lang.String FAST_AVG = "fast_avg"; + field public static final java.lang.String FAST_SAMPLES = "fast_samples"; + field public static final java.lang.String LABEL = "label"; + field public static final java.lang.String[] PROJECTION_ALL; + field public static final java.lang.String SLOW_AVG = "slow_avg"; + field public static final java.lang.String SLOW_SAMPLES = "slow_samples"; + field public static final java.lang.String UID = "uid"; + field public static final java.lang.String _ID = "_id"; + } + + public class ThemesContract { + ctor public ThemesContract(); + field public static final java.lang.String AUTHORITY = "com.cyanogenmod.themes"; + field public static final android.net.Uri AUTHORITY_URI; + } + + public static class ThemesContract.MixnMatchColumns { + ctor public ThemesContract.MixnMatchColumns(); + method public static java.lang.String componentToImageColName(java.lang.String); + method public static java.lang.String componentToMixNMatchKey(java.lang.String); + method public static java.lang.String mixNMatchKeyToComponent(java.lang.String); + field public static final java.lang.String COL_COMPONENT_ID = "component_id"; + field public static final java.lang.String COL_KEY = "key"; + field public static final java.lang.String COL_PREV_VALUE = "previous_value"; + field public static final java.lang.String COL_UPDATE_TIME = "update_time"; + field public static final java.lang.String COL_VALUE = "value"; + field public static final android.net.Uri CONTENT_URI; + field public static final java.lang.String KEY_ALARM = "mixnmatch_alarm"; + field public static final java.lang.String KEY_BOOT_ANIM = "mixnmatch_boot_anim"; + field public static final java.lang.String KEY_FONT = "mixnmatch_font"; + field public static final java.lang.String KEY_HOMESCREEN = "mixnmatch_homescreen"; + field public static final java.lang.String KEY_ICONS = "mixnmatch_icons"; + field public static final java.lang.String KEY_LIVE_LOCK_SCREEN = "mixnmatch_live_lock_screen"; + field public static final java.lang.String KEY_LOCKSCREEN = "mixnmatch_lockscreen"; + field public static final java.lang.String KEY_NAVIGATION_BAR = "mixnmatch_navigation_bar"; + field public static final java.lang.String KEY_NOTIFICATIONS = "mixnmatch_notifications"; + field public static final java.lang.String KEY_OVERLAYS = "mixnmatch_overlays"; + field public static final java.lang.String KEY_RINGTONE = "mixnmatch_ringtone"; + field public static final java.lang.String KEY_STATUS_BAR = "mixnmatch_status_bar"; + field public static final java.lang.String[] ROWS; + } + + public static class ThemesContract.PreviewColumns { + ctor public ThemesContract.PreviewColumns(); + field public static final android.net.Uri APPLIED_URI; + field public static final java.lang.String BOOTANIMATION_THUMBNAIL = "bootanimation_thumbnail"; + field public static final java.lang.String COL_KEY = "key"; + field public static final java.lang.String COL_VALUE = "value"; + field public static final android.net.Uri COMPONENTS_URI; + field public static final java.lang.String COMPONENT_ID = "component_id"; + field public static final android.net.Uri CONTENT_URI; + field public static final java.lang.String ICON_PREVIEW_1 = "icon_preview_1"; + field public static final java.lang.String ICON_PREVIEW_2 = "icon_preview_2"; + field public static final java.lang.String ICON_PREVIEW_3 = "icon_preview_3"; + field public static final java.lang.String LIVE_LOCK_SCREEN_PREVIEW = "live_lock_screen_preview"; + field public static final java.lang.String LIVE_LOCK_SCREEN_THUMBNAIL = "live_lock_screen_thumbnail"; + field public static final java.lang.String LOCK_WALLPAPER_PREVIEW = "lock_wallpaper_preview"; + field public static final java.lang.String LOCK_WALLPAPER_THUMBNAIL = "lock_wallpaper_thumbnail"; + field public static final java.lang.String NAVBAR_BACKGROUND = "navbar_background"; + field public static final java.lang.String NAVBAR_BACK_BUTTON = "navbar_back_button"; + field public static final java.lang.String NAVBAR_HOME_BUTTON = "navbar_home_button"; + field public static final java.lang.String NAVBAR_RECENT_BUTTON = "navbar_recent_button"; + field public static final java.lang.String STATUSBAR_BACKGROUND = "statusbar_background"; + field public static final java.lang.String STATUSBAR_BATTERY_CIRCLE = "statusbar_battery_circle"; + field public static final java.lang.String STATUSBAR_BATTERY_LANDSCAPE = "statusbar_battery_landscape"; + field public static final java.lang.String STATUSBAR_BATTERY_PORTRAIT = "statusbar_battery_portrait"; + field public static final java.lang.String STATUSBAR_BLUETOOTH_ICON = "statusbar_bluetooth_icon"; + field public static final java.lang.String STATUSBAR_CLOCK_TEXT_COLOR = "statusbar_clock_text_color"; + field public static final java.lang.String STATUSBAR_SIGNAL_ICON = "statusbar_signal_icon"; + field public static final java.lang.String STATUSBAR_WIFI_COMBO_MARGIN_END = "wifi_combo_margin_end"; + field public static final java.lang.String STATUSBAR_WIFI_ICON = "statusbar_wifi_icon"; + field public static final java.lang.String STYLE_PREVIEW = "style_preview"; + field public static final java.lang.String STYLE_THUMBNAIL = "style_thumbnail"; + field public static final java.lang.String THEME_ID = "theme_id"; + field public static final java.lang.String[] VALID_KEYS; + field public static final java.lang.String WALLPAPER_FULL = "wallpaper_full"; + field public static final java.lang.String WALLPAPER_PREVIEW = "wallpaper_preview"; + field public static final java.lang.String WALLPAPER_THUMBNAIL = "wallpaper_thumbnail"; + field public static final java.lang.String _ID = "_id"; + } + + public static class ThemesContract.ThemesColumns { + ctor public ThemesContract.ThemesColumns(); + field public static final java.lang.String AUTHOR = "author"; + field public static final java.lang.String BOOT_ANIM_URI = "bootanim_uri"; + field public static final android.net.Uri CONTENT_URI; + field public static final java.lang.String DATE_CREATED = "created"; + field public static final java.lang.String FONT_URI = "font_uri"; + field public static final java.lang.String HOMESCREEN_URI = "homescreen_uri"; + field public static final java.lang.String ICON_URI = "icon_uri"; + field public static final java.lang.String INSTALL_STATE = "install_state"; + field public static final java.lang.String INSTALL_TIME = "install_time"; + field public static final java.lang.String IS_DEFAULT_THEME = "is_default_theme"; + field public static final java.lang.String IS_LEGACY_ICONPACK = "is_legacy_iconpack"; + field public static final java.lang.String IS_LEGACY_THEME = "is_legacy_theme"; + field public static final java.lang.String LAST_UPDATE_TIME = "updateTime"; + field public static final java.lang.String LOCKSCREEN_URI = "lockscreen_uri"; + field public static final java.lang.String MODIFIES_ALARMS = "mods_alarms"; + field public static final java.lang.String MODIFIES_BOOT_ANIM = "mods_bootanim"; + field public static final java.lang.String MODIFIES_FONTS = "mods_fonts"; + field public static final java.lang.String MODIFIES_ICONS = "mods_icons"; + field public static final java.lang.String MODIFIES_LAUNCHER = "mods_homescreen"; + field public static final java.lang.String MODIFIES_LIVE_LOCK_SCREEN = "mods_live_lock_screen"; + field public static final java.lang.String MODIFIES_LOCKSCREEN = "mods_lockscreen"; + field public static final java.lang.String MODIFIES_NAVIGATION_BAR = "mods_navigation_bar"; + field public static final java.lang.String MODIFIES_NOTIFICATIONS = "mods_notifications"; + field public static final java.lang.String MODIFIES_OVERLAYS = "mods_overlays"; + field public static final java.lang.String MODIFIES_RINGTONES = "mods_ringtones"; + field public static final java.lang.String MODIFIES_STATUS_BAR = "mods_status_bar"; + field public static final java.lang.String OVERLAYS_URI = "overlays_uri"; + field public static final java.lang.String PKG_NAME = "pkg_name"; + field public static final java.lang.String PRESENT_AS_THEME = "present_as_theme"; + field public static final java.lang.String PRIMARY_COLOR = "primary_color"; + field public static final java.lang.String SECONDARY_COLOR = "secondary_color"; + field public static final java.lang.String STATUSBAR_URI = "status_uri"; + field public static final java.lang.String STYLE_URI = "style_uri"; + field public static final java.lang.String TARGET_API = "target_api"; + field public static final java.lang.String TITLE = "title"; + field public static final java.lang.String WALLPAPER_URI = "wallpaper_uri"; + field public static final java.lang.String _ID = "_id"; + } + + public static class ThemesContract.ThemesColumns.InstallState { + ctor public ThemesContract.ThemesColumns.InstallState(); + field public static final int INSTALLED = 3; // 0x3 + field public static final int INSTALLING = 1; // 0x1 + field public static final int UNKNOWN = 0; // 0x0 + field public static final int UPDATING = 2; // 0x2 + } + + public class WeatherContract { + ctor public WeatherContract(); + field public static final java.lang.String AUTHORITY = "com.cyanogenmod.weather"; + field public static final android.net.Uri AUTHORITY_URI; + } + + public static class WeatherContract.WeatherColumns { + ctor public WeatherContract.WeatherColumns(); + field public static final android.net.Uri CONTENT_URI; + field public static final android.net.Uri CURRENT_AND_FORECAST_WEATHER_URI; + field public static final java.lang.String CURRENT_CITY = "city"; + field public static final java.lang.String CURRENT_CONDITION = "condition"; + field public static final java.lang.String CURRENT_CONDITION_CODE = "condition_code"; + field public static final java.lang.String CURRENT_HUMIDITY = "humidity"; + field public static final java.lang.String CURRENT_TEMPERATURE = "temperature"; + field public static final java.lang.String CURRENT_TEMPERATURE_UNIT = "temperature_unit"; + field public static final java.lang.String CURRENT_TIMESTAMP = "timestamp"; + field public static final android.net.Uri CURRENT_WEATHER_URI; + field public static final java.lang.String CURRENT_WIND_DIRECTION = "wind_direction"; + field public static final java.lang.String CURRENT_WIND_SPEED = "wind_speed"; + field public static final java.lang.String CURRENT_WIND_SPEED_UNIT = "wind_speed_unit"; + field public static final java.lang.String FORECAST_CONDITION = "forecast_condition"; + field public static final java.lang.String FORECAST_CONDITION_CODE = "forecast_condition_code"; + field public static final java.lang.String FORECAST_HIGH = "forecast_high"; + field public static final java.lang.String FORECAST_LOW = "forecast_low"; + field public static final android.net.Uri FORECAST_WEATHER_URI; + field public static final java.lang.String TODAYS_HIGH_TEMPERATURE = "todays_high"; + field public static final java.lang.String TODAYS_LOW_TEMPERATURE = "todays_low"; + } + + public static final class WeatherContract.WeatherColumns.TempUnit { + field public static final int CELSIUS = 1; // 0x1 + field public static final int FAHRENHEIT = 2; // 0x2 + } + + public static final class WeatherContract.WeatherColumns.WeatherCode { + field public static final int BLOWING_SNOW = 14; // 0xe + field public static final int BLUSTERY = 22; // 0x16 + field public static final int CLEAR_NIGHT = 30; // 0x1e + field public static final int CLOUDY = 25; // 0x19 + field public static final int COLD = 24; // 0x18 + field public static final int DRIZZLE = 9; // 0x9 + field public static final int DUST = 18; // 0x12 + field public static final int FAIR_DAY = 33; // 0x21 + field public static final int FAIR_NIGHT = 32; // 0x20 + field public static final int FOGGY = 19; // 0x13 + field public static final int FREEZING_DRIZZLE = 8; // 0x8 + field public static final int FREEZING_RAIN = 10; // 0xa + field public static final int HAIL = 16; // 0x10 + field public static final int HAZE = 20; // 0x14 + field public static final int HEAVY_SNOW = 39; // 0x27 + field public static final int HOT = 35; // 0x23 + field public static final int HURRICANE = 2; // 0x2 + field public static final int ISOLATED_THUNDERSHOWERS = 44; // 0x2c + field public static final int ISOLATED_THUNDERSTORMS = 36; // 0x24 + field public static final int LIGHT_SNOW_SHOWERS = 13; // 0xd + field public static final int MIXED_RAIN_AND_HAIL = 34; // 0x22 + field public static final int MIXED_RAIN_AND_SLEET = 6; // 0x6 + field public static final int MIXED_RAIN_AND_SNOW = 5; // 0x5 + field public static final int MIXED_SNOW_AND_SLEET = 7; // 0x7 + field public static final int MOSTLY_CLOUDY_DAY = 27; // 0x1b + field public static final int MOSTLY_CLOUDY_NIGHT = 26; // 0x1a + field public static final int NOT_AVAILABLE = 3200; // 0xc80 + field public static final int PARTLY_CLOUDY = 41; // 0x29 + field public static final int PARTLY_CLOUDY_DAY = 29; // 0x1d + field public static final int PARTLY_CLOUDY_NIGHT = 28; // 0x1c + field public static final int SCATTERED_SHOWERS = 38; // 0x26 + field public static final int SCATTERED_SNOW_SHOWERS = 40; // 0x28 + field public static final int SCATTERED_THUNDERSTORMS = 37; // 0x25 + field public static final int SEVERE_THUNDERSTORMS = 3; // 0x3 + field public static final int SHOWERS = 11; // 0xb + field public static final int SLEET = 17; // 0x11 + field public static final int SMOKY = 21; // 0x15 + field public static final int SNOW = 15; // 0xf + field public static final int SNOW_FLURRIES = 12; // 0xc + field public static final int SNOW_SHOWERS = 43; // 0x2b + field public static final int SUNNY = 31; // 0x1f + field public static final int THUNDERSHOWER = 42; // 0x2a + field public static final int THUNDERSTORMS = 4; // 0x4 + field public static final int TORNADO = 0; // 0x0 + field public static final int TROPICAL_STORM = 1; // 0x1 + field public static final int WINDY = 23; // 0x17 + } + + public static final class WeatherContract.WeatherColumns.WindSpeedUnit { + field public static final int KPH = 1; // 0x1 + field public static final int MPH = 2; // 0x2 + } + +} + +package cyanogenmod.themes { + + public final class ThemeChangeRequest implements android.os.Parcelable { + method public int describeContents(); + method public java.lang.String getAlarmThemePackageName(); + method public java.lang.String getBootanimationThemePackageName(); + method public java.lang.String getFontThemePackageName(); + method public java.lang.String getIconsThemePackageName(); + method public java.lang.String getLiveLockScreenThemePackageName(); + method public java.lang.String getLockWallpaperThemePackageName(); + method public java.lang.String getNavBarThemePackageName(); + method public java.lang.String getNotificationThemePackageName(); + method public int getNumChangesRequested(); + method public java.lang.String getOverlayThemePackageName(); + method public final java.util.Map<java.lang.String, java.lang.String> getPerAppOverlays(); + method public cyanogenmod.themes.ThemeChangeRequest.RequestType getReqeustType(); + method public java.lang.String getRingtoneThemePackageName(); + method public java.lang.String getStatusBarThemePackageName(); + method public final java.util.Map<java.lang.String, java.lang.String> getThemeComponentsMap(); + method public long getWallpaperId(); + method public java.lang.String getWallpaperThemePackageName(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.themes.ThemeChangeRequest> CREATOR; + field public static final int DEFAULT_WALLPAPER_ID = -1; // 0xffffffff + } + + public static class ThemeChangeRequest.Builder { + ctor public ThemeChangeRequest.Builder(); + ctor public ThemeChangeRequest.Builder(android.content.res.ThemeConfig); + method public cyanogenmod.themes.ThemeChangeRequest build(); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setAlarm(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setAppOverlay(java.lang.String, java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setBootanimation(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setComponent(java.lang.String, java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setFont(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setIcons(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setLiveLockScreen(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setLockWallpaper(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setNavBar(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setNotification(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setOverlay(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setRequestType(cyanogenmod.themes.ThemeChangeRequest.RequestType); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setRingtone(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setStatusBar(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setWallpaper(java.lang.String); + method public cyanogenmod.themes.ThemeChangeRequest.Builder setWallpaperId(long); + } + + public static final class ThemeChangeRequest.RequestType extends java.lang.Enum { + method public static cyanogenmod.themes.ThemeChangeRequest.RequestType valueOf(java.lang.String); + method public static final cyanogenmod.themes.ThemeChangeRequest.RequestType[] values(); + enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType THEME_REMOVED; + enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType THEME_RESET; + enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType THEME_UPDATED; + enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType USER_REQUEST; + enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType USER_REQUEST_MIXNMATCH; + } + + public class ThemeManager { + method public deprecated void addClient(cyanogenmod.themes.ThemeManager.ThemeChangeListener); + method public void applyDefaultTheme(); + method public static cyanogenmod.themes.ThemeManager getInstance(android.content.Context); + method public cyanogenmod.themes.ThemeChangeRequest.RequestType getLastThemeChangeRequestType(); + method public long getLastThemeChangeTime(); + method public int getProgress(); + method public boolean isThemeApplying(); + method public boolean isThemeBeingProcessed(java.lang.String); + method public deprecated void onClientDestroyed(cyanogenmod.themes.ThemeManager.ThemeChangeListener); + method public deprecated void onClientPaused(cyanogenmod.themes.ThemeManager.ThemeChangeListener); + method public deprecated void onClientResumed(cyanogenmod.themes.ThemeManager.ThemeChangeListener); + method public boolean processThemeResources(java.lang.String); + method public void registerProcessingListener(cyanogenmod.themes.ThemeManager.ThemeProcessingListener); + method public void registerThemeChangeListener(cyanogenmod.themes.ThemeManager.ThemeChangeListener); + method public deprecated void removeClient(cyanogenmod.themes.ThemeManager.ThemeChangeListener); + method public void requestThemeChange(java.lang.String, java.util.List<java.lang.String>); + method public void requestThemeChange(java.lang.String, java.util.List<java.lang.String>, boolean); + method public void requestThemeChange(java.util.Map<java.lang.String, java.lang.String>); + method public void requestThemeChange(java.util.Map<java.lang.String, java.lang.String>, boolean); + method public void requestThemeChange(cyanogenmod.themes.ThemeChangeRequest, boolean); + method public void unregisterProcessingListener(cyanogenmod.themes.ThemeManager.ThemeProcessingListener); + method public void unregisterThemeChangeListener(cyanogenmod.themes.ThemeManager.ThemeChangeListener); + } + + public static abstract interface ThemeManager.ThemeChangeListener { + method public abstract void onFinish(boolean); + method public abstract void onProgress(int); + } + + public static abstract interface ThemeManager.ThemeProcessingListener { + method public abstract void onFinishedProcessing(java.lang.String); + } + +} + +package cyanogenmod.util { + + public class ColorUtils { + ctor public ColorUtils(); + method public static double calculateDeltaE(double, double, double, double, double, double); + method public static float[] convertRGBtoLAB(int); + method public static int dropAlpha(int); + method public static int findPerceptuallyNearestColor(int, int[]); + method public static int findPerceptuallyNearestSolidColor(int); + method public static int generateAlertColorFromDrawable(android.graphics.drawable.Drawable); + method public static com.android.internal.util.cm.palette.Palette.Swatch getDominantSwatch(com.android.internal.util.cm.palette.Palette); + method public static float[] temperatureToRGB(int); + } + +} + +package cyanogenmod.weather { + + public class CMWeatherManager { + method public void cancelRequest(int); + method public java.lang.String getActiveWeatherServiceProviderLabel(); + method public static cyanogenmod.weather.CMWeatherManager getInstance(android.content.Context); + method public int lookupCity(java.lang.String, cyanogenmod.weather.CMWeatherManager.LookupCityRequestListener); + method public void registerWeatherServiceProviderChangeListener(cyanogenmod.weather.CMWeatherManager.WeatherServiceProviderChangeListener); + method public int requestWeatherUpdate(android.location.Location, cyanogenmod.weather.CMWeatherManager.WeatherUpdateRequestListener); + method public int requestWeatherUpdate(cyanogenmod.weather.WeatherLocation, cyanogenmod.weather.CMWeatherManager.WeatherUpdateRequestListener); + method public void unregisterWeatherServiceProviderChangeListener(cyanogenmod.weather.CMWeatherManager.WeatherServiceProviderChangeListener); + } + + public static abstract interface CMWeatherManager.LookupCityRequestListener { + method public abstract void onLookupCityRequestCompleted(int, java.util.List<cyanogenmod.weather.WeatherLocation>); + } + + public static final class CMWeatherManager.RequestStatus { + field public static final int ALREADY_IN_PROGRESS = -3; // 0xfffffffd + field public static final int COMPLETED = 1; // 0x1 + field public static final int FAILED = -1; // 0xffffffff + field public static final int NO_MATCH_FOUND = -4; // 0xfffffffc + field public static final int SUBMITTED_TOO_SOON = -2; // 0xfffffffe + } + + public static abstract interface CMWeatherManager.WeatherServiceProviderChangeListener { + method public abstract void onWeatherServiceProviderChanged(java.lang.String); + } + + public static abstract interface CMWeatherManager.WeatherUpdateRequestListener { + method public abstract void onWeatherRequestCompleted(int, cyanogenmod.weather.WeatherInfo); + } + + public final class RequestInfo implements android.os.Parcelable { + method public int describeContents(); + method public java.lang.String getCityName(); + method public android.location.Location getLocation(); + method public int getRequestType(); + method public int getTemperatureUnit(); + method public cyanogenmod.weather.WeatherLocation getWeatherLocation(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.weather.RequestInfo> CREATOR; + field public static final int TYPE_LOOKUP_CITY_NAME_REQ = 3; // 0x3 + field public static final int TYPE_WEATHER_BY_GEO_LOCATION_REQ = 1; // 0x1 + field public static final int TYPE_WEATHER_BY_WEATHER_LOCATION_REQ = 2; // 0x2 + } + + public final class WeatherInfo implements android.os.Parcelable { + method public int describeContents(); + method public java.lang.String getCity(); + method public int getConditionCode(); + method public java.util.List<cyanogenmod.weather.WeatherInfo.DayForecast> getForecasts(); + method public double getHumidity(); + method public double getTemperature(); + method public int getTemperatureUnit(); + method public long getTimestamp(); + method public double getTodaysHigh(); + method public double getTodaysLow(); + method public double getWindDirection(); + method public double getWindSpeed(); + method public int getWindSpeedUnit(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.weather.WeatherInfo> CREATOR; + } + + public static class WeatherInfo.Builder { + ctor public WeatherInfo.Builder(java.lang.String, double, int); + method public cyanogenmod.weather.WeatherInfo build(); + method public cyanogenmod.weather.WeatherInfo.Builder setForecast(java.util.List<cyanogenmod.weather.WeatherInfo.DayForecast>); + method public cyanogenmod.weather.WeatherInfo.Builder setHumidity(double); + method public cyanogenmod.weather.WeatherInfo.Builder setTimestamp(long); + method public cyanogenmod.weather.WeatherInfo.Builder setTodaysHigh(double); + method public cyanogenmod.weather.WeatherInfo.Builder setTodaysLow(double); + method public cyanogenmod.weather.WeatherInfo.Builder setWeatherCondition(int); + method public cyanogenmod.weather.WeatherInfo.Builder setWind(double, double, int); + } + + public static class WeatherInfo.DayForecast implements android.os.Parcelable { + method public int describeContents(); + method public int getConditionCode(); + method public double getHigh(); + method public double getLow(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.weather.WeatherInfo.DayForecast> CREATOR; + } + + public static class WeatherInfo.DayForecast.Builder { + ctor public WeatherInfo.DayForecast.Builder(int); + method public cyanogenmod.weather.WeatherInfo.DayForecast build(); + method public cyanogenmod.weather.WeatherInfo.DayForecast.Builder setHigh(double); + method public cyanogenmod.weather.WeatherInfo.DayForecast.Builder setLow(double); + } + + public final class WeatherLocation implements android.os.Parcelable { + method public int describeContents(); + method public java.lang.String getCity(); + method public java.lang.String getCityId(); + method public java.lang.String getCountry(); + method public java.lang.String getCountryId(); + method public java.lang.String getPostalCode(); + method public java.lang.String getState(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.weather.WeatherLocation> CREATOR; + } + + public static class WeatherLocation.Builder { + ctor public WeatherLocation.Builder(java.lang.String, java.lang.String); + ctor public WeatherLocation.Builder(java.lang.String); + method public cyanogenmod.weather.WeatherLocation build(); + method public cyanogenmod.weather.WeatherLocation.Builder setCountry(java.lang.String); + method public cyanogenmod.weather.WeatherLocation.Builder setCountryId(java.lang.String); + method public cyanogenmod.weather.WeatherLocation.Builder setPostalCode(java.lang.String); + method public cyanogenmod.weather.WeatherLocation.Builder setState(java.lang.String); + } + +} + +package cyanogenmod.weatherservice { + + public final class ServiceRequest { + method public void complete(cyanogenmod.weatherservice.ServiceRequestResult); + method public void fail(); + method public cyanogenmod.weather.RequestInfo getRequestInfo(); + method public void reject(int); + } + + public final class ServiceRequestResult implements android.os.Parcelable { + method public int describeContents(); + method public java.util.List<cyanogenmod.weather.WeatherLocation> getLocationLookupList(); + method public cyanogenmod.weather.WeatherInfo getWeatherInfo(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator<cyanogenmod.weatherservice.ServiceRequestResult> CREATOR; + } + + public static class ServiceRequestResult.Builder { + ctor public ServiceRequestResult.Builder(); + ctor public ServiceRequestResult.Builder(cyanogenmod.weather.WeatherInfo); + ctor public ServiceRequestResult.Builder(java.util.List<cyanogenmod.weather.WeatherLocation>); + method public cyanogenmod.weatherservice.ServiceRequestResult build(); + } + + public abstract class WeatherProviderService extends android.app.Service { + ctor public WeatherProviderService(); + method protected final void attachBaseContext(android.content.Context); + method public final android.os.IBinder onBind(android.content.Intent); + method protected void onConnected(); + method protected void onDisconnected(); + method protected abstract void onRequestCancelled(cyanogenmod.weatherservice.ServiceRequest); + method protected abstract void onRequestSubmitted(cyanogenmod.weatherservice.ServiceRequest); + field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.weatherservice.WeatherProviderService"; + field public static final java.lang.String SERVICE_META_DATA = "cyanogenmod.weatherservice"; + } + +} + |