Jason Monk | bbadff8 | 2015-11-06 15:47:26 -0500 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2015, The Android Open Source 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 | package android.service.quicksettings; |
| 17 | |
| 18 | import android.content.ComponentName; |
Jason Monk | 66c89c1 | 2016-01-06 08:51:26 -0500 | [diff] [blame] | 19 | import android.graphics.drawable.Icon; |
Jason Monk | bbadff8 | 2015-11-06 15:47:26 -0500 | [diff] [blame] | 20 | import android.service.quicksettings.Tile; |
| 21 | |
| 22 | /** |
| 23 | * @hide |
| 24 | */ |
| 25 | interface IQSService { |
| 26 | void updateQsTile(in Tile tile); |
Jason Monk | 66c89c1 | 2016-01-06 08:51:26 -0500 | [diff] [blame] | 27 | void updateStatusIcon(in Tile tile, in Icon icon, |
| 28 | String contentDescription); |
Jason Monk | 8f7f318 | 2015-11-18 16:35:14 -0500 | [diff] [blame] | 29 | void onShowDialog(in Tile tile); |
Jason Monk | 9429513 | 2016-01-12 11:27:02 -0500 | [diff] [blame] | 30 | void onStartActivity(in Tile tile); |
Jason Monk | 9429513 | 2016-01-12 11:27:02 -0500 | [diff] [blame] | 31 | boolean isLocked(); |
| 32 | boolean isSecure(); |
| 33 | void startUnlockAndRun(in Tile tile); |
Jason Monk | 34a5cef | 2016-01-29 11:28:44 -0500 | [diff] [blame] | 34 | |
| 35 | void onDialogHidden(in Tile tile); |
Jason Monk | 1c2fea8 | 2016-03-11 11:33:36 -0500 | [diff] [blame] | 36 | void onStartSuccessful(in Tile tile); |
Jason Monk | bbadff8 | 2015-11-06 15:47:26 -0500 | [diff] [blame] | 37 | } |