Home
last modified time | relevance | path

Searched refs:mProxy (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/impl/
DCallbackProxies.java41 private final MethodNameInvoker<CameraDeviceImpl.StateCallbackKK> mProxy; field in CallbackProxies.DeviceStateCallbackProxy
46mProxy = new MethodNameInvoker<>(dispatchTarget, CameraDeviceImpl.StateCallbackKK.class); in DeviceStateCallbackProxy()
51 mProxy.invoke("onOpened", camera); in onOpened()
56 mProxy.invoke("onDisconnected", camera); in onDisconnected()
61 mProxy.invoke("onError", camera, error); in onError()
66 mProxy.invoke("onUnconfigured", camera); in onUnconfigured()
71 mProxy.invoke("onActive", camera); in onActive()
76 mProxy.invoke("onBusy", camera); in onBusy()
81 mProxy.invoke("onClosed", camera); in onClosed()
86 mProxy.invoke("onIdle", camera); in onIdle()
[all …]
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingCaptureCallback.java86 private final CameraCaptureSession.CaptureCallback mProxy; field in BlockingCaptureCallback
96 mProxy = null; in BlockingCaptureCallback()
111 mProxy = listener; in BlockingCaptureCallback()
127 if (mProxy != null) mProxy.onCaptureStarted(session, request, timestamp, frameNumber); in onCaptureStarted()
134 if (mProxy != null) mProxy.onCaptureProgressed(session, request, partialResult); in onCaptureProgressed()
141 if (mProxy != null) mProxy.onCaptureCompleted(session, request, result); in onCaptureCompleted()
148 if (mProxy != null) mProxy.onCaptureFailed(session, request, failure); in onCaptureFailed()
155 if (mProxy != null) mProxy.onCaptureSequenceCompleted(session, sequenceId, frameNumber); in onCaptureSequenceCompleted()
161 if (mProxy != null) mProxy.onCaptureSequenceAborted(session, sequenceId); in onCaptureSequenceAborted()
DBlockingSessionCallback.java80 private final CameraCaptureSession.StateCallback mProxy; field in BlockingSessionCallback
100 mProxy = null; in BlockingSessionCallback()
115 mProxy = listener; in BlockingSessionCallback()
155 if (mProxy != null) mProxy.onActive(session); in onActive()
162 if (mProxy != null) mProxy.onClosed(session); in onClosed()
172 if (mProxy != null) { in onConfigured()
173 mProxy.onConfigured(session); in onConfigured()
181 if (mProxy != null) { in onConfigureFailed()
182 mProxy.onConfigureFailed(session); in onConfigureFailed()
190 if (mProxy != null) { in onReady()
[all …]
DBlockingStateCallback.java46 private final CameraDevice.StateCallback mProxy; field in BlockingStateCallback
103 mProxy = null; in BlockingStateCallback()
107 mProxy = listener; in BlockingStateCallback()
112 if (mProxy != null) { in onOpened()
113 mProxy.onOpened(camera); in onOpened()
120 if (mProxy != null) { in onDisconnected()
121 mProxy.onDisconnected(camera); in onDisconnected()
128 if (mProxy != null) { in onError()
129 mProxy.onError(camera, error); in onError()
136 if (mProxy != null) { in onClosed()
[all …]
DBlockingCameraManager.java176 private final CameraDevice.StateCallback mProxy; field in BlockingCameraManager.OpenListener
193 mProxy = listener; in OpenListener()
225 if (mProxy != null) mProxy.onOpened(camera); in onOpened()
248 if (mProxy != null) mProxy.onDisconnected(camera); in onDisconnected()
274 if (mProxy != null) mProxy.onError(camera, error); in onError()
279 if (mProxy != null) mProxy.onClosed(camera); in onClosed()
/frameworks/base/libs/hwui/utils/
DTestWindowContext.cpp81 mProxy.reset in TestWindowData()
85 mProxy->loadSystemProperties(); in TestWindowData()
86 mProxy->initialize(mAndroidSurface.get()); in TestWindowData()
89 mProxy->setup(800.0f, 255 * 0.075f, 255 * 0.15f); in TestWindowData()
90 mProxy->setLightCenter(lightVector); in TestWindowData()
102 mProxy->syncAndDrawFrame(); in finishDrawing()
108 mProxy->fence(); in fence()
168 std::unique_ptr<android::uirenderer::renderthread::RenderProxy> mProxy; member in android::uirenderer::TestWindowContext::TestWindowData
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp98 mProxy(NULL), in AudioRecord()
115 mProxy->interrupt(); in ~AudioRecord()
303 const uint32_t framesFlushed = mProxy->flush(); in start()
306 mProxy->clearTimestamp(); // timestamp is invalid until next server push in start()
309 mProxy->setEpoch(mProxy->getEpoch() - mProxy->getPosition()); in start()
314 mNewPosition = mProxy->getPosition() + mUpdatePeriod; in start()
359 mProxy->interrupt(); in stop()
418 mNewPosition = mProxy->getPosition() + updatePeriod; in setPositionUpdatePeriod()
447 mProxy->getPosition().getValue(position); in getPosition()
464 status_t status = mProxy->getTimestamp(timestamp); in getTimestamp()
[all …]
DAudioTrack.cpp267 mProxy->interrupt(); in ~AudioTrack()
614 mProxy->clearTimestamp(); // need new server push for valid timestamp in start()
646 mProxy->interrupt(); in start()
690 mProxy->interrupt(); in stop()
744 mProxy->interrupt(); in flush_l()
746 mProxy->flush(); in flush_l()
760 mProxy->interrupt(); in pause()
795 mProxy->setVolumeLR(gain_minifloat_pack(gain_from_float(left), gain_from_float(right))); in setVolume()
817 mProxy->setSendLevel(level); in setAuxEffectSendLevel()
855 mProxy->setSampleRate(effectiveSampleRate); in setSampleRate()
[all …]
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java83 private IUsb mProxy = null; field in UsbPortManager
134 if (mProxy != null) { in systemReady()
136 mProxy.queryPortStatus(); in systemReady()
239 } else if (mProxy != null) { in setPortRoles()
255 mProxy.switchRole(portId, newRole); in setPortRoles()
269 mProxy.switchRole(portId, newRole); in setPortRoles()
284 mProxy.switchRole(portId, newRole); in setPortRoles()
478 mProxy = null; in serviceDied()
494 if (mProxy != null) { in connectToProxy()
499 mProxy = IUsb.getService(); in connectToProxy()
[all …]
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipSessionGroup.java487 replacedSession.mProxy.getListener(), in processNewInviteRequest()
490 newSession.mProxy.onCallTransferring(newSession, in processNewInviteRequest()
497 newSession = createNewSession(event, mProxy, in processNewInviteRequest()
500 mProxy.onRinging(newSession, newSession.mPeerProfile, in processNewInviteRequest()
538 SipSessionListenerProxy mProxy = new SipSessionListenerProxy(); field in SipSessionGroup.SipSessionImpl
597 return new SipSessionImpl(mProxy.getListener()); in duplicate()
675 mProxy.setListener((listener instanceof SipSessionListenerProxy) in setListener()
909 mProxy.onRegistrationTimeout(this); in processTimeout()
1079 mProxy.onCalling(this);
1088 mProxy.onRegistering(this);
[all …]
DSipService.java807 private SipSessionListenerProxy mProxy = new SipSessionListenerProxy(); field in SipService.SipAutoReg
928 setListener(mProxy.getListener()); in stop()
944 mProxy.setListener(listener); in setListener()
952 mProxy.onRegistering(mSession); in setListener()
956 mProxy.onRegistrationDone(mSession, duration); in setListener()
959 mProxy.onRegistrationTimeout(mSession); in setListener()
961 mProxy.onRegistrationFailed(mSession, mErrorCode, in setListener()
965 mProxy.onRegistrationFailed(mSession, in setListener()
969 mProxy.onRegistrationFailed(mSession, in setListener()
973 mProxy.onRegistrationFailed(mSession, in setListener()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DRestrictedLockUtilsTest.java57 private RestrictedLockUtils.Proxy mProxy; field in RestrictedLockUtilsTest
73 RestrictedLockUtils.sProxy = mProxy; in setUp()
180 doReturn(true).when(mProxy).isSeparateProfileChallengeEnabled(any(), eq(mProfileId)); in checkIfKeyguardFeaturesAreDisabled_onlyMatchesProfile_separateManagedProfile()
211 when(mProxy.getParentProfileInstance(any(DevicePolicyManager.class), any()) in checkIfKeyguardFeaturesAreDisabled_onlyMatchesParent_profileParentPolicy()
/frameworks/av/services/audioflinger/
DRecordTracks.h121 sp<ClientProxy> mProxy;
DTracks.cpp1437 mProxy(new ClientProxy(mCblk, mBuffer, frameCount, mFrameSize, true, true)) in PatchTrack()
1502 status = mProxy->obtainBuffer(buffer, timeOut); in obtainBuffer()
1509 mProxy->releaseBuffer(buffer); in releaseBuffer()
1773 mProxy(new ClientProxy(mCblk, mBuffer, frameCount, mFrameSize, false, true)) in PatchRecord()
1821 return mProxy->obtainBuffer(buffer, timeOut); in obtainBuffer()
1826 mProxy->releaseBuffer(buffer); in releaseBuffer()
DPlaybackTracks.h265 sp<ClientProxy> mProxy; variable
/frameworks/av/include/media/
DAudioRecord.h636 sp<AudioRecordClientProxy> mProxy; variable
DAudioTrack.h1129 sp<AudioTrackClientProxy> mProxy; // primary owner of the memory variable
/frameworks/av/media/libaudioclient/include/media/
DAudioRecord.h636 sp<AudioRecordClientProxy> mProxy; variable
DAudioTrack.h1129 sp<AudioTrackClientProxy> mProxy; // primary owner of the memory variable