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 38 int addClient(IAccessibilityManagerClient client, int userId); 39 40 boolean sendAccessibilityEvent(in AccessibilityEvent uiEvent, int userId); 41 42 List<AccessibilityServiceInfo> getInstalledAccessibilityServiceList(int userId); 43 44 List<AccessibilityServiceInfo> getEnabledAccessibilityServiceList(int feedbackType, int userId); 45 46 void interrupt(int userId); 47 48 int addAccessibilityInteractionConnection(IWindow windowToken, 49 in IAccessibilityInteractionConnection connection, int userId); 50 51 void removeAccessibilityInteractionConnection(IWindow windowToken); 52 53 void registerUiTestAutomationService(IBinder owner, IAccessibilityServiceClient client, 54 in AccessibilityServiceInfo info); 55 56 void unregisterUiTestAutomationService(IAccessibilityServiceClient client); 57 58 void temporaryEnableAccessibilityStateUntilKeyguardRemoved(in ComponentName service, 59 boolean touchExplorationEnabled); 60 } 61