Adnan Begovic | aa8614e | 2015-04-23 23:16:27 -0700 | [diff] [blame] | 1 | /** |
| 2 | * Copyright (c) 2015, The CyanogenMod Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | package cyanogenmod.app; |
| 18 | |
| 19 | /** |
Adnan Begovic | e2feecb | 2015-05-27 15:05:11 -0700 | [diff] [blame] | 20 | * @hide |
| 21 | * TODO: We need to somehow make these managers accessible via getSystemService |
Adnan Begovic | aa8614e | 2015-04-23 23:16:27 -0700 | [diff] [blame] | 22 | */ |
Adnan Begovic | e2feecb | 2015-05-27 15:05:11 -0700 | [diff] [blame] | 23 | public final class CMContextConstants { |
Adnan Begovic | aa8614e | 2015-04-23 23:16:27 -0700 | [diff] [blame] | 24 | |
| 25 | /** |
| 26 | * @hide |
| 27 | */ |
| 28 | private CMContextConstants() { |
| 29 | // Empty constructor |
| 30 | } |
| 31 | |
| 32 | /** |
| 33 | * Use with {@link android.content.Context#getSystemService} to retrieve a |
| 34 | * {@link cyanogenmod.app.CMStatusBarManager} for informing the user of |
| 35 | * background events. |
| 36 | * |
| 37 | * @see android.content.Context#getSystemService |
| 38 | * @see cyanogenmod.app.CMStatusBarManager |
| 39 | */ |
| 40 | public static final String CM_STATUS_BAR_SERVICE = "cmstatusbar"; |
| 41 | |
Adnan Begovic | 4334b3d | 2015-06-25 12:54:38 -0700 | [diff] [blame] | 42 | /** |
| 43 | * Use with {@link android.content.Context#getSystemService} to retrieve a |
| 44 | * {@link cyanogenmod.app.ProfileManager} for informing the user of |
| 45 | * background events. |
| 46 | * |
| 47 | * @see android.content.Context#getSystemService |
| 48 | * @see cyanogenmod.app.ProfileManager |
| 49 | * |
| 50 | * @hide |
| 51 | */ |
| 52 | public static final String CM_PROFILE_SERVICE = "profile"; |
Matt Garnes | 0cdb1d5 | 2015-07-14 16:29:56 -0700 | [diff] [blame] | 53 | |
| 54 | /** |
| 55 | * Use with {@link android.content.Context#getSystemService} to retrieve a |
Matt Garnes | eabd575 | 2015-09-05 14:25:07 -0700 | [diff] [blame] | 56 | * {@link cyanogenmod.app.PartnerInterface} interact with system settings. |
Matt Garnes | 0cdb1d5 | 2015-07-14 16:29:56 -0700 | [diff] [blame] | 57 | * |
| 58 | * @see android.content.Context#getSystemService |
Matt Garnes | eabd575 | 2015-09-05 14:25:07 -0700 | [diff] [blame] | 59 | * @see cyanogenmod.app.PartnerInterface |
Matt Garnes | 0cdb1d5 | 2015-07-14 16:29:56 -0700 | [diff] [blame] | 60 | * |
| 61 | * @hide |
| 62 | */ |
Matt Garnes | eabd575 | 2015-09-05 14:25:07 -0700 | [diff] [blame] | 63 | public static final String CM_PARTNER_INTERFACE = "cmpartnerinterface"; |
Joao Figueiredo | 7f50335 | 2015-08-06 23:59:02 +0100 | [diff] [blame] | 64 | |
| 65 | /** |
| 66 | * Use with {@link android.content.Context#getSystemService} to retrieve a |
| 67 | * {@link cyanogenmod.app.CMTelephonyManager} to manage the phone and |
| 68 | * data connection. |
| 69 | * |
| 70 | * @see android.content.Context#getSystemService |
| 71 | * @see cyanogenmod.app.CMTelephonyManager |
| 72 | * |
| 73 | * @hide |
| 74 | */ |
| 75 | public static final String CM_TELEPHONY_MANAGER_SERVICE = "cmtelephonymanager"; |
Steve Kondik | 5ee87cb | 2015-08-16 22:33:30 -0700 | [diff] [blame] | 76 | |
| 77 | /** |
| 78 | * Use with {@link android.content.Context#getSystemService} to retrieve a |
| 79 | * {@link cyanogenmod.hardware.CMHardwareManager} to manage the extended |
| 80 | * hardware features of the device. |
| 81 | * |
| 82 | * @see android.content.Context#getSystemService |
| 83 | * @see cyanogenmod.hardware.CMHardwareManager |
| 84 | * |
| 85 | * @hide |
| 86 | */ |
| 87 | public static final String CM_HARDWARE_SERVICE = "cmhardware"; |
herriojr | e78ca4d | 2015-09-08 13:59:20 -0700 | [diff] [blame] | 88 | |
| 89 | /** |
| 90 | * @hide |
| 91 | */ |
| 92 | public static final String CM_APP_SUGGEST_SERVICE = "cmappsuggest"; |
Steve Kondik | 620c35b | 2015-11-02 17:43:44 -0800 | [diff] [blame] | 93 | |
| 94 | /** |
| 95 | * Control device power profile and characteristics. |
| 96 | * |
| 97 | * @hide |
| 98 | */ |
| 99 | public static final String CM_PERFORMANCE_SERVICE = "cmperformance"; |
d34d | b3ea285 | 2016-02-23 09:58:53 -0800 | [diff] [blame^] | 100 | |
| 101 | /** |
| 102 | * Controls changing and applying themes |
| 103 | * |
| 104 | * @hide |
| 105 | */ |
| 106 | public static final String CM_THEME_SERVICE = "cmthemes"; |
| 107 | |
| 108 | /** |
| 109 | * Manages composed icons |
| 110 | * |
| 111 | * @hide |
| 112 | */ |
| 113 | public static final String CM_ICON_CACHE_SERVICE = "cmiconcache"; |
Adnan Begovic | aa8614e | 2015-04-23 23:16:27 -0700 | [diff] [blame] | 114 | } |