Home
last modified time | relevance | path

Searched refs:operationId (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/opt/car/services/updatableServices/src/com/android/internal/car/updatable/
DCarServiceProxy.java177 private void runQueuedOperationLocked(@PendingOperationId int operationId) { in runQueuedOperationLocked() argument
178 PendingOperation pendingOperation = mPendingOperations.get(operationId); in runQueuedOperationLocked()
180 runLocked(operationId, pendingOperation.value); in runQueuedOperationLocked()
184 Slogf.d(TAG, "No queued operation of type " + pendingOperationToString(operationId)); in runQueuedOperationLocked()
303 private void saveOrRun(@PendingOperationId int operationId) { in saveOrRun() argument
304 saveOrRun(operationId, /* value= */ null); in saveOrRun()
307 private void saveOrRun(@PendingOperationId int operationId, @Nullable Object value) { in saveOrRun() argument
312 + pendingOperationToString(operationId) in saveOrRun()
315 savePendingOperationLocked(operationId, value); in saveOrRun()
318 if (operationId == PO_ON_FACTORY_RESET) { in saveOrRun()
[all …]
/frameworks/base/core/java/android/hardware/usb/
DUsbPort.java381 int operationId = sUsbOperationCount.incrementAndGet() + Binder.getCallingUid(); in resetUsbPort() local
382 Log.i(TAG, "resetUsbPort opId:" + operationId); in resetUsbPort()
384 new UsbOperationInternal(operationId, mId, executor, consumer); in resetUsbPort()
385 mUsbManager.resetUsbPort(this, operationId, opCallback); in resetUsbPort()
405 int operationId = sUsbOperationCount.incrementAndGet() + Binder.getCallingUid(); in enableUsbData() local
406 Log.i(TAG, "enableUsbData opId:" + operationId in enableUsbData()
409 new UsbOperationInternal(operationId, mId); in enableUsbData()
410 if (mUsbManager.enableUsbData(this, enable, operationId, opCallback) == true) { in enableUsbData()
446 int operationId = sUsbOperationCount.incrementAndGet() + Binder.getCallingUid(); in enableUsbDataWhileDocked() local
447 Log.i(TAG, "enableUsbData opId:" + operationId in enableUsbDataWhileDocked()
[all …]
DUsbManager.java1326 void enableLimitPowerTransfer(@NonNull UsbPort port, boolean limit, int operationId, in enableLimitPowerTransfer() argument
1329 + operationId); in enableLimitPowerTransfer()
1331 mService.enableLimitPowerTransfer(port.getId(), limit, operationId, callback); in enableLimitPowerTransfer() local
1333 Log.e(TAG, "enableLimitPowerTransfer failed. opId:" + operationId, e); in enableLimitPowerTransfer()
1338 + operationId, r); in enableLimitPowerTransfer()
1363 void resetUsbPort(@NonNull UsbPort port, int operationId, in resetUsbPort() argument
1365 Objects.requireNonNull(port, "resetUsbPort: port must not be null. opId:" + operationId); in resetUsbPort()
1367 mService.resetUsbPort(port.getId(), operationId, callback); in resetUsbPort() local
1374 + operationId, r); in resetUsbPort()
1398 boolean enableUsbData(@NonNull UsbPort port, boolean enable, int operationId, in enableUsbData() argument
[all …]
DIUsbManager.aidl140 void resetUsbPort(in String portId, int operationId, in IUsbOperationInternal callback); in resetUsbPort() argument
143 …boolean enableUsbData(in String portId, boolean enable, int operationId, in IUsbOperationInternal … in enableUsbData() argument
146 …void enableUsbDataWhileDocked(in String portId, int operationId, in IUsbOperationInternal callback… in enableUsbDataWhileDocked() argument
169 …void enableLimitPowerTransfer(in String portId, boolean limit, int operationId, in IUsbOperationIn… in enableLimitPowerTransfer() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
DAuthSessionTest.java136 final long operationId = 123; in testStartNewAuthSession() local
143 operationId, in testStartNewAuthSession()
159 eq(operationId), in testStartNewAuthSession()
239 final long operationId = 123; in testMultiAuth_fingerprintSensorStartsAfterUINotifies() local
251 operationId, in testMultiAuth_fingerprintSensorStartsAfterUINotifies()
289 final long operationId = 123; in testOnDialogAnimatedInDoesNothingDuringInvalidState() local
296 operationId, in testOnDialogAnimatedInDoesNothingDuringInvalidState()
434 long requestId, long operationId, int userId) throws RemoteException { in createAuthSession() argument
441 mRandom, mClientDeathReceiver, preAuthInfo, mToken, requestId, operationId, userId, in createAuthSession()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbService.java688 public void resetUsbPort(String portId, int operationId, in resetUsbPort() argument
691 + operationId); in resetUsbPort()
693 + operationId); in resetUsbPort()
700 mPortManager.resetUsbPort(portId, operationId, callback, null); in resetUsbPort()
768 public void enableLimitPowerTransfer(String portId, boolean limit, int operationId, in enableLimitPowerTransfer() argument
770 Objects.requireNonNull(portId, "portId must not be null. opID:" + operationId); in enableLimitPowerTransfer()
776 mPortManager.enableLimitPowerTransfer(portId, limit, operationId, callback, null); in enableLimitPowerTransfer()
821 public boolean enableUsbData(String portId, boolean enable, int operationId, in enableUsbData() argument
824 + operationId); in enableUsbData()
826 + operationId); in enableUsbData()
[all …]
/frameworks/base/core/java/android/hardware/biometrics/
DBiometricPrompt.java928 long operationId) { in authenticateForOperation() argument
939 return authenticateInternal(operationId, cancel, executor, callback, mContext.getUserId()); in authenticateForOperation()
1088 final long operationId = crypto != null ? crypto.getOpId() : 0L; in authenticateInternal() local
1089 authenticateInternal(operationId, cancel, executor, callback, userId); in authenticateInternal()
1093 long operationId, in authenticateInternal() argument
1100 if (mCryptoObject != null && mCryptoObject.getOpId() != operationId) { in authenticateInternal()
1115 if (operationId != 0L) { in authenticateInternal()
1131 final long authId = mService.authenticate(mToken, operationId, userId, in authenticateInternal()
DIBiometricAuthenticator.aidl49 void prepareForAuthentication(boolean requireConfirmation, IBinder token, long operationId, in prepareForAuthentication() argument
DIBiometricService.aidl42 long authenticate(IBinder token, long operationId, int userId, in authenticate() argument
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
DTestHal.java107 public ICancellationSignal authenticate(long operationId) { in createSession()
195 long operationId, OperationContext context) { in createSession()
196 return authenticate(operationId); in createSession()
DFaceAuthenticationClient.java77 @NonNull ClientMonitorCallbackConverter listener, int targetUserId, long operationId, in FaceAuthenticationClient() argument
83 this(context, lazyDaemon, token, requestId, listener, targetUserId, operationId, in FaceAuthenticationClient()
93 @NonNull ClientMonitorCallbackConverter listener, int targetUserId, long operationId, in FaceAuthenticationClient() argument
99 super(context, lazyDaemon, token, listener, targetUserId, operationId, restricted, in FaceAuthenticationClient()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/aidl/
DTestHal.java100 public ICancellationSignal authenticate(long operationId) { in createSession()
190 long operationId, OperationContext context) { in createSession()
191 return authenticate(operationId); in createSession()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/
DFingerprintAuthenticator.java63 long operationId, int userId, IBiometricSensorReceiver sensorReceiver, in prepareForAuthentication() argument
66 mFingerprintService.prepareForAuthentication(mSensorId, token, operationId, userId, in prepareForAuthentication()
DServiceProvider.java101 void scheduleAuthenticate(int sensorId, @NonNull IBinder token, long operationId, int userId, in scheduleAuthenticate() argument
106 long scheduleAuthenticate(int sensorId, @NonNull IBinder token, long operationId, int userId, in scheduleAuthenticate() argument
DFingerprintService.java286 final long operationId, in authenticate() argument
349 return authenticateWithPrompt(operationId, sensorProps, callingUid, in authenticate()
356 return provider.second.scheduleAuthenticate(provider.first, token, operationId, userId, in authenticate()
362 final long operationId, in authenticateWithPrompt() argument
444 new CancellationSignal(), executor, promptCallback, operationId); in authenticateWithPrompt()
468 public void prepareForAuthentication(int sensorId, IBinder token, long operationId, in prepareForAuthentication() argument
480 provider.scheduleAuthenticate(sensorId, token, operationId, userId, cookie, in prepareForAuthentication()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/
DFaceAuthenticator.java63 long operationId, int userId, IBiometricSensorReceiver sensorReceiver, in prepareForAuthentication() argument
66 mFaceService.prepareForAuthentication(mSensorId, requireConfirmation, token, operationId, in prepareForAuthentication()
DServiceProvider.java110 long scheduleAuthenticate(int sensorId, @NonNull IBinder token, long operationId, int userId, in scheduleAuthenticate() argument
115 void scheduleAuthenticate(int sensorId, @NonNull IBinder token, long operationId, int userId, in scheduleAuthenticate() argument
/frameworks/base/core/java/android/hardware/face/
DIFaceService.aidl48 long authenticate(IBinder token, long operationId, int userId, IFaceServiceReceiver receiver, in authenticate() argument
62 long operationId, int userId, IBiometricSensorReceiver sensorReceiver, in prepareForAuthentication() argument
/frameworks/base/core/java/android/hardware/fingerprint/
DIFingerprintService.aidl54 long authenticate(IBinder token, long operationId, int sensorId, int userId, in authenticate() argument
69 void prepareForAuthentication(int sensorId, IBinder token, long operationId, int userId, in prepareForAuthentication() argument
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/hidl/
DFaceAuthenticationClient.java68 @NonNull ClientMonitorCallbackConverter listener, int targetUserId, long operationId, in FaceAuthenticationClient() argument
74 super(context, lazyDaemon, token, listener, targetUserId, operationId, restricted, in FaceAuthenticationClient()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthController.java885 int userId, long operationId, String opPackageName, long requestId, in showAuthenticationDialog() argument
898 + ", operationId: " + operationId in showAuthenticationDialog()
910 args.argl1 = operationId; in showAuthenticationDialog()
1115 final long operationId = args.argl1; in showDialog() local
1128 operationId, in showDialog()
1219 String opPackageName, boolean skipIntro, long operationId, long requestId, in buildDialog() argument
1232 .setOperationId(operationId) in buildDialog()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/
DFingerprintAuthenticationClient.java71 @NonNull ClientMonitorCallbackConverter listener, int targetUserId, long operationId, in FingerprintAuthenticationClient() argument
81 super(context, lazyDaemon, token, listener, targetUserId, operationId, restricted, in FingerprintAuthenticationClient()
DTestHal.java137 public int authenticate(long operationId, int gid) { in authenticate() argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DCommandQueueTest.java441 final long operationId = 1; in testShowAuthenticationDialog() local
447 credentialAllowed, requireConfirmation, userId, operationId, packageName, requestId, in testShowAuthenticationDialog()
451 eq(credentialAllowed), eq(requireConfirmation), eq(userId), eq(operationId), in testShowAuthenticationDialog()
/frameworks/base/services/core/java/com/android/server/biometrics/
DBiometricService.java534 public long authenticate(IBinder token, long operationId, int userId,
559 token, requestId, operationId, userId, receiver, opPackageName, promptInfo));
1219 private void handleAuthenticate(IBinder token, long requestId, long operationId, int userId,
1248 authenticateInternal(token, requestId, operationId, userId, receiver,
1270 private void authenticateInternal(IBinder token, long requestId, long operationId, int userId,
1290 operationId, userId, createBiometricSensorReceiver(requestId), receiver,

12