IAutoFillManager.aidl revision 782043caf81055aa1c331e9cc15b24a10e1bf17a
1/* 2 * Copyright (C) 2016 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.view.autofill; 18 19import android.graphics.Rect; 20import android.os.Bundle; 21import android.os.IBinder; 22import android.view.autofill.AutoFillId; 23import android.view.autofill.AutoFillValue; 24import android.view.autofill.IAutoFillManagerClient; 25 26/** 27 * Mediator between apps being auto-filled and auto-fill service implementations. 28 * 29 * {@hide} 30 */ 31interface IAutoFillManager { 32 boolean addClient(in IAutoFillManagerClient client, int userId); 33 oneway void startSession(in IBinder activityToken, in IBinder appCallback, 34 in AutoFillId autoFillId, in Rect bounds, in AutoFillValue value, int userId); 35 oneway void updateSession(in IBinder activityToken, in AutoFillId id, in Rect bounds, 36 in AutoFillValue value, int flags, int userId); 37 oneway void finishSession(in IBinder activityToken, int userId); 38 oneway void setAuthenticationResult(in Bundle data, 39 in IBinder activityToken, int userId); 40} 41