• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* //device/java/android/android/app/INotificationManager.aidl
2 **
3 ** Copyright 2009, The Android Open Source Project
4 **
5 ** Licensed under the Apache License, Version 2.0 (the "License");
6 ** you may not use this file except in compliance with the License.
7 ** You may obtain a copy of the License at
8 **
9 **     http://www.apache.org/licenses/LICENSE-2.0
10 **
11 ** Unless required by applicable law or agreed to in writing, software
12 ** distributed under the License is distributed on an "AS IS" BASIS,
13 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ** See the License for the specific language governing permissions and
15 ** limitations under the License.
16 */
17 
18 package android.view.accessibility;
19 
20 import android.accessibilityservice.AccessibilityServiceInfo;
21 import android.accessibilityservice.IAccessibilityServiceConnection;
22 import android.accessibilityservice.IAccessibilityServiceClient;
23 import android.content.ComponentName;
24 import android.view.accessibility.AccessibilityEvent;
25 import android.view.accessibility.AccessibilityNodeInfo;
26 import android.view.accessibility.IAccessibilityInteractionConnection;
27 import android.view.accessibility.IAccessibilityManagerClient;
28 import android.view.IWindow;
29 
30 /**
31  * Interface implemented by the AccessibilityManagerService called by
32  * the AccessibilityMasngers.
33  *
34  * @hide
35  */
36 interface IAccessibilityManager {
37 
addClient(IAccessibilityManagerClient client, int userId)38     int addClient(IAccessibilityManagerClient client, int userId);
39 
sendAccessibilityEvent(in AccessibilityEvent uiEvent, int userId)40     boolean sendAccessibilityEvent(in AccessibilityEvent uiEvent, int userId);
41 
getInstalledAccessibilityServiceList(int userId)42     List<AccessibilityServiceInfo> getInstalledAccessibilityServiceList(int userId);
43 
getEnabledAccessibilityServiceList(int feedbackType, int userId)44     List<AccessibilityServiceInfo> getEnabledAccessibilityServiceList(int feedbackType, int userId);
45 
interrupt(int userId)46     void interrupt(int userId);
47 
addAccessibilityInteractionConnection(IWindow windowToken, in IAccessibilityInteractionConnection connection, int userId)48     int addAccessibilityInteractionConnection(IWindow windowToken,
49         in IAccessibilityInteractionConnection connection, int userId);
50 
removeAccessibilityInteractionConnection(IWindow windowToken)51     void removeAccessibilityInteractionConnection(IWindow windowToken);
52 
registerUiTestAutomationService(IBinder owner, IAccessibilityServiceClient client, in AccessibilityServiceInfo info)53     void registerUiTestAutomationService(IBinder owner, IAccessibilityServiceClient client,
54         in AccessibilityServiceInfo info);
55 
unregisterUiTestAutomationService(IAccessibilityServiceClient client)56     void unregisterUiTestAutomationService(IAccessibilityServiceClient client);
57 
temporaryEnableAccessibilityStateUntilKeyguardRemoved(in ComponentName service, boolean touchExplorationEnabled)58     void temporaryEnableAccessibilityStateUntilKeyguardRemoved(in ComponentName service,
59             boolean touchExplorationEnabled);
60 
getWindowToken(int windowId)61     IBinder getWindowToken(int windowId);
62 }
63