Home
last modified time | relevance | path

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

1234

/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/telephony/current/src/android/telephony/cts/
DTelephonyUtils.java76 BufferedReader br = null; in executeShellCommand() local
78 br = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8)); in executeShellCommand()
81 while ((str = br.readLine()) != null) { in executeShellCommand()
86 if (br != null) { in executeShellCommand()
87 closeQuietly(br); in executeShellCommand()
DSmsManagerTest.java751 BufferedReader br = null; in executeShellCommand() local
753 br = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8)); in executeShellCommand()
756 while ((str = br.readLine()) != null) { in executeShellCommand()
761 if (br != null) { in executeShellCommand()
762 br.close(); in executeShellCommand()
/cts/tests/tests/os/src/android/os/cts/
DEnvironmentTest.java59 try (BufferedReader br = new BufferedReader(new FileReader("/proc/mounts"))) { in testNoAtime() argument
61 while ((line = br.readLine()) != null) { in testNoAtime()
79 try (BufferedReader br = new BufferedReader(new FileReader("/proc/mounts"))) { in testHidePid2() argument
81 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.java132 try (BufferedReader br = in getExpectedReleases() argument
134 while ((line = br.readLine()) != null) { in getExpectedReleases()
/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/app/src/android/app/cts/
DPendingIntentTest.java237 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 …]
DDownloadManagerTestBase.java234 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()
DActivityManagerProcessStateTest.java796 SyncOrderedBroadcast br = new SyncOrderedBroadcast(); in testBackgroundCheckBroadcastService() local
798 br.sendAndWait(mContext, broadcastIntent, Activity.RESULT_OK, null, null, WAIT_TIME); in testBackgroundCheckBroadcastService()
799 int brCode = br.getReceivedCode(); in testBackgroundCheckBroadcastService()
819 br.sendAndWait(mContext, broadcastIntent, Activity.RESULT_OK, null, null, WAIT_TIME); in testBackgroundCheckBroadcastService()
820 brCode = br.getReceivedCode(); in testBackgroundCheckBroadcastService()
854 br.sendAndWait(mContext, broadcastIntent, Activity.RESULT_OK, null, null, WAIT_TIME); in testBackgroundCheckBroadcastService()
855 brCode = br.getReceivedCode(); in testBackgroundCheckBroadcastService()
873 br.sendAndWait(mContext, broadcastIntent, Activity.RESULT_OK, null, null, WAIT_TIME); in testBackgroundCheckBroadcastService()
874 brCode = br.getReceivedCode(); in testBackgroundCheckBroadcastService()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java394 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/
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/tests/providerui/src/android/providerui/cts/
DMediaStoreUiTest.java271 BufferedReader br = null; in executeShellCommand() local
273 br = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8)); in executeShellCommand()
276 while ((str = br.readLine()) != null) { in executeShellCommand()
282 if (br != null) { in executeShellCommand()
283 br.close(); in executeShellCommand()
/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/tests/provider/src/android/provider/cts/
DProviderTestUtils.java112 BufferedReader br = null; in executeShellCommand() local
114 br = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8)); in executeShellCommand()
117 while ((str = br.readLine()) != null) { in executeShellCommand()
123 if (br != null) { in executeShellCommand()
124 br.close(); in executeShellCommand()
/cts/tests/backup/
DOWNERS2 br-framework-team+reviews@google.com
/cts/hostsidetests/backup/
DOWNERS3 br-framework-team+reviews@google.com
/cts/tests/tests/telecom/src/android/telecom/cts/
DTestUtils.java402 BufferedReader br = null; in executeShellCommand() local
404 br = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8)); in executeShellCommand()
407 while ((str = br.readLine()) != null) { in executeShellCommand()
412 if (br != null) { in executeShellCommand()
413 closeQuietly(br); 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/media/src/android/media/cts/
DMediaScannerTest.java718 BufferedReader br = null; in executeShellCommand() local
720 br = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8)); in executeShellCommand()
723 while ((str = br.readLine()) != null) { in executeShellCommand()
728 if (br != null) { in executeShellCommand()
729 br.close(); in executeShellCommand()
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/
DCommonExternalStorageTest.java217 final BufferedReader br = new BufferedReader(new FileReader("/proc/self/mounts")); in getMountPaths() local
220 while ((line = br.readLine()) != null) { in getMountPaths()
225 br.close(); in getMountPaths()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputMethodInfoTest.java265 try (BufferedReader br = in getFbeMode() argument
268 final String line = br.readLine(); in getFbeMode()
/cts/tests/tests/jni/src/android/jni/cts/
DLinkerNamespacesHelper.java113 try (BufferedReader br = new BufferedReader(new FileReader(file))) { in readPublicLibrariesFile() argument
116 while ((line = br.readLine()) != null) { in readPublicLibrariesFile()
/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/tests/tests/media/assets/hls_variant/344388/
D13.ts888 …���O�����ZS�Ze2&.��ƨ�L�p�����$�]��G�:d�%i[B쩠��@cb@��N��ja�6�_}br���JG'�k�:�L/F�s����…
1039 …�W��&��`�75����������a��S�5o�l�0�12��}��X3gNS�3SyZQ�X�}��$y��|�����br�v�(�� ��]G�����^�…

1234