Home
last modified time | relevance | path

Searched refs:Reader (Results 1 – 25 of 67) sorted by relevance

123

/frameworks/av/media/libnblog/include/media/nblog/
DReader.h45 class Reader : public RefBase {
49 Reader(const void *shared, size_t size, const std::string &name);
50 Reader(const sp<IMemory>& iMemory, size_t size, const std::string &name);
51 ~Reader() override;
102 friend std::unique_ptr<Snapshot> Reader::getSnapshot(bool flush);
111 class DumpReader : public NBLog::Reader {
114 : Reader(shared, size, name) {} in DumpReader()
116 : Reader(iMemory, size, name) {} in DumpReader()
DMerger.h54 void addReader(const sp<NBLog::Reader> &reader);
59 const std::vector<sp<Reader>>& getReaders() const;
65 std::vector<sp<Reader>> mReaders;
75 class MergeReader : public Reader {
95 const std::vector<sp<Reader>>& mReaders;
DTimeline.h55 friend class Reader;
/frameworks/base/libs/protoutil/src/
DEncodedBuffer.cpp346 return new EncodedBuffer::Reader(this); in read()
349 EncodedBuffer::Reader::Reader(const sp<EncodedBuffer>& buffer) in Reader() function in android::util::EncodedBuffer::Reader
355 EncodedBuffer::Reader::~Reader() { in ~Reader()
359 EncodedBuffer::Reader::size() const in size()
365 EncodedBuffer::Reader::bytesRead() const in bytesRead()
371 EncodedBuffer::Reader::readBuffer() in readBuffer()
377 EncodedBuffer::Reader::currentToRead() in currentToRead()
385 EncodedBuffer::Reader::hasNext() in hasNext()
391 EncodedBuffer::Reader::next() in next()
399 EncodedBuffer::Reader::readRawVarint() in readRawVarint()
[all …]
/frameworks/base/core/java/android/se/omapi/
DSEService.java117 private final HashMap<String, Reader> mReaders = new HashMap<String, Reader>();
192 public @NonNull Reader[] getReaders() { in getReaders()
203 Reader[] readers = new Reader[readerNames.length]; in getReaders()
208 mReaders.put(readerName, new Reader(this, readerName, in getReaders()
233 for (Reader reader : mReaders.values()) { in shutdown()
DSession.java46 private final Reader mReader;
51 @NonNull Reader reader) { in Session()
65 public @NonNull Reader getReader() { in getReader()
DReader.java40 public final class Reader { class
49 Reader(@NonNull SEService service, @NonNull String name, @NonNull ISecureElementReader reader) { in Reader() method in Reader
/frameworks/av/media/libnblog/
DReader.cpp37 Reader::Reader(const void *shared, size_t size, const std::string &name) in Reader() function in android::NBLog::Reader
47 Reader::Reader(const sp<IMemory>& iMemory, size_t size, const std::string &name) in Reader() function in android::NBLog::Reader
48 : Reader(iMemory != 0 ? (Shared *) iMemory->pointer() : NULL, size, name) in Reader()
53 Reader::~Reader() in ~Reader()
62 std::unique_ptr<Snapshot> Reader::getSnapshot(bool flush) in getSnapshot()
157 bool Reader::isIMemory(const sp<IMemory>& iMemory) const in isIMemory()
174 const std::unordered_set<Event> Reader::invalidBeginTypes {
187 const std::unordered_set<Event> Reader::invalidEndTypes {
198 const uint8_t *Reader::findLastValidEntry(const uint8_t *front, const uint8_t *back, in findLastValidEntry()
DAndroid.bp9 "Reader.cpp",
DMerger.cpp55 void Merger::addReader(const sp<Reader> &reader) in addReader()
118 const std::vector<sp<Reader>>& Merger::getReaders() const in getReaders()
127 : Reader(shared, size, "MergeReader"), mReaders(merger.getReaders()) in MergeReader()
/frameworks/base/libs/protoutil/include/android/util/
DEncodedBuffer.h188 class Reader;
189 friend class Reader; variable
190 class Reader : public ProtoReader {
192 explicit Reader(const sp<EncodedBuffer>& buffer);
193 virtual ~Reader();
/frameworks/base/libs/androidfw/
DZipUtils.cpp38 class FileReader : public zip_archive::Reader {
40 explicit FileReader(FILE* fp) : Reader(), mFp(fp), mCurrentOffset(0) { in FileReader()
69 class FdReader : public zip_archive::Reader {
82 class BufferReader : public zip_archive::Reader {
84 BufferReader(const void* input, size_t inputSize) : Reader(), in BufferReader()
/frameworks/base/cmds/incident_helper/tests/
Dih_util_test.cpp154 TEST(IhUtilTest, Reader) { in TEST() argument
159 Reader r(tf.fd); in TEST()
176 Reader r(tf.fd); in TEST()
188 Reader r(tf.fd); in TEST()
200 Reader r(-123); in TEST()
208 Reader r(1231432); in TEST()
/frameworks/base/cmds/incident_helper/src/
Dih_util.h109 class Reader
112 explicit Reader(const int fd);
113 ~Reader();
Dih_util.cpp237 Reader::Reader(const int fd) in Reader() function in Reader
243 Reader::~Reader() in ~Reader()
248 bool Reader::readLine(std::string* line) { in readLine()
264 bool Reader::ok(std::string* error) { in ok()
/frameworks/base/core/java/com/android/internal/util/
DFileRotator.java68 public interface Reader { interface in FileRotator
83 public interface Rewriter extends Reader, Writer {
188 public void combineActive(final Reader reader, final Writer writer, long currentTimeMillis) in combineActive()
285 public void readMatching(Reader reader, long matchStartMillis, long matchEndMillis) in readMatching()
368 private static void readFile(File file, Reader reader) throws IOException { in readFile()
DTypedProperties.java20 import java.io.Reader;
38 static StreamTokenizer initTokenizer(Reader r) { in initTokenizer()
141 static void parse(Reader r, Map<String, Object> map) throws ParseException, IOException { in parse()
397 public void load(Reader r) throws IOException { in load()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/conformance/third_party/jsoncpp/
Djsoncpp.cpp264 static bool containsNewLine(Reader::Location begin, Reader::Location end) { in containsNewLine()
274 Reader::Reader() in Reader() function in Json::Reader
279 Reader::Reader(const Features& features) in Reader() function in Json::Reader
285 Reader::parse(const std::string& document, Value& root, bool collectComments) { in parse()
292 bool Reader::parse(std::istream& sin, Value& root, bool collectComments) { in parse()
305 bool Reader::parse(const char* beginDoc, in parse()
347 bool Reader::readValue() { in readValue()
431 void Reader::skipCommentTokens(Token& token) { in skipCommentTokens()
441 bool Reader::readToken(Token& token) { in readToken()
512 void Reader::skipSpaces() { in skipSpaces()
[all …]
/frameworks/base/core/java/android/util/
DXml.java31 import java.io.Reader;
67 public static void parse(Reader in, ContentHandler contentHandler) in parse()
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/
DRemoteXmlPullParser.java25 import java.io.Reader;
41 void setInput(Reader in) throws XmlPullParserException, RemoteException; in setInput()
/frameworks/av/services/medialog/
DMediaLogService.cpp62 sp<NBLog::Reader> reader(new NBLog::Reader(shared, size, name)); // Reader handled by merger in registerWriter()
/frameworks/base/core/tests/coretests/src/android/net/http/
DDefaultHttpClientTest.java27 import java.io.Reader;
96 Reader reader = new InputStreamReader(response.getEntity().getContent()); in contentToString()
/frameworks/base/cmds/hid/src/com/android/commands/hid/
DHid.java39 private final Event.Reader mReader;
72 mReader = new Event.Reader(new InputStreamReader(in, "UTF-8")); in Hid()
/frameworks/base/cmds/bootanimation/iot/
DBootParameters.cpp32 using Json::Reader;
146 if (!Reader().parse(contents, json)) { in parseLegacyBootParameters()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierKeyDownloadMgrTest.java54 import java.io.Reader;
166 Reader fRd = new BufferedReader(new InputStreamReader(certBytes)); in testParseJson()
190 Reader fRd = new BufferedReader(new InputStreamReader(certBytes)); in testParseJsonPublicKey()
342 Reader fRd = new BufferedReader(new InputStreamReader(certBytes)); in testParseJson3GppFormat()

123