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