Home
last modified time | relevance | path

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

12345

/frameworks/base/core/java/android/hardware/face/
DIFaceService.aidl43 … ITestSession createTestSession(int sensorId, ITestSessionCallback callback, String opPackageName); in createTestSession() argument
51 List<FaceSensorPropertiesInternal> getSensorPropertiesInternal(String opPackageName); in getSensorPropertiesInternal() argument
55 FaceSensorPropertiesInternal getSensorProperties(int sensorId, String opPackageName); in getSensorProperties() argument
85 void cancelAuthentication(IBinder token, String opPackageName, long requestId); in cancelAuthentication() argument
89 void cancelFaceDetect(IBinder token, String opPackageName, long requestId); in cancelFaceDetect() argument
93 …void cancelAuthenticationFromService(int sensorId, IBinder token, String opPackageName, long reque… in cancelAuthenticationFromService() argument
98 String opPackageName, in int [] disabledFeatures, in enroll() argument
104 String opPackageName, in int [] disabledFeatures); in enrollRemotely() argument
113 String opPackageName); in remove() argument
117 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/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.java149 @NonNull String opPackageName) {
159 return provider.createTestSession(sensorId, callback, opPackageName);
178 @NonNull String opPackageName) {
189 @NonNull String opPackageName) {
195 + ", caller: " + opPackageName);
204 IFingerprintServiceReceiver receiver, String opPackageName) {
213 provider.scheduleGenerateChallenge(sensorId, userId, token, receiver, opPackageName);
218 public void revokeChallenge(IBinder token, int sensorId, int userId, String opPackageName,
228 provider.scheduleRevokeChallenge(sensorId, userId, token, opPackageName,
236 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
104 @NonNull String opPackageName); in scheduleRemove() argument
108 @NonNull String opPackageName); in scheduleRemoveAll() argument
143 @NonNull String opPackageName); in createTestSession() 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.java122 @NonNull String opPackageName) { in createTestSession() argument
132 return provider.createTestSession(sensorId, callback, opPackageName); in createTestSession()
152 String opPackageName) { in getSensorPropertiesInternal() argument
161 @NonNull String opPackageName) { in getSensorProperties() argument
167 + ", caller: " + opPackageName); in getSensorProperties()
177 IFaceServiceReceiver receiver, String opPackageName) { in generateChallenge() argument
186 provider.scheduleGenerateChallenge(sensorId, userId, token, receiver, opPackageName); in generateChallenge()
191 public void revokeChallenge(IBinder token, int sensorId, int userId, String opPackageName, in revokeChallenge() argument
201 provider.scheduleRevokeChallenge(sensorId, userId, token, opPackageName, challenge); in revokeChallenge()
207 final IFaceServiceReceiver receiver, final String opPackageName, in enroll() argument
[all …]
DServiceProvider.java75 @NonNull IFaceServiceReceiver receiver, String opPackageName); in scheduleGenerateChallenge() argument
78 @NonNull String opPackageName, long challenge); in scheduleRevokeChallenge() argument
81 int userId, @NonNull IFaceServiceReceiver receiver, @NonNull String opPackageName, in scheduleEnroll() argument
107 @NonNull IFaceServiceReceiver receiver, @NonNull String opPackageName); in scheduleRemove() argument
110 @NonNull IFaceServiceReceiver receiver, @NonNull String opPackageName); in scheduleRemoveAll() argument
116 @NonNull IFaceServiceReceiver receiver, @NonNull String opPackageName); in scheduleSetFeature() argument
119 @NonNull ClientMonitorCallbackConverter callback, @NonNull String opPackageName); in scheduleGetFeature() argument
131 @NonNull String opPackageName); in createTestSession() argument
/frameworks/base/core/java/android/hardware/biometrics/
DIAuthService.aidl38 … ITestSession createTestSession(int sensorId, ITestSessionCallback callback, String opPackageName); in createTestSession() argument
42 List<SensorPropertiesInternal> getSensorProperties(String opPackageName); in getSensorProperties() argument
52 IBiometricServiceReceiver receiver, String opPackageName, in PromptInfo promptInfo); in authenticate() argument
55 void cancelAuthentication(IBinder token, String opPackageName, long requestId); in cancelAuthentication() argument
59 int canAuthenticate(String opPackageName, int userId, int authenticators); in canAuthenticate() argument
65 boolean hasEnrolledBiometrics(int userId, String opPackageName); in hasEnrolledBiometrics() argument
89 void resetLockoutTimeBound(IBinder token, String opPackageName, int fromSensorId, int userId, in resetLockoutTimeBound() argument
97 CharSequence getButtonLabel(int userId, String opPackageName, int authenticators); in getButtonLabel() argument
101 CharSequence getPromptMessage(int userId, String opPackageName, int authenticators); in getPromptMessage() argument
105 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
62 boolean hasEnrolledBiometrics(int userId, String opPackageName); in hasEnrolledBiometrics() argument
94 void resetLockoutTimeBound(IBinder token, String opPackageName, int fromSensorId, int userId, in resetLockoutTimeBound() argument
106 int getCurrentModality(String opPackageName, int userId, int callingUserId, int authenticators); in getCurrentModality() argument
DBiometricManager.java280 final String opPackageName = mContext.getOpPackageName(); in getButtonLabel() local
282 return mService.getButtonLabel(userId, opPackageName, mAuthenticators); in getButtonLabel()
314 final String opPackageName = mContext.getOpPackageName(); in getPromptMessage() local
316 return mService.getPromptMessage(userId, opPackageName, mAuthenticators); in getPromptMessage()
350 final String opPackageName = mContext.getOpPackageName(); in getSettingName() local
352 return mService.getSettingName(userId, opPackageName, mAuthenticators); in getSettingName()
499 final String opPackageName = mContext.getOpPackageName(); in canAuthenticate() local
500 return mService.canAuthenticate(opPackageName, userId, authenticators); in canAuthenticate()
670 public void resetLockoutTimeBound(IBinder token, String opPackageName, int fromSensorId, in resetLockoutTimeBound() argument
674 mService.resetLockoutTimeBound(token, opPackageName, fromSensorId, userId, in resetLockoutTimeBound()
/frameworks/base/core/java/android/hardware/fingerprint/
DIFingerprintService.aidl45 … ITestSession createTestSession(int sensorId, ITestSessionCallback callback, String opPackageName); in createTestSession() argument
52 List<FingerprintSensorPropertiesInternal> getSensorPropertiesInternal(String opPackageName); in getSensorPropertiesInternal() argument
56 FingerprintSensorPropertiesInternal getSensorProperties(int sensorId, String opPackageName); in getSensorProperties() argument
87 …void cancelAuthentication(IBinder token, String opPackageName, String attributionTag, long request… in cancelAuthentication() argument
91 void cancelFingerprintDetect(IBinder token, String opPackageName, long requestId); in cancelFingerprintDetect() argument
96 …void cancelAuthenticationFromService(int sensorId, IBinder token, String opPackageName, long reque… in cancelAuthenticationFromService() argument
101 String opPackageName, int enrollReason, in FingerprintEnrollOptions options); in enroll() argument
110 String opPackageName); in remove() argument
114 …d removeAll(IBinder token, int userId, IFingerprintServiceReceiver receiver, String opPackageName); in removeAll() argument
121 …List<Fingerprint> getEnrolledFingerprints(int userId, String opPackageName, String attributionTag); in getEnrolledFingerprints() argument
[all …]
/frameworks/base/apct-tests/perftests/permission/src/android/perftests/permission/
DAppOpsPerfTest.kt33 private lateinit var opPackageName: String variable in android.perftests.permission.AppOpsPerfTest
40 opPackageName = context.opPackageName in setUp()
41 opPackageUid = context.getPackageManager().getPackageUid(opPackageName, 0) in setUp()
51 opPackageName, in testNoteOp()
65 opPackageName in testUnsafeCheckOp()
/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/libs/sensor/
DISensorServer.cpp60 virtual Vector<Sensor> getSensorList(const String16& opPackageName) in getSensorList() argument
64 data.writeString16(opPackageName); in getSensorList()
90 virtual Vector<Sensor> getDynamicSensorList(const String16& opPackageName) in getDynamicSensorList() argument
94 data.writeString16(opPackageName); in getDynamicSensorList()
120 virtual Vector<Sensor> getRuntimeSensorList(const String16& opPackageName, int deviceId) in getRuntimeSensorList() argument
124 data.writeString16(opPackageName); in getRuntimeSensorList()
148 int mode, const String16& opPackageName, const String16& attributionTag) in createSensorEventConnection() argument
154 data.writeString16(opPackageName); in createSensorEventConnection()
181 virtual sp<ISensorEventConnection> createSensorDirectConnection(const String16& opPackageName, in createSensorDirectConnection() argument
186 data.writeString16(opPackageName); in createSensorDirectConnection()
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/permission/
DAppOpsPerfTest.kt38 private lateinit var opPackageName: String variable in android.permission.AppOpsPerfTest
45 opPackageName = context.getOpPackageName() in setUp()
46 opPackageUid = context.getPackageManager().getPackageUid(opPackageName, 0) in setUp()
56 opPackageName, in testNoteOp()
70 opPackageName in testUnsafeCheckOp()
/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/base/packages/SystemUI/tests/utils/src/com/android/systemui/biometrics/data/repository/
DFakePromptRepository.kt33 override val opPackageName = _opPackageName.asStateFlow() constant in com.android.systemui.biometrics.data.repository.FakePromptRepository
41 opPackageName: String, in setPrompt()
50 opPackageName = opPackageName in setPrompt()
60 opPackageName: String? = null, in setPrompt()
68 _opPackageName.value = opPackageName in setPrompt()
/frameworks/native/services/sensorservice/
DSensorService.h182 const String16& opPackageName);
187 const String16& opPackageName);
190 const String16& opPackageName);
395 virtual Vector<Sensor> getSensorList(const String16& opPackageName);
396 virtual Vector<Sensor> getDynamicSensorList(const String16& opPackageName);
397 virtual Vector<Sensor> getRuntimeSensorList(const String16& opPackageName, int deviceId);
400 int requestedMode, const String16& opPackageName, const String16& attributionTag);
404 virtual sp<ISensorEventConnection> createSensorDirectConnection(const String16& opPackageName,
430 const String16& opPackageName);
431 void addSensorIfAccessible(const String16& opPackageName, const Sensor& sensor,
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/domain/interactor/
DPromptSelectorInteractor.kt92 opPackageName: String, in <lambda>()
117 promptRepository.opPackageName,
118 ) { promptInfo, challenge, userId, kind, opPackageName -> in kind() method
120 promptInfo == null || userId == null || challenge == null || opPackageName == null in kind()
132 opPackageName = opPackageName, in kind()
170 promptRepository.opPackageName.value!!, in onSwitchToCredential()
183 opPackageName: String, in setPrompt()
231 opPackageName = opPackageName, in setPrompt()
/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;
54 virtual sp<ISensorEventConnection> createSensorDirectConnection(const String16& opPackageName,
/frameworks/base/services/core/java/com/android/server/biometrics/
DAuthService.java229 @NonNull String opPackageName) throws RemoteException { in createTestSession() argument
236 .createTestSession(sensorId, callback, opPackageName); in createTestSession()
244 public List<SensorPropertiesInternal> getSensorProperties(String opPackageName) in getSensorProperties() argument
253 return mInjector.getBiometricService().getSensorProperties(opPackageName); in getSensorProperties()
271 IBiometricServiceReceiver receiver, String opPackageName, PromptInfo promptInfo) in authenticate() argument
285 if (!checkAppOps(callingUid, opPackageName, "authenticate()")) { in authenticate()
286 authenticateFastFail("Denied by app ops: " + opPackageName, receiver); in authenticate()
290 if (token == null || receiver == null || opPackageName == null || promptInfo == null) { in authenticate()
297 authenticateFastFail("Caller is not foreground: " + opPackageName, receiver); in authenticate()
324 token, sessionId, userId, receiver, opPackageName, promptInfo); in authenticate()
[all …]
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DLockoutResetDispatcher.java54 String opPackageName) { in ClientCallback() argument
56 mOpPackageName = opPackageName; in ClientCallback()
90 public void addCallback(IBiometricServiceLockoutResetCallback callback, String opPackageName) { in addCallback() argument
92 Slog.w(TAG, "Callback from : " + opPackageName + " is null"); in addCallback()
96 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