public class FingerprintService extends SystemService implements IBinder.DeathRecipient
PHASE_ACTIVITY_MANAGER_READY, PHASE_BOOT_COMPLETED, PHASE_LOCK_SETTINGS_READY, PHASE_SYSTEM_SERVICES_READY, PHASE_THIRD_PARTY_APPS_CAN_START, PHASE_WAIT_FOR_DEFAULT_DISPLAY
Constructor and Description |
---|
FingerprintService(Context context) |
Modifier and Type | Method and Description |
---|---|
void |
binderDied() |
long |
getAuthenticatorId(String opPackageName) |
List<Fingerprint> |
getEnrolledFingerprints(int userId) |
IFingerprintDaemon |
getFingerprintDaemon() |
protected void |
handleAcquired(long deviceId,
int acquiredInfo) |
protected void |
handleAuthenticated(long deviceId,
int fingerId,
int groupId) |
protected void |
handleEnrollResult(long deviceId,
int fingerId,
int groupId,
int remaining) |
protected void |
handleEnumerate(long deviceId,
int[] fingerIds,
int[] groupIds) |
protected void |
handleError(long deviceId,
int error) |
protected void |
handleRemoved(long deviceId,
int fingerId,
int groupId) |
boolean |
hasEnrolledFingerprints(int userId) |
void |
onStart()
Called when the dependencies listed in the @Service class-annotation are available
and after the chosen start phase.
|
protected void |
resetFailedAttempts() |
int |
startPostEnroll(IBinder token) |
long |
startPreEnroll(IBinder token) |
getBinderService, getContext, getLocalService, isSafeMode, onBootPhase, onCleanupUser, onStartUser, onStopUser, onSwitchUser, onUnlockUser, publishBinderService, publishBinderService, publishLocalService
public FingerprintService(Context context)
public void binderDied()
binderDied
in interface IBinder.DeathRecipient
public IFingerprintDaemon getFingerprintDaemon()
protected void handleEnumerate(long deviceId, int[] fingerIds, int[] groupIds)
protected void handleError(long deviceId, int error)
protected void handleRemoved(long deviceId, int fingerId, int groupId)
protected void handleAuthenticated(long deviceId, int fingerId, int groupId)
protected void handleAcquired(long deviceId, int acquiredInfo)
protected void handleEnrollResult(long deviceId, int fingerId, int groupId, int remaining)
public long startPreEnroll(IBinder token)
public int startPostEnroll(IBinder token)
public List<Fingerprint> getEnrolledFingerprints(int userId)
public boolean hasEnrolledFingerprints(int userId)
protected void resetFailedAttempts()
public void onStart()
SystemService
onStart
in class SystemService
public long getAuthenticatorId(String opPackageName)
opPackageName
- the name of the calling package