replicant-vendor_cmsdk/api/cm_current.txt

710 lines
38 KiB
Plaintext
Raw Normal View History

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 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.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 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 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 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 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 java.util.Collection<cyanogenmod.profiles.ConnectionSettings> getConnectionSettings();
method public int getDozeMode();
method public int getExpandedDesktopMode();
method public java.lang.String getName();
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 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.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 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 = "uuid";
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.hardware {
public final class CMHardwareManager {
method public boolean deletePersistentObject(java.lang.String);
method public boolean get(int);
method public cyanogenmod.hardware.DisplayMode getCurrentDisplayMode();
method public cyanogenmod.hardware.DisplayMode getDefaultDisplayMode();
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 java.lang.String getSerialNumber();
method public int getSupportedFeatures();
method public int getThermalState();
method public int getVibratorDefaultIntensity();
method public int getVibratorIntensity();
method public int getVibratorMaxIntensity();
method public int getVibratorMinIntensity();
method public int getVibratorWarningIntensity();
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 setDisplayColorCalibration(int[]);
method public deprecated boolean setDisplayGammaCalibration(int, int[]);
method public boolean setDisplayMode(cyanogenmod.hardware.DisplayMode, boolean);
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_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_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_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 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 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 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
}
}
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 HARDWARE_ABSTRACTION_ACCESS = "cyanogenmod.permission.HARDWARE_ABSTRACTION_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";
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 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_MSIM_PHONE_STATE = "cyanogenmod.permission.READ_MSIM_PHONE_STATE";
field public static final java.lang.String WRITE_ALARMS = "cyanogenmod.permission.WRITE_ALARMS";
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";
}
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.string {
ctor public R.string();
}
public static final class R.xml {
ctor public R.xml();
}
}
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 getValue();
method public boolean isOverride();
method public void setOverride(boolean);
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 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";
}
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 NAME_THEME_CONFIG = "name_theme_config";
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 android.net.Uri CONTENT_URI;
field public static final java.lang.String SYS_PROP_CM_SETTING_VERSION = "sys.cm_settings_system_version";
}
}