blob: 3b12335a94b8a1e24ed98406d10026fda2ec36d5 [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();
Adnan Begoviceddb89c2015-07-13 14:00:20 -070013 method public java.lang.String getName();
Adnan Begoviccdf4d0d2016-02-10 18:14:35 -080014 method public int getNotificationLightMode();
Adnan Begoviceddb89c2015-07-13 14:00:20 -070015 method public int getProfileType();
Sam Mortimer542742b2017-09-18 19:44:11 -070016 method public lineageos.profiles.RingModeSettings getRingMode();
17 method public lineageos.profiles.LockSettings getScreenLockMode();
Adnan Begoviceddb89c2015-07-13 14:00:20 -070018 method public java.util.UUID[] getSecondaryUuids();
Sam Mortimer542742b2017-09-18 19:44:11 -070019 method public lineageos.profiles.ConnectionSettings getSettingsForConnection(int);
20 method public lineageos.profiles.StreamSettings getSettingsForStream(int);
21 method public java.util.Collection<lineageos.profiles.StreamSettings> getStreamSettings();
Adnan Begoviceddb89c2015-07-13 14:00:20 -070022 method public int getTriggerState(int, java.lang.String);
Sam Mortimer542742b2017-09-18 19:44:11 -070023 method public java.util.ArrayList<lineageos.app.Profile.ProfileTrigger> getTriggersFromType(int);
Adnan Begoviceddb89c2015-07-13 14:00:20 -070024 method public java.util.UUID getUuid();
25 method public boolean isConditionalType();
Sam Mortimer542742b2017-09-18 19:44:11 -070026 method public void setAirplaneMode(lineageos.profiles.AirplaneModeSettings);
27 method public void setBrightness(lineageos.profiles.BrightnessSettings);
28 method public void setConnectionSettings(lineageos.profiles.ConnectionSettings);
Adnan Begoviceddb89c2015-07-13 14:00:20 -070029 method public void setDozeMode(int);
Adnan Begoviceddb89c2015-07-13 14:00:20 -070030 method public void setName(java.lang.String);
Adnan Begoviccdf4d0d2016-02-10 18:14:35 -080031 method public void setNotificationLightMode(int);
Adnan Begoviceddb89c2015-07-13 14:00:20 -070032 method public void setProfileType(int);
Sam Mortimer542742b2017-09-18 19:44:11 -070033 method public void setRingMode(lineageos.profiles.RingModeSettings);
34 method public void setScreenLockMode(lineageos.profiles.LockSettings);
Adnan Begoviceddb89c2015-07-13 14:00:20 -070035 method public void setSecondaryUuids(java.util.List<java.util.UUID>);
Sam Mortimer542742b2017-09-18 19:44:11 -070036 method public void setStreamSettings(lineageos.profiles.StreamSettings);
37 method public void setTrigger(lineageos.app.Profile.ProfileTrigger);
Adnan Begoviceddb89c2015-07-13 14:00:20 -070038 method public void writeToParcel(android.os.Parcel, int);
39 }
40
41 public static class Profile.DozeMode {
42 ctor public Profile.DozeMode();
43 field public static final int DEFAULT = 0; // 0x0
44 field public static final int DISABLE = 2; // 0x2
45 field public static final int ENABLE = 1; // 0x1
46 }
47
Adnan Begoviceddb89c2015-07-13 14:00:20 -070048 public static class Profile.LockMode {
49 ctor public Profile.LockMode();
50 field public static final int DEFAULT = 0; // 0x0
51 field public static final int DISABLE = 2; // 0x2
52 field public static final int INSECURE = 1; // 0x1
53 }
54
Adnan Begoviccdf4d0d2016-02-10 18:14:35 -080055 public static class Profile.NotificationLightMode {
56 ctor public Profile.NotificationLightMode();
57 field public static final int DEFAULT = 0; // 0x0
58 field public static final int DISABLE = 2; // 0x2
59 field public static final int ENABLE = 1; // 0x1
60 }
61
Adnan Begoviceddb89c2015-07-13 14:00:20 -070062 public static class Profile.ProfileTrigger implements android.os.Parcelable {
Adnan Begovic8481cec2015-08-04 16:45:26 -070063 ctor public Profile.ProfileTrigger(int, java.lang.String, int, java.lang.String);
Adnan Begoviceddb89c2015-07-13 14:00:20 -070064 method public int describeContents();
65 method public java.lang.String getId();
66 method public java.lang.String getName();
67 method public int getState();
68 method public int getType();
69 method public void writeToParcel(android.os.Parcel, int);
70 }
71
72 public static class Profile.TriggerState {
73 ctor public Profile.TriggerState();
74 field public static final int DISABLED = 2; // 0x2
75 field public static final int ON_A2DP_CONNECT = 3; // 0x3
76 field public static final int ON_A2DP_DISCONNECT = 4; // 0x4
77 field public static final int ON_CONNECT = 0; // 0x0
78 field public static final int ON_DISCONNECT = 1; // 0x1
79 }
80
81 public static class Profile.TriggerType {
82 ctor public Profile.TriggerType();
83 field public static final int BLUETOOTH = 1; // 0x1
84 field public static final int WIFI = 0; // 0x0
85 }
86
87 public static class Profile.Type {
88 ctor public Profile.Type();
89 field public static final int CONDITIONAL = 1; // 0x1
90 field public static final int TOGGLE = 0; // 0x0
91 }
92
93 public class ProfileManager {
Sam Mortimer542742b2017-09-18 19:44:11 -070094 method public void addProfile(lineageos.app.Profile);
95 method public lineageos.app.Profile getActiveProfile();
96 method public static lineageos.app.ProfileManager getInstance(android.content.Context);
Sam Mortimer542742b2017-09-18 19:44:11 -070097 method public lineageos.app.Profile getProfile(java.util.UUID);
Adnan Begoviceddb89c2015-07-13 14:00:20 -070098 method public java.lang.String[] getProfileNames();
Sam Mortimer542742b2017-09-18 19:44:11 -070099 method public lineageos.app.Profile[] getProfiles();
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800100 method public boolean isProfilesEnabled();
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700101 method public boolean profileExists(java.lang.String);
102 method public boolean profileExists(java.util.UUID);
Sam Mortimer542742b2017-09-18 19:44:11 -0700103 method public void removeProfile(lineageos.app.Profile);
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700104 method public void resetAll();
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700105 method public void setActiveProfile(java.util.UUID);
Sam Mortimer542742b2017-09-18 19:44:11 -0700106 method public void updateProfile(lineageos.app.Profile);
107 field public static final java.lang.String ACTION_PROFILE_PICKER = "lineageos.platform.intent.action.PROFILE_PICKER";
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700108 field public static final java.lang.String EXTRA_LAST_PROFILE_NAME = "lastName";
Roman Birg45f57c52016-03-17 15:29:22 -0700109 field public static final java.lang.String EXTRA_LAST_PROFILE_UUID = "lastUuid";
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700110 field public static final java.lang.String EXTRA_PROFILES_STATE = "profile_state";
Sam Mortimer542742b2017-09-18 19:44:11 -0700111 field public static final java.lang.String EXTRA_PROFILE_DIALOG_THEME = "lineageos.platform.intent.extra.profile.DIALOG_THEME";
112 field public static final java.lang.String EXTRA_PROFILE_EXISTING_UUID = "lineageos.platform.extra.profile.EXISTING_UUID";
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700113 field public static final java.lang.String EXTRA_PROFILE_NAME = "name";
Sam Mortimer542742b2017-09-18 19:44:11 -0700114 field public static final java.lang.String EXTRA_PROFILE_PICKED_UUID = "lineageos.platform.intent.extra.profile.PICKED_UUID";
115 field public static final java.lang.String EXTRA_PROFILE_SHOW_NONE = "lineageos.platform.intent.extra.profile.SHOW_NONE";
116 field public static final java.lang.String EXTRA_PROFILE_TITLE = "lineageos.platform.intent.extra.profile.TITLE";
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700117 field public static final java.lang.String EXTRA_PROFILE_UUID = "uuid";
Sam Mortimer542742b2017-09-18 19:44:11 -0700118 field public static final java.lang.String INTENT_ACTION_PROFILE_SELECTED = "lineageos.platform.intent.action.PROFILE_SELECTED";
119 field public static final java.lang.String INTENT_ACTION_PROFILE_UPDATED = "lineageos.platform.intent.action.PROFILE_UPDATED";
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700120 field public static final java.util.UUID NO_PROFILE;
Sam Mortimer542742b2017-09-18 19:44:11 -0700121 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 -0700122 field public static final int PROFILES_STATE_DISABLED = 0; // 0x0
123 field public static final int PROFILES_STATE_ENABLED = 1; // 0x1
124 }
125
Adnan Begovic273f2db2015-05-28 19:47:47 -0700126}
127
Sam Mortimer542742b2017-09-18 19:44:11 -0700128package lineageos.content {
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800129
130 public class Intent {
131 ctor public Intent();
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800132 }
133
134}
135
Sam Mortimer542742b2017-09-18 19:44:11 -0700136package lineageos.hardware {
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700137
Michael Bestase613b862018-01-01 22:37:05 +0200138 public class DisplayMode implements android.os.Parcelable {
139 ctor public DisplayMode(int, java.lang.String);
140 method public int describeContents();
141 method public void writeToParcel(android.os.Parcel, int);
142 field public final int id;
143 field public final java.lang.String name;
144 }
145
146 public class HSIC implements android.os.Parcelable {
147 ctor public HSIC(float, float, float, float, float);
148 method public int describeContents();
149 method public java.lang.String flatten();
150 method public static lineageos.hardware.HSIC fromFloatArray(float[]);
151 method public float getContrast();
152 method public float getHue();
153 method public float getIntensity();
154 method public float getSaturation();
155 method public float getSaturationThreshold();
156 method public float[] toFloatArray();
157 method public int[] toRGB();
158 method public static lineageos.hardware.HSIC unflattenFrom(java.lang.String) throws java.lang.NumberFormatException;
159 method public void writeToParcel(android.os.Parcel, int);
160 }
161
Sam Mortimer542742b2017-09-18 19:44:11 -0700162 public final class LineageHardwareManager {
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700163 method public boolean get(int);
Steve Kondik86cae922016-07-18 02:36:42 -0700164 method public int getColorBalance();
165 method public android.util.Range<java.lang.Integer> getColorBalanceRange();
Sam Mortimer542742b2017-09-18 19:44:11 -0700166 method public lineageos.hardware.DisplayMode getCurrentDisplayMode();
167 method public lineageos.hardware.DisplayMode getDefaultDisplayMode();
168 method public lineageos.hardware.HSIC getDefaultPictureAdjustment();
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700169 method public int[] getDisplayColorCalibration();
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700170 method public int getDisplayColorCalibrationMax();
171 method public int getDisplayColorCalibrationMin();
Sam Mortimer542742b2017-09-18 19:44:11 -0700172 method public lineageos.hardware.DisplayMode[] getDisplayModes();
Sam Mortimer542742b2017-09-18 19:44:11 -0700173 method public static lineageos.hardware.LineageHardwareManager getInstance(android.content.Context);
Sam Mortimer542742b2017-09-18 19:44:11 -0700174 method public lineageos.hardware.HSIC getPictureAdjustment();
Steve Kondik87590f02016-07-20 11:20:02 -0700175 method public java.util.List<android.util.Range<java.lang.Float>> getPictureAdjustmentRanges();
Michael Bestase613b862018-01-01 22:37:05 +0200176 method public lineageos.hardware.TouchscreenGesture[] getTouchscreenGestures();
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700177 method public int getVibratorDefaultIntensity();
178 method public int getVibratorIntensity();
179 method public int getVibratorMaxIntensity();
180 method public int getVibratorMinIntensity();
181 method public int getVibratorWarningIntensity();
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800182 method public boolean isSunlightEnhancementSelfManaged();
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700183 method public boolean isSupported(int);
184 method public boolean requireAdaptiveBacklightForSunlightEnhancement();
185 method public boolean set(int, boolean);
Steve Kondik86cae922016-07-18 02:36:42 -0700186 method public boolean setColorBalance(int);
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700187 method public boolean setDisplayColorCalibration(int[]);
Sam Mortimer542742b2017-09-18 19:44:11 -0700188 method public boolean setDisplayMode(lineageos.hardware.DisplayMode, boolean);
189 method public boolean setPictureAdjustment(lineageos.hardware.HSIC);
190 method public boolean setTouchscreenGestureEnabled(lineageos.hardware.TouchscreenGesture, boolean);
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700191 method public boolean setVibratorIntensity(int);
192 field public static final int FEATURE_ADAPTIVE_BACKLIGHT = 1; // 0x1
Arian5f3ded72020-07-29 16:01:55 +0200193 field public static final int FEATURE_ANTI_FLICKER = 2097152; // 0x200000
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700194 field public static final int FEATURE_AUTO_CONTRAST = 4096; // 0x1000
Steve Kondik86cae922016-07-18 02:36:42 -0700195 field public static final int FEATURE_COLOR_BALANCE = 131072; // 0x20000
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700196 field public static final int FEATURE_COLOR_ENHANCEMENT = 2; // 0x2
197 field public static final int FEATURE_DISPLAY_COLOR_CALIBRATION = 4; // 0x4
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700198 field public static final int FEATURE_DISPLAY_MODES = 8192; // 0x2000
Ramii Ahmeda7262012021-07-06 07:41:17 +0000199 field public static final int FEATURE_HIGH_TOUCH_POLLING_RATE = 8; // 0x8
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700200 field public static final int FEATURE_HIGH_TOUCH_SENSITIVITY = 16; // 0x10
201 field public static final int FEATURE_KEY_DISABLE = 32; // 0x20
Arian056187e2021-01-03 16:49:50 +0100202 field public static final int FEATURE_KEY_SWAP = 64; // 0x40
Steve Kondik87590f02016-07-20 11:20:02 -0700203 field public static final int FEATURE_PICTURE_ADJUSTMENT = 262144; // 0x40000
Luca Stefani55962102018-07-02 10:10:34 +0200204 field public static final int FEATURE_READING_ENHANCEMENT = 16384; // 0x4000
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700205 field public static final int FEATURE_SUNLIGHT_ENHANCEMENT = 256; // 0x100
Zhao Wei Liewcfaf39e2016-11-17 23:36:25 +0800206 field public static final int FEATURE_TOUCHSCREEN_GESTURES = 524288; // 0x80000
Michael Bestase613b862018-01-01 22:37:05 +0200207 field public static final int FEATURE_TOUCH_HOVERING = 2048; // 0x800
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700208 field public static final int FEATURE_VIBRATOR = 1024; // 0x400
209 }
210
Steve Kondik1dab5a02016-03-31 11:23:36 -0700211 public class LiveDisplayConfig implements android.os.Parcelable {
Steve Kondik87590f02016-07-20 11:20:02 -0700212 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 -0700213 method public int describeContents();
Steve Kondik86cae922016-07-18 02:36:42 -0700214 method public android.util.Range<java.lang.Integer> getColorBalanceRange();
215 method public android.util.Range<java.lang.Integer> getColorTemperatureRange();
Steve Kondik87590f02016-07-20 11:20:02 -0700216 method public android.util.Range<java.lang.Float> getContrastRange();
Steve Kondik1dab5a02016-03-31 11:23:36 -0700217 method public boolean getDefaultAutoContrast();
218 method public boolean getDefaultAutoOutdoorMode();
219 method public boolean getDefaultCABC();
220 method public boolean getDefaultColorEnhancement();
221 method public int getDefaultDayTemperature();
222 method public int getDefaultMode();
223 method public int getDefaultNightTemperature();
Steve Kondik87590f02016-07-20 11:20:02 -0700224 method public android.util.Range<java.lang.Float> getHueRange();
225 method public android.util.Range<java.lang.Float> getIntensityRange();
226 method public java.util.List<android.util.Range<java.lang.Float>> getPictureAdjustmentRanges();
227 method public android.util.Range<java.lang.Float> getSaturationRange();
228 method public android.util.Range<java.lang.Float> getSaturationThresholdRange();
Steve Kondik1dab5a02016-03-31 11:23:36 -0700229 method public boolean hasFeature(int);
Steve Kondik0ec60c62016-04-15 02:38:42 -0700230 method public boolean hasModeSupport();
Steve Kondik1dab5a02016-03-31 11:23:36 -0700231 method public boolean isAvailable();
232 method public void writeToParcel(android.os.Parcel, int);
233 }
234
235 public class LiveDisplayManager {
236 method public float[] getColorAdjustment();
Sam Mortimer542742b2017-09-18 19:44:11 -0700237 method public lineageos.hardware.LiveDisplayConfig getConfig();
Steve Kondik1dab5a02016-03-31 11:23:36 -0700238 method public int getDayColorTemperature();
Sam Mortimer542742b2017-09-18 19:44:11 -0700239 method public lineageos.hardware.HSIC getDefaultPictureAdjustment();
240 method public static synchronized lineageos.hardware.LiveDisplayManager getInstance(android.content.Context);
Steve Kondik1dab5a02016-03-31 11:23:36 -0700241 method public int getMode();
242 method public int getNightColorTemperature();
Sam Mortimer542742b2017-09-18 19:44:11 -0700243 method public lineageos.hardware.HSIC getPictureAdjustment();
Arian5f3ded72020-07-29 16:01:55 +0200244 method public boolean isAntiFlickerEnabled();
Steve Kondik1dab5a02016-03-31 11:23:36 -0700245 method public boolean isAutoContrastEnabled();
246 method public boolean isAutomaticOutdoorModeEnabled();
247 method public boolean isCABCEnabled();
248 method public boolean isColorEnhancementEnabled();
Joey76fc3d32018-02-22 14:30:42 +0100249 method public boolean isNightModeEnabled();
Steve Kondik1dab5a02016-03-31 11:23:36 -0700250 method public boolean setAutoContrastEnabled(boolean);
251 method public boolean setAutomaticOutdoorModeEnabled(boolean);
252 method public boolean setCABCEnabled(boolean);
253 method public boolean setColorAdjustment(float[]);
254 method public boolean setColorEnhancementEnabled(boolean);
255 method public boolean setDayColorTemperature(int);
256 method public boolean setMode(int);
257 method public boolean setNightColorTemperature(int);
Sam Mortimer542742b2017-09-18 19:44:11 -0700258 method public boolean setPictureAdjustment(lineageos.hardware.HSIC);
Steve Kondik87590f02016-07-20 11:20:02 -0700259 field public static final int ADJUSTMENT_CONTRAST = 3; // 0x3
260 field public static final int ADJUSTMENT_HUE = 0; // 0x0
261 field public static final int ADJUSTMENT_INTENSITY = 2; // 0x2
262 field public static final int ADJUSTMENT_SATURATION = 1; // 0x1
Arian5f3ded72020-07-29 16:01:55 +0200263 field public static final int FEATURE_ANTI_FLICKER = 19; // 0x13
Steve Kondik1dab5a02016-03-31 11:23:36 -0700264 field public static final int FEATURE_AUTO_CONTRAST = 11; // 0xb
265 field public static final int FEATURE_CABC = 10; // 0xa
266 field public static final int FEATURE_COLOR_ADJUSTMENT = 13; // 0xd
Steve Kondik86cae922016-07-18 02:36:42 -0700267 field public static final int FEATURE_COLOR_BALANCE = 16; // 0x10
Steve Kondik1dab5a02016-03-31 11:23:36 -0700268 field public static final int FEATURE_COLOR_ENHANCEMENT = 12; // 0xc
269 field public static final int FEATURE_DISPLAY_MODES = 15; // 0xf
270 field public static final int FEATURE_MANAGED_OUTDOOR_MODE = 14; // 0xe
Steve Kondik87590f02016-07-20 11:20:02 -0700271 field public static final int FEATURE_PICTURE_ADJUSTMENT = 17; // 0x11
Luca Stefani55962102018-07-02 10:10:34 +0200272 field public static final int FEATURE_READING_ENHANCEMENT = 18; // 0x12
Steve Kondik1dab5a02016-03-31 11:23:36 -0700273 field public static final int MODE_AUTO = 2; // 0x2
274 field public static final int MODE_DAY = 4; // 0x4
275 field public static final int MODE_NIGHT = 1; // 0x1
276 field public static final int MODE_OFF = 0; // 0x0
277 field public static final int MODE_OUTDOOR = 3; // 0x3
278 }
279
Michael Bestase613b862018-01-01 22:37:05 +0200280 public class TouchscreenGesture implements android.os.Parcelable {
281 ctor public TouchscreenGesture(int, java.lang.String, int);
282 method public int describeContents();
283 method public void writeToParcel(android.os.Parcel, int);
284 field public final int id;
285 field public final int keycode;
286 field public final java.lang.String name;
287 }
288
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700289}
290
Sam Mortimer542742b2017-09-18 19:44:11 -0700291package lineageos.os {
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700292
293 public class Build {
294 ctor public Build();
295 method public static java.lang.String getNameForSDKInt(int);
Sam Mortimer542742b2017-09-18 19:44:11 -0700296 field public static final java.lang.String LINEAGEOS_DISPLAY_VERSION;
297 field public static final java.lang.String LINEAGEOS_VERSION;
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700298 field public static final java.lang.String UNKNOWN = "unknown";
299 }
300
Sam Mortimer542742b2017-09-18 19:44:11 -0700301 public static class Build.LINEAGE_VERSION {
302 ctor public Build.LINEAGE_VERSION();
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700303 field public static final int SDK_INT;
304 }
305
Sam Mortimer542742b2017-09-18 19:44:11 -0700306 public static class Build.LINEAGE_VERSION_CODES {
307 ctor public Build.LINEAGE_VERSION_CODES();
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700308 field public static final int APRICOT = 1; // 0x1
Adnan Begovicf9ec3a42015-07-13 16:46:23 -0700309 field public static final int BOYSENBERRY = 2; // 0x2
Roman Birgd29499d2015-12-23 09:32:13 -0800310 field public static final int CANTALOUPE = 3; // 0x3
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800311 field public static final int DRAGON_FRUIT = 4; // 0x4
Adnan Begovic1d2351e2016-02-09 11:12:38 -0800312 field public static final int ELDERBERRY = 5; // 0x5
Adnan Begovic6b879f32016-04-01 15:39:53 -0700313 field public static final int FIG = 6; // 0x6
Steve Kondikaac8bdc2016-09-04 04:35:09 -0700314 field public static final int GUAVA = 7; // 0x7
Michael Bestase613b862018-01-01 22:37:05 +0200315 field public static final int HACKBERRY = 8; // 0x8
Joeyc0b21ca2018-04-03 15:42:18 +0200316 field public static final int ILAMA = 9; // 0x9
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700317 }
318
Adnan Begovicdf4486f2016-04-01 10:55:04 -0700319 public final class Concierge {
Sam Mortimer542742b2017-09-18 19:44:11 -0700320 method public static lineageos.os.Concierge.ParcelInfo prepareParcel(android.os.Parcel);
321 method public static lineageos.os.Concierge.ParcelInfo receiveParcel(android.os.Parcel);
Adnan Begovicdf4486f2016-04-01 10:55:04 -0700322 }
323
324 public static final class Concierge.ParcelInfo {
325 method public void complete();
326 method public int getParcelVersion();
327 }
328
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700329}
330
Sam Mortimer542742b2017-09-18 19:44:11 -0700331package lineageos.platform {
Adnan Begovic273f2db2015-05-28 19:47:47 -0700332
333 public final class Manifest {
334 ctor public Manifest();
335 }
336
337 public static final class Manifest.permission {
338 ctor public Manifest.permission();
Sam Mortimer542742b2017-09-18 19:44:11 -0700339 field public static final java.lang.String HARDWARE_ABSTRACTION_ACCESS = "lineageos.permission.HARDWARE_ABSTRACTION_ACCESS";
Sam Mortimer542742b2017-09-18 19:44:11 -0700340 field public static final java.lang.String MANAGE_LIVEDISPLAY = "lineageos.permission.MANAGE_LIVEDISPLAY";
Sam Mortimer542742b2017-09-18 19:44:11 -0700341 field public static final java.lang.String MANAGE_REMOTE_PREFERENCES = "lineageos.permission.MANAGE_REMOTE_PREFERENCES";
Sam Mortimer542742b2017-09-18 19:44:11 -0700342 field public static final java.lang.String MODIFY_PROFILES = "lineageos.permission.MODIFY_PROFILES";
Joeyc0b21ca2018-04-03 15:42:18 +0200343 field public static final java.lang.String TRUST_INTERFACE = "lineageos.permission.TRUST_INTERFACE";
Sam Mortimer542742b2017-09-18 19:44:11 -0700344 field public static final java.lang.String WRITE_SECURE_SETTINGS = "lineageos.permission.WRITE_SECURE_SETTINGS";
345 field public static final java.lang.String WRITE_SETTINGS = "lineageos.permission.WRITE_SETTINGS";
Adnan Begovic273f2db2015-05-28 19:47:47 -0700346 }
347
348 public final class R {
349 ctor public R();
350 }
351
Joey76fc3d32018-02-22 14:30:42 +0100352 public static final class R.anim {
353 ctor public R.anim();
354 }
355
herriojre78ca4d2015-09-08 13:59:20 -0700356 public static final class R.array {
357 ctor public R.array();
358 }
359
Adnan Begovic273f2db2015-05-28 19:47:47 -0700360 public static final class R.attr {
361 ctor public R.attr();
Steve Kondik78079ea2016-10-11 08:16:38 -0700362 field public static final int minSummaryLines = 1057030154; // 0x3f01000a
363 field public static final int replacesKey = 1057030153; // 0x3f010009
364 field public static final int requiresAction = 1057030152; // 0x3f010008
Steve Kondik2d61e0c2016-09-15 05:16:42 -0700365 field public static final int requiresConfig = 1057030148; // 0x3f010004
Sam Mortimer3c54d582017-10-20 17:24:54 -0700366 field public static final int requiresConfigMask = 1057030155; // 0x3f01000b
Steve Kondik2d61e0c2016-09-15 05:16:42 -0700367 field public static final int requiresFeature = 1057030147; // 0x3f010003
Steve Kondik5d085192016-09-25 23:17:49 -0700368 field public static final int requiresOwner = 1057030150; // 0x3f010006
Steve Kondik2d61e0c2016-09-15 05:16:42 -0700369 field public static final int requiresPackage = 1057030146; // 0x3f010002
370 field public static final int requiresProperty = 1057030149; // 0x3f010005
Steve Kondik0452eba2016-10-07 00:16:11 -0700371 field public static final int xmlRes = 1057030151; // 0x3f010007
Adnan Begovic273f2db2015-05-28 19:47:47 -0700372 }
373
herriojre78ca4d2015-09-08 13:59:20 -0700374 public static final class R.bool {
375 ctor public R.bool();
376 }
377
Luca Stefani55962102018-07-02 10:10:34 +0200378 public static final class R.color {
379 ctor public R.color();
380 }
381
Joey76fc3d32018-02-22 14:30:42 +0100382 public static final class R.dimen {
383 ctor public R.dimen();
384 }
385
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700386 public static final class R.drawable {
387 ctor public R.drawable();
388 }
389
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800390 public static final class R.integer {
391 ctor public R.integer();
392 }
393
Adnan Begovic273f2db2015-05-28 19:47:47 -0700394 public static final class R.string {
395 ctor public R.string();
396 }
397
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700398 public static final class R.xml {
399 ctor public R.xml();
400 }
401
402}
403
Sam Mortimer542742b2017-09-18 19:44:11 -0700404package lineageos.preference {
Steve Kondik7be730b2016-09-08 13:39:43 -0700405
Michael Bestase613b862018-01-01 22:37:05 +0200406 public class GlobalSettingSwitchPreference extends lineageos.preference.SelfRemovingSwitchPreference {
407 ctor public GlobalSettingSwitchPreference(android.content.Context, android.util.AttributeSet, int);
408 ctor public GlobalSettingSwitchPreference(android.content.Context, android.util.AttributeSet);
409 ctor public GlobalSettingSwitchPreference(android.content.Context);
410 }
411
Sam Mortimer542742b2017-09-18 19:44:11 -0700412 public class LineageGlobalSettingSwitchPreference extends lineageos.preference.SelfRemovingSwitchPreference {
413 ctor public LineageGlobalSettingSwitchPreference(android.content.Context, android.util.AttributeSet, int);
414 ctor public LineageGlobalSettingSwitchPreference(android.content.Context, android.util.AttributeSet);
415 ctor public LineageGlobalSettingSwitchPreference(android.content.Context);
Steve Kondik7be730b2016-09-08 13:39:43 -0700416 }
417
Oliver Scottff5e7162021-12-30 15:00:00 +0100418 public class LineageGlobalSettingListPreference extends lineageos.preference.SelfRemovingListPreference {
419 ctor public LineageGlobalSettingListPreference(android.content.Context, android.util.AttributeSet, int);
420 ctor public LineageGlobalSettingListPreference(android.content.Context, android.util.AttributeSet);
421 method public int getIntValue(int);
422 }
423
Sam Mortimer542742b2017-09-18 19:44:11 -0700424 public class LineageSecureSettingListPreference extends lineageos.preference.SelfRemovingListPreference {
425 ctor public LineageSecureSettingListPreference(android.content.Context, android.util.AttributeSet, int);
426 ctor public LineageSecureSettingListPreference(android.content.Context, android.util.AttributeSet);
Steve Kondik9faa2742016-09-14 01:37:29 -0700427 method public int getIntValue(int);
Steve Kondik9faa2742016-09-14 01:37:29 -0700428 }
429
Sam Mortimer542742b2017-09-18 19:44:11 -0700430 public class LineageSecureSettingSwitchPreference extends lineageos.preference.SelfRemovingSwitchPreference {
431 ctor public LineageSecureSettingSwitchPreference(android.content.Context, android.util.AttributeSet, int);
432 ctor public LineageSecureSettingSwitchPreference(android.content.Context, android.util.AttributeSet);
433 ctor public LineageSecureSettingSwitchPreference(android.content.Context);
Steve Kondik7be730b2016-09-08 13:39:43 -0700434 }
435
Sam Mortimer542742b2017-09-18 19:44:11 -0700436 public class LineageSystemSettingDropDownPreference extends lineageos.preference.SelfRemovingDropDownPreference {
437 ctor public LineageSystemSettingDropDownPreference(android.content.Context, android.util.AttributeSet, int);
438 ctor public LineageSystemSettingDropDownPreference(android.content.Context, android.util.AttributeSet);
Danny Baumanne01237e2016-11-02 13:10:00 +0100439 method public int getIntValue(int);
Danny Baumanne01237e2016-11-02 13:10:00 +0100440 }
441
Sam Mortimer542742b2017-09-18 19:44:11 -0700442 public class LineageSystemSettingListPreference extends lineageos.preference.SelfRemovingListPreference {
443 ctor public LineageSystemSettingListPreference(android.content.Context, android.util.AttributeSet, int);
444 ctor public LineageSystemSettingListPreference(android.content.Context, android.util.AttributeSet);
Steve Kondik9faa2742016-09-14 01:37:29 -0700445 method public int getIntValue(int);
Steve Kondik9faa2742016-09-14 01:37:29 -0700446 }
447
Sam Mortimer542742b2017-09-18 19:44:11 -0700448 public class LineageSystemSettingSwitchPreference extends lineageos.preference.SelfRemovingSwitchPreference {
449 ctor public LineageSystemSettingSwitchPreference(android.content.Context, android.util.AttributeSet, int);
450 ctor public LineageSystemSettingSwitchPreference(android.content.Context, android.util.AttributeSet);
451 ctor public LineageSystemSettingSwitchPreference(android.content.Context);
Zhao Wei Liew1c5e5e72016-12-10 15:37:20 +0800452 }
453
Sam Mortimer542742b2017-09-18 19:44:11 -0700454 public class RemotePreference extends lineageos.preference.SelfRemovingPreference {
Steve Kondik38054192016-10-14 21:24:54 -0700455 ctor public RemotePreference(android.content.Context, android.util.AttributeSet, int, int);
456 ctor public RemotePreference(android.content.Context, android.util.AttributeSet, int);
457 ctor public RemotePreference(android.content.Context, android.util.AttributeSet);
458 method public android.content.Intent getReceiverIntent();
459 method protected java.lang.String getRemoteKey(android.os.Bundle);
Steve Kondik38054192016-10-14 21:24:54 -0700460 method public void onRemoteUpdated(android.os.Bundle);
Sam Mortimer542742b2017-09-18 19:44:11 -0700461 field public static final java.lang.String ACTION_REFRESH_PREFERENCE = "lineageos.intent.action.REFRESH_PREFERENCE";
462 field public static final java.lang.String ACTION_UPDATE_PREFERENCE = "lineageos.intent.action.UPDATE_PREFERENCE";
463 field public static final java.lang.String EXTRA_ENABLED = ":lineage:pref_enabled";
464 field public static final java.lang.String EXTRA_KEY = ":lineage:pref_key";
465 field public static final java.lang.String EXTRA_SUMMARY = ":lineage:pref_summary";
466 field public static final java.lang.String META_REMOTE_KEY = "org.lineageos.settings.summary.key";
467 field public static final java.lang.String META_REMOTE_RECEIVER = "org.lineageos.settings.summary.receiver";
Steve Kondik38054192016-10-14 21:24:54 -0700468 field protected final android.content.Context mContext;
469 }
470
471 public class RemotePreferenceUpdater extends android.content.BroadcastReceiver {
472 ctor public RemotePreferenceUpdater();
473 method protected boolean fillResultExtras(android.content.Context, java.lang.String, android.os.Bundle);
474 method protected java.lang.String getSummary(android.content.Context, java.lang.String);
475 method public static void notifyChanged(android.content.Context, java.lang.String);
476 method public void onReceive(android.content.Context, android.content.Intent);
477 }
478
Sam Mortimer542742b2017-09-18 19:44:11 -0700479 public class SecureSettingSwitchPreference extends lineageos.preference.SelfRemovingSwitchPreference {
Steve Kondik78079ea2016-10-11 08:16:38 -0700480 ctor public SecureSettingSwitchPreference(android.content.Context, android.util.AttributeSet, int);
481 ctor public SecureSettingSwitchPreference(android.content.Context, android.util.AttributeSet);
482 ctor public SecureSettingSwitchPreference(android.content.Context);
Steve Kondik2d61e0c2016-09-15 05:16:42 -0700483 }
484
Sam Mortimer3533d382019-05-13 15:28:04 -0700485 public class SelfRemovingDropDownPreference extends androidx.preference.DropDownPreference {
Danny Baumanne01237e2016-11-02 13:10:00 +0100486 ctor public SelfRemovingDropDownPreference(android.content.Context, android.util.AttributeSet, int);
487 ctor public SelfRemovingDropDownPreference(android.content.Context, android.util.AttributeSet);
488 ctor public SelfRemovingDropDownPreference(android.content.Context);
489 method public boolean isAvailable();
Danny Baumanne01237e2016-11-02 13:10:00 +0100490 method public void setAvailable(boolean);
491 }
492
Sam Mortimer3533d382019-05-13 15:28:04 -0700493 public class SelfRemovingListPreference extends androidx.preference.ListPreference {
Steve Kondik2d61e0c2016-09-15 05:16:42 -0700494 ctor public SelfRemovingListPreference(android.content.Context, android.util.AttributeSet, int);
495 ctor public SelfRemovingListPreference(android.content.Context, android.util.AttributeSet);
496 ctor public SelfRemovingListPreference(android.content.Context);
Steve Kondik78079ea2016-10-11 08:16:38 -0700497 method public boolean isAvailable();
Steve Kondik78079ea2016-10-11 08:16:38 -0700498 method public void setAvailable(boolean);
Steve Kondik2d61e0c2016-09-15 05:16:42 -0700499 }
500
Sam Mortimer3533d382019-05-13 15:28:04 -0700501 public class SelfRemovingPreference extends androidx.preference.Preference {
Steve Kondik78079ea2016-10-11 08:16:38 -0700502 ctor public SelfRemovingPreference(android.content.Context, android.util.AttributeSet, int, int);
Steve Kondik2d61e0c2016-09-15 05:16:42 -0700503 ctor public SelfRemovingPreference(android.content.Context, android.util.AttributeSet, int);
504 ctor public SelfRemovingPreference(android.content.Context, android.util.AttributeSet);
505 ctor public SelfRemovingPreference(android.content.Context);
Steve Kondik78079ea2016-10-11 08:16:38 -0700506 method public boolean isAvailable();
Steve Kondik78079ea2016-10-11 08:16:38 -0700507 method public void setAvailable(boolean);
Steve Kondik2d61e0c2016-09-15 05:16:42 -0700508 }
509
Sam Mortimer3533d382019-05-13 15:28:04 -0700510 public class SelfRemovingSwitchPreference extends androidx.preference.SwitchPreference {
Steve Kondik2d61e0c2016-09-15 05:16:42 -0700511 ctor public SelfRemovingSwitchPreference(android.content.Context, android.util.AttributeSet, int);
512 ctor public SelfRemovingSwitchPreference(android.content.Context, android.util.AttributeSet);
513 ctor public SelfRemovingSwitchPreference(android.content.Context);
Steve Kondik78079ea2016-10-11 08:16:38 -0700514 method public boolean isAvailable();
Steve Kondik78079ea2016-10-11 08:16:38 -0700515 method public void setAvailable(boolean);
Steve Kondik2d61e0c2016-09-15 05:16:42 -0700516 }
517
Steve Kondik0dae6352016-10-11 08:17:18 -0700518 public class SettingsHelper {
Sam Mortimer542742b2017-09-18 19:44:11 -0700519 method public static synchronized lineageos.preference.SettingsHelper get(android.content.Context);
Steve Kondik0dae6352016-10-11 08:17:18 -0700520 method public boolean getBoolean(android.net.Uri, boolean);
521 method public int getInt(android.net.Uri, int);
522 method public java.lang.String getString(android.net.Uri);
523 method public void putBoolean(android.net.Uri, boolean);
524 method public void putInt(android.net.Uri, int);
525 method public void putString(android.net.Uri, java.lang.String);
Sam Mortimer542742b2017-09-18 19:44:11 -0700526 method public void startWatching(lineageos.preference.SettingsHelper.OnSettingsChangeListener, android.net.Uri...);
527 method public void stopWatching(lineageos.preference.SettingsHelper.OnSettingsChangeListener);
Steve Kondik0dae6352016-10-11 08:17:18 -0700528 }
529
530 public static abstract interface SettingsHelper.OnSettingsChangeListener {
531 method public abstract void onSettingsChanged(android.net.Uri);
532 }
533
Sam Mortimer542742b2017-09-18 19:44:11 -0700534 public class SystemSettingSwitchPreference extends lineageos.preference.SelfRemovingSwitchPreference {
Steve Kondik7be730b2016-09-08 13:39:43 -0700535 ctor public SystemSettingSwitchPreference(android.content.Context, android.util.AttributeSet, int);
536 ctor public SystemSettingSwitchPreference(android.content.Context, android.util.AttributeSet);
537 ctor public SystemSettingSwitchPreference(android.content.Context);
Steve Kondik7be730b2016-09-08 13:39:43 -0700538 }
539
540}
541
Sam Mortimer542742b2017-09-18 19:44:11 -0700542package lineageos.profiles {
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700543
544 public final class AirplaneModeSettings implements android.os.Parcelable {
545 ctor public AirplaneModeSettings(android.os.Parcel);
546 ctor public AirplaneModeSettings();
547 ctor public AirplaneModeSettings(int, boolean);
548 method public int describeContents();
549 method public int getValue();
550 method public boolean isOverride();
551 method public void setOverride(boolean);
552 method public void setValue(int);
553 method public void writeToParcel(android.os.Parcel, int);
554 }
555
556 public static class AirplaneModeSettings.BooleanState {
557 ctor public AirplaneModeSettings.BooleanState();
Bruno Martinsb485a252020-04-21 10:49:51 +0100558 field public static final int STATE_DISABLED = 0; // 0x0
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700559 field public static final int STATE_ENABLED = 1; // 0x1
560 }
561
562 public final class BrightnessSettings implements android.os.Parcelable {
563 ctor public BrightnessSettings(android.os.Parcel);
564 ctor public BrightnessSettings();
565 ctor public BrightnessSettings(int, boolean);
566 method public int describeContents();
567 method public int getValue();
568 method public boolean isOverride();
569 method public void setOverride(boolean);
570 method public void setValue(int);
571 method public void writeToParcel(android.os.Parcel, int);
572 }
573
574 public final class ConnectionSettings implements android.os.Parcelable {
575 ctor public ConnectionSettings(android.os.Parcel);
576 ctor public ConnectionSettings(int);
577 ctor public ConnectionSettings(int, int, boolean);
578 method public int describeContents();
579 method public int getConnectionId();
Roman Birgc46e0ff2016-02-10 18:59:16 -0800580 method public int getSubId();
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700581 method public int getValue();
582 method public boolean isOverride();
583 method public void setOverride(boolean);
Roman Birgc46e0ff2016-02-10 18:59:16 -0800584 method public void setSubId(int);
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700585 method public void setValue(int);
586 method public void writeToParcel(android.os.Parcel, int);
587 field public static final int PROFILE_CONNECTION_2G3G4G = 9; // 0x9
588 field public static final int PROFILE_CONNECTION_BLUETOOTH = 7; // 0x7
Bruno Martinsbd39ad82020-04-21 00:17:21 +0100589 field public static final int PROFILE_CONNECTION_LOCATION = 6; // 0x6
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700590 field public static final int PROFILE_CONNECTION_MOBILEDATA = 0; // 0x0
591 field public static final int PROFILE_CONNECTION_NFC = 8; // 0x8
592 field public static final int PROFILE_CONNECTION_SYNC = 5; // 0x5
593 field public static final int PROFILE_CONNECTION_WIFI = 1; // 0x1
594 field public static final int PROFILE_CONNECTION_WIFIAP = 2; // 0x2
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700595 }
596
597 public static class ConnectionSettings.BooleanState {
598 ctor public ConnectionSettings.BooleanState();
Bruno Martinsb485a252020-04-21 10:49:51 +0100599 field public static final int STATE_DISABLED = 0; // 0x0
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700600 field public static final int STATE_ENABLED = 1; // 0x1
601 }
602
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -0700603 public final class LockSettings implements android.os.Parcelable {
604 ctor public LockSettings(android.os.Parcel);
605 ctor public LockSettings();
606 ctor public LockSettings(int);
607 method public int describeContents();
608 method public int getValue();
609 method public void setValue(int);
610 method public void writeToParcel(android.os.Parcel, int);
611 }
612
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700613 public final class RingModeSettings implements android.os.Parcelable {
614 ctor public RingModeSettings(android.os.Parcel);
615 ctor public RingModeSettings();
616 ctor public RingModeSettings(java.lang.String, boolean);
617 method public int describeContents();
618 method public java.lang.String getValue();
619 method public boolean isOverride();
620 method public void setOverride(boolean);
621 method public void setValue(java.lang.String);
622 method public void writeToParcel(android.os.Parcel, int);
623 field public static final java.lang.String RING_MODE_MUTE = "mute";
624 field public static final java.lang.String RING_MODE_NORMAL = "normal";
625 field public static final java.lang.String RING_MODE_VIBRATE = "vibrate";
626 }
627
628 public final class StreamSettings implements android.os.Parcelable {
629 ctor public StreamSettings(android.os.Parcel);
630 ctor public StreamSettings(int);
631 ctor public StreamSettings(int, int, boolean);
632 method public int describeContents();
633 method public int getStreamId();
634 method public int getValue();
635 method public boolean isOverride();
636 method public void setOverride(boolean);
637 method public void setValue(int);
638 method public void writeToParcel(android.os.Parcel, int);
639 }
640
Adnan Begovic273f2db2015-05-28 19:47:47 -0700641}
642
Sam Mortimer542742b2017-09-18 19:44:11 -0700643package lineageos.providers {
Yvonne Wong0eb29992015-08-20 16:02:08 -0700644
Sam Mortimer542742b2017-09-18 19:44:11 -0700645 public final class LineageSettings {
646 ctor public LineageSettings();
647 field public static final java.lang.String ACTION_DATA_USAGE = "lineageos.settings.ACTION_DATA_USAGE";
648 field public static final java.lang.String ACTION_LIVEDISPLAY_SETTINGS = "lineageos.settings.LIVEDISPLAY_SETTINGS";
Luca Stefani55962102018-07-02 10:10:34 +0200649 field public static final java.lang.String ACTION_TRUST_INTERFACE = "lineageos.settings.TRUST_INTERFACE";
Sam Mortimer542742b2017-09-18 19:44:11 -0700650 field public static final java.lang.String AUTHORITY = "lineagesettings";
Yvonne Wong0eb29992015-08-20 16:02:08 -0700651 }
652
Sam Mortimer542742b2017-09-18 19:44:11 -0700653 public static final class LineageSettings.Global extends android.provider.Settings.NameValueTable {
654 ctor public LineageSettings.Global();
Yvonne Wong0eb29992015-08-20 16:02:08 -0700655 method public static float getFloat(android.content.ContentResolver, java.lang.String, float);
Sam Mortimer542742b2017-09-18 19:44:11 -0700656 method public static float getFloat(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException;
Yvonne Wong0eb29992015-08-20 16:02:08 -0700657 method public static int getInt(android.content.ContentResolver, java.lang.String, int);
Sam Mortimer542742b2017-09-18 19:44:11 -0700658 method public static int getInt(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException;
Yvonne Wong0eb29992015-08-20 16:02:08 -0700659 method public static long getLong(android.content.ContentResolver, java.lang.String, long);
Sam Mortimer542742b2017-09-18 19:44:11 -0700660 method public static long getLong(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException;
Yvonne Wong0eb29992015-08-20 16:02:08 -0700661 method public static java.lang.String getString(android.content.ContentResolver, java.lang.String);
Joeya37b3cd2018-07-05 21:18:18 +0200662 method public static java.lang.String getString(android.content.ContentResolver, java.lang.String, java.lang.String);
Roman Birgd29499d2015-12-23 09:32:13 -0800663 method public static android.net.Uri getUriFor(java.lang.String);
Yvonne Wong0eb29992015-08-20 16:02:08 -0700664 method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float);
665 method public static boolean putInt(android.content.ContentResolver, java.lang.String, int);
666 method public static boolean putLong(android.content.ContentResolver, java.lang.String, long);
667 method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String);
668 field public static final android.net.Uri CONTENT_URI;
Sam Mortimer542742b2017-09-18 19:44:11 -0700669 field public static final java.lang.String SYS_PROP_LINEAGE_SETTING_VERSION = "sys.lineage_settings_global_version";
Yvonne Wong0eb29992015-08-20 16:02:08 -0700670 }
671
Michael Bestase613b862018-01-01 22:37:05 +0200672 public static class LineageSettings.LineageSettingNotFoundException extends android.util.AndroidException {
673 ctor public LineageSettings.LineageSettingNotFoundException(java.lang.String);
674 }
675
Sam Mortimer542742b2017-09-18 19:44:11 -0700676 public static final class LineageSettings.Secure extends android.provider.Settings.NameValueTable {
677 ctor public LineageSettings.Secure();
Yvonne Wong0eb29992015-08-20 16:02:08 -0700678 method public static float getFloat(android.content.ContentResolver, java.lang.String, float);
Sam Mortimer542742b2017-09-18 19:44:11 -0700679 method public static float getFloat(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException;
Yvonne Wong0eb29992015-08-20 16:02:08 -0700680 method public static int getInt(android.content.ContentResolver, java.lang.String, int);
Sam Mortimer542742b2017-09-18 19:44:11 -0700681 method public static int getInt(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException;
Yvonne Wong0eb29992015-08-20 16:02:08 -0700682 method public static long getLong(android.content.ContentResolver, java.lang.String, long);
Sam Mortimer542742b2017-09-18 19:44:11 -0700683 method public static long getLong(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException;
Yvonne Wong0eb29992015-08-20 16:02:08 -0700684 method public static java.lang.String getString(android.content.ContentResolver, java.lang.String);
Joeya37b3cd2018-07-05 21:18:18 +0200685 method public static java.lang.String getString(android.content.ContentResolver, java.lang.String, java.lang.String);
Roman Birgd29499d2015-12-23 09:32:13 -0800686 method public static android.net.Uri getUriFor(java.lang.String);
Yvonne Wong0eb29992015-08-20 16:02:08 -0700687 method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float);
688 method public static boolean putInt(android.content.ContentResolver, java.lang.String, int);
689 method public static boolean putLong(android.content.ContentResolver, java.lang.String, long);
690 method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String);
691 field public static final android.net.Uri CONTENT_URI;
Sam Mortimer542742b2017-09-18 19:44:11 -0700692 field public static final java.lang.String SYS_PROP_LINEAGE_SETTING_VERSION = "sys.lineage_settings_secure_version";
Joeyc8a06b92018-06-30 21:15:37 +0200693 field public static final java.lang.String TRUST_WARNINGS = "trust_warnings";
Yvonne Wong0eb29992015-08-20 16:02:08 -0700694 }
695
Sam Mortimer542742b2017-09-18 19:44:11 -0700696 public static final class LineageSettings.System extends android.provider.Settings.NameValueTable {
697 ctor public LineageSettings.System();
Yvonne Wong0eb29992015-08-20 16:02:08 -0700698 method public static float getFloat(android.content.ContentResolver, java.lang.String, float);
Sam Mortimer542742b2017-09-18 19:44:11 -0700699 method public static float getFloat(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException;
Yvonne Wong0eb29992015-08-20 16:02:08 -0700700 method public static int getInt(android.content.ContentResolver, java.lang.String, int);
Sam Mortimer542742b2017-09-18 19:44:11 -0700701 method public static int getInt(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException;
Yvonne Wong0eb29992015-08-20 16:02:08 -0700702 method public static long getLong(android.content.ContentResolver, java.lang.String, long);
Sam Mortimer542742b2017-09-18 19:44:11 -0700703 method public static long getLong(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException;
Yvonne Wong0eb29992015-08-20 16:02:08 -0700704 method public static java.lang.String getString(android.content.ContentResolver, java.lang.String);
Joeya37b3cd2018-07-05 21:18:18 +0200705 method public static java.lang.String getString(android.content.ContentResolver, java.lang.String, java.lang.String);
Roman Birgd29499d2015-12-23 09:32:13 -0800706 method public static android.net.Uri getUriFor(java.lang.String);
Yvonne Wong0eb29992015-08-20 16:02:08 -0700707 method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float);
708 method public static boolean putInt(android.content.ContentResolver, java.lang.String, int);
709 method public static boolean putLong(android.content.ContentResolver, java.lang.String, long);
710 method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String);
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800711 field public static final java.lang.String APP_SWITCH_WAKE_SCREEN = "app_switch_wake_screen";
712 field public static final java.lang.String ASSIST_WAKE_SCREEN = "assist_wake_screen";
713 field public static final java.lang.String BACK_WAKE_SCREEN = "back_wake_screen";
Sam Mortimerc7a8ed52017-11-21 23:26:59 -0800714 field public static final java.lang.String BATTERY_LIGHT_BRIGHTNESS_LEVEL = "battery_light_brightness_level";
715 field public static final java.lang.String BATTERY_LIGHT_BRIGHTNESS_LEVEL_ZEN = "battery_light_brightness_level_zen";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800716 field public static final java.lang.String BATTERY_LIGHT_ENABLED = "battery_light_enabled";
717 field public static final java.lang.String BATTERY_LIGHT_FULL_COLOR = "battery_light_full_color";
718 field public static final java.lang.String BATTERY_LIGHT_LOW_COLOR = "battery_light_low_color";
719 field public static final java.lang.String BATTERY_LIGHT_MEDIUM_COLOR = "battery_light_medium_color";
720 field public static final java.lang.String BATTERY_LIGHT_PULSE = "battery_light_pulse";
721 field public static final java.lang.String BLUETOOTH_ACCEPT_ALL_FILES = "bluetooth_accept_all_files";
Joey5a72b572018-03-06 17:46:14 +0100722 field public static final java.lang.String BUTTON_BACKLIGHT_ONLY_WHEN_PRESSED = "button_backlight_only_when_pressed";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800723 field public static final java.lang.String CALL_RECORDING_FORMAT = "call_recording_format";
724 field public static final java.lang.String CAMERA_LAUNCH = "camera_launch";
725 field public static final java.lang.String CAMERA_SLEEP_ON_RELEASE = "camera_sleep_on_release";
726 field public static final java.lang.String CAMERA_WAKE_SCREEN = "camera_wake_screen";
Yvonne Wong0eb29992015-08-20 16:02:08 -0700727 field public static final android.net.Uri CONTENT_URI;
Arian5f3ded72020-07-29 16:01:55 +0200728 field public static final java.lang.String DISPLAY_ANTI_FLICKER = "display_anti_flicker";
Steve Kondik1dab5a02016-03-31 11:23:36 -0700729 field public static final java.lang.String DISPLAY_AUTO_CONTRAST = "display_auto_contrast";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800730 field public static final java.lang.String DISPLAY_AUTO_OUTDOOR_MODE = "display_auto_outdoor_mode";
Steve Kondik1dab5a02016-03-31 11:23:36 -0700731 field public static final java.lang.String DISPLAY_CABC = "display_low_power";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800732 field public static final java.lang.String DISPLAY_COLOR_ADJUSTMENT = "display_color_adjustment";
733 field public static final java.lang.String DISPLAY_COLOR_ENHANCE = "display_color_enhance";
Steve Kondik87590f02016-07-20 11:20:02 -0700734 field public static final java.lang.String DISPLAY_PICTURE_ADJUSTMENT = "display_picture_adjustment";
Luca Stefani55962102018-07-02 10:10:34 +0200735 field public static final java.lang.String DISPLAY_READING_MODE = "display_reading_mode";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800736 field public static final java.lang.String DISPLAY_TEMPERATURE_DAY = "display_temperature_day";
737 field public static final java.lang.String DISPLAY_TEMPERATURE_MODE = "display_temperature_mode";
738 field public static final java.lang.String DISPLAY_TEMPERATURE_NIGHT = "display_temperature_night";
739 field public static final java.lang.String DOUBLE_TAP_SLEEP_GESTURE = "double_tap_sleep_gesture";
Michael Bestasfcadbf52016-02-10 01:39:17 +0200740 field public static final java.lang.String HEADSET_CONNECT_PLAYER = "headset_connect_player";
Ramii Ahmeda7262012021-07-06 07:41:17 +0000741 field public static final java.lang.String HIGH_TOUCH_POLLING_RATE_ENABLE = "high_touch_polling_rate_enable";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800742 field public static final java.lang.String HIGH_TOUCH_SENSITIVITY_ENABLE = "high_touch_sensitivity_enable";
743 field public static final java.lang.String HOME_WAKE_SCREEN = "home_wake_screen";
744 field public static final java.lang.String INCREASING_RING = "increasing_ring";
745 field public static final java.lang.String INCREASING_RING_RAMP_UP_TIME = "increasing_ring_ramp_up_time";
746 field public static final java.lang.String INCREASING_RING_START_VOLUME = "increasing_ring_start_vol";
747 field public static final java.lang.String KEY_APP_SWITCH_ACTION = "key_app_switch_action";
748 field public static final java.lang.String KEY_APP_SWITCH_LONG_PRESS_ACTION = "key_app_switch_long_press_action";
749 field public static final java.lang.String KEY_ASSIST_ACTION = "key_assist_action";
750 field public static final java.lang.String KEY_ASSIST_LONG_PRESS_ACTION = "key_assist_long_press_action";
Nicoc3b55892020-03-10 15:52:30 +0200751 field public static final java.lang.String KEY_EDGE_LONG_SWIPE_ACTION = "key_edge_long_swipe_action";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800752 field public static final java.lang.String KEY_HOME_DOUBLE_TAP_ACTION = "key_home_double_tap_action";
753 field public static final java.lang.String KEY_HOME_LONG_PRESS_ACTION = "key_home_long_press_action";
754 field public static final java.lang.String KEY_MENU_ACTION = "key_menu_action";
755 field public static final java.lang.String KEY_MENU_LONG_PRESS_ACTION = "key_menu_long_press_action";
756 field public static final java.lang.String LOCKSCREEN_PIN_SCRAMBLE_LAYOUT = "lockscreen_scramble_pin_layout";
Steve Kondik86cae922016-07-18 02:36:42 -0700757 field public static final java.lang.String LOCKSCREEN_ROTATION = "lockscreen_rotation";
Luca Stefani55962102018-07-02 10:10:34 +0200758 field public static final java.lang.String LONG_SCREEN_APPS = "long_screen_apps";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800759 field public static final java.lang.String MENU_WAKE_SCREEN = "menu_wake_screen";
760 field public static final java.lang.String NAVBAR_LEFT_IN_LANDSCAPE = "navigation_bar_left";
761 field public static final java.lang.String NAVIGATION_BAR_MENU_ARROW_KEYS = "navigation_bar_menu_arrow_keys";
Jesse Chand649b1d2020-05-19 14:31:46 +0800762 field public static final java.lang.String NAVIGATION_BAR_HINT = "navigation_bar_hint";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800763 field public static final java.lang.String NAV_BUTTONS = "nav_buttons";
764 field public static final java.lang.String NOTIFICATION_LIGHT_BRIGHTNESS_LEVEL = "notification_light_brightness_level";
Sam Mortimerc7a8ed52017-11-21 23:26:59 -0800765 field public static final java.lang.String NOTIFICATION_LIGHT_BRIGHTNESS_LEVEL_ZEN = "notification_light_brightness_level_zen";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800766 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_COLOR = "notification_light_pulse_call_color";
767 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_LED_OFF = "notification_light_pulse_call_led_off";
768 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_LED_ON = "notification_light_pulse_call_led_on";
769 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CUSTOM_ENABLE = "notification_light_pulse_custom_enable";
770 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CUSTOM_VALUES = "notification_light_pulse_custom_values";
771 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_COLOR = "notification_light_pulse_default_color";
772 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_LED_OFF = "notification_light_pulse_default_led_off";
773 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_LED_ON = "notification_light_pulse_default_led_on";
774 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_COLOR = "notification_light_pulse_vmail_color";
775 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_LED_OFF = "notification_light_pulse_vmail_led_off";
776 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_LED_ON = "notification_light_pulse_vmail_led_on";
777 field public static final java.lang.String NOTIFICATION_LIGHT_SCREEN_ON = "notification_light_screen_on_enable";
778 field public static final java.lang.String NOTIFICATION_PLAY_QUEUE = "notification_play_queue";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800779 field public static final java.lang.String PROXIMITY_ON_WAKE = "proximity_on_wake";
780 field public static final java.lang.String QS_SHOW_BRIGHTNESS_SLIDER = "qs_show_brightness_slider";
781 field public static final java.lang.String RECENTS_SHOW_SEARCH_BAR = "recents_show_search_bar";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800782 field public static final java.lang.String SHOW_ALARM_ICON = "show_alarm_icon";
783 field public static final java.lang.String STATUS_BAR_AM_PM = "status_bar_am_pm";
784 field public static final java.lang.String STATUS_BAR_BATTERY_STYLE = "status_bar_battery_style";
785 field public static final java.lang.String STATUS_BAR_BRIGHTNESS_CONTROL = "status_bar_brightness_control";
786 field public static final java.lang.String STATUS_BAR_CLOCK = "status_bar_clock";
787 field public static final java.lang.String STATUS_BAR_IME_SWITCHER = "status_bar_ime_switcher";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800788 field public static final java.lang.String STATUS_BAR_QUICK_QS_PULLDOWN = "qs_quick_pulldown";
789 field public static final java.lang.String STATUS_BAR_SHOW_BATTERY_PERCENT = "status_bar_show_battery_percent";
Zhao Wei Liew33fc2d42016-10-09 09:43:44 +0800790 field public static final java.lang.String STYLUS_ICON_ENABLED = "stylus_icon_enabled";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800791 field public static final java.lang.String SWAP_VOLUME_KEYS_ON_ROTATION = "swap_volume_keys_on_rotation";
792 field public static final java.lang.String SYSTEM_PROFILES_ENABLED = "system_profiles_enabled";
Sam Mortimer542742b2017-09-18 19:44:11 -0700793 field public static final java.lang.String SYS_PROP_LINEAGE_SETTING_VERSION = "sys.lineage_settings_system_version";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800794 field public static final java.lang.String T9_SEARCH_INPUT_LOCALE = "t9_search_input_locale";
Zhao Wei Liew95264532016-11-19 23:24:44 +0800795 field public static final java.lang.String TORCH_LONG_PRESS_POWER_GESTURE = "torch_long_press_power_gesture";
Sam Mortimerbdea7f52016-12-24 13:06:05 -0800796 field public static final java.lang.String TORCH_LONG_PRESS_POWER_TIMEOUT = "torch_long_press_power_timeout";
Michael Bestas73fafc12016-02-20 01:01:34 +0200797 field public static final java.lang.String TOUCHSCREEN_GESTURE_HAPTIC_FEEDBACK = "touchscreen_gesture_haptic_feedback";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800798 field public static final java.lang.String USE_EDGE_SERVICE_FOR_GESTURES = "edge_service_for_gestures";
799 field public static final java.lang.String VOLBTN_MUSIC_CONTROLS = "volbtn_music_controls";
800 field public static final java.lang.String VOLUME_ADJUST_SOUNDS_ENABLED = "volume_adjust_sounds_enabled";
Zhao Wei Liew77b34c32016-11-20 21:55:10 +0800801 field public static final java.lang.String VOLUME_ANSWER_CALL = "volume_answer_call";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800802 field public static final java.lang.String VOLUME_WAKE_SCREEN = "volume_wake_screen";
niks255783463c2016-01-29 12:13:00 +0300803 field public static final java.lang.String ZEN_ALLOW_LIGHTS = "allow_lights";
804 field public static final java.lang.String ZEN_PRIORITY_ALLOW_LIGHTS = "zen_priority_allow_lights";
Yvonne Wong0eb29992015-08-20 16:02:08 -0700805 }
806
807}
808
Joeyc0b21ca2018-04-03 15:42:18 +0200809package lineageos.trust {
810
811 public class TrustInterface {
812 method public static lineageos.trust.TrustInterface getInstance(android.content.Context);
813 method public int getLevelForFeature(int);
814 method public boolean postNotificationForFeature(int);
815 method public boolean removeNotificationForFeature(int);
816 field public static final int ERROR_UNDEFINED = -1; // 0xffffffff
817 field public static final int TRUST_FEATURE_ENCRYPTION = 4; // 0x4
Tobias Tefkefa05f272018-06-14 12:04:36 +0200818 field public static final int TRUST_FEATURE_KEYS = 5; // 0x5
Joeyc0b21ca2018-04-03 15:42:18 +0200819 field public static final int TRUST_FEATURE_LEVEL_BAD = 2; // 0x2
820 field public static final int TRUST_FEATURE_LEVEL_GOOD = 0; // 0x0
821 field public static final int TRUST_FEATURE_LEVEL_POOR = 1; // 0x1
822 field public static final int TRUST_FEATURE_PLATFORM_SECURITY_PATCH = 2; // 0x2
Joeyc0b21ca2018-04-03 15:42:18 +0200823 field public static final int TRUST_FEATURE_SELINUX = 0; // 0x0
824 field public static final int TRUST_FEATURE_VENDOR_SECURITY_PATCH = 3; // 0x3
825 field public static final java.lang.String TRUST_INTERFACE_PERMISSION = "lineageos.permission.TRUST_INTERFACE";
Joeyc8a06b92018-06-30 21:15:37 +0200826 field public static final int TRUST_WARN_PUBLIC_KEY = 4; // 0x4
Joeyc8a06b92018-06-30 21:15:37 +0200827 field public static final int TRUST_WARN_SELINUX = 1; // 0x1
Joeyc0b21ca2018-04-03 15:42:18 +0200828 }
829
830}
831
Sam Mortimer542742b2017-09-18 19:44:11 -0700832package lineageos.util {
Steve Kondik567b4302016-02-27 12:04:03 +0100833
834 public class ColorUtils {
835 ctor public ColorUtils();
836 method public static double calculateDeltaE(double, double, double, double, double, double);
837 method public static float[] convertRGBtoLAB(int);
838 method public static int dropAlpha(int);
839 method public static int findPerceptuallyNearestColor(int, int[]);
840 method public static int findPerceptuallyNearestSolidColor(int);
841 method public static int generateAlertColorFromDrawable(android.graphics.drawable.Drawable);
Steve Kondik987ecb32016-08-29 00:27:00 -0700842 method public static lineageos.util.palette.Palette.Swatch getDominantSwatch(lineageos.util.palette.Palette);
Steve Kondik567b4302016-02-27 12:04:03 +0100843 method public static float[] temperatureToRGB(int);
844 }
845
846}