blob: 0d09e4a92d7bc6ec46df5ec4ed185bc73a48d514 [file] [log] [blame]
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001/**
2 * Copyright (c) 2007, 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
17package android.app;
18
Bjorn Bringert2126aac2009-12-03 15:48:19 +000019import android.app.SearchableInfo;
Bjorn Bringert8d17f3f2009-06-05 13:22:28 +010020import android.app.ISearchManagerCallback;
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080021import android.content.ComponentName;
Narayan Kamathee69ff42011-06-28 12:07:18 +010022import android.content.pm.ResolveInfo;
Bjorn Bringert8d17f3f2009-06-05 13:22:28 +010023import android.content.res.Configuration;
24import android.os.Bundle;
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080025
26/** @hide */
27interface ISearchManager {
Bjorn Bringert6cf7a322010-02-23 13:17:06 +000028 SearchableInfo getSearchableInfo(in ComponentName launchActivity);
Bjorn Bringert6d72e022009-04-29 14:56:12 +010029 List<SearchableInfo> getSearchablesInGlobalSearch();
Narayan Kamathee69ff42011-06-28 12:07:18 +010030 List<ResolveInfo> getGlobalSearchActivities();
Bjorn Bringert6cf7a322010-02-23 13:17:06 +000031 ComponentName getGlobalSearchActivity();
32 ComponentName getWebSearchActivity();
Jorim Jaggi165ce062015-07-06 16:18:11 -070033 void launchAssist(in Bundle args);
34 boolean launchLegacyAssist(String hint, int userHandle, in Bundle args);
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080035}