Home
last modified time | relevance | path

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

123456

/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/av/services/audioflinger/
DEffects.cpp924 this, mCallback->chain().promote() != nullptr ? mCallback->chain().promote().get() : in configure()
1639 sp<EffectBase> effect = mEffect.promote(); in enable()
1677 sp<EffectBase> effect = mEffect.promote(); in disable()
1718 sp<EffectBase> effect = mEffect.promote(); in disconnect()
1786 sp<EffectBase> effect = mEffect.promote(); in command()
2464 sp<EffectModule> effect = desc->mEffect.promote(); in setEffectSuspended_l()
2706 sp<AudioFlinger> af = mAudioFlinger.promote(); in createEffectHal()
2719 sp<AudioFlinger> af = mAudioFlinger.promote(); in updateOrphanEffectChains()
2729 sp<AudioFlinger> af = mAudioFlinger.promote(); in allocateHalBuffer()
2737 sp<ThreadBase> t = mThread.promote(); in addEffectToHal()
[all …]
DTracks.cpp480 sp<OpPlayAudioMonitor> monitor = mMonitor.promote(); in opChanged()
635 sp<ThreadBase> thread = mThread.promote(); in destroy()
910 sp<ThreadBase> thread = mThread.promote(); in start()
999 sp<ThreadBase> thread = mThread.promote(); in stop()
1032 sp<ThreadBase> thread = mThread.promote(); in pause()
1066 sp<ThreadBase> thread = mThread.promote(); in flush()
1157 sp<ThreadBase> thread = mThread.promote(); in setParameters()
1171 sp<ThreadBase> thread = mThread.promote(); in selectPresentation()
1208 sp<ThreadBase> thread = mThread.promote(); in applyVolumeShaper()
1252 sp<ThreadBase> thread = mThread.promote(); in getTimestamp()
[all …]
/frameworks/native/services/surfaceflinger/
DLayer.cpp129 sp<Client> c(mClientRef.promote()); in ~Layer()
167 sp<Layer> strongRelative = mCurrentState.zOrderRelativeOf.promote(); in removeRelativeZ()
427 sp<Layer> parent = mDrawingParent.promote(); in latchGeometry()
688 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()
117 sp<ErasedRecipient> erasedRecipient = recipient.promote(); in erase()
186 sp<ErasedRecipient> erasedRecipient = recipient.promote(); in removeProcess()
/frameworks/av/media/libaudioclient/include/media/
DAudioEffect.h581 sp<AudioEffect> effect = mEffect.promote(); in controlStatusChanged()
592 sp<AudioEffect> effect = mEffect.promote(); in enableStatusChanged()
607 sp<AudioEffect> effect = mEffect.promote(); in commandExecuted()
621 sp<AudioEffect> effect = mEffect.promote(); in binderDied()
/frameworks/compile/slang/tests/P_array_init/
Darray_init.rscript17 // Clang should implicitly promote this type to have a constant size of 3.
20 // Clang should implicitly promote this type to have a constant size of 1.
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp220 sp<SoundTriggerHwService> service = module->service().promote(); in recognitionCallback()
297 sp<SoundTriggerHwService> service = module->service().promote(); in soundModelCallback()
389 module = event->mModule.promote(); in onCallbackEvent()
391 moduleClient = event->mModuleClient.promote(); in onCallbackEvent()
462 service = mService.promote(); in threadLoop()
870 service = mService.promote(); in setCaptureState_l()
999 sp<Module> module = mModule.promote(); in detach()
1019 sp<Module> module = mModule.promote(); in loadSoundModel()
1035 sp<Module> module = mModule.promote(); in unloadSoundModel()
1055 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/camera/libcameraservice/device3/
DCamera3Stream.cpp33 sp<StatusTracker> statusTracker = mStatusTracker.promote(); in ~Camera3Stream()
170 sp<StatusTracker> statusTracker = mStatusTracker.promote(); in forceToIdle()
205 sp<StatusTracker> statusTracker = mStatusTracker.promote(); in restoreConfiguredState()
272 sp<StatusTracker> statusTracker = mStatusTracker.promote(); in startConfiguration()
322 sp<StatusTracker> statusTracker = mStatusTracker.promote(); in finishConfiguration()
789 sp<Camera3StreamBufferListener> listener = it.promote(); in fireBufferRequestForFrameNumber()
815 sp<Camera3StreamBufferListener> listener = it->promote(); in fireBufferListenersLocked()
840 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/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/libaaudio/src/binding/
DAAudioBinderClient.h126 android::sp<AAudioBinderClient> client = mBinderClient.promote(); in binderDied()
135 android::sp<AAudioBinderClient> client = mBinderClient.promote(); in onStreamChange()
/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/av/media/libaudiohal/impl/
DDevicesFactoryHalHidl.cpp52 sp<DevicesFactoryHalHidl> factory = mFactory.promote(); in onRegistration()
190 callback = mCallback.promote(); in addDeviceFactory()
/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()

123456