Home
last modified time | relevance | path

Searched refs:opPackageName (Results 1 – 25 of 109) 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
54 long detectFace(IBinder token, int userId, IFaceServiceReceiver receiver, String opPackageName); in detectFace() argument
63 String opPackageName, long requestId, int cookie, in prepareForAuthentication() argument
70 void cancelAuthentication(IBinder token, String opPackageName, long requestId); in cancelAuthentication() argument
73 void cancelFaceDetect(IBinder token, String opPackageName, long requestId); in cancelFaceDetect() argument
76 …void cancelAuthenticationFromService(int sensorId, IBinder token, String opPackageName, long reque… in cancelAuthenticationFromService() argument
80 String opPackageName, in int [] disabledFeatures, 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, String attributionTag, in authenticate() argument
62 String opPackageName); in detectFingerprint() argument
70 IBiometricSensorReceiver sensorReceiver, String opPackageName, long requestId, in prepareForAuthentication() argument
77 …void cancelAuthentication(IBinder token, String opPackageName, String attributionTag, long request… in cancelAuthentication() argument
80 void cancelFingerprintDetect(IBinder token, String opPackageName, long requestId); in cancelFingerprintDetect() argument
84 …void cancelAuthenticationFromService(int sensorId, IBinder token, String opPackageName, long reque… in cancelAuthenticationFromService() argument
88 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, long requestId, int cookie, boolean allowBackgroundAuthentication) in prepareForAuthentication() argument
67 sensorReceiver, opPackageName, requestId, cookie, allowBackgroundAuthentication); in prepareForAuthentication()
76 public void cancelAuthenticationFromService(IBinder token, String opPackageName, long requestId) in cancelAuthenticationFromService() argument
79 mSensorId, token, opPackageName, requestId); in cancelAuthenticationFromService()
83 public boolean isHardwareDetected(String opPackageName) throws RemoteException { in isHardwareDetected() argument
84 return mFingerprintService.isHardwareDetected(mSensorId, opPackageName); in isHardwareDetected()
[all …]
DFingerprintService.java173 @NonNull String opPackageName) { in createTestSession() argument
183 return provider.createTestSession(sensorId, callback, opPackageName); in createTestSession()
201 @NonNull String opPackageName) { in getSensorPropertiesInternal()
212 @NonNull String opPackageName) { in getSensorProperties() argument
218 + ", caller: " + opPackageName); in getSensorProperties()
226 IFingerprintServiceReceiver receiver, String opPackageName) { in generateChallenge() argument
235 provider.scheduleGenerateChallenge(sensorId, userId, token, receiver, opPackageName); in generateChallenge()
239 public void revokeChallenge(IBinder token, int sensorId, int userId, String opPackageName, in revokeChallenge() argument
249 provider.scheduleRevokeChallenge(sensorId, userId, token, opPackageName, in revokeChallenge()
256 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
98 @NonNull ClientMonitorCallbackConverter callback, @NonNull String opPackageName, in scheduleFingerDetect() argument
103 @NonNull String opPackageName, long requestId, boolean restricted, int statsClient, in scheduleAuthenticate() argument
108 @NonNull String opPackageName, boolean restricted, int statsClient, in scheduleAuthenticate() argument
117 @NonNull String opPackageName); in scheduleRemove() argument
121 @NonNull String opPackageName); in scheduleRemoveAll() argument
170 @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, long requestId, int cookie, boolean allowBackgroundAuthentication) in prepareForAuthentication() argument
67 userId, sensorReceiver, opPackageName, requestId, cookie, in prepareForAuthentication()
77 public void cancelAuthenticationFromService(IBinder token, String opPackageName, long requestId) in cancelAuthenticationFromService() argument
79 mFaceService.cancelAuthenticationFromService(mSensorId, token, opPackageName, requestId); in cancelAuthenticationFromService()
83 public boolean isHardwareDetected(String opPackageName) throws RemoteException { in isHardwareDetected() argument
84 return mFaceService.isHardwareDetected(mSensorId, opPackageName); in isHardwareDetected()
[all …]
DFaceService.java139 @NonNull String opPackageName) { in createTestSession() argument
149 return provider.createTestSession(sensorId, callback, opPackageName); in createTestSession()
167 String opPackageName) { in getSensorPropertiesInternal() argument
175 @NonNull String opPackageName) { in getSensorProperties() argument
181 + ", caller: " + opPackageName); in getSensorProperties()
190 IFaceServiceReceiver 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, challenge); in revokeChallenge()
218 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
117 @NonNull String opPackageName, long requestId, boolean restricted, int statsClient, in scheduleAuthenticate() argument
123 @NonNull IFaceServiceReceiver receiver, @NonNull String opPackageName); in scheduleRemove() argument
126 @NonNull IFaceServiceReceiver receiver, @NonNull String opPackageName); in scheduleRemoveAll() argument
132 @NonNull IFaceServiceReceiver receiver, @NonNull String opPackageName); in scheduleSetFeature() argument
135 @NonNull ClientMonitorCallbackConverter callback, @NonNull String opPackageName); in scheduleGetFeature() argument
[all …]
/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
48 IBiometricServiceReceiver receiver, String opPackageName, in PromptInfo promptInfo); in authenticate() argument
51 void cancelAuthentication(IBinder token, String opPackageName, long requestId); in cancelAuthentication() argument
55 int canAuthenticate(String opPackageName, int userId, int authenticators); in canAuthenticate() argument
58 boolean hasEnrolledBiometrics(int userId, String opPackageName); in hasEnrolledBiometrics() argument
76 void resetLockoutTimeBound(IBinder token, String opPackageName, int fromSensorId, int userId, in resetLockoutTimeBound() argument
81 CharSequence getButtonLabel(int userId, String opPackageName, int authenticators); in getButtonLabel() argument
85 CharSequence getPromptMessage(int userId, String opPackageName, int authenticators); in getPromptMessage() argument
89 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
43 IBiometricServiceReceiver receiver, String opPackageName, in PromptInfo promptInfo); in authenticate() argument
46 void cancelAuthentication(IBinder token, String opPackageName, long requestId); in cancelAuthentication() argument
49 int canAuthenticate(String opPackageName, int userId, int callingUserId, int authenticators); in canAuthenticate() argument
52 boolean hasEnrolledBiometrics(int userId, String opPackageName); in hasEnrolledBiometrics() argument
79 void resetLockoutTimeBound(IBinder token, String opPackageName, int fromSensorId, int userId, in resetLockoutTimeBound() argument
85 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, long requestId); 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()
79 virtual Vector<Sensor> getDynamicSensorList(const String16& opPackageName) in getDynamicSensorList() argument
83 data.writeString16(opPackageName); in getDynamicSensorList()
102 int mode, const String16& opPackageName, const String16& attributionTag) in createSensorEventConnection() argument
108 data.writeString16(opPackageName); in createSensorEventConnection()
121 virtual sp<ISensorEventConnection> createSensorDirectConnection(const String16& opPackageName, in createSensorDirectConnection() argument
125 data.writeString16(opPackageName); in createSensorDirectConnection()
168 const String16& opPackageName = data.readString16(); in onTransact() local
169 Vector<Sensor> v(getSensorList(opPackageName)); in onTransact()
[all …]
/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, long requestId, int cookie, boolean allowBackgroundAuthentication) in prepareForAuthentication() argument
71 public void cancelAuthenticationFromService(IBinder token, String opPackageName, long requestId) 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/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
112 in Map visibility, in String opPackageName); in addAccountExplicitlyWithVisibility() argument
119 void registerAccountListener(in String[] accountTypes, String opPackageName); in registerAccountListener() argument
[all …]
/frameworks/native/services/sensorservice/
DSensorService.h159 const String16& opPackageName);
164 const String16& opPackageName);
167 const String16& opPackageName);
347 virtual Vector<Sensor> getSensorList(const String16& opPackageName);
348 virtual Vector<Sensor> getDynamicSensorList(const String16& opPackageName);
351 int requestedMode, const String16& opPackageName, const String16& attributionTag);
353 virtual sp<ISensorEventConnection> createSensorDirectConnection(const String16& opPackageName,
377 const String16& opPackageName);
379 static int getTargetSdkVersion(const String16& opPackageName);
380 static void resetTargetSdkVersionCache(const String16& opPackageName);
[all …]
DSensorService.cpp400 bool SensorService::hasSensorAccess(uid_t uid, const String16& opPackageName) { in hasSensorAccess() argument
402 return hasSensorAccessLocked(uid, opPackageName); in hasSensorAccess()
405 bool SensorService::hasSensorAccessLocked(uid_t uid, const String16& opPackageName) { in hasSensorAccessLocked() argument
407 && isUidActive(uid) && !isOperationRestrictedLocked(opPackageName); in hasSensorAccessLocked()
1324 Vector<Sensor> SensorService::getSensorList(const String16& opPackageName) { in getSensorList() argument
1331 resetTargetSdkVersionCache(opPackageName); in getSensorList()
1332 bool isCapped = isRateCappedBasedOnPermission(opPackageName); in getSensorList()
1345 Vector<Sensor> SensorService::getDynamicSensorList(const String16& opPackageName) { in getDynamicSensorList() argument
1348 [this, &opPackageName, &accessibleSensorList] (const Sensor& sensor) -> bool { in getDynamicSensorList()
1350 if (canAccessSensor(sensor, "can't see", opPackageName)) { in getDynamicSensorList()
[all …]
/frameworks/base/services/core/java/com/android/server/biometrics/
DAuthService.java178 @NonNull String opPackageName) throws RemoteException { in createTestSession() argument
184 .createTestSession(sensorId, callback, opPackageName); in createTestSession()
191 public List<SensorPropertiesInternal> getSensorProperties(String opPackageName) in getSensorProperties() argument
199 return mInjector.getBiometricService().getSensorProperties(opPackageName); in getSensorProperties()
215 IBiometricServiceReceiver receiver, String opPackageName, PromptInfo promptInfo) in authenticate() argument
229 if (!checkAppOps(callingUid, opPackageName, "authenticate()")) { in authenticate()
230 authenticateFastFail("Denied by app ops: " + opPackageName, receiver); in authenticate()
234 if (token == null || receiver == null || opPackageName == null || promptInfo == null) { in authenticate()
241 authenticateFastFail("Caller is not foreground: " + opPackageName, receiver); in authenticate()
260 token, sessionId, userId, receiver, opPackageName, promptInfo); in authenticate()
[all …]
DBiometricService.java496 @NonNull String opPackageName) throws RemoteException {
501 return sensor.impl.createTestSession(callback, opPackageName);
510 public List<SensorPropertiesInternal> getSensorProperties(String opPackageName)
519 .from(sensor.impl.getSensorProperties(opPackageName));
535 IBiometricServiceReceiver receiver, String opPackageName, PromptInfo promptInfo) {
538 if (token == null || receiver == null || opPackageName == null || promptInfo == null) {
559 token, requestId, operationId, userId, receiver, opPackageName, promptInfo));
565 public void cancelAuthentication(IBinder token, String opPackageName, long requestId) {
570 args.arg2 = opPackageName;
577 public int canAuthenticate(String opPackageName, int userId, int callingUserId,
[all …]
DBiometricSensor.java108 int userId, IBiometricSensorReceiver sensorReceiver, String opPackageName, in goToStateWaitingForCookie() argument
113 sessionId, userId, sensorReceiver, opPackageName, requestId, mCookie, in goToStateWaitingForCookie()
130 void goToStateCancelling(IBinder token, String opPackageName, long requestId) in goToStateCancelling() argument
133 impl.cancelAuthenticationFromService(token, opPackageName, requestId); in goToStateCancelling()
/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.java55 String opPackageName) { in ClientCallback() argument
57 mOpPackageName = opPackageName; in ClientCallback()
91 public void addCallback(IBiometricServiceLockoutResetCallback callback, String opPackageName) { in addCallback() argument
93 Slog.w(TAG, "Callback from : " + opPackageName + " is null"); in addCallback()
97 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.java318 @NonNull IFaceServiceReceiver receiver, String opPackageName) { in scheduleGenerateChallenge() argument
322 new ClientMonitorCallbackConverter(receiver), userId, opPackageName, sensorId, in scheduleGenerateChallenge()
332 @NonNull String opPackageName, long challenge) { in scheduleRevokeChallenge() argument
335 mSensors.get(sensorId).getLazySession(), token, userId, opPackageName, sensorId, in scheduleRevokeChallenge()
346 @NonNull String opPackageName, @NonNull int[] disabledFeatures, in scheduleEnroll() argument
355 opPackageName, id, FaceUtils.getInstance(sensorId), disabledFeatures, in scheduleEnroll()
383 @NonNull String opPackageName, int statsClient) { in scheduleFaceDetect() argument
390 token, id, callback, userId, opPackageName, sensorId, in scheduleFaceDetect()
408 @NonNull String opPackageName, long requestId, boolean restricted, int statsClient, in scheduleAuthenticate() argument
414 userId, operationId, restricted, opPackageName, cookie, in scheduleAuthenticate()
[all …]

12345