blob: 56531718e22cac87abf7a9ca4d1de8d2317fa91e [file] [log] [blame]
Sam Mortimer542742b2017-09-18 19:44:11 -07001package lineageos.app {
Adnan Begovic273f2db2015-05-28 19:47:47 -07002
Steve Kondik86cae922016-07-18 02:36:42 -07003 public final class Profile implements java.lang.Comparable android.os.Parcelable {
Adnan Begoviceddb89c2015-07-13 14:00:20 -07004 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 Mortimer542742b2017-09-18 19:44:11 -07008 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 Begoviceddb89c2015-07-13 14:00:20 -070012 method public int getDozeMode();
13 method public int getExpandedDesktopMode();
14 method public java.lang.String getName();
Adnan Begoviccdf4d0d2016-02-10 18:14:35 -080015 method public int getNotificationLightMode();
Adnan Begoviceddb89c2015-07-13 14:00:20 -070016 method public int getProfileType();
Sam Mortimer542742b2017-09-18 19:44:11 -070017 method public lineageos.profiles.RingModeSettings getRingMode();
18 method public lineageos.profiles.LockSettings getScreenLockMode();
Adnan Begoviceddb89c2015-07-13 14:00:20 -070019 method public java.util.UUID[] getSecondaryUuids();
Sam Mortimer542742b2017-09-18 19:44:11 -070020 method public lineageos.profiles.ConnectionSettings getSettingsForConnection(int);
21 method public lineageos.profiles.StreamSettings getSettingsForStream(int);
22 method public java.util.Collection<lineageos.profiles.StreamSettings> getStreamSettings();
Adnan Begoviceddb89c2015-07-13 14:00:20 -070023 method public int getTriggerState(int, java.lang.String);
Sam Mortimer542742b2017-09-18 19:44:11 -070024 method public java.util.ArrayList<lineageos.app.Profile.ProfileTrigger> getTriggersFromType(int);
Adnan Begoviceddb89c2015-07-13 14:00:20 -070025 method public java.util.UUID getUuid();
26 method public boolean isConditionalType();
Sam Mortimer542742b2017-09-18 19:44:11 -070027 method public void setAirplaneMode(lineageos.profiles.AirplaneModeSettings);
28 method public void setBrightness(lineageos.profiles.BrightnessSettings);
29 method public void setConnectionSettings(lineageos.profiles.ConnectionSettings);
Adnan Begoviceddb89c2015-07-13 14:00:20 -070030 method public void setDozeMode(int);
31 method public void setExpandedDesktopMode(int);
32 method public void setName(java.lang.String);
Adnan Begoviccdf4d0d2016-02-10 18:14:35 -080033 method public void setNotificationLightMode(int);
Adnan Begoviceddb89c2015-07-13 14:00:20 -070034 method public void setProfileType(int);
Sam Mortimer542742b2017-09-18 19:44:11 -070035 method public void setRingMode(lineageos.profiles.RingModeSettings);
36 method public void setScreenLockMode(lineageos.profiles.LockSettings);
Adnan Begoviceddb89c2015-07-13 14:00:20 -070037 method public void setSecondaryUuids(java.util.List<java.util.UUID>);
Sam Mortimer542742b2017-09-18 19:44:11 -070038 method public void setStreamSettings(lineageos.profiles.StreamSettings);
39 method public void setTrigger(lineageos.app.Profile.ProfileTrigger);
Adnan Begoviceddb89c2015-07-13 14:00:20 -070040 method public void writeToParcel(android.os.Parcel, int);
41 }
42
43 public static class Profile.DozeMode {
44 ctor public Profile.DozeMode();
45 field public static final int DEFAULT = 0; // 0x0
46 field public static final int DISABLE = 2; // 0x2
47 field public static final int ENABLE = 1; // 0x1
48 }
49
50 public static class Profile.ExpandedDesktopMode {
51 ctor public Profile.ExpandedDesktopMode();
52 field public static final int DEFAULT = 0; // 0x0
53 field public static final int DISABLE = 2; // 0x2
54 field public static final int ENABLE = 1; // 0x1
55 }
56
57 public static class Profile.LockMode {
58 ctor public Profile.LockMode();
59 field public static final int DEFAULT = 0; // 0x0
60 field public static final int DISABLE = 2; // 0x2
61 field public static final int INSECURE = 1; // 0x1
62 }
63
Adnan Begoviccdf4d0d2016-02-10 18:14:35 -080064 public static class Profile.NotificationLightMode {
65 ctor public Profile.NotificationLightMode();
66 field public static final int DEFAULT = 0; // 0x0
67 field public static final int DISABLE = 2; // 0x2
68 field public static final int ENABLE = 1; // 0x1
69 }
70
Adnan Begoviceddb89c2015-07-13 14:00:20 -070071 public static class Profile.ProfileTrigger implements android.os.Parcelable {
Adnan Begovic8481cec2015-08-04 16:45:26 -070072 ctor public Profile.ProfileTrigger(int, java.lang.String, int, java.lang.String);
Adnan Begoviceddb89c2015-07-13 14:00:20 -070073 method public int describeContents();
74 method public java.lang.String getId();
75 method public java.lang.String getName();
76 method public int getState();
77 method public int getType();
78 method public void writeToParcel(android.os.Parcel, int);
79 }
80
81 public static class Profile.TriggerState {
82 ctor public Profile.TriggerState();
83 field public static final int DISABLED = 2; // 0x2
84 field public static final int ON_A2DP_CONNECT = 3; // 0x3
85 field public static final int ON_A2DP_DISCONNECT = 4; // 0x4
86 field public static final int ON_CONNECT = 0; // 0x0
87 field public static final int ON_DISCONNECT = 1; // 0x1
88 }
89
90 public static class Profile.TriggerType {
91 ctor public Profile.TriggerType();
92 field public static final int BLUETOOTH = 1; // 0x1
93 field public static final int WIFI = 0; // 0x0
94 }
95
96 public static class Profile.Type {
97 ctor public Profile.Type();
98 field public static final int CONDITIONAL = 1; // 0x1
99 field public static final int TOGGLE = 0; // 0x0
100 }
101
102 public class ProfileManager {
Sam Mortimer542742b2017-09-18 19:44:11 -0700103 method public void addProfile(lineageos.app.Profile);
104 method public lineageos.app.Profile getActiveProfile();
105 method public static lineageos.app.ProfileManager getInstance(android.content.Context);
106 method public deprecated lineageos.app.Profile getProfile(java.lang.String);
107 method public lineageos.app.Profile getProfile(java.util.UUID);
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700108 method public java.lang.String[] getProfileNames();
Sam Mortimer542742b2017-09-18 19:44:11 -0700109 method public lineageos.app.Profile[] getProfiles();
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800110 method public boolean isProfilesEnabled();
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700111 method public boolean profileExists(java.lang.String);
112 method public boolean profileExists(java.util.UUID);
Sam Mortimer542742b2017-09-18 19:44:11 -0700113 method public void removeProfile(lineageos.app.Profile);
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700114 method public void resetAll();
115 method public deprecated void setActiveProfile(java.lang.String);
116 method public void setActiveProfile(java.util.UUID);
Sam Mortimer542742b2017-09-18 19:44:11 -0700117 method public void updateProfile(lineageos.app.Profile);
118 field public static final java.lang.String ACTION_PROFILE_PICKER = "lineageos.platform.intent.action.PROFILE_PICKER";
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700119 field public static final java.lang.String EXTRA_LAST_PROFILE_NAME = "lastName";
Roman Birg45f57c52016-03-17 15:29:22 -0700120 field public static final java.lang.String EXTRA_LAST_PROFILE_UUID = "lastUuid";
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700121 field public static final java.lang.String EXTRA_PROFILES_STATE = "profile_state";
Sam Mortimer542742b2017-09-18 19:44:11 -0700122 field public static final java.lang.String EXTRA_PROFILE_DIALOG_THEME = "lineageos.platform.intent.extra.profile.DIALOG_THEME";
123 field public static final java.lang.String EXTRA_PROFILE_EXISTING_UUID = "lineageos.platform.extra.profile.EXISTING_UUID";
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700124 field public static final java.lang.String EXTRA_PROFILE_NAME = "name";
Sam Mortimer542742b2017-09-18 19:44:11 -0700125 field public static final java.lang.String EXTRA_PROFILE_PICKED_UUID = "lineageos.platform.intent.extra.profile.PICKED_UUID";
126 field public static final java.lang.String EXTRA_PROFILE_SHOW_NONE = "lineageos.platform.intent.extra.profile.SHOW_NONE";
127 field public static final java.lang.String EXTRA_PROFILE_TITLE = "lineageos.platform.intent.extra.profile.TITLE";
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700128 field public static final java.lang.String EXTRA_PROFILE_UUID = "uuid";
Sam Mortimer542742b2017-09-18 19:44:11 -0700129 field public static final java.lang.String INTENT_ACTION_PROFILE_SELECTED = "lineageos.platform.intent.action.PROFILE_SELECTED";
130 field public static final java.lang.String INTENT_ACTION_PROFILE_UPDATED = "lineageos.platform.intent.action.PROFILE_UPDATED";
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700131 field public static final java.util.UUID NO_PROFILE;
Sam Mortimer542742b2017-09-18 19:44:11 -0700132 field public static final java.lang.String PROFILES_STATE_CHANGED_ACTION = "lineageos.platform.app.profiles.PROFILES_STATE_CHANGED";
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700133 field public static final int PROFILES_STATE_DISABLED = 0; // 0x0
134 field public static final int PROFILES_STATE_ENABLED = 1; // 0x1
135 }
136
Adnan Begovic273f2db2015-05-28 19:47:47 -0700137}
138
Sam Mortimer542742b2017-09-18 19:44:11 -0700139package lineageos.content {
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800140
141 public class Intent {
142 ctor public Intent();
Sam Mortimer542742b2017-09-18 19:44:11 -0700143 field public static final java.lang.String ACTION_PROTECTED = "lineageos.intent.action.PACKAGE_PROTECTED";
144 field public static final java.lang.String ACTION_PROTECTED_CHANGED = "lineageos.intent.action.PROTECTED_COMPONENT_UPDATE";
Sam Mortimer542742b2017-09-18 19:44:11 -0700145 field public static final java.lang.String EXTRA_PROTECTED_COMPONENTS = "lineageos.intent.extra.PACKAGE_PROTECTED_COMPONENTS";
146 field public static final java.lang.String EXTRA_PROTECTED_STATE = "lineageos.intent.extra.PACKAGE_PROTECTED_STATE";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800147 }
148
149}
150
Sam Mortimer542742b2017-09-18 19:44:11 -0700151package lineageos.hardware {
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700152
Michael Bestase613b862018-01-01 22:37:05 +0200153 public class DisplayMode implements android.os.Parcelable {
154 ctor public DisplayMode(int, java.lang.String);
155 method public int describeContents();
156 method public void writeToParcel(android.os.Parcel, int);
157 field public final int id;
158 field public final java.lang.String name;
159 }
160
161 public class HSIC implements android.os.Parcelable {
162 ctor public HSIC(float, float, float, float, float);
163 method public int describeContents();
164 method public java.lang.String flatten();
165 method public static lineageos.hardware.HSIC fromFloatArray(float[]);
166 method public float getContrast();
167 method public float getHue();
168 method public float getIntensity();
169 method public float getSaturation();
170 method public float getSaturationThreshold();
171 method public float[] toFloatArray();
172 method public int[] toRGB();
173 method public static lineageos.hardware.HSIC unflattenFrom(java.lang.String) throws java.lang.NumberFormatException;
174 method public void writeToParcel(android.os.Parcel, int);
175 }
176
Sam Mortimer542742b2017-09-18 19:44:11 -0700177 public final class LineageHardwareManager {
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700178 method public boolean get(int);
Steve Kondik86cae922016-07-18 02:36:42 -0700179 method public int getColorBalance();
180 method public android.util.Range<java.lang.Integer> getColorBalanceRange();
Sam Mortimer542742b2017-09-18 19:44:11 -0700181 method public lineageos.hardware.DisplayMode getCurrentDisplayMode();
182 method public lineageos.hardware.DisplayMode getDefaultDisplayMode();
183 method public lineageos.hardware.HSIC getDefaultPictureAdjustment();
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700184 method public int[] getDisplayColorCalibration();
185 method public int getDisplayColorCalibrationDefault();
186 method public int getDisplayColorCalibrationMax();
187 method public int getDisplayColorCalibrationMin();
188 method public deprecated int[] getDisplayGammaCalibration(int);
189 method public deprecated int getDisplayGammaCalibrationMax();
190 method public deprecated int getDisplayGammaCalibrationMin();
Sam Mortimer542742b2017-09-18 19:44:11 -0700191 method public lineageos.hardware.DisplayMode[] getDisplayModes();
Sam Mortimer542742b2017-09-18 19:44:11 -0700192 method public static lineageos.hardware.LineageHardwareManager getInstance(android.content.Context);
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700193 method public java.lang.String getLtoDestination();
194 method public long getLtoDownloadInterval();
195 method public java.lang.String getLtoSource();
196 method public deprecated int getNumGammaControls();
Sam Mortimer542742b2017-09-18 19:44:11 -0700197 method public lineageos.hardware.HSIC getPictureAdjustment();
Steve Kondik87590f02016-07-20 11:20:02 -0700198 method public java.util.List<android.util.Range<java.lang.Float>> getPictureAdjustmentRanges();
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700199 method public java.lang.String getSerialNumber();
200 method public int getSupportedFeatures();
Michael Bestase613b862018-01-01 22:37:05 +0200201 method public lineageos.hardware.TouchscreenGesture[] getTouchscreenGestures();
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700202 method public int getVibratorDefaultIntensity();
203 method public int getVibratorIntensity();
204 method public int getVibratorMaxIntensity();
205 method public int getVibratorMinIntensity();
206 method public int getVibratorWarningIntensity();
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800207 method public boolean isSunlightEnhancementSelfManaged();
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700208 method public boolean isSupported(int);
209 method public boolean requireAdaptiveBacklightForSunlightEnhancement();
210 method public boolean set(int, boolean);
Steve Kondik86cae922016-07-18 02:36:42 -0700211 method public boolean setColorBalance(int);
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700212 method public boolean setDisplayColorCalibration(int[]);
213 method public deprecated boolean setDisplayGammaCalibration(int, int[]);
Sam Mortimer542742b2017-09-18 19:44:11 -0700214 method public boolean setDisplayMode(lineageos.hardware.DisplayMode, boolean);
Luca Stefani55962102018-07-02 10:10:34 +0200215 method public boolean setGrayscale(boolean);
Sam Mortimer542742b2017-09-18 19:44:11 -0700216 method public boolean setPictureAdjustment(lineageos.hardware.HSIC);
217 method public boolean setTouchscreenGestureEnabled(lineageos.hardware.TouchscreenGesture, boolean);
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700218 method public boolean setVibratorIntensity(int);
219 field public static final int FEATURE_ADAPTIVE_BACKLIGHT = 1; // 0x1
220 field public static final int FEATURE_AUTO_CONTRAST = 4096; // 0x1000
Steve Kondik86cae922016-07-18 02:36:42 -0700221 field public static final int FEATURE_COLOR_BALANCE = 131072; // 0x20000
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700222 field public static final int FEATURE_COLOR_ENHANCEMENT = 2; // 0x2
223 field public static final int FEATURE_DISPLAY_COLOR_CALIBRATION = 4; // 0x4
224 field public static final int FEATURE_DISPLAY_GAMMA_CALIBRATION = 8; // 0x8
225 field public static final int FEATURE_DISPLAY_MODES = 8192; // 0x2000
226 field public static final int FEATURE_HIGH_TOUCH_SENSITIVITY = 16; // 0x10
227 field public static final int FEATURE_KEY_DISABLE = 32; // 0x20
228 field public static final int FEATURE_LONG_TERM_ORBITS = 64; // 0x40
Steve Kondik87590f02016-07-20 11:20:02 -0700229 field public static final int FEATURE_PICTURE_ADJUSTMENT = 262144; // 0x40000
Luca Stefani55962102018-07-02 10:10:34 +0200230 field public static final int FEATURE_READING_ENHANCEMENT = 16384; // 0x4000
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700231 field public static final int FEATURE_SERIAL_NUMBER = 128; // 0x80
232 field public static final int FEATURE_SUNLIGHT_ENHANCEMENT = 256; // 0x100
Zhao Wei Liewcfaf39e2016-11-17 23:36:25 +0800233 field public static final int FEATURE_TOUCHSCREEN_GESTURES = 524288; // 0x80000
Michael Bestase613b862018-01-01 22:37:05 +0200234 field public static final int FEATURE_TOUCH_HOVERING = 2048; // 0x800
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700235 field public static final int FEATURE_VIBRATOR = 1024; // 0x400
236 }
237
Steve Kondik1dab5a02016-03-31 11:23:36 -0700238 public class LiveDisplayConfig implements android.os.Parcelable {
Steve Kondik87590f02016-07-20 11:20:02 -0700239 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 Kondik1dab5a02016-03-31 11:23:36 -0700240 method public int describeContents();
Steve Kondik86cae922016-07-18 02:36:42 -0700241 method public android.util.Range<java.lang.Integer> getColorBalanceRange();
242 method public android.util.Range<java.lang.Integer> getColorTemperatureRange();
Steve Kondik87590f02016-07-20 11:20:02 -0700243 method public android.util.Range<java.lang.Float> getContrastRange();
Steve Kondik1dab5a02016-03-31 11:23:36 -0700244 method public boolean getDefaultAutoContrast();
245 method public boolean getDefaultAutoOutdoorMode();
246 method public boolean getDefaultCABC();
247 method public boolean getDefaultColorEnhancement();
248 method public int getDefaultDayTemperature();
249 method public int getDefaultMode();
250 method public int getDefaultNightTemperature();
Steve Kondik87590f02016-07-20 11:20:02 -0700251 method public android.util.Range<java.lang.Float> getHueRange();
252 method public android.util.Range<java.lang.Float> getIntensityRange();
253 method public java.util.List<android.util.Range<java.lang.Float>> getPictureAdjustmentRanges();
254 method public android.util.Range<java.lang.Float> getSaturationRange();
255 method public android.util.Range<java.lang.Float> getSaturationThresholdRange();
Steve Kondik1dab5a02016-03-31 11:23:36 -0700256 method public boolean hasFeature(int);
Steve Kondik0ec60c62016-04-15 02:38:42 -0700257 method public boolean hasModeSupport();
Steve Kondik1dab5a02016-03-31 11:23:36 -0700258 method public boolean isAvailable();
259 method public void writeToParcel(android.os.Parcel, int);
260 }
261
262 public class LiveDisplayManager {
263 method public float[] getColorAdjustment();
Sam Mortimer542742b2017-09-18 19:44:11 -0700264 method public lineageos.hardware.LiveDisplayConfig getConfig();
Steve Kondik1dab5a02016-03-31 11:23:36 -0700265 method public int getDayColorTemperature();
Sam Mortimer542742b2017-09-18 19:44:11 -0700266 method public lineageos.hardware.HSIC getDefaultPictureAdjustment();
267 method public static synchronized lineageos.hardware.LiveDisplayManager getInstance(android.content.Context);
Steve Kondik1dab5a02016-03-31 11:23:36 -0700268 method public int getMode();
269 method public int getNightColorTemperature();
Sam Mortimer542742b2017-09-18 19:44:11 -0700270 method public lineageos.hardware.HSIC getPictureAdjustment();
Steve Kondik1dab5a02016-03-31 11:23:36 -0700271 method public boolean isAutoContrastEnabled();
272 method public boolean isAutomaticOutdoorModeEnabled();
273 method public boolean isCABCEnabled();
274 method public boolean isColorEnhancementEnabled();
Joey76fc3d32018-02-22 14:30:42 +0100275 method public boolean isNightModeEnabled();
Steve Kondik1dab5a02016-03-31 11:23:36 -0700276 method public boolean setAutoContrastEnabled(boolean);
277 method public boolean setAutomaticOutdoorModeEnabled(boolean);
278 method public boolean setCABCEnabled(boolean);
279 method public boolean setColorAdjustment(float[]);
280 method public boolean setColorEnhancementEnabled(boolean);
281 method public boolean setDayColorTemperature(int);
282 method public boolean setMode(int);
283 method public boolean setNightColorTemperature(int);
Sam Mortimer542742b2017-09-18 19:44:11 -0700284 method public boolean setPictureAdjustment(lineageos.hardware.HSIC);
Steve Kondik87590f02016-07-20 11:20:02 -0700285 field public static final int ADJUSTMENT_CONTRAST = 3; // 0x3
286 field public static final int ADJUSTMENT_HUE = 0; // 0x0
287 field public static final int ADJUSTMENT_INTENSITY = 2; // 0x2
288 field public static final int ADJUSTMENT_SATURATION = 1; // 0x1
Steve Kondik1dab5a02016-03-31 11:23:36 -0700289 field public static final int FEATURE_AUTO_CONTRAST = 11; // 0xb
290 field public static final int FEATURE_CABC = 10; // 0xa
291 field public static final int FEATURE_COLOR_ADJUSTMENT = 13; // 0xd
Steve Kondik86cae922016-07-18 02:36:42 -0700292 field public static final int FEATURE_COLOR_BALANCE = 16; // 0x10
Steve Kondik1dab5a02016-03-31 11:23:36 -0700293 field public static final int FEATURE_COLOR_ENHANCEMENT = 12; // 0xc
294 field public static final int FEATURE_DISPLAY_MODES = 15; // 0xf
295 field public static final int FEATURE_MANAGED_OUTDOOR_MODE = 14; // 0xe
Steve Kondik87590f02016-07-20 11:20:02 -0700296 field public static final int FEATURE_PICTURE_ADJUSTMENT = 17; // 0x11
Luca Stefani55962102018-07-02 10:10:34 +0200297 field public static final int FEATURE_READING_ENHANCEMENT = 18; // 0x12
Steve Kondik1dab5a02016-03-31 11:23:36 -0700298 field public static final int MODE_AUTO = 2; // 0x2
299 field public static final int MODE_DAY = 4; // 0x4
300 field public static final int MODE_NIGHT = 1; // 0x1
301 field public static final int MODE_OFF = 0; // 0x0
302 field public static final int MODE_OUTDOOR = 3; // 0x3
303 }
304
Michael Bestase613b862018-01-01 22:37:05 +0200305 public class TouchscreenGesture implements android.os.Parcelable {
306 ctor public TouchscreenGesture(int, java.lang.String, int);
307 method public int describeContents();
308 method public void writeToParcel(android.os.Parcel, int);
309 field public final int id;
310 field public final int keycode;
311 field public final java.lang.String name;
312 }
313
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700314}
315
Sam Mortimer542742b2017-09-18 19:44:11 -0700316package lineageos.os {
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700317
318 public class Build {
319 ctor public Build();
320 method public static java.lang.String getNameForSDKInt(int);
Sam Mortimer542742b2017-09-18 19:44:11 -0700321 field public static final java.lang.String LINEAGEOS_DISPLAY_VERSION;
322 field public static final java.lang.String LINEAGEOS_VERSION;
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700323 field public static final java.lang.String UNKNOWN = "unknown";
324 }
325
Sam Mortimer542742b2017-09-18 19:44:11 -0700326 public static class Build.LINEAGE_VERSION {
327 ctor public Build.LINEAGE_VERSION();
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700328 field public static final int SDK_INT;
329 }
330
Sam Mortimer542742b2017-09-18 19:44:11 -0700331 public static class Build.LINEAGE_VERSION_CODES {
332 ctor public Build.LINEAGE_VERSION_CODES();
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700333 field public static final int APRICOT = 1; // 0x1
Adnan Begovicf9ec3a42015-07-13 16:46:23 -0700334 field public static final int BOYSENBERRY = 2; // 0x2
Roman Birgd29499d2015-12-23 09:32:13 -0800335 field public static final int CANTALOUPE = 3; // 0x3
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800336 field public static final int DRAGON_FRUIT = 4; // 0x4
Adnan Begovic1d2351e2016-02-09 11:12:38 -0800337 field public static final int ELDERBERRY = 5; // 0x5
Adnan Begovic6b879f32016-04-01 15:39:53 -0700338 field public static final int FIG = 6; // 0x6
Steve Kondikaac8bdc2016-09-04 04:35:09 -0700339 field public static final int GUAVA = 7; // 0x7
Michael Bestase613b862018-01-01 22:37:05 +0200340 field public static final int HACKBERRY = 8; // 0x8
Joeyc0b21ca2018-04-03 15:42:18 +0200341 field public static final int ILAMA = 9; // 0x9
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700342 }
343
Adnan Begovicdf4486f2016-04-01 10:55:04 -0700344 public final class Concierge {
Sam Mortimer542742b2017-09-18 19:44:11 -0700345 method public static lineageos.os.Concierge.ParcelInfo prepareParcel(android.os.Parcel);
346 method public static lineageos.os.Concierge.ParcelInfo receiveParcel(android.os.Parcel);
Adnan Begovicdf4486f2016-04-01 10:55:04 -0700347 }
348
349 public static final class Concierge.ParcelInfo {
350 method public void complete();
351 method public int getParcelVersion();
352 }
353
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700354}
355
Sam Mortimer542742b2017-09-18 19:44:11 -0700356package lineageos.platform {
Adnan Begovic273f2db2015-05-28 19:47:47 -0700357
358 public final class Manifest {
359 ctor public Manifest();
360 }
361
362 public static final class Manifest.permission {
363 ctor public Manifest.permission();
Sam Mortimer542742b2017-09-18 19:44:11 -0700364 field public static final java.lang.String ACCESS_WEATHER_MANAGER = "lineageos.permission.ACCESS_WEATHER_MANAGER";
365 field public static final java.lang.String BIND_WEATHER_PROVIDER_SERVICE = "lineageos.permission.BIND_WEATHER_PROVIDER_SERVICE";
Joey76fc3d32018-02-22 14:30:42 +0100366 field public static final java.lang.String CHANGE_STYLE = "lineageos.permission.CHANGE_STYLE";
Sam Mortimer542742b2017-09-18 19:44:11 -0700367 field public static final java.lang.String HARDWARE_ABSTRACTION_ACCESS = "lineageos.permission.HARDWARE_ABSTRACTION_ACCESS";
Sam Mortimer542742b2017-09-18 19:44:11 -0700368 field public static final java.lang.String MANAGE_LIVEDISPLAY = "lineageos.permission.MANAGE_LIVEDISPLAY";
Sam Mortimer542742b2017-09-18 19:44:11 -0700369 field public static final java.lang.String MANAGE_REMOTE_PREFERENCES = "lineageos.permission.MANAGE_REMOTE_PREFERENCES";
Sam Mortimer542742b2017-09-18 19:44:11 -0700370 field public static final java.lang.String MODIFY_PROFILES = "lineageos.permission.MODIFY_PROFILES";
Sam Mortimer542742b2017-09-18 19:44:11 -0700371 field public static final java.lang.String PERFORMANCE_ACCESS = "lineageos.permission.PERFORMANCE_ACCESS";
372 field public static final java.lang.String PROTECTED_APP = "lineageos.permission.PROTECTED_APP";
Sam Mortimer542742b2017-09-18 19:44:11 -0700373 field public static final java.lang.String READ_DATAUSAGE = "lineageos.permission.READ_DATAUSAGE";
Sam Mortimer542742b2017-09-18 19:44:11 -0700374 field public static final java.lang.String READ_WEATHER = "lineageos.permission.READ_WEATHER";
Joeyc0b21ca2018-04-03 15:42:18 +0200375 field public static final java.lang.String TRUST_INTERFACE = "lineageos.permission.TRUST_INTERFACE";
Sam Mortimer542742b2017-09-18 19:44:11 -0700376 field public static final java.lang.String WRITE_DATAUSAGE = "lineageos.permission.WRITE_DATAUSAGE";
377 field public static final java.lang.String WRITE_SECURE_SETTINGS = "lineageos.permission.WRITE_SECURE_SETTINGS";
378 field public static final java.lang.String WRITE_SETTINGS = "lineageos.permission.WRITE_SETTINGS";
Sam Mortimer542742b2017-09-18 19:44:11 -0700379 field public static final java.lang.String WRITE_WEATHER = "lineageos.permission.WRITE_WEATHER";
Adnan Begovic273f2db2015-05-28 19:47:47 -0700380 }
381
382 public final class R {
383 ctor public R();
384 }
385
Joey76fc3d32018-02-22 14:30:42 +0100386 public static final class R.anim {
387 ctor public R.anim();
388 }
389
herriojre78ca4d2015-09-08 13:59:20 -0700390 public static final class R.array {
391 ctor public R.array();
392 }
393
Adnan Begovic273f2db2015-05-28 19:47:47 -0700394 public static final class R.attr {
395 ctor public R.attr();
Steve Kondik78079ea2016-10-11 08:16:38 -0700396 field public static final int minSummaryLines = 1057030154; // 0x3f01000a
397 field public static final int replacesKey = 1057030153; // 0x3f010009
398 field public static final int requiresAction = 1057030152; // 0x3f010008
Steve Kondik2d61e0c2016-09-15 05:16:42 -0700399 field public static final int requiresConfig = 1057030148; // 0x3f010004
Sam Mortimer3c54d582017-10-20 17:24:54 -0700400 field public static final int requiresConfigMask = 1057030155; // 0x3f01000b
Steve Kondik2d61e0c2016-09-15 05:16:42 -0700401 field public static final int requiresFeature = 1057030147; // 0x3f010003
Steve Kondik5d085192016-09-25 23:17:49 -0700402 field public static final int requiresOwner = 1057030150; // 0x3f010006
Steve Kondik2d61e0c2016-09-15 05:16:42 -0700403 field public static final int requiresPackage = 1057030146; // 0x3f010002
404 field public static final int requiresProperty = 1057030149; // 0x3f010005
Steve Kondik0452eba2016-10-07 00:16:11 -0700405 field public static final int xmlRes = 1057030151; // 0x3f010007
Adnan Begovic273f2db2015-05-28 19:47:47 -0700406 }
407
herriojre78ca4d2015-09-08 13:59:20 -0700408 public static final class R.bool {
409 ctor public R.bool();
410 }
411
Luca Stefani55962102018-07-02 10:10:34 +0200412 public static final class R.color {
413 ctor public R.color();
414 }
415
Joey76fc3d32018-02-22 14:30:42 +0100416 public static final class R.dimen {
417 ctor public R.dimen();
418 }
419
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700420 public static final class R.drawable {
421 ctor public R.drawable();
422 }
423
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800424 public static final class R.integer {
425 ctor public R.integer();
426 }
427
Adnan Begovic273f2db2015-05-28 19:47:47 -0700428 public static final class R.string {
429 ctor public R.string();
430 }
431
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700432 public static final class R.xml {
433 ctor public R.xml();
434 }
435
436}
437
Sam Mortimer542742b2017-09-18 19:44:11 -0700438package lineageos.power {
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800439
440 public class PerformanceManager {
Sam Mortimer542742b2017-09-18 19:44:11 -0700441 method public lineageos.power.PerformanceProfile getActivePowerProfile();
442 method public static lineageos.power.PerformanceManager getInstance(android.content.Context);
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800443 method public int getNumberOfProfiles();
444 method public int getPowerProfile();
Sam Mortimer542742b2017-09-18 19:44:11 -0700445 method public lineageos.power.PerformanceProfile getPowerProfile(int);
446 method public java.util.SortedSet<lineageos.power.PerformanceProfile> getPowerProfiles();
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800447 method public boolean setPowerProfile(int);
Sam Mortimer542742b2017-09-18 19:44:11 -0700448 method public boolean setPowerProfile(lineageos.power.PerformanceProfile);
449 field public static final java.lang.String POWER_PROFILE_CHANGED = "lineageos.power.PROFILE_CHANGED";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800450 field public static final int PROFILE_BALANCED = 1; // 0x1
451 field public static final int PROFILE_BIAS_PERFORMANCE = 4; // 0x4
452 field public static final int PROFILE_BIAS_POWER_SAVE = 3; // 0x3
453 field public static final int PROFILE_HIGH_PERFORMANCE = 2; // 0x2
454 field public static final int PROFILE_POWER_SAVE = 0; // 0x0
455 field public static final java.lang.String TAG = "PerformanceManager";
456 }
457
Steve Kondikcd98e0b2016-10-12 04:06:33 -0700458 public class PerformanceProfile implements java.lang.Comparable android.os.Parcelable {
Luca Stefani38b21a62018-02-08 16:41:17 +0100459 ctor public PerformanceProfile(int, float, java.lang.String, java.lang.String);
Sam Mortimer542742b2017-09-18 19:44:11 -0700460 method public int compareTo(lineageos.power.PerformanceProfile);
Steve Kondikcd98e0b2016-10-12 04:06:33 -0700461 method public int describeContents();
462 method public java.lang.String getDescription();
463 method public int getId();
464 method public java.lang.String getName();
465 method public float getWeight();
Steve Kondikcd98e0b2016-10-12 04:06:33 -0700466 method public void writeToParcel(android.os.Parcel, int);
Sam Mortimer542742b2017-09-18 19:44:11 -0700467 field public static final android.os.Parcelable.Creator<lineageos.power.PerformanceProfile> CREATOR;
Steve Kondikcd98e0b2016-10-12 04:06:33 -0700468 }
469
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800470}
471
Sam Mortimer542742b2017-09-18 19:44:11 -0700472package lineageos.preference {
Steve Kondik7be730b2016-09-08 13:39:43 -0700473
Michael Bestase613b862018-01-01 22:37:05 +0200474 public class GlobalSettingSwitchPreference extends lineageos.preference.SelfRemovingSwitchPreference {
475 ctor public GlobalSettingSwitchPreference(android.content.Context, android.util.AttributeSet, int);
476 ctor public GlobalSettingSwitchPreference(android.content.Context, android.util.AttributeSet);
477 ctor public GlobalSettingSwitchPreference(android.content.Context);
478 }
479
Sam Mortimer542742b2017-09-18 19:44:11 -0700480 public class LineageGlobalSettingSwitchPreference extends lineageos.preference.SelfRemovingSwitchPreference {
481 ctor public LineageGlobalSettingSwitchPreference(android.content.Context, android.util.AttributeSet, int);
482 ctor public LineageGlobalSettingSwitchPreference(android.content.Context, android.util.AttributeSet);
483 ctor public LineageGlobalSettingSwitchPreference(android.content.Context);
Steve Kondik7be730b2016-09-08 13:39:43 -0700484 }
485
Sam Mortimer542742b2017-09-18 19:44:11 -0700486 public class LineageSecureSettingListPreference extends lineageos.preference.SelfRemovingListPreference {
487 ctor public LineageSecureSettingListPreference(android.content.Context, android.util.AttributeSet, int);
488 ctor public LineageSecureSettingListPreference(android.content.Context, android.util.AttributeSet);
Steve Kondik9faa2742016-09-14 01:37:29 -0700489 method public int getIntValue(int);
Steve Kondik9faa2742016-09-14 01:37:29 -0700490 }
491
Sam Mortimer542742b2017-09-18 19:44:11 -0700492 public class LineageSecureSettingSwitchPreference extends lineageos.preference.SelfRemovingSwitchPreference {
493 ctor public LineageSecureSettingSwitchPreference(android.content.Context, android.util.AttributeSet, int);
494 ctor public LineageSecureSettingSwitchPreference(android.content.Context, android.util.AttributeSet);
495 ctor public LineageSecureSettingSwitchPreference(android.content.Context);
Steve Kondik7be730b2016-09-08 13:39:43 -0700496 }
497
Sam Mortimer542742b2017-09-18 19:44:11 -0700498 public class LineageSystemSettingDropDownPreference extends lineageos.preference.SelfRemovingDropDownPreference {
499 ctor public LineageSystemSettingDropDownPreference(android.content.Context, android.util.AttributeSet, int);
500 ctor public LineageSystemSettingDropDownPreference(android.content.Context, android.util.AttributeSet);
Danny Baumanne01237e2016-11-02 13:10:00 +0100501 method public int getIntValue(int);
Danny Baumanne01237e2016-11-02 13:10:00 +0100502 }
503
Sam Mortimer542742b2017-09-18 19:44:11 -0700504 public class LineageSystemSettingListPreference extends lineageos.preference.SelfRemovingListPreference {
505 ctor public LineageSystemSettingListPreference(android.content.Context, android.util.AttributeSet, int);
506 ctor public LineageSystemSettingListPreference(android.content.Context, android.util.AttributeSet);
Steve Kondik9faa2742016-09-14 01:37:29 -0700507 method public int getIntValue(int);
Steve Kondik9faa2742016-09-14 01:37:29 -0700508 }
509
Sam Mortimer542742b2017-09-18 19:44:11 -0700510 public class LineageSystemSettingSwitchPreference extends lineageos.preference.SelfRemovingSwitchPreference {
511 ctor public LineageSystemSettingSwitchPreference(android.content.Context, android.util.AttributeSet, int);
512 ctor public LineageSystemSettingSwitchPreference(android.content.Context, android.util.AttributeSet);
513 ctor public LineageSystemSettingSwitchPreference(android.content.Context);
Zhao Wei Liew1c5e5e72016-12-10 15:37:20 +0800514 }
515
Sam Mortimer542742b2017-09-18 19:44:11 -0700516 public class RemotePreference extends lineageos.preference.SelfRemovingPreference {
Steve Kondik38054192016-10-14 21:24:54 -0700517 ctor public RemotePreference(android.content.Context, android.util.AttributeSet, int, int);
518 ctor public RemotePreference(android.content.Context, android.util.AttributeSet, int);
519 ctor public RemotePreference(android.content.Context, android.util.AttributeSet);
520 method public android.content.Intent getReceiverIntent();
521 method protected java.lang.String getRemoteKey(android.os.Bundle);
Steve Kondik38054192016-10-14 21:24:54 -0700522 method public void onRemoteUpdated(android.os.Bundle);
Sam Mortimer542742b2017-09-18 19:44:11 -0700523 field public static final java.lang.String ACTION_REFRESH_PREFERENCE = "lineageos.intent.action.REFRESH_PREFERENCE";
524 field public static final java.lang.String ACTION_UPDATE_PREFERENCE = "lineageos.intent.action.UPDATE_PREFERENCE";
525 field public static final java.lang.String EXTRA_ENABLED = ":lineage:pref_enabled";
526 field public static final java.lang.String EXTRA_KEY = ":lineage:pref_key";
527 field public static final java.lang.String EXTRA_SUMMARY = ":lineage:pref_summary";
528 field public static final java.lang.String META_REMOTE_KEY = "org.lineageos.settings.summary.key";
529 field public static final java.lang.String META_REMOTE_RECEIVER = "org.lineageos.settings.summary.receiver";
Steve Kondik38054192016-10-14 21:24:54 -0700530 field protected final android.content.Context mContext;
531 }
532
533 public class RemotePreferenceUpdater extends android.content.BroadcastReceiver {
534 ctor public RemotePreferenceUpdater();
535 method protected boolean fillResultExtras(android.content.Context, java.lang.String, android.os.Bundle);
536 method protected java.lang.String getSummary(android.content.Context, java.lang.String);
537 method public static void notifyChanged(android.content.Context, java.lang.String);
538 method public void onReceive(android.content.Context, android.content.Intent);
539 }
540
Sam Mortimer542742b2017-09-18 19:44:11 -0700541 public class SecureSettingSwitchPreference extends lineageos.preference.SelfRemovingSwitchPreference {
Steve Kondik78079ea2016-10-11 08:16:38 -0700542 ctor public SecureSettingSwitchPreference(android.content.Context, android.util.AttributeSet, int);
543 ctor public SecureSettingSwitchPreference(android.content.Context, android.util.AttributeSet);
544 ctor public SecureSettingSwitchPreference(android.content.Context);
Steve Kondik2d61e0c2016-09-15 05:16:42 -0700545 }
546
Michael Bestase613b862018-01-01 22:37:05 +0200547 public class SelfRemovingDropDownPreference extends android.support.v7.preference.DropDownPreference {
Danny Baumanne01237e2016-11-02 13:10:00 +0100548 ctor public SelfRemovingDropDownPreference(android.content.Context, android.util.AttributeSet, int);
549 ctor public SelfRemovingDropDownPreference(android.content.Context, android.util.AttributeSet);
550 ctor public SelfRemovingDropDownPreference(android.content.Context);
551 method public boolean isAvailable();
Danny Baumanne01237e2016-11-02 13:10:00 +0100552 method public void setAvailable(boolean);
553 }
554
Michael Bestase613b862018-01-01 22:37:05 +0200555 public class SelfRemovingListPreference extends android.support.v7.preference.ListPreference {
Steve Kondik2d61e0c2016-09-15 05:16:42 -0700556 ctor public SelfRemovingListPreference(android.content.Context, android.util.AttributeSet, int);
557 ctor public SelfRemovingListPreference(android.content.Context, android.util.AttributeSet);
558 ctor public SelfRemovingListPreference(android.content.Context);
Steve Kondik78079ea2016-10-11 08:16:38 -0700559 method public boolean isAvailable();
Steve Kondik78079ea2016-10-11 08:16:38 -0700560 method public void setAvailable(boolean);
Steve Kondik2d61e0c2016-09-15 05:16:42 -0700561 }
562
Michael Bestase613b862018-01-01 22:37:05 +0200563 public class SelfRemovingPreference extends android.support.v7.preference.Preference {
Steve Kondik78079ea2016-10-11 08:16:38 -0700564 ctor public SelfRemovingPreference(android.content.Context, android.util.AttributeSet, int, int);
Steve Kondik2d61e0c2016-09-15 05:16:42 -0700565 ctor public SelfRemovingPreference(android.content.Context, android.util.AttributeSet, int);
566 ctor public SelfRemovingPreference(android.content.Context, android.util.AttributeSet);
567 ctor public SelfRemovingPreference(android.content.Context);
Steve Kondik78079ea2016-10-11 08:16:38 -0700568 method public boolean isAvailable();
Steve Kondik78079ea2016-10-11 08:16:38 -0700569 method public void setAvailable(boolean);
Steve Kondik2d61e0c2016-09-15 05:16:42 -0700570 }
571
Michael Bestase613b862018-01-01 22:37:05 +0200572 public class SelfRemovingSwitchPreference extends android.support.v14.preference.SwitchPreference {
Steve Kondik2d61e0c2016-09-15 05:16:42 -0700573 ctor public SelfRemovingSwitchPreference(android.content.Context, android.util.AttributeSet, int);
574 ctor public SelfRemovingSwitchPreference(android.content.Context, android.util.AttributeSet);
575 ctor public SelfRemovingSwitchPreference(android.content.Context);
Steve Kondik78079ea2016-10-11 08:16:38 -0700576 method public boolean isAvailable();
Steve Kondik78079ea2016-10-11 08:16:38 -0700577 method public void setAvailable(boolean);
Steve Kondik2d61e0c2016-09-15 05:16:42 -0700578 }
579
Steve Kondik0dae6352016-10-11 08:17:18 -0700580 public class SettingsHelper {
Sam Mortimer542742b2017-09-18 19:44:11 -0700581 method public static synchronized lineageos.preference.SettingsHelper get(android.content.Context);
Steve Kondik0dae6352016-10-11 08:17:18 -0700582 method public boolean getBoolean(android.net.Uri, boolean);
583 method public int getInt(android.net.Uri, int);
584 method public java.lang.String getString(android.net.Uri);
585 method public void putBoolean(android.net.Uri, boolean);
586 method public void putInt(android.net.Uri, int);
587 method public void putString(android.net.Uri, java.lang.String);
Sam Mortimer542742b2017-09-18 19:44:11 -0700588 method public void startWatching(lineageos.preference.SettingsHelper.OnSettingsChangeListener, android.net.Uri...);
589 method public void stopWatching(lineageos.preference.SettingsHelper.OnSettingsChangeListener);
Steve Kondik0dae6352016-10-11 08:17:18 -0700590 }
591
592 public static abstract interface SettingsHelper.OnSettingsChangeListener {
593 method public abstract void onSettingsChanged(android.net.Uri);
594 }
595
Sam Mortimer542742b2017-09-18 19:44:11 -0700596 public class SystemSettingSwitchPreference extends lineageos.preference.SelfRemovingSwitchPreference {
Steve Kondik7be730b2016-09-08 13:39:43 -0700597 ctor public SystemSettingSwitchPreference(android.content.Context, android.util.AttributeSet, int);
598 ctor public SystemSettingSwitchPreference(android.content.Context, android.util.AttributeSet);
599 ctor public SystemSettingSwitchPreference(android.content.Context);
Steve Kondik7be730b2016-09-08 13:39:43 -0700600 }
601
602}
603
Sam Mortimer542742b2017-09-18 19:44:11 -0700604package lineageos.profiles {
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700605
606 public final class AirplaneModeSettings implements android.os.Parcelable {
607 ctor public AirplaneModeSettings(android.os.Parcel);
608 ctor public AirplaneModeSettings();
609 ctor public AirplaneModeSettings(int, boolean);
610 method public int describeContents();
611 method public int getValue();
612 method public boolean isOverride();
613 method public void setOverride(boolean);
614 method public void setValue(int);
615 method public void writeToParcel(android.os.Parcel, int);
616 }
617
618 public static class AirplaneModeSettings.BooleanState {
619 ctor public AirplaneModeSettings.BooleanState();
620 field public static final int STATE_DISALED = 0; // 0x0
621 field public static final int STATE_ENABLED = 1; // 0x1
622 }
623
624 public final class BrightnessSettings implements android.os.Parcelable {
625 ctor public BrightnessSettings(android.os.Parcel);
626 ctor public BrightnessSettings();
627 ctor public BrightnessSettings(int, boolean);
628 method public int describeContents();
629 method public int getValue();
630 method public boolean isOverride();
631 method public void setOverride(boolean);
632 method public void setValue(int);
633 method public void writeToParcel(android.os.Parcel, int);
634 }
635
636 public final class ConnectionSettings implements android.os.Parcelable {
637 ctor public ConnectionSettings(android.os.Parcel);
638 ctor public ConnectionSettings(int);
639 ctor public ConnectionSettings(int, int, boolean);
640 method public int describeContents();
641 method public int getConnectionId();
Roman Birgc46e0ff2016-02-10 18:59:16 -0800642 method public int getSubId();
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700643 method public int getValue();
644 method public boolean isOverride();
645 method public void setOverride(boolean);
Roman Birgc46e0ff2016-02-10 18:59:16 -0800646 method public void setSubId(int);
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700647 method public void setValue(int);
648 method public void writeToParcel(android.os.Parcel, int);
649 field public static final int PROFILE_CONNECTION_2G3G4G = 9; // 0x9
650 field public static final int PROFILE_CONNECTION_BLUETOOTH = 7; // 0x7
651 field public static final int PROFILE_CONNECTION_GPS = 4; // 0x4
652 field public static final int PROFILE_CONNECTION_MOBILEDATA = 0; // 0x0
653 field public static final int PROFILE_CONNECTION_NFC = 8; // 0x8
654 field public static final int PROFILE_CONNECTION_SYNC = 5; // 0x5
655 field public static final int PROFILE_CONNECTION_WIFI = 1; // 0x1
656 field public static final int PROFILE_CONNECTION_WIFIAP = 2; // 0x2
Steve Kondik6f2edde2016-08-29 00:49:38 -0700657 field public static final deprecated int PROFILE_CONNECTION_WIMAX = 3; // 0x3
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700658 }
659
660 public static class ConnectionSettings.BooleanState {
661 ctor public ConnectionSettings.BooleanState();
662 field public static final int STATE_DISALED = 0; // 0x0
663 field public static final int STATE_ENABLED = 1; // 0x1
664 }
665
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -0700666 public final class LockSettings implements android.os.Parcelable {
667 ctor public LockSettings(android.os.Parcel);
668 ctor public LockSettings();
669 ctor public LockSettings(int);
670 method public int describeContents();
671 method public int getValue();
672 method public void setValue(int);
673 method public void writeToParcel(android.os.Parcel, int);
674 }
675
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700676 public final class RingModeSettings implements android.os.Parcelable {
677 ctor public RingModeSettings(android.os.Parcel);
678 ctor public RingModeSettings();
679 ctor public RingModeSettings(java.lang.String, boolean);
680 method public int describeContents();
681 method public java.lang.String getValue();
682 method public boolean isOverride();
683 method public void setOverride(boolean);
684 method public void setValue(java.lang.String);
685 method public void writeToParcel(android.os.Parcel, int);
686 field public static final java.lang.String RING_MODE_MUTE = "mute";
687 field public static final java.lang.String RING_MODE_NORMAL = "normal";
688 field public static final java.lang.String RING_MODE_VIBRATE = "vibrate";
689 }
690
691 public final class StreamSettings implements android.os.Parcelable {
692 ctor public StreamSettings(android.os.Parcel);
693 ctor public StreamSettings(int);
694 ctor public StreamSettings(int, int, boolean);
695 method public int describeContents();
696 method public int getStreamId();
697 method public int getValue();
698 method public boolean isOverride();
699 method public void setOverride(boolean);
700 method public void setValue(int);
701 method public void writeToParcel(android.os.Parcel, int);
702 }
703
Adnan Begovic273f2db2015-05-28 19:47:47 -0700704}
705
Sam Mortimer542742b2017-09-18 19:44:11 -0700706package lineageos.providers {
Yvonne Wong0eb29992015-08-20 16:02:08 -0700707
Michael Bestase613b862018-01-01 22:37:05 +0200708 public final class DataUsageContract {
709 ctor public DataUsageContract();
710 field public static final java.lang.String ACTIVE = "active";
711 field public static final android.net.Uri BASE_CONTENT_URI;
712 field public static final java.lang.String BYTES = "bytes";
713 field public static final int COLUMN_OF_ACTIVE = 3; // 0x3
714 field public static final int COLUMN_OF_BYTES = 5; // 0x5
715 field public static final int COLUMN_OF_ENABLE = 2; // 0x2
716 field public static final int COLUMN_OF_EXTRA = 10; // 0xa
717 field public static final int COLUMN_OF_FAST_AVG = 8; // 0x8
718 field public static final int COLUMN_OF_FAST_SAMPLES = 9; // 0x9
719 field public static final int COLUMN_OF_ID = 0; // 0x0
720 field public static final int COLUMN_OF_LABEL = 4; // 0x4
721 field public static final int COLUMN_OF_SLOW_AVG = 6; // 0x6
722 field public static final int COLUMN_OF_SLOW_SAMPLES = 7; // 0x7
723 field public static final int COLUMN_OF_UID = 1; // 0x1
724 field public static final java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.itemdatausage_item";
725 field public static final java.lang.String CONTENT_TYPE = "vnd.android.cursor.dirdatausage_item";
726 field public static final android.net.Uri CONTENT_URI;
727 field public static final java.lang.String DATAUSAGE_AUTHORITY = "org.lineageos.providers.datausage";
728 field public static final java.lang.String DATAUSAGE_TABLE = "datausage";
729 field public static final java.lang.String ENABLE = "enable";
730 field public static final java.lang.String EXTRA = "extra";
731 field public static final java.lang.String FAST_AVG = "fast_avg";
732 field public static final java.lang.String FAST_SAMPLES = "fast_samples";
733 field public static final java.lang.String LABEL = "label";
734 field public static final java.lang.String[] PROJECTION_ALL;
735 field public static final java.lang.String SLOW_AVG = "slow_avg";
736 field public static final java.lang.String SLOW_SAMPLES = "slow_samples";
737 field public static final java.lang.String UID = "uid";
738 field public static final java.lang.String _ID = "_id";
739 }
740
Sam Mortimer542742b2017-09-18 19:44:11 -0700741 public final class LineageSettings {
742 ctor public LineageSettings();
743 field public static final java.lang.String ACTION_DATA_USAGE = "lineageos.settings.ACTION_DATA_USAGE";
744 field public static final java.lang.String ACTION_LIVEDISPLAY_SETTINGS = "lineageos.settings.LIVEDISPLAY_SETTINGS";
Luca Stefani55962102018-07-02 10:10:34 +0200745 field public static final java.lang.String ACTION_TRUST_INTERFACE = "lineageos.settings.TRUST_INTERFACE";
Sam Mortimer542742b2017-09-18 19:44:11 -0700746 field public static final java.lang.String AUTHORITY = "lineagesettings";
Yvonne Wong0eb29992015-08-20 16:02:08 -0700747 }
748
Sam Mortimer542742b2017-09-18 19:44:11 -0700749 public static final class LineageSettings.Global extends android.provider.Settings.NameValueTable {
750 ctor public LineageSettings.Global();
Yvonne Wong0eb29992015-08-20 16:02:08 -0700751 method public static float getFloat(android.content.ContentResolver, java.lang.String, float);
Sam Mortimer542742b2017-09-18 19:44:11 -0700752 method public static float getFloat(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException;
Yvonne Wong0eb29992015-08-20 16:02:08 -0700753 method public static int getInt(android.content.ContentResolver, java.lang.String, int);
Sam Mortimer542742b2017-09-18 19:44:11 -0700754 method public static int getInt(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException;
Yvonne Wong0eb29992015-08-20 16:02:08 -0700755 method public static long getLong(android.content.ContentResolver, java.lang.String, long);
Sam Mortimer542742b2017-09-18 19:44:11 -0700756 method public static long getLong(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException;
Yvonne Wong0eb29992015-08-20 16:02:08 -0700757 method public static java.lang.String getString(android.content.ContentResolver, java.lang.String);
Joeya37b3cd2018-07-05 21:18:18 +0200758 method public static java.lang.String getString(android.content.ContentResolver, java.lang.String, java.lang.String);
Roman Birgd29499d2015-12-23 09:32:13 -0800759 method public static android.net.Uri getUriFor(java.lang.String);
Yvonne Wong0eb29992015-08-20 16:02:08 -0700760 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 Mortimer542742b2017-09-18 19:44:11 -0700765 field public static final java.lang.String SYS_PROP_LINEAGE_SETTING_VERSION = "sys.lineage_settings_global_version";
Luis Vidaled4d0632016-04-12 21:01:39 -0700766 field public static final java.lang.String WEATHER_TEMPERATURE_UNIT = "weather_temperature_unit";
Yvonne Wong0eb29992015-08-20 16:02:08 -0700767 }
768
Michael Bestase613b862018-01-01 22:37:05 +0200769 public static class LineageSettings.LineageSettingNotFoundException extends android.util.AndroidException {
770 ctor public LineageSettings.LineageSettingNotFoundException(java.lang.String);
771 }
772
Sam Mortimer542742b2017-09-18 19:44:11 -0700773 public static final class LineageSettings.Secure extends android.provider.Settings.NameValueTable {
774 ctor public LineageSettings.Secure();
Yvonne Wong0eb29992015-08-20 16:02:08 -0700775 method public static float getFloat(android.content.ContentResolver, java.lang.String, float);
Sam Mortimer542742b2017-09-18 19:44:11 -0700776 method public static float getFloat(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException;
Yvonne Wong0eb29992015-08-20 16:02:08 -0700777 method public static int getInt(android.content.ContentResolver, java.lang.String, int);
Sam Mortimer542742b2017-09-18 19:44:11 -0700778 method public static int getInt(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException;
Yvonne Wong0eb29992015-08-20 16:02:08 -0700779 method public static long getLong(android.content.ContentResolver, java.lang.String, long);
Sam Mortimer542742b2017-09-18 19:44:11 -0700780 method public static long getLong(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException;
Yvonne Wong0eb29992015-08-20 16:02:08 -0700781 method public static java.lang.String getString(android.content.ContentResolver, java.lang.String);
Joeya37b3cd2018-07-05 21:18:18 +0200782 method public static java.lang.String getString(android.content.ContentResolver, java.lang.String, java.lang.String);
Roman Birgd29499d2015-12-23 09:32:13 -0800783 method public static android.net.Uri getUriFor(java.lang.String);
Yvonne Wong0eb29992015-08-20 16:02:08 -0700784 method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float);
785 method public static boolean putInt(android.content.ContentResolver, java.lang.String, int);
786 method public static boolean putLong(android.content.ContentResolver, java.lang.String, long);
787 method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String);
788 field public static final android.net.Uri CONTENT_URI;
Sam Mortimer542742b2017-09-18 19:44:11 -0700789 field public static final java.lang.String SYS_PROP_LINEAGE_SETTING_VERSION = "sys.lineage_settings_secure_version";
Joeyc8a06b92018-06-30 21:15:37 +0200790 field public static final deprecated java.lang.String TRUST_NOTIFICATIONS = "trust_notifications";
791 field public static final java.lang.String TRUST_WARNINGS = "trust_warnings";
Yvonne Wong0eb29992015-08-20 16:02:08 -0700792 }
793
Sam Mortimer542742b2017-09-18 19:44:11 -0700794 public static final class LineageSettings.System extends android.provider.Settings.NameValueTable {
795 ctor public LineageSettings.System();
Yvonne Wong0eb29992015-08-20 16:02:08 -0700796 method public static float getFloat(android.content.ContentResolver, java.lang.String, float);
Sam Mortimer542742b2017-09-18 19:44:11 -0700797 method public static float getFloat(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException;
Yvonne Wong0eb29992015-08-20 16:02:08 -0700798 method public static int getInt(android.content.ContentResolver, java.lang.String, int);
Sam Mortimer542742b2017-09-18 19:44:11 -0700799 method public static int getInt(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException;
Yvonne Wong0eb29992015-08-20 16:02:08 -0700800 method public static long getLong(android.content.ContentResolver, java.lang.String, long);
Sam Mortimer542742b2017-09-18 19:44:11 -0700801 method public static long getLong(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException;
Yvonne Wong0eb29992015-08-20 16:02:08 -0700802 method public static java.lang.String getString(android.content.ContentResolver, java.lang.String);
Joeya37b3cd2018-07-05 21:18:18 +0200803 method public static java.lang.String getString(android.content.ContentResolver, java.lang.String, java.lang.String);
Roman Birgd29499d2015-12-23 09:32:13 -0800804 method public static android.net.Uri getUriFor(java.lang.String);
Yvonne Wong0eb29992015-08-20 16:02:08 -0700805 method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float);
806 method public static boolean putInt(android.content.ContentResolver, java.lang.String, int);
807 method public static boolean putLong(android.content.ContentResolver, java.lang.String, long);
808 method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String);
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800809 field public static final java.lang.String APP_SWITCH_WAKE_SCREEN = "app_switch_wake_screen";
810 field public static final java.lang.String ASSIST_WAKE_SCREEN = "assist_wake_screen";
811 field public static final java.lang.String BACK_WAKE_SCREEN = "back_wake_screen";
Sam Mortimerc7a8ed52017-11-21 23:26:59 -0800812 field public static final java.lang.String BATTERY_LIGHT_BRIGHTNESS_LEVEL = "battery_light_brightness_level";
813 field public static final java.lang.String BATTERY_LIGHT_BRIGHTNESS_LEVEL_ZEN = "battery_light_brightness_level_zen";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800814 field public static final java.lang.String BATTERY_LIGHT_ENABLED = "battery_light_enabled";
815 field public static final java.lang.String BATTERY_LIGHT_FULL_COLOR = "battery_light_full_color";
816 field public static final java.lang.String BATTERY_LIGHT_LOW_COLOR = "battery_light_low_color";
817 field public static final java.lang.String BATTERY_LIGHT_MEDIUM_COLOR = "battery_light_medium_color";
818 field public static final java.lang.String BATTERY_LIGHT_PULSE = "battery_light_pulse";
Joey76fc3d32018-02-22 14:30:42 +0100819 field public static final java.lang.String BERRY_CURRENT_ACCENT = "berry_current_accent";
Joeya37b3cd2018-07-05 21:18:18 +0200820 field public static final java.lang.String BERRY_DARK_OVERLAY = "berry_dark_overlay";
Joey76fc3d32018-02-22 14:30:42 +0100821 field public static final java.lang.String BERRY_GLOBAL_STYLE = "berry_global_style";
Joey5a72b572018-03-06 17:46:14 +0100822 field public static final java.lang.String BERRY_MANAGED_BY_APP = "berry_managed_by_app";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800823 field public static final java.lang.String BLUETOOTH_ACCEPT_ALL_FILES = "bluetooth_accept_all_files";
Joey5a72b572018-03-06 17:46:14 +0100824 field public static final java.lang.String BUTTON_BACKLIGHT_ONLY_WHEN_PRESSED = "button_backlight_only_when_pressed";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800825 field public static final java.lang.String CALL_RECORDING_FORMAT = "call_recording_format";
826 field public static final java.lang.String CAMERA_LAUNCH = "camera_launch";
827 field public static final java.lang.String CAMERA_SLEEP_ON_RELEASE = "camera_sleep_on_release";
828 field public static final java.lang.String CAMERA_WAKE_SCREEN = "camera_wake_screen";
Yvonne Wong0eb29992015-08-20 16:02:08 -0700829 field public static final android.net.Uri CONTENT_URI;
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800830 field public static final java.lang.String DIALER_OPENCNAM_ACCOUNT_SID = "dialer_opencnam_account_sid";
831 field public static final java.lang.String DIALER_OPENCNAM_AUTH_TOKEN = "dialer_opencnam_auth_token";
Steve Kondik1dab5a02016-03-31 11:23:36 -0700832 field public static final java.lang.String DISPLAY_AUTO_CONTRAST = "display_auto_contrast";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800833 field public static final java.lang.String DISPLAY_AUTO_OUTDOOR_MODE = "display_auto_outdoor_mode";
Steve Kondik1dab5a02016-03-31 11:23:36 -0700834 field public static final java.lang.String DISPLAY_CABC = "display_low_power";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800835 field public static final java.lang.String DISPLAY_COLOR_ADJUSTMENT = "display_color_adjustment";
836 field public static final java.lang.String DISPLAY_COLOR_ENHANCE = "display_color_enhance";
Steve Kondik1dab5a02016-03-31 11:23:36 -0700837 field public static final deprecated java.lang.String DISPLAY_LOW_POWER = "display_low_power";
Steve Kondik87590f02016-07-20 11:20:02 -0700838 field public static final java.lang.String DISPLAY_PICTURE_ADJUSTMENT = "display_picture_adjustment";
Luca Stefani55962102018-07-02 10:10:34 +0200839 field public static final java.lang.String DISPLAY_READING_MODE = "display_reading_mode";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800840 field public static final java.lang.String DISPLAY_TEMPERATURE_DAY = "display_temperature_day";
841 field public static final java.lang.String DISPLAY_TEMPERATURE_MODE = "display_temperature_mode";
842 field public static final java.lang.String DISPLAY_TEMPERATURE_NIGHT = "display_temperature_night";
843 field public static final java.lang.String DOUBLE_TAP_SLEEP_GESTURE = "double_tap_sleep_gesture";
844 field public static final java.lang.String ENABLE_FORWARD_LOOKUP = "enable_forward_lookup";
845 field public static final java.lang.String ENABLE_PEOPLE_LOOKUP = "enable_people_lookup";
846 field public static final java.lang.String ENABLE_REVERSE_LOOKUP = "enable_reverse_lookup";
847 field public static final java.lang.String FORWARD_LOOKUP_PROVIDER = "forward_lookup_provider";
Michael Bestasfcadbf52016-02-10 01:39:17 +0200848 field public static final java.lang.String HEADSET_CONNECT_PLAYER = "headset_connect_player";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800849 field public static final java.lang.String HIGH_TOUCH_SENSITIVITY_ENABLE = "high_touch_sensitivity_enable";
850 field public static final java.lang.String HOME_WAKE_SCREEN = "home_wake_screen";
851 field public static final java.lang.String INCREASING_RING = "increasing_ring";
852 field public static final java.lang.String INCREASING_RING_RAMP_UP_TIME = "increasing_ring_ramp_up_time";
853 field public static final java.lang.String INCREASING_RING_START_VOLUME = "increasing_ring_start_vol";
854 field public static final java.lang.String KEY_APP_SWITCH_ACTION = "key_app_switch_action";
855 field public static final java.lang.String KEY_APP_SWITCH_LONG_PRESS_ACTION = "key_app_switch_long_press_action";
856 field public static final java.lang.String KEY_ASSIST_ACTION = "key_assist_action";
857 field public static final java.lang.String KEY_ASSIST_LONG_PRESS_ACTION = "key_assist_long_press_action";
858 field public static final java.lang.String KEY_HOME_DOUBLE_TAP_ACTION = "key_home_double_tap_action";
859 field public static final java.lang.String KEY_HOME_LONG_PRESS_ACTION = "key_home_long_press_action";
860 field public static final java.lang.String KEY_MENU_ACTION = "key_menu_action";
861 field public static final java.lang.String KEY_MENU_LONG_PRESS_ACTION = "key_menu_long_press_action";
862 field public static final java.lang.String LOCKSCREEN_PIN_SCRAMBLE_LAYOUT = "lockscreen_scramble_pin_layout";
Steve Kondik86cae922016-07-18 02:36:42 -0700863 field public static final java.lang.String LOCKSCREEN_ROTATION = "lockscreen_rotation";
Luca Stefani55962102018-07-02 10:10:34 +0200864 field public static final java.lang.String LONG_SCREEN_APPS = "long_screen_apps";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800865 field public static final java.lang.String MENU_WAKE_SCREEN = "menu_wake_screen";
866 field public static final java.lang.String NAVBAR_LEFT_IN_LANDSCAPE = "navigation_bar_left";
867 field public static final java.lang.String NAVIGATION_BAR_MENU_ARROW_KEYS = "navigation_bar_menu_arrow_keys";
868 field public static final java.lang.String NAV_BUTTONS = "nav_buttons";
869 field public static final java.lang.String NOTIFICATION_LIGHT_BRIGHTNESS_LEVEL = "notification_light_brightness_level";
Sam Mortimerc7a8ed52017-11-21 23:26:59 -0800870 field public static final java.lang.String NOTIFICATION_LIGHT_BRIGHTNESS_LEVEL_ZEN = "notification_light_brightness_level_zen";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800871 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_COLOR = "notification_light_pulse_call_color";
872 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_LED_OFF = "notification_light_pulse_call_led_off";
873 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_LED_ON = "notification_light_pulse_call_led_on";
874 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CUSTOM_ENABLE = "notification_light_pulse_custom_enable";
875 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CUSTOM_VALUES = "notification_light_pulse_custom_values";
876 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_COLOR = "notification_light_pulse_default_color";
877 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_LED_OFF = "notification_light_pulse_default_led_off";
878 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_LED_ON = "notification_light_pulse_default_led_on";
879 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_COLOR = "notification_light_pulse_vmail_color";
880 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_LED_OFF = "notification_light_pulse_vmail_led_off";
881 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_LED_ON = "notification_light_pulse_vmail_led_on";
882 field public static final java.lang.String NOTIFICATION_LIGHT_SCREEN_ON = "notification_light_screen_on_enable";
883 field public static final java.lang.String NOTIFICATION_PLAY_QUEUE = "notification_play_queue";
884 field public static final java.lang.String PEOPLE_LOOKUP_PROVIDER = "people_lookup_provider";
885 field public static final java.lang.String PROXIMITY_ON_WAKE = "proximity_on_wake";
886 field public static final java.lang.String QS_SHOW_BRIGHTNESS_SLIDER = "qs_show_brightness_slider";
887 field public static final java.lang.String RECENTS_SHOW_SEARCH_BAR = "recents_show_search_bar";
888 field public static final java.lang.String REVERSE_LOOKUP_PROVIDER = "reverse_lookup_provider";
889 field public static final java.lang.String SHOW_ALARM_ICON = "show_alarm_icon";
890 field public static final java.lang.String STATUS_BAR_AM_PM = "status_bar_am_pm";
891 field public static final java.lang.String STATUS_BAR_BATTERY_STYLE = "status_bar_battery_style";
892 field public static final java.lang.String STATUS_BAR_BRIGHTNESS_CONTROL = "status_bar_brightness_control";
893 field public static final java.lang.String STATUS_BAR_CLOCK = "status_bar_clock";
894 field public static final java.lang.String STATUS_BAR_IME_SWITCHER = "status_bar_ime_switcher";
895 field public static final java.lang.String STATUS_BAR_NOTIF_COUNT = "status_bar_notif_count";
896 field public static final java.lang.String STATUS_BAR_QUICK_QS_PULLDOWN = "qs_quick_pulldown";
897 field public static final java.lang.String STATUS_BAR_SHOW_BATTERY_PERCENT = "status_bar_show_battery_percent";
898 field public static final java.lang.String STATUS_BAR_SHOW_WEATHER = "status_bar_show_weather";
Zhao Wei Liew33fc2d42016-10-09 09:43:44 +0800899 field public static final java.lang.String STYLUS_ICON_ENABLED = "stylus_icon_enabled";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800900 field public static final java.lang.String SWAP_VOLUME_KEYS_ON_ROTATION = "swap_volume_keys_on_rotation";
Michael Bestase613b862018-01-01 22:37:05 +0200901 field public static final java.lang.String SYSTEMUI_BURNIN_PROTECTION = "systemui_burnin_protection";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800902 field public static final java.lang.String SYSTEM_PROFILES_ENABLED = "system_profiles_enabled";
Sam Mortimer542742b2017-09-18 19:44:11 -0700903 field public static final java.lang.String SYS_PROP_LINEAGE_SETTING_VERSION = "sys.lineage_settings_system_version";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800904 field public static final java.lang.String T9_SEARCH_INPUT_LOCALE = "t9_search_input_locale";
Zhao Wei Liew95264532016-11-19 23:24:44 +0800905 field public static final java.lang.String TORCH_LONG_PRESS_POWER_GESTURE = "torch_long_press_power_gesture";
Sam Mortimerbdea7f52016-12-24 13:06:05 -0800906 field public static final java.lang.String TORCH_LONG_PRESS_POWER_TIMEOUT = "torch_long_press_power_timeout";
Michael Bestas73fafc12016-02-20 01:01:34 +0200907 field public static final java.lang.String TOUCHSCREEN_GESTURE_HAPTIC_FEEDBACK = "touchscreen_gesture_haptic_feedback";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800908 field public static final java.lang.String USE_EDGE_SERVICE_FOR_GESTURES = "edge_service_for_gestures";
909 field public static final java.lang.String VOLBTN_MUSIC_CONTROLS = "volbtn_music_controls";
910 field public static final java.lang.String VOLUME_ADJUST_SOUNDS_ENABLED = "volume_adjust_sounds_enabled";
Zhao Wei Liew77b34c32016-11-20 21:55:10 +0800911 field public static final java.lang.String VOLUME_ANSWER_CALL = "volume_answer_call";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800912 field public static final java.lang.String VOLUME_KEYS_CONTROL_RING_STREAM = "volume_keys_control_ring_stream";
913 field public static final java.lang.String VOLUME_WAKE_SCREEN = "volume_wake_screen";
niks255783463c2016-01-29 12:13:00 +0300914 field public static final java.lang.String ZEN_ALLOW_LIGHTS = "allow_lights";
915 field public static final java.lang.String ZEN_PRIORITY_ALLOW_LIGHTS = "zen_priority_allow_lights";
Yvonne Wong0eb29992015-08-20 16:02:08 -0700916 }
917
Luis Vidal4195a1c2016-03-21 11:56:40 -0700918 public class WeatherContract {
919 ctor public WeatherContract();
Sam Mortimer542742b2017-09-18 19:44:11 -0700920 field public static final java.lang.String AUTHORITY = "org.lineageos.weather";
Luis Vidal4195a1c2016-03-21 11:56:40 -0700921 field public static final android.net.Uri AUTHORITY_URI;
922 }
923
924 public static class WeatherContract.WeatherColumns {
925 ctor public WeatherContract.WeatherColumns();
926 field public static final android.net.Uri CONTENT_URI;
927 field public static final android.net.Uri CURRENT_AND_FORECAST_WEATHER_URI;
928 field public static final java.lang.String CURRENT_CITY = "city";
Luis Vidal4195a1c2016-03-21 11:56:40 -0700929 field public static final java.lang.String CURRENT_CONDITION = "condition";
930 field public static final java.lang.String CURRENT_CONDITION_CODE = "condition_code";
931 field public static final java.lang.String CURRENT_HUMIDITY = "humidity";
932 field public static final java.lang.String CURRENT_TEMPERATURE = "temperature";
933 field public static final java.lang.String CURRENT_TEMPERATURE_UNIT = "temperature_unit";
934 field public static final java.lang.String CURRENT_TIMESTAMP = "timestamp";
935 field public static final android.net.Uri CURRENT_WEATHER_URI;
936 field public static final java.lang.String CURRENT_WIND_DIRECTION = "wind_direction";
937 field public static final java.lang.String CURRENT_WIND_SPEED = "wind_speed";
938 field public static final java.lang.String CURRENT_WIND_SPEED_UNIT = "wind_speed_unit";
939 field public static final java.lang.String FORECAST_CONDITION = "forecast_condition";
940 field public static final java.lang.String FORECAST_CONDITION_CODE = "forecast_condition_code";
941 field public static final java.lang.String FORECAST_HIGH = "forecast_high";
942 field public static final java.lang.String FORECAST_LOW = "forecast_low";
943 field public static final android.net.Uri FORECAST_WEATHER_URI;
Luis Vidalbaaf4a12016-04-06 18:54:27 -0700944 field public static final java.lang.String TODAYS_HIGH_TEMPERATURE = "todays_high";
945 field public static final java.lang.String TODAYS_LOW_TEMPERATURE = "todays_low";
Luis Vidal4195a1c2016-03-21 11:56:40 -0700946 }
947
948 public static final class WeatherContract.WeatherColumns.TempUnit {
949 field public static final int CELSIUS = 1; // 0x1
950 field public static final int FAHRENHEIT = 2; // 0x2
951 }
952
953 public static final class WeatherContract.WeatherColumns.WeatherCode {
954 field public static final int BLOWING_SNOW = 14; // 0xe
955 field public static final int BLUSTERY = 22; // 0x16
956 field public static final int CLEAR_NIGHT = 30; // 0x1e
957 field public static final int CLOUDY = 25; // 0x19
958 field public static final int COLD = 24; // 0x18
959 field public static final int DRIZZLE = 9; // 0x9
960 field public static final int DUST = 18; // 0x12
961 field public static final int FAIR_DAY = 33; // 0x21
962 field public static final int FAIR_NIGHT = 32; // 0x20
963 field public static final int FOGGY = 19; // 0x13
964 field public static final int FREEZING_DRIZZLE = 8; // 0x8
965 field public static final int FREEZING_RAIN = 10; // 0xa
966 field public static final int HAIL = 16; // 0x10
967 field public static final int HAZE = 20; // 0x14
968 field public static final int HEAVY_SNOW = 39; // 0x27
969 field public static final int HOT = 35; // 0x23
970 field public static final int HURRICANE = 2; // 0x2
971 field public static final int ISOLATED_THUNDERSHOWERS = 44; // 0x2c
972 field public static final int ISOLATED_THUNDERSTORMS = 36; // 0x24
973 field public static final int LIGHT_SNOW_SHOWERS = 13; // 0xd
974 field public static final int MIXED_RAIN_AND_HAIL = 34; // 0x22
975 field public static final int MIXED_RAIN_AND_SLEET = 6; // 0x6
976 field public static final int MIXED_RAIN_AND_SNOW = 5; // 0x5
977 field public static final int MIXED_SNOW_AND_SLEET = 7; // 0x7
978 field public static final int MOSTLY_CLOUDY_DAY = 27; // 0x1b
979 field public static final int MOSTLY_CLOUDY_NIGHT = 26; // 0x1a
980 field public static final int NOT_AVAILABLE = 3200; // 0xc80
981 field public static final int PARTLY_CLOUDY = 41; // 0x29
982 field public static final int PARTLY_CLOUDY_DAY = 29; // 0x1d
983 field public static final int PARTLY_CLOUDY_NIGHT = 28; // 0x1c
984 field public static final int SCATTERED_SHOWERS = 38; // 0x26
985 field public static final int SCATTERED_SNOW_SHOWERS = 40; // 0x28
986 field public static final int SCATTERED_THUNDERSTORMS = 37; // 0x25
987 field public static final int SEVERE_THUNDERSTORMS = 3; // 0x3
988 field public static final int SHOWERS = 11; // 0xb
989 field public static final int SLEET = 17; // 0x11
990 field public static final int SMOKY = 21; // 0x15
991 field public static final int SNOW = 15; // 0xf
992 field public static final int SNOW_FLURRIES = 12; // 0xc
993 field public static final int SNOW_SHOWERS = 43; // 0x2b
994 field public static final int SUNNY = 31; // 0x1f
995 field public static final int THUNDERSHOWER = 42; // 0x2a
996 field public static final int THUNDERSTORMS = 4; // 0x4
997 field public static final int TORNADO = 0; // 0x0
998 field public static final int TROPICAL_STORM = 1; // 0x1
999 field public static final int WINDY = 23; // 0x17
1000 }
1001
1002 public static final class WeatherContract.WeatherColumns.WindSpeedUnit {
1003 field public static final int KPH = 1; // 0x1
1004 field public static final int MPH = 2; // 0x2
1005 }
1006
Yvonne Wong0eb29992015-08-20 16:02:08 -07001007}
1008
Joey76fc3d32018-02-22 14:30:42 +01001009package lineageos.style {
1010
1011 public class StyleInterface {
Joey5a72b572018-03-06 17:46:14 +01001012 method public java.lang.String getAccent();
1013 method public int getGlobalStyle();
Joey76fc3d32018-02-22 14:30:42 +01001014 method public static lineageos.style.StyleInterface getInstance(android.content.Context);
1015 method public lineageos.style.Suggestion getSuggestion(android.graphics.Bitmap, int[]);
Joey5a72b572018-03-06 17:46:14 +01001016 method public java.util.List<java.lang.String> getTrustedAccents();
Joeya37b3cd2018-07-05 21:18:18 +02001017 method public boolean isDarkNow();
Joey76fc3d32018-02-22 14:30:42 +01001018 method public boolean setAccent(java.lang.String);
Joey5a72b572018-03-06 17:46:14 +01001019 method public boolean setGlobalStyle(int, java.lang.String);
Joey76fc3d32018-02-22 14:30:42 +01001020 field public static final java.lang.String ACCENT_DEFAULT = "lineageos";
1021 field public static final java.lang.String CHANGE_STYLE_SETTINGS_PERMISSION = "lineageos.permission.CHANGE_STYLE";
1022 field public static final int STYLE_GLOBAL_AUTO_DAYTIME = 1; // 0x1
1023 field public static final int STYLE_GLOBAL_AUTO_WALLPAPER = 0; // 0x0
1024 field public static final int STYLE_GLOBAL_DARK = 3; // 0x3
1025 field public static final int STYLE_GLOBAL_LIGHT = 2; // 0x2
1026 }
1027
1028 public class Suggestion implements android.os.Parcelable {
1029 ctor public Suggestion(int, int);
1030 method public int describeContents();
1031 method public void writeToParcel(android.os.Parcel, int);
1032 field public final int globalStyle;
1033 field public final int selectedAccent;
1034 }
1035
1036}
1037
Joeyc0b21ca2018-04-03 15:42:18 +02001038package lineageos.trust {
1039
1040 public class TrustInterface {
1041 method public static lineageos.trust.TrustInterface getInstance(android.content.Context);
1042 method public int getLevelForFeature(int);
1043 method public boolean postNotificationForFeature(int);
1044 method public boolean removeNotificationForFeature(int);
1045 field public static final int ERROR_UNDEFINED = -1; // 0xffffffff
1046 field public static final int TRUST_FEATURE_ENCRYPTION = 4; // 0x4
Tobias Tefkefa05f272018-06-14 12:04:36 +02001047 field public static final int TRUST_FEATURE_KEYS = 5; // 0x5
Joeyc0b21ca2018-04-03 15:42:18 +02001048 field public static final int TRUST_FEATURE_LEVEL_BAD = 2; // 0x2
1049 field public static final int TRUST_FEATURE_LEVEL_GOOD = 0; // 0x0
1050 field public static final int TRUST_FEATURE_LEVEL_POOR = 1; // 0x1
1051 field public static final int TRUST_FEATURE_PLATFORM_SECURITY_PATCH = 2; // 0x2
1052 field public static final int TRUST_FEATURE_ROOT = 1; // 0x1
1053 field public static final int TRUST_FEATURE_SELINUX = 0; // 0x0
1054 field public static final int TRUST_FEATURE_VENDOR_SECURITY_PATCH = 3; // 0x3
1055 field public static final java.lang.String TRUST_INTERFACE_PERMISSION = "lineageos.permission.TRUST_INTERFACE";
Joeyc8a06b92018-06-30 21:15:37 +02001056 field public static final int TRUST_WARN_PUBLIC_KEY = 4; // 0x4
1057 field public static final int TRUST_WARN_ROOT = 2; // 0x2
1058 field public static final int TRUST_WARN_SELINUX = 1; // 0x1
Joeyc0b21ca2018-04-03 15:42:18 +02001059 }
1060
1061}
1062
Sam Mortimer542742b2017-09-18 19:44:11 -07001063package lineageos.util {
Steve Kondik567b4302016-02-27 12:04:03 +01001064
1065 public class ColorUtils {
1066 ctor public ColorUtils();
1067 method public static double calculateDeltaE(double, double, double, double, double, double);
1068 method public static float[] convertRGBtoLAB(int);
1069 method public static int dropAlpha(int);
1070 method public static int findPerceptuallyNearestColor(int, int[]);
1071 method public static int findPerceptuallyNearestSolidColor(int);
1072 method public static int generateAlertColorFromDrawable(android.graphics.drawable.Drawable);
Steve Kondik987ecb32016-08-29 00:27:00 -07001073 method public static lineageos.util.palette.Palette.Swatch getDominantSwatch(lineageos.util.palette.Palette);
Steve Kondik567b4302016-02-27 12:04:03 +01001074 method public static float[] temperatureToRGB(int);
1075 }
1076
1077}
1078
Sam Mortimer542742b2017-09-18 19:44:11 -07001079package lineageos.weather {
Luis Vidal4195a1c2016-03-21 11:56:40 -07001080
Sam Mortimer542742b2017-09-18 19:44:11 -07001081 public class LineageWeatherManager {
Luis Vidalad0d8c52016-04-12 18:24:27 -07001082 method public void cancelRequest(int);
Luis Vidal4195a1c2016-03-21 11:56:40 -07001083 method public java.lang.String getActiveWeatherServiceProviderLabel();
Sam Mortimer542742b2017-09-18 19:44:11 -07001084 method public static lineageos.weather.LineageWeatherManager getInstance(android.content.Context);
1085 method public int lookupCity(java.lang.String, lineageos.weather.LineageWeatherManager.LookupCityRequestListener);
1086 method public void registerWeatherServiceProviderChangeListener(lineageos.weather.LineageWeatherManager.WeatherServiceProviderChangeListener);
1087 method public int requestWeatherUpdate(android.location.Location, lineageos.weather.LineageWeatherManager.WeatherUpdateRequestListener);
1088 method public int requestWeatherUpdate(lineageos.weather.WeatherLocation, lineageos.weather.LineageWeatherManager.WeatherUpdateRequestListener);
1089 method public void unregisterWeatherServiceProviderChangeListener(lineageos.weather.LineageWeatherManager.WeatherServiceProviderChangeListener);
Luis Vidal4195a1c2016-03-21 11:56:40 -07001090 }
1091
Sam Mortimer542742b2017-09-18 19:44:11 -07001092 public static abstract interface LineageWeatherManager.LookupCityRequestListener {
1093 method public abstract void onLookupCityRequestCompleted(int, java.util.List<lineageos.weather.WeatherLocation>);
Luis Vidalfe1812f2016-04-13 01:08:11 -07001094 }
1095
Sam Mortimer542742b2017-09-18 19:44:11 -07001096 public static final class LineageWeatherManager.RequestStatus {
Luis Vidalfe1812f2016-04-13 01:08:11 -07001097 field public static final int ALREADY_IN_PROGRESS = -3; // 0xfffffffd
1098 field public static final int COMPLETED = 1; // 0x1
1099 field public static final int FAILED = -1; // 0xffffffff
1100 field public static final int NO_MATCH_FOUND = -4; // 0xfffffffc
1101 field public static final int SUBMITTED_TOO_SOON = -2; // 0xfffffffe
Luis Vidal4195a1c2016-03-21 11:56:40 -07001102 }
1103
Sam Mortimer542742b2017-09-18 19:44:11 -07001104 public static abstract interface LineageWeatherManager.WeatherServiceProviderChangeListener {
Luis Vidal4195a1c2016-03-21 11:56:40 -07001105 method public abstract void onWeatherServiceProviderChanged(java.lang.String);
1106 }
1107
Sam Mortimer542742b2017-09-18 19:44:11 -07001108 public static abstract interface LineageWeatherManager.WeatherUpdateRequestListener {
1109 method public abstract void onWeatherRequestCompleted(int, lineageos.weather.WeatherInfo);
Luis Vidal4195a1c2016-03-21 11:56:40 -07001110 }
1111
1112 public final class RequestInfo implements android.os.Parcelable {
1113 method public int describeContents();
1114 method public java.lang.String getCityName();
1115 method public android.location.Location getLocation();
1116 method public int getRequestType();
1117 method public int getTemperatureUnit();
Sam Mortimer542742b2017-09-18 19:44:11 -07001118 method public lineageos.weather.WeatherLocation getWeatherLocation();
Luis Vidal4195a1c2016-03-21 11:56:40 -07001119 method public void writeToParcel(android.os.Parcel, int);
Sam Mortimer542742b2017-09-18 19:44:11 -07001120 field public static final android.os.Parcelable.Creator<lineageos.weather.RequestInfo> CREATOR;
Luis Vidal4195a1c2016-03-21 11:56:40 -07001121 field public static final int TYPE_LOOKUP_CITY_NAME_REQ = 3; // 0x3
Luis Vidal34bf4862016-04-08 13:19:48 -07001122 field public static final int TYPE_WEATHER_BY_GEO_LOCATION_REQ = 1; // 0x1
1123 field public static final int TYPE_WEATHER_BY_WEATHER_LOCATION_REQ = 2; // 0x2
Luis Vidal4195a1c2016-03-21 11:56:40 -07001124 }
1125
1126 public final class WeatherInfo implements android.os.Parcelable {
1127 method public int describeContents();
1128 method public java.lang.String getCity();
Luis Vidal4195a1c2016-03-21 11:56:40 -07001129 method public int getConditionCode();
Sam Mortimer542742b2017-09-18 19:44:11 -07001130 method public java.util.List<lineageos.weather.WeatherInfo.DayForecast> getForecasts();
Luis Vidalbaaf4a12016-04-06 18:54:27 -07001131 method public double getHumidity();
1132 method public double getTemperature();
Luis Vidal4195a1c2016-03-21 11:56:40 -07001133 method public int getTemperatureUnit();
1134 method public long getTimestamp();
Luis Vidalbaaf4a12016-04-06 18:54:27 -07001135 method public double getTodaysHigh();
1136 method public double getTodaysLow();
1137 method public double getWindDirection();
1138 method public double getWindSpeed();
Luis Vidal4195a1c2016-03-21 11:56:40 -07001139 method public int getWindSpeedUnit();
1140 method public void writeToParcel(android.os.Parcel, int);
Sam Mortimer542742b2017-09-18 19:44:11 -07001141 field public static final android.os.Parcelable.Creator<lineageos.weather.WeatherInfo> CREATOR;
Luis Vidal4195a1c2016-03-21 11:56:40 -07001142 }
1143
1144 public static class WeatherInfo.Builder {
Luis Vidalbaaf4a12016-04-06 18:54:27 -07001145 ctor public WeatherInfo.Builder(java.lang.String, double, int);
Sam Mortimer542742b2017-09-18 19:44:11 -07001146 method public lineageos.weather.WeatherInfo build();
1147 method public lineageos.weather.WeatherInfo.Builder setForecast(java.util.List<lineageos.weather.WeatherInfo.DayForecast>);
1148 method public lineageos.weather.WeatherInfo.Builder setHumidity(double);
1149 method public lineageos.weather.WeatherInfo.Builder setTimestamp(long);
1150 method public lineageos.weather.WeatherInfo.Builder setTodaysHigh(double);
1151 method public lineageos.weather.WeatherInfo.Builder setTodaysLow(double);
1152 method public lineageos.weather.WeatherInfo.Builder setWeatherCondition(int);
1153 method public lineageos.weather.WeatherInfo.Builder setWind(double, double, int);
Luis Vidal4195a1c2016-03-21 11:56:40 -07001154 }
1155
1156 public static class WeatherInfo.DayForecast implements android.os.Parcelable {
1157 method public int describeContents();
1158 method public int getConditionCode();
Luis Vidalbaaf4a12016-04-06 18:54:27 -07001159 method public double getHigh();
1160 method public double getLow();
Luis Vidal4195a1c2016-03-21 11:56:40 -07001161 method public void writeToParcel(android.os.Parcel, int);
Sam Mortimer542742b2017-09-18 19:44:11 -07001162 field public static final android.os.Parcelable.Creator<lineageos.weather.WeatherInfo.DayForecast> CREATOR;
Luis Vidal4195a1c2016-03-21 11:56:40 -07001163 }
1164
1165 public static class WeatherInfo.DayForecast.Builder {
Luis Vidalbaaf4a12016-04-06 18:54:27 -07001166 ctor public WeatherInfo.DayForecast.Builder(int);
Sam Mortimer542742b2017-09-18 19:44:11 -07001167 method public lineageos.weather.WeatherInfo.DayForecast build();
1168 method public lineageos.weather.WeatherInfo.DayForecast.Builder setHigh(double);
1169 method public lineageos.weather.WeatherInfo.DayForecast.Builder setLow(double);
Luis Vidal4195a1c2016-03-21 11:56:40 -07001170 }
1171
1172 public final class WeatherLocation implements android.os.Parcelable {
1173 method public int describeContents();
1174 method public java.lang.String getCity();
1175 method public java.lang.String getCityId();
1176 method public java.lang.String getCountry();
1177 method public java.lang.String getCountryId();
1178 method public java.lang.String getPostalCode();
Luis Vidal06d5c892016-04-06 18:07:31 -07001179 method public java.lang.String getState();
Luis Vidal4195a1c2016-03-21 11:56:40 -07001180 method public void writeToParcel(android.os.Parcel, int);
Sam Mortimer542742b2017-09-18 19:44:11 -07001181 field public static final android.os.Parcelable.Creator<lineageos.weather.WeatherLocation> CREATOR;
Luis Vidal4195a1c2016-03-21 11:56:40 -07001182 }
1183
1184 public static class WeatherLocation.Builder {
1185 ctor public WeatherLocation.Builder(java.lang.String, java.lang.String);
Luis Vidalad0d8c52016-04-12 18:24:27 -07001186 ctor public WeatherLocation.Builder(java.lang.String);
Sam Mortimer542742b2017-09-18 19:44:11 -07001187 method public lineageos.weather.WeatherLocation build();
1188 method public lineageos.weather.WeatherLocation.Builder setCountry(java.lang.String);
1189 method public lineageos.weather.WeatherLocation.Builder setCountryId(java.lang.String);
1190 method public lineageos.weather.WeatherLocation.Builder setPostalCode(java.lang.String);
1191 method public lineageos.weather.WeatherLocation.Builder setState(java.lang.String);
Luis Vidal4195a1c2016-03-21 11:56:40 -07001192 }
1193
1194}
1195
Sam Mortimer542742b2017-09-18 19:44:11 -07001196package lineageos.weatherservice {
Luis Vidal4195a1c2016-03-21 11:56:40 -07001197
1198 public final class ServiceRequest {
Sam Mortimer542742b2017-09-18 19:44:11 -07001199 method public void complete(lineageos.weatherservice.ServiceRequestResult);
Luis Vidal4195a1c2016-03-21 11:56:40 -07001200 method public void fail();
Sam Mortimer542742b2017-09-18 19:44:11 -07001201 method public lineageos.weather.RequestInfo getRequestInfo();
Luis Vidalfe1812f2016-04-13 01:08:11 -07001202 method public void reject(int);
Luis Vidal4195a1c2016-03-21 11:56:40 -07001203 }
1204
1205 public final class ServiceRequestResult implements android.os.Parcelable {
1206 method public int describeContents();
Sam Mortimer542742b2017-09-18 19:44:11 -07001207 method public java.util.List<lineageos.weather.WeatherLocation> getLocationLookupList();
1208 method public lineageos.weather.WeatherInfo getWeatherInfo();
Luis Vidal4195a1c2016-03-21 11:56:40 -07001209 method public void writeToParcel(android.os.Parcel, int);
Sam Mortimer542742b2017-09-18 19:44:11 -07001210 field public static final android.os.Parcelable.Creator<lineageos.weatherservice.ServiceRequestResult> CREATOR;
Luis Vidal4195a1c2016-03-21 11:56:40 -07001211 }
1212
1213 public static class ServiceRequestResult.Builder {
1214 ctor public ServiceRequestResult.Builder();
Sam Mortimer542742b2017-09-18 19:44:11 -07001215 ctor public ServiceRequestResult.Builder(lineageos.weather.WeatherInfo);
1216 ctor public ServiceRequestResult.Builder(java.util.List<lineageos.weather.WeatherLocation>);
1217 method public lineageos.weatherservice.ServiceRequestResult build();
Luis Vidal4195a1c2016-03-21 11:56:40 -07001218 }
1219
1220 public abstract class WeatherProviderService extends android.app.Service {
1221 ctor public WeatherProviderService();
1222 method protected final void attachBaseContext(android.content.Context);
1223 method public final android.os.IBinder onBind(android.content.Intent);
1224 method protected void onConnected();
1225 method protected void onDisconnected();
Sam Mortimer542742b2017-09-18 19:44:11 -07001226 method protected abstract void onRequestCancelled(lineageos.weatherservice.ServiceRequest);
1227 method protected abstract void onRequestSubmitted(lineageos.weatherservice.ServiceRequest);
1228 field public static final java.lang.String SERVICE_INTERFACE = "lineageos.weatherservice.WeatherProviderService";
1229 field public static final java.lang.String SERVICE_META_DATA = "lineageos.weatherservice";
Luis Vidal4195a1c2016-03-21 11:56:40 -07001230 }
1231
1232}
1233