Searched refs:callbackInternal (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/core/java/com/android/server/attention/ |
D | AttentionManagerService.java | 267 boolean checkAttention(long timeout, AttentionCallbackInternal callbackInternal) { in checkAttention() argument 268 Objects.requireNonNull(callbackInternal); in checkAttention() 305 callbackInternal.onSuccess(cache.mResult, cache.mTimestamp); in checkAttention() 317 mCurrentAttentionCheck = new AttentionCheck(callbackInternal, this); in checkAttention() 336 void cancelAttentionCheck(AttentionCallbackInternal callbackInternal) { in cancelAttentionCheck() argument 338 if (!mCurrentAttentionCheck.mCallbackInternal.equals(callbackInternal)) { in cancelAttentionCheck() 358 boolean onStartProximityUpdates(ProximityUpdateCallbackInternal callbackInternal) { in onStartProximityUpdates() argument 359 Objects.requireNonNull(callbackInternal); in onStartProximityUpdates() 393 if (mCurrentProximityUpdate.mCallbackInternal == callbackInternal) { in onStartProximityUpdates() 403 mCurrentProximityUpdate = new ProximityUpdate(callbackInternal); in onStartProximityUpdates() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/rotationresolver/ |
D | RotationResolverManagerPerUserServiceTest.java | 101 RotationResolverInternal.RotationResolverCallbackInternal callbackInternal = in testResolveRotation_callOnSuccess() local 104 mService.resolveRotationLocked(callbackInternal, mRequest, mCancellationSignal); in testResolveRotation_callOnSuccess() 105 verify(callbackInternal).onSuccess(anyInt()); in testResolveRotation_callOnSuccess() 110 RotationResolverInternal.RotationResolverCallbackInternal callbackInternal = in testResolveRotation_noCrashWhenCancelled() local 114 mService.resolveRotationLocked(callbackInternal, mRequest, cancellationSignal); in testResolveRotation_noCrashWhenCancelled()
|
/frameworks/base/services/core/java/com/android/server/rotationresolver/ |
D | RotationResolverManagerService.java | 157 RotationResolverInternal.RotationResolverCallbackInternal callbackInternal, in resolveRotationShellCommand() argument 162 service.resolveRotationLocked(callbackInternal, request, new CancellationSignal()); in resolveRotationShellCommand() 184 @NonNull RotationResolverCallbackInternal callbackInternal, String packageName, in resolveRotation() 187 Objects.requireNonNull(callbackInternal); in resolveRotation() 206 service.resolveRotationLocked(callbackInternal, request, in resolveRotation() 214 callbackInternal.onFailure(ROTATION_RESULT_FAILURE_CANCELLED); in resolveRotation()
|
D | RotationResolverManagerPerUserService.java | 99 @NonNull RotationResolverInternal.RotationResolverCallbackInternal callbackInternal, in resolveRotationLocked() 105 callbackInternal.onFailure(ROTATION_RESULT_FAILURE_CANCELLED); in resolveRotationLocked() 132 callbackInternal.onSuccess(result); in resolveRotationLocked() 141 callbackInternal.onFailure(error); in resolveRotationLocked()
|
D | RemoteRotationResolverService.java | 117 @NonNull RotationResolverInternal.RotationResolverCallbackInternal callbackInternal, in RotationRequest() 120 mCallbackInternal = callbackInternal; in RotationRequest()
|