Home
last modified time | relevance | path

Searched defs:reader (Results 1 – 25 of 150) sorted by relevance

123456

/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DProcFileReaderTest.java31 final ProcFileReader reader = buildReader(""); in testEmpty() local
44 final ProcFileReader reader = buildReader("a\nb\nc\n"); in testSingleString() local
60 final ProcFileReader reader = buildReader("1 2 3\n4 abc_def 5 6 7 8 9\n10\n"); in testMixedNumbersSkip() local
81 final ProcFileReader reader = buildReader("1 21 3 41 5 61 7 81 9 10\n", 3); in testBufferSize() local
98 final ProcFileReader reader = buildReader("1\n\n2\n\n3\n"); in testBlankLines() local
118 final ProcFileReader reader = buildReader( in testMinMax() local
130 final ProcFileReader reader = buildReader("teststringwithoutdelimiters"); in testDelimiterNeverFound() local
143 final ProcFileReader reader = buildReader("1 teststringlongerthanbuffer\n", 4); in testLargerThanBuffer() local
156 final ProcFileReader reader = buildReader("123 456\n789\n"); in testOptionalLongs() local
DFileRotatorTest.java79 final RecordingReader reader = new RecordingReader(); in testEmpty() local
95 final RecordingReader reader = new RecordingReader(); in testCombine() local
116 final RecordingReader reader = new RecordingReader(); in testRotate() local
148 final RecordingReader reader = new RecordingReader(); in testDelete() local
178 final RecordingReader reader = new RecordingReader(); in testThrowRestoresBackup() local
239 final RecordingReader reader = new RecordingReader(); in testQueryMatch() local
287 final RecordingReader reader = new RecordingReader(); in testClockRollingBackwards() local
336 final RecordingReader reader = new RecordingReader(); in testFuzz() local
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DProcTimeInStateReaderTest.java61 ProcTimeInStateReader reader = new ProcTimeInStateReader(initialTimeInStateFile); in testSimple() local
78 final ProcTimeInStateReader reader = new ProcTimeInStateReader(initialTimeInStateFile); in testHeaderFormat() local
94 ProcTimeInStateReader reader = new ProcTimeInStateReader(initialTimeInStateFile); in testDifferentFile() local
108 ProcTimeInStateReader reader = new ProcTimeInStateReader(initialTimeInStateFile); in testWrongLength() local
DMockBatteryStatsImpl.java103 public MockBatteryStatsImpl setKernelCpuUidFreqTimeReader(KernelCpuUidFreqTimeReader reader) { in setKernelCpuUidFreqTimeReader()
109 KernelCpuUidActiveTimeReader reader) { in setKernelCpuUidActiveTimeReader()
115 KernelCpuUidClusterTimeReader reader) { in setKernelCpuUidClusterTimeReader()
121 KernelCpuUidUserSysTimeReader reader) { in setKernelCpuUidUserSysTimeReader()
126 public MockBatteryStatsImpl setKernelSingleUidTimeReader(KernelSingleUidTimeReader reader) { in setKernelSingleUidTimeReader()
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dargument_encoder.h110 explicit ArgumentDecoder(MessageReader* reader) : reader_{reader} {} in ArgumentDecoder()
131 explicit ArgumentDecoder(MessageReader* reader) : reader_{reader} {} in ArgumentDecoder()
153 Return (*)(Args...), MessageReader* reader) { in MakeArgumentDecoder()
161 Return (Class::*)(Args...), MessageReader* reader) { in MakeArgumentDecoder()
169 Return (Class::*)(Args...) const, MessageReader* reader) { in MakeArgumentDecoder()
176 inline ArgumentDecoder<Signature> MakeArgumentDecoder(MessageReader* reader) { in MakeArgumentDecoder()
/frameworks/av/media/ndk/
DNdkImageReader.cpp117 sp<AImageReader> reader = mReader.promote(); in onFrameAvailable() local
147 sp<AImageReader> reader = mReader.promote(); in onBufferFreed() local
669 /*out*/AImageReader** reader) { in AImageReader_new()
679 AImageReader *reader, /*out*/native_handle_t **handle) { in AImageReader_getWindowNativeHandle()
691 int32_t maxImages, /*out*/ AImageReader** reader) { in AImageReader_newWithUsage()
741 void AImageReader_delete(AImageReader* reader) { in AImageReader_delete()
750 media_status_t AImageReader_getWindow(AImageReader* reader, /*out*/ANativeWindow** window) { in AImageReader_getWindow()
762 media_status_t AImageReader_getWidth(const AImageReader* reader, /*out*/int32_t* width) { in AImageReader_getWidth()
774 media_status_t AImageReader_getHeight(const AImageReader* reader, /*out*/int32_t* height) { in AImageReader_getHeight()
786 media_status_t AImageReader_getFormat(const AImageReader* reader, /*out*/int32_t* format) { in AImageReader_getFormat()
[all …]
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DStatementParser.java46 JsonReader reader = new JsonReader(new StringReader(statementList)); in parseStatementList() local
71 JsonReader reader = new JsonReader(new StringReader(statementString)); in parseStatement() local
80 static ParsedStatement parseStatement(JsonReader reader, AbstractAsset source) in parseStatement()
DJsonParser.java41 public static JSONObject parse(JsonReader reader) throws IOException, JSONException { in parse()
83 public static List<String> parseArray(JsonReader reader) throws IOException { in parseArray()
DAbstractAsset.java71 JsonReader reader = new JsonReader(new StringReader(assetJson)); in create() local
/frameworks/base/core/java/android/se/omapi/
DISecureElementService.aidl41 ISecureElementReader getReader(String reader); in getReader()
47 boolean[] isNFCEventAllowed(String reader, in byte[] aid, in isNFCEventAllowed()
/frameworks/base/libs/androidfw/tests/
DBackupData_test.cpp85 BackupDataReader* reader = new BackupDataReader(fd); in TEST_F() local
126 BackupDataReader* reader = new BackupDataReader(fd); in TEST_F() local
176 BackupDataReader* reader = new BackupDataReader(fd); in TEST_F() local
228 BackupDataReader* reader = new BackupDataReader(fd); in TEST_F() local
269 BackupDataReader* reader = new BackupDataReader(fd); in TEST_F() local
329 BackupDataReader* reader = new BackupDataReader(fd); in TEST_F() local
395 BackupDataReader* reader = new BackupDataReader(fd); in TEST_F() local
/frameworks/base/cmds/incidentd/tests/
DFdBuffer_test.cpp53 sp<ProtoReader> reader = buffer.data()->read(); in AssertBufferContent() local
95 sp<ProtoReader> reader = buffer.data()->read(); in TEST_F() local
105 sp<ProtoReader> reader = buffer.data()->read(); in TEST_F() local
117 sp<ProtoReader> reader = buffer.data()->read(); in TEST_F() local
261 sp<ProtoReader> reader = buffer.data()->read(); in TEST_F() local
295 sp<ProtoReader> reader = buffer.data()->read(); in TEST_F() local
DProtoFileReader_test.cpp37 status_t read(sp<ProtoFileReader> reader, size_t size) { in read()
78 sp<ProtoFileReader> reader = new ProtoFileReader(fd); in TEST() local
/frameworks/base/core/java/android/util/
DXml.java55 XMLReader reader = XmlObjectFactory.newXMLReader(); in parse() local
69 XMLReader reader = XmlObjectFactory.newXMLReader(); in parse() local
80 XMLReader reader = XmlObjectFactory.newXMLReader(); in parse() local
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/
DJsonTokenizer.cs60 internal static JsonTokenizer FromTextReader(TextReader reader) in FromTextReader()
175 private readonly PushBackReader reader; field in Google.Protobuf.JsonTokenizer.JsonTextTokenizer
178 internal JsonTextTokenizer(TextReader reader) in JsonTextTokenizer()
679 private readonly TextReader reader; field in Google.Protobuf.JsonTokenizer.JsonTextTokenizer.PushBackReader
681 internal PushBackReader(TextReader reader) in PushBackReader()
/frameworks/base/core/java/com/android/internal/os/
DKernelMemoryBandwidthStats.java44 try (BufferedReader reader = new BufferedReader(new FileReader(mSysfsFile))) { in updateStats()
64 public void parseStats(BufferedReader reader) throws IOException { in parseStats()
DKernelCpuSpeedReader.java68 try (BufferedReader reader = new BufferedReader(new FileReader(mProcFile))) { in readDelta()
103 try (BufferedReader reader = new BufferedReader(new FileReader(mProcFile))) { in readAbsolute()
/frameworks/base/core/jni/
Dandroid_backup_BackupDataInput.cpp56 BackupDataReader* reader = (BackupDataReader*)r; in readNextHeader_native() local
97 BackupDataReader* reader = (BackupDataReader*)r; in readEntityData_native() local
120 BackupDataReader* reader = (BackupDataReader*)r; in skipEntityData_native() local
/frameworks/base/tools/sdkparcelables/src/com/android/sdkparcelables/
DMain.kt46 val reader = ClassReader(zipFile.getInputStream(entry)) in main() constant
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/
DTextGraphReader.java49 public void execute(TextGraphReader reader) throws GraphIOException; in execute()
60 public void execute(TextGraphReader reader) throws GraphIOException { in execute()
77 public void execute(TextGraphReader reader) { in execute()
91 public void execute(TextGraphReader reader) throws GraphIOException { in execute()
113 public void execute(TextGraphReader reader) throws GraphIOException { in execute()
141 public void execute(TextGraphReader reader) { in execute()
/frameworks/base/cmds/statsd/tests/log_event/
DLogEventQueue_test.cpp46 std::thread reader([&queue, timeBaseNs] { in TEST() local
80 std::thread reader([&queue, timeBaseNs] { in TEST() local
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DSurfaceUtilsTest.java31 ImageReader reader = ImageReader.newInstance(640, 480, ImageFormat.YUV_420_888, 1); in testInvalidSurfaceException() local
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFrameType.java322 static FrameType tryMerge(FrameType writer, FrameType reader) { in tryMerge()
336 static FrameType tryMergeObjectTypes(FrameType writer, FrameType reader) { in tryMergeObjectTypes()
343 static FrameType tryMergeBuffers(FrameType writer, FrameType reader) { in tryMergeBuffers()
351 static FrameType merge(FrameType writer, FrameType reader) { in merge()
/frameworks/base/cmds/statsd/src/
Dstats_log_util.h83 sp<android::util::ProtoReader> reader = protoOutput.data(); in parseProtoOutputStream() local
/frameworks/base/cmds/incident_helper/src/parsers/
DBatteryTypeParser.cpp29 Reader reader(in); in Parse() local

123456