/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/telephony/current/src/android/telephony/cts/ |
D | TelephonyUtils.java | 83 BufferedReader br = null; in executeShellCommand() local 85 br = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8)); in executeShellCommand() 88 while ((str = br.readLine()) != null) { in executeShellCommand() 93 if (br != null) { in executeShellCommand() 94 closeQuietly(br); in executeShellCommand()
|
D | SmsManagerTest.java | 858 BufferedReader br = null; in executeShellCommand() local 860 br = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8)); in executeShellCommand() 863 while ((str = br.readLine()) != null) { in executeShellCommand() 868 if (br != null) { in executeShellCommand() 869 br.close(); in executeShellCommand()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | EnvironmentTest.java | 61 try (BufferedReader br = new BufferedReader(new FileReader("/proc/mounts"))) { in testNoAtime() argument 63 while ((line = br.readLine()) != null) { in testNoAtime() 81 try (BufferedReader br = new BufferedReader(new FileReader("/proc/mounts"))) { in testHidePid2() argument 83 while ((line = br.readLine()) != null) { in testHidePid2()
|
D | CpuFeaturesTest.java | 58 BufferedReader br = new BufferedReader(new FileReader("/proc/cpuinfo")); in getFieldFromCpuinfo() local 63 while ((line = br.readLine()) != null) { in getFieldFromCpuinfo() 70 br.close(); in getFieldFromCpuinfo()
|
D | BuildVersionTest.java | 143 try (BufferedReader br = in getExpectedReleases() argument 145 while ((line = br.readLine()) != null) { in getExpectedReleases()
|
/cts/tests/bugreport/src/android/bugreport/cts/ |
D | BugreportManagerTest.java | 150 BugreportBroadcastReceiver br = new BugreportBroadcastReceiver(); in triggerBugreport() local 151 mContext.registerReceiver(br, new IntentFilter(INTENT_BUGREPORT_FINISHED)); in triggerBugreport() 164 br.waitForBugreportFinished(); in triggerBugreport() 168 mContext.unregisterReceiver(br); in triggerBugreport() 171 Intent response = br.getBugreportFinishedIntent(); in triggerBugreport()
|
/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/app/src/android/app/cts/ |
D | PendingIntentTest.java | 237 final ExtraReceiver br = new ExtraReceiver(EXTRA_NAME); in testUpdateCurrent() local 239 context.registerReceiver(br, filter); in testUpdateCurrent() 249 br.reset(); in testUpdateCurrent() 251 assertTrue(br.waitForReceipt()); in testUpdateCurrent() 252 assertTrue(br.extra == EXTRA_1); in testUpdateCurrent() 260 br.reset(); in testUpdateCurrent() 262 assertTrue(br.waitForReceipt()); in testUpdateCurrent() 263 assertTrue(br.extra == EXTRA_1); in testUpdateCurrent() 268 br.reset(); in testUpdateCurrent() 270 assertTrue(br.waitForReceipt()); in testUpdateCurrent() [all …]
|
D | DownloadManagerTestBase.java | 234 BufferedReader br = null; in readFromFile() local 236 br = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8)); in readFromFile() 239 while ((str = br.readLine()) != null) { in readFromFile() 244 if (br != null) { in readFromFile() 245 br.close(); in readFromFile()
|
/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/sensors/ |
D | RVCVXCheckAnalyzer.java | 394 BufferedReader br=null; in loadSensorLog() local 404 br = new BufferedReader(new FileReader(csvFile)); in loadSensorLog() 405 while ((line = br.readLine()) != null) { in loadSensorLog() 435 if (br != null) { in loadSensorLog() 437 br.close(); in loadSensorLog() 460 BufferedReader br=null; in VideoMetaInfo() local 464 br = new BufferedReader(new FileReader(file)); in VideoMetaInfo() 465 while ((line = br.readLine()) != null) { in VideoMetaInfo() 476 if (br != null) { in VideoMetaInfo() 478 br.close(); in VideoMetaInfo() [all …]
|
/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/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/providerui/src/android/providerui/cts/ |
D | MediaStoreUiTest.java | 285 BufferedReader br = null; in executeShellCommand() local 287 br = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8)); in executeShellCommand() 290 while ((str = br.readLine()) != null) { in executeShellCommand() 296 if (br != null) { in executeShellCommand() 297 br.close(); in executeShellCommand()
|
/cts/hostsidetests/backup/ |
D | OWNERS | 3 br-framework-team+reviews@google.com
|
/cts/tests/backup/ |
D | OWNERS | 3 br-framework-team+reviews@google.com
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | ProviderTestUtils.java | 128 BufferedReader br = null; in executeShellCommand() local 130 br = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8)); in executeShellCommand() 133 while ((str = br.readLine()) != null) { in executeShellCommand() 139 if (br != null) { in executeShellCommand() 140 br.close(); in executeShellCommand()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | TestUtils.java | 401 BufferedReader br = null; in executeShellCommand() local 403 br = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8)); in executeShellCommand() 406 while ((str = br.readLine()) != null) { in executeShellCommand() 411 if (br != null) { in executeShellCommand() 412 closeQuietly(br); in executeShellCommand()
|
/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()
|
/cts/tests/tests/sharesheet/src/android/sharesheet/cts/ |
D | CtsSharesheetDeviceTest.java | 368 BroadcastReceiver br = new BroadcastReceiver() { in firesIntentSenderWithExtraChosenComponent() local 375 mContext.registerReceiver(br, new IntentFilter(ACTION_INTENT_SENDER_FIRED_ON_CLICK)); in firesIntentSenderWithExtraChosenComponent() 388 mContext.unregisterReceiver(br); in firesIntentSenderWithExtraChosenComponent()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaScannerTest.java | 720 BufferedReader br = null; in executeShellCommand() local 722 br = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8)); in executeShellCommand() 725 while ((str = br.readLine()) != null) { in executeShellCommand() 730 if (br != null) { in executeShellCommand() 731 br.close(); in executeShellCommand()
|
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/ |
D | CommonExternalStorageTest.java | 226 final BufferedReader br = new BufferedReader(new FileReader("/proc/self/mounts")); in getMountPaths() local 229 while ((line = br.readLine()) != null) { in getMountPaths() 234 br.close(); in getMountPaths()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputMethodInfoTest.java | 265 try (BufferedReader br = in getFbeMode() argument 268 final String line = br.readLine(); in getFbeMode()
|
/cts/tests/tests/jni/src/android/jni/cts/ |
D | LinkerNamespacesHelper.java | 113 try (BufferedReader br = new BufferedReader(new FileReader(file))) { in readPublicLibrariesFile() argument 116 while ((line = br.readLine()) != null) { in readPublicLibrariesFile()
|