Home
last modified time | relevance | path

Searched refs:DataSource (Results 1 – 25 of 47) sorted by relevance

12

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/util/
DDataSource.java15 public class DataSource { class
18 private DataSource(String dataSource) { in DataSource() method in DataSource
22 public static DataSource toDataSource(String path) { in toDataSource()
23 return new DataSource(path); in toDataSource()
26 public static DataSource toDataSource(Context context, Uri uri) { in toDataSource()
30 public static DataSource toDataSource(Context context, Uri uri, Map<String, String> headers) { in toDataSource()
34 public static DataSource toDataSource(String uri, Map<String, String> headers) { in toDataSource()
38 public static DataSource toDataSource(FileDescriptor fd) { in toDataSource()
43 public static DataSource toDataSource(FileDescriptor fd, long offset, long length) { in toDataSource()
57 if (obj == null || !(obj instanceof DataSource)) { in equals()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue10/
DBasicDumpTest.java29 DataSource base = new DataSource(); in testTag()
33 ArrayList<DataSource> dataSources = new ArrayList<DataSource>(); in testTag()
48 Iterator<DataSource> iter = dsOut.getDataSources().iterator(); in testTag()
54 DataSource base = new DataSource(); in testTag2()
58 ArrayList<DataSource> dataSources = new ArrayList<DataSource>(); in testTag2()
76 DataSource base = new DataSource(); in testTag3()
80 ArrayList<DataSource> dataSources = new ArrayList<DataSource>(); in testTag3()
95 Iterator<DataSource> iter = bean.getDataSources().iterator(); in testTag3()
DJDBCDataSource.java18 public class JDBCDataSource extends DataSource {
23 DataSource parent;
25 public DataSource getParent() { in getParent()
29 public void setParent(DataSource parent) { in setParent()
DDataSources.java21 List<DataSource> dataSources;
23 public List<DataSource> getDataSources() { in getDataSources()
27 public void setDataSources(List<DataSource> dataSources) { in setDataSources()
DDataSource.java18 public class DataSource { class
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowMediaMetadataRetriever.java3 import static org.robolectric.shadows.util.DataSource.toDataSource;
15 import org.robolectric.shadows.util.DataSource;
19 private DataSource dataSource;
20 private static final Map<DataSource, Map<Integer, String>> metadata = new HashMap<>();
21 private static final Map<DataSource, Map<Long, Bitmap>> frames = new HashMap<>();
22 private static final Map<DataSource, RuntimeException> exceptions = new HashMap<>();
24 public void setDataSource(DataSource dataSource) { in setDataSource()
75 public static void addException(DataSource ds, RuntimeException e) { in addException()
79 public static void addMetadata(DataSource ds, int keyCode, String value) { in addMetadata()
101 public static void addFrame(DataSource ds, long time, Bitmap bitmap) { in addFrame()
DShadowMediaPlayer.java14 import static org.robolectric.shadows.util.DataSource.toDataSource;
38 import org.robolectric.shadows.util.DataSource;
103 private static final Map<DataSource, Exception> exceptions = new HashMap<>();
104 private static final Map<DataSource, MediaInfo> mediaInfo = new HashMap<>();
422 private DataSource dataSource;
593 public void setDataSource(DataSource dataSource) throws IOException {
619 public void doSetDataSource(DataSource dataSource) {
649 public static MediaInfo getMediaInfo(DataSource dataSource) {
653 public static void addMediaInfo(DataSource dataSource, MediaInfo info) {
657 public static void addException(DataSource dataSource, RuntimeException e) {
[all …]
/external/image_io/includes/image_io/jpeg/
Djpeg_apple_depth_builder.h33 bool Run(DataSource* primary_image_data_source,
34 DataSource* depth_image_data_source,
72 bool TransferData(DataSource *data_source, const DataRange& data_range);
78 DataSource* primary_image_data_source_;
81 DataSource* depth_image_data_source_;
Djpeg_scanner.h31 void Run(DataSource* data_source, JpegSegmentProcessor* segment_processor);
44 DataSource* GetDataSource() const { return data_source_; } in GetDataSource()
79 DataSource* data_source_;
Djpeg_image_extractor.h20 JpegImageExtractor(const JpegInfo& jpeg_info, DataSource* data_source, in JpegImageExtractor()
72 DataSource* data_source_;
/external/perfetto/include/perfetto/tracing/core/
Dtrace_config.h112 class PERFETTO_EXPORT DataSource {
114 DataSource();
115 ~DataSource();
116 DataSource(DataSource&&) noexcept;
117 DataSource& operator=(DataSource&&);
118 DataSource(const DataSource&);
119 DataSource& operator=(const DataSource&);
120 bool operator==(const DataSource&) const;
121 bool operator!=(const DataSource& other) const { return !(*this == other); }
509 const std::vector<DataSource>& data_sources() const { return data_sources_; } in data_sources()
[all …]
/external/image_io/src/jpeg/
Djpeg_image_extractor.cc46 DataSource::TransferDataResult result = data_source_->TransferData( in ExtractImage()
48 if (result == DataSource::kTransferDataError) { in ExtractImage()
50 } else if (result == DataSource::kTransferDataNone || in ExtractImage()
95 DataSource::TransferDataResult result = data_source_->TransferData( in ExtractImage()
97 if (result == DataSource::kTransferDataError) { in ExtractImage()
100 } else if (result == DataSource::kTransferDataNone) { in ExtractImage()
Djpeg_apple_depth_builder.cc50 bool GetJpegInfo(int image_limit, DataSource* data_source, JpegInfo* info, in GetJpegInfo()
66 bool JpegAppleDepthBuilder::Run(DataSource* primary_image_data_source, in Run()
67 DataSource* depth_image_data_source, in Run()
238 bool JpegAppleDepthBuilder::TransferData(DataSource* data_source, in TransferData()
241 DataSource::TransferDataResult result = in TransferData()
243 if (result == DataSource::kTransferDataSuccess) { in TransferData()
247 result = DataSource::kTransferDataError; in TransferData()
257 return result == DataSource::kTransferDataSuccess; in TransferData()
/external/guice/extensions/persist/test/com/google/inject/persist/jpa/
DEnsureJpaCanTakeObjectsInPropertiesTest.java34 import javax.sql.DataSource;
42 final DataSource ds;
45 DBModule(DataSource ds, boolean passDataSource) { in DBModule()
80 private static DataSource getDataSource() { in getDataSource()
89 final DataSource dataSource = getDataSource(); in startPersistService()
/external/autotest/frontend/client/src/autotest/common/table/
DDynamicTable.java4 import autotest.common.table.DataSource.DataCallback;
5 import autotest.common.table.DataSource.Query;
6 import autotest.common.table.DataSource.SortDirection;
7 import autotest.common.table.DataSource.SortSpec;
52 protected DataSource dataSource;
66 public DynamicTable(String[][] columns, DataSource dataSource) { in DynamicTable()
291 public DataSource getDataSource() { in getDataSource()
295 public void setDataSource(DataSource dataSource) { in setDataSource()
DDynamicTableSelectionManager.java4 import autotest.common.table.DataSource.DefaultDataCallback;
5 import autotest.common.table.DataSource.Query;
/external/perfetto/src/tracing/core/
Dtrace_config.cc340 TraceConfig::DataSource::DataSource() = default;
341 TraceConfig::DataSource::~DataSource() = default;
342 TraceConfig::DataSource::DataSource(const TraceConfig::DataSource&) = default;
343 TraceConfig::DataSource& TraceConfig::DataSource::operator=(
344 const TraceConfig::DataSource&) = default;
345 TraceConfig::DataSource::DataSource(TraceConfig::DataSource&&) noexcept =
347 TraceConfig::DataSource& TraceConfig::DataSource::operator=(
348 TraceConfig::DataSource&&) = default;
352 bool TraceConfig::DataSource::operator==( in operator ==()
353 const TraceConfig::DataSource& other) const { in operator ==()
[all …]
/external/guice/core/test/com/google/inject/example/
DJndiProviderClient.java27 import javax.sql.DataSource;
41 bind(DataSource.class).toProvider(fromJndi(DataSource.class, "...")); in main()
/external/autotest/frontend/client/src/autotest/afe/
DHostTable.java3 import autotest.common.table.DataSource;
28 public HostTable(DataSource dataSource) { in HostTable()
32 public HostTable(DataSource dataSource, boolean wantSelect) { in HostTable()
DHostDetailView.java7 import autotest.common.table.DataSource;
8 import autotest.common.table.DataSource.DataCallback;
9 import autotest.common.table.DataSource.Query;
10 import autotest.common.table.DataSource.SortDirection;
77 private static final DataSource normalDataSource = new HostQueueEntryDataSource();
78 private static final DataSource dataSourceWithSpecialTasks =
153 private DataSource hostDataSource = new HostDataSource();
/external/perfetto/src/profiling/memory/
Dheapprofd_producer.cc377 DataSource data_source; in SetupDataSource()
394 const DataSource& ds = pair.second; in IsPidProfiled()
416 DataSource& data_source = it->second; in StartDataSource()
483 DataSource& data_source = it->second; in StopDataSource()
518 DataSource& data_source = it->second; in Dump()
668 DataSource& data_source = ds_it->second; in OnDataAvailable()
699 HeapprofdProducer::DataSource* HeapprofdProducer::GetDataSourceForProcess( in GetDataSourceForProcess()
702 DataSource& ds = ds_id_and_datasource.second; in GetDataSourceForProcess()
709 void HeapprofdProducer::RecordOtherSourcesAsRejected(DataSource* active_ds, in RecordOtherSourcesAsRejected()
712 DataSource& ds = ds_id_and_datasource.second; in RecordOtherSourcesAsRejected()
[all …]
Dheapprofd_producer.h176 struct DataSource { struct
211 DataSource* GetDataSourceForProcess(const Process& proc);
212 void RecordOtherSourcesAsRejected(DataSource* active_ds, const Process& proc);
254 std::map<DataSourceInstanceID, DataSource> data_sources_;
/external/image_io/includes/image_io/base/
Ddata_source.h44 class DataSource {
61 virtual ~DataSource() = default;
/external/perfetto/ui/src/controller/
Drecord_controller.ts101 const ds = new TraceConfig.DataSource();
178 const ds = new TraceConfig.DataSource();
193 const ds = new TraceConfig.DataSource();
208 const ds = new TraceConfig.DataSource();
217 const ds = new TraceConfig.DataSource();
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowMediaPlayerTest.java18 import static org.robolectric.shadows.util.DataSource.toDataSource;
50 import org.robolectric.shadows.util.DataSource;
68 private DataSource defaultSource;
105 DataSource.toDataSource("android.resource://" + context.getPackageName() + "/123"), in create_withResourceId_shouldSetDataSource()
112 DataSource.toDataSource("android.resource://" + context.getPackageName() + "/123")); in create_withResourceId_shouldSetDataSource()
157 DataSource ds = toDataSource("dummy"); in testSetDataSourceString()
167 DataSource ds = toDataSource(ApplicationProvider.getApplicationContext(), uri, headers); in testSetDataSourceUri()
184 DataSource ds = toDataSource(fd, 23, 524); in testSetDataSourceFD()
1314 …Map<DataSource,Exception> exceptions = ReflectionHelpers.getStaticField(ShadowMediaPlayer.class, "… in testSetDataSourceExceptionWithWrongExceptionTypeAsserts()
1315 DataSource ds = toDataSource("dummy"); in testSetDataSourceExceptionWithWrongExceptionTypeAsserts()
[all …]

12