Home
last modified time | relevance | path

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

12345

/frameworks/base/cmds/incident_helper/tests/
Dih_util_test.cpp161 ASSERT_TRUE(r.readLine(&line)); in TEST()
163 ASSERT_TRUE(r.readLine(&line)); in TEST()
165 ASSERT_TRUE(r.readLine(&line)); in TEST()
167 ASSERT_FALSE(r.readLine(&line)); in TEST()
178 ASSERT_FALSE(r.readLine(&line)); in TEST()
190 ASSERT_TRUE(r.readLine(&line)); in TEST()
192 ASSERT_TRUE(r.readLine(&line)); in TEST()
194 ASSERT_FALSE(r.readLine(&line)); in TEST()
202 EXPECT_FALSE(r.readLine(&line)); in TEST()
210 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.java42 Mockito.when(mockStandardReader.readLine()).thenReturn( in testParseStandard()
63 Mockito.verify(mockStandardReader, Mockito.times(13)).readLine(); in testParseStandard()
75 Mockito.when(mockZeroReader.readLine()).thenReturn( in testParseBackwards()
94 Mockito.verify(mockZeroReader, Mockito.times(13)).readLine(); in testParseBackwards()
/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/
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()
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()
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.java102 String firstLine = readLine(in, sb); in readInternal()
125 for (String line = firstLine; line != null; line = readLine(in, sb)) { in readVersion0LP()
152 while ((line = readLine(in, sb)) != null) { in readVersion1LP()
181 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/base/cmds/statsd/tools/localtools/src/com/android/statsd/shelltools/
DUtils.java64 for (String line = br.readLine(); line != null; line = br.readLine()) { in runCommand()
170 int sdk = Integer.parseInt(in.readLine().trim()); in isAcceptableStatsd()
180 return in.readLine().startsWith(minCodename); in isAcceptableStatsd()
/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/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()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DDeviceInfoUtils.java60 private static String readLine(String filename) throws IOException { in readLine() method in DeviceInfoUtils
63 return reader.readLine(); in readLine()
109 String msv = readLine(FILENAME_MSV); in getMsvSuffix()
/frameworks/base/media/java/android/media/
DSRTRenderer.java117 while ((header = br.readLine()) != null) { in onData()
119 header = br.readLine(); in onData()
132 while (!((s = br.readLine()) == null || s.trim().equals(""))) { in onData()
/frameworks/base/core/tests/coretests/src/android/app/backup/
DBackupDataTest.java171 String[] expected = truth.readLine().split(":"); in testReadMockData()
189 assertNull("there are unused entries in the golden file", truth.readLine()); in testReadMockData()
201 String[] expected = truth.readLine().split(":"); in testReadRealData()
219 assertNull("there are unused entries in the golden file", truth.readLine()); in testReadRealData()
/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.java325 String versionLine = in.readLine(); in read()
351 while ((line = in.readLine()) != null) { in read()
368 line = in.readLine(); in read()
433 String context = in.readLine(); in readClassLoaderContext()
445 String line = in.readLine(); in readLoadingPackages()
/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()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/
DConfigParser.java240 String line = in.readLine(); in parseMimeMultipartMessage()
290 String line = in.readLine(); in parseMimePart()
397 line = in.readLine(); in readHeaders()
/frameworks/base/core/java/android/content/pm/
DFallbackCategoryProvider.java53 while ((line = reader.readLine()) != null) { in loadFallbacks()

12345