/cts/hostsidetests/jdwpsecurity/src/android/jdwpsecurity/cts/ |
D | JdwpSecurityHostTest.java | 149 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/ |
D | ShellCommandExecutor.java | 56 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/ |
D | AtomicFileHelperTest.java | 91 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/ |
D | StorageManagerHelper.java | 152 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/ |
D | ProviderTestUtils.java | 62 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/ |
D | ClassFileAssembler.java | 82 … 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/ |
D | EnvironmentTest.java | 75 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()
|
D | CpuFeaturesTest.java | 70 BufferedReader br = new BufferedReader(new FileReader("/proc/cpuinfo")); in getFieldFromCpuinfo() local 75 while ((line = br.readLine()) != null) { in getFieldFromCpuinfo() 82 br.close(); in getFieldFromCpuinfo()
|
D | BuildVersionTest.java | 149 try (BufferedReader br = in getExpectedReleases() argument 151 while ((line = br.readLine()) != null) { in getExpectedReleases()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | EncoderLevelTest.java | 110 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()
|
D | CodecEncoderSurfaceTest.java | 177 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()
|
D | EncoderProfileLevelTest.java | 127 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/ |
D | AdbHostTest.java | 77 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/ |
D | TileServiceRequestVerifierActivity.java | 136 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/ |
D | SimpleIOService.java | 42 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/ |
D | BugreportManagerTest.java | 321 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/ |
D | PhoneAccountTest.java | 315 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/ |
D | RVCVXCheckAnalyzer.java | 397 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/ |
D | CtsIsolatedInferenceService.java | 339 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/ |
D | PendingIntentTest.java | 391 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 …]
|
D | DownloadManagerTestBase.java | 271 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/ |
D | TelephonyUtils.java | 320 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/ |
D | MediaStoreUiTest.java | 536 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/ |
D | test_ae_awb_regions.py | 103 tl, tr, br, bl = ( 116 aa_width, aa_height, br, width, height)
|
/cts/tests/filesystem/src/android/filesystem/cts/ |
D | FileUtil.java | 224 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()
|