Home
last modified time | relevance | path

Searched refs:bw (Results 1 – 10 of 10) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/util/
DPropertyChanger.java50 BufferedWriter bw = null; in changeProperties() local
53 bw = new BufferedWriter(new FileWriter(ret)); in changeProperties()
66 bw.write(line + '\n'); in changeProperties()
70 bw.write(String.format("%s=%s\n", entry.getKey(), entry.getValue())); in changeProperties()
74 StreamUtil.close(bw); in changeProperties()
/tools/metalava/src/main/java/com/android/tools/metalava/
DSdkFileWriter.kt194 var bw: BufferedWriter? = null in writeValues() variable
197 bw = BufferedWriter(fw) in writeValues()
200 bw.append(value).append('\n') in writeValues()
206 bw?.close() in writeValues()
234 var bw: BufferedWriter? = null in writeClasses() variable
238 bw = BufferedWriter(fw) in writeClasses()
242 writeClass(bw, clazz, 'W') in writeClasses()
245 writeClass(bw, clazz, 'P') in writeClasses()
248 writeClass(bw, clazz, 'L') in writeClasses()
252 bw?.close() in writeClasses()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DPropertyChangerTest.java78 BufferedWriter bw = null; in writeProperties() local
80 bw = new BufferedWriter(new FileWriter(output)); in writeProperties()
82 bw.write(String.format("%s=%s\n", entry.getKey(), entry.getValue())); in writeProperties()
85 if (bw != null) { in writeProperties()
86 bw.close(); in writeProperties()
/tools/test/connectivity/acts/framework/acts/test_utils/power/tel_simulations/
DLteSimulation.py577 bw = float(values[1])
579 if bw == 14:
580 bw = 1.4
582 new_config.bandwidth = bw
1062 def allocation_percentages_to_rbs(self, bw, tm, dl, ul): argument
1084 max_rbs = self.total_rbs_dictionary[bw]
1085 min_dl_rbs = self.min_dl_rbs_dictionary[bw]
1086 min_ul_rbs = self.min_ul_rbs_dictionary[bw]
1118 dl_rbs = (math.ceil(desired_dl_rbs / self.rbg_dictionary[bw]) *
1119 self.rbg_dictionary[bw])
DLteCaSimulation.py275 bw = int(values[1 + bts_index])
277 bw = max(self.allowed_bandwidth_dictionary[band])
279 new_configs[bts_index].bandwidth = bw
284 new_configs[bts_index].bandwidth = bw
289 self.LOWEST_DL_CN_DICTIONARY[int(band)] + bw * 10 - 2)
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DInstrumentationFileTest.java143 try (BufferedWriter bw = new BufferedWriter(new FileWriter(testFile))) { in writeTestsToFileAndRun() argument
150 bw.write( in writeTestsToFileAndRun()
155 bw.newLine(); in writeTestsToFileAndRun()
/tools/carrier_settings/java/
DGenCarrierList.java114 try (BufferedWriter bw = in generate() argument
116 TextFormat.printUnicode(clist, bw); in generate()
DGenDeviceSettings.java163 try (BufferedWriter bw = Files.newBufferedWriter(deviceSettingTextFile.toPath(), UTF_8)) { in generate() argument
164 TextFormat.printUnicode(generatedMessage, bw); in generate()
DCarrierConfigConverterV2.java342 BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(os, UTF_8))) { in convert()
348 TextFormat.printUnicode(cs.build(), bw); in convert() local
357 BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(os, UTF_8))) { in convert()
360 TextFormat.printUnicode(cl, bw); in convert()
367 BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(os, UTF_8))) { in convert()
377 TextFormat.printUnicode(mcs.build(), bw); in convert() local
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...