Home
last modified time | relevance | path

Searched refs:dsInstance (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tests/Internal/src/com/android/internal/protolog/
DProtologDataSourceTest.java160 final ProtoLogDataSource.Instance dsInstance = Mockito.spy( in createTlsState() local
162 Mockito.doNothing().when(dsInstance).release(); in createTlsState()
164 Mockito.when(mockCreateTlsStateArgs.getDataSourceInstanceLocked()).thenReturn(dsInstance); in createTlsState()
/frameworks/base/core/java/com/android/internal/protolog/
DProtoLogDataSource.java95 try (Instance dsInstance = args.getDataSourceInstanceLocked()) { in createTlsState() argument
96 if (dsInstance == null) { in createTlsState()
100 return new TlsState(dsInstance.mConfig); in createTlsState()
/frameworks/base/core/tests/coretests/src/android/tracing/perfetto/
DDataSourceTest.java551 final TestDataSource.TestDataSourceInstance dsInstance = in canUseDataSourceInstanceToCreateTlsState()
553 dsInstance.testObject = testObject; in canUseDataSourceInstanceToCreateTlsState()
554 return dsInstance; in canUseDataSourceInstanceToCreateTlsState()
609 final TestDataSource.TestDataSourceInstance dsInstance = in canUseDataSourceInstanceToCreateIncrementalState()
611 dsInstance.testObject = testObject; in canUseDataSourceInstanceToCreateIncrementalState()
612 return dsInstance; in canUseDataSourceInstanceToCreateIncrementalState()