Home
last modified time | relevance | path

Searched refs:promote (Results 1 – 25 of 365) sorted by relevance

12345678910>>...15

/frameworks/native/libs/gui/
DBufferQueue.cpp40 sp<ConsumerListener> listener(mConsumerListener.promote()); in onDisconnect()
48 sp<ConsumerListener> listener(mConsumerListener.promote()); in onFrameAvailable()
56 sp<ConsumerListener> listener(mConsumerListener.promote()); in onFrameReplaced()
63 sp<ConsumerListener> listener(mConsumerListener.promote()); in onBuffersReleased()
70 sp<ConsumerListener> listener(mConsumerListener.promote()); in onSidebandStreamChanged()
79 sp<ConsumerListener> listener(mConsumerListener.promote()); in addAndGetFrameTimestamps()
/frameworks/av/services/oboeservice/
DAAudioServiceStreamMMAP.cpp78 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in open()
131 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in startClient()
142 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in stopClient()
154 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in getFreeRunningPosition()
178 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in getHardwareTimestamp()
201 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in getAudioDataDescription()
DAAudioServiceStreamBase.cpp136 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in close()
161 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in startDevice()
221 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in pause()
254 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in stop()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DStreamingProcessor.cpp102 sp<CameraDeviceBase> device = mDevice.promote(); in updatePreviewRequest()
110 sp<Camera2Client> client = mClient.promote(); in updatePreviewRequest()
156 sp<CameraDeviceBase> device = mDevice.promote(); in updatePreviewStream()
223 sp<CameraDeviceBase> device = mDevice.promote(); in deletePreviewStream()
259 sp<CameraDeviceBase> device = mDevice.promote(); in updateRecordingRequest()
308 sp<CameraDeviceBase> device = mDevice.promote(); in recordingStreamNeedsUpdate()
340 sp<CameraDeviceBase> device = mDevice.promote(); in updateRecordingStream()
402 sp<CameraDeviceBase> device = mDevice.promote(); in deleteRecordingStream()
436 sp<CameraDeviceBase> device = mDevice.promote(); in startStream()
482 sp<CameraDeviceBase> device = mDevice.promote(); in togglePauseStream()
[all …]
DZslProcessor.cpp176 sp<CaptureSequencer> captureSequencer = mSequencer.promote(); in ZslProcessor()
222 sp<Camera2Client> client = mClient.promote(); in updateStream()
287 client = mClient.promote(); in deleteStream()
338 sp<Camera2Client> client = mClient.promote(); in updateRequestWithDefaultStillRequest()
415 sp<ZslProcessor> parent = mParent.promote(); in onBufferReleased()
426 sp<Camera2Client> client = mClient.promote(); in pushToReprocess()
DJpegProcessor.cpp72 sp<CameraDeviceBase> device = mDevice.promote(); in updateStream()
169 sp<CameraDeviceBase> device = mDevice.promote(); in deleteStream()
278 sp<CaptureSequencer> sequencer = mSequencer.promote(); in processNewCapture()
DCallbackProcessor.cpp64 sp<Camera2Client> client = mClient.promote(); in setCallbackWindow()
92 sp<CameraDeviceBase> device = mDevice.promote(); in updateStream()
180 device = mDevice.promote(); in deleteStream()
234 sp<Camera2Client> client = mClient.promote(); in threadLoop()
/frameworks/av/media/libstagefright/foundation/
DALooperRoster.cpp67 sp<AHandler> handler = info.mHandler.promote(); in unregisterHandler()
86 sp<ALooper> looper = info.mLooper.promote(); in unregisterStaleHandlers()
139 sp<ALooper> looper = info.mLooper.promote(); in dump()
142 sp<AHandler> handler = info.mHandler.promote(); in dump()
/frameworks/av/media/libstagefright/foundation/tests/
DAData_test.cpp737 EXPECT_NE(nullptr, _weak.promote().get()); // u still holds object in TEST_F()
749 EXPECT_NE(nullptr, _weak.promote().get()); // u still holds object in TEST_F()
780 EXPECT_EQ(NULL, _weak.promote().get()); // original _shared is now lost in TEST_F()
797 EXPECT_EQ(_weak.promote(), _shared); in TEST_F()
802 EXPECT_EQ(_weak.promote(), _shared); in TEST_F()
850 EXPECT_NE(nullptr, _weak.promote().get()); // u still holds object in TEST_F()
861 EXPECT_NE(nullptr, _weak.promote().get()); // u still holds object in TEST_F()
893 EXPECT_EQ(NULL, _weak.promote().get()); // original _shared is now lost in TEST_F()
941 EXPECT_EQ(_weak.promote(), _shared); in TEST_F()
946 EXPECT_EQ(_weak.promote(), _shared); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/
DLayer.cpp129 sp<Client> c(mClientRef.promote()); in ~Layer()
168 sp<Layer> strongRelative = mCurrentState.zOrderRelativeOf.promote(); in removeRelativeZ()
428 sp<Layer> parent = mDrawingParent.promote(); in latchGeometry()
689 sp<Layer> barrierLayer = mCurrentState.barrierLayer_legacy.promote(); in pushPendingState()
985 sp<Layer> strongRelative = mCurrentState.zOrderRelativeOf.promote(); in setLayer()
1021 sp<Layer> relative = handle->owner.promote(); in setRelativeLayer()
1035 auto oldZOrderRelativeOf = mCurrentState.zOrderRelativeOf.promote(); in setRelativeLayer()
1199 auto p = mDrawingParent.promote(); in getLayerStack()
1221 deferTransactionUntil_legacy(handle->owner.promote(), frameNumber); in deferTransactionUntil_legacy()
1230 const auto& parent = mDrawingParent.promote(); in isHiddenByPolicy()
[all …]
DClientCache.cpp77 token = processToken.promote(); in add()
116 sp<ErasedRecipient> erasedRecipient = recipient.promote(); in erase()
184 sp<ErasedRecipient> erasedRecipient = recipient.promote(); in removeProcess()
/frameworks/av/media/libaudioclient/include/media/
DAudioEffect.h575 sp<AudioEffect> effect = mEffect.promote(); in controlStatusChanged()
586 sp<AudioEffect> effect = mEffect.promote(); in enableStatusChanged()
601 sp<AudioEffect> effect = mEffect.promote(); in commandExecuted()
615 sp<AudioEffect> effect = mEffect.promote(); in binderDied()
/frameworks/av/include/media/
DAudioEffect.h575 sp<AudioEffect> effect = mEffect.promote(); in controlStatusChanged()
586 sp<AudioEffect> effect = mEffect.promote(); in enableStatusChanged()
601 sp<AudioEffect> effect = mEffect.promote(); in commandExecuted()
615 sp<AudioEffect> effect = mEffect.promote(); in binderDied()
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp194 sp<SoundTriggerHwService> service = module->service().promote(); in recognitionCallback()
271 sp<SoundTriggerHwService> service = module->service().promote(); in soundModelCallback()
363 module = event->mModule.promote(); in onCallbackEvent()
365 moduleClient = event->mModuleClient.promote(); in onCallbackEvent()
436 service = mService.promote(); in threadLoop()
832 service = mService.promote(); in setCaptureState_l()
961 sp<Module> module = mModule.promote(); in detach()
981 sp<Module> module = mModule.promote(); in loadSoundModel()
997 sp<Module> module = mModule.promote(); in unloadSoundModel()
1017 sp<Module> module = mModule.promote(); in startRecognition()
[all …]
/frameworks/av/services/camera/libcameraservice/api2/
DCompositeStream.cpp37 sp<CameraDeviceBase> cameraDevice = device.promote(); in CompositeStream()
154 sp<CameraDeviceBase> device = mDevice.promote(); in registerCompositeStreamListener()
191 mRemoteCallback.promote(); in notifyError()
/frameworks/av/services/audioflinger/
DEffects.cpp92 sp<AudioFlinger> audioFlinger = mAudioFlinger.promote();
188 sp <EffectChain> chain = mChain.promote(); in updatePolicyState()
189 sp <ThreadBase> thread = mThread.promote(); in updatePolicyState()
295 sp<AudioFlinger> af = mAudioFlinger.promote(); in disconnectHandle()
542 sp<EffectChain> chain = mChain.promote(); in process()
575 thread = mThread.promote(); in configure()
789 sp<ThreadBase> thread = mThread.promote(); in addEffectToHal_l()
809 chain = mChain.promote(); in start()
860 sp<EffectChain>chain = mChain.promote(); in stop_l()
897 sp<ThreadBase> thread = mThread.promote(); in remove_effect_from_hal_l()
[all …]
DTracks.cpp478 sp<OpPlayAudioMonitor> monitor = mMonitor.promote(); in opChanged()
631 sp<ThreadBase> thread = mThread.promote(); in destroy()
929 sp<ThreadBase> thread = mThread.promote(); in start()
1018 sp<ThreadBase> thread = mThread.promote(); in stop()
1051 sp<ThreadBase> thread = mThread.promote(); in pause()
1085 sp<ThreadBase> thread = mThread.promote(); in flush()
1176 sp<ThreadBase> thread = mThread.promote(); in setParameters()
1190 sp<ThreadBase> thread = mThread.promote(); in selectPresentation()
1227 sp<ThreadBase> thread = mThread.promote(); in applyVolumeShaper()
1271 sp<ThreadBase> thread = mThread.promote(); in getTimestamp()
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Stream.cpp33 sp<StatusTracker> statusTracker = mStatusTracker.promote(); in ~Camera3Stream()
173 sp<StatusTracker> statusTracker = mStatusTracker.promote(); in forceToIdle()
208 sp<StatusTracker> statusTracker = mStatusTracker.promote(); in restoreConfiguredState()
275 sp<StatusTracker> statusTracker = mStatusTracker.promote(); in startConfiguration()
325 sp<StatusTracker> statusTracker = mStatusTracker.promote(); in finishConfiguration()
792 sp<Camera3StreamBufferListener> listener = it.promote(); in fireBufferRequestForFrameNumber()
818 sp<Camera3StreamBufferListener> listener = it->promote(); in fireBufferListenersLocked()
843 sp<StatusTracker> oldTracker = mStatusTracker.promote(); in setStatusTracker()
DCamera3IOStreamBase.cpp179 sp<StatusTracker> statusTracker = mStatusTracker.promote(); in handoutBufferLocked()
266 sp<StatusTracker> statusTracker = mStatusTracker.promote(); in returnAnyBufferLocked()
/frameworks/av/media/libaaudio/src/binding/
DAAudioBinderClient.h126 android::sp<AAudioBinderClient> client = mBinderClient.promote(); in binderDied()
135 android::sp<AAudioBinderClient> client = mBinderClient.promote(); in onStreamChange()
/frameworks/av/services/camera/libcameraservice/common/
DFrameProcessorBase.cpp34 sp<CameraDeviceBase> cameraDevice = device.promote(); in FrameProcessorBase()
120 device = mDevice.promote(); in threadLoop()
213 sp<FilteredListener> listener = item->listener.promote(); in processListeners()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DAHandlerReflector.h33 sp<T> target = mTarget.promote(); in onMessageReceived()
/frameworks/av/media/libmediaplayerservice/
DMediaRecorderClient.cpp373 sp<IMediaRecorderClient> listener = mListener.promote(); in onAudioDeviceUpdate()
405 sp<IMediaRecorderClient> listener = l.promote(); in setListener()
431 sp<IMediaRecorderClient> listener = l.promote(); in setListener()
453 sp<IMediaRecorderClient> listener = l.promote(); in setListener()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DLayer.cpp43 return mLayerFE.promote(); in getLayerFE()
/frameworks/av/media/codec2/hidl/1.0/utils/
DComponent.cpp55 sp<IComponentListener> listener = mListener.promote(); in onError_nb()
69 sp<IComponentListener> listener = mListener.promote(); in onTripped_nb()
105 sp<IComponentListener> listener = mListener.promote(); in onWorkDone_nb()
109 sp<Component> strongComponent = mComponent.promote(); in onWorkDone_nb()

12345678910>>...15