Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1 | package lineageos.app { |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 2 | |
Steve Kondik | 86cae92 | 2016-07-18 02:36:42 -0700 | [diff] [blame] | 3 | public final class Profile implements java.lang.Comparable android.os.Parcelable { |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 4 | ctor public Profile(java.lang.String); |
| 5 | method public void addSecondaryUuid(java.util.UUID); |
| 6 | method public int compareTo(java.lang.Object); |
| 7 | method public int describeContents(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 8 | method public lineageos.profiles.AirplaneModeSettings getAirplaneMode(); |
| 9 | method public lineageos.profiles.BrightnessSettings getBrightness(); |
| 10 | method public lineageos.profiles.ConnectionSettings getConnectionSettingWithSubId(int); |
| 11 | method public java.util.Collection<lineageos.profiles.ConnectionSettings> getConnectionSettings(); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 12 | method public int getDozeMode(); |
| 13 | method public int getExpandedDesktopMode(); |
| 14 | method public java.lang.String getName(); |
Adnan Begovic | cdf4d0d | 2016-02-10 18:14:35 -0800 | [diff] [blame] | 15 | method public int getNotificationLightMode(); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 16 | method public int getProfileType(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 17 | method public lineageos.profiles.RingModeSettings getRingMode(); |
| 18 | method public lineageos.profiles.LockSettings getScreenLockMode(); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 19 | method public java.util.UUID[] getSecondaryUuids(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 20 | method public lineageos.profiles.ConnectionSettings getSettingsForConnection(int); |
| 21 | method public lineageos.profiles.StreamSettings getSettingsForStream(int); |
| 22 | method public java.util.Collection<lineageos.profiles.StreamSettings> getStreamSettings(); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 23 | method public int getTriggerState(int, java.lang.String); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 24 | method public java.util.ArrayList<lineageos.app.Profile.ProfileTrigger> getTriggersFromType(int); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 25 | method public java.util.UUID getUuid(); |
| 26 | method public boolean isConditionalType(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 27 | method public void setAirplaneMode(lineageos.profiles.AirplaneModeSettings); |
| 28 | method public void setBrightness(lineageos.profiles.BrightnessSettings); |
| 29 | method public void setConnectionSettings(lineageos.profiles.ConnectionSettings); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 30 | method public void setDozeMode(int); |
| 31 | method public void setExpandedDesktopMode(int); |
| 32 | method public void setName(java.lang.String); |
Adnan Begovic | cdf4d0d | 2016-02-10 18:14:35 -0800 | [diff] [blame] | 33 | method public void setNotificationLightMode(int); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 34 | method public void setProfileType(int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 35 | method public void setRingMode(lineageos.profiles.RingModeSettings); |
| 36 | method public void setScreenLockMode(lineageos.profiles.LockSettings); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 37 | method public void setSecondaryUuids(java.util.List<java.util.UUID>); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 38 | method public void setStreamSettings(lineageos.profiles.StreamSettings); |
| 39 | method public void setTrigger(lineageos.app.Profile.ProfileTrigger); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 40 | method public void writeToParcel(android.os.Parcel, int); |
| 41 | } |
| 42 | |
| 43 | public static class Profile.DozeMode { |
| 44 | ctor public Profile.DozeMode(); |
| 45 | field public static final int DEFAULT = 0; // 0x0 |
| 46 | field public static final int DISABLE = 2; // 0x2 |
| 47 | field public static final int ENABLE = 1; // 0x1 |
| 48 | } |
| 49 | |
| 50 | public static class Profile.ExpandedDesktopMode { |
| 51 | ctor public Profile.ExpandedDesktopMode(); |
| 52 | field public static final int DEFAULT = 0; // 0x0 |
| 53 | field public static final int DISABLE = 2; // 0x2 |
| 54 | field public static final int ENABLE = 1; // 0x1 |
| 55 | } |
| 56 | |
| 57 | public static class Profile.LockMode { |
| 58 | ctor public Profile.LockMode(); |
| 59 | field public static final int DEFAULT = 0; // 0x0 |
| 60 | field public static final int DISABLE = 2; // 0x2 |
| 61 | field public static final int INSECURE = 1; // 0x1 |
| 62 | } |
| 63 | |
Adnan Begovic | cdf4d0d | 2016-02-10 18:14:35 -0800 | [diff] [blame] | 64 | public static class Profile.NotificationLightMode { |
| 65 | ctor public Profile.NotificationLightMode(); |
| 66 | field public static final int DEFAULT = 0; // 0x0 |
| 67 | field public static final int DISABLE = 2; // 0x2 |
| 68 | field public static final int ENABLE = 1; // 0x1 |
| 69 | } |
| 70 | |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 71 | public static class Profile.ProfileTrigger implements android.os.Parcelable { |
Adnan Begovic | 8481cec | 2015-08-04 16:45:26 -0700 | [diff] [blame] | 72 | ctor public Profile.ProfileTrigger(int, java.lang.String, int, java.lang.String); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 73 | method public int describeContents(); |
| 74 | method public java.lang.String getId(); |
| 75 | method public java.lang.String getName(); |
| 76 | method public int getState(); |
| 77 | method public int getType(); |
| 78 | method public void writeToParcel(android.os.Parcel, int); |
| 79 | } |
| 80 | |
| 81 | public static class Profile.TriggerState { |
| 82 | ctor public Profile.TriggerState(); |
| 83 | field public static final int DISABLED = 2; // 0x2 |
| 84 | field public static final int ON_A2DP_CONNECT = 3; // 0x3 |
| 85 | field public static final int ON_A2DP_DISCONNECT = 4; // 0x4 |
| 86 | field public static final int ON_CONNECT = 0; // 0x0 |
| 87 | field public static final int ON_DISCONNECT = 1; // 0x1 |
| 88 | } |
| 89 | |
| 90 | public static class Profile.TriggerType { |
| 91 | ctor public Profile.TriggerType(); |
| 92 | field public static final int BLUETOOTH = 1; // 0x1 |
| 93 | field public static final int WIFI = 0; // 0x0 |
| 94 | } |
| 95 | |
| 96 | public static class Profile.Type { |
| 97 | ctor public Profile.Type(); |
| 98 | field public static final int CONDITIONAL = 1; // 0x1 |
| 99 | field public static final int TOGGLE = 0; // 0x0 |
| 100 | } |
| 101 | |
| 102 | public class ProfileManager { |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 103 | method public void addProfile(lineageos.app.Profile); |
| 104 | method public lineageos.app.Profile getActiveProfile(); |
| 105 | method public static lineageos.app.ProfileManager getInstance(android.content.Context); |
| 106 | method public deprecated lineageos.app.Profile getProfile(java.lang.String); |
| 107 | method public lineageos.app.Profile getProfile(java.util.UUID); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 108 | method public java.lang.String[] getProfileNames(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 109 | method public lineageos.app.Profile[] getProfiles(); |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 110 | method public boolean isProfilesEnabled(); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 111 | method public boolean profileExists(java.lang.String); |
| 112 | method public boolean profileExists(java.util.UUID); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 113 | method public void removeProfile(lineageos.app.Profile); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 114 | method public void resetAll(); |
| 115 | method public deprecated void setActiveProfile(java.lang.String); |
| 116 | method public void setActiveProfile(java.util.UUID); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 117 | method public void updateProfile(lineageos.app.Profile); |
| 118 | field public static final java.lang.String ACTION_PROFILE_PICKER = "lineageos.platform.intent.action.PROFILE_PICKER"; |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 119 | field public static final java.lang.String EXTRA_LAST_PROFILE_NAME = "lastName"; |
Roman Birg | 45f57c5 | 2016-03-17 15:29:22 -0700 | [diff] [blame] | 120 | field public static final java.lang.String EXTRA_LAST_PROFILE_UUID = "lastUuid"; |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 121 | field public static final java.lang.String EXTRA_PROFILES_STATE = "profile_state"; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 122 | field public static final java.lang.String EXTRA_PROFILE_DIALOG_THEME = "lineageos.platform.intent.extra.profile.DIALOG_THEME"; |
| 123 | field public static final java.lang.String EXTRA_PROFILE_EXISTING_UUID = "lineageos.platform.extra.profile.EXISTING_UUID"; |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 124 | field public static final java.lang.String EXTRA_PROFILE_NAME = "name"; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 125 | field public static final java.lang.String EXTRA_PROFILE_PICKED_UUID = "lineageos.platform.intent.extra.profile.PICKED_UUID"; |
| 126 | field public static final java.lang.String EXTRA_PROFILE_SHOW_NONE = "lineageos.platform.intent.extra.profile.SHOW_NONE"; |
| 127 | field public static final java.lang.String EXTRA_PROFILE_TITLE = "lineageos.platform.intent.extra.profile.TITLE"; |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 128 | field public static final java.lang.String EXTRA_PROFILE_UUID = "uuid"; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 129 | field public static final java.lang.String INTENT_ACTION_PROFILE_SELECTED = "lineageos.platform.intent.action.PROFILE_SELECTED"; |
| 130 | field public static final java.lang.String INTENT_ACTION_PROFILE_UPDATED = "lineageos.platform.intent.action.PROFILE_UPDATED"; |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 131 | field public static final java.util.UUID NO_PROFILE; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 132 | field public static final java.lang.String PROFILES_STATE_CHANGED_ACTION = "lineageos.platform.app.profiles.PROFILES_STATE_CHANGED"; |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 133 | field public static final int PROFILES_STATE_DISABLED = 0; // 0x0 |
| 134 | field public static final int PROFILES_STATE_ENABLED = 1; // 0x1 |
| 135 | } |
| 136 | |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 137 | } |
| 138 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 139 | package lineageos.content { |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 140 | |
| 141 | public class Intent { |
| 142 | ctor public Intent(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 143 | field public static final java.lang.String ACTION_PROTECTED = "lineageos.intent.action.PACKAGE_PROTECTED"; |
| 144 | field public static final java.lang.String ACTION_PROTECTED_CHANGED = "lineageos.intent.action.PROTECTED_COMPONENT_UPDATE"; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 145 | field public static final java.lang.String EXTRA_PROTECTED_COMPONENTS = "lineageos.intent.extra.PACKAGE_PROTECTED_COMPONENTS"; |
| 146 | field public static final java.lang.String EXTRA_PROTECTED_STATE = "lineageos.intent.extra.PACKAGE_PROTECTED_STATE"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 147 | } |
| 148 | |
| 149 | } |
| 150 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 151 | package lineageos.hardware { |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 152 | |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 153 | public class DisplayMode implements android.os.Parcelable { |
| 154 | ctor public DisplayMode(int, java.lang.String); |
| 155 | method public int describeContents(); |
| 156 | method public void writeToParcel(android.os.Parcel, int); |
| 157 | field public final int id; |
| 158 | field public final java.lang.String name; |
| 159 | } |
| 160 | |
| 161 | public class HSIC implements android.os.Parcelable { |
| 162 | ctor public HSIC(float, float, float, float, float); |
| 163 | method public int describeContents(); |
| 164 | method public java.lang.String flatten(); |
| 165 | method public static lineageos.hardware.HSIC fromFloatArray(float[]); |
| 166 | method public float getContrast(); |
| 167 | method public float getHue(); |
| 168 | method public float getIntensity(); |
| 169 | method public float getSaturation(); |
| 170 | method public float getSaturationThreshold(); |
| 171 | method public float[] toFloatArray(); |
| 172 | method public int[] toRGB(); |
| 173 | method public static lineageos.hardware.HSIC unflattenFrom(java.lang.String) throws java.lang.NumberFormatException; |
| 174 | method public void writeToParcel(android.os.Parcel, int); |
| 175 | } |
| 176 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 177 | public final class LineageHardwareManager { |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 178 | method public boolean get(int); |
Steve Kondik | 86cae92 | 2016-07-18 02:36:42 -0700 | [diff] [blame] | 179 | method public int getColorBalance(); |
| 180 | method public android.util.Range<java.lang.Integer> getColorBalanceRange(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 181 | method public lineageos.hardware.DisplayMode getCurrentDisplayMode(); |
| 182 | method public lineageos.hardware.DisplayMode getDefaultDisplayMode(); |
| 183 | method public lineageos.hardware.HSIC getDefaultPictureAdjustment(); |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 184 | method public int[] getDisplayColorCalibration(); |
| 185 | method public int getDisplayColorCalibrationDefault(); |
| 186 | method public int getDisplayColorCalibrationMax(); |
| 187 | method public int getDisplayColorCalibrationMin(); |
| 188 | method public deprecated int[] getDisplayGammaCalibration(int); |
| 189 | method public deprecated int getDisplayGammaCalibrationMax(); |
| 190 | method public deprecated int getDisplayGammaCalibrationMin(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 191 | method public lineageos.hardware.DisplayMode[] getDisplayModes(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 192 | method public static lineageos.hardware.LineageHardwareManager getInstance(android.content.Context); |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 193 | method public java.lang.String getLtoDestination(); |
| 194 | method public long getLtoDownloadInterval(); |
| 195 | method public java.lang.String getLtoSource(); |
| 196 | method public deprecated int getNumGammaControls(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 197 | method public lineageos.hardware.HSIC getPictureAdjustment(); |
Steve Kondik | 87590f0 | 2016-07-20 11:20:02 -0700 | [diff] [blame] | 198 | method public java.util.List<android.util.Range<java.lang.Float>> getPictureAdjustmentRanges(); |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 199 | method public java.lang.String getSerialNumber(); |
| 200 | method public int getSupportedFeatures(); |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 201 | method public lineageos.hardware.TouchscreenGesture[] getTouchscreenGestures(); |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 202 | method public int getVibratorDefaultIntensity(); |
| 203 | method public int getVibratorIntensity(); |
| 204 | method public int getVibratorMaxIntensity(); |
| 205 | method public int getVibratorMinIntensity(); |
| 206 | method public int getVibratorWarningIntensity(); |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 207 | method public boolean isSunlightEnhancementSelfManaged(); |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 208 | method public boolean isSupported(int); |
| 209 | method public boolean requireAdaptiveBacklightForSunlightEnhancement(); |
| 210 | method public boolean set(int, boolean); |
Steve Kondik | 86cae92 | 2016-07-18 02:36:42 -0700 | [diff] [blame] | 211 | method public boolean setColorBalance(int); |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 212 | method public boolean setDisplayColorCalibration(int[]); |
| 213 | method public deprecated boolean setDisplayGammaCalibration(int, int[]); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 214 | method public boolean setDisplayMode(lineageos.hardware.DisplayMode, boolean); |
| 215 | method public boolean setPictureAdjustment(lineageos.hardware.HSIC); |
| 216 | method public boolean setTouchscreenGestureEnabled(lineageos.hardware.TouchscreenGesture, boolean); |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 217 | method public boolean setVibratorIntensity(int); |
| 218 | field public static final int FEATURE_ADAPTIVE_BACKLIGHT = 1; // 0x1 |
| 219 | field public static final int FEATURE_AUTO_CONTRAST = 4096; // 0x1000 |
Steve Kondik | 86cae92 | 2016-07-18 02:36:42 -0700 | [diff] [blame] | 220 | field public static final int FEATURE_COLOR_BALANCE = 131072; // 0x20000 |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 221 | field public static final int FEATURE_COLOR_ENHANCEMENT = 2; // 0x2 |
| 222 | field public static final int FEATURE_DISPLAY_COLOR_CALIBRATION = 4; // 0x4 |
| 223 | field public static final int FEATURE_DISPLAY_GAMMA_CALIBRATION = 8; // 0x8 |
| 224 | field public static final int FEATURE_DISPLAY_MODES = 8192; // 0x2000 |
| 225 | field public static final int FEATURE_HIGH_TOUCH_SENSITIVITY = 16; // 0x10 |
| 226 | field public static final int FEATURE_KEY_DISABLE = 32; // 0x20 |
| 227 | field public static final int FEATURE_LONG_TERM_ORBITS = 64; // 0x40 |
Steve Kondik | 87590f0 | 2016-07-20 11:20:02 -0700 | [diff] [blame] | 228 | field public static final int FEATURE_PICTURE_ADJUSTMENT = 262144; // 0x40000 |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 229 | field public static final int FEATURE_SERIAL_NUMBER = 128; // 0x80 |
| 230 | field public static final int FEATURE_SUNLIGHT_ENHANCEMENT = 256; // 0x100 |
Zhao Wei Liew | cfaf39e | 2016-11-17 23:36:25 +0800 | [diff] [blame] | 231 | field public static final int FEATURE_TOUCHSCREEN_GESTURES = 524288; // 0x80000 |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 232 | field public static final int FEATURE_TOUCH_HOVERING = 2048; // 0x800 |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 233 | field public static final int FEATURE_VIBRATOR = 1024; // 0x400 |
| 234 | } |
| 235 | |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 236 | public class LiveDisplayConfig implements android.os.Parcelable { |
Steve Kondik | 87590f0 | 2016-07-20 11:20:02 -0700 | [diff] [blame] | 237 | 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>); |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 238 | method public int describeContents(); |
Steve Kondik | 86cae92 | 2016-07-18 02:36:42 -0700 | [diff] [blame] | 239 | method public android.util.Range<java.lang.Integer> getColorBalanceRange(); |
| 240 | method public android.util.Range<java.lang.Integer> getColorTemperatureRange(); |
Steve Kondik | 87590f0 | 2016-07-20 11:20:02 -0700 | [diff] [blame] | 241 | method public android.util.Range<java.lang.Float> getContrastRange(); |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 242 | method public boolean getDefaultAutoContrast(); |
| 243 | method public boolean getDefaultAutoOutdoorMode(); |
| 244 | method public boolean getDefaultCABC(); |
| 245 | method public boolean getDefaultColorEnhancement(); |
| 246 | method public int getDefaultDayTemperature(); |
| 247 | method public int getDefaultMode(); |
| 248 | method public int getDefaultNightTemperature(); |
Steve Kondik | 87590f0 | 2016-07-20 11:20:02 -0700 | [diff] [blame] | 249 | method public android.util.Range<java.lang.Float> getHueRange(); |
| 250 | method public android.util.Range<java.lang.Float> getIntensityRange(); |
| 251 | method public java.util.List<android.util.Range<java.lang.Float>> getPictureAdjustmentRanges(); |
| 252 | method public android.util.Range<java.lang.Float> getSaturationRange(); |
| 253 | method public android.util.Range<java.lang.Float> getSaturationThresholdRange(); |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 254 | method public boolean hasFeature(int); |
Steve Kondik | 0ec60c6 | 2016-04-15 02:38:42 -0700 | [diff] [blame] | 255 | method public boolean hasModeSupport(); |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 256 | method public boolean isAvailable(); |
| 257 | method public void writeToParcel(android.os.Parcel, int); |
| 258 | } |
| 259 | |
| 260 | public class LiveDisplayManager { |
| 261 | method public float[] getColorAdjustment(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 262 | method public lineageos.hardware.LiveDisplayConfig getConfig(); |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 263 | method public int getDayColorTemperature(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 264 | method public lineageos.hardware.HSIC getDefaultPictureAdjustment(); |
| 265 | method public static synchronized lineageos.hardware.LiveDisplayManager getInstance(android.content.Context); |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 266 | method public int getMode(); |
| 267 | method public int getNightColorTemperature(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 268 | method public lineageos.hardware.HSIC getPictureAdjustment(); |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 269 | method public boolean isAutoContrastEnabled(); |
| 270 | method public boolean isAutomaticOutdoorModeEnabled(); |
| 271 | method public boolean isCABCEnabled(); |
| 272 | method public boolean isColorEnhancementEnabled(); |
Joey | 76fc3d3 | 2018-02-22 14:30:42 +0100 | [diff] [blame] | 273 | method public boolean isNightModeEnabled(); |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 274 | method public boolean setAutoContrastEnabled(boolean); |
| 275 | method public boolean setAutomaticOutdoorModeEnabled(boolean); |
| 276 | method public boolean setCABCEnabled(boolean); |
| 277 | method public boolean setColorAdjustment(float[]); |
| 278 | method public boolean setColorEnhancementEnabled(boolean); |
| 279 | method public boolean setDayColorTemperature(int); |
| 280 | method public boolean setMode(int); |
| 281 | method public boolean setNightColorTemperature(int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 282 | method public boolean setPictureAdjustment(lineageos.hardware.HSIC); |
Steve Kondik | 87590f0 | 2016-07-20 11:20:02 -0700 | [diff] [blame] | 283 | field public static final int ADJUSTMENT_CONTRAST = 3; // 0x3 |
| 284 | field public static final int ADJUSTMENT_HUE = 0; // 0x0 |
| 285 | field public static final int ADJUSTMENT_INTENSITY = 2; // 0x2 |
| 286 | field public static final int ADJUSTMENT_SATURATION = 1; // 0x1 |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 287 | field public static final int FEATURE_AUTO_CONTRAST = 11; // 0xb |
| 288 | field public static final int FEATURE_CABC = 10; // 0xa |
| 289 | field public static final int FEATURE_COLOR_ADJUSTMENT = 13; // 0xd |
Steve Kondik | 86cae92 | 2016-07-18 02:36:42 -0700 | [diff] [blame] | 290 | field public static final int FEATURE_COLOR_BALANCE = 16; // 0x10 |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 291 | field public static final int FEATURE_COLOR_ENHANCEMENT = 12; // 0xc |
| 292 | field public static final int FEATURE_DISPLAY_MODES = 15; // 0xf |
| 293 | field public static final int FEATURE_MANAGED_OUTDOOR_MODE = 14; // 0xe |
Steve Kondik | 87590f0 | 2016-07-20 11:20:02 -0700 | [diff] [blame] | 294 | field public static final int FEATURE_PICTURE_ADJUSTMENT = 17; // 0x11 |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 295 | field public static final int MODE_AUTO = 2; // 0x2 |
| 296 | field public static final int MODE_DAY = 4; // 0x4 |
| 297 | field public static final int MODE_NIGHT = 1; // 0x1 |
| 298 | field public static final int MODE_OFF = 0; // 0x0 |
| 299 | field public static final int MODE_OUTDOOR = 3; // 0x3 |
| 300 | } |
| 301 | |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 302 | public class TouchscreenGesture implements android.os.Parcelable { |
| 303 | ctor public TouchscreenGesture(int, java.lang.String, int); |
| 304 | method public int describeContents(); |
| 305 | method public void writeToParcel(android.os.Parcel, int); |
| 306 | field public final int id; |
| 307 | field public final int keycode; |
| 308 | field public final java.lang.String name; |
| 309 | } |
| 310 | |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 311 | } |
| 312 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 313 | package lineageos.os { |
Adnan Begovic | 3f7e428 | 2015-06-09 11:03:37 -0700 | [diff] [blame] | 314 | |
| 315 | public class Build { |
| 316 | ctor public Build(); |
| 317 | method public static java.lang.String getNameForSDKInt(int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 318 | field public static final java.lang.String LINEAGEOS_DISPLAY_VERSION; |
| 319 | field public static final java.lang.String LINEAGEOS_VERSION; |
Adnan Begovic | 3f7e428 | 2015-06-09 11:03:37 -0700 | [diff] [blame] | 320 | field public static final java.lang.String UNKNOWN = "unknown"; |
| 321 | } |
| 322 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 323 | public static class Build.LINEAGE_VERSION { |
| 324 | ctor public Build.LINEAGE_VERSION(); |
Adnan Begovic | 3f7e428 | 2015-06-09 11:03:37 -0700 | [diff] [blame] | 325 | field public static final int SDK_INT; |
| 326 | } |
| 327 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 328 | public static class Build.LINEAGE_VERSION_CODES { |
| 329 | ctor public Build.LINEAGE_VERSION_CODES(); |
Adnan Begovic | 3f7e428 | 2015-06-09 11:03:37 -0700 | [diff] [blame] | 330 | field public static final int APRICOT = 1; // 0x1 |
Adnan Begovic | f9ec3a4 | 2015-07-13 16:46:23 -0700 | [diff] [blame] | 331 | field public static final int BOYSENBERRY = 2; // 0x2 |
Roman Birg | d29499d | 2015-12-23 09:32:13 -0800 | [diff] [blame] | 332 | field public static final int CANTALOUPE = 3; // 0x3 |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 333 | field public static final int DRAGON_FRUIT = 4; // 0x4 |
Adnan Begovic | 1d2351e | 2016-02-09 11:12:38 -0800 | [diff] [blame] | 334 | field public static final int ELDERBERRY = 5; // 0x5 |
Adnan Begovic | 6b879f3 | 2016-04-01 15:39:53 -0700 | [diff] [blame] | 335 | field public static final int FIG = 6; // 0x6 |
Steve Kondik | aac8bdc | 2016-09-04 04:35:09 -0700 | [diff] [blame] | 336 | field public static final int GUAVA = 7; // 0x7 |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 337 | field public static final int HACKBERRY = 8; // 0x8 |
Joey | c0b21ca | 2018-04-03 15:42:18 +0200 | [diff] [blame] | 338 | field public static final int ILAMA = 9; // 0x9 |
Adnan Begovic | 3f7e428 | 2015-06-09 11:03:37 -0700 | [diff] [blame] | 339 | } |
| 340 | |
Adnan Begovic | df4486f | 2016-04-01 10:55:04 -0700 | [diff] [blame] | 341 | public final class Concierge { |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 342 | method public static lineageos.os.Concierge.ParcelInfo prepareParcel(android.os.Parcel); |
| 343 | method public static lineageos.os.Concierge.ParcelInfo receiveParcel(android.os.Parcel); |
Adnan Begovic | df4486f | 2016-04-01 10:55:04 -0700 | [diff] [blame] | 344 | } |
| 345 | |
| 346 | public static final class Concierge.ParcelInfo { |
| 347 | method public void complete(); |
| 348 | method public int getParcelVersion(); |
| 349 | } |
| 350 | |
Adnan Begovic | 3f7e428 | 2015-06-09 11:03:37 -0700 | [diff] [blame] | 351 | } |
| 352 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 353 | package lineageos.platform { |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 354 | |
| 355 | public final class Manifest { |
| 356 | ctor public Manifest(); |
| 357 | } |
| 358 | |
| 359 | public static final class Manifest.permission { |
| 360 | ctor public Manifest.permission(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 361 | field public static final java.lang.String ACCESS_WEATHER_MANAGER = "lineageos.permission.ACCESS_WEATHER_MANAGER"; |
| 362 | field public static final java.lang.String BIND_WEATHER_PROVIDER_SERVICE = "lineageos.permission.BIND_WEATHER_PROVIDER_SERVICE"; |
Joey | 76fc3d3 | 2018-02-22 14:30:42 +0100 | [diff] [blame] | 363 | field public static final java.lang.String CHANGE_STYLE = "lineageos.permission.CHANGE_STYLE"; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 364 | field public static final java.lang.String HARDWARE_ABSTRACTION_ACCESS = "lineageos.permission.HARDWARE_ABSTRACTION_ACCESS"; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 365 | field public static final java.lang.String MANAGE_LIVEDISPLAY = "lineageos.permission.MANAGE_LIVEDISPLAY"; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 366 | field public static final java.lang.String MANAGE_REMOTE_PREFERENCES = "lineageos.permission.MANAGE_REMOTE_PREFERENCES"; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 367 | field public static final java.lang.String MODIFY_PROFILES = "lineageos.permission.MODIFY_PROFILES"; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 368 | field public static final java.lang.String PERFORMANCE_ACCESS = "lineageos.permission.PERFORMANCE_ACCESS"; |
| 369 | field public static final java.lang.String PROTECTED_APP = "lineageos.permission.PROTECTED_APP"; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 370 | field public static final java.lang.String READ_DATAUSAGE = "lineageos.permission.READ_DATAUSAGE"; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 371 | field public static final java.lang.String READ_WEATHER = "lineageos.permission.READ_WEATHER"; |
Joey | c0b21ca | 2018-04-03 15:42:18 +0200 | [diff] [blame] | 372 | field public static final java.lang.String TRUST_INTERFACE = "lineageos.permission.TRUST_INTERFACE"; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 373 | field public static final java.lang.String WRITE_DATAUSAGE = "lineageos.permission.WRITE_DATAUSAGE"; |
| 374 | field public static final java.lang.String WRITE_SECURE_SETTINGS = "lineageos.permission.WRITE_SECURE_SETTINGS"; |
| 375 | field public static final java.lang.String WRITE_SETTINGS = "lineageos.permission.WRITE_SETTINGS"; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 376 | field public static final java.lang.String WRITE_WEATHER = "lineageos.permission.WRITE_WEATHER"; |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 377 | } |
| 378 | |
| 379 | public final class R { |
| 380 | ctor public R(); |
| 381 | } |
| 382 | |
Joey | 76fc3d3 | 2018-02-22 14:30:42 +0100 | [diff] [blame] | 383 | public static final class R.anim { |
| 384 | ctor public R.anim(); |
| 385 | } |
| 386 | |
herriojr | e78ca4d | 2015-09-08 13:59:20 -0700 | [diff] [blame] | 387 | public static final class R.array { |
| 388 | ctor public R.array(); |
| 389 | } |
| 390 | |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 391 | public static final class R.attr { |
| 392 | ctor public R.attr(); |
Steve Kondik | 78079ea | 2016-10-11 08:16:38 -0700 | [diff] [blame] | 393 | field public static final int minSummaryLines = 1057030154; // 0x3f01000a |
| 394 | field public static final int replacesKey = 1057030153; // 0x3f010009 |
| 395 | field public static final int requiresAction = 1057030152; // 0x3f010008 |
Steve Kondik | 2d61e0c | 2016-09-15 05:16:42 -0700 | [diff] [blame] | 396 | field public static final int requiresConfig = 1057030148; // 0x3f010004 |
Sam Mortimer | 3c54d58 | 2017-10-20 17:24:54 -0700 | [diff] [blame] | 397 | field public static final int requiresConfigMask = 1057030155; // 0x3f01000b |
Steve Kondik | 2d61e0c | 2016-09-15 05:16:42 -0700 | [diff] [blame] | 398 | field public static final int requiresFeature = 1057030147; // 0x3f010003 |
Steve Kondik | 5d08519 | 2016-09-25 23:17:49 -0700 | [diff] [blame] | 399 | field public static final int requiresOwner = 1057030150; // 0x3f010006 |
Steve Kondik | 2d61e0c | 2016-09-15 05:16:42 -0700 | [diff] [blame] | 400 | field public static final int requiresPackage = 1057030146; // 0x3f010002 |
| 401 | field public static final int requiresProperty = 1057030149; // 0x3f010005 |
Steve Kondik | 0452eba | 2016-10-07 00:16:11 -0700 | [diff] [blame] | 402 | field public static final int xmlRes = 1057030151; // 0x3f010007 |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 403 | } |
| 404 | |
herriojr | e78ca4d | 2015-09-08 13:59:20 -0700 | [diff] [blame] | 405 | public static final class R.bool { |
| 406 | ctor public R.bool(); |
| 407 | } |
| 408 | |
Joey | 76fc3d3 | 2018-02-22 14:30:42 +0100 | [diff] [blame] | 409 | public static final class R.dimen { |
| 410 | ctor public R.dimen(); |
| 411 | } |
| 412 | |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 413 | public static final class R.drawable { |
| 414 | ctor public R.drawable(); |
| 415 | } |
| 416 | |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 417 | public static final class R.integer { |
| 418 | ctor public R.integer(); |
| 419 | } |
| 420 | |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 421 | public static final class R.string { |
| 422 | ctor public R.string(); |
| 423 | } |
| 424 | |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 425 | public static final class R.xml { |
| 426 | ctor public R.xml(); |
| 427 | } |
| 428 | |
| 429 | } |
| 430 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 431 | package lineageos.power { |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 432 | |
| 433 | public class PerformanceManager { |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 434 | method public lineageos.power.PerformanceProfile getActivePowerProfile(); |
| 435 | method public static lineageos.power.PerformanceManager getInstance(android.content.Context); |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 436 | method public int getNumberOfProfiles(); |
| 437 | method public int getPowerProfile(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 438 | method public lineageos.power.PerformanceProfile getPowerProfile(int); |
| 439 | method public java.util.SortedSet<lineageos.power.PerformanceProfile> getPowerProfiles(); |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 440 | method public boolean setPowerProfile(int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 441 | method public boolean setPowerProfile(lineageos.power.PerformanceProfile); |
| 442 | field public static final java.lang.String POWER_PROFILE_CHANGED = "lineageos.power.PROFILE_CHANGED"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 443 | field public static final int PROFILE_BALANCED = 1; // 0x1 |
| 444 | field public static final int PROFILE_BIAS_PERFORMANCE = 4; // 0x4 |
| 445 | field public static final int PROFILE_BIAS_POWER_SAVE = 3; // 0x3 |
| 446 | field public static final int PROFILE_HIGH_PERFORMANCE = 2; // 0x2 |
| 447 | field public static final int PROFILE_POWER_SAVE = 0; // 0x0 |
| 448 | field public static final java.lang.String TAG = "PerformanceManager"; |
| 449 | } |
| 450 | |
Steve Kondik | cd98e0b | 2016-10-12 04:06:33 -0700 | [diff] [blame] | 451 | public class PerformanceProfile implements java.lang.Comparable android.os.Parcelable { |
Luca Stefani | 38b21a6 | 2018-02-08 16:41:17 +0100 | [diff] [blame] | 452 | ctor public PerformanceProfile(int, float, java.lang.String, java.lang.String); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 453 | method public int compareTo(lineageos.power.PerformanceProfile); |
Steve Kondik | cd98e0b | 2016-10-12 04:06:33 -0700 | [diff] [blame] | 454 | method public int describeContents(); |
| 455 | method public java.lang.String getDescription(); |
| 456 | method public int getId(); |
| 457 | method public java.lang.String getName(); |
| 458 | method public float getWeight(); |
Steve Kondik | cd98e0b | 2016-10-12 04:06:33 -0700 | [diff] [blame] | 459 | method public void writeToParcel(android.os.Parcel, int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 460 | field public static final android.os.Parcelable.Creator<lineageos.power.PerformanceProfile> CREATOR; |
Steve Kondik | cd98e0b | 2016-10-12 04:06:33 -0700 | [diff] [blame] | 461 | } |
| 462 | |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 463 | } |
| 464 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 465 | package lineageos.preference { |
Steve Kondik | 7be730b | 2016-09-08 13:39:43 -0700 | [diff] [blame] | 466 | |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 467 | public class GlobalSettingSwitchPreference extends lineageos.preference.SelfRemovingSwitchPreference { |
| 468 | ctor public GlobalSettingSwitchPreference(android.content.Context, android.util.AttributeSet, int); |
| 469 | ctor public GlobalSettingSwitchPreference(android.content.Context, android.util.AttributeSet); |
| 470 | ctor public GlobalSettingSwitchPreference(android.content.Context); |
| 471 | } |
| 472 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 473 | public class LineageGlobalSettingSwitchPreference extends lineageos.preference.SelfRemovingSwitchPreference { |
| 474 | ctor public LineageGlobalSettingSwitchPreference(android.content.Context, android.util.AttributeSet, int); |
| 475 | ctor public LineageGlobalSettingSwitchPreference(android.content.Context, android.util.AttributeSet); |
| 476 | ctor public LineageGlobalSettingSwitchPreference(android.content.Context); |
Steve Kondik | 7be730b | 2016-09-08 13:39:43 -0700 | [diff] [blame] | 477 | } |
| 478 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 479 | public class LineageSecureSettingListPreference extends lineageos.preference.SelfRemovingListPreference { |
| 480 | ctor public LineageSecureSettingListPreference(android.content.Context, android.util.AttributeSet, int); |
| 481 | ctor public LineageSecureSettingListPreference(android.content.Context, android.util.AttributeSet); |
Steve Kondik | 9faa274 | 2016-09-14 01:37:29 -0700 | [diff] [blame] | 482 | method public int getIntValue(int); |
Steve Kondik | 9faa274 | 2016-09-14 01:37:29 -0700 | [diff] [blame] | 483 | } |
| 484 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 485 | public class LineageSecureSettingSwitchPreference extends lineageos.preference.SelfRemovingSwitchPreference { |
| 486 | ctor public LineageSecureSettingSwitchPreference(android.content.Context, android.util.AttributeSet, int); |
| 487 | ctor public LineageSecureSettingSwitchPreference(android.content.Context, android.util.AttributeSet); |
| 488 | ctor public LineageSecureSettingSwitchPreference(android.content.Context); |
Steve Kondik | 7be730b | 2016-09-08 13:39:43 -0700 | [diff] [blame] | 489 | } |
| 490 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 491 | public class LineageSystemSettingDropDownPreference extends lineageos.preference.SelfRemovingDropDownPreference { |
| 492 | ctor public LineageSystemSettingDropDownPreference(android.content.Context, android.util.AttributeSet, int); |
| 493 | ctor public LineageSystemSettingDropDownPreference(android.content.Context, android.util.AttributeSet); |
Danny Baumann | e01237e | 2016-11-02 13:10:00 +0100 | [diff] [blame] | 494 | method public int getIntValue(int); |
Danny Baumann | e01237e | 2016-11-02 13:10:00 +0100 | [diff] [blame] | 495 | } |
| 496 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 497 | public class LineageSystemSettingListPreference extends lineageos.preference.SelfRemovingListPreference { |
| 498 | ctor public LineageSystemSettingListPreference(android.content.Context, android.util.AttributeSet, int); |
| 499 | ctor public LineageSystemSettingListPreference(android.content.Context, android.util.AttributeSet); |
Steve Kondik | 9faa274 | 2016-09-14 01:37:29 -0700 | [diff] [blame] | 500 | method public int getIntValue(int); |
Steve Kondik | 9faa274 | 2016-09-14 01:37:29 -0700 | [diff] [blame] | 501 | } |
| 502 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 503 | public class LineageSystemSettingSwitchPreference extends lineageos.preference.SelfRemovingSwitchPreference { |
| 504 | ctor public LineageSystemSettingSwitchPreference(android.content.Context, android.util.AttributeSet, int); |
| 505 | ctor public LineageSystemSettingSwitchPreference(android.content.Context, android.util.AttributeSet); |
| 506 | ctor public LineageSystemSettingSwitchPreference(android.content.Context); |
Zhao Wei Liew | 1c5e5e7 | 2016-12-10 15:37:20 +0800 | [diff] [blame] | 507 | } |
| 508 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 509 | public class RemotePreference extends lineageos.preference.SelfRemovingPreference { |
Steve Kondik | 3805419 | 2016-10-14 21:24:54 -0700 | [diff] [blame] | 510 | ctor public RemotePreference(android.content.Context, android.util.AttributeSet, int, int); |
| 511 | ctor public RemotePreference(android.content.Context, android.util.AttributeSet, int); |
| 512 | ctor public RemotePreference(android.content.Context, android.util.AttributeSet); |
| 513 | method public android.content.Intent getReceiverIntent(); |
| 514 | method protected java.lang.String getRemoteKey(android.os.Bundle); |
Steve Kondik | 3805419 | 2016-10-14 21:24:54 -0700 | [diff] [blame] | 515 | method public void onRemoteUpdated(android.os.Bundle); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 516 | field public static final java.lang.String ACTION_REFRESH_PREFERENCE = "lineageos.intent.action.REFRESH_PREFERENCE"; |
| 517 | field public static final java.lang.String ACTION_UPDATE_PREFERENCE = "lineageos.intent.action.UPDATE_PREFERENCE"; |
| 518 | field public static final java.lang.String EXTRA_ENABLED = ":lineage:pref_enabled"; |
| 519 | field public static final java.lang.String EXTRA_KEY = ":lineage:pref_key"; |
| 520 | field public static final java.lang.String EXTRA_SUMMARY = ":lineage:pref_summary"; |
| 521 | field public static final java.lang.String META_REMOTE_KEY = "org.lineageos.settings.summary.key"; |
| 522 | field public static final java.lang.String META_REMOTE_RECEIVER = "org.lineageos.settings.summary.receiver"; |
Steve Kondik | 3805419 | 2016-10-14 21:24:54 -0700 | [diff] [blame] | 523 | field protected final android.content.Context mContext; |
| 524 | } |
| 525 | |
| 526 | public class RemotePreferenceUpdater extends android.content.BroadcastReceiver { |
| 527 | ctor public RemotePreferenceUpdater(); |
| 528 | method protected boolean fillResultExtras(android.content.Context, java.lang.String, android.os.Bundle); |
| 529 | method protected java.lang.String getSummary(android.content.Context, java.lang.String); |
| 530 | method public static void notifyChanged(android.content.Context, java.lang.String); |
| 531 | method public void onReceive(android.content.Context, android.content.Intent); |
| 532 | } |
| 533 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 534 | public class SecureSettingSwitchPreference extends lineageos.preference.SelfRemovingSwitchPreference { |
Steve Kondik | 78079ea | 2016-10-11 08:16:38 -0700 | [diff] [blame] | 535 | ctor public SecureSettingSwitchPreference(android.content.Context, android.util.AttributeSet, int); |
| 536 | ctor public SecureSettingSwitchPreference(android.content.Context, android.util.AttributeSet); |
| 537 | ctor public SecureSettingSwitchPreference(android.content.Context); |
Steve Kondik | 2d61e0c | 2016-09-15 05:16:42 -0700 | [diff] [blame] | 538 | } |
| 539 | |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 540 | public class SelfRemovingDropDownPreference extends android.support.v7.preference.DropDownPreference { |
Danny Baumann | e01237e | 2016-11-02 13:10:00 +0100 | [diff] [blame] | 541 | ctor public SelfRemovingDropDownPreference(android.content.Context, android.util.AttributeSet, int); |
| 542 | ctor public SelfRemovingDropDownPreference(android.content.Context, android.util.AttributeSet); |
| 543 | ctor public SelfRemovingDropDownPreference(android.content.Context); |
| 544 | method public boolean isAvailable(); |
Danny Baumann | e01237e | 2016-11-02 13:10:00 +0100 | [diff] [blame] | 545 | method public void setAvailable(boolean); |
| 546 | } |
| 547 | |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 548 | public class SelfRemovingListPreference extends android.support.v7.preference.ListPreference { |
Steve Kondik | 2d61e0c | 2016-09-15 05:16:42 -0700 | [diff] [blame] | 549 | ctor public SelfRemovingListPreference(android.content.Context, android.util.AttributeSet, int); |
| 550 | ctor public SelfRemovingListPreference(android.content.Context, android.util.AttributeSet); |
| 551 | ctor public SelfRemovingListPreference(android.content.Context); |
Steve Kondik | 78079ea | 2016-10-11 08:16:38 -0700 | [diff] [blame] | 552 | method public boolean isAvailable(); |
Steve Kondik | 78079ea | 2016-10-11 08:16:38 -0700 | [diff] [blame] | 553 | method public void setAvailable(boolean); |
Steve Kondik | 2d61e0c | 2016-09-15 05:16:42 -0700 | [diff] [blame] | 554 | } |
| 555 | |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 556 | public class SelfRemovingPreference extends android.support.v7.preference.Preference { |
Steve Kondik | 78079ea | 2016-10-11 08:16:38 -0700 | [diff] [blame] | 557 | ctor public SelfRemovingPreference(android.content.Context, android.util.AttributeSet, int, int); |
Steve Kondik | 2d61e0c | 2016-09-15 05:16:42 -0700 | [diff] [blame] | 558 | ctor public SelfRemovingPreference(android.content.Context, android.util.AttributeSet, int); |
| 559 | ctor public SelfRemovingPreference(android.content.Context, android.util.AttributeSet); |
| 560 | ctor public SelfRemovingPreference(android.content.Context); |
Steve Kondik | 78079ea | 2016-10-11 08:16:38 -0700 | [diff] [blame] | 561 | method public boolean isAvailable(); |
Steve Kondik | 78079ea | 2016-10-11 08:16:38 -0700 | [diff] [blame] | 562 | method public void setAvailable(boolean); |
Steve Kondik | 2d61e0c | 2016-09-15 05:16:42 -0700 | [diff] [blame] | 563 | } |
| 564 | |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 565 | public class SelfRemovingSwitchPreference extends android.support.v14.preference.SwitchPreference { |
Steve Kondik | 2d61e0c | 2016-09-15 05:16:42 -0700 | [diff] [blame] | 566 | ctor public SelfRemovingSwitchPreference(android.content.Context, android.util.AttributeSet, int); |
| 567 | ctor public SelfRemovingSwitchPreference(android.content.Context, android.util.AttributeSet); |
| 568 | ctor public SelfRemovingSwitchPreference(android.content.Context); |
Steve Kondik | 78079ea | 2016-10-11 08:16:38 -0700 | [diff] [blame] | 569 | method public boolean isAvailable(); |
Steve Kondik | 78079ea | 2016-10-11 08:16:38 -0700 | [diff] [blame] | 570 | method public void setAvailable(boolean); |
Steve Kondik | 2d61e0c | 2016-09-15 05:16:42 -0700 | [diff] [blame] | 571 | } |
| 572 | |
Steve Kondik | 0dae635 | 2016-10-11 08:17:18 -0700 | [diff] [blame] | 573 | public class SettingsHelper { |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 574 | method public static synchronized lineageos.preference.SettingsHelper get(android.content.Context); |
Steve Kondik | 0dae635 | 2016-10-11 08:17:18 -0700 | [diff] [blame] | 575 | method public boolean getBoolean(android.net.Uri, boolean); |
| 576 | method public int getInt(android.net.Uri, int); |
| 577 | method public java.lang.String getString(android.net.Uri); |
| 578 | method public void putBoolean(android.net.Uri, boolean); |
| 579 | method public void putInt(android.net.Uri, int); |
| 580 | method public void putString(android.net.Uri, java.lang.String); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 581 | method public void startWatching(lineageos.preference.SettingsHelper.OnSettingsChangeListener, android.net.Uri...); |
| 582 | method public void stopWatching(lineageos.preference.SettingsHelper.OnSettingsChangeListener); |
Steve Kondik | 0dae635 | 2016-10-11 08:17:18 -0700 | [diff] [blame] | 583 | } |
| 584 | |
| 585 | public static abstract interface SettingsHelper.OnSettingsChangeListener { |
| 586 | method public abstract void onSettingsChanged(android.net.Uri); |
| 587 | } |
| 588 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 589 | public class SystemSettingSwitchPreference extends lineageos.preference.SelfRemovingSwitchPreference { |
Steve Kondik | 7be730b | 2016-09-08 13:39:43 -0700 | [diff] [blame] | 590 | ctor public SystemSettingSwitchPreference(android.content.Context, android.util.AttributeSet, int); |
| 591 | ctor public SystemSettingSwitchPreference(android.content.Context, android.util.AttributeSet); |
| 592 | ctor public SystemSettingSwitchPreference(android.content.Context); |
Steve Kondik | 7be730b | 2016-09-08 13:39:43 -0700 | [diff] [blame] | 593 | } |
| 594 | |
| 595 | } |
| 596 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 597 | package lineageos.profiles { |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 598 | |
| 599 | public final class AirplaneModeSettings implements android.os.Parcelable { |
| 600 | ctor public AirplaneModeSettings(android.os.Parcel); |
| 601 | ctor public AirplaneModeSettings(); |
| 602 | ctor public AirplaneModeSettings(int, boolean); |
| 603 | method public int describeContents(); |
| 604 | method public int getValue(); |
| 605 | method public boolean isOverride(); |
| 606 | method public void setOverride(boolean); |
| 607 | method public void setValue(int); |
| 608 | method public void writeToParcel(android.os.Parcel, int); |
| 609 | } |
| 610 | |
| 611 | public static class AirplaneModeSettings.BooleanState { |
| 612 | ctor public AirplaneModeSettings.BooleanState(); |
| 613 | field public static final int STATE_DISALED = 0; // 0x0 |
| 614 | field public static final int STATE_ENABLED = 1; // 0x1 |
| 615 | } |
| 616 | |
| 617 | public final class BrightnessSettings implements android.os.Parcelable { |
| 618 | ctor public BrightnessSettings(android.os.Parcel); |
| 619 | ctor public BrightnessSettings(); |
| 620 | ctor public BrightnessSettings(int, boolean); |
| 621 | method public int describeContents(); |
| 622 | method public int getValue(); |
| 623 | method public boolean isOverride(); |
| 624 | method public void setOverride(boolean); |
| 625 | method public void setValue(int); |
| 626 | method public void writeToParcel(android.os.Parcel, int); |
| 627 | } |
| 628 | |
| 629 | public final class ConnectionSettings implements android.os.Parcelable { |
| 630 | ctor public ConnectionSettings(android.os.Parcel); |
| 631 | ctor public ConnectionSettings(int); |
| 632 | ctor public ConnectionSettings(int, int, boolean); |
| 633 | method public int describeContents(); |
| 634 | method public int getConnectionId(); |
Roman Birg | c46e0ff | 2016-02-10 18:59:16 -0800 | [diff] [blame] | 635 | method public int getSubId(); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 636 | method public int getValue(); |
| 637 | method public boolean isOverride(); |
| 638 | method public void setOverride(boolean); |
Roman Birg | c46e0ff | 2016-02-10 18:59:16 -0800 | [diff] [blame] | 639 | method public void setSubId(int); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 640 | method public void setValue(int); |
| 641 | method public void writeToParcel(android.os.Parcel, int); |
| 642 | field public static final int PROFILE_CONNECTION_2G3G4G = 9; // 0x9 |
| 643 | field public static final int PROFILE_CONNECTION_BLUETOOTH = 7; // 0x7 |
| 644 | field public static final int PROFILE_CONNECTION_GPS = 4; // 0x4 |
| 645 | field public static final int PROFILE_CONNECTION_MOBILEDATA = 0; // 0x0 |
| 646 | field public static final int PROFILE_CONNECTION_NFC = 8; // 0x8 |
| 647 | field public static final int PROFILE_CONNECTION_SYNC = 5; // 0x5 |
| 648 | field public static final int PROFILE_CONNECTION_WIFI = 1; // 0x1 |
| 649 | field public static final int PROFILE_CONNECTION_WIFIAP = 2; // 0x2 |
Steve Kondik | 6f2edde | 2016-08-29 00:49:38 -0700 | [diff] [blame] | 650 | field public static final deprecated int PROFILE_CONNECTION_WIMAX = 3; // 0x3 |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 651 | } |
| 652 | |
| 653 | public static class ConnectionSettings.BooleanState { |
| 654 | ctor public ConnectionSettings.BooleanState(); |
| 655 | field public static final int STATE_DISALED = 0; // 0x0 |
| 656 | field public static final int STATE_ENABLED = 1; // 0x1 |
| 657 | } |
| 658 | |
Adnan Begovic | 6b7fd5f | 2015-07-31 13:47:25 -0700 | [diff] [blame] | 659 | public final class LockSettings implements android.os.Parcelable { |
| 660 | ctor public LockSettings(android.os.Parcel); |
| 661 | ctor public LockSettings(); |
| 662 | ctor public LockSettings(int); |
| 663 | method public int describeContents(); |
| 664 | method public int getValue(); |
| 665 | method public void setValue(int); |
| 666 | method public void writeToParcel(android.os.Parcel, int); |
| 667 | } |
| 668 | |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 669 | public final class RingModeSettings implements android.os.Parcelable { |
| 670 | ctor public RingModeSettings(android.os.Parcel); |
| 671 | ctor public RingModeSettings(); |
| 672 | ctor public RingModeSettings(java.lang.String, boolean); |
| 673 | method public int describeContents(); |
| 674 | method public java.lang.String getValue(); |
| 675 | method public boolean isOverride(); |
| 676 | method public void setOverride(boolean); |
| 677 | method public void setValue(java.lang.String); |
| 678 | method public void writeToParcel(android.os.Parcel, int); |
| 679 | field public static final java.lang.String RING_MODE_MUTE = "mute"; |
| 680 | field public static final java.lang.String RING_MODE_NORMAL = "normal"; |
| 681 | field public static final java.lang.String RING_MODE_VIBRATE = "vibrate"; |
| 682 | } |
| 683 | |
| 684 | public final class StreamSettings implements android.os.Parcelable { |
| 685 | ctor public StreamSettings(android.os.Parcel); |
| 686 | ctor public StreamSettings(int); |
| 687 | ctor public StreamSettings(int, int, boolean); |
| 688 | method public int describeContents(); |
| 689 | method public int getStreamId(); |
| 690 | method public int getValue(); |
| 691 | method public boolean isOverride(); |
| 692 | method public void setOverride(boolean); |
| 693 | method public void setValue(int); |
| 694 | method public void writeToParcel(android.os.Parcel, int); |
| 695 | } |
| 696 | |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 697 | } |
| 698 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 699 | package lineageos.providers { |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 700 | |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 701 | public final class DataUsageContract { |
| 702 | ctor public DataUsageContract(); |
| 703 | field public static final java.lang.String ACTIVE = "active"; |
| 704 | field public static final android.net.Uri BASE_CONTENT_URI; |
| 705 | field public static final java.lang.String BYTES = "bytes"; |
| 706 | field public static final int COLUMN_OF_ACTIVE = 3; // 0x3 |
| 707 | field public static final int COLUMN_OF_BYTES = 5; // 0x5 |
| 708 | field public static final int COLUMN_OF_ENABLE = 2; // 0x2 |
| 709 | field public static final int COLUMN_OF_EXTRA = 10; // 0xa |
| 710 | field public static final int COLUMN_OF_FAST_AVG = 8; // 0x8 |
| 711 | field public static final int COLUMN_OF_FAST_SAMPLES = 9; // 0x9 |
| 712 | field public static final int COLUMN_OF_ID = 0; // 0x0 |
| 713 | field public static final int COLUMN_OF_LABEL = 4; // 0x4 |
| 714 | field public static final int COLUMN_OF_SLOW_AVG = 6; // 0x6 |
| 715 | field public static final int COLUMN_OF_SLOW_SAMPLES = 7; // 0x7 |
| 716 | field public static final int COLUMN_OF_UID = 1; // 0x1 |
| 717 | field public static final java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.itemdatausage_item"; |
| 718 | field public static final java.lang.String CONTENT_TYPE = "vnd.android.cursor.dirdatausage_item"; |
| 719 | field public static final android.net.Uri CONTENT_URI; |
| 720 | field public static final java.lang.String DATAUSAGE_AUTHORITY = "org.lineageos.providers.datausage"; |
| 721 | field public static final java.lang.String DATAUSAGE_TABLE = "datausage"; |
| 722 | field public static final java.lang.String ENABLE = "enable"; |
| 723 | field public static final java.lang.String EXTRA = "extra"; |
| 724 | field public static final java.lang.String FAST_AVG = "fast_avg"; |
| 725 | field public static final java.lang.String FAST_SAMPLES = "fast_samples"; |
| 726 | field public static final java.lang.String LABEL = "label"; |
| 727 | field public static final java.lang.String[] PROJECTION_ALL; |
| 728 | field public static final java.lang.String SLOW_AVG = "slow_avg"; |
| 729 | field public static final java.lang.String SLOW_SAMPLES = "slow_samples"; |
| 730 | field public static final java.lang.String UID = "uid"; |
| 731 | field public static final java.lang.String _ID = "_id"; |
| 732 | } |
| 733 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 734 | public final class LineageSettings { |
| 735 | ctor public LineageSettings(); |
| 736 | field public static final java.lang.String ACTION_DATA_USAGE = "lineageos.settings.ACTION_DATA_USAGE"; |
| 737 | field public static final java.lang.String ACTION_LIVEDISPLAY_SETTINGS = "lineageos.settings.LIVEDISPLAY_SETTINGS"; |
| 738 | field public static final java.lang.String AUTHORITY = "lineagesettings"; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 739 | } |
| 740 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 741 | public static final class LineageSettings.Global extends android.provider.Settings.NameValueTable { |
| 742 | ctor public LineageSettings.Global(); |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 743 | method public static float getFloat(android.content.ContentResolver, java.lang.String, float); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 744 | method public static float getFloat(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 745 | method public static int getInt(android.content.ContentResolver, java.lang.String, int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 746 | method public static int getInt(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 747 | method public static long getLong(android.content.ContentResolver, java.lang.String, long); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 748 | method public static long getLong(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 749 | method public static java.lang.String getString(android.content.ContentResolver, java.lang.String); |
Roman Birg | d29499d | 2015-12-23 09:32:13 -0800 | [diff] [blame] | 750 | method public static android.net.Uri getUriFor(java.lang.String); |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 751 | method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float); |
| 752 | method public static boolean putInt(android.content.ContentResolver, java.lang.String, int); |
| 753 | method public static boolean putLong(android.content.ContentResolver, java.lang.String, long); |
| 754 | method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String); |
| 755 | field public static final android.net.Uri CONTENT_URI; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 756 | field public static final java.lang.String SYS_PROP_LINEAGE_SETTING_VERSION = "sys.lineage_settings_global_version"; |
Luis Vidal | ed4d063 | 2016-04-12 21:01:39 -0700 | [diff] [blame] | 757 | field public static final java.lang.String WEATHER_TEMPERATURE_UNIT = "weather_temperature_unit"; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 758 | } |
| 759 | |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 760 | public static class LineageSettings.LineageSettingNotFoundException extends android.util.AndroidException { |
| 761 | ctor public LineageSettings.LineageSettingNotFoundException(java.lang.String); |
| 762 | } |
| 763 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 764 | public static final class LineageSettings.Secure extends android.provider.Settings.NameValueTable { |
| 765 | ctor public LineageSettings.Secure(); |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 766 | method public static float getFloat(android.content.ContentResolver, java.lang.String, float); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 767 | method public static float getFloat(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 768 | method public static int getInt(android.content.ContentResolver, java.lang.String, int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 769 | method public static int getInt(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 770 | method public static long getLong(android.content.ContentResolver, java.lang.String, long); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 771 | method public static long getLong(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 772 | method public static java.lang.String getString(android.content.ContentResolver, java.lang.String); |
Roman Birg | d29499d | 2015-12-23 09:32:13 -0800 | [diff] [blame] | 773 | method public static android.net.Uri getUriFor(java.lang.String); |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 774 | method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float); |
| 775 | method public static boolean putInt(android.content.ContentResolver, java.lang.String, int); |
| 776 | method public static boolean putLong(android.content.ContentResolver, java.lang.String, long); |
| 777 | method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String); |
| 778 | field public static final android.net.Uri CONTENT_URI; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 779 | field public static final java.lang.String SYS_PROP_LINEAGE_SETTING_VERSION = "sys.lineage_settings_secure_version"; |
Joey | c0b21ca | 2018-04-03 15:42:18 +0200 | [diff] [blame] | 780 | field public static final java.lang.String TRUST_NOTIFICATIONS = "trust_notifications"; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 781 | } |
| 782 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 783 | public static final class LineageSettings.System extends android.provider.Settings.NameValueTable { |
| 784 | ctor public LineageSettings.System(); |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 785 | method public static float getFloat(android.content.ContentResolver, java.lang.String, float); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 786 | method public static float getFloat(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 787 | method public static int getInt(android.content.ContentResolver, java.lang.String, int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 788 | method public static int getInt(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 789 | method public static long getLong(android.content.ContentResolver, java.lang.String, long); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 790 | method public static long getLong(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 791 | method public static java.lang.String getString(android.content.ContentResolver, java.lang.String); |
Roman Birg | d29499d | 2015-12-23 09:32:13 -0800 | [diff] [blame] | 792 | method public static android.net.Uri getUriFor(java.lang.String); |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 793 | method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float); |
| 794 | method public static boolean putInt(android.content.ContentResolver, java.lang.String, int); |
| 795 | method public static boolean putLong(android.content.ContentResolver, java.lang.String, long); |
| 796 | method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String); |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 797 | field public static final java.lang.String APP_SWITCH_WAKE_SCREEN = "app_switch_wake_screen"; |
| 798 | field public static final java.lang.String ASSIST_WAKE_SCREEN = "assist_wake_screen"; |
| 799 | field public static final java.lang.String BACK_WAKE_SCREEN = "back_wake_screen"; |
Sam Mortimer | c7a8ed5 | 2017-11-21 23:26:59 -0800 | [diff] [blame] | 800 | field public static final java.lang.String BATTERY_LIGHT_BRIGHTNESS_LEVEL = "battery_light_brightness_level"; |
| 801 | field public static final java.lang.String BATTERY_LIGHT_BRIGHTNESS_LEVEL_ZEN = "battery_light_brightness_level_zen"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 802 | field public static final java.lang.String BATTERY_LIGHT_ENABLED = "battery_light_enabled"; |
| 803 | field public static final java.lang.String BATTERY_LIGHT_FULL_COLOR = "battery_light_full_color"; |
| 804 | field public static final java.lang.String BATTERY_LIGHT_LOW_COLOR = "battery_light_low_color"; |
| 805 | field public static final java.lang.String BATTERY_LIGHT_MEDIUM_COLOR = "battery_light_medium_color"; |
| 806 | field public static final java.lang.String BATTERY_LIGHT_PULSE = "battery_light_pulse"; |
Joey | 76fc3d3 | 2018-02-22 14:30:42 +0100 | [diff] [blame] | 807 | field public static final java.lang.String BERRY_CURRENT_ACCENT = "berry_current_accent"; |
| 808 | field public static final java.lang.String BERRY_GLOBAL_STYLE = "berry_global_style"; |
Joey | 5a72b57 | 2018-03-06 17:46:14 +0100 | [diff] [blame] | 809 | field public static final java.lang.String BERRY_MANAGED_BY_APP = "berry_managed_by_app"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 810 | field public static final java.lang.String BLUETOOTH_ACCEPT_ALL_FILES = "bluetooth_accept_all_files"; |
Joey | 5a72b57 | 2018-03-06 17:46:14 +0100 | [diff] [blame] | 811 | field public static final java.lang.String BUTTON_BACKLIGHT_ONLY_WHEN_PRESSED = "button_backlight_only_when_pressed"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 812 | field public static final java.lang.String CALL_RECORDING_FORMAT = "call_recording_format"; |
| 813 | field public static final java.lang.String CAMERA_LAUNCH = "camera_launch"; |
| 814 | field public static final java.lang.String CAMERA_SLEEP_ON_RELEASE = "camera_sleep_on_release"; |
| 815 | field public static final java.lang.String CAMERA_WAKE_SCREEN = "camera_wake_screen"; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 816 | field public static final android.net.Uri CONTENT_URI; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 817 | field public static final java.lang.String DIALER_OPENCNAM_ACCOUNT_SID = "dialer_opencnam_account_sid"; |
| 818 | field public static final java.lang.String DIALER_OPENCNAM_AUTH_TOKEN = "dialer_opencnam_auth_token"; |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 819 | field public static final java.lang.String DISPLAY_AUTO_CONTRAST = "display_auto_contrast"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 820 | field public static final java.lang.String DISPLAY_AUTO_OUTDOOR_MODE = "display_auto_outdoor_mode"; |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 821 | field public static final java.lang.String DISPLAY_CABC = "display_low_power"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 822 | field public static final java.lang.String DISPLAY_COLOR_ADJUSTMENT = "display_color_adjustment"; |
| 823 | field public static final java.lang.String DISPLAY_COLOR_ENHANCE = "display_color_enhance"; |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 824 | field public static final deprecated java.lang.String DISPLAY_LOW_POWER = "display_low_power"; |
Steve Kondik | 87590f0 | 2016-07-20 11:20:02 -0700 | [diff] [blame] | 825 | field public static final java.lang.String DISPLAY_PICTURE_ADJUSTMENT = "display_picture_adjustment"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 826 | field public static final java.lang.String DISPLAY_TEMPERATURE_DAY = "display_temperature_day"; |
| 827 | field public static final java.lang.String DISPLAY_TEMPERATURE_MODE = "display_temperature_mode"; |
| 828 | field public static final java.lang.String DISPLAY_TEMPERATURE_NIGHT = "display_temperature_night"; |
| 829 | field public static final java.lang.String DOUBLE_TAP_SLEEP_GESTURE = "double_tap_sleep_gesture"; |
| 830 | field public static final java.lang.String ENABLE_FORWARD_LOOKUP = "enable_forward_lookup"; |
| 831 | field public static final java.lang.String ENABLE_PEOPLE_LOOKUP = "enable_people_lookup"; |
| 832 | field public static final java.lang.String ENABLE_REVERSE_LOOKUP = "enable_reverse_lookup"; |
| 833 | field public static final java.lang.String FORWARD_LOOKUP_PROVIDER = "forward_lookup_provider"; |
Michael Bestas | fcadbf5 | 2016-02-10 01:39:17 +0200 | [diff] [blame] | 834 | field public static final java.lang.String HEADSET_CONNECT_PLAYER = "headset_connect_player"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 835 | field public static final java.lang.String HIGH_TOUCH_SENSITIVITY_ENABLE = "high_touch_sensitivity_enable"; |
| 836 | field public static final java.lang.String HOME_WAKE_SCREEN = "home_wake_screen"; |
| 837 | field public static final java.lang.String INCREASING_RING = "increasing_ring"; |
| 838 | field public static final java.lang.String INCREASING_RING_RAMP_UP_TIME = "increasing_ring_ramp_up_time"; |
| 839 | field public static final java.lang.String INCREASING_RING_START_VOLUME = "increasing_ring_start_vol"; |
| 840 | field public static final java.lang.String KEY_APP_SWITCH_ACTION = "key_app_switch_action"; |
| 841 | field public static final java.lang.String KEY_APP_SWITCH_LONG_PRESS_ACTION = "key_app_switch_long_press_action"; |
| 842 | field public static final java.lang.String KEY_ASSIST_ACTION = "key_assist_action"; |
| 843 | field public static final java.lang.String KEY_ASSIST_LONG_PRESS_ACTION = "key_assist_long_press_action"; |
| 844 | field public static final java.lang.String KEY_HOME_DOUBLE_TAP_ACTION = "key_home_double_tap_action"; |
| 845 | field public static final java.lang.String KEY_HOME_LONG_PRESS_ACTION = "key_home_long_press_action"; |
| 846 | field public static final java.lang.String KEY_MENU_ACTION = "key_menu_action"; |
| 847 | field public static final java.lang.String KEY_MENU_LONG_PRESS_ACTION = "key_menu_long_press_action"; |
| 848 | field public static final java.lang.String LOCKSCREEN_PIN_SCRAMBLE_LAYOUT = "lockscreen_scramble_pin_layout"; |
Steve Kondik | 86cae92 | 2016-07-18 02:36:42 -0700 | [diff] [blame] | 849 | field public static final java.lang.String LOCKSCREEN_ROTATION = "lockscreen_rotation"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 850 | field public static final java.lang.String MENU_WAKE_SCREEN = "menu_wake_screen"; |
| 851 | field public static final java.lang.String NAVBAR_LEFT_IN_LANDSCAPE = "navigation_bar_left"; |
| 852 | field public static final java.lang.String NAVIGATION_BAR_MENU_ARROW_KEYS = "navigation_bar_menu_arrow_keys"; |
| 853 | field public static final java.lang.String NAV_BUTTONS = "nav_buttons"; |
| 854 | field public static final java.lang.String NOTIFICATION_LIGHT_BRIGHTNESS_LEVEL = "notification_light_brightness_level"; |
Sam Mortimer | c7a8ed5 | 2017-11-21 23:26:59 -0800 | [diff] [blame] | 855 | field public static final java.lang.String NOTIFICATION_LIGHT_BRIGHTNESS_LEVEL_ZEN = "notification_light_brightness_level_zen"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 856 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_COLOR = "notification_light_pulse_call_color"; |
| 857 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_LED_OFF = "notification_light_pulse_call_led_off"; |
| 858 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_LED_ON = "notification_light_pulse_call_led_on"; |
| 859 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CUSTOM_ENABLE = "notification_light_pulse_custom_enable"; |
| 860 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CUSTOM_VALUES = "notification_light_pulse_custom_values"; |
| 861 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_COLOR = "notification_light_pulse_default_color"; |
| 862 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_LED_OFF = "notification_light_pulse_default_led_off"; |
| 863 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_LED_ON = "notification_light_pulse_default_led_on"; |
| 864 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_COLOR = "notification_light_pulse_vmail_color"; |
| 865 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_LED_OFF = "notification_light_pulse_vmail_led_off"; |
| 866 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_LED_ON = "notification_light_pulse_vmail_led_on"; |
| 867 | field public static final java.lang.String NOTIFICATION_LIGHT_SCREEN_ON = "notification_light_screen_on_enable"; |
| 868 | field public static final java.lang.String NOTIFICATION_PLAY_QUEUE = "notification_play_queue"; |
| 869 | field public static final java.lang.String PEOPLE_LOOKUP_PROVIDER = "people_lookup_provider"; |
| 870 | field public static final java.lang.String PROXIMITY_ON_WAKE = "proximity_on_wake"; |
| 871 | field public static final java.lang.String QS_SHOW_BRIGHTNESS_SLIDER = "qs_show_brightness_slider"; |
| 872 | field public static final java.lang.String RECENTS_SHOW_SEARCH_BAR = "recents_show_search_bar"; |
| 873 | field public static final java.lang.String REVERSE_LOOKUP_PROVIDER = "reverse_lookup_provider"; |
| 874 | field public static final java.lang.String SHOW_ALARM_ICON = "show_alarm_icon"; |
| 875 | field public static final java.lang.String STATUS_BAR_AM_PM = "status_bar_am_pm"; |
| 876 | field public static final java.lang.String STATUS_BAR_BATTERY_STYLE = "status_bar_battery_style"; |
| 877 | field public static final java.lang.String STATUS_BAR_BRIGHTNESS_CONTROL = "status_bar_brightness_control"; |
| 878 | field public static final java.lang.String STATUS_BAR_CLOCK = "status_bar_clock"; |
| 879 | field public static final java.lang.String STATUS_BAR_IME_SWITCHER = "status_bar_ime_switcher"; |
| 880 | field public static final java.lang.String STATUS_BAR_NOTIF_COUNT = "status_bar_notif_count"; |
| 881 | field public static final java.lang.String STATUS_BAR_QUICK_QS_PULLDOWN = "qs_quick_pulldown"; |
| 882 | field public static final java.lang.String STATUS_BAR_SHOW_BATTERY_PERCENT = "status_bar_show_battery_percent"; |
| 883 | field public static final java.lang.String STATUS_BAR_SHOW_WEATHER = "status_bar_show_weather"; |
Zhao Wei Liew | 33fc2d4 | 2016-10-09 09:43:44 +0800 | [diff] [blame] | 884 | field public static final java.lang.String STYLUS_ICON_ENABLED = "stylus_icon_enabled"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 885 | field public static final java.lang.String SWAP_VOLUME_KEYS_ON_ROTATION = "swap_volume_keys_on_rotation"; |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 886 | field public static final java.lang.String SYSTEMUI_BURNIN_PROTECTION = "systemui_burnin_protection"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 887 | field public static final java.lang.String SYSTEM_PROFILES_ENABLED = "system_profiles_enabled"; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 888 | field public static final java.lang.String SYS_PROP_LINEAGE_SETTING_VERSION = "sys.lineage_settings_system_version"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 889 | field public static final java.lang.String T9_SEARCH_INPUT_LOCALE = "t9_search_input_locale"; |
Zhao Wei Liew | 9526453 | 2016-11-19 23:24:44 +0800 | [diff] [blame] | 890 | field public static final java.lang.String TORCH_LONG_PRESS_POWER_GESTURE = "torch_long_press_power_gesture"; |
Sam Mortimer | bdea7f5 | 2016-12-24 13:06:05 -0800 | [diff] [blame] | 891 | field public static final java.lang.String TORCH_LONG_PRESS_POWER_TIMEOUT = "torch_long_press_power_timeout"; |
Michael Bestas | 73fafc1 | 2016-02-20 01:01:34 +0200 | [diff] [blame] | 892 | field public static final java.lang.String TOUCHSCREEN_GESTURE_HAPTIC_FEEDBACK = "touchscreen_gesture_haptic_feedback"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 893 | field public static final java.lang.String USE_EDGE_SERVICE_FOR_GESTURES = "edge_service_for_gestures"; |
| 894 | field public static final java.lang.String VOLBTN_MUSIC_CONTROLS = "volbtn_music_controls"; |
| 895 | field public static final java.lang.String VOLUME_ADJUST_SOUNDS_ENABLED = "volume_adjust_sounds_enabled"; |
Zhao Wei Liew | 77b34c3 | 2016-11-20 21:55:10 +0800 | [diff] [blame] | 896 | field public static final java.lang.String VOLUME_ANSWER_CALL = "volume_answer_call"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 897 | field public static final java.lang.String VOLUME_KEYS_CONTROL_RING_STREAM = "volume_keys_control_ring_stream"; |
| 898 | field public static final java.lang.String VOLUME_WAKE_SCREEN = "volume_wake_screen"; |
niks255 | 783463c | 2016-01-29 12:13:00 +0300 | [diff] [blame] | 899 | field public static final java.lang.String ZEN_ALLOW_LIGHTS = "allow_lights"; |
| 900 | field public static final java.lang.String ZEN_PRIORITY_ALLOW_LIGHTS = "zen_priority_allow_lights"; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 901 | } |
| 902 | |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 903 | public class WeatherContract { |
| 904 | ctor public WeatherContract(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 905 | field public static final java.lang.String AUTHORITY = "org.lineageos.weather"; |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 906 | field public static final android.net.Uri AUTHORITY_URI; |
| 907 | } |
| 908 | |
| 909 | public static class WeatherContract.WeatherColumns { |
| 910 | ctor public WeatherContract.WeatherColumns(); |
| 911 | field public static final android.net.Uri CONTENT_URI; |
| 912 | field public static final android.net.Uri CURRENT_AND_FORECAST_WEATHER_URI; |
| 913 | field public static final java.lang.String CURRENT_CITY = "city"; |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 914 | field public static final java.lang.String CURRENT_CONDITION = "condition"; |
| 915 | field public static final java.lang.String CURRENT_CONDITION_CODE = "condition_code"; |
| 916 | field public static final java.lang.String CURRENT_HUMIDITY = "humidity"; |
| 917 | field public static final java.lang.String CURRENT_TEMPERATURE = "temperature"; |
| 918 | field public static final java.lang.String CURRENT_TEMPERATURE_UNIT = "temperature_unit"; |
| 919 | field public static final java.lang.String CURRENT_TIMESTAMP = "timestamp"; |
| 920 | field public static final android.net.Uri CURRENT_WEATHER_URI; |
| 921 | field public static final java.lang.String CURRENT_WIND_DIRECTION = "wind_direction"; |
| 922 | field public static final java.lang.String CURRENT_WIND_SPEED = "wind_speed"; |
| 923 | field public static final java.lang.String CURRENT_WIND_SPEED_UNIT = "wind_speed_unit"; |
| 924 | field public static final java.lang.String FORECAST_CONDITION = "forecast_condition"; |
| 925 | field public static final java.lang.String FORECAST_CONDITION_CODE = "forecast_condition_code"; |
| 926 | field public static final java.lang.String FORECAST_HIGH = "forecast_high"; |
| 927 | field public static final java.lang.String FORECAST_LOW = "forecast_low"; |
| 928 | field public static final android.net.Uri FORECAST_WEATHER_URI; |
Luis Vidal | baaf4a1 | 2016-04-06 18:54:27 -0700 | [diff] [blame] | 929 | field public static final java.lang.String TODAYS_HIGH_TEMPERATURE = "todays_high"; |
| 930 | field public static final java.lang.String TODAYS_LOW_TEMPERATURE = "todays_low"; |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 931 | } |
| 932 | |
| 933 | public static final class WeatherContract.WeatherColumns.TempUnit { |
| 934 | field public static final int CELSIUS = 1; // 0x1 |
| 935 | field public static final int FAHRENHEIT = 2; // 0x2 |
| 936 | } |
| 937 | |
| 938 | public static final class WeatherContract.WeatherColumns.WeatherCode { |
| 939 | field public static final int BLOWING_SNOW = 14; // 0xe |
| 940 | field public static final int BLUSTERY = 22; // 0x16 |
| 941 | field public static final int CLEAR_NIGHT = 30; // 0x1e |
| 942 | field public static final int CLOUDY = 25; // 0x19 |
| 943 | field public static final int COLD = 24; // 0x18 |
| 944 | field public static final int DRIZZLE = 9; // 0x9 |
| 945 | field public static final int DUST = 18; // 0x12 |
| 946 | field public static final int FAIR_DAY = 33; // 0x21 |
| 947 | field public static final int FAIR_NIGHT = 32; // 0x20 |
| 948 | field public static final int FOGGY = 19; // 0x13 |
| 949 | field public static final int FREEZING_DRIZZLE = 8; // 0x8 |
| 950 | field public static final int FREEZING_RAIN = 10; // 0xa |
| 951 | field public static final int HAIL = 16; // 0x10 |
| 952 | field public static final int HAZE = 20; // 0x14 |
| 953 | field public static final int HEAVY_SNOW = 39; // 0x27 |
| 954 | field public static final int HOT = 35; // 0x23 |
| 955 | field public static final int HURRICANE = 2; // 0x2 |
| 956 | field public static final int ISOLATED_THUNDERSHOWERS = 44; // 0x2c |
| 957 | field public static final int ISOLATED_THUNDERSTORMS = 36; // 0x24 |
| 958 | field public static final int LIGHT_SNOW_SHOWERS = 13; // 0xd |
| 959 | field public static final int MIXED_RAIN_AND_HAIL = 34; // 0x22 |
| 960 | field public static final int MIXED_RAIN_AND_SLEET = 6; // 0x6 |
| 961 | field public static final int MIXED_RAIN_AND_SNOW = 5; // 0x5 |
| 962 | field public static final int MIXED_SNOW_AND_SLEET = 7; // 0x7 |
| 963 | field public static final int MOSTLY_CLOUDY_DAY = 27; // 0x1b |
| 964 | field public static final int MOSTLY_CLOUDY_NIGHT = 26; // 0x1a |
| 965 | field public static final int NOT_AVAILABLE = 3200; // 0xc80 |
| 966 | field public static final int PARTLY_CLOUDY = 41; // 0x29 |
| 967 | field public static final int PARTLY_CLOUDY_DAY = 29; // 0x1d |
| 968 | field public static final int PARTLY_CLOUDY_NIGHT = 28; // 0x1c |
| 969 | field public static final int SCATTERED_SHOWERS = 38; // 0x26 |
| 970 | field public static final int SCATTERED_SNOW_SHOWERS = 40; // 0x28 |
| 971 | field public static final int SCATTERED_THUNDERSTORMS = 37; // 0x25 |
| 972 | field public static final int SEVERE_THUNDERSTORMS = 3; // 0x3 |
| 973 | field public static final int SHOWERS = 11; // 0xb |
| 974 | field public static final int SLEET = 17; // 0x11 |
| 975 | field public static final int SMOKY = 21; // 0x15 |
| 976 | field public static final int SNOW = 15; // 0xf |
| 977 | field public static final int SNOW_FLURRIES = 12; // 0xc |
| 978 | field public static final int SNOW_SHOWERS = 43; // 0x2b |
| 979 | field public static final int SUNNY = 31; // 0x1f |
| 980 | field public static final int THUNDERSHOWER = 42; // 0x2a |
| 981 | field public static final int THUNDERSTORMS = 4; // 0x4 |
| 982 | field public static final int TORNADO = 0; // 0x0 |
| 983 | field public static final int TROPICAL_STORM = 1; // 0x1 |
| 984 | field public static final int WINDY = 23; // 0x17 |
| 985 | } |
| 986 | |
| 987 | public static final class WeatherContract.WeatherColumns.WindSpeedUnit { |
| 988 | field public static final int KPH = 1; // 0x1 |
| 989 | field public static final int MPH = 2; // 0x2 |
| 990 | } |
| 991 | |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 992 | } |
| 993 | |
Joey | 76fc3d3 | 2018-02-22 14:30:42 +0100 | [diff] [blame] | 994 | package lineageos.style { |
| 995 | |
| 996 | public class StyleInterface { |
Joey | 5a72b57 | 2018-03-06 17:46:14 +0100 | [diff] [blame] | 997 | method public java.lang.String getAccent(); |
| 998 | method public int getGlobalStyle(); |
Joey | 76fc3d3 | 2018-02-22 14:30:42 +0100 | [diff] [blame] | 999 | method public static lineageos.style.StyleInterface getInstance(android.content.Context); |
| 1000 | method public lineageos.style.Suggestion getSuggestion(android.graphics.Bitmap, int[]); |
Joey | 5a72b57 | 2018-03-06 17:46:14 +0100 | [diff] [blame] | 1001 | method public java.util.List<java.lang.String> getTrustedAccents(); |
Joey | 76fc3d3 | 2018-02-22 14:30:42 +0100 | [diff] [blame] | 1002 | method public boolean setAccent(java.lang.String); |
Joey | 5a72b57 | 2018-03-06 17:46:14 +0100 | [diff] [blame] | 1003 | method public boolean setGlobalStyle(int, java.lang.String); |
Joey | 76fc3d3 | 2018-02-22 14:30:42 +0100 | [diff] [blame] | 1004 | field public static final java.lang.String ACCENT_DEFAULT = "lineageos"; |
| 1005 | field public static final java.lang.String CHANGE_STYLE_SETTINGS_PERMISSION = "lineageos.permission.CHANGE_STYLE"; |
| 1006 | field public static final int STYLE_GLOBAL_AUTO_DAYTIME = 1; // 0x1 |
| 1007 | field public static final int STYLE_GLOBAL_AUTO_WALLPAPER = 0; // 0x0 |
| 1008 | field public static final int STYLE_GLOBAL_DARK = 3; // 0x3 |
| 1009 | field public static final int STYLE_GLOBAL_LIGHT = 2; // 0x2 |
| 1010 | } |
| 1011 | |
| 1012 | public class Suggestion implements android.os.Parcelable { |
| 1013 | ctor public Suggestion(int, int); |
| 1014 | method public int describeContents(); |
| 1015 | method public void writeToParcel(android.os.Parcel, int); |
| 1016 | field public final int globalStyle; |
| 1017 | field public final int selectedAccent; |
| 1018 | } |
| 1019 | |
| 1020 | } |
| 1021 | |
Joey | c0b21ca | 2018-04-03 15:42:18 +0200 | [diff] [blame] | 1022 | package lineageos.trust { |
| 1023 | |
| 1024 | public class TrustInterface { |
| 1025 | method public static lineageos.trust.TrustInterface getInstance(android.content.Context); |
| 1026 | method public int getLevelForFeature(int); |
| 1027 | method public boolean postNotificationForFeature(int); |
| 1028 | method public boolean removeNotificationForFeature(int); |
| 1029 | field public static final int ERROR_UNDEFINED = -1; // 0xffffffff |
| 1030 | field public static final int TRUST_FEATURE_ENCRYPTION = 4; // 0x4 |
Tobias Tefke | fa05f27 | 2018-06-14 12:04:36 +0200 | [diff] [blame] | 1031 | field public static final int TRUST_FEATURE_KEYS = 5; // 0x5 |
Joey | c0b21ca | 2018-04-03 15:42:18 +0200 | [diff] [blame] | 1032 | field public static final int TRUST_FEATURE_LEVEL_BAD = 2; // 0x2 |
| 1033 | field public static final int TRUST_FEATURE_LEVEL_GOOD = 0; // 0x0 |
| 1034 | field public static final int TRUST_FEATURE_LEVEL_POOR = 1; // 0x1 |
| 1035 | field public static final int TRUST_FEATURE_PLATFORM_SECURITY_PATCH = 2; // 0x2 |
| 1036 | field public static final int TRUST_FEATURE_ROOT = 1; // 0x1 |
| 1037 | field public static final int TRUST_FEATURE_SELINUX = 0; // 0x0 |
| 1038 | field public static final int TRUST_FEATURE_VENDOR_SECURITY_PATCH = 3; // 0x3 |
| 1039 | field public static final java.lang.String TRUST_INTERFACE_PERMISSION = "lineageos.permission.TRUST_INTERFACE"; |
| 1040 | } |
| 1041 | |
| 1042 | } |
| 1043 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1044 | package lineageos.util { |
Steve Kondik | 567b430 | 2016-02-27 12:04:03 +0100 | [diff] [blame] | 1045 | |
| 1046 | public class ColorUtils { |
| 1047 | ctor public ColorUtils(); |
| 1048 | method public static double calculateDeltaE(double, double, double, double, double, double); |
| 1049 | method public static float[] convertRGBtoLAB(int); |
| 1050 | method public static int dropAlpha(int); |
| 1051 | method public static int findPerceptuallyNearestColor(int, int[]); |
| 1052 | method public static int findPerceptuallyNearestSolidColor(int); |
| 1053 | method public static int generateAlertColorFromDrawable(android.graphics.drawable.Drawable); |
Steve Kondik | 987ecb3 | 2016-08-29 00:27:00 -0700 | [diff] [blame] | 1054 | method public static lineageos.util.palette.Palette.Swatch getDominantSwatch(lineageos.util.palette.Palette); |
Steve Kondik | 567b430 | 2016-02-27 12:04:03 +0100 | [diff] [blame] | 1055 | method public static float[] temperatureToRGB(int); |
| 1056 | } |
| 1057 | |
| 1058 | } |
| 1059 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1060 | package lineageos.weather { |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1061 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1062 | public class LineageWeatherManager { |
Luis Vidal | ad0d8c5 | 2016-04-12 18:24:27 -0700 | [diff] [blame] | 1063 | method public void cancelRequest(int); |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1064 | method public java.lang.String getActiveWeatherServiceProviderLabel(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1065 | method public static lineageos.weather.LineageWeatherManager getInstance(android.content.Context); |
| 1066 | method public int lookupCity(java.lang.String, lineageos.weather.LineageWeatherManager.LookupCityRequestListener); |
| 1067 | method public void registerWeatherServiceProviderChangeListener(lineageos.weather.LineageWeatherManager.WeatherServiceProviderChangeListener); |
| 1068 | method public int requestWeatherUpdate(android.location.Location, lineageos.weather.LineageWeatherManager.WeatherUpdateRequestListener); |
| 1069 | method public int requestWeatherUpdate(lineageos.weather.WeatherLocation, lineageos.weather.LineageWeatherManager.WeatherUpdateRequestListener); |
| 1070 | method public void unregisterWeatherServiceProviderChangeListener(lineageos.weather.LineageWeatherManager.WeatherServiceProviderChangeListener); |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1071 | } |
| 1072 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1073 | public static abstract interface LineageWeatherManager.LookupCityRequestListener { |
| 1074 | method public abstract void onLookupCityRequestCompleted(int, java.util.List<lineageos.weather.WeatherLocation>); |
Luis Vidal | fe1812f | 2016-04-13 01:08:11 -0700 | [diff] [blame] | 1075 | } |
| 1076 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1077 | public static final class LineageWeatherManager.RequestStatus { |
Luis Vidal | fe1812f | 2016-04-13 01:08:11 -0700 | [diff] [blame] | 1078 | field public static final int ALREADY_IN_PROGRESS = -3; // 0xfffffffd |
| 1079 | field public static final int COMPLETED = 1; // 0x1 |
| 1080 | field public static final int FAILED = -1; // 0xffffffff |
| 1081 | field public static final int NO_MATCH_FOUND = -4; // 0xfffffffc |
| 1082 | field public static final int SUBMITTED_TOO_SOON = -2; // 0xfffffffe |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1083 | } |
| 1084 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1085 | public static abstract interface LineageWeatherManager.WeatherServiceProviderChangeListener { |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1086 | method public abstract void onWeatherServiceProviderChanged(java.lang.String); |
| 1087 | } |
| 1088 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1089 | public static abstract interface LineageWeatherManager.WeatherUpdateRequestListener { |
| 1090 | method public abstract void onWeatherRequestCompleted(int, lineageos.weather.WeatherInfo); |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1091 | } |
| 1092 | |
| 1093 | public final class RequestInfo implements android.os.Parcelable { |
| 1094 | method public int describeContents(); |
| 1095 | method public java.lang.String getCityName(); |
| 1096 | method public android.location.Location getLocation(); |
| 1097 | method public int getRequestType(); |
| 1098 | method public int getTemperatureUnit(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1099 | method public lineageos.weather.WeatherLocation getWeatherLocation(); |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1100 | method public void writeToParcel(android.os.Parcel, int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1101 | field public static final android.os.Parcelable.Creator<lineageos.weather.RequestInfo> CREATOR; |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1102 | field public static final int TYPE_LOOKUP_CITY_NAME_REQ = 3; // 0x3 |
Luis Vidal | 34bf486 | 2016-04-08 13:19:48 -0700 | [diff] [blame] | 1103 | field public static final int TYPE_WEATHER_BY_GEO_LOCATION_REQ = 1; // 0x1 |
| 1104 | field public static final int TYPE_WEATHER_BY_WEATHER_LOCATION_REQ = 2; // 0x2 |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1105 | } |
| 1106 | |
| 1107 | public final class WeatherInfo implements android.os.Parcelable { |
| 1108 | method public int describeContents(); |
| 1109 | method public java.lang.String getCity(); |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1110 | method public int getConditionCode(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1111 | method public java.util.List<lineageos.weather.WeatherInfo.DayForecast> getForecasts(); |
Luis Vidal | baaf4a1 | 2016-04-06 18:54:27 -0700 | [diff] [blame] | 1112 | method public double getHumidity(); |
| 1113 | method public double getTemperature(); |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1114 | method public int getTemperatureUnit(); |
| 1115 | method public long getTimestamp(); |
Luis Vidal | baaf4a1 | 2016-04-06 18:54:27 -0700 | [diff] [blame] | 1116 | method public double getTodaysHigh(); |
| 1117 | method public double getTodaysLow(); |
| 1118 | method public double getWindDirection(); |
| 1119 | method public double getWindSpeed(); |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1120 | method public int getWindSpeedUnit(); |
| 1121 | method public void writeToParcel(android.os.Parcel, int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1122 | field public static final android.os.Parcelable.Creator<lineageos.weather.WeatherInfo> CREATOR; |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1123 | } |
| 1124 | |
| 1125 | public static class WeatherInfo.Builder { |
Luis Vidal | baaf4a1 | 2016-04-06 18:54:27 -0700 | [diff] [blame] | 1126 | ctor public WeatherInfo.Builder(java.lang.String, double, int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1127 | method public lineageos.weather.WeatherInfo build(); |
| 1128 | method public lineageos.weather.WeatherInfo.Builder setForecast(java.util.List<lineageos.weather.WeatherInfo.DayForecast>); |
| 1129 | method public lineageos.weather.WeatherInfo.Builder setHumidity(double); |
| 1130 | method public lineageos.weather.WeatherInfo.Builder setTimestamp(long); |
| 1131 | method public lineageos.weather.WeatherInfo.Builder setTodaysHigh(double); |
| 1132 | method public lineageos.weather.WeatherInfo.Builder setTodaysLow(double); |
| 1133 | method public lineageos.weather.WeatherInfo.Builder setWeatherCondition(int); |
| 1134 | method public lineageos.weather.WeatherInfo.Builder setWind(double, double, int); |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1135 | } |
| 1136 | |
| 1137 | public static class WeatherInfo.DayForecast implements android.os.Parcelable { |
| 1138 | method public int describeContents(); |
| 1139 | method public int getConditionCode(); |
Luis Vidal | baaf4a1 | 2016-04-06 18:54:27 -0700 | [diff] [blame] | 1140 | method public double getHigh(); |
| 1141 | method public double getLow(); |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1142 | method public void writeToParcel(android.os.Parcel, int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1143 | field public static final android.os.Parcelable.Creator<lineageos.weather.WeatherInfo.DayForecast> CREATOR; |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1144 | } |
| 1145 | |
| 1146 | public static class WeatherInfo.DayForecast.Builder { |
Luis Vidal | baaf4a1 | 2016-04-06 18:54:27 -0700 | [diff] [blame] | 1147 | ctor public WeatherInfo.DayForecast.Builder(int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1148 | method public lineageos.weather.WeatherInfo.DayForecast build(); |
| 1149 | method public lineageos.weather.WeatherInfo.DayForecast.Builder setHigh(double); |
| 1150 | method public lineageos.weather.WeatherInfo.DayForecast.Builder setLow(double); |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1151 | } |
| 1152 | |
| 1153 | public final class WeatherLocation implements android.os.Parcelable { |
| 1154 | method public int describeContents(); |
| 1155 | method public java.lang.String getCity(); |
| 1156 | method public java.lang.String getCityId(); |
| 1157 | method public java.lang.String getCountry(); |
| 1158 | method public java.lang.String getCountryId(); |
| 1159 | method public java.lang.String getPostalCode(); |
Luis Vidal | 06d5c89 | 2016-04-06 18:07:31 -0700 | [diff] [blame] | 1160 | method public java.lang.String getState(); |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1161 | method public void writeToParcel(android.os.Parcel, int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1162 | field public static final android.os.Parcelable.Creator<lineageos.weather.WeatherLocation> CREATOR; |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1163 | } |
| 1164 | |
| 1165 | public static class WeatherLocation.Builder { |
| 1166 | ctor public WeatherLocation.Builder(java.lang.String, java.lang.String); |
Luis Vidal | ad0d8c5 | 2016-04-12 18:24:27 -0700 | [diff] [blame] | 1167 | ctor public WeatherLocation.Builder(java.lang.String); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1168 | method public lineageos.weather.WeatherLocation build(); |
| 1169 | method public lineageos.weather.WeatherLocation.Builder setCountry(java.lang.String); |
| 1170 | method public lineageos.weather.WeatherLocation.Builder setCountryId(java.lang.String); |
| 1171 | method public lineageos.weather.WeatherLocation.Builder setPostalCode(java.lang.String); |
| 1172 | method public lineageos.weather.WeatherLocation.Builder setState(java.lang.String); |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1173 | } |
| 1174 | |
| 1175 | } |
| 1176 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1177 | package lineageos.weatherservice { |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1178 | |
| 1179 | public final class ServiceRequest { |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1180 | method public void complete(lineageos.weatherservice.ServiceRequestResult); |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1181 | method public void fail(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1182 | method public lineageos.weather.RequestInfo getRequestInfo(); |
Luis Vidal | fe1812f | 2016-04-13 01:08:11 -0700 | [diff] [blame] | 1183 | method public void reject(int); |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1184 | } |
| 1185 | |
| 1186 | public final class ServiceRequestResult implements android.os.Parcelable { |
| 1187 | method public int describeContents(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1188 | method public java.util.List<lineageos.weather.WeatherLocation> getLocationLookupList(); |
| 1189 | method public lineageos.weather.WeatherInfo getWeatherInfo(); |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1190 | method public void writeToParcel(android.os.Parcel, int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1191 | field public static final android.os.Parcelable.Creator<lineageos.weatherservice.ServiceRequestResult> CREATOR; |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1192 | } |
| 1193 | |
| 1194 | public static class ServiceRequestResult.Builder { |
| 1195 | ctor public ServiceRequestResult.Builder(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1196 | ctor public ServiceRequestResult.Builder(lineageos.weather.WeatherInfo); |
| 1197 | ctor public ServiceRequestResult.Builder(java.util.List<lineageos.weather.WeatherLocation>); |
| 1198 | method public lineageos.weatherservice.ServiceRequestResult build(); |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1199 | } |
| 1200 | |
| 1201 | public abstract class WeatherProviderService extends android.app.Service { |
| 1202 | ctor public WeatherProviderService(); |
| 1203 | method protected final void attachBaseContext(android.content.Context); |
| 1204 | method public final android.os.IBinder onBind(android.content.Intent); |
| 1205 | method protected void onConnected(); |
| 1206 | method protected void onDisconnected(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1207 | method protected abstract void onRequestCancelled(lineageos.weatherservice.ServiceRequest); |
| 1208 | method protected abstract void onRequestSubmitted(lineageos.weatherservice.ServiceRequest); |
| 1209 | field public static final java.lang.String SERVICE_INTERFACE = "lineageos.weatherservice.WeatherProviderService"; |
| 1210 | field public static final java.lang.String SERVICE_META_DATA = "lineageos.weatherservice"; |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1211 | } |
| 1212 | |
| 1213 | } |
| 1214 | |