Home
last modified time | relevance | path

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

1234567

/frameworks/native/libs/gui/
DBufferQueue.cpp40 sp<ConsumerListener> listener(mConsumerListener.promote()); in onDisconnect()
47 sp<ConsumerListener> listener(mConsumerListener.promote()); in onFrameDequeued()
54 sp<ConsumerListener> listener(mConsumerListener.promote()); in onFrameCancelled()
61 sp<ConsumerListener> listener(mConsumerListener.promote()); in onFrameDetached()
69 sp<ConsumerListener> listener(mConsumerListener.promote()); in onFrameAvailable()
77 sp<ConsumerListener> listener(mConsumerListener.promote()); in onFrameReplaced()
84 sp<ConsumerListener> listener(mConsumerListener.promote()); in onBuffersReleased()
91 sp<ConsumerListener> listener(mConsumerListener.promote()); in onSidebandStreamChanged()
100 sp<ConsumerListener> listener(mConsumerListener.promote()); in addAndGetFrameTimestamps()
DConsumerBase.cpp110 listener = mFrameAvailableListener.promote(); in onFrameDequeued()
124 listener = mFrameAvailableListener.promote(); in onFrameCancelled()
138 listener = mFrameAvailableListener.promote(); in onFrameDetached()
152 listener = mFrameAvailableListener.promote(); in onFrameAvailable()
167 listener = mFrameAvailableListener.promote(); in onFrameReplaced()
/frameworks/av/media/utils/tests/
Dmedia_synchronization_tests.cpp43 ASSERT_EQ(20, wpobj.load().promote()->get()); in TEST()
46 ASSERT_EQ(refobj.get(), wpobj.load().promote().get()); in TEST()
49 wpobj.load().promote()->set(10); in TEST()
52 ASSERT_EQ(5, wpobj.load().promote()->get()); in TEST()
56 ASSERT_EQ(nullptr, wpobj.load().promote()); in TEST()
/frameworks/av/services/oboeservice/
DAAudioServiceStreamMMAP.cpp69 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in open()
123 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in startClient()
134 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in stopClient()
146 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in getFreeRunningPosition()
171 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in getHardwareTimestamp()
204 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in getAudioDataDescription()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DStreamingProcessor.cpp106 sp<CameraDeviceBase> device = mDevice.promote(); in updatePreviewRequest()
114 sp<Camera2Client> client = mClient.promote(); in updatePreviewRequest()
160 sp<CameraDeviceBase> device = mDevice.promote(); in updatePreviewStream()
228 sp<CameraDeviceBase> device = mDevice.promote(); in deletePreviewStream()
264 sp<CameraDeviceBase> device = mDevice.promote(); in updateRecordingRequest()
313 sp<CameraDeviceBase> device = mDevice.promote(); in recordingStreamNeedsUpdate()
345 sp<CameraDeviceBase> device = mDevice.promote(); in updateRecordingStream()
407 sp<CameraDeviceBase> device = mDevice.promote(); in deleteRecordingStream()
441 sp<CameraDeviceBase> device = mDevice.promote(); in startStream()
487 sp<CameraDeviceBase> device = mDevice.promote(); in togglePauseStream()
[all …]
DZslProcessor.cpp179 sp<CaptureSequencer> captureSequencer = mSequencer.promote(); in ZslProcessor()
225 sp<Camera2Client> client = mClient.promote(); in updateStream()
290 client = mClient.promote(); in deleteStream()
341 sp<Camera2Client> client = mClient.promote(); in updateRequestWithDefaultStillRequest()
418 sp<ZslProcessor> parent = mParent.promote(); in onBufferReleased()
429 sp<Camera2Client> client = mClient.promote(); in pushToReprocess()
DJpegProcessor.cpp74 sp<CameraDeviceBase> device = mDevice.promote(); in updateStream()
171 sp<CameraDeviceBase> device = mDevice.promote(); in deleteStream()
280 sp<CaptureSequencer> sequencer = mSequencer.promote(); in processNewCapture()
/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/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/media/libaudioclient/include/media/
DAudioEffect.h568 sp<AudioEffect> effect = mEffect.promote(); in controlStatusChanged()
575 sp<AudioEffect> effect = mEffect.promote(); in enableStatusChanged()
584 sp<AudioEffect> effect = mEffect.promote(); in commandExecuted()
593 sp<AudioEffect> effect = mEffect.promote(); in binderDied()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DClientDescriptor.cpp59 dst->appendFormat("%*s- DAP Primary Mix: %p\n", spaces, "", mPrimaryMix.promote().get()); in dump()
63 desc.promote() == nullptr ? 0 : desc.promote()->mIoHandle); in dump()
/frameworks/native/services/surfaceflinger/
DLayer.cpp169 sp<Client> c(mClientRef.promote()); in ~Layer()
215 sp<Layer> strongRelative = mDrawingState.zOrderRelativeOf.promote(); in removeRelativeZ()
433 sp<Layer> parent = mDrawingParent.promote(); in prepareGeometryCompositionState()
680 const auto p = mDrawingParent.promote(); in isSecure()
788 sp<Layer> strongRelative = mDrawingState.zOrderRelativeOf.promote(); in setLayer()
826 sp<Layer> relative = handle->owner.promote(); in setRelativeLayer()
842 auto oldZOrderRelativeOf = mDrawingState.zOrderRelativeOf.promote(); in setRelativeLayer()
867 const auto& p = mDrawingParent.promote(); in isTrustedOverlay()
1060 auto p = mDrawingParent.promote(); in getLayerStack()
1324 const auto& parent = mDrawingParent.promote(); in isHiddenByPolicy()
[all …]
DClientCache.cpp79 token = processToken.promote(); in add()
126 sp<ErasedRecipient> erasedRecipient = recipient.promote(); in erase()
195 sp<ErasedRecipient> erasedRecipient = recipient.promote(); in removeProcess()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3DeviceInjectionMethods.cpp54 sp<Camera3Device> parent = mParent.promote(); in injectionInitialize()
140 sp<Camera3Device> parent = mParent.promote(); in injectCamera()
200 sp<Camera3Device> parent = mParent.promote(); in stopInjection()
270 sp<Camera3Device> parent = mParent.promote(); in injectionConfigureStreams()
377 sp<Camera3Device> parent = mParent.promote(); in replaceHalInterface()
DCamera3OfflineSession.cpp154 listener = mListener.promote(); in disconnectImpl()
192 sp<Camera3StreamInterface> stream = weakStream.promote(); in disconnectImpl()
248 listener = mListener.promote(); in processCaptureResult_3_4()
286 listener = mListener.promote(); in processCaptureResult()
323 listener = mListener.promote(); in notify()
416 sp<NotificationListener> listener = mListener.promote(); in setErrorStateLockedV()
DCamera3Stream.cpp34 sp<StatusTracker> statusTracker = mStatusTracker.promote(); in ~Camera3Stream()
194 sp<StatusTracker> statusTracker = mStatusTracker.promote(); in forceToIdle()
229 sp<StatusTracker> statusTracker = mStatusTracker.promote(); in restoreConfiguredState()
296 sp<StatusTracker> statusTracker = mStatusTracker.promote(); in startConfiguration()
346 sp<StatusTracker> statusTracker = mStatusTracker.promote(); in finishConfiguration()
835 sp<Camera3StreamBufferListener> listener = it.promote(); in fireBufferRequestForFrameNumber()
863 sp<Camera3StreamBufferListener> listener = it->promote(); in fireBufferListenersLocked()
888 sp<StatusTracker> oldTracker = mStatusTracker.promote(); in setStatusTracker()
DCamera3IOStreamBase.cpp181 sp<StatusTracker> statusTracker = mStatusTracker.promote(); in handoutBufferLocked()
268 sp<StatusTracker> statusTracker = mStatusTracker.promote(); in returnAnyBufferLocked()
/frameworks/av/services/audioflinger/
DEffects.cpp954 this, callback->chain().promote().get(), in configure()
1753 sp<EffectBase> effect = mEffect.promote(); in enable()
1791 sp<EffectBase> effect = mEffect.promote(); in disable()
1833 sp<EffectBase> effect = mEffect.promote(); in disconnect()
1904 sp<EffectBase> effect = mEffect.promote(); in command()
2052 sp<ThreadBase> p = thread.promote(); in EffectChain()
2595 sp<EffectModule> effect = desc->mEffect.promote(); in setEffectSuspended_l()
2858 sp<ThreadBase> t = thread().promote(); in addEffectToHal()
2874 sp<ThreadBase> t = thread().promote(); in removeEffectFromHal()
2888 sp<ThreadBase> t = thread().promote(); in io()
[all …]
DTracks.cpp594 sp<OpPlayAudioMonitor> monitor = mMonitor.promote(); in opChanged()
770 sp<ThreadBase> thread = mThread.promote(); in destroy()
1048 sp<ThreadBase> thread = mThread.promote(); in start()
1153 sp<ThreadBase> thread = mThread.promote(); in stop()
1186 sp<ThreadBase> thread = mThread.promote(); in pause()
1223 sp<ThreadBase> thread = mThread.promote(); in flush()
1319 sp<ThreadBase> thread = mThread.promote(); in setParameters()
1333 sp<ThreadBase> thread = mThread.promote(); in selectPresentation()
1370 sp<ThreadBase> thread = mThread.promote(); in applyVolumeShaper()
1423 sp<ThreadBase> thread = mThread.promote(); in getTimestamp()
[all …]
/frameworks/av/services/camera/libcameraservice/common/
DFrameProcessorBase.cpp35 sp<FrameProducer> cameraDevice = device.promote(); in FrameProcessorBase()
121 device = mDevice.promote(); in threadLoop()
214 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/libaaudio/src/binding/
DAAudioBinderClient.h125 android::sp<AAudioBinderClient> client = mBinderClient.promote(); in binderDied()
135 android::sp<AAudioBinderClient> client = mBinderClient.promote(); in onStreamChange()
/frameworks/av/media/libstagefright/tests/fuzzers/
DMediaClockFuzzer.cpp62 mClock->setNotificationMessage(msg.promote()); in LLVMFuzzerTestOneInput()
/frameworks/av/media/libaudiohal/impl/
DDevicesFactoryHalHidl.cpp52 sp<DevicesFactoryHalHidl> factory = mFactory.promote(); in onRegistration()
190 callback = mCallback.promote(); in addDeviceFactory()

1234567