Home
last modified time | relevance | path

Searched refs:dataSource (Results 1 – 25 of 52) sorted by relevance

123

/frameworks/native/services/inputflinger/dispatcher/trace/
DInputTracingPerfettoBackend.cpp220 auto dataSource = ctx.GetDataSourceLocked(); in traceMotionEvent() local
221 if (!dataSource.valid()) { in traceMotionEvent()
224 dataSource->initializeUidMap(); in traceMotionEvent()
225 if (dataSource->shouldIgnoreTracedInputEvent(event.eventType)) { in traceMotionEvent()
228 const TraceLevel traceLevel = dataSource->resolveTraceLevel(metadata); in traceMotionEvent()
248 auto dataSource = ctx.GetDataSourceLocked(); in traceKeyEvent() local
249 if (!dataSource.valid()) { in traceKeyEvent()
252 dataSource->initializeUidMap(); in traceKeyEvent()
253 if (dataSource->shouldIgnoreTracedInputEvent(event.eventType)) { in traceKeyEvent()
256 const TraceLevel traceLevel = dataSource->resolveTraceLevel(metadata); in traceKeyEvent()
[all …]
/frameworks/base/core/jni/
Dandroid_tracing_PerfettoDataSource.cpp101 gIterator = PerfettoDsTraceIterateBegin(&dataSource); in TraceIterateBegin()
117 PerfettoDsTraceIterateNext(&dataSource, &gIterator); in TraceIterateNext()
133 PerfettoDsTraceIterateBreak(&dataSource, &gIterator); in TraceIterateBreak()
153 reinterpret_cast<TlsState*>(PerfettoDsGetCustomTls(&dataSource, &gIterator)); in GetCustomTls()
165 reinterpret_cast<TlsState*>(PerfettoDsGetCustomTls(&dataSource, &gIterator)); in SetCustomTls()
177 PerfettoDsGetIncrementalState(&dataSource, &gIterator)); in GetIncrementalState()
189 PerfettoDsGetIncrementalState(&dataSource, &gIterator)); in SetIncrementalState()
218 PERFETTO_DS_TRACE(dataSource, ctx) { in flushAll()
230 PerfettoDataSource* dataSource = new PerfettoDataSource(env, javaDataSource, nativeString); in nativeCreate() local
233 dataSource->incStrong((void*)nativeCreate); in nativeCreate()
[all …]
Dandroid_tracing_PerfettoDataSource.h39 struct PerfettoDs dataSource = PERFETTO_DS_INIT(); variable
/frameworks/base/core/tests/coretests/src/android/tracing/perfetto/
DTestDataSource.java32 TestDataSource dataSource, int instanceIndex, ProtoInputStream configStream); in provide() argument
91 public TestDataSourceInstance(DataSource dataSource, int instanceIndex) { in TestDataSourceInstance() argument
92 this(dataSource, instanceIndex, args -> {}, args -> {}, args -> {}); in TestDataSourceInstance()
96 DataSource dataSource, in TestDataSourceInstance() argument
101 super(dataSource, instanceIndex); in TestDataSourceInstance()
/frameworks/av/media/ndk/
DNdkMediaDataSource.cpp55 NdkDataSource::NdkDataSource(AMediaDataSource *dataSource) in NdkDataSource() argument
57 AMediaDataSource_setReadAt(mDataSource, dataSource->readAt); in NdkDataSource()
58 AMediaDataSource_setGetSize(mDataSource, dataSource->getSize); in NdkDataSource()
59 AMediaDataSource_setClose(mDataSource, dataSource->close); in NdkDataSource()
60 AMediaDataSource_setUserdata(mDataSource, dataSource->userdata); in NdkDataSource()
61 AMediaDataSource_setGetAvailableSize(mDataSource, dataSource->getAvailableSize); in NdkDataSource()
62 mDataSource->mImpl = dataSource->mImpl; in NdkDataSource()
63 mDataSource->mFlags = dataSource->mFlags; in NdkDataSource()
/frameworks/native/services/surfaceflinger/Tracing/
DTransactionDataSource.h32 auto dataSource = trace_context.GetDataSourceLocked(); in TransactionDataSourceTlsState() local
33 mMode = dataSource.valid() ? dataSource->GetMode() in TransactionDataSourceTlsState()
DLayerDataSource.h34 auto dataSource = trace_context.GetDataSourceLocked(); in LayerDataSourceTlsState() local
35 mMode = dataSource.valid() in LayerDataSourceTlsState()
36 ? dataSource->GetMode() in LayerDataSourceTlsState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/data/repository/
DSceneContainerRepository.kt47 private val dataSource: SceneDataSource, in <lambda>() constant
49 val currentScene: StateFlow<SceneKey> = dataSource.currentScene in <lambda>()
86 dataSource.changeScene( in <lambda>()
95 dataSource.snapToScene( in <lambda>()
/frameworks/base/core/java/android/tracing/perfetto/
DCreateIncrementalStateArgs.java29 CreateIncrementalStateArgs(DataSource dataSource, int instanceIndex) { in CreateIncrementalStateArgs() argument
30 this.mDataSource = dataSource; in CreateIncrementalStateArgs()
DCreateTlsStateArgs.java29 CreateTlsStateArgs(DataSource dataSource, int instanceIndex) { in CreateTlsStateArgs() argument
30 this.mDataSource = dataSource; in CreateTlsStateArgs()
DDataSourceInstance.java28 public DataSourceInstance(DataSource dataSource, int instanceIndex) { in DataSourceInstance() argument
29 this.mDataSource = dataSource; in DataSourceInstance()
DTracingContext.java42 dataSource, in TracingContext()
44 this.mDataSource = dataSource; in TracingContext()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/satellite/data/demo/
DDemoDeviceBasedSatelliteRepositoryTest.kt47 private lateinit var dataSource: DemoDeviceBasedSatelliteDataSource variable in com.android.systemui.statusbar.pipeline.satellite.data.demo.DemoDeviceBasedSatelliteRepositoryTest
53 dataSource = in setUp()
58 underTest = DemoDeviceBasedSatelliteRepository(dataSource, testScope.backgroundScope) in setUp()
/frameworks/wilhelm/src/android/
Dandroid_AudioSfDecoder.cpp193 sp<DataSource> dataSource; in onPrepare() local
203 dataSource = DataSourceFactory::getInstance()->CreateFromURI( in onPrepare()
205 if (dataSource == NULL) { in onPrepare()
222 dataSource = new FileSource(fd, mDataLocator.fdi.offset, mDataLocator.fdi.length); in onPrepare()
223 status_t err = dataSource->initCheck(); in onPrepare()
239 sp<IMediaExtractor> extractor = MediaExtractorFactory::Create(dataSource); in onPrepare()
287 if (dataSource->getSize(&size) == OK in onPrepare()
329 mDataSource = dataSource; in onPrepare()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/satellite/data/demo/
DDemoDeviceBasedSatelliteRepository.kt34 private val dataSource: DemoDeviceBasedSatelliteDataSource, in <lambda>() constant in com.android.systemui.statusbar.pipeline.satellite.data.demo.DemoDeviceBasedSatelliteRepository
46 scope.launch { dataSource.satelliteEvents.collect { event -> processEvent(event) } } in <lambda>()
/frameworks/base/libs/hwui/
DPropertyValuesHolder.h68 void setPropertyDataSource(T* dataSource, int length) { in setPropertyDataSource() argument
69 mDataSource.insert(mDataSource.begin(), dataSource, dataSource + length); in setPropertyDataSource()
/frameworks/av/media/module/extractors/flac/
DFLACExtractor.cpp61 DataSourceHelper *dataSource,
99 DataSourceHelper *dataSource,
447 DataSourceHelper *dataSource, in FLACParser() argument
451 : mDataSource(dataSource), in FLACParser()
653 DataSourceHelper *dataSource, in FLACSource() argument
656 : mDataSource(dataSource), in FLACSource()
737 DataSourceHelper *dataSource) in FLACExtractor() argument
738 : mDataSource(dataSource), in FLACExtractor()
/frameworks/av/media/module/extractors/midi/
DMidiExtractor.cpp147 MidiEngine::MidiEngine(CDataSource *dataSource, in MidiEngine() argument
156 mIoWrapper = new MidiIoWrapper(dataSource); in MidiEngine()
278 CDataSource *dataSource) in MidiExtractor() argument
279 : mDataSource(dataSource), in MidiExtractor()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/scene/ui/composable/
DSceneContainer.kt81 val dataSource = SceneTransitionLayoutDataSource(state, coroutineScope) in <lambda>() constant
82 dataSourceDelegator.setDelegate(dataSource) in <lambda>()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedVectorDrawable.java1387 if (mTmpValues.dataSource != null) { in createRTAnimatorForGroup()
1388 float[] dataPoints = createFloatDataPoints(mTmpValues.dataSource, in createRTAnimatorForGroup()
1425 if (mTmpValues.dataSource != null) { in createRTAnimatorForFullPath()
1427 float[] dataPoints = createFloatDataPoints(mTmpValues.dataSource, in createRTAnimatorForFullPath()
1435 if (mTmpValues.dataSource != null) { in createRTAnimatorForFullPath()
1437 int[] dataPoints = createIntDataPoints(mTmpValues.dataSource, in createRTAnimatorForFullPath()
1483 if (mTmpValues.dataSource != null) { in createRTAnimatorForRootGroup()
1485 float[] dataPoints = createFloatDataPoints(mTmpValues.dataSource, in createRTAnimatorForRootGroup()
1515 PropertyValuesHolder.PropertyValues.DataSource dataSource, long duration) { in createFloatDataPoints() argument
1521 values[i] = (Float) dataSource.getValueAtFraction(fraction); in createFloatDataPoints()
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/scene/data/repository/
DSceneContainerRepositoryKosmos.kt29 dataSource = sceneDataSource, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/demo/
DDemoWifiRepository.kt38 private val dataSource: DemoModeWifiDataSource, in <lambda>() constant in com.android.systemui.statusbar.pipeline.wifi.data.repository.demo.DemoWifiRepository
66 dataSource.wifiEvents.filterNotNull().collect { event -> processEvent(event) } in <lambda>()
/frameworks/av/media/libmediaplayerservice/
DMetadataRetrieverClient.cpp183 sp<DataSource> dataSource = CreateDataSourceFromIDataSource(source); in setDataSource() local
185 MediaPlayerFactory::getPlayerType(NULL /* client */, dataSource); in setDataSource()
189 status_t ret = p->setDataSource(dataSource, mime); in setDataSource()
/frameworks/av/media/libmedia/
Dmediametadataretriever.cpp129 const sp<IDataSource>& dataSource, const char *mime) in setDataSource() argument
137 return mRetriever->setDataSource(dataSource, mime); in setDataSource()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp169 sp<DataSource> dataSource; in initFromDataSource() local
172 dataSource = mDataSource; in initFromDataSource()
174 CHECK(dataSource != NULL); in initFromDataSource()
178 extractor = MediaExtractorFactory::Create(dataSource, NULL); in initFromDataSource()
402 sp<DataSource> dataSource = PlayerServiceDataSourceFactory::getInstance() in onPrepareAsync() local
408 mDataSource = dataSource; in onPrepareAsync()
565 sp<DataSource> dataSource, httpSource; in disconnect() local
568 dataSource = mDataSource; in disconnect()
573 if (dataSource != NULL) { in disconnect()
575 if (dataSource->flags() & DataSource::kIsCachingDataSource) { in disconnect()
[all …]

123