Home
last modified time | relevance | path

Searched refs:mSources (Results 1 – 2 of 2) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/internal/util/
DChainedDataSource.java29 private final DataSource[] mSources; field in ChainedDataSource
33 mSources = sources; in ChainedDataSource()
48 for (DataSource src : mSources) { in feed()
81 if (offset + size <= mSources[i].size()) { in getByteBuffer()
82 return mSources[i].getByteBuffer(offset, size); in getByteBuffer()
87 for (; i < mSources.length && buffer.hasRemaining(); i++) { in getByteBuffer()
88 long sizeToCopy = Math.min(mSources[i].size() - offset, buffer.remaining()); in getByteBuffer()
89 mSources[i].copyTo(offset, Math.toIntExact(sizeToCopy), buffer); in getByteBuffer()
107 DataSource beginSource = mSources[beginIndex]; in slice()
123 sources.add(mSources[i]); in slice()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/util/testmapping/
DTestInfo.java38 private Set<String> mSources = new HashSet<String>(); field in TestInfo
52 mSources.add(source); in TestInfo()
71 mSources.addAll(sources); in addSources()
83 return mSources; in getSources()
320 if (!mSources.isEmpty()) { in toString()
325 ",", mSources.stream().sorted().collect(Collectors.toList()))); in toString()