108fa40c5cb5229b7969b2a5146855a337870f45aJim Miller/* 208fa40c5cb5229b7969b2a5146855a337870f45aJim Miller * Copyright (C) 2014 The Android Open Source Project 308fa40c5cb5229b7969b2a5146855a337870f45aJim Miller * 408fa40c5cb5229b7969b2a5146855a337870f45aJim Miller * Licensed under the Apache License, Version 2.0 (the "License"); 508fa40c5cb5229b7969b2a5146855a337870f45aJim Miller * you may not use this file except in compliance with the License. 608fa40c5cb5229b7969b2a5146855a337870f45aJim Miller * You may obtain a copy of the License at 708fa40c5cb5229b7969b2a5146855a337870f45aJim Miller * 808fa40c5cb5229b7969b2a5146855a337870f45aJim Miller * http://www.apache.org/licenses/LICENSE-2.0 908fa40c5cb5229b7969b2a5146855a337870f45aJim Miller * 1008fa40c5cb5229b7969b2a5146855a337870f45aJim Miller * Unless required by applicable law or agreed to in writing, software 1108fa40c5cb5229b7969b2a5146855a337870f45aJim Miller * distributed under the License is distributed on an "AS IS" BASIS, 1208fa40c5cb5229b7969b2a5146855a337870f45aJim Miller * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1308fa40c5cb5229b7969b2a5146855a337870f45aJim Miller * See the License for the specific language governing permissions and 1408fa40c5cb5229b7969b2a5146855a337870f45aJim Miller * limitations under the License. 1508fa40c5cb5229b7969b2a5146855a337870f45aJim Miller */ 16ebbf205bc6e8292f74d8fc4652c70274a445f907Jim Millerpackage android.hardware.fingerprint; 1708fa40c5cb5229b7969b2a5146855a337870f45aJim Miller 18f501b58de8f467a80fef49c704555781bc61ea6fJim Millerimport android.hardware.fingerprint.Fingerprint; 1908fa40c5cb5229b7969b2a5146855a337870f45aJim Millerimport android.os.Bundle; 2008fa40c5cb5229b7969b2a5146855a337870f45aJim Millerimport android.os.UserHandle; 2108fa40c5cb5229b7969b2a5146855a337870f45aJim Miller 2208fa40c5cb5229b7969b2a5146855a337870f45aJim Miller/** 2308fa40c5cb5229b7969b2a5146855a337870f45aJim Miller * Communication channel from the FingerprintService back to FingerprintManager. 2408fa40c5cb5229b7969b2a5146855a337870f45aJim Miller * @hide 2508fa40c5cb5229b7969b2a5146855a337870f45aJim Miller */ 2608fa40c5cb5229b7969b2a5146855a337870f45aJim Milleroneway interface IFingerprintServiceReceiver { 279f0753f5a378fc80da86305b33244acc6fc53f01Jim Miller void onEnrollResult(long deviceId, int fingerId, int groupId, int remaining); 289f0753f5a378fc80da86305b33244acc6fc53f01Jim Miller void onAcquired(long deviceId, int acquiredInfo); 29f501b58de8f467a80fef49c704555781bc61ea6fJim Miller void onAuthenticationSucceeded(long deviceId, in Fingerprint fp); 30f501b58de8f467a80fef49c704555781bc61ea6fJim Miller void onAuthenticationFailed(long deviceId); 319f0753f5a378fc80da86305b33244acc6fc53f01Jim Miller void onError(long deviceId, int error); 329f0753f5a378fc80da86305b33244acc6fc53f01Jim Miller void onRemoved(long deviceId, int fingerId, int groupId); 3308fa40c5cb5229b7969b2a5146855a337870f45aJim Miller} 34