Home
last modified time | relevance | path

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

12345

/frameworks/base/core/java/android/hardware/face/
DIFaceService.aidl40 … ITestSession createTestSession(int sensorId, ITestSessionCallback callback, String opPackageName); in createTestSession() argument
48 List<FaceSensorPropertiesInternal> getSensorPropertiesInternal(String opPackageName); in getSensorPropertiesInternal() argument
52 FaceSensorPropertiesInternal getSensorProperties(int sensorId, String opPackageName); in getSensorProperties() argument
82 void cancelAuthentication(IBinder token, String opPackageName, long requestId); in cancelAuthentication() argument
86 void cancelFaceDetect(IBinder token, String opPackageName, long requestId); in cancelFaceDetect() argument
90 …void cancelAuthenticationFromService(int sensorId, IBinder token, String opPackageName, long reque… in cancelAuthenticationFromService() argument
95 String opPackageName, in int [] disabledFeatures, in enroll() argument
101 String opPackageName, in int [] disabledFeatures); in enrollRemotely() argument
110 String opPackageName); in remove() argument
114 void removeAll(IBinder token, int userId, IFaceServiceReceiver receiver, String opPackageName); in removeAll() argument
[all …]
/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/base/services/core/java/com/android/server/biometrics/sensors/face/
DFaceAuthenticator.java47 @NonNull String opPackageName) throws RemoteException { in createTestSession() argument
48 return mFaceService.createTestSession(mSensorId, callback, opPackageName); in createTestSession()
52 public SensorPropertiesInternal getSensorProperties(@NonNull String opPackageName) in getSensorProperties() argument
54 return mFaceService.getSensorProperties(mSensorId, opPackageName); in getSensorProperties()
65 String opPackageName, long requestId, int cookie, boolean allowBackgroundAuthentication, in prepareForAuthentication() argument
72 .setOpPackageName(opPackageName) in prepareForAuthentication()
83 public void cancelAuthenticationFromService(IBinder token, String opPackageName, long requestId) in cancelAuthenticationFromService() argument
85 mFaceService.cancelAuthenticationFromService(mSensorId, token, opPackageName, requestId); in cancelAuthenticationFromService()
89 public boolean isHardwareDetected(String opPackageName) throws RemoteException { in isHardwareDetected() argument
90 return mFaceService.isHardwareDetected(mSensorId, opPackageName); in isHardwareDetected()
[all …]
DFaceService.java102 @NonNull String opPackageName) { in createTestSession() argument
112 return provider.createTestSession(sensorId, callback, opPackageName); in createTestSession()
132 String opPackageName) { in getSensorPropertiesInternal() argument
141 @NonNull String opPackageName) { in getSensorProperties() argument
147 + ", caller: " + opPackageName); in getSensorProperties()
157 IFaceServiceReceiver receiver, String opPackageName) { in generateChallenge() argument
166 provider.scheduleGenerateChallenge(sensorId, userId, token, receiver, opPackageName); in generateChallenge()
171 public void revokeChallenge(IBinder token, int sensorId, int userId, String opPackageName, in revokeChallenge() argument
181 provider.scheduleRevokeChallenge(sensorId, userId, token, opPackageName, challenge); in revokeChallenge()
187 final IFaceServiceReceiver receiver, final String opPackageName, in enroll() argument
[all …]
DServiceProvider.java74 @NonNull IFaceServiceReceiver receiver, String opPackageName); in scheduleGenerateChallenge() argument
77 @NonNull String opPackageName, long challenge); in scheduleRevokeChallenge() argument
80 int userId, @NonNull IFaceServiceReceiver receiver, @NonNull String opPackageName, in scheduleEnroll() argument
106 @NonNull IFaceServiceReceiver receiver, @NonNull String opPackageName); in scheduleRemove() argument
109 @NonNull IFaceServiceReceiver receiver, @NonNull String opPackageName); in scheduleRemoveAll() argument
115 @NonNull IFaceServiceReceiver receiver, @NonNull String opPackageName); in scheduleSetFeature() argument
118 @NonNull ClientMonitorCallbackConverter callback, @NonNull String opPackageName); in scheduleGetFeature() argument
130 @NonNull String opPackageName); in createTestSession() argument
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/
DFingerprintAuthenticator.java47 @NonNull String opPackageName) throws RemoteException { in createTestSession() argument
48 return mFingerprintService.createTestSession(mSensorId, callback, opPackageName); in createTestSession()
52 public SensorPropertiesInternal getSensorProperties(@NonNull String opPackageName) in getSensorProperties() argument
54 return mFingerprintService.getSensorProperties(mSensorId, opPackageName); in getSensorProperties()
65 String opPackageName, long requestId, int cookie, boolean allowBackgroundAuthentication, in prepareForAuthentication() argument
72 .setOpPackageName(opPackageName) in prepareForAuthentication()
83 public void cancelAuthenticationFromService(IBinder token, String opPackageName, long requestId) in cancelAuthenticationFromService() argument
86 mSensorId, token, opPackageName, requestId); in cancelAuthenticationFromService()
90 public boolean isHardwareDetected(String opPackageName) throws RemoteException { in isHardwareDetected() argument
91 return mFingerprintService.isHardwareDetected(mSensorId, opPackageName); in isHardwareDetected()
[all …]
DFingerprintService.java141 @NonNull String opPackageName) {
151 return provider.createTestSession(sensorId, callback, opPackageName);
170 @NonNull String opPackageName) {
181 @NonNull String opPackageName) {
187 + ", caller: " + opPackageName);
196 IFingerprintServiceReceiver receiver, String opPackageName) {
205 provider.scheduleGenerateChallenge(sensorId, userId, token, receiver, opPackageName);
210 public void revokeChallenge(IBinder token, int sensorId, int userId, String opPackageName,
220 provider.scheduleRevokeChallenge(sensorId, userId, token, opPackageName,
228 final String opPackageName, @FingerprintManager.EnrollReason int enrollReason) {
[all …]
DServiceProvider.java67 @NonNull IFingerprintServiceReceiver receiver, String opPackageName); in scheduleGenerateChallenge() argument
70 @NonNull String opPackageName, long challenge); in scheduleRevokeChallenge() argument
77 @NonNull String opPackageName, @FingerprintManager.EnrollReason int enrollReason); in scheduleEnroll() argument
103 @NonNull String opPackageName); in scheduleRemove() argument
107 @NonNull String opPackageName); in scheduleRemoveAll() argument
146 @NonNull String opPackageName); in createTestSession() argument
/frameworks/base/core/java/android/hardware/biometrics/
DIAuthService.aidl37 … ITestSession createTestSession(int sensorId, ITestSessionCallback callback, String opPackageName); in createTestSession() argument
41 List<SensorPropertiesInternal> getSensorProperties(String opPackageName); in getSensorProperties() argument
51 IBiometricServiceReceiver receiver, String opPackageName, in PromptInfo promptInfo); in authenticate() argument
54 void cancelAuthentication(IBinder token, String opPackageName, long requestId); in cancelAuthentication() argument
58 int canAuthenticate(String opPackageName, int userId, int authenticators); in canAuthenticate() argument
61 boolean hasEnrolledBiometrics(int userId, String opPackageName); in hasEnrolledBiometrics() argument
79 void resetLockoutTimeBound(IBinder token, String opPackageName, int fromSensorId, int userId, in resetLockoutTimeBound() argument
87 CharSequence getButtonLabel(int userId, String opPackageName, int authenticators); in getButtonLabel() argument
91 CharSequence getPromptMessage(int userId, String opPackageName, int authenticators); in getPromptMessage() argument
95 CharSequence getSettingName(int userId, String opPackageName, int authenticators); in getSettingName() 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
58 void cancelAuthenticationFromService(IBinder token, String opPackageName, long requestId); in cancelAuthenticationFromService() argument
61 boolean isHardwareDetected(String opPackageName); in isHardwareDetected() argument
64 boolean hasEnrolledTemplates(int userId, String opPackageName); in hasEnrolledTemplates() argument
76 void resetLockout(IBinder token, String opPackageName, int userId, in resetLockout() argument
DIBiometricService.aidl35 … ITestSession createTestSession(int sensorId, ITestSessionCallback callback, String opPackageName); in createTestSession() argument
39 List<SensorPropertiesInternal> getSensorProperties(String opPackageName); in getSensorProperties() argument
46 IBiometricServiceReceiver receiver, String opPackageName, in PromptInfo promptInfo); in authenticate() argument
50 void cancelAuthentication(IBinder token, String opPackageName, long requestId); in cancelAuthentication() argument
54 int canAuthenticate(String opPackageName, int userId, int callingUserId, int authenticators); in canAuthenticate() argument
58 boolean hasEnrolledBiometrics(int userId, String opPackageName); in hasEnrolledBiometrics() argument
90 void resetLockoutTimeBound(IBinder token, String opPackageName, int fromSensorId, int userId, in resetLockoutTimeBound() argument
102 int getCurrentModality(String opPackageName, int userId, int callingUserId, int authenticators); in getCurrentModality() argument
DBiometricManager.java258 final String opPackageName = mContext.getOpPackageName(); in getButtonLabel() local
260 return mService.getButtonLabel(userId, opPackageName, mAuthenticators); in getButtonLabel()
292 final String opPackageName = mContext.getOpPackageName(); in getPromptMessage() local
294 return mService.getPromptMessage(userId, opPackageName, mAuthenticators); in getPromptMessage()
328 final String opPackageName = mContext.getOpPackageName(); in getSettingName() local
330 return mService.getSettingName(userId, opPackageName, mAuthenticators); in getSettingName()
477 final String opPackageName = mContext.getOpPackageName(); in canAuthenticate() local
478 return mService.canAuthenticate(opPackageName, userId, authenticators); in canAuthenticate()
610 public void resetLockoutTimeBound(IBinder token, String opPackageName, int fromSensorId, in resetLockoutTimeBound() argument
614 mService.resetLockoutTimeBound(token, opPackageName, fromSensorId, userId, in resetLockoutTimeBound()
/frameworks/base/core/java/android/hardware/fingerprint/
DIFingerprintService.aidl43 … ITestSession createTestSession(int sensorId, ITestSessionCallback callback, String opPackageName); in createTestSession() argument
50 List<FingerprintSensorPropertiesInternal> getSensorPropertiesInternal(String opPackageName); in getSensorPropertiesInternal() argument
54 FingerprintSensorPropertiesInternal getSensorProperties(int sensorId, String opPackageName); in getSensorProperties() argument
85 …void cancelAuthentication(IBinder token, String opPackageName, String attributionTag, long request… in cancelAuthentication() argument
89 void cancelFingerprintDetect(IBinder token, String opPackageName, long requestId); in cancelFingerprintDetect() argument
94 …void cancelAuthenticationFromService(int sensorId, IBinder token, String opPackageName, long reque… in cancelAuthenticationFromService() argument
99 String opPackageName, int enrollReason); in enroll() argument
108 String opPackageName); in remove() argument
112 …d removeAll(IBinder token, int userId, IFingerprintServiceReceiver receiver, String opPackageName); in removeAll() argument
119 …List<Fingerprint> getEnrolledFingerprints(int userId, String opPackageName, String attributionTag); in getEnrolledFingerprints() argument
[all …]
/frameworks/native/libs/sensor/
DISensorServer.cpp58 virtual Vector<Sensor> getSensorList(const String16& opPackageName) in getSensorList() argument
62 data.writeString16(opPackageName); in getSensorList()
80 virtual Vector<Sensor> getDynamicSensorList(const String16& opPackageName) in getDynamicSensorList() argument
84 data.writeString16(opPackageName); in getDynamicSensorList()
102 virtual Vector<Sensor> getRuntimeSensorList(const String16& opPackageName, int deviceId) in getRuntimeSensorList() argument
106 data.writeString16(opPackageName); in getRuntimeSensorList()
122 int mode, const String16& opPackageName, const String16& attributionTag) in createSensorEventConnection() argument
128 data.writeString16(opPackageName); in createSensorEventConnection()
141 virtual sp<ISensorEventConnection> createSensorDirectConnection(const String16& opPackageName, in createSensorDirectConnection() argument
146 data.writeString16(opPackageName); in createSensorDirectConnection()
[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()
105 SensorManager::SensorManager(const String16& opPackageName) in SensorManager() argument
106 : 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, long requestId, int cookie, boolean allowBackgroundAuthentication, in prepareForAuthentication() argument
72 public void cancelAuthenticationFromService(IBinder token, String opPackageName, long requestId) in cancelAuthenticationFromService() argument
77 public boolean isHardwareDetected(String opPackageName) throws RemoteException { in isHardwareDetected() argument
82 public boolean hasEnrolledTemplates(int userId, String opPackageName) throws RemoteException { in hasEnrolledTemplates() argument
102 public void resetLockout(IBinder token, String opPackageName, int userId, in resetLockout() argument
/frameworks/native/services/sensorservice/
DSensorService.h176 const String16& opPackageName);
181 const String16& opPackageName);
184 const String16& opPackageName);
372 virtual Vector<Sensor> getSensorList(const String16& opPackageName);
373 virtual Vector<Sensor> getDynamicSensorList(const String16& opPackageName);
374 virtual Vector<Sensor> getRuntimeSensorList(const String16& opPackageName, int deviceId);
377 int requestedMode, const String16& opPackageName, const String16& attributionTag);
379 virtual sp<ISensorEventConnection> createSensorDirectConnection(const String16& opPackageName,
405 const String16& opPackageName);
406 void addSensorIfAccessible(const String16& opPackageName, const Sensor& sensor,
[all …]
DSensorService.cpp509 bool SensorService::hasSensorAccess(uid_t uid, const String16& opPackageName) { in hasSensorAccess() argument
511 return hasSensorAccessLocked(uid, opPackageName); in hasSensorAccess()
514 bool SensorService::hasSensorAccessLocked(uid_t uid, const String16& opPackageName) { in hasSensorAccessLocked() argument
516 && isUidActive(uid) && !isOperationRestrictedLocked(opPackageName); in hasSensorAccessLocked()
1436 Vector<Sensor> SensorService::getSensorList(const String16& opPackageName) { in getSensorList() argument
1443 resetTargetSdkVersionCache(opPackageName); in getSensorList()
1444 bool isCapped = isRateCappedBasedOnPermission(opPackageName); in getSensorList()
1457 void SensorService::addSensorIfAccessible(const String16& opPackageName, const Sensor& sensor, in addSensorIfAccessible() argument
1459 if (canAccessSensor(sensor, "can't see", opPackageName)) { in addSensorIfAccessible()
1468 Vector<Sensor> SensorService::getDynamicSensorList(const String16& opPackageName) { in getDynamicSensorList() argument
[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 int userId, 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/libs/sensor/include/sensor/
DISensorServer.h44 virtual Vector<Sensor> getSensorList(const String16& opPackageName) = 0;
45 virtual Vector<Sensor> getDynamicSensorList(const String16& opPackageName) = 0;
46 virtual Vector<Sensor> getRuntimeSensorList(const String16& opPackageName, int deviceId) = 0;
49 int mode, const String16& opPackageName, const String16& attributionTag) = 0;
52 virtual sp<ISensorEventConnection> createSensorDirectConnection(const String16& opPackageName,
/frameworks/base/services/core/java/com/android/server/biometrics/
DAuthService.java180 @NonNull String opPackageName) throws RemoteException { in createTestSession() argument
187 .createTestSession(sensorId, callback, opPackageName); in createTestSession()
195 public List<SensorPropertiesInternal> getSensorProperties(String opPackageName) in getSensorProperties() argument
204 return mInjector.getBiometricService().getSensorProperties(opPackageName); in getSensorProperties()
222 IBiometricServiceReceiver receiver, String opPackageName, PromptInfo promptInfo) in authenticate() argument
236 if (!checkAppOps(callingUid, opPackageName, "authenticate()")) { in authenticate()
237 authenticateFastFail("Denied by app ops: " + opPackageName, receiver); in authenticate()
241 if (token == null || receiver == null || opPackageName == null || promptInfo == null) { in authenticate()
248 authenticateFastFail("Caller is not foreground: " + opPackageName, receiver); in authenticate()
272 token, sessionId, userId, receiver, opPackageName, promptInfo); in authenticate()
[all …]
DBiometricSensor.java108 int userId, IBiometricSensorReceiver sensorReceiver, String opPackageName, in goToStateWaitingForCookie() argument
114 sessionId, userId, sensorReceiver, opPackageName, requestId, mCookie, in goToStateWaitingForCookie()
131 void goToStateCancelling(IBinder token, String opPackageName, long requestId) in goToStateCancelling() argument
134 impl.cancelAuthenticationFromService(token, opPackageName, requestId); in goToStateCancelling()
DBiometricService.java512 @NonNull String opPackageName) throws RemoteException {
518 return sensor.impl.createTestSession(callback, opPackageName);
528 public List<SensorPropertiesInternal> getSensorProperties(String opPackageName)
538 .from(sensor.impl.getSensorProperties(opPackageName));
557 IBiometricServiceReceiver receiver, String opPackageName, PromptInfo promptInfo) {
561 if (token == null || receiver == null || opPackageName == null || promptInfo == null) {
574 token, requestId, operationId, userId, receiver, opPackageName, promptInfo));
581 public void cancelAuthentication(IBinder token, String opPackageName, long requestId) {
587 args.arg2 = opPackageName;
595 public int canAuthenticate(String opPackageName, int userId, int callingUserId,
[all …]
/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()

12345