blob: 747f18531d3b930c841b2f761308ca57605f44e0 [file] [log] [blame]
Jason Monkbbadff82015-11-06 15:47:26 -05001/*
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 */
16package android.service.quicksettings;
17
18import android.content.ComponentName;
Jason Monk66c89c12016-01-06 08:51:26 -050019import android.graphics.drawable.Icon;
Jason Monkbbadff82015-11-06 15:47:26 -050020import android.service.quicksettings.Tile;
21
22/**
23 * @hide
24 */
25interface IQSService {
26 void updateQsTile(in Tile tile);
Jason Monk66c89c12016-01-06 08:51:26 -050027 void updateStatusIcon(in Tile tile, in Icon icon,
28 String contentDescription);
Jason Monk8f7f3182015-11-18 16:35:14 -050029 void onShowDialog(in Tile tile);
Jason Monk94295132016-01-12 11:27:02 -050030 void onStartActivity(in Tile tile);
Jason Monk94295132016-01-12 11:27:02 -050031 boolean isLocked();
32 boolean isSecure();
33 void startUnlockAndRun(in Tile tile);
Jason Monk34a5cef2016-01-29 11:28:44 -050034
35 void onDialogHidden(in Tile tile);
Jason Monk1c2fea82016-03-11 11:33:36 -050036 void onStartSuccessful(in Tile tile);
Jason Monkbbadff82015-11-06 15:47:26 -050037}