Home
last modified time | relevance | path

Searched refs:readLine (Results 1 – 25 of 105) sorted by relevance

12345

/frameworks/base/cmds/incident_helper/tests/
Dih_util_test.cpp162 ASSERT_TRUE(r.readLine(&line)); in TEST()
164 ASSERT_TRUE(r.readLine(&line)); in TEST()
166 ASSERT_TRUE(r.readLine(&line)); in TEST()
168 ASSERT_FALSE(r.readLine(&line)); in TEST()
179 ASSERT_FALSE(r.readLine(&line)); in TEST()
191 ASSERT_TRUE(r.readLine(&line)); in TEST()
193 ASSERT_TRUE(r.readLine(&line)); in TEST()
195 ASSERT_FALSE(r.readLine(&line)); in TEST()
203 EXPECT_FALSE(r.readLine(&line)); in TEST()
211 EXPECT_FALSE(r.readLine(&line)); in TEST()
/frameworks/base/cmds/incident_helper/src/parsers/
DBatteryTypeParser.cpp31 bool readLine = false; in Parse() local
36 while (reader.readLine(&line)) { in Parse()
39 if (readLine) { in Parse()
46 readLine = true; in Parse()
DCpuFreqParser.cpp34 reader.readLine(&line); in Parse()
44 while (reader.readLine(&line)) { in Parse()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelMemoryBandwidthStatsTest.java26 Mockito.when(mockStandardReader.readLine()).thenReturn( in testParseStandard()
47 Mockito.verify(mockStandardReader, Mockito.times(13)).readLine(); in testParseStandard()
59 Mockito.when(mockZeroReader.readLine()).thenReturn( in testParseBackwards()
78 Mockito.verify(mockZeroReader, Mockito.times(13)).readLine(); in testParseBackwards()
DKernelUidCpuFreqTimeReaderTest.java95 when(mBufferedReader.readLine()).thenReturn(getFreqsLine(freqs[i])); in testReadFreqs_perClusterTimesNotAvailable()
126 when(mBufferedReader.readLine()).thenReturn(getFreqsLine(freqs[i])); in testReadFreqs_perClusterTimesAvailable()
157 when(mBufferedReader.readLine()).thenReturn(getFreqsLine(freqs)); in testReadDelta_Binary()
233 when(mBufferedReader.readLine()).thenReturn(getFreqsLine(freqs)); in testReadAbsolute()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DTriData.java100 int num_verts = Integer.parseInt(lnr.readLine()); in read()
105 String[] s = lnr.readLine().split("\\s"); in read()
111 int num_tri = Integer.parseInt(lnr.readLine()); in read()
116 String[] s = lnr.readLine().split("\\s"); in read()
/frameworks/native/opengl/tools/glgen/src/
DGenerateEGL.java29 while ((s = br.readLine()) != null) { in copy()
39 while ((s = specReader.readLine()) != null) { in emit()
61 while ((nfunc = br.readLine()) != null) { in emit()
DGenerateGLES.java29 while ((s = br.readLine()) != null) { in copy()
39 while ((s = specReader.readLine()) != null) { in emit()
60 while ((nfunc = br.readLine()) != null) { in emit()
DGenerateGL.java29 while ((s = br.readLine()) != null) { in copy()
41 while ((s = specReader.readLine()) != null) { in emit()
64 while ((nfunc = br.readLine()) != null) { in emit()
DParameterChecker.java26 while ((line = reader.readLine()) != null) { in ParameterChecker()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageUsage.java100 String firstLine = readLine(in, sb); in readInternal()
123 for (String line = firstLine; line != null; line = readLine(in, sb)) { in readVersion0LP()
150 while ((line = readLine(in, sb)) != null) { in readVersion1LP()
178 private String readLine(InputStream in, StringBuffer sb) throws IOException { in readLine() method in PackageUsage
DCompilerStats.java210 String versionLine = in.readLine(); in read()
230 while ((s = in.readLine()) != null) { in read()
/frameworks/av/media/libaudioclient/tests/
Dtest_create_utils.cpp26 int readLine(FILE *inputFile, char *line, int size) { in readLine() function
51 if (readLine(inputFile, line, MAX_INPUT_FILE_LINE_LENGTH) != 0) { in checkVersion()
Dtest_create_utils.h30 int readLine(FILE *inputFile, char *line, int size);
/frameworks/base/core/java/com/android/internal/alsa/
DAlsaCardsParser.java148 while ((line = bufferedReader.readLine()) != null) { in scan()
155 line = bufferedReader.readLine(); in scan()
171 String deviceAddress = (new BufferedReader(usbbusReader)).readLine(); in scan()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DDeviceInfoUtils.java59 private static String readLine(String filename) throws IOException { in readLine() method in DeviceInfoUtils
62 return reader.readLine(); in readLine()
108 String msv = readLine(FILENAME_MSV); in getMsvSuffix()
/frameworks/base/core/java/com/android/internal/os/
DKernelCpuSpeedReader.java72 while (speedIndex < mLastSpeedTimesMs.length && (line = reader.readLine()) != null) { in readDelta()
107 while (speedIndex < mNumSpeedSteps && (line = reader.readLine()) != null) { in readAbsolute()
DKernelUidCpuTimeReader.java77 while ((line = reader.readLine()) != null) { in readDeltaImpl()
146 while ((line = reader.readLine()) != null) { in readAbsolute()
/frameworks/base/media/java/android/media/
DSRTRenderer.java117 while ((header = br.readLine()) != null) { in onData()
119 header = br.readLine(); in onData()
131 while (!((s = br.readLine()) == null || s.trim().equals(""))) { in onData()
/frameworks/base/core/tests/coretests/src/android/app/backup/
DBackupDataTest.java180 String[] expected = truth.readLine().split(":"); in testReadMockData()
198 assertNull("there are unused entries in the golden file", truth.readLine()); in testReadMockData()
210 String[] expected = truth.readLine().split(":"); in testReadRealData()
228 assertNull("there are unused entries in the golden file", truth.readLine()); in testReadRealData()
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
DPerfDataRecorder.java92 String line = br.readLine(); in readDumpData()
98 line = br.readLine(); in readDumpData()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardParserImpl_V30.java79 return mReader.readLine(); in getLine()
91 while ((line = mReader.readLine()) != null) { in getNonEmptyLine()
/frameworks/base/tools/preload/
DCompile.java48 while ((line = in.readLine()) != null) { in main()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DPackageDexUsage.java314 String versionLine = in.readLine(); in read()
338 while ((line = in.readLine()) != null) { in read()
355 line = in.readLine(); in read()
436 context = in.readLine(); in maybeReadClassLoaderContext()
454 String line = in.readLine(); in maybeReadLoadingPackages()
/frameworks/base/core/tests/SvcMonitor/src/com/android/google/experimental/svcmoniter/
DSvcMonitor.java167 String temp = in.readLine(); in getPIDof()
201 stat = br.readLine(); in getPsStat()

12345