Home
last modified time | relevance | path

Searched refs:br (Results 1 – 25 of 43) sorted by relevance

12

/cts/hostsidetests/jdwpsecurity/src/android/jdwpsecurity/cts/
DJdwpSecurityHostTest.java149 BufferedReader br = null; in readScriptPid() local
151 br = new BufferedReader(new InputStreamReader(scriptProcess.getInputStream())); in readScriptPid()
153 return br.readLine(); in readScriptPid()
155 if (br != null) { in readScriptPid()
156 br.close(); in readScriptPid()
232 BufferedReader br = null; in run() local
234 br = new BufferedReader(new InputStreamReader(in)); in run()
236 while ((line = readLineIgnoreException(br)) != null) { in run()
242 if (br != null) { in run()
244 br.close(); in run()
/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/
DShellCommandExecutor.java56 BufferedReader br = null; in executeShellCommand() local
58 br = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8)); in executeShellCommand()
61 while ((str = br.readLine()) != null) { in executeShellCommand()
66 if (br != null) { in executeShellCommand()
67 closeQuietly(br); in executeShellCommand()
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/util/
DAtomicFileHelperTest.java91 BufferedReader br = new BufferedReader(new FileReader(baseFile)); in testAtomicFileWithNonExistedBaseFile() local
92 String fileContent = br.readLine(); in testAtomicFileWithNonExistedBaseFile()
95 br.close(); in testAtomicFileWithNonExistedBaseFile()
158 BufferedReader br = new BufferedReader(new FileReader(baseFile)); in testAtomicFileRewrite() local
159 String baseFileReadContent = br.readLine(); in testAtomicFileRewrite()
162 br.close(); in testAtomicFileRewrite()
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerHelper.java152 BufferedReader br = null; in executeShellCommand() local
154 br = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8)); in executeShellCommand()
157 while ((str = br.readLine()) != null) { in executeShellCommand()
162 if (br != null) { in executeShellCommand()
163 closeQuietly(br); in executeShellCommand()
/cts/tests/tests/provider/src/android/provider/cts/
DProviderTestUtils.java62 BufferedReader br = null; in executeShellCommand() local
64 br = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8)); in executeShellCommand()
67 while ((str = br.readLine()) != null) { in executeShellCommand()
73 if (br != null) { in executeShellCommand()
74 br.close(); in executeShellCommand()
/cts/tools/cfassembler/src/dxconvext/
DClassFileAssembler.java82 … BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream(cfhF))); in run() local
83 String firstLine = br.readLine(); in run()
84 br.close(); in run()
173 BufferedReader br = new BufferedReader(r); in writeClassFile() local
178 while ((line = br.readLine()) != null) { in writeClassFile()
/cts/tests/tests/os/src/android/os/cts/
DEnvironmentTest.java75 try (BufferedReader br = new BufferedReader(new FileReader("/proc/mounts"))) { in testNoAtime() argument
77 while ((line = br.readLine()) != null) { in testNoAtime()
95 try (BufferedReader br = new BufferedReader(new FileReader("/proc/mounts"))) { in testHidePid2() argument
97 while ((line = br.readLine()) != null) { in testHidePid2()
DCpuFeaturesTest.java70 BufferedReader br = new BufferedReader(new FileReader("/proc/cpuinfo")); in getFieldFromCpuinfo() local
75 while ((line = br.readLine()) != null) { in getFieldFromCpuinfo()
82 br.close(); in getFieldFromCpuinfo()
DBuildVersionTest.java149 try (BufferedReader br = in getExpectedReleases() argument
151 while ((line = br.readLine()) != null) { in getExpectedReleases()
/cts/tests/media/src/android/mediav2/cts/
DEncoderLevelTest.java110 final int br = (int) arg[3]; in input() local
129 testArgs[1] = getVideoEncoderCfgParams(mediaType, br, width, height, fps, in input()
132 testArgs[2] = String.format("%dkbps_%dx%d_%dfps_%s_%d-level", br / 1000, width, in input()
142 testArgs[1] = getVideoEncoderCfgParams(mediaType, br, width, height, fps, in input()
145 testArgs[2] = String.format("%dkbps_%dx%d_%dfps_%s_%d-level", br / 1000, width, in input()
DCodecEncoderSurfaceTest.java177 final int br = (int) arg[3]; in input() local
191 testArgs[3] = getVideoEncoderCfgParams(mediaType, br, fps, 8, maxBFrame); in input()
195 testArgs[7] = String.format("%dkbps_%dfps_%s_%s", br / 1000, fps, in input()
209 final int br = (int) arg[3]; in input() local
225 getVideoEncoderCfgParams(mediaType, br, fps, toneMap ? 8 : 10, in input()
233 testArgs[7] = String.format("%dkbps_%dfps_%s_%s_%s", br / 1000, fps, in input()
DEncoderProfileLevelTest.java127 final int br = (int) arg[1]; in prepareTestArgs() local
160 testArgs[1] = getVideoEncoderCfgParams(mediaType, br, width, height, fps, in prepareTestArgs()
162 testArgs[2] = String.format("%dkbps_%dx%d_%dfps_%s_%d_%d-bframes", br / 1000, in prepareTestArgs()
171 testArgs[1] = getAudioEncoderCfgParams(mediaType, br, param1, param2, profiles); in prepareTestArgs()
172 testArgs[2] = String.format("%dkbps_%dkHz_%dch", br / 1000, param1 / 1000, param2); in prepareTestArgs()
/cts/hostsidetests/adb/src/android/adb/cts/
DAdbHostTest.java77 BufferedReader br = new BufferedReader(new InputStreamReader(p.getInputStream())); in testHasMsOsDescriptors() local
80 while ((line = br.readLine()) != null) { in testHasMsOsDescriptors()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/qstiles/
DTileServiceRequestVerifierActivity.java136 BroadcastReceiver br = new BroadcastReceiver() { in registerReceiver() local
154 mContext.registerReceiver(br, new IntentFilter(ACTION_REMOVE_PACKAGE), in registerReceiver()
156 return br; in registerReceiver()
164 BroadcastReceiver br = registerReceiver(); in requestAction() local
173 mContext.unregisterReceiver(br); in requestAction()
/cts/hostsidetests/dumpsys/apps/storagedapp/src/com/android/server/cts/storaged/
DSimpleIOService.java42 try (BufferedReader br = new BufferedReader(new FileReader(cgroup))) { in getCgroupCpuset() argument
44 while ((line = br.readLine()) != null) { in getCgroupCpuset()
/cts/tests/bugreport/src/android/bugreport/cts/
DBugreportManagerTest.java321 BugreportBroadcastReceiver br = new BugreportBroadcastReceiver(); in triggerBugreport() local
334 receivingContext.registerReceiver(br, intentFilter, Context.RECEIVER_EXPORTED); in triggerBugreport()
339 br.waitForBugreportFinished(); in triggerBugreport()
343 receivingContext.unregisterReceiver(br); in triggerBugreport()
346 Intent response = br.getBugreportFinishedIntent(); in triggerBugreport()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DPhoneAccountTest.java315 BufferedReader br = null; in executeShellCommand() local
317 br = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8)); in executeShellCommand()
320 while ((str = br.readLine()) != null) { in executeShellCommand()
325 if (br != null) { in executeShellCommand()
326 br.close(); in executeShellCommand()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java397 BufferedReader br=null; in loadSensorLog() local
408 br = new BufferedReader(new FileReader(csvFile)); in loadSensorLog()
409 while ((line = br.readLine()) != null) { in loadSensorLog()
452 if (br != null) { in loadSensorLog()
454 br.close(); in loadSensorLog()
477 BufferedReader br=null; in VideoMetaInfo() local
481 br = new BufferedReader(new FileReader(file)); in VideoMetaInfo()
482 while ((line = br.readLine()) != null) { in VideoMetaInfo()
493 if (br != null) { in VideoMetaInfo()
495 br.close(); in VideoMetaInfo()
[all …]
/cts/tests/ondeviceintelligence/src/android/ondeviceintelligence/cts/
DCtsIsolatedInferenceService.java339 BufferedReader br = new BufferedReader(isr)) { in getFileContentFromFdMap()
342 while ((line = br.readLine()) != null) { in getFileContentFromFdMap()
360 BufferedReader br = new BufferedReader(isr)) {
362 while ((line = br.readLine()) != null) {
379 BufferedReader br = new BufferedReader(isr)) {
382 while ((line = br.readLine()) != null) {
/cts/tests/app/src/android/app/cts/
DPendingIntentTest.java391 final ExtraReceiver br = new ExtraReceiver(EXTRA_NAME); in testUpdateCurrent() local
393 context.registerReceiver(br, filter, Context.RECEIVER_EXPORTED_UNAUDITED); in testUpdateCurrent()
403 br.reset(); in testUpdateCurrent()
405 assertTrue(br.waitForReceipt()); in testUpdateCurrent()
406 assertTrue(br.extra == EXTRA_1); in testUpdateCurrent()
414 br.reset(); in testUpdateCurrent()
416 assertTrue(br.waitForReceipt()); in testUpdateCurrent()
417 assertTrue(br.extra == EXTRA_1); in testUpdateCurrent()
423 br.reset(); in testUpdateCurrent()
425 assertTrue(br.waitForReceipt()); in testUpdateCurrent()
[all …]
DDownloadManagerTestBase.java271 BufferedReader br = null; in readFromFile() local
273 br = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8)); in readFromFile()
276 while ((str = br.readLine()) != null) { in readFromFile()
281 if (br != null) { in readFromFile()
282 br.close(); in readFromFile()
/cts/tests/tests/telephony/current/src/android/telephony/cts/util/
DTelephonyUtils.java320 BufferedReader br = null; in executeShellCommand() local
322 br = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8)); in executeShellCommand()
325 while ((str = br.readLine()) != null) { in executeShellCommand()
330 if (br != null) { in executeShellCommand()
331 closeQuietly(br); in executeShellCommand()
/cts/tests/providerui/src/android/providerui/cts/
DMediaStoreUiTest.java536 BufferedReader br = null; in executeShellCommand() local
538 br = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8)); in executeShellCommand()
541 while ((str = br.readLine()) != null) { in executeShellCommand()
547 if (br != null) { in executeShellCommand()
548 br.close(); in executeShellCommand()
/cts/apps/CameraITS/tests/scene8/
Dtest_ae_awb_regions.py103 tl, tr, br, bl = (
116 aa_width, aa_height, br, width, height)
/cts/tests/filesystem/src/android/filesystem/cts/
DFileUtil.java224 BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream(file))); in getRWAmount() local
226 while((line = br.readLine())!= null) { in getRWAmount()
233 br.close(); in getRWAmount()

12