/packages/apps/Camera2/src/com/android/camera/ |
D | FatalErrorHandler.java | 109 case CameraDevice.StateCallback.ERROR_CAMERA_DEVICE: in fromCamera2CameraDeviceStateCallbackError() 110 case CameraDevice.StateCallback.ERROR_CAMERA_DISABLED: in fromCamera2CameraDeviceStateCallbackError() 111 case CameraDevice.StateCallback.ERROR_CAMERA_IN_USE: in fromCamera2CameraDeviceStateCallbackError() 112 case CameraDevice.StateCallback.ERROR_CAMERA_SERVICE: in fromCamera2CameraDeviceStateCallbackError() 113 case CameraDevice.StateCallback.ERROR_MAX_CAMERAS_IN_USE: in fromCamera2CameraDeviceStateCallbackError()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/ |
D | AndroidCameraDeviceProxy.java | 34 CameraCaptureSession.StateCallback { 35 private final CameraCaptureSessionProxy.StateCallback mStateCallback; 38 CameraCaptureSessionProxy.StateCallback stateCallback) { in AndroidCaptureSessionStateCallback() 81 CameraCaptureSessionProxy.StateCallback stateCallback, in createCaptureSession()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/threadnetwork/ |
D | ThreadNetworkFragmentController.kt | 21 import android.net.thread.ThreadNetworkController.StateCallback in <lambda>() 44 private val stateCallback: StateCallback in <lambda>() 98 private fun newStateCallback(): StateCallback { in <lambda>() 99 return object : StateCallback { in <lambda>()
|
D | BaseThreadNetworkController.kt | 20 import android.net.thread.ThreadNetworkController.StateCallback 43 fun registerStateCallback(executor: Executor, callback: StateCallback) 45 fun unregisterStateCallback(callback: StateCallback)
|
D | ThreadNetworkToggleController.kt | 20 import android.net.thread.ThreadNetworkController.StateCallback in <lambda>() 45 private val stateCallback: StateCallback in <lambda>() 63 private fun newStateCallback(): StateCallback { in <lambda>() 64 return object : StateCallback { in <lambda>()
|
D | ThreadNetworkUtils.kt | 22 import android.net.thread.ThreadNetworkController.StateCallback 50 override fun registerStateCallback(executor: Executor, callback: StateCallback) { in getThreadNetworkController() 54 override fun unregisterStateCallback(callback: StateCallback) { in getThreadNetworkController()
|
/packages/services/Car/car-lib/src/android/car/ |
D | CarRemoteDeviceManager.java | 162 public interface StateCallback { interface in CarRemoteDeviceManager 191 private StateCallback mCallback; 199 StateCallback callback; 223 StateCallback callback; 275 @NonNull StateCallback callback) { in registerStateCallback()
|
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/utils/ |
D | ThreadNetworkControllerWrapper.java | 33 import android.net.thread.ThreadNetworkController.StateCallback; 78 StateCallback callback = in getEnabledState() 79 new StateCallback() { in getEnabledState() 107 StateCallback callback = future::complete; in getDeviceRole() 162 ThreadNetworkController.StateCallback callback = in waitForRoleAnyOf()
|
/packages/services/Car/car-builtin-lib/src/android/car/builtin/keyguard/ |
D | KeyguardStateMonitor.java | 33 private final StateCallback mCallback; 66 KeyguardStateMonitor(IKeyguardService service, int userId, StateCallback callback) { in KeyguardStateMonitor() 89 interface StateCallback { interface in KeyguardStateMonitor
|
/packages/apps/Settings/tests/unit/src/com/android/settings/connecteddevice/threadnetwork/ |
D | FakeThreadNetworkController.kt | 27 var registeredStateCallback: ThreadNetworkController.StateCallback? = null 61 callback: ThreadNetworkController.StateCallback in registerStateCallback() 70 override fun unregisterStateCallback(callback: ThreadNetworkController.StateCallback) { in unregisterStateCallback()
|
/packages/services/Telephony/src/com/android/services/telephony/rcs/ |
D | SipDelegateBinderConnectionStub.java | 42 protected final List<StateCallback> mStateCallbacks; 55 Executor executor, List<StateCallback> stateCallbacks) { in SipDelegateBinderConnectionStub() 66 for (SipDelegateBinderConnection.StateCallback c: mStateCallbacks) { in create()
|
D | SipDelegateBinderConnection.java | 59 protected final List<StateCallback> mStateCallbacks; 86 for (StateCallback c : mStateCallbacks) { 103 for (StateCallback c : mStateCallbacks) { 119 for (StateCallback c : mStateCallbacks) { 165 List<StateCallback> stateCallbacks) { in SipDelegateBinderConnection()
|
D | DelegateBinderStateManager.java | 46 interface StateCallback { interface 73 Executor executor, List<StateCallback> stateCallbacks); in create()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarRemoteDeviceManagerUnitTest.java | 36 import android.car.CarRemoteDeviceManager.StateCallback; 67 private StateCallback mStateCallback; 105 mock(StateCallback.class))); in testRegisterStateCallbackWithNullParameters_throwsException() 164 mRemoteDeviceManager.registerStateCallback(mock(Executor.class), mock(StateCallback.class)); in testRegisterDuplicateStateCallback_throwsException() 169 mock(StateCallback.class))); in testRegisterDuplicateStateCallback_throwsException()
|
/packages/services/Car/cpp/computepipe/example/ |
D | FaceTracker.cpp | 64 StateCallback::StateCallback(std::shared_ptr<RemoteState> s) : mStateTracker(s) { in StateCallback() function in android::automotive::computepipe::StateCallback 67 ndk::ScopedAStatus StateCallback::handleState(PipeState state) { in handleState() 91 mStateCallback = ndk::SharedRefBase::make<StateCallback>(mRemoteState); in init()
|
D | FaceTracker.h | 78 class StateCallback : public BnPipeStateCallback { 80 explicit StateCallback(std::shared_ptr<RemoteState> s); 99 std::shared_ptr<StateCallback> mStateCallback = nullptr;
|
/packages/modules/Connectivity/thread/framework/java/android/net/thread/ |
D | ThreadNetworkController.java | 119 private final Map<StateCallback, StateCallbackProxy> mStateCallbackMap = new HashMap<>(); 217 public interface StateCallback { interface in ThreadNetworkController 245 private final StateCallback mCallback; 247 StateCallbackProxy(@CallbackExecutor Executor executor, StateCallback callback) { in StateCallbackProxy() 295 @NonNull @CallbackExecutor Executor executor, @NonNull StateCallback callback) { in registerStateCallback() 321 public void unregisterStateCallback(@NonNull StateCallback callback) { in unregisterStateCallback()
|
/packages/modules/Connectivity/thread/tests/cts/src/android/net/thread/cts/ |
D | ThreadNetworkControllerTest.java | 62 import android.net.thread.ThreadNetworkController.StateCallback; 160 StateCallback callback = deviceRole::complete; in registerStateCallback_permissionsGranted_returnsCurrentStates() 229 StateCallback callback = role -> deviceRole.complete(role); in registerStateCallback_alreadyRegistered_throwsIllegalArgumentException() 241 StateCallback callback = role -> deviceRole.complete(role); in unregisterStateCallback_noPermissions_throwsSecurityException() 258 StateCallback callback = role -> deviceRole.complete(role); in unregisterStateCallback_callbackRegistered_success() 268 StateCallback callback = role -> deviceRole.complete(role); in unregisterStateCallback_callbackNotRegistered_throwsIllegalArgumentException() 280 StateCallback callback = deviceRole::complete; in unregisterStateCallback_alreadyUnregistered_throwsIllegalArgumentException() 930 StateCallback callback = future::complete; 952 StateCallback callback = 967 StateCallback callback = [all …]
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/ |
D | SelfManagedAnswerVideoCallScreen.java | 24 import android.hardware.camera2.CameraDevice.StateCallback; 47 public class SelfManagedAnswerVideoCallScreen extends StateCallback implements VideoCallScreen { 246 private class CaptureSessionCallback extends CameraCaptureSession.StateCallback {
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
D | LoggingCallbacks.java | 37 public static class DeviceStateCallback extends CameraDevice.StateCallback { 63 public static class SessionStateCallback extends CameraCaptureSession.StateCallback {
|
/packages/apps/Settings/src/com/android/settings/biometrics/face/ |
D | FaceEnrollPreviewFragment.java | 114 private final CameraDevice.StateCallback mCameraStateCallback = 115 new CameraDevice.StateCallback() { 135 new CameraCaptureSession.StateCallback() {
|
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/ |
D | SimulatorPreviewCamera.java | 101 private final class CameraListener extends CameraDevice.StateCallback { 140 private final class CaptureSessionCallback extends CameraCaptureSession.StateCallback {
|
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/occupantconnection/ |
D | OccupantConnectionFragment.java | 33 import android.car.CarRemoteDeviceManager.StateCallback; 80 private final StateCallback mStateCallback = new StateCallback() {
|
/packages/modules/Permission/tests/cts/permissionui/AppThatAccessesCameraAndMic/src/android/permissionui/cts/appthataccessescameraandmic/ |
D | AccessCameraOrMicActivity.kt | 142 object : CameraDevice.StateCallback() { 164 object : CameraCaptureSession.StateCallback() { in onOpened()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
D | Camera2OneCameraOpenerImpl.java | 118 mCameraManager.openCamera(cameraKey.getValue(), new CameraDevice.StateCallback() { in open() 150 if (error == CameraDevice.StateCallback.ERROR_CAMERA_IN_USE) { in open()
|