Home
last modified time | relevance | path

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

12

/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 …]
DBlockingOfflineSessionCallback.java48 private final CameraOfflineSession.CameraOfflineSessionCallback mProxy; field in BlockingOfflineSessionCallback
111 mProxy = null; in BlockingOfflineSessionCallback()
116 mProxy = listener; in BlockingOfflineSessionCallback()
121 if (mProxy != null) { in onReady()
122 mProxy.onReady(session); in onReady()
129 if (mProxy != null) { in onSwitchFailed()
130 mProxy.onSwitchFailed(session); in onSwitchFailed()
137 if (mProxy != null) { in onIdle()
138 mProxy.onIdle(session); in onIdle()
145 if (mProxy != null) { in onError()
[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 …]
DBlockingExtensionSessionCallback.java65 private final CameraExtensionSession.StateCallback mProxy; field in BlockingExtensionSessionCallback
82 mProxy = null; in BlockingExtensionSessionCallback()
97 mProxy = listener; in BlockingExtensionSessionCallback()
138 if (mProxy != null) mProxy.onClosed(session); in onClosed()
145 if (mProxy != null) { in onConfigured()
146 mProxy.onConfigured(session); in onConfigured()
154 if (mProxy != null) { in onConfigureFailed()
155 mProxy.onConfigureFailed(session); in onConfigureFailed()
DBlockingCameraManager.java176 private final CameraDevice.StateCallback mProxy; field in BlockingCameraManager.OpenListener
191 mProxy = listener; in OpenListener()
197 mProxy = listener; in OpenListener()
229 if (mProxy != null) mProxy.onOpened(camera); in onOpened()
254 if (mProxy != null) mProxy.onDisconnected(camera); in onDisconnected()
280 if (mProxy != null) mProxy.onError(camera, error); in onError()
285 if (mProxy != null) mProxy.onClosed(camera); in onClosed()
/frameworks/base/core/java/android/service/autofill/augmented/
DFillRequest.java45 private final @NonNull AutofillProxy mProxy; field in FillRequest
57 return mProxy.mTaskId; in getTaskId()
65 return mProxy.mComponentName; in getActivityComponent()
73 return mProxy.getFocusedId(); in getFocusedId()
81 return mProxy.getFocusedValue(); in getFocusedValue()
89 return mProxy.getFocusedViewNode(); in getFocusedViewNode()
99 return mProxy.getSmartSuggestionParams(); in getPresentationParams()
104 + ", id=" + mProxy.getFocusedId() + "]"; in proxyToString()
134 this.mProxy = proxy; in FillRequest()
136 NonNull.class, null, mProxy); in FillRequest()
DFillCallback.java40 private final AutofillProxy mProxy; field in FillCallback
43 mProxy = proxy; in FillCallback()
56 mProxy.logEvent(AutofillProxy.REPORT_EVENT_NO_RESPONSE); in onSuccess()
57 mProxy.reportResult(/* inlineSuggestionsData */ null, /* clientState */ in onSuccess()
67 mProxy.logEvent(AutofillProxy.REPORT_EVENT_INLINE_RESPONSE); in onSuccess()
73 mProxy.reportResult(inlineSuggestions, clientState, showingFillWindow); in onSuccess()
DFillController.java41 private final AutofillProxy mProxy; field in FillController
44 mProxy = proxy; in FillController()
61 mProxy.autofill(values); in autofill()
66 final FillWindow fillWindow = mProxy.getFillWindow(); in autofill()
DFillWindow.java88 private @NonNull AutofillProxy mProxy; field in FillWindow
127 mProxy = area.proxy; in update()
156 mProxy.setFillWindow(this); in update()
170 if (mProxy != null) { in show()
172 mProxy.requestShowFillUi(mBounds.right - mBounds.left, in show()
178 mProxy.logEvent(AutofillProxy.REPORT_EVENT_UI_SHOWN); in show()
195 if (mProxy != null && mShowing) { in hide()
197 mProxy.requestHideFillUi(); in hide()
256 mProxy.logEvent(AutofillProxy.REPORT_EVENT_UI_DESTROYED); in destroy()
/frameworks/base/services/core/java/com/android/server/timezonedetector/location/
DBinderLocationTimeZoneProvider.java42 @NonNull private final LocationTimeZoneProviderProxy mProxy; field in BinderLocationTimeZoneProvider
52 mProxy = Objects.requireNonNull(proxy); in BinderLocationTimeZoneProvider()
57 mProxy.initialize(new LocationTimeZoneProviderProxy.Listener() { in onInitialize()
79 mProxy.destroy(); in onDestroy()
122 mProxy.setRequest(request); in onStartUpdates()
128 mProxy.setRequest(request); in onStopUpdates()
137 ipw.println("mProxy=" + mProxy); in dump()
146 mProxy.dump(ipw, args); in dump()
157 + ", mProxy=" + mProxy in toString()
/frameworks/base/services/usb/java/com/android/server/usb/hal/port/
DUsbPortHidl.java80 private IUsb mProxy; field in UsbPortHidl
94 if (mProxy == null) { in getUsbHalVersion()
97 if (android.hardware.usb.V1_3.IUsb.castFrom(mProxy) != null) { in getUsbHalVersion()
99 } else if (android.hardware.usb.V1_2.IUsb.castFrom(mProxy) != null) { in getUsbHalVersion()
101 } else if (android.hardware.usb.V1_1.IUsb.castFrom(mProxy) != null) { in getUsbHalVersion()
123 mProxy = null; in serviceDied()
139 if (mProxy != null) { in connectToProxy()
144 mProxy = IUsb.getService(); in connectToProxy()
145 mProxy.linkToDeath(new DeathRecipient(pw), USB_HAL_DEATH_COOKIE); in connectToProxy()
146 mProxy.setCallback(mHALCallback); in connectToProxy()
[all …]
DUsbPortAidl.java74 private IUsb mProxy; field in UsbPortAidl
131 if (mProxy == null) { in getUsbHalVersion()
147 mProxy = null; in serviceDied()
154 if (mProxy != null) { in connectToProxy()
160 mProxy = IUsb.Stub.asInterface(mBinder); in connectToProxy()
162 mProxy.setCallback(mHALCallback); in connectToProxy()
163 mProxy.queryPortStatus(++mTransactionId); in connectToProxy()
194 if (mProxy == null) { in enableContaminantPresenceDetection()
202 mProxy.enableContaminantPresenceDetection(portName, enable, operationID); in enableContaminantPresenceDetection()
213 if (mProxy == null) { in queryPortStatus()
[all …]
/frameworks/base/graphics/java/android/graphics/
DHardwareBufferRenderer.java73 private long mProxy; field in HardwareBufferRenderer
82 mProxy = nCreateHardwareBufferRenderer(buffer, rootNode.mNativeRenderNode); in HardwareBufferRenderer()
83 mCleaner = HardwareBufferRendererHolder.REGISTRY.registerNativeAllocation(this, mProxy); in HardwareBufferRenderer()
127 return mProxy == 0L; in isClosed()
141 if (mProxy != 0L) { in close()
143 mProxy = 0L; in close()
177 nSetLightGeometry(mProxy, lightX, lightY, lightZ, lightRadius); in setLightSourceGeometry()
199 nSetLightAlpha(mProxy, ambientShadowAlpha, spotShadowAlpha); in setLightSourceAlpha()
290 mProxy, in draw()
/frameworks/base/services/core/java/com/android/server/location/provider/proxy/
DProxyLocationProvider.java92 @Nullable Proxy mProxy; field in ProxyLocationProvider
110 mProxy = null; in ProxyLocationProvider()
123 mProxy = new Proxy(); in onBind()
126 provider.setLocationProviderManager(mProxy); in onBind()
139 mProxy = null; in onUnbind()
242 if (mProxy != this) { in onInitialize()
280 if (mProxy != this) { in onSetProperties()
292 if (mProxy != this) { in onSetAllowed()
304 if (mProxy != this) { in onReportLocation()
316 if (mProxy != this) { in onReportLocations()
[all …]
/frameworks/av/services/audiopolicy/service/
DBinderProxy.h79 DeathRecipient(BinderProxy* proxy) : mProxy(proxy) {} in DeathRecipient()
82 mProxy->binderDied(); in binderDied()
86 BinderProxy* const mProxy;
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/service/
DObservableServiceConnection.java126 private T mProxy; field in ObservableServiceConnection
205 if (mProxy != null) { in addCallback()
206 callback.onConnected(this, mProxy); in addCallback()
240 mProxy = null; in onDisconnected()
252 mProxy = mTransformer.convert(service); in onServiceConnected()
253 applyToCallbacksLocked(callback -> callback.onConnected(this, mProxy)); in onServiceConnected()
/frameworks/av/media/libaudioclient/
DAudioTrack.cpp384 mProxy->interrupt(); in stopAndJoinCallbacks()
823 mProxy->clearTimestamp(); // need new server push for valid timestamp in start()
861 mProxy->interrupt(); in start()
894 if (mProxy == nullptr) return; // not successfully initialized. in stop()
900 .set(AMEDIAMETRICS_PROP_BUFFERSIZEFRAMES, (int32_t)mProxy->getBufferSizeInFrames()) in stop()
920 mProxy->stop(); // notify server not to read beyond current client position until start(). in stop()
921 mProxy->interrupt(); in stop()
989 mProxy->interrupt(); in flush_l()
991 mProxy->flush(); in flush_l()
1001 const int priorState = mProxy->getState(); in pauseAndWait()
[all …]
DAudioRecord.cpp198 mProxy->interrupt(); in stopAndJoinCallbacks()
425 const uint32_t framesFlushed = mProxy->flush(); in start()
428 mProxy->clearTimestamp(); // timestamp is invalid until next server push in start()
434 mProxy->setEpoch(mProxy->getEpoch() - mProxy->getPosition()); in start()
439 mNewPosition = mProxy->getPosition() + mUpdatePeriod; in start()
501 mProxy->interrupt(); in stop()
579 mNewPosition = mProxy->getPosition() + updatePeriod; in setPositionUpdatePeriod()
608 mProxy->getPosition().getValue(position); in getPosition()
625 status_t status = mProxy->getTimestamp(timestamp); in getTimestamp()
695 mProxy->interrupt(); in setInputDevice()
[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.java809 private SipSessionListenerProxy mProxy = new SipSessionListenerProxy(); field in SipService.SipAutoReg
930 setListener(mProxy.getListener()); in stop()
946 mProxy.setListener(listener); in setListener()
954 mProxy.onRegistering(mSession); in setListener()
958 mProxy.onRegistrationDone(mSession, duration); in setListener()
961 mProxy.onRegistrationTimeout(mSession); in setListener()
963 mProxy.onRegistrationFailed(mSession, mErrorCode, in setListener()
967 mProxy.onRegistrationFailed(mSession, in setListener()
971 mProxy.onRegistrationFailed(mSession, in setListener()
975 mProxy.onRegistrationFailed(mSession, in setListener()
[all …]
/frameworks/base/tests/BinderLeakTest/java/com/android/test/binder/
DBinderTest.java113 private IFoo mProxy; field in BinderTest.FooHolder
120 mProxy = proxy; in FooHolder()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DRestrictedLockUtilsTest.java65 private RestrictedLockUtilsInternal.Proxy mProxy; field in RestrictedLockUtilsTest
85 RestrictedLockUtilsInternal.sProxy = mProxy; in setUp()
256 doReturn(true).when(mProxy).isSeparateProfileChallengeEnabled(any(), eq(mProfileId)); in checkIfKeyguardFeaturesAreDisabled_onlyMatchesProfile_separateManagedProfile()
286 when(mProxy.getParentProfileInstance(any(DevicePolicyManager.class), any()) in checkIfKeyguardFeaturesAreDisabled_onlyMatchesParent_profileParentPolicy()
/frameworks/base/services/core/java/com/android/server/appop/
DAttributedOp.java689 private @Nullable AppOpsManager.OpEventProxyInfo mProxy; field in AttributedOp.InProgressStartOpEvent
732 mProxy = proxy; in InProgressStartOpEvent()
789 if (mProxy != null) { in reinit()
790 proxyPool.release(mProxy); in reinit()
792 mProxy = proxy; in reinit()
821 return mProxy; in getProxy()
/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/
DStubMediaRoute2ProviderService.java83 private Proxy mProxy; field in StubMediaRoute2ProviderService
219 Proxy proxy = mProxy; in onSetRouteVolume()
408 mProxy = proxy; in setProxy()

12