blob: 9d8a981b4ca8a58d41f1d5a7b968f3d1b5a17752 [file] [log] [blame]
Matt Garnes51c39ba2015-07-29 17:19:03 -07001package cyanogenmod.alarmclock {
2
3 public final class ClockContract {
4 field public static final java.lang.String AUTHORITY = "com.android.deskclock";
5 }
6
7 public static abstract interface ClockContract.AlarmSettingColumns {
8 field public static final java.lang.String INCREASING_VOLUME = "incvol";
9 field public static final java.lang.String LABEL = "label";
10 field public static final java.lang.String NO_RINGTONE;
11 field public static final android.net.Uri NO_RINGTONE_URI;
12 field public static final java.lang.String PROFILE = "profile";
13 field public static final java.lang.String RINGTONE = "ringtone";
14 field public static final java.lang.String VIBRATE = "vibrate";
15 }
16
17 public static abstract interface ClockContract.AlarmsColumns implements cyanogenmod.alarmclock.ClockContract.AlarmSettingColumns {
18 field public static final android.net.Uri CONTENT_URI;
19 field public static final java.lang.String DAYS_OF_WEEK = "daysofweek";
20 field public static final java.lang.String DELETE_AFTER_USE = "delete_after_use";
21 field public static final java.lang.String ENABLED = "enabled";
22 field public static final java.lang.String HOUR = "hour";
23 field public static final java.lang.String MINUTES = "minutes";
24 }
25
26 public static abstract interface ClockContract.CitiesColumns {
27 field public static final java.lang.String CITY_ID = "city_id";
28 field public static final java.lang.String CITY_NAME = "city_name";
29 field public static final android.net.Uri CONTENT_URI;
30 field public static final java.lang.String TIMEZONE_NAME = "timezone_name";
31 field public static final java.lang.String TIMEZONE_OFFSET = "timezone_offset";
32 }
33
34 public static abstract interface ClockContract.InstancesColumns implements cyanogenmod.alarmclock.ClockContract.AlarmSettingColumns {
35 field public static final java.lang.String ALARM_ID = "alarm_id";
36 field public static final java.lang.String ALARM_STATE = "alarm_state";
37 field public static final android.net.Uri CONTENT_URI;
38 field public static final java.lang.String DAY = "day";
39 field public static final int DISMISSED_STATE = 7; // 0x7
40 field public static final int FIRED_STATE = 5; // 0x5
41 field public static final int HIDE_NOTIFICATION_STATE = 2; // 0x2
42 field public static final int HIGH_NOTIFICATION_STATE = 3; // 0x3
43 field public static final java.lang.String HOUR = "hour";
44 field public static final int LOW_NOTIFICATION_STATE = 1; // 0x1
45 field public static final java.lang.String MINUTES = "minutes";
46 field public static final int MISSED_STATE = 6; // 0x6
47 field public static final java.lang.String MONTH = "month";
48 field public static final int POWER_OFF_ALARM_STATE = -1; // 0xffffffff
Adnan Begovicb4b13212016-01-06 16:41:25 -080049 field public static final int PREDISMISSED_STATE = 8; // 0x8
Matt Garnes51c39ba2015-07-29 17:19:03 -070050 field public static final int SILENT_STATE = 0; // 0x0
51 field public static final int SNOOZE_STATE = 4; // 0x4
52 field public static final java.lang.String YEAR = "year";
53 }
54
55 public class CyanogenModAlarmClock {
56 ctor public CyanogenModAlarmClock();
Matt Garnes7820e6d2015-08-05 18:16:21 -070057 method public static android.content.Intent createAlarmIntent(android.content.Context);
Matt Garnes51c39ba2015-07-29 17:19:03 -070058 field public static final java.lang.String ACTION_SET_ALARM_ENABLED = "cyanogenmod.alarmclock.SET_ALARM_ENABLED";
59 field public static final java.lang.String EXTRA_ALARM_ID = "cyanogenmod.intent.extra.alarmclock.ID";
60 field public static final java.lang.String EXTRA_ENABLED = "cyanogenmod.intent.extra.alarmclock.ENABLED";
61 field public static final java.lang.String MODIFY_ALARMS_PERMISSION = "cyanogenmod.alarmclock.permission.MODIFY_ALARMS";
62 field public static final java.lang.String READ_ALARMS_PERMISSION = "cyanogenmod.alarmclock.permission.READ_ALARMS";
Matt Garnes51c39ba2015-07-29 17:19:03 -070063 }
64
65}
66
Adnan Begovic273f2db2015-05-28 19:47:47 -070067package cyanogenmod.app {
68
69 public class CMStatusBarManager {
70 method public static cyanogenmod.app.CMStatusBarManager getInstance(android.content.Context);
71 method public void publishTile(int, cyanogenmod.app.CustomTile);
72 method public void publishTile(java.lang.String, int, cyanogenmod.app.CustomTile);
73 method public void publishTileAsUser(java.lang.String, int, cyanogenmod.app.CustomTile, android.os.UserHandle);
74 method public void removeTile(int);
75 method public void removeTile(java.lang.String, int);
76 method public void removeTileAsUser(java.lang.String, int, android.os.UserHandle);
Adnan Begovic273f2db2015-05-28 19:47:47 -070077 }
78
Joao Figueiredo7f503352015-08-06 23:59:02 +010079 public class CMTelephonyManager {
80 method public static cyanogenmod.app.CMTelephonyManager getInstance(android.content.Context);
81 method public java.util.List<android.telephony.SubscriptionInfo> getSubInformation();
82 method public boolean isDataConnectionEnabled();
83 method public boolean isDataConnectionSelectedOnSub(int);
84 method public boolean isSubActive(int);
85 method public void setDataConnectionState(boolean);
86 method public void setDefaultPhoneSub(int);
87 method public void setDefaultSmsSub(int);
88 method public void setSubState(int, boolean);
89 field public static final int ASK_FOR_SUBSCRIPTION_ID = 0; // 0x0
90 }
91
Adnan Begovic273f2db2015-05-28 19:47:47 -070092 public class CustomTile implements android.os.Parcelable {
93 ctor public CustomTile(android.os.Parcel);
94 ctor public CustomTile();
95 method public cyanogenmod.app.CustomTile clone();
96 method public int describeContents();
97 method public void writeToParcel(android.os.Parcel, int);
98 field public static final android.os.Parcelable.Creator<cyanogenmod.app.CustomTile> CREATOR;
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -070099 field public static final int PSEUDO_GRID_ITEM_MAX_COUNT = 9; // 0x9
Adnan Begovic32905402015-07-22 13:34:09 -0700100 field public boolean collapsePanel;
Adnan Begovic273f2db2015-05-28 19:47:47 -0700101 field public java.lang.String contentDescription;
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -0700102 field public android.app.PendingIntent deleteIntent;
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700103 field public cyanogenmod.app.CustomTile.ExpandedStyle expandedStyle;
Adnan Begovic273f2db2015-05-28 19:47:47 -0700104 field public int icon;
105 field public java.lang.String label;
106 field public android.app.PendingIntent onClick;
107 field public android.net.Uri onClickUri;
Adnan Begovicebf0f552016-01-18 11:26:08 -0800108 field public android.app.PendingIntent onLongClick;
Adnan Begovic273f2db2015-05-28 19:47:47 -0700109 field public android.content.Intent onSettingsClick;
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -0700110 field public android.graphics.Bitmap remoteIcon;
Adnan Begovic99716042015-09-01 16:26:28 -0700111 field public boolean sensitiveData;
Adnan Begovic273f2db2015-05-28 19:47:47 -0700112 }
113
114 public static class CustomTile.Builder {
115 ctor public CustomTile.Builder(android.content.Context);
116 method public cyanogenmod.app.CustomTile build();
Adnan Begovic99716042015-09-01 16:26:28 -0700117 method public cyanogenmod.app.CustomTile.Builder hasSensitiveData(boolean);
Adnan Begovic273f2db2015-05-28 19:47:47 -0700118 method public cyanogenmod.app.CustomTile.Builder setContentDescription(java.lang.String);
119 method public cyanogenmod.app.CustomTile.Builder setContentDescription(int);
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -0700120 method public cyanogenmod.app.CustomTile.Builder setDeleteIntent(android.app.PendingIntent);
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700121 method public cyanogenmod.app.CustomTile.Builder setExpandedStyle(cyanogenmod.app.CustomTile.ExpandedStyle);
Adnan Begovic273f2db2015-05-28 19:47:47 -0700122 method public cyanogenmod.app.CustomTile.Builder setIcon(int);
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -0700123 method public cyanogenmod.app.CustomTile.Builder setIcon(android.graphics.Bitmap);
Adnan Begovic273f2db2015-05-28 19:47:47 -0700124 method public cyanogenmod.app.CustomTile.Builder setLabel(java.lang.String);
125 method public cyanogenmod.app.CustomTile.Builder setLabel(int);
126 method public cyanogenmod.app.CustomTile.Builder setOnClickIntent(android.app.PendingIntent);
127 method public cyanogenmod.app.CustomTile.Builder setOnClickUri(android.net.Uri);
Adnan Begovicebf0f552016-01-18 11:26:08 -0800128 method public cyanogenmod.app.CustomTile.Builder setOnLongClickIntent(android.app.PendingIntent);
Adnan Begovic273f2db2015-05-28 19:47:47 -0700129 method public cyanogenmod.app.CustomTile.Builder setOnSettingsClickIntent(android.content.Intent);
Adnan Begovic32905402015-07-22 13:34:09 -0700130 method public cyanogenmod.app.CustomTile.Builder shouldCollapsePanel(boolean);
Adnan Begovic273f2db2015-05-28 19:47:47 -0700131 }
132
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700133 public static class CustomTile.ExpandedGridItem extends cyanogenmod.app.CustomTile.ExpandedItem {
134 ctor public CustomTile.ExpandedGridItem();
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -0700135 method public void setExpandedGridItemBitmap(android.graphics.Bitmap);
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700136 method public void setExpandedGridItemDrawable(int);
137 method public void setExpandedGridItemOnClickIntent(android.app.PendingIntent);
138 method public void setExpandedGridItemTitle(java.lang.String);
139 }
140
141 public static class CustomTile.ExpandedItem implements android.os.Parcelable {
142 ctor protected CustomTile.ExpandedItem(android.os.Parcel);
143 method public int describeContents();
144 method public void writeToParcel(android.os.Parcel, int);
145 field public static final android.os.Parcelable.Creator<cyanogenmod.app.CustomTile.ExpandedItem> CREATOR;
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -0700146 field public android.graphics.Bitmap itemBitmapResource;
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700147 field public int itemDrawableResourceId;
148 field public java.lang.String itemSummary;
149 field public java.lang.String itemTitle;
150 field public android.app.PendingIntent onClickPendingIntent;
151 }
152
153 public static class CustomTile.ExpandedListItem extends cyanogenmod.app.CustomTile.ExpandedItem {
154 ctor public CustomTile.ExpandedListItem();
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -0700155 method public void setExpandedListItemBitmap(android.graphics.Bitmap);
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700156 method public void setExpandedListItemDrawable(int);
157 method public void setExpandedListItemOnClickIntent(android.app.PendingIntent);
158 method public void setExpandedListItemSummary(java.lang.String);
159 method public void setExpandedListItemTitle(java.lang.String);
160 }
161
162 public static class CustomTile.ExpandedStyle implements android.os.Parcelable {
163 method public int describeContents();
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -0700164 method public android.widget.RemoteViews getContentViews();
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700165 method public cyanogenmod.app.CustomTile.ExpandedItem[] getExpandedItems();
166 method public int getStyle();
167 method public void writeToParcel(android.os.Parcel, int);
168 field public static final android.os.Parcelable.Creator<cyanogenmod.app.CustomTile.ExpandedStyle> CREATOR;
169 field public static final int GRID_STYLE = 0; // 0x0
170 field public static final int LIST_STYLE = 1; // 0x1
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -0700171 field public static final int REMOTE_STYLE = 2; // 0x2
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700172 }
173
174 public static class CustomTile.GridExpandedStyle extends cyanogenmod.app.CustomTile.ExpandedStyle {
175 ctor public CustomTile.GridExpandedStyle();
176 method public void setGridItems(java.util.ArrayList<cyanogenmod.app.CustomTile.ExpandedGridItem>);
177 }
178
179 public static class CustomTile.ListExpandedStyle extends cyanogenmod.app.CustomTile.ExpandedStyle {
180 ctor public CustomTile.ListExpandedStyle();
181 method public void setListItems(java.util.ArrayList<cyanogenmod.app.CustomTile.ExpandedListItem>);
182 }
183
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -0700184 public static class CustomTile.RemoteExpandedStyle extends cyanogenmod.app.CustomTile.ExpandedStyle {
185 ctor public CustomTile.RemoteExpandedStyle();
186 method public void setRemoteViews(android.widget.RemoteViews);
187 }
188
Adnan Begovic273f2db2015-05-28 19:47:47 -0700189 public class CustomTileListenerService extends android.app.Service {
190 ctor public CustomTileListenerService();
191 method public android.os.IBinder onBind(android.content.Intent);
192 method public void onCustomTilePosted(cyanogenmod.app.StatusBarPanelCustomTile);
193 method public void onCustomTileRemoved(cyanogenmod.app.StatusBarPanelCustomTile);
194 method public void onListenerConnected();
195 method public final void removeCustomTile(java.lang.String, java.lang.String, int);
196 field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.app.CustomTileListenerService";
197 }
198
d34dbfa500d2016-03-08 09:14:34 -0800199 public class LiveLockScreenInfo implements android.os.Parcelable {
200 ctor public LiveLockScreenInfo(android.content.ComponentName, int);
201 ctor public LiveLockScreenInfo();
202 method public cyanogenmod.app.LiveLockScreenInfo clone();
203 method public int describeContents();
204 method public void writeToParcel(android.os.Parcel, int);
205 field public static final android.os.Parcelable.Creator<cyanogenmod.app.LiveLockScreenInfo> CREATOR;
206 field public static final int PRIORITY_DEFAULT = 0; // 0x0
207 field public static final int PRIORITY_HIGH = 1; // 0x1
208 field public static final int PRIORITY_LOW = -1; // 0xffffffff
209 field public static final int PRIORITY_MAX = 2; // 0x2
210 field public static final int PRIORITY_MIN = -2; // 0xfffffffe
211 field public android.content.ComponentName component;
212 field public int priority;
213 }
214
215 public static class LiveLockScreenInfo.Builder {
216 ctor public LiveLockScreenInfo.Builder();
217 method public cyanogenmod.app.LiveLockScreenInfo build();
218 method public cyanogenmod.app.LiveLockScreenInfo.Builder setComponent(android.content.ComponentName);
219 method public cyanogenmod.app.LiveLockScreenInfo.Builder setPriority(int);
220 }
221
222 public class LiveLockScreenManager {
223 method public void cancel(int);
224 method public cyanogenmod.app.LiveLockScreenInfo getDefaultLiveLockScreen();
225 method public static cyanogenmod.app.LiveLockScreenManager getInstance(android.content.Context);
226 method public void setDefaultLiveLockScreen(cyanogenmod.app.LiveLockScreenInfo);
227 method public boolean show(int, cyanogenmod.app.LiveLockScreenInfo);
228 field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.app.LiveLockScreenManagerService";
229 }
230
Matt Garnes087f2b52015-09-03 15:54:29 -0700231 public class PartnerInterface {
232 method public java.lang.String getCurrentHotwordPackageName();
233 method public static cyanogenmod.app.PartnerInterface getInstance(android.content.Context);
234 method public void rebootDevice();
235 method public void setAirplaneModeEnabled(boolean);
236 method public void setMobileDataEnabled(boolean);
237 method public boolean setZenMode(int);
Adnan Begovicb4b13212016-01-06 16:41:25 -0800238 method public boolean setZenModeWithDuration(int, long);
Matt Garnes087f2b52015-09-03 15:54:29 -0700239 method public void shutdownDevice();
240 field public static final java.lang.String MODIFY_NETWORK_SETTINGS_PERMISSION = "cyanogenmod.permission.MODIFY_NETWORK_SETTINGS";
241 field public static final java.lang.String MODIFY_SOUND_SETTINGS_PERMISSION = "cyanogenmod.permission.MODIFY_SOUND_SETTINGS";
242 field public static final int ZEN_MODE_IMPORTANT_INTERRUPTIONS = 1; // 0x1
243 field public static final int ZEN_MODE_NO_INTERRUPTIONS = 2; // 0x2
244 field public static final int ZEN_MODE_OFF = 0; // 0x0
245 }
246
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700247 public final class Profile implements android.os.Parcelable {
248 ctor public Profile(java.lang.String);
249 method public void addSecondaryUuid(java.util.UUID);
250 method public int compareTo(java.lang.Object);
251 method public int describeContents();
252 method public cyanogenmod.profiles.AirplaneModeSettings getAirplaneMode();
253 method public cyanogenmod.profiles.BrightnessSettings getBrightness();
Roman Birgc46e0ff2016-02-10 18:59:16 -0800254 method public cyanogenmod.profiles.ConnectionSettings getConnectionSettingWithSubId(int);
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700255 method public java.util.Collection<cyanogenmod.profiles.ConnectionSettings> getConnectionSettings();
256 method public int getDozeMode();
257 method public int getExpandedDesktopMode();
258 method public java.lang.String getName();
Adnan Begoviccdf4d0d2016-02-10 18:14:35 -0800259 method public int getNotificationLightMode();
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700260 method public int getProfileType();
261 method public cyanogenmod.profiles.RingModeSettings getRingMode();
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -0700262 method public cyanogenmod.profiles.LockSettings getScreenLockMode();
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700263 method public java.util.UUID[] getSecondaryUuids();
264 method public cyanogenmod.profiles.ConnectionSettings getSettingsForConnection(int);
265 method public cyanogenmod.profiles.StreamSettings getSettingsForStream(int);
266 method public java.util.Collection<cyanogenmod.profiles.StreamSettings> getStreamSettings();
267 method public int getTriggerState(int, java.lang.String);
268 method public java.util.ArrayList<cyanogenmod.app.Profile.ProfileTrigger> getTriggersFromType(int);
269 method public java.util.UUID getUuid();
270 method public boolean isConditionalType();
271 method public void setAirplaneMode(cyanogenmod.profiles.AirplaneModeSettings);
272 method public void setBrightness(cyanogenmod.profiles.BrightnessSettings);
273 method public void setConnectionSettings(cyanogenmod.profiles.ConnectionSettings);
274 method public void setDozeMode(int);
275 method public void setExpandedDesktopMode(int);
276 method public void setName(java.lang.String);
Adnan Begoviccdf4d0d2016-02-10 18:14:35 -0800277 method public void setNotificationLightMode(int);
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700278 method public void setProfileType(int);
279 method public void setRingMode(cyanogenmod.profiles.RingModeSettings);
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -0700280 method public void setScreenLockMode(cyanogenmod.profiles.LockSettings);
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700281 method public void setSecondaryUuids(java.util.List<java.util.UUID>);
282 method public void setStreamSettings(cyanogenmod.profiles.StreamSettings);
283 method public void setTrigger(cyanogenmod.app.Profile.ProfileTrigger);
284 method public void writeToParcel(android.os.Parcel, int);
285 }
286
287 public static class Profile.DozeMode {
288 ctor public Profile.DozeMode();
289 field public static final int DEFAULT = 0; // 0x0
290 field public static final int DISABLE = 2; // 0x2
291 field public static final int ENABLE = 1; // 0x1
292 }
293
294 public static class Profile.ExpandedDesktopMode {
295 ctor public Profile.ExpandedDesktopMode();
296 field public static final int DEFAULT = 0; // 0x0
297 field public static final int DISABLE = 2; // 0x2
298 field public static final int ENABLE = 1; // 0x1
299 }
300
301 public static class Profile.LockMode {
302 ctor public Profile.LockMode();
303 field public static final int DEFAULT = 0; // 0x0
304 field public static final int DISABLE = 2; // 0x2
305 field public static final int INSECURE = 1; // 0x1
306 }
307
Adnan Begoviccdf4d0d2016-02-10 18:14:35 -0800308 public static class Profile.NotificationLightMode {
309 ctor public Profile.NotificationLightMode();
310 field public static final int DEFAULT = 0; // 0x0
311 field public static final int DISABLE = 2; // 0x2
312 field public static final int ENABLE = 1; // 0x1
313 }
314
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700315 public static class Profile.ProfileTrigger implements android.os.Parcelable {
Adnan Begovic8481cec2015-08-04 16:45:26 -0700316 ctor public Profile.ProfileTrigger(int, java.lang.String, int, java.lang.String);
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700317 method public int describeContents();
318 method public java.lang.String getId();
319 method public java.lang.String getName();
320 method public int getState();
321 method public int getType();
322 method public void writeToParcel(android.os.Parcel, int);
323 }
324
325 public static class Profile.TriggerState {
326 ctor public Profile.TriggerState();
327 field public static final int DISABLED = 2; // 0x2
328 field public static final int ON_A2DP_CONNECT = 3; // 0x3
329 field public static final int ON_A2DP_DISCONNECT = 4; // 0x4
330 field public static final int ON_CONNECT = 0; // 0x0
331 field public static final int ON_DISCONNECT = 1; // 0x1
332 }
333
334 public static class Profile.TriggerType {
335 ctor public Profile.TriggerType();
336 field public static final int BLUETOOTH = 1; // 0x1
337 field public static final int WIFI = 0; // 0x0
338 }
339
340 public static class Profile.Type {
341 ctor public Profile.Type();
342 field public static final int CONDITIONAL = 1; // 0x1
343 field public static final int TOGGLE = 0; // 0x0
344 }
345
346 public class ProfileManager {
347 method public void addProfile(cyanogenmod.app.Profile);
348 method public cyanogenmod.app.Profile getActiveProfile();
349 method public static cyanogenmod.app.ProfileManager getInstance(android.content.Context);
350 method public deprecated cyanogenmod.app.Profile getProfile(java.lang.String);
351 method public cyanogenmod.app.Profile getProfile(java.util.UUID);
352 method public java.lang.String[] getProfileNames();
353 method public cyanogenmod.app.Profile[] getProfiles();
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800354 method public boolean isProfilesEnabled();
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700355 method public boolean profileExists(java.lang.String);
356 method public boolean profileExists(java.util.UUID);
357 method public void removeProfile(cyanogenmod.app.Profile);
358 method public void resetAll();
359 method public deprecated void setActiveProfile(java.lang.String);
360 method public void setActiveProfile(java.util.UUID);
361 method public void updateProfile(cyanogenmod.app.Profile);
Adnan Begovicce52da62015-07-17 13:20:27 -0700362 field public static final java.lang.String ACTION_PROFILE_PICKER = "cyanogenmod.platform.intent.action.PROFILE_PICKER";
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700363 field public static final java.lang.String EXTRA_LAST_PROFILE_NAME = "lastName";
Roman Birg45f57c52016-03-17 15:29:22 -0700364 field public static final java.lang.String EXTRA_LAST_PROFILE_UUID = "lastUuid";
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700365 field public static final java.lang.String EXTRA_PROFILES_STATE = "profile_state";
366 field public static final java.lang.String EXTRA_PROFILE_DIALOG_THEME = "cyanogenmod.platform.intent.extra.profile.DIALOG_THEME";
Adnan Begovica276a412015-07-21 11:56:26 -0700367 field public static final java.lang.String EXTRA_PROFILE_EXISTING_UUID = "cyanogenmod.platform.extra.profile.EXISTING_UUID";
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700368 field public static final java.lang.String EXTRA_PROFILE_NAME = "name";
369 field public static final java.lang.String EXTRA_PROFILE_PICKED_UUID = "cyanogenmod.platform.intent.extra.profile.PICKED_UUID";
Adnan Begovica276a412015-07-21 11:56:26 -0700370 field public static final java.lang.String EXTRA_PROFILE_SHOW_NONE = "cyanogenmod.platform.intent.extra.profile.SHOW_NONE";
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700371 field public static final java.lang.String EXTRA_PROFILE_TITLE = "cyanogenmod.platform.intent.extra.profile.TITLE";
372 field public static final java.lang.String EXTRA_PROFILE_UUID = "uuid";
373 field public static final java.lang.String INTENT_ACTION_PROFILE_SELECTED = "cyanogenmod.platform.intent.action.PROFILE_SELECTED";
374 field public static final java.lang.String INTENT_ACTION_PROFILE_UPDATED = "cyanogenmod.platform.intent.action.PROFILE_UPDATED";
375 field public static final java.util.UUID NO_PROFILE;
376 field public static final java.lang.String PROFILES_STATE_CHANGED_ACTION = "cyanogenmod.platform.app.profiles.PROFILES_STATE_CHANGED";
377 field public static final int PROFILES_STATE_DISABLED = 0; // 0x0
378 field public static final int PROFILES_STATE_ENABLED = 1; // 0x1
379 }
380
Adnan Begovic273f2db2015-05-28 19:47:47 -0700381 public class StatusBarPanelCustomTile implements android.os.Parcelable {
Adnan Begovicf1f9f252015-06-22 20:34:55 -0700382 ctor public StatusBarPanelCustomTile(java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, int, int, cyanogenmod.app.CustomTile, android.os.UserHandle);
383 ctor public StatusBarPanelCustomTile(java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, int, int, cyanogenmod.app.CustomTile, android.os.UserHandle, long);
Adnan Begovic273f2db2015-05-28 19:47:47 -0700384 ctor public StatusBarPanelCustomTile(android.os.Parcel);
385 method public cyanogenmod.app.StatusBarPanelCustomTile clone();
386 method public int describeContents();
387 method public cyanogenmod.app.CustomTile getCustomTile();
388 method public int getId();
389 method public java.lang.String getKey();
390 method public java.lang.String getPackage();
391 method public long getPostTime();
392 method public java.lang.String getTag();
393 method public android.os.UserHandle getUser();
394 method public int getUserId();
395 method public void writeToParcel(android.os.Parcel, int);
396 field public static final android.os.Parcelable.Creator<cyanogenmod.app.StatusBarPanelCustomTile> CREATOR;
397 }
398
399}
400
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800401package cyanogenmod.content {
402
403 public class Intent {
404 ctor public Intent();
405 field public static final java.lang.String ACTION_PROTECTED = "cyanogenmod.intent.action.PACKAGE_PROTECTED";
406 field public static final java.lang.String ACTION_PROTECTED_CHANGED = "cyanogenmod.intent.action.PROTECTED_COMPONENT_UPDATE";
d34db3ea2852016-02-23 09:58:53 -0800407 field public static final java.lang.String ACTION_THEME_INSTALLED = "cyanogenmod.intent.action.THEME_INSTALLED";
408 field public static final java.lang.String ACTION_THEME_REMOVED = "cyanogenmod.intent.action.THEME_REMOVED";
409 field public static final java.lang.String ACTION_THEME_UPDATED = "cyanogenmod.intent.action.THEME_UPDATED";
410 field public static final java.lang.String CATEGORY_THEME_PACKAGE_INSTALLED_STATE_CHANGE = "cyanogenmod.intent.category.THEME_PACKAGE_INSTALL_STATE_CHANGE";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800411 field public static final java.lang.String EXTRA_PROTECTED_COMPONENTS = "cyanogenmod.intent.extra.PACKAGE_PROTECTED_COMPONENTS";
412 field public static final java.lang.String EXTRA_PROTECTED_STATE = "cyanogenmod.intent.extra.PACKAGE_PROTECTED_STATE";
d34db3ea2852016-02-23 09:58:53 -0800413 field public static final java.lang.String URI_SCHEME_PACKAGE = "package";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800414 }
415
416}
417
Adnan Begovicb4b13212016-01-06 16:41:25 -0800418package cyanogenmod.externalviews {
419
420 public abstract class KeyguardExternalViewProviderService extends android.app.Service {
421 ctor public KeyguardExternalViewProviderService();
422 method protected abstract cyanogenmod.externalviews.KeyguardExternalViewProviderService.Provider createExternalView(android.os.Bundle);
423 method public final android.os.IBinder onBind(android.content.Intent);
Adnan Begovic588c05a2016-01-22 17:34:47 -0800424 field public static final java.lang.String META_DATA = "cyanogenmod.externalviews.keyguard";
425 field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.externalviews.KeyguardExternalViewProviderService";
Adnan Begovicb4b13212016-01-06 16:41:25 -0800426 }
427
428 protected abstract class KeyguardExternalViewProviderService.Provider {
429 ctor protected KeyguardExternalViewProviderService.Provider(android.os.Bundle);
430 method protected final void collapseNotificationPanel();
431 method protected android.os.Bundle getOptions();
432 method protected void onAttach();
433 method protected abstract void onBouncerShowing(boolean);
434 method protected abstract android.view.View onCreateView();
435 method protected void onDetach();
436 method protected abstract void onKeyguardDismissed();
437 method protected abstract void onKeyguardShowing(boolean);
Danesh Md5490532016-03-31 20:33:18 -0700438 method protected void onLockscreenSlideOffsetChanged(float);
Adnan Begovicb4b13212016-01-06 16:41:25 -0800439 method protected abstract void onScreenTurnedOff();
440 method protected abstract void onScreenTurnedOn();
441 method protected final boolean requestDismiss();
442 method protected final boolean requestDismissAndStartActivity(android.content.Intent);
443 method protected final void setInteractivity(boolean);
Danesh Md5490532016-03-31 20:33:18 -0700444 method protected final void slideLockscreenIn();
Adnan Begovicb4b13212016-01-06 16:41:25 -0800445 }
446
447}
448
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700449package cyanogenmod.hardware {
450
451 public final class CMHardwareManager {
Adnan Begovic9f381bc2015-09-09 17:29:30 -0700452 method public boolean deletePersistentObject(java.lang.String);
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700453 method public boolean get(int);
454 method public cyanogenmod.hardware.DisplayMode getCurrentDisplayMode();
455 method public cyanogenmod.hardware.DisplayMode getDefaultDisplayMode();
456 method public int[] getDisplayColorCalibration();
457 method public int getDisplayColorCalibrationDefault();
458 method public int getDisplayColorCalibrationMax();
459 method public int getDisplayColorCalibrationMin();
460 method public deprecated int[] getDisplayGammaCalibration(int);
461 method public deprecated int getDisplayGammaCalibrationMax();
462 method public deprecated int getDisplayGammaCalibrationMin();
463 method public cyanogenmod.hardware.DisplayMode[] getDisplayModes();
464 method public static cyanogenmod.hardware.CMHardwareManager getInstance(android.content.Context);
465 method public java.lang.String getLtoDestination();
466 method public long getLtoDownloadInterval();
467 method public java.lang.String getLtoSource();
468 method public deprecated int getNumGammaControls();
469 method public java.lang.String getSerialNumber();
470 method public int getSupportedFeatures();
Danesh Mc56b48e2015-09-24 13:41:01 -0700471 method public int getThermalState();
Matt Wagantalleb82dbf2016-02-02 11:32:18 -0800472 method public java.lang.String getUniqueDeviceId();
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700473 method public int getVibratorDefaultIntensity();
474 method public int getVibratorIntensity();
475 method public int getVibratorMaxIntensity();
476 method public int getVibratorMinIntensity();
477 method public int getVibratorWarningIntensity();
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800478 method public boolean isSunlightEnhancementSelfManaged();
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700479 method public boolean isSupported(int);
Adnan Begovic9f381bc2015-09-09 17:29:30 -0700480 method public byte[] readPersistentBytes(java.lang.String);
481 method public int readPersistentInt(java.lang.String);
482 method public java.lang.String readPersistentString(java.lang.String);
Danesh Mc56b48e2015-09-24 13:41:01 -0700483 method public boolean registerThermalListener(cyanogenmod.hardware.ThermalListenerCallback);
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700484 method public boolean requireAdaptiveBacklightForSunlightEnhancement();
485 method public boolean set(int, boolean);
486 method public boolean setDisplayColorCalibration(int[]);
487 method public deprecated boolean setDisplayGammaCalibration(int, int[]);
488 method public boolean setDisplayMode(cyanogenmod.hardware.DisplayMode, boolean);
489 method public boolean setVibratorIntensity(int);
Danesh Mc56b48e2015-09-24 13:41:01 -0700490 method public boolean unRegisterThermalListener(cyanogenmod.hardware.ThermalListenerCallback);
Adnan Begovic9f381bc2015-09-09 17:29:30 -0700491 method public boolean writePersistentBytes(java.lang.String, byte[]);
492 method public boolean writePersistentInt(java.lang.String, int);
493 method public boolean writePersistentString(java.lang.String, java.lang.String);
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700494 field public static final int FEATURE_ADAPTIVE_BACKLIGHT = 1; // 0x1
495 field public static final int FEATURE_AUTO_CONTRAST = 4096; // 0x1000
496 field public static final int FEATURE_COLOR_ENHANCEMENT = 2; // 0x2
497 field public static final int FEATURE_DISPLAY_COLOR_CALIBRATION = 4; // 0x4
498 field public static final int FEATURE_DISPLAY_GAMMA_CALIBRATION = 8; // 0x8
499 field public static final int FEATURE_DISPLAY_MODES = 8192; // 0x2000
500 field public static final int FEATURE_HIGH_TOUCH_SENSITIVITY = 16; // 0x10
501 field public static final int FEATURE_KEY_DISABLE = 32; // 0x20
502 field public static final int FEATURE_LONG_TERM_ORBITS = 64; // 0x40
Adnan Begovic9f381bc2015-09-09 17:29:30 -0700503 field public static final int FEATURE_PERSISTENT_STORAGE = 16384; // 0x4000
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700504 field public static final int FEATURE_SERIAL_NUMBER = 128; // 0x80
505 field public static final int FEATURE_SUNLIGHT_ENHANCEMENT = 256; // 0x100
506 field public static final int FEATURE_TAP_TO_WAKE = 512; // 0x200
Danesh Mc56b48e2015-09-24 13:41:01 -0700507 field public static final int FEATURE_THERMAL_MONITOR = 32768; // 0x8000
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700508 field public static final int FEATURE_TOUCH_HOVERING = 2048; // 0x800
Matt Wagantalleb82dbf2016-02-02 11:32:18 -0800509 field public static final int FEATURE_UNIQUE_DEVICE_ID = 65536; // 0x10000
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700510 field public static final int FEATURE_VIBRATOR = 1024; // 0x400
511 }
512
513 public class DisplayMode implements android.os.Parcelable {
514 ctor public DisplayMode(int, java.lang.String);
515 method public int describeContents();
516 method public void writeToParcel(android.os.Parcel, int);
517 field public final int id;
518 field public final java.lang.String name;
519 }
520
Danesh Mc56b48e2015-09-24 13:41:01 -0700521 public abstract interface IThermalListenerCallback implements android.os.IInterface {
522 method public abstract void onThermalChanged(int) throws android.os.RemoteException;
523 }
524
525 public static abstract class IThermalListenerCallback.Stub extends android.os.Binder implements cyanogenmod.hardware.IThermalListenerCallback {
526 ctor public IThermalListenerCallback.Stub();
527 method public android.os.IBinder asBinder();
528 method public static cyanogenmod.hardware.IThermalListenerCallback asInterface(android.os.IBinder);
529 method public boolean onTransact(int, android.os.Parcel, android.os.Parcel, int) throws android.os.RemoteException;
530 }
531
532 public abstract class ThermalListenerCallback extends cyanogenmod.hardware.IThermalListenerCallback.Stub {
533 ctor public ThermalListenerCallback();
534 }
535
536 public static final class ThermalListenerCallback.State {
537 ctor public ThermalListenerCallback.State();
538 method public static final java.lang.String toString(int);
539 field public static final int STATE_COOL = 0; // 0x0
Adnan Begovic10d20252015-09-30 17:47:23 -0700540 field public static final int STATE_CRITICAL = 3; // 0x3
Danesh Mc56b48e2015-09-24 13:41:01 -0700541 field public static final int STATE_UNKNOWN = -1; // 0xffffffff
Adnan Begovic10d20252015-09-30 17:47:23 -0700542 field public static final int STATE_WARM_FALLING = 1; // 0x1
543 field public static final int STATE_WARM_RISING = 2; // 0x2
Danesh Mc56b48e2015-09-24 13:41:01 -0700544 }
545
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700546}
547
Matt Garnes087f2b52015-09-03 15:54:29 -0700548package cyanogenmod.media {
549
550 public class MediaRecorder {
551 ctor public MediaRecorder();
552 field public static final java.lang.String ACTION_HOTWORD_INPUT_CHANGED = "com.cyanogenmod.intent.action.HOTWORD_INPUT_CHANGED";
553 field public static final java.lang.String CAPTURE_AUDIO_HOTWORD_PERMISSION = "android.permission.CAPTURE_AUDIO_HOTWORD";
554 field public static final java.lang.String EXTRA_CURRENT_PACKAGE_NAME = "com.cyanogenmod.intent.extra.CURRENT_PACKAGE_NAME";
555 }
556
557 public static class MediaRecorder.AudioSource {
558 ctor public MediaRecorder.AudioSource();
559 field public static final int HOTWORD = 1999; // 0x7cf
560 }
561
562}
563
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700564package cyanogenmod.os {
565
566 public class Build {
567 ctor public Build();
568 method public static java.lang.String getNameForSDKInt(int);
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800569 field public static final java.lang.String CYANOGENMOD_DISPLAY_VERSION = "ro.cm.display.version";
Adnan Begovicebf0f552016-01-18 11:26:08 -0800570 field public static final java.lang.String CYANOGENMOD_VERSION = "ro.cm.version";
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700571 field public static final java.lang.String UNKNOWN = "unknown";
572 }
573
574 public static class Build.CM_VERSION {
575 ctor public Build.CM_VERSION();
576 field public static final int SDK_INT;
577 }
578
579 public static class Build.CM_VERSION_CODES {
580 ctor public Build.CM_VERSION_CODES();
581 field public static final int APRICOT = 1; // 0x1
Adnan Begovicf9ec3a42015-07-13 16:46:23 -0700582 field public static final int BOYSENBERRY = 2; // 0x2
Roman Birgd29499d2015-12-23 09:32:13 -0800583 field public static final int CANTALOUPE = 3; // 0x3
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800584 field public static final int DRAGON_FRUIT = 4; // 0x4
Adnan Begovic1d2351e2016-02-09 11:12:38 -0800585 field public static final int ELDERBERRY = 5; // 0x5
Adnan Begovic6b879f32016-04-01 15:39:53 -0700586 field public static final int FIG = 6; // 0x6
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700587 }
588
Adnan Begovicdf4486f2016-04-01 10:55:04 -0700589 public final class Concierge {
590 method public static cyanogenmod.os.Concierge.ParcelInfo prepareParcel(android.os.Parcel);
591 method public static cyanogenmod.os.Concierge.ParcelInfo receiveParcel(android.os.Parcel);
592 }
593
594 public static final class Concierge.ParcelInfo {
595 method public void complete();
596 method public int getParcelVersion();
597 }
598
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700599}
600
Adnan Begovic273f2db2015-05-28 19:47:47 -0700601package cyanogenmod.platform {
602
603 public final class Manifest {
604 ctor public Manifest();
605 }
606
607 public static final class Manifest.permission {
608 ctor public Manifest.permission();
herriojre78ca4d2015-09-08 13:59:20 -0700609 field public static final java.lang.String ACCESS_APP_SUGGESTIONS = "cyanogenmod.permission.ACCESS_APP_SUGGESTIONS";
d34db3ea2852016-02-23 09:58:53 -0800610 field public static final java.lang.String ACCESS_THEME_MANAGER = "cyanogenmod.permission.ACCESS_THEME_MANAGER";
Luis Vidal4195a1c2016-03-21 11:56:40 -0700611 field public static final java.lang.String ACCESS_WEATHER_MANAGER = "cyanogenmod.permission.ACCESS_WEATHER_MANAGER";
612 field public static final java.lang.String BIND_WEATHER_PROVIDER_SERVICE = "cyanogenmod.permission.BIND_WEATHER_PROVIDER_SERVICE";
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700613 field public static final java.lang.String HARDWARE_ABSTRACTION_ACCESS = "cyanogenmod.permission.HARDWARE_ABSTRACTION_ACCESS";
d34dbfa500d2016-03-08 09:14:34 -0800614 field public static final java.lang.String LIVE_LOCK_SCREEN_MANAGER_ACCESS = "cyanogenmod.permission.LIVE_LOCK_SCREEN_MANAGER_ACCESS";
Adnan Begovic99716042015-09-01 16:26:28 -0700615 field public static final java.lang.String MANAGE_ALARMS = "cyanogenmod.permission.MANAGE_ALARMS";
Adnan Begovic9f381bc2015-09-09 17:29:30 -0700616 field public static final java.lang.String MANAGE_PERSISTENT_STORAGE = "cyanogenmod.permission.MANAGE_PERSISTENT_STORAGE";
Joao Figueiredo7f503352015-08-06 23:59:02 +0100617 field public static final java.lang.String MODIFY_MSIM_PHONE_STATE = "cyanogenmod.permission.MODIFY_MSIM_PHONE_STATE";
Matt Garnes7820e6d2015-08-05 18:16:21 -0700618 field public static final java.lang.String MODIFY_NETWORK_SETTINGS = "cyanogenmod.permission.MODIFY_NETWORK_SETTINGS";
Adnan Begovic99716042015-09-01 16:26:28 -0700619 field public static final java.lang.String MODIFY_PROFILES = "cyanogenmod.permission.MODIFY_PROFILES";
Matt Garnes7820e6d2015-08-05 18:16:21 -0700620 field public static final java.lang.String MODIFY_SOUND_SETTINGS = "cyanogenmod.permission.MODIFY_SOUND_SETTINGS";
Adnan Begovicb4eafda2016-03-07 11:49:52 -0800621 field public static final java.lang.String PERFORMANCE_ACCESS = "cyanogenmod.permission.PERFORMANCE_ACCESS";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800622 field public static final java.lang.String PROTECTED_APP = "cyanogenmod.permission.PROTECTED_APP";
Adnan Begovic273f2db2015-05-28 19:47:47 -0700623 field public static final java.lang.String PUBLISH_CUSTOM_TILE = "cyanogenmod.permission.PUBLISH_CUSTOM_TILE";
Adnan Begovic99716042015-09-01 16:26:28 -0700624 field public static final java.lang.String READ_ALARMS = "cyanogenmod.permission.READ_ALARMS";
gkipnis1ee5f202016-02-11 15:36:08 -0800625 field public static final java.lang.String READ_DATAUSAGE = "cyanogenmod.permission.READ_DATAUSAGE";
Joao Figueiredo7f503352015-08-06 23:59:02 +0100626 field public static final java.lang.String READ_MSIM_PHONE_STATE = "cyanogenmod.permission.READ_MSIM_PHONE_STATE";
d34db3ea2852016-02-23 09:58:53 -0800627 field public static final java.lang.String READ_THEMES = "cyanogenmod.permission.READ_THEMES";
Luis Vidal4195a1c2016-03-21 11:56:40 -0700628 field public static final java.lang.String READ_WEATHER = "cyanogenmod.permission.READ_WEATHER";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800629 field public static final java.lang.String THIRD_PARTY_KEYGUARD = "android.permission.THIRD_PARTY_KEYGUARD";
Adnan Begovic99716042015-09-01 16:26:28 -0700630 field public static final java.lang.String WRITE_ALARMS = "cyanogenmod.permission.WRITE_ALARMS";
gkipnis1ee5f202016-02-11 15:36:08 -0800631 field public static final java.lang.String WRITE_DATAUSAGE = "cyanogenmod.permission.WRITE_DATAUSAGE";
Yvonne Wong0eb29992015-08-20 16:02:08 -0700632 field public static final java.lang.String WRITE_SECURE_SETTINGS = "cyanogenmod.permission.WRITE_SECURE_SETTINGS";
633 field public static final java.lang.String WRITE_SETTINGS = "cyanogenmod.permission.WRITE_SETTINGS";
d34db3ea2852016-02-23 09:58:53 -0800634 field public static final java.lang.String WRITE_THEMES = "cyanogenmod.permission.WRITE_THEMES";
Luis Vidal4195a1c2016-03-21 11:56:40 -0700635 field public static final java.lang.String WRITE_WEATHER = "cyanogenmod.permission.WRITE_WEATHER";
Adnan Begovic273f2db2015-05-28 19:47:47 -0700636 }
637
638 public final class R {
639 ctor public R();
640 }
641
herriojre78ca4d2015-09-08 13:59:20 -0700642 public static final class R.array {
643 ctor public R.array();
644 }
645
Adnan Begovic273f2db2015-05-28 19:47:47 -0700646 public static final class R.attr {
647 ctor public R.attr();
648 }
649
herriojre78ca4d2015-09-08 13:59:20 -0700650 public static final class R.bool {
651 ctor public R.bool();
652 }
653
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700654 public static final class R.drawable {
655 ctor public R.drawable();
656 }
657
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800658 public static final class R.integer {
659 ctor public R.integer();
660 }
661
Adnan Begovic273f2db2015-05-28 19:47:47 -0700662 public static final class R.string {
663 ctor public R.string();
664 }
665
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700666 public static final class R.xml {
667 ctor public R.xml();
668 }
669
670}
671
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800672package cyanogenmod.power {
673
674 public class PerformanceManager {
675 method public static cyanogenmod.power.PerformanceManager getInstance(android.content.Context);
676 method public int getNumberOfProfiles();
677 method public int getPowerProfile();
678 method public boolean getProfileHasAppProfiles(int);
679 method public boolean setPowerProfile(int);
680 field public static final java.lang.String POWER_PROFILE_CHANGED = "cyanogenmod.power.PROFILE_CHANGED";
681 field public static final int PROFILE_BALANCED = 1; // 0x1
682 field public static final int PROFILE_BIAS_PERFORMANCE = 4; // 0x4
683 field public static final int PROFILE_BIAS_POWER_SAVE = 3; // 0x3
684 field public static final int PROFILE_HIGH_PERFORMANCE = 2; // 0x2
685 field public static final int PROFILE_POWER_SAVE = 0; // 0x0
686 field public static final java.lang.String TAG = "PerformanceManager";
687 }
688
689}
690
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700691package cyanogenmod.profiles {
692
693 public final class AirplaneModeSettings implements android.os.Parcelable {
694 ctor public AirplaneModeSettings(android.os.Parcel);
695 ctor public AirplaneModeSettings();
696 ctor public AirplaneModeSettings(int, boolean);
697 method public int describeContents();
698 method public int getValue();
699 method public boolean isOverride();
700 method public void setOverride(boolean);
701 method public void setValue(int);
702 method public void writeToParcel(android.os.Parcel, int);
703 }
704
705 public static class AirplaneModeSettings.BooleanState {
706 ctor public AirplaneModeSettings.BooleanState();
707 field public static final int STATE_DISALED = 0; // 0x0
708 field public static final int STATE_ENABLED = 1; // 0x1
709 }
710
711 public final class BrightnessSettings implements android.os.Parcelable {
712 ctor public BrightnessSettings(android.os.Parcel);
713 ctor public BrightnessSettings();
714 ctor public BrightnessSettings(int, boolean);
715 method public int describeContents();
716 method public int getValue();
717 method public boolean isOverride();
718 method public void setOverride(boolean);
719 method public void setValue(int);
720 method public void writeToParcel(android.os.Parcel, int);
721 }
722
723 public final class ConnectionSettings implements android.os.Parcelable {
724 ctor public ConnectionSettings(android.os.Parcel);
725 ctor public ConnectionSettings(int);
726 ctor public ConnectionSettings(int, int, boolean);
727 method public int describeContents();
728 method public int getConnectionId();
Roman Birgc46e0ff2016-02-10 18:59:16 -0800729 method public int getSubId();
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700730 method public int getValue();
731 method public boolean isOverride();
732 method public void setOverride(boolean);
Roman Birgc46e0ff2016-02-10 18:59:16 -0800733 method public void setSubId(int);
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700734 method public void setValue(int);
735 method public void writeToParcel(android.os.Parcel, int);
736 field public static final int PROFILE_CONNECTION_2G3G4G = 9; // 0x9
737 field public static final int PROFILE_CONNECTION_BLUETOOTH = 7; // 0x7
738 field public static final int PROFILE_CONNECTION_GPS = 4; // 0x4
739 field public static final int PROFILE_CONNECTION_MOBILEDATA = 0; // 0x0
740 field public static final int PROFILE_CONNECTION_NFC = 8; // 0x8
741 field public static final int PROFILE_CONNECTION_SYNC = 5; // 0x5
742 field public static final int PROFILE_CONNECTION_WIFI = 1; // 0x1
743 field public static final int PROFILE_CONNECTION_WIFIAP = 2; // 0x2
744 field public static final int PROFILE_CONNECTION_WIMAX = 3; // 0x3
745 }
746
747 public static class ConnectionSettings.BooleanState {
748 ctor public ConnectionSettings.BooleanState();
749 field public static final int STATE_DISALED = 0; // 0x0
750 field public static final int STATE_ENABLED = 1; // 0x1
751 }
752
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -0700753 public final class LockSettings implements android.os.Parcelable {
754 ctor public LockSettings(android.os.Parcel);
755 ctor public LockSettings();
756 ctor public LockSettings(int);
757 method public int describeContents();
758 method public int getValue();
759 method public void setValue(int);
760 method public void writeToParcel(android.os.Parcel, int);
761 }
762
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700763 public final class RingModeSettings implements android.os.Parcelable {
764 ctor public RingModeSettings(android.os.Parcel);
765 ctor public RingModeSettings();
766 ctor public RingModeSettings(java.lang.String, boolean);
767 method public int describeContents();
768 method public java.lang.String getValue();
769 method public boolean isOverride();
770 method public void setOverride(boolean);
771 method public void setValue(java.lang.String);
772 method public void writeToParcel(android.os.Parcel, int);
773 field public static final java.lang.String RING_MODE_MUTE = "mute";
774 field public static final java.lang.String RING_MODE_NORMAL = "normal";
775 field public static final java.lang.String RING_MODE_VIBRATE = "vibrate";
776 }
777
778 public final class StreamSettings implements android.os.Parcelable {
779 ctor public StreamSettings(android.os.Parcel);
780 ctor public StreamSettings(int);
781 ctor public StreamSettings(int, int, boolean);
782 method public int describeContents();
783 method public int getStreamId();
784 method public int getValue();
785 method public boolean isOverride();
786 method public void setOverride(boolean);
787 method public void setValue(int);
788 method public void writeToParcel(android.os.Parcel, int);
789 }
790
Adnan Begovic273f2db2015-05-28 19:47:47 -0700791}
792
Yvonne Wong0eb29992015-08-20 16:02:08 -0700793package cyanogenmod.providers {
794
795 public final class CMSettings {
796 ctor public CMSettings();
gkipnis1ee5f202016-02-11 15:36:08 -0800797 field public static final java.lang.String ACTION_DATA_USAGE = "cyanogenmod.settings.ACTION_DATA_USAGE";
Yvonne Wong0eb29992015-08-20 16:02:08 -0700798 field public static final java.lang.String AUTHORITY = "cmsettings";
799 }
800
801 public static class CMSettings.CMSettingNotFoundException extends android.util.AndroidException {
802 ctor public CMSettings.CMSettingNotFoundException(java.lang.String);
803 }
804
805 public static final class CMSettings.Global extends android.provider.Settings.NameValueTable {
806 ctor public CMSettings.Global();
807 method public static float getFloat(android.content.ContentResolver, java.lang.String, float);
808 method public static float getFloat(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException;
809 method public static int getInt(android.content.ContentResolver, java.lang.String, int);
810 method public static int getInt(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException;
811 method public static long getLong(android.content.ContentResolver, java.lang.String, long);
812 method public static long getLong(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException;
813 method public static java.lang.String getString(android.content.ContentResolver, java.lang.String);
Roman Birgd29499d2015-12-23 09:32:13 -0800814 method public static android.net.Uri getUriFor(java.lang.String);
Yvonne Wong0eb29992015-08-20 16:02:08 -0700815 method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float);
816 method public static boolean putInt(android.content.ContentResolver, java.lang.String, int);
817 method public static boolean putLong(android.content.ContentResolver, java.lang.String, long);
818 method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String);
819 field public static final android.net.Uri CONTENT_URI;
820 field public static final java.lang.String SYS_PROP_CM_SETTING_VERSION = "sys.cm_settings_global_version";
821 }
822
823 public static final class CMSettings.Secure extends android.provider.Settings.NameValueTable {
824 ctor public CMSettings.Secure();
825 method public static float getFloat(android.content.ContentResolver, java.lang.String, float);
826 method public static float getFloat(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException;
827 method public static int getInt(android.content.ContentResolver, java.lang.String, int);
828 method public static int getInt(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException;
829 method public static long getLong(android.content.ContentResolver, java.lang.String, long);
830 method public static long getLong(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException;
831 method public static java.lang.String getString(android.content.ContentResolver, java.lang.String);
Roman Birgd29499d2015-12-23 09:32:13 -0800832 method public static android.net.Uri getUriFor(java.lang.String);
Yvonne Wong0eb29992015-08-20 16:02:08 -0700833 method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float);
834 method public static boolean putInt(android.content.ContentResolver, java.lang.String, int);
835 method public static boolean putLong(android.content.ContentResolver, java.lang.String, long);
836 method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String);
837 field public static final android.net.Uri CONTENT_URI;
Yvonne Wong0eb29992015-08-20 16:02:08 -0700838 field public static final java.lang.String SYS_PROP_CM_SETTING_VERSION = "sys.cm_settings_secure_version";
839 }
840
841 public static final class CMSettings.System extends android.provider.Settings.NameValueTable {
842 ctor public CMSettings.System();
843 method public static float getFloat(android.content.ContentResolver, java.lang.String, float);
844 method public static float getFloat(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException;
845 method public static int getInt(android.content.ContentResolver, java.lang.String, int);
846 method public static int getInt(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException;
847 method public static long getLong(android.content.ContentResolver, java.lang.String, long);
848 method public static long getLong(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException;
849 method public static java.lang.String getString(android.content.ContentResolver, java.lang.String);
Roman Birgd29499d2015-12-23 09:32:13 -0800850 method public static android.net.Uri getUriFor(java.lang.String);
Yvonne Wong0eb29992015-08-20 16:02:08 -0700851 method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float);
852 method public static boolean putInt(android.content.ContentResolver, java.lang.String, int);
853 method public static boolean putLong(android.content.ContentResolver, java.lang.String, long);
854 method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String);
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800855 field public static final java.lang.String APP_SWITCH_WAKE_SCREEN = "app_switch_wake_screen";
856 field public static final java.lang.String ASSIST_WAKE_SCREEN = "assist_wake_screen";
857 field public static final java.lang.String BACK_WAKE_SCREEN = "back_wake_screen";
858 field public static final java.lang.String BATTERY_LIGHT_ENABLED = "battery_light_enabled";
859 field public static final java.lang.String BATTERY_LIGHT_FULL_COLOR = "battery_light_full_color";
860 field public static final java.lang.String BATTERY_LIGHT_LOW_COLOR = "battery_light_low_color";
861 field public static final java.lang.String BATTERY_LIGHT_MEDIUM_COLOR = "battery_light_medium_color";
862 field public static final java.lang.String BATTERY_LIGHT_PULSE = "battery_light_pulse";
863 field public static final java.lang.String BLUETOOTH_ACCEPT_ALL_FILES = "bluetooth_accept_all_files";
864 field public static final java.lang.String CALL_RECORDING_FORMAT = "call_recording_format";
865 field public static final java.lang.String CAMERA_LAUNCH = "camera_launch";
866 field public static final java.lang.String CAMERA_SLEEP_ON_RELEASE = "camera_sleep_on_release";
867 field public static final java.lang.String CAMERA_WAKE_SCREEN = "camera_wake_screen";
Yvonne Wong0eb29992015-08-20 16:02:08 -0700868 field public static final android.net.Uri CONTENT_URI;
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800869 field public static final java.lang.String DIALER_OPENCNAM_ACCOUNT_SID = "dialer_opencnam_account_sid";
870 field public static final java.lang.String DIALER_OPENCNAM_AUTH_TOKEN = "dialer_opencnam_auth_token";
871 field public static final java.lang.String DISPLAY_AUTO_OUTDOOR_MODE = "display_auto_outdoor_mode";
872 field public static final java.lang.String DISPLAY_COLOR_ADJUSTMENT = "display_color_adjustment";
873 field public static final java.lang.String DISPLAY_COLOR_ENHANCE = "display_color_enhance";
874 field public static final java.lang.String DISPLAY_LOW_POWER = "display_low_power";
875 field public static final java.lang.String DISPLAY_TEMPERATURE_DAY = "display_temperature_day";
876 field public static final java.lang.String DISPLAY_TEMPERATURE_MODE = "display_temperature_mode";
877 field public static final java.lang.String DISPLAY_TEMPERATURE_NIGHT = "display_temperature_night";
878 field public static final java.lang.String DOUBLE_TAP_SLEEP_GESTURE = "double_tap_sleep_gesture";
879 field public static final java.lang.String ENABLE_FORWARD_LOOKUP = "enable_forward_lookup";
880 field public static final java.lang.String ENABLE_PEOPLE_LOOKUP = "enable_people_lookup";
881 field public static final java.lang.String ENABLE_REVERSE_LOOKUP = "enable_reverse_lookup";
882 field public static final java.lang.String FORWARD_LOOKUP_PROVIDER = "forward_lookup_provider";
Michael Bestasfcadbf52016-02-10 01:39:17 +0200883 field public static final java.lang.String HEADSET_CONNECT_PLAYER = "headset_connect_player";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800884 field public static final java.lang.String HIGH_TOUCH_SENSITIVITY_ENABLE = "high_touch_sensitivity_enable";
885 field public static final java.lang.String HOME_WAKE_SCREEN = "home_wake_screen";
886 field public static final java.lang.String INCREASING_RING = "increasing_ring";
887 field public static final java.lang.String INCREASING_RING_RAMP_UP_TIME = "increasing_ring_ramp_up_time";
888 field public static final java.lang.String INCREASING_RING_START_VOLUME = "increasing_ring_start_vol";
889 field public static final java.lang.String KEY_APP_SWITCH_ACTION = "key_app_switch_action";
890 field public static final java.lang.String KEY_APP_SWITCH_LONG_PRESS_ACTION = "key_app_switch_long_press_action";
891 field public static final java.lang.String KEY_ASSIST_ACTION = "key_assist_action";
892 field public static final java.lang.String KEY_ASSIST_LONG_PRESS_ACTION = "key_assist_long_press_action";
893 field public static final java.lang.String KEY_HOME_DOUBLE_TAP_ACTION = "key_home_double_tap_action";
894 field public static final java.lang.String KEY_HOME_LONG_PRESS_ACTION = "key_home_long_press_action";
895 field public static final java.lang.String KEY_MENU_ACTION = "key_menu_action";
896 field public static final java.lang.String KEY_MENU_LONG_PRESS_ACTION = "key_menu_long_press_action";
897 field public static final java.lang.String LOCKSCREEN_PIN_SCRAMBLE_LAYOUT = "lockscreen_scramble_pin_layout";
898 field public static final java.lang.String MENU_WAKE_SCREEN = "menu_wake_screen";
899 field public static final java.lang.String NAVBAR_LEFT_IN_LANDSCAPE = "navigation_bar_left";
900 field public static final java.lang.String NAVIGATION_BAR_MENU_ARROW_KEYS = "navigation_bar_menu_arrow_keys";
901 field public static final java.lang.String NAV_BUTTONS = "nav_buttons";
902 field public static final java.lang.String NOTIFICATION_LIGHT_BRIGHTNESS_LEVEL = "notification_light_brightness_level";
903 field public static final java.lang.String NOTIFICATION_LIGHT_MULTIPLE_LEDS_ENABLE = "notification_light_multiple_leds_enable";
904 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_COLOR = "notification_light_pulse_call_color";
905 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_LED_OFF = "notification_light_pulse_call_led_off";
906 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_LED_ON = "notification_light_pulse_call_led_on";
907 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CUSTOM_ENABLE = "notification_light_pulse_custom_enable";
908 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CUSTOM_VALUES = "notification_light_pulse_custom_values";
909 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_COLOR = "notification_light_pulse_default_color";
910 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_LED_OFF = "notification_light_pulse_default_led_off";
911 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_LED_ON = "notification_light_pulse_default_led_on";
912 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_COLOR = "notification_light_pulse_vmail_color";
913 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_LED_OFF = "notification_light_pulse_vmail_led_off";
914 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_LED_ON = "notification_light_pulse_vmail_led_on";
915 field public static final java.lang.String NOTIFICATION_LIGHT_SCREEN_ON = "notification_light_screen_on_enable";
916 field public static final java.lang.String NOTIFICATION_PLAY_QUEUE = "notification_play_queue";
917 field public static final java.lang.String PEOPLE_LOOKUP_PROVIDER = "people_lookup_provider";
918 field public static final java.lang.String PROXIMITY_ON_WAKE = "proximity_on_wake";
919 field public static final java.lang.String QS_SHOW_BRIGHTNESS_SLIDER = "qs_show_brightness_slider";
920 field public static final java.lang.String RECENTS_SHOW_SEARCH_BAR = "recents_show_search_bar";
921 field public static final java.lang.String REVERSE_LOOKUP_PROVIDER = "reverse_lookup_provider";
922 field public static final java.lang.String SHOW_ALARM_ICON = "show_alarm_icon";
923 field public static final java.lang.String STATUS_BAR_AM_PM = "status_bar_am_pm";
924 field public static final java.lang.String STATUS_BAR_BATTERY_STYLE = "status_bar_battery_style";
925 field public static final java.lang.String STATUS_BAR_BRIGHTNESS_CONTROL = "status_bar_brightness_control";
926 field public static final java.lang.String STATUS_BAR_CLOCK = "status_bar_clock";
927 field public static final java.lang.String STATUS_BAR_IME_SWITCHER = "status_bar_ime_switcher";
928 field public static final java.lang.String STATUS_BAR_NOTIF_COUNT = "status_bar_notif_count";
929 field public static final java.lang.String STATUS_BAR_QUICK_QS_PULLDOWN = "qs_quick_pulldown";
930 field public static final java.lang.String STATUS_BAR_SHOW_BATTERY_PERCENT = "status_bar_show_battery_percent";
931 field public static final java.lang.String STATUS_BAR_SHOW_WEATHER = "status_bar_show_weather";
932 field public static final java.lang.String SWAP_VOLUME_KEYS_ON_ROTATION = "swap_volume_keys_on_rotation";
933 field public static final java.lang.String SYSTEM_PROFILES_ENABLED = "system_profiles_enabled";
Yvonne Wong0eb29992015-08-20 16:02:08 -0700934 field public static final java.lang.String SYS_PROP_CM_SETTING_VERSION = "sys.cm_settings_system_version";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800935 field public static final java.lang.String T9_SEARCH_INPUT_LOCALE = "t9_search_input_locale";
Michael Bestas73fafc12016-02-20 01:01:34 +0200936 field public static final java.lang.String TOUCHSCREEN_GESTURE_HAPTIC_FEEDBACK = "touchscreen_gesture_haptic_feedback";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800937 field public static final java.lang.String USE_EDGE_SERVICE_FOR_GESTURES = "edge_service_for_gestures";
938 field public static final java.lang.String VOLBTN_MUSIC_CONTROLS = "volbtn_music_controls";
939 field public static final java.lang.String VOLUME_ADJUST_SOUNDS_ENABLED = "volume_adjust_sounds_enabled";
940 field public static final java.lang.String VOLUME_KEYS_CONTROL_RING_STREAM = "volume_keys_control_ring_stream";
941 field public static final java.lang.String VOLUME_WAKE_SCREEN = "volume_wake_screen";
niks255783463c2016-01-29 12:13:00 +0300942 field public static final java.lang.String ZEN_ALLOW_LIGHTS = "allow_lights";
943 field public static final java.lang.String ZEN_PRIORITY_ALLOW_LIGHTS = "zen_priority_allow_lights";
Yvonne Wong0eb29992015-08-20 16:02:08 -0700944 }
945
gkipnis1ee5f202016-02-11 15:36:08 -0800946 public final class DataUsageContract {
947 ctor public DataUsageContract();
948 field public static final java.lang.String ACTIVE = "active";
949 field public static final android.net.Uri BASE_CONTENT_URI;
950 field public static final java.lang.String BYTES = "bytes";
951 field public static final int COLUMN_OF_ACTIVE = 3; // 0x3
952 field public static final int COLUMN_OF_BYTES = 5; // 0x5
953 field public static final int COLUMN_OF_ENABLE = 2; // 0x2
954 field public static final int COLUMN_OF_EXTRA = 10; // 0xa
955 field public static final int COLUMN_OF_FAST_AVG = 8; // 0x8
956 field public static final int COLUMN_OF_FAST_SAMPLES = 9; // 0x9
957 field public static final int COLUMN_OF_ID = 0; // 0x0
958 field public static final int COLUMN_OF_LABEL = 4; // 0x4
959 field public static final int COLUMN_OF_SLOW_AVG = 6; // 0x6
960 field public static final int COLUMN_OF_SLOW_SAMPLES = 7; // 0x7
961 field public static final int COLUMN_OF_UID = 1; // 0x1
962 field public static final java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.itemdatausage_item";
963 field public static final java.lang.String CONTENT_TYPE = "vnd.android.cursor.dirdatausage_item";
964 field public static final android.net.Uri CONTENT_URI;
965 field public static final java.lang.String DATAUSAGE_AUTHORITY = "org.cyanogenmod.providers.datausage";
966 field public static final java.lang.String DATAUSAGE_TABLE = "datausage";
967 field public static final java.lang.String ENABLE = "enable";
968 field public static final java.lang.String EXTRA = "extra";
969 field public static final java.lang.String FAST_AVG = "fast_avg";
970 field public static final java.lang.String FAST_SAMPLES = "fast_samples";
971 field public static final java.lang.String LABEL = "label";
972 field public static final java.lang.String[] PROJECTION_ALL;
973 field public static final java.lang.String SLOW_AVG = "slow_avg";
974 field public static final java.lang.String SLOW_SAMPLES = "slow_samples";
975 field public static final java.lang.String UID = "uid";
976 field public static final java.lang.String _ID = "_id";
977 }
978
d34db3ea2852016-02-23 09:58:53 -0800979 public class ThemesContract {
980 ctor public ThemesContract();
981 field public static final java.lang.String AUTHORITY = "com.cyanogenmod.themes";
982 field public static final android.net.Uri AUTHORITY_URI;
983 }
984
985 public static class ThemesContract.MixnMatchColumns {
986 ctor public ThemesContract.MixnMatchColumns();
987 method public static java.lang.String componentToImageColName(java.lang.String);
988 method public static java.lang.String componentToMixNMatchKey(java.lang.String);
989 method public static java.lang.String mixNMatchKeyToComponent(java.lang.String);
990 field public static final java.lang.String COL_COMPONENT_ID = "component_id";
991 field public static final java.lang.String COL_KEY = "key";
992 field public static final java.lang.String COL_PREV_VALUE = "previous_value";
993 field public static final java.lang.String COL_UPDATE_TIME = "update_time";
994 field public static final java.lang.String COL_VALUE = "value";
995 field public static final android.net.Uri CONTENT_URI;
996 field public static final java.lang.String KEY_ALARM = "mixnmatch_alarm";
997 field public static final java.lang.String KEY_BOOT_ANIM = "mixnmatch_boot_anim";
998 field public static final java.lang.String KEY_FONT = "mixnmatch_font";
999 field public static final java.lang.String KEY_HOMESCREEN = "mixnmatch_homescreen";
1000 field public static final java.lang.String KEY_ICONS = "mixnmatch_icons";
1001 field public static final java.lang.String KEY_LIVE_LOCK_SCREEN = "mixnmatch_live_lock_screen";
1002 field public static final java.lang.String KEY_LOCKSCREEN = "mixnmatch_lockscreen";
1003 field public static final java.lang.String KEY_NAVIGATION_BAR = "mixnmatch_navigation_bar";
1004 field public static final java.lang.String KEY_NOTIFICATIONS = "mixnmatch_notifications";
1005 field public static final java.lang.String KEY_OVERLAYS = "mixnmatch_overlays";
1006 field public static final java.lang.String KEY_RINGTONE = "mixnmatch_ringtone";
1007 field public static final java.lang.String KEY_STATUS_BAR = "mixnmatch_status_bar";
1008 field public static final java.lang.String[] ROWS;
1009 }
1010
1011 public static class ThemesContract.PreviewColumns {
1012 ctor public ThemesContract.PreviewColumns();
1013 field public static final android.net.Uri APPLIED_URI;
1014 field public static final java.lang.String BOOTANIMATION_THUMBNAIL = "bootanimation_thumbnail";
1015 field public static final java.lang.String COL_KEY = "key";
1016 field public static final java.lang.String COL_VALUE = "value";
1017 field public static final android.net.Uri COMPONENTS_URI;
1018 field public static final java.lang.String COMPONENT_ID = "component_id";
1019 field public static final android.net.Uri CONTENT_URI;
1020 field public static final java.lang.String ICON_PREVIEW_1 = "icon_preview_1";
1021 field public static final java.lang.String ICON_PREVIEW_2 = "icon_preview_2";
1022 field public static final java.lang.String ICON_PREVIEW_3 = "icon_preview_3";
1023 field public static final java.lang.String LIVE_LOCK_SCREEN_PREVIEW = "live_lock_screen_preview";
1024 field public static final java.lang.String LIVE_LOCK_SCREEN_THUMBNAIL = "live_lock_screen_thumbnail";
1025 field public static final java.lang.String LOCK_WALLPAPER_PREVIEW = "lock_wallpaper_preview";
1026 field public static final java.lang.String LOCK_WALLPAPER_THUMBNAIL = "lock_wallpaper_thumbnail";
1027 field public static final java.lang.String NAVBAR_BACKGROUND = "navbar_background";
1028 field public static final java.lang.String NAVBAR_BACK_BUTTON = "navbar_back_button";
1029 field public static final java.lang.String NAVBAR_HOME_BUTTON = "navbar_home_button";
1030 field public static final java.lang.String NAVBAR_RECENT_BUTTON = "navbar_recent_button";
1031 field public static final java.lang.String STATUSBAR_BACKGROUND = "statusbar_background";
1032 field public static final java.lang.String STATUSBAR_BATTERY_CIRCLE = "statusbar_battery_circle";
1033 field public static final java.lang.String STATUSBAR_BATTERY_LANDSCAPE = "statusbar_battery_landscape";
1034 field public static final java.lang.String STATUSBAR_BATTERY_PORTRAIT = "statusbar_battery_portrait";
1035 field public static final java.lang.String STATUSBAR_BLUETOOTH_ICON = "statusbar_bluetooth_icon";
1036 field public static final java.lang.String STATUSBAR_CLOCK_TEXT_COLOR = "statusbar_clock_text_color";
1037 field public static final java.lang.String STATUSBAR_SIGNAL_ICON = "statusbar_signal_icon";
1038 field public static final java.lang.String STATUSBAR_WIFI_COMBO_MARGIN_END = "wifi_combo_margin_end";
1039 field public static final java.lang.String STATUSBAR_WIFI_ICON = "statusbar_wifi_icon";
1040 field public static final java.lang.String STYLE_PREVIEW = "style_preview";
1041 field public static final java.lang.String STYLE_THUMBNAIL = "style_thumbnail";
1042 field public static final java.lang.String THEME_ID = "theme_id";
1043 field public static final java.lang.String[] VALID_KEYS;
1044 field public static final java.lang.String WALLPAPER_FULL = "wallpaper_full";
1045 field public static final java.lang.String WALLPAPER_PREVIEW = "wallpaper_preview";
1046 field public static final java.lang.String WALLPAPER_THUMBNAIL = "wallpaper_thumbnail";
1047 field public static final java.lang.String _ID = "_id";
1048 }
1049
1050 public static class ThemesContract.ThemesColumns {
1051 ctor public ThemesContract.ThemesColumns();
1052 field public static final java.lang.String AUTHOR = "author";
1053 field public static final java.lang.String BOOT_ANIM_URI = "bootanim_uri";
1054 field public static final android.net.Uri CONTENT_URI;
1055 field public static final java.lang.String DATE_CREATED = "created";
1056 field public static final java.lang.String FONT_URI = "font_uri";
1057 field public static final java.lang.String HOMESCREEN_URI = "homescreen_uri";
1058 field public static final java.lang.String ICON_URI = "icon_uri";
1059 field public static final java.lang.String INSTALL_STATE = "install_state";
1060 field public static final java.lang.String INSTALL_TIME = "install_time";
1061 field public static final java.lang.String IS_DEFAULT_THEME = "is_default_theme";
1062 field public static final java.lang.String IS_LEGACY_ICONPACK = "is_legacy_iconpack";
1063 field public static final java.lang.String IS_LEGACY_THEME = "is_legacy_theme";
1064 field public static final java.lang.String LAST_UPDATE_TIME = "updateTime";
1065 field public static final java.lang.String LOCKSCREEN_URI = "lockscreen_uri";
1066 field public static final java.lang.String MODIFIES_ALARMS = "mods_alarms";
1067 field public static final java.lang.String MODIFIES_BOOT_ANIM = "mods_bootanim";
1068 field public static final java.lang.String MODIFIES_FONTS = "mods_fonts";
1069 field public static final java.lang.String MODIFIES_ICONS = "mods_icons";
1070 field public static final java.lang.String MODIFIES_LAUNCHER = "mods_homescreen";
1071 field public static final java.lang.String MODIFIES_LIVE_LOCK_SCREEN = "mods_live_lock_screen";
1072 field public static final java.lang.String MODIFIES_LOCKSCREEN = "mods_lockscreen";
1073 field public static final java.lang.String MODIFIES_NAVIGATION_BAR = "mods_navigation_bar";
1074 field public static final java.lang.String MODIFIES_NOTIFICATIONS = "mods_notifications";
1075 field public static final java.lang.String MODIFIES_OVERLAYS = "mods_overlays";
1076 field public static final java.lang.String MODIFIES_RINGTONES = "mods_ringtones";
1077 field public static final java.lang.String MODIFIES_STATUS_BAR = "mods_status_bar";
1078 field public static final java.lang.String OVERLAYS_URI = "overlays_uri";
1079 field public static final java.lang.String PKG_NAME = "pkg_name";
1080 field public static final java.lang.String PRESENT_AS_THEME = "present_as_theme";
1081 field public static final java.lang.String PRIMARY_COLOR = "primary_color";
1082 field public static final java.lang.String SECONDARY_COLOR = "secondary_color";
1083 field public static final java.lang.String STATUSBAR_URI = "status_uri";
1084 field public static final java.lang.String STYLE_URI = "style_uri";
1085 field public static final java.lang.String TARGET_API = "target_api";
1086 field public static final java.lang.String TITLE = "title";
1087 field public static final java.lang.String WALLPAPER_URI = "wallpaper_uri";
1088 field public static final java.lang.String _ID = "_id";
1089 }
1090
1091 public static class ThemesContract.ThemesColumns.InstallState {
1092 ctor public ThemesContract.ThemesColumns.InstallState();
1093 field public static final int INSTALLED = 3; // 0x3
1094 field public static final int INSTALLING = 1; // 0x1
1095 field public static final int UNKNOWN = 0; // 0x0
1096 field public static final int UPDATING = 2; // 0x2
1097 }
1098
Luis Vidal4195a1c2016-03-21 11:56:40 -07001099 public class WeatherContract {
1100 ctor public WeatherContract();
1101 field public static final java.lang.String AUTHORITY = "com.cyanogenmod.weather";
1102 field public static final android.net.Uri AUTHORITY_URI;
1103 }
1104
1105 public static class WeatherContract.WeatherColumns {
1106 ctor public WeatherContract.WeatherColumns();
1107 field public static final android.net.Uri CONTENT_URI;
1108 field public static final android.net.Uri CURRENT_AND_FORECAST_WEATHER_URI;
1109 field public static final java.lang.String CURRENT_CITY = "city";
1110 field public static final java.lang.String CURRENT_CITY_ID = "city_id";
1111 field public static final java.lang.String CURRENT_CONDITION = "condition";
1112 field public static final java.lang.String CURRENT_CONDITION_CODE = "condition_code";
1113 field public static final java.lang.String CURRENT_HUMIDITY = "humidity";
1114 field public static final java.lang.String CURRENT_TEMPERATURE = "temperature";
1115 field public static final java.lang.String CURRENT_TEMPERATURE_UNIT = "temperature_unit";
1116 field public static final java.lang.String CURRENT_TIMESTAMP = "timestamp";
1117 field public static final android.net.Uri CURRENT_WEATHER_URI;
1118 field public static final java.lang.String CURRENT_WIND_DIRECTION = "wind_direction";
1119 field public static final java.lang.String CURRENT_WIND_SPEED = "wind_speed";
1120 field public static final java.lang.String CURRENT_WIND_SPEED_UNIT = "wind_speed_unit";
1121 field public static final java.lang.String FORECAST_CONDITION = "forecast_condition";
1122 field public static final java.lang.String FORECAST_CONDITION_CODE = "forecast_condition_code";
1123 field public static final java.lang.String FORECAST_HIGH = "forecast_high";
1124 field public static final java.lang.String FORECAST_LOW = "forecast_low";
1125 field public static final android.net.Uri FORECAST_WEATHER_URI;
1126 }
1127
1128 public static final class WeatherContract.WeatherColumns.TempUnit {
1129 field public static final int CELSIUS = 1; // 0x1
1130 field public static final int FAHRENHEIT = 2; // 0x2
1131 }
1132
1133 public static final class WeatherContract.WeatherColumns.WeatherCode {
1134 field public static final int BLOWING_SNOW = 14; // 0xe
1135 field public static final int BLUSTERY = 22; // 0x16
1136 field public static final int CLEAR_NIGHT = 30; // 0x1e
1137 field public static final int CLOUDY = 25; // 0x19
1138 field public static final int COLD = 24; // 0x18
1139 field public static final int DRIZZLE = 9; // 0x9
1140 field public static final int DUST = 18; // 0x12
1141 field public static final int FAIR_DAY = 33; // 0x21
1142 field public static final int FAIR_NIGHT = 32; // 0x20
1143 field public static final int FOGGY = 19; // 0x13
1144 field public static final int FREEZING_DRIZZLE = 8; // 0x8
1145 field public static final int FREEZING_RAIN = 10; // 0xa
1146 field public static final int HAIL = 16; // 0x10
1147 field public static final int HAZE = 20; // 0x14
1148 field public static final int HEAVY_SNOW = 39; // 0x27
1149 field public static final int HOT = 35; // 0x23
1150 field public static final int HURRICANE = 2; // 0x2
1151 field public static final int ISOLATED_THUNDERSHOWERS = 44; // 0x2c
1152 field public static final int ISOLATED_THUNDERSTORMS = 36; // 0x24
1153 field public static final int LIGHT_SNOW_SHOWERS = 13; // 0xd
1154 field public static final int MIXED_RAIN_AND_HAIL = 34; // 0x22
1155 field public static final int MIXED_RAIN_AND_SLEET = 6; // 0x6
1156 field public static final int MIXED_RAIN_AND_SNOW = 5; // 0x5
1157 field public static final int MIXED_SNOW_AND_SLEET = 7; // 0x7
1158 field public static final int MOSTLY_CLOUDY_DAY = 27; // 0x1b
1159 field public static final int MOSTLY_CLOUDY_NIGHT = 26; // 0x1a
1160 field public static final int NOT_AVAILABLE = 3200; // 0xc80
1161 field public static final int PARTLY_CLOUDY = 41; // 0x29
1162 field public static final int PARTLY_CLOUDY_DAY = 29; // 0x1d
1163 field public static final int PARTLY_CLOUDY_NIGHT = 28; // 0x1c
1164 field public static final int SCATTERED_SHOWERS = 38; // 0x26
1165 field public static final int SCATTERED_SNOW_SHOWERS = 40; // 0x28
1166 field public static final int SCATTERED_THUNDERSTORMS = 37; // 0x25
1167 field public static final int SEVERE_THUNDERSTORMS = 3; // 0x3
1168 field public static final int SHOWERS = 11; // 0xb
1169 field public static final int SLEET = 17; // 0x11
1170 field public static final int SMOKY = 21; // 0x15
1171 field public static final int SNOW = 15; // 0xf
1172 field public static final int SNOW_FLURRIES = 12; // 0xc
1173 field public static final int SNOW_SHOWERS = 43; // 0x2b
1174 field public static final int SUNNY = 31; // 0x1f
1175 field public static final int THUNDERSHOWER = 42; // 0x2a
1176 field public static final int THUNDERSTORMS = 4; // 0x4
1177 field public static final int TORNADO = 0; // 0x0
1178 field public static final int TROPICAL_STORM = 1; // 0x1
1179 field public static final int WINDY = 23; // 0x17
1180 }
1181
1182 public static final class WeatherContract.WeatherColumns.WindSpeedUnit {
1183 field public static final int KPH = 1; // 0x1
1184 field public static final int MPH = 2; // 0x2
1185 }
1186
Yvonne Wong0eb29992015-08-20 16:02:08 -07001187}
1188
d34df2fd8362016-03-04 16:07:39 -08001189package cyanogenmod.themes {
1190
1191 public final class ThemeChangeRequest implements android.os.Parcelable {
1192 method public int describeContents();
1193 method public java.lang.String getAlarmThemePackageName();
1194 method public java.lang.String getBootanimationThemePackageName();
1195 method public java.lang.String getFontThemePackageName();
1196 method public java.lang.String getIconsThemePackageName();
1197 method public java.lang.String getLiveLockScreenThemePackageName();
1198 method public java.lang.String getLockWallpaperThemePackageName();
1199 method public java.lang.String getNavBarThemePackageName();
1200 method public java.lang.String getNotificationThemePackageName();
1201 method public int getNumChangesRequested();
1202 method public java.lang.String getOverlayThemePackageName();
1203 method public final java.util.Map<java.lang.String, java.lang.String> getPerAppOverlays();
1204 method public cyanogenmod.themes.ThemeChangeRequest.RequestType getReqeustType();
1205 method public java.lang.String getRingtoneThemePackageName();
1206 method public java.lang.String getStatusBarThemePackageName();
1207 method public final java.util.Map<java.lang.String, java.lang.String> getThemeComponentsMap();
1208 method public long getWallpaperId();
1209 method public java.lang.String getWallpaperThemePackageName();
1210 method public void writeToParcel(android.os.Parcel, int);
1211 field public static final android.os.Parcelable.Creator<cyanogenmod.themes.ThemeChangeRequest> CREATOR;
1212 field public static final int DEFAULT_WALLPAPER_ID = -1; // 0xffffffff
1213 }
1214
1215 public static class ThemeChangeRequest.Builder {
1216 ctor public ThemeChangeRequest.Builder();
1217 ctor public ThemeChangeRequest.Builder(android.content.res.ThemeConfig);
1218 method public cyanogenmod.themes.ThemeChangeRequest build();
1219 method public cyanogenmod.themes.ThemeChangeRequest.Builder setAlarm(java.lang.String);
1220 method public cyanogenmod.themes.ThemeChangeRequest.Builder setAppOverlay(java.lang.String, java.lang.String);
1221 method public cyanogenmod.themes.ThemeChangeRequest.Builder setBootanimation(java.lang.String);
1222 method public cyanogenmod.themes.ThemeChangeRequest.Builder setComponent(java.lang.String, java.lang.String);
1223 method public cyanogenmod.themes.ThemeChangeRequest.Builder setFont(java.lang.String);
1224 method public cyanogenmod.themes.ThemeChangeRequest.Builder setIcons(java.lang.String);
1225 method public cyanogenmod.themes.ThemeChangeRequest.Builder setLiveLockScreen(java.lang.String);
1226 method public cyanogenmod.themes.ThemeChangeRequest.Builder setLockWallpaper(java.lang.String);
1227 method public cyanogenmod.themes.ThemeChangeRequest.Builder setNavBar(java.lang.String);
1228 method public cyanogenmod.themes.ThemeChangeRequest.Builder setNotification(java.lang.String);
1229 method public cyanogenmod.themes.ThemeChangeRequest.Builder setOverlay(java.lang.String);
1230 method public cyanogenmod.themes.ThemeChangeRequest.Builder setRequestType(cyanogenmod.themes.ThemeChangeRequest.RequestType);
1231 method public cyanogenmod.themes.ThemeChangeRequest.Builder setRingtone(java.lang.String);
1232 method public cyanogenmod.themes.ThemeChangeRequest.Builder setStatusBar(java.lang.String);
1233 method public cyanogenmod.themes.ThemeChangeRequest.Builder setWallpaper(java.lang.String);
1234 method public cyanogenmod.themes.ThemeChangeRequest.Builder setWallpaperId(long);
1235 }
1236
1237 public static final class ThemeChangeRequest.RequestType extends java.lang.Enum {
1238 method public static cyanogenmod.themes.ThemeChangeRequest.RequestType valueOf(java.lang.String);
1239 method public static final cyanogenmod.themes.ThemeChangeRequest.RequestType[] values();
1240 enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType THEME_REMOVED;
1241 enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType THEME_RESET;
1242 enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType THEME_UPDATED;
1243 enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType USER_REQUEST;
1244 enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType USER_REQUEST_MIXNMATCH;
1245 }
1246
1247 public class ThemeManager {
1248 method public deprecated void addClient(cyanogenmod.themes.ThemeManager.ThemeChangeListener);
1249 method public void applyDefaultTheme();
Adnan Begovicccdb2922016-03-24 17:55:10 -07001250 method public static cyanogenmod.themes.ThemeManager getInstance(android.content.Context);
d34df2fd8362016-03-04 16:07:39 -08001251 method public cyanogenmod.themes.ThemeChangeRequest.RequestType getLastThemeChangeRequestType();
1252 method public long getLastThemeChangeTime();
1253 method public int getProgress();
1254 method public boolean isThemeApplying();
1255 method public boolean isThemeBeingProcessed(java.lang.String);
1256 method public deprecated void onClientDestroyed(cyanogenmod.themes.ThemeManager.ThemeChangeListener);
1257 method public deprecated void onClientPaused(cyanogenmod.themes.ThemeManager.ThemeChangeListener);
1258 method public deprecated void onClientResumed(cyanogenmod.themes.ThemeManager.ThemeChangeListener);
1259 method public boolean processThemeResources(java.lang.String);
1260 method public void registerProcessingListener(cyanogenmod.themes.ThemeManager.ThemeProcessingListener);
1261 method public void registerThemeChangeListener(cyanogenmod.themes.ThemeManager.ThemeChangeListener);
1262 method public deprecated void removeClient(cyanogenmod.themes.ThemeManager.ThemeChangeListener);
1263 method public void requestThemeChange(java.lang.String, java.util.List<java.lang.String>);
1264 method public void requestThemeChange(java.lang.String, java.util.List<java.lang.String>, boolean);
1265 method public void requestThemeChange(java.util.Map<java.lang.String, java.lang.String>);
1266 method public void requestThemeChange(java.util.Map<java.lang.String, java.lang.String>, boolean);
1267 method public void requestThemeChange(cyanogenmod.themes.ThemeChangeRequest, boolean);
Adnan Begovic127c0cf2016-03-29 15:10:55 -07001268 method public void unregisterProcessingListener(cyanogenmod.themes.ThemeManager.ThemeProcessingListener);
d34df2fd8362016-03-04 16:07:39 -08001269 method public void unregisterThemeChangeListener(cyanogenmod.themes.ThemeManager.ThemeChangeListener);
1270 }
1271
1272 public static abstract interface ThemeManager.ThemeChangeListener {
1273 method public abstract void onFinish(boolean);
1274 method public abstract void onProgress(int);
1275 }
1276
1277 public static abstract interface ThemeManager.ThemeProcessingListener {
1278 method public abstract void onFinishedProcessing(java.lang.String);
1279 }
1280
1281}
1282
Steve Kondik567b4302016-02-27 12:04:03 +01001283package cyanogenmod.util {
1284
1285 public class ColorUtils {
1286 ctor public ColorUtils();
1287 method public static double calculateDeltaE(double, double, double, double, double, double);
1288 method public static float[] convertRGBtoLAB(int);
1289 method public static int dropAlpha(int);
1290 method public static int findPerceptuallyNearestColor(int, int[]);
1291 method public static int findPerceptuallyNearestSolidColor(int);
1292 method public static int generateAlertColorFromDrawable(android.graphics.drawable.Drawable);
1293 method public static com.android.internal.util.cm.palette.Palette.Swatch getDominantSwatch(com.android.internal.util.cm.palette.Palette);
1294 method public static float[] temperatureToRGB(int);
1295 }
1296
1297}
1298
Luis Vidal4195a1c2016-03-21 11:56:40 -07001299package cyanogenmod.weather {
1300
1301 public class CMWeatherManager {
1302 method public java.lang.String getActiveWeatherServiceProviderLabel();
1303 method public static cyanogenmod.weather.CMWeatherManager getInstance(android.content.Context);
1304 method public void lookupCity(java.lang.String, cyanogenmod.weather.CMWeatherManager.LookupCityRequestListener);
1305 method public void registerWeatherServiceProviderChangeListener(cyanogenmod.weather.CMWeatherManager.WeatherServiceProviderChangeListener);
1306 method public void requestWeatherUpdate(android.location.Location, cyanogenmod.weather.CMWeatherManager.WeatherUpdateRequestListener);
1307 method public void requestWeatherUpdate(cyanogenmod.weather.WeatherLocation, cyanogenmod.weather.CMWeatherManager.WeatherUpdateRequestListener);
1308 method public void unregisterWeatherServiceProviderChangeListener(cyanogenmod.weather.CMWeatherManager.WeatherServiceProviderChangeListener);
1309 field public static final int WEATHER_REQUEST_ALREADY_IN_PROGRESS = -3; // 0xfffffffd
1310 field public static final int WEATHER_REQUEST_COMPLETED = 1; // 0x1
1311 field public static final int WEATHER_REQUEST_FAILED = -2; // 0xfffffffe
1312 field public static final int WEATHER_REQUEST_SUBMITTED_TOO_SOON = -1; // 0xffffffff
1313 }
1314
1315 public static abstract interface CMWeatherManager.LookupCityRequestListener {
1316 method public abstract void onLookupCityRequestCompleted(java.util.ArrayList<cyanogenmod.weather.WeatherLocation>);
1317 }
1318
1319 public static abstract interface CMWeatherManager.WeatherServiceProviderChangeListener {
1320 method public abstract void onWeatherServiceProviderChanged(java.lang.String);
1321 }
1322
1323 public static abstract interface CMWeatherManager.WeatherUpdateRequestListener {
1324 method public abstract void onWeatherRequestCompleted(int, cyanogenmod.weather.WeatherInfo);
1325 }
1326
1327 public final class RequestInfo implements android.os.Parcelable {
1328 method public int describeContents();
1329 method public java.lang.String getCityName();
1330 method public android.location.Location getLocation();
1331 method public int getRequestType();
1332 method public int getTemperatureUnit();
1333 method public cyanogenmod.weather.WeatherLocation getWeatherLocation();
1334 method public void writeToParcel(android.os.Parcel, int);
1335 field public static final android.os.Parcelable.Creator<cyanogenmod.weather.RequestInfo> CREATOR;
1336 field public static final int TYPE_GEO_LOCATION_REQ = 1; // 0x1
1337 field public static final int TYPE_LOOKUP_CITY_NAME_REQ = 3; // 0x3
1338 field public static final int TYPE_WEATHER_LOCATION_REQ = 2; // 0x2
1339 }
1340
1341 public final class WeatherInfo implements android.os.Parcelable {
1342 method public int describeContents();
1343 method public java.lang.String getCity();
1344 method public java.lang.String getCityId();
1345 method public int getConditionCode();
1346 method public java.util.ArrayList<cyanogenmod.weather.WeatherInfo.DayForecast> getForecasts();
1347 method public float getHumidity();
1348 method public float getTemperature();
1349 method public int getTemperatureUnit();
1350 method public long getTimestamp();
1351 method public float getWindDirection();
1352 method public float getWindSpeed();
1353 method public int getWindSpeedUnit();
1354 method public void writeToParcel(android.os.Parcel, int);
1355 field public static final android.os.Parcelable.Creator<cyanogenmod.weather.WeatherInfo> CREATOR;
1356 }
1357
1358 public static class WeatherInfo.Builder {
1359 ctor public WeatherInfo.Builder(long);
1360 method public cyanogenmod.weather.WeatherInfo build();
1361 method public cyanogenmod.weather.WeatherInfo.Builder setCity(java.lang.String, java.lang.String);
1362 method public cyanogenmod.weather.WeatherInfo.Builder setForecast(java.util.ArrayList<cyanogenmod.weather.WeatherInfo.DayForecast>);
1363 method public cyanogenmod.weather.WeatherInfo.Builder setHumidity(float);
1364 method public cyanogenmod.weather.WeatherInfo.Builder setTemperature(float, int);
1365 method public cyanogenmod.weather.WeatherInfo.Builder setWeatherCondition(int);
1366 method public cyanogenmod.weather.WeatherInfo.Builder setWind(float, float, int);
1367 }
1368
1369 public static class WeatherInfo.DayForecast implements android.os.Parcelable {
1370 method public int describeContents();
1371 method public int getConditionCode();
1372 method public float getHigh();
1373 method public float getLow();
1374 method public void writeToParcel(android.os.Parcel, int);
1375 field public static final android.os.Parcelable.Creator<cyanogenmod.weather.WeatherInfo.DayForecast> CREATOR;
1376 }
1377
1378 public static class WeatherInfo.DayForecast.Builder {
1379 ctor public WeatherInfo.DayForecast.Builder();
1380 method public cyanogenmod.weather.WeatherInfo.DayForecast build();
1381 method public cyanogenmod.weather.WeatherInfo.DayForecast.Builder setHigh(float);
1382 method public cyanogenmod.weather.WeatherInfo.DayForecast.Builder setLow(float);
1383 method public cyanogenmod.weather.WeatherInfo.DayForecast.Builder setWeatherCondition(int);
1384 }
1385
1386 public final class WeatherLocation implements android.os.Parcelable {
1387 method public int describeContents();
1388 method public java.lang.String getCity();
1389 method public java.lang.String getCityId();
1390 method public java.lang.String getCountry();
1391 method public java.lang.String getCountryId();
1392 method public java.lang.String getPostalCode();
1393 method public void writeToParcel(android.os.Parcel, int);
1394 field public static final android.os.Parcelable.Creator<cyanogenmod.weather.WeatherLocation> CREATOR;
1395 }
1396
1397 public static class WeatherLocation.Builder {
1398 ctor public WeatherLocation.Builder(java.lang.String, java.lang.String);
1399 method public cyanogenmod.weather.WeatherLocation build();
1400 method public cyanogenmod.weather.WeatherLocation.Builder setCountry(java.lang.String, java.lang.String);
1401 method public cyanogenmod.weather.WeatherLocation.Builder setPostalCode(java.lang.String);
1402 }
1403
1404}
1405
1406package cyanogenmod.weatherservice {
1407
1408 public final class ServiceRequest {
1409 method public void complete(cyanogenmod.weatherservice.ServiceRequestResult);
1410 method public void fail();
1411 method public cyanogenmod.weather.RequestInfo getRequestInfo();
1412 }
1413
1414 public final class ServiceRequestResult implements android.os.Parcelable {
1415 method public int describeContents();
1416 method public java.util.ArrayList<cyanogenmod.weather.WeatherLocation> getLocationLookupList();
1417 method public cyanogenmod.weather.WeatherInfo getWeatherInfo();
1418 method public void writeToParcel(android.os.Parcel, int);
1419 field public static final android.os.Parcelable.Creator<cyanogenmod.weatherservice.ServiceRequestResult> CREATOR;
1420 }
1421
1422 public static class ServiceRequestResult.Builder {
1423 ctor public ServiceRequestResult.Builder();
1424 method public cyanogenmod.weatherservice.ServiceRequestResult build();
1425 method public cyanogenmod.weatherservice.ServiceRequestResult.Builder setLocationLookupList(java.util.ArrayList<cyanogenmod.weather.WeatherLocation>);
1426 method public cyanogenmod.weatherservice.ServiceRequestResult.Builder setWeatherInfo(cyanogenmod.weather.WeatherInfo);
1427 }
1428
1429 public abstract class WeatherProviderService extends android.app.Service {
1430 ctor public WeatherProviderService();
1431 method protected final void attachBaseContext(android.content.Context);
1432 method public final android.os.IBinder onBind(android.content.Intent);
1433 method protected void onConnected();
1434 method protected void onDisconnected();
1435 method protected abstract void onRequestCancelled(cyanogenmod.weatherservice.ServiceRequest);
1436 method protected abstract void onRequestSubmitted(cyanogenmod.weatherservice.ServiceRequest);
1437 field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.weatherservice.WeatherProviderService";
1438 field public static final java.lang.String SERVICE_META_DATA = "cyanogenmod.weatherservice";
1439 }
1440
1441}
1442