Home
last modified time | relevance | path

Searched refs:br (Results 1 – 25 of 45) 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/os/src/android/os/cts/
DEnvironmentTest.java61 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()
DCpuFeaturesTest.java58 BufferedReader br = new BufferedReader(new FileReader("/proc/cpuinfo")); in getFieldFromCpuinfo() local
63 while ((line = br.readLine()) != null) { in getFieldFromCpuinfo()
70 br.close(); in getFieldFromCpuinfo()
DBuildVersionTest.java143 try (BufferedReader br = in getExpectedReleases() argument
145 while ((line = br.readLine()) != null) { in getExpectedReleases()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DTelephonyUtils.java138 BufferedReader br = null; in executeShellCommand() local
140 br = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8)); in executeShellCommand()
143 while ((str = br.readLine()) != null) { in executeShellCommand()
148 if (br != null) { in executeShellCommand()
149 closeQuietly(br); in executeShellCommand()
DSmsManagerTest.java884 BufferedReader br = null; in executeShellCommand() local
886 br = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8)); in executeShellCommand()
889 while ((str = br.readLine()) != null) { in executeShellCommand()
894 if (br != null) { in executeShellCommand()
895 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/bugreport/src/android/bugreport/cts/
DBugreportManagerTest.java232 BugreportBroadcastReceiver br = new BugreportBroadcastReceiver(); in triggerBugreport() local
240 mContext.registerReceiver(br, intentFilter); in triggerBugreport()
245 br.waitForBugreportFinished(); in triggerBugreport()
249 mContext.unregisterReceiver(br); in triggerBugreport()
252 Intent response = br.getBugreportFinishedIntent(); in triggerBugreport()
/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/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/app/src/android/app/cts/
DPendingIntentTest.java255 final ExtraReceiver br = new ExtraReceiver(EXTRA_NAME); in testUpdateCurrent() local
257 context.registerReceiver(br, filter); in testUpdateCurrent()
267 br.reset(); in testUpdateCurrent()
269 assertTrue(br.waitForReceipt()); in testUpdateCurrent()
270 assertTrue(br.extra == EXTRA_1); in testUpdateCurrent()
278 br.reset(); in testUpdateCurrent()
280 assertTrue(br.waitForReceipt()); in testUpdateCurrent()
281 assertTrue(br.extra == EXTRA_1); in testUpdateCurrent()
287 br.reset(); in testUpdateCurrent()
289 assertTrue(br.waitForReceipt()); in testUpdateCurrent()
[all …]
DDownloadManagerTestBase.java270 BufferedReader br = null; in readFromFile() local
272 br = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8)); in readFromFile()
275 while ((str = br.readLine()) != null) { in readFromFile()
280 if (br != null) { in readFromFile()
281 br.close(); in readFromFile()
DActivityManagerProcessStateTest.java840 SyncOrderedBroadcast br = new SyncOrderedBroadcast(); in testBackgroundCheckBroadcastService() local
842 br.sendAndWait(mContext, broadcastIntent, Activity.RESULT_OK, null, null, WAIT_TIME); in testBackgroundCheckBroadcastService()
843 int brCode = br.getReceivedCode(); in testBackgroundCheckBroadcastService()
866 br.sendAndWait(mContext, broadcastIntent, Activity.RESULT_OK, null, null, WAIT_TIME); in testBackgroundCheckBroadcastService()
867 brCode = br.getReceivedCode(); in testBackgroundCheckBroadcastService()
901 br.sendAndWait(mContext, broadcastIntent, Activity.RESULT_OK, null, null, WAIT_TIME); in testBackgroundCheckBroadcastService()
902 brCode = br.getReceivedCode(); in testBackgroundCheckBroadcastService()
920 br.sendAndWait(mContext, broadcastIntent, Activity.RESULT_OK, null, null, WAIT_TIME); in testBackgroundCheckBroadcastService()
921 brCode = br.getReceivedCode(); in testBackgroundCheckBroadcastService()
/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/providerui/src/android/providerui/cts/
DMediaStoreUiTest.java408 BufferedReader br = null; in executeShellCommand() local
410 br = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8)); in executeShellCommand()
413 while ((str = br.readLine()) != null) { in executeShellCommand()
419 if (br != null) { in executeShellCommand()
420 br.close(); in executeShellCommand()
/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()
/cts/tests/tests/telecom/src/android/telecom/cts/
DTestUtils.java490 BufferedReader br = null; in executeShellCommand() local
492 br = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8)); in executeShellCommand()
495 while ((str = br.readLine()) != null) { in executeShellCommand()
500 if (br != null) { in executeShellCommand()
501 closeQuietly(br); in executeShellCommand()
/cts/tests/tests/sharesheet/src/android/sharesheet/cts/
DCtsSharesheetDeviceTest.java369 BroadcastReceiver br = new BroadcastReceiver() { in firesIntentSenderWithExtraChosenComponent() local
376 mContext.registerReceiver(br, new IntentFilter(ACTION_INTENT_SENDER_FIRED_ON_CLICK)); in firesIntentSenderWithExtraChosenComponent()
389 mContext.unregisterReceiver(br); in firesIntentSenderWithExtraChosenComponent()
/cts/tests/tests/media/src/android/media/cts/
DMediaScannerTest.java755 BufferedReader br = null; in executeShellCommand() local
757 br = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8)); in executeShellCommand()
760 while ((str = br.readLine()) != null) { in executeShellCommand()
765 if (br != null) { in executeShellCommand()
766 br.close(); in executeShellCommand()
/cts/tests/tests/jni/src/android/jni/cts/
DLinkerNamespacesHelper.java117 try (BufferedReader br = new BufferedReader(new FileReader(file))) { in readPublicLibrariesFile() argument
120 while ((line = br.readLine()) != null) { in readPublicLibrariesFile()
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/
DCommonExternalStorageTest.java226 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/
DInputMethodInfoTest.java273 try (BufferedReader br = in getFbeMode() argument
276 final String line = br.readLine(); in getFbeMode()
/cts/tests/camera/src/android/hardware/camera2/cts/rs/
Draw_converter.rscript56 float4 br = *((float4 *) rsGetElementAt(gainMap, gXNext, gYNext));
64 bl * invFracX * fracY + br * fracX * fracY;
/cts/tools/vm-tests-tf/lib/
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/ ...

12