Home
last modified time | relevance | path

Searched refs:opPackageName (Results 1 – 25 of 104) sorted by relevance

12345

/frameworks/base/core/java/android/hardware/face/
DIFaceService.aidl36 … ITestSession createTestSession(int sensorId, ITestSessionCallback callback, String opPackageName); in createTestSession() argument
42 List<FaceSensorPropertiesInternal> getSensorPropertiesInternal(String opPackageName); in getSensorPropertiesInternal() argument
45 FaceSensorPropertiesInternal getSensorProperties(int sensorId, String opPackageName); in getSensorProperties() argument
49 String opPackageName, boolean isKeyguardBypassEnabled); in authenticate() argument
53 void detectFace(IBinder token, int userId, IFaceServiceReceiver receiver, String opPackageName); in detectFace() argument
61 int userId, IBiometricSensorReceiver sensorReceiver, String opPackageName, in prepareForAuthentication() argument
68 void cancelAuthentication(IBinder token, String opPackageName); in cancelAuthentication() argument
71 void cancelFaceDetect(IBinder token, String opPackageName); in cancelFaceDetect() argument
74 void cancelAuthenticationFromService(int sensorId, IBinder token, String opPackageName); in cancelAuthenticationFromService() argument
78 …String opPackageName, in int [] disabledFeatures, in Surface previewSurface, boolean debugConsent); in enroll() argument
[all …]
/frameworks/base/core/java/android/hardware/fingerprint/
DIFingerprintService.aidl40 … ITestSession createTestSession(int sensorId, ITestSessionCallback callback, String opPackageName); in createTestSession() argument
46 List<FingerprintSensorPropertiesInternal> getSensorPropertiesInternal(String opPackageName); in getSensorPropertiesInternal() argument
49 FingerprintSensorPropertiesInternal getSensorProperties(int sensorId, String opPackageName); in getSensorProperties() argument
55 IFingerprintServiceReceiver receiver, String opPackageName); in authenticate() argument
60 String opPackageName); in detectFingerprint() argument
68 IBiometricSensorReceiver sensorReceiver, String opPackageName, int cookie, in prepareForAuthentication() argument
75 void cancelAuthentication(IBinder token, String opPackageName); in cancelAuthentication() argument
78 void cancelFingerprintDetect(IBinder token, String opPackageName); in cancelFingerprintDetect() argument
82 void cancelAuthenticationFromService(int sensorId, IBinder token, String opPackageName); in cancelAuthenticationFromService() argument
86 String opPackageName, int enrollReason); in enroll() argument
[all …]
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/
DFingerprintAuthenticator.java46 @NonNull String opPackageName) throws RemoteException { in createTestSession() argument
47 return mFingerprintService.createTestSession(mSensorId, callback, opPackageName); in createTestSession()
51 public SensorPropertiesInternal getSensorProperties(@NonNull String opPackageName) in getSensorProperties() argument
53 return mFingerprintService.getSensorProperties(mSensorId, opPackageName); in getSensorProperties()
64 String opPackageName, int cookie, boolean allowBackgroundAuthentication) in prepareForAuthentication() argument
67 sensorReceiver, opPackageName, cookie, allowBackgroundAuthentication); in prepareForAuthentication()
76 public void cancelAuthenticationFromService(IBinder token, String opPackageName) in cancelAuthenticationFromService() argument
78 mFingerprintService.cancelAuthenticationFromService(mSensorId, token, opPackageName); in cancelAuthenticationFromService()
82 public boolean isHardwareDetected(String opPackageName) throws RemoteException { in isHardwareDetected() argument
83 return mFingerprintService.isHardwareDetected(mSensorId, opPackageName); in isHardwareDetected()
[all …]
DFingerprintService.java136 @NonNull String opPackageName) { in createTestSession() argument
147 opPackageName); in createTestSession()
165 @NonNull String opPackageName) { in getSensorPropertiesInternal()
176 @NonNull String opPackageName) { in getSensorProperties() argument
182 + ", caller: " + opPackageName); in getSensorProperties()
190 IFingerprintServiceReceiver receiver, String opPackageName) { in generateChallenge() argument
199 provider.scheduleGenerateChallenge(sensorId, userId, token, receiver, opPackageName); in generateChallenge()
203 public void revokeChallenge(IBinder token, int sensorId, int userId, String opPackageName, in revokeChallenge() argument
213 provider.scheduleRevokeChallenge(sensorId, userId, token, opPackageName, in revokeChallenge()
220 final String opPackageName, @FingerprintManager.EnrollReason int enrollReason) { in enroll() argument
[all …]
DServiceProvider.java83 @NonNull IFingerprintServiceReceiver receiver, String opPackageName); in scheduleGenerateChallenge() argument
86 @NonNull String opPackageName, long challenge); in scheduleRevokeChallenge() argument
93 @NonNull String opPackageName, @FingerprintManager.EnrollReason int enrollReason, in scheduleEnroll() argument
99 @NonNull ClientMonitorCallbackConverter callback, @NonNull String opPackageName, in scheduleFingerDetect() argument
105 @NonNull String opPackageName, boolean restricted, int statsClient, in scheduleAuthenticate() argument
115 @NonNull String opPackageName); in scheduleRemove() argument
119 @NonNull String opPackageName); in scheduleRemoveAll() argument
167 @NonNull String opPackageName); in createTestSession() argument
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/
DFaceAuthenticator.java46 @NonNull String opPackageName) throws RemoteException { in createTestSession() argument
47 return mFaceService.createTestSession(mSensorId, callback, opPackageName); in createTestSession()
51 public SensorPropertiesInternal getSensorProperties(@NonNull String opPackageName) in getSensorProperties() argument
53 return mFaceService.getSensorProperties(mSensorId, opPackageName); in getSensorProperties()
64 String opPackageName, int cookie, boolean allowBackgroundAuthentication) in prepareForAuthentication() argument
67 userId, sensorReceiver, opPackageName, cookie, allowBackgroundAuthentication); in prepareForAuthentication()
76 public void cancelAuthenticationFromService(IBinder token, String opPackageName) in cancelAuthenticationFromService() argument
78 mFaceService.cancelAuthenticationFromService(mSensorId, token, opPackageName); in cancelAuthenticationFromService()
82 public boolean isHardwareDetected(String opPackageName) throws RemoteException { in isHardwareDetected() argument
83 return mFaceService.isHardwareDetected(mSensorId, opPackageName); in isHardwareDetected()
[all …]
DFaceService.java138 @NonNull String opPackageName) { in createTestSession() argument
148 return provider.createTestSession(sensorId, callback, opPackageName); in createTestSession()
166 String opPackageName) { in getSensorPropertiesInternal() argument
174 @NonNull String opPackageName) { in getSensorProperties() argument
180 + ", caller: " + opPackageName); in getSensorProperties()
189 IFaceServiceReceiver receiver, String opPackageName) { in generateChallenge() argument
198 provider.scheduleGenerateChallenge(sensorId, userId, token, receiver, opPackageName); in generateChallenge()
202 public void revokeChallenge(IBinder token, int sensorId, int userId, String opPackageName, in revokeChallenge() argument
212 provider.scheduleRevokeChallenge(sensorId, userId, token, opPackageName, challenge); in revokeChallenge()
217 final IFaceServiceReceiver receiver, final String opPackageName, in enroll() argument
[all …]
DServiceProvider.java92 @NonNull IFaceServiceReceiver receiver, String opPackageName); in scheduleGenerateChallenge() argument
95 @NonNull String opPackageName, long challenge); in scheduleRevokeChallenge() argument
98 int userId, @NonNull IFaceServiceReceiver receiver, @NonNull String opPackageName, in scheduleEnroll() argument
105 @NonNull ClientMonitorCallbackConverter callback, @NonNull String opPackageName, in scheduleFaceDetect() argument
112 @NonNull String opPackageName, boolean restricted, int statsClient, in scheduleAuthenticate() argument
118 @NonNull IFaceServiceReceiver receiver, @NonNull String opPackageName); in scheduleRemove() argument
121 @NonNull IFaceServiceReceiver receiver, @NonNull String opPackageName); in scheduleRemoveAll() argument
127 @NonNull IFaceServiceReceiver receiver, @NonNull String opPackageName); in scheduleSetFeature() argument
130 @NonNull ClientMonitorCallbackConverter callback, @NonNull String opPackageName); in scheduleGetFeature() argument
146 @NonNull String opPackageName); in createTestSession() argument
/frameworks/base/core/java/android/hardware/biometrics/
DIAuthService.aidl36 … ITestSession createTestSession(int sensorId, ITestSessionCallback callback, String opPackageName); in createTestSession() argument
39 List<SensorPropertiesInternal> getSensorProperties(String opPackageName); in getSensorProperties() argument
47 IBiometricServiceReceiver receiver, String opPackageName, in PromptInfo promptInfo); in authenticate() argument
50 void cancelAuthentication(IBinder token, String opPackageName); in cancelAuthentication() argument
54 int canAuthenticate(String opPackageName, int userId, int authenticators); in canAuthenticate() argument
57 boolean hasEnrolledBiometrics(int userId, String opPackageName); in hasEnrolledBiometrics() argument
75 void resetLockoutTimeBound(IBinder token, String opPackageName, int fromSensorId, int userId, in resetLockoutTimeBound() argument
80 CharSequence getButtonLabel(int userId, String opPackageName, int authenticators); in getButtonLabel() argument
84 CharSequence getPromptMessage(int userId, String opPackageName, int authenticators); in getPromptMessage() argument
88 CharSequence getSettingName(int userId, String opPackageName, int authenticators); in getSettingName() argument
DIBiometricService.aidl34 … ITestSession createTestSession(int sensorId, ITestSessionCallback callback, String opPackageName); in createTestSession() argument
37 List<SensorPropertiesInternal> getSensorProperties(String opPackageName); in getSensorProperties() argument
42 IBiometricServiceReceiver receiver, String opPackageName, in PromptInfo promptInfo); in authenticate() argument
45 void cancelAuthentication(IBinder token, String opPackageName); in cancelAuthentication() argument
48 int canAuthenticate(String opPackageName, int userId, int callingUserId, int authenticators); in canAuthenticate() argument
51 boolean hasEnrolledBiometrics(int userId, String opPackageName); in hasEnrolledBiometrics() argument
78 void resetLockoutTimeBound(IBinder token, String opPackageName, int fromSensorId, int userId, in resetLockoutTimeBound() argument
84 int getCurrentModality(String opPackageName, int userId, int callingUserId, int authenticators); in getCurrentModality() argument
DIBiometricAuthenticator.aidl36 ITestSession createTestSession(ITestSessionCallback callback, String opPackageName); in createTestSession() argument
39 SensorPropertiesInternal getSensorProperties(String opPackageName); in getSensorProperties() argument
50 int userId, IBiometricSensorReceiver sensorReceiver, String opPackageName, in prepareForAuthentication() argument
57 void cancelAuthenticationFromService(IBinder token, String opPackageName); in cancelAuthenticationFromService() argument
60 boolean isHardwareDetected(String opPackageName); in isHardwareDetected() argument
63 boolean hasEnrolledTemplates(int userId, String opPackageName); in hasEnrolledTemplates() argument
75 void resetLockout(IBinder token, String opPackageName, int userId, in resetLockout() argument
DBiometricManager.java259 final String opPackageName = mContext.getOpPackageName(); in getButtonLabel() local
261 return mService.getButtonLabel(userId, opPackageName, mAuthenticators); in getButtonLabel()
293 final String opPackageName = mContext.getOpPackageName(); in getPromptMessage() local
295 return mService.getPromptMessage(userId, opPackageName, mAuthenticators); in getPromptMessage()
329 final String opPackageName = mContext.getOpPackageName(); in getSettingName() local
331 return mService.getSettingName(userId, opPackageName, mAuthenticators); in getSettingName()
478 final String opPackageName = mContext.getOpPackageName(); in canAuthenticate() local
479 return mService.canAuthenticate(opPackageName, userId, authenticators); in canAuthenticate()
611 public void resetLockoutTimeBound(IBinder token, String opPackageName, int fromSensorId, in resetLockoutTimeBound() argument
615 mService.resetLockoutTimeBound(token, opPackageName, fromSensorId, userId, in resetLockoutTimeBound()
/frameworks/opt/net/voip/src/java/android/net/sip/
DISipService.aidl28 void open(in SipProfile localProfile, String opPackageName); in open() argument
31 in ISipSessionListener listener, String opPackageName); in open3() argument
32 void close(in String localProfileUri, String opPackageName); in close() argument
33 boolean isOpened(String localProfileUri, String opPackageName); in isOpened() argument
34 boolean isRegistered(String localProfileUri, String opPackageName); in isRegistered() argument
36 ISipSessionListener listener, String opPackageName); in setRegistrationListener() argument
39 in ISipSessionListener listener, String opPackageName); in createSession() argument
40 ISipSession getPendingSession(String callId, String opPackageName); in getPendingSession() argument
42 List<SipProfile> getProfiles(String opPackageName); in getProfiles() argument
/frameworks/native/libs/sensor/
DISensorServer.cpp57 virtual Vector<Sensor> getSensorList(const String16& opPackageName) in getSensorList() argument
61 data.writeString16(opPackageName); in getSensorList()
75 virtual Vector<Sensor> getDynamicSensorList(const String16& opPackageName) in getDynamicSensorList() argument
79 data.writeString16(opPackageName); in getDynamicSensorList()
94 int mode, const String16& opPackageName, const String16& attributionTag) in createSensorEventConnection() argument
100 data.writeString16(opPackageName); in createSensorEventConnection()
113 virtual sp<ISensorEventConnection> createSensorDirectConnection(const String16& opPackageName, in createSensorDirectConnection() argument
117 data.writeString16(opPackageName); in createSensorDirectConnection()
160 const String16& opPackageName = data.readString16(); in onTransact() local
161 Vector<Sensor> v(getSensorList(opPackageName)); in onTransact()
[all …]
DSensorManager.cpp55 String16 opPackageName = packageName; in getInstanceForPackage() local
63 if (opPackageName.size() <= 0) { in getInstanceForPackage()
70 opPackageName = packages[0]; in getInstanceForPackage()
79 sensorManager = new SensorManager(opPackageName); in getInstanceForPackage()
89 sPackageInstances.insert(std::make_pair(opPackageName, sensorManager)); in getInstanceForPackage()
95 SensorManager::SensorManager(const String16& opPackageName) in SensorManager() argument
96 : mSensorList(nullptr), mOpPackageName(opPackageName), mDirectConnectionHandle(1) { in SensorManager()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/iris/
DIrisAuthenticator.java44 @NonNull String opPackageName) throws RemoteException { in createTestSession() argument
49 public SensorPropertiesInternal getSensorProperties(@NonNull String opPackageName) in getSensorProperties() argument
62 String opPackageName, int cookie, boolean allowBackgroundAuthentication) in prepareForAuthentication() argument
71 public void cancelAuthenticationFromService(IBinder token, String opPackageName) in cancelAuthenticationFromService() argument
76 public boolean isHardwareDetected(String opPackageName) throws RemoteException { in isHardwareDetected() argument
81 public boolean hasEnrolledTemplates(int userId, String opPackageName) throws RemoteException { in hasEnrolledTemplates() argument
101 public void resetLockout(IBinder token, String opPackageName, int userId, in resetLockout() argument
/frameworks/base/services/core/java/com/android/server/biometrics/
DAuthService.java173 @NonNull String opPackageName) throws RemoteException { in createTestSession() argument
179 .createTestSession(sensorId, callback, opPackageName); in createTestSession()
186 public List<SensorPropertiesInternal> getSensorProperties(String opPackageName) in getSensorProperties() argument
194 return mInjector.getBiometricService().getSensorProperties(opPackageName); in getSensorProperties()
210 IBiometricServiceReceiver receiver, String opPackageName, PromptInfo promptInfo) in authenticate() argument
224 if (!checkAppOps(callingUid, opPackageName, "authenticate()")) { in authenticate()
225 authenticateFastFail("Denied by app ops: " + opPackageName, receiver); in authenticate()
229 if (token == null || receiver == null || opPackageName == null || promptInfo == null) { in authenticate()
236 authenticateFastFail("Caller is not foreground: " + opPackageName, receiver); in authenticate()
255 token, sessionId, userId, receiver, opPackageName, promptInfo); in authenticate()
[all …]
DBiometricService.java646 @NonNull String opPackageName) throws RemoteException { in createTestSession() argument
651 return sensor.impl.createTestSession(callback, opPackageName); in createTestSession()
660 public List<SensorPropertiesInternal> getSensorProperties(String opPackageName) in getSensorProperties() argument
669 .from(sensor.impl.getSensorProperties(opPackageName)); in getSensorProperties()
687 IBiometricServiceReceiver receiver, String opPackageName, PromptInfo promptInfo) { in authenticate() argument
690 if (token == null || receiver == null || opPackageName == null || promptInfo == null) { in authenticate()
714 args.arg4 = opPackageName; in authenticate()
721 public void cancelAuthentication(IBinder token, String opPackageName) { in cancelAuthentication() argument
728 public int canAuthenticate(String opPackageName, int userId, int callingUserId, in canAuthenticate() argument
742 createPreAuthInfo(opPackageName, userId, authenticators); in canAuthenticate()
[all …]
/frameworks/native/services/sensorservice/
DSensorService.h111 const String16& opPackageName);
116 const String16& opPackageName);
119 const String16& opPackageName);
333 virtual Vector<Sensor> getSensorList(const String16& opPackageName);
334 virtual Vector<Sensor> getDynamicSensorList(const String16& opPackageName);
337 int requestedMode, const String16& opPackageName, const String16& attributionTag);
339 virtual sp<ISensorEventConnection> createSensorDirectConnection(const String16& opPackageName,
363 const String16& opPackageName);
365 static int getTargetSdkVersion(const String16& opPackageName);
396 bool isOperationRestrictedLocked(const String16& opPackageName);
[all …]
/frameworks/base/core/java/android/accounts/
DIAccountManager.aidl37 Account[] getAccountsForPackage(String packageName, int uid, String opPackageName); in getAccountsForPackage() argument
38 Account[] getAccountsByTypeForPackage(String type, String packageName, String opPackageName); in getAccountsByTypeForPackage() argument
39 Account[] getAccountsAsUser(String accountType, int userId, String opPackageName); in getAccountsAsUser() argument
41 String opPackageName); in hasFeatures() argument
43 in String[] features, String opPackageName); in getAccountByTypeAndFeatures() argument
45 in String[] features, String opPackageName); in getAccountsByFeatures() argument
46 …dAccountExplicitly(in Account account, String password, in Bundle extras, in String opPackageName); in addAccountExplicitly() argument
80 void addSharedAccountsFromParentUser(int parentUserId, int userId, String opPackageName); in addSharedAccountsFromParentUser() argument
110 in Map visibility, in String opPackageName); in addAccountExplicitlyWithVisibility() argument
116 void registerAccountListener(in String[] accountTypes, String opPackageName); in registerAccountListener() argument
[all …]
/frameworks/native/libs/sensor/include/sensor/
DISensorServer.h44 virtual Vector<Sensor> getSensorList(const String16& opPackageName) = 0;
45 virtual Vector<Sensor> getDynamicSensorList(const String16& opPackageName) = 0;
48 int mode, const String16& opPackageName, const String16& attributionTag) = 0;
51 virtual sp<ISensorEventConnection> createSensorDirectConnection(const String16& opPackageName,
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DLockoutResetDispatcher.java50 String opPackageName) { in ClientCallback() argument
52 mOpPackageName = opPackageName; in ClientCallback()
87 public void addCallback(IBiometricServiceLockoutResetCallback callback, String opPackageName) { in addCallback() argument
89 Slog.w(TAG, "Callback from : " + opPackageName + " is null"); in addCallback()
93 mClientCallbacks.add(new ClientCallback(mContext, callback, opPackageName)); in addCallback()
/frameworks/base/media/java/android/media/
DRemoteDisplay.java46 private native long nativeListen(String iface, String opPackageName); in nativeListen() argument
51 private RemoteDisplay(Listener listener, Handler handler, String opPackageName) { in RemoteDisplay() argument
54 mOpPackageName = opPackageName; in RemoteDisplay()
74 String opPackageName) { in listen() argument
85 RemoteDisplay display = new RemoteDisplay(listener, handler, opPackageName); in listen()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
DFaceProvider.java306 @NonNull IFaceServiceReceiver receiver, String opPackageName) { in scheduleGenerateChallenge() argument
310 new ClientMonitorCallbackConverter(receiver), userId, opPackageName, sensorId); in scheduleGenerateChallenge()
317 @NonNull String opPackageName, long challenge) { in scheduleRevokeChallenge() argument
320 mSensors.get(sensorId).getLazySession(), token, userId, opPackageName, sensorId, in scheduleRevokeChallenge()
329 @NonNull String opPackageName, @NonNull int[] disabledFeatures, in scheduleEnroll() argument
337 opPackageName, FaceUtils.getInstance(sensorId), disabledFeatures, in scheduleEnroll()
361 @NonNull String opPackageName, int statsClient) { in scheduleFaceDetect() argument
365 mSensors.get(sensorId).getLazySession(), token, callback, userId, opPackageName, in scheduleFaceDetect()
380 @NonNull String opPackageName, boolean restricted, int statsClient, in scheduleAuthenticate() argument
386 operationId, restricted, opPackageName, cookie, in scheduleAuthenticate()
[all …]
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/aidl/
DFingerprintProvider.java308 @NonNull IFingerprintServiceReceiver receiver, String opPackageName) { in scheduleGenerateChallenge() argument
313 new ClientMonitorCallbackConverter(receiver), userId, opPackageName, in scheduleGenerateChallenge()
321 @NonNull String opPackageName, long challenge) { in scheduleRevokeChallenge() argument
326 userId, opPackageName, sensorId, challenge); in scheduleRevokeChallenge()
334 @NonNull IFingerprintServiceReceiver receiver, @NonNull String opPackageName, in scheduleEnroll() argument
343 opPackageName, FingerprintUtils.getInstance(sensorId), sensorId, in scheduleEnroll()
373 @NonNull ClientMonitorCallbackConverter callback, @NonNull String opPackageName, in scheduleFingerDetect() argument
380 opPackageName, sensorId, mUdfpsOverlayController, isStrongBiometric, in scheduleFingerDetect()
389 @NonNull String opPackageName, boolean restricted, int statsClient, in scheduleAuthenticate() argument
396 operationId, restricted, opPackageName, cookie, in scheduleAuthenticate()
[all …]

12345