Home
last modified time | relevance | path

Searched refs:v (Results 1 – 25 of 118) sorted by relevance

12345

/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DBootSector.java135 public abstract void setSectorsPerFat(long v); in setSectorsPerFat() argument
238 int v = get8(0x3 + i); in getOemName() local
239 if (v == 0) break; in getOemName()
240 b.append((char) v); in getOemName()
282 public void setBytesPerSector(int v) { in setBytesPerSector() argument
283 if (v == getBytesPerSector()) return; in setBytesPerSector()
285 switch (v) { in setBytesPerSector()
287 set16(0x0b, v); in setBytesPerSector()
324 public void setSectorsPerCluster(int v) { in setSectorsPerCluster() argument
325 if (v == getSectorsPerCluster()) return; in setSectorsPerCluster()
[all …]
DFat16BootSector.java151 public void setSectorsPerFat(long v) { in setSectorsPerFat() argument
152 if (v == getSectorsPerFat()) return; in setSectorsPerFat()
153 if (v > 0x7FFF) throw new IllegalArgumentException( in setSectorsPerFat()
156 set16(SECTORS_PER_FAT_OFFSET, (int)v); in setSectorsPerFat()
208 public void setRootDirEntryCount(int v) throws IllegalArgumentException { in setRootDirEntryCount() argument
209 if (v < 0) throw new IllegalArgumentException(); in setRootDirEntryCount()
210 if (v == getRootDirEntryCount()) return; in setRootDirEntryCount()
212 set16(ROOT_DIR_ENTRIES_OFFSET, v); in setRootDirEntryCount()
DFat32BootSector.java139 public void setSectorsPerFat(long v) { in setSectorsPerFat() argument
140 if (getSectorsPerFat() == v) return; in setSectorsPerFat()
142 set32(SECTORS_PER_FAT_OFFSET, v); in setSectorsPerFat()
/tools/tradefederation/core/src/com/android/tradefed/util/
DDirectedGraph.java42 for (V v: neighbors.keySet()) s.append("\n " + v + " -> " + neighbors.get(v)); in toString()
91 for (V v: neighbors.keySet()) { in inDegree()
92 result.put(v, 0); in inDegree()
110 for (V v: degree.keySet()) { in topSort()
111 if (degree.get(v) == 0) { in topSort()
112 zeroVerts.push(v); in topSort()
119 V v = zeroVerts.pop(); in topSort() local
121 result.add(v); in topSort()
123 for (V neighbor: neighbors.get(v)) { in topSort()
DKeyguardControllerState.java62 CLog.v(line); in extract()
65 CLog.v(showingString); in extract()
71 CLog.v(line); in extract()
74 CLog.v(occludedString); in extract()
/tools/repohooks/rh/
Dshell_unittest.py122 for v in (None,):
123 self.assertTrue(rh.shell.boolean_shell_value(v, True))
124 self.assertFalse(rh.shell.boolean_shell_value(v, False))
126 for v in (1234, '', 'akldjsf', '"'):
127 self.assertRaises(ValueError, rh.shell.boolean_shell_value, v, True)
129 for v in ('yes', 'YES', 'YeS', 'y', 'Y', '1', 'true', 'True', 'TRUE',):
130 self.assertTrue(rh.shell.boolean_shell_value(v, True))
131 self.assertTrue(rh.shell.boolean_shell_value(v, False))
133 for v in ('no', 'NO', 'nO', 'n', 'N', '0', 'false', 'False', 'FALSE',):
134 self.assertFalse(rh.shell.boolean_shell_value(v, True))
[all …]
/tools/test/connectivity/acts/framework/acts/
Dtest_decorators.py108 for k, v in gathered_extras.items():
110 new_signal.extras[k] = v
115 new_signal.extras[k].insert(0, v)
149 for k, v in self.keyed_info.items():
150 if v and k not in extras:
151 extras[k] = v
152 elif v and k in extras:
155 extras[k].insert(0, v)
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DCodePrinter.kt489 private fun appendSourceLiteral(v: Any?, sb: StringBuilder, owner: Item): Boolean { in appendSourceLiteral()
490 if (v == null) { in appendSourceLiteral()
494 when (v) { in appendSourceLiteral()
496 sb.append(v.toString()) in appendSourceLiteral()
500 sb.append(v.toString()).append('L') in appendSourceLiteral()
504 sb.append('"').append(javaEscapeString(v)).append('"') in appendSourceLiteral()
508 return when (v) { in appendSourceLiteral()
520 sb.append(canonicalizeFloatingPointString(v.toString()) + "f") in appendSourceLiteral()
526 return when (v) { in appendSourceLiteral()
538 sb.append(canonicalizeFloatingPointString(v.toString())) in appendSourceLiteral()
[all …]
/tools/test/graphicsbenchmark/apps/sample_app/src/cpp/
Drenderer.cpp35 const char *v = (const char *) glGetString(s); in printGLString() local
36 LOGI("GL %s = %s\n", name, v); in printGLString()
155 for (auto& v : state.velocities) { in initDisplay() local
156 v = Vec2( in initDisplay()
184 Vec2& v = state.velocities[i]; in update() local
185 circle.setPosition(circle.getPosition() + Vec3(v, 0.0f)); in update()
194 v.Value(vx, vy); in update()
201 v = Vec2(vx, vy); in update()
/tools/tradefederation/contrib/src/com/android/graphics/tests/
DOpenGlPerformanceTest.java256 CLog.v("File %s doesn't exist or pulling the file failed", outputFileName); in logOutputFile()
276 CLog.v("ru key: %s", entry.getKey()); in logOutputFile()
279 CLog.v("item key: %s", key); in logOutputFile()
304 CLog.v("caputre.get[%d]: %s", i, capture.get(i).toString()); in parseOutputFile()
307 CLog.v("Retrieve key: %s, catpure: %s", key, capture.toString()); in parseOutputFile()
313 CLog.v("initialize fps array"); in parseOutputFile()
328 CLog.v("ru key: %s", entry.getKey()); in printKeyMap()
330 CLog.v("item key: %s", itemKey); in printKeyMap()
337 CLog.v("key %s:", entry.getKey()); in printTestResults()
339 CLog.v("value: %f", d.doubleValue()); in printTestResults()
DSkiaTest.java126 CLog.v("creating folder '%s'", dirName); in mkdirs()
141 CLog.v("Removing old file " + path); in prepareDevice()
180 CLog.v("adb pull %s (using pullFile)", remotePath); in retrieveAndUploadFile()
188 CLog.v("pulled result file to " + localFile.getPath()); in retrieveAndUploadFile()
249 CLog.v("Running '%s' on %s", cmd, mDevice.getSerialNumber()); in runTest()
DUiPerformanceTest.java94 CLog.v(String.format("The raw directory %s doesn't exist.", RAW_DATA_DIRECTORY)); in setupDevice()
99 CLog.v("remove files under the raw data directory"); in setupDevice()
135 CLog.v("file %d is: \"%s\"", i, rawFileString[i]); in pullRawDataFile()
163 CLog.v("File %s doesn't exist or pulling the file failed"); in logOutputFile()
/tools/test/connectivity/acts/framework/acts/controllers/
Dmonsoon.py224 v = start
225 if v < 3.0: v = 3.0 # protocol doesn't support lower than this
226 while (v < end):
227 self.SetVoltage(v)
228 v += .1
232 def SetVoltage(self, v): argument
235 if v == 0:
238 self._SendStruct("BBB", 0x01, 0x01, int((v - 2.0) * 100))
508 v = []
513 v.append(float(value))
[all …]
/tools/tradefederation/contrib/src/com/android/media/tests/
DAudioLoopbackImageAnalyzer.java237 final int v = horizontal[i]; in analyzeDuration() local
238 if (v == 0) { in analyzeDuration()
244 CLog.i("index=" + i + ", v=" + v); in analyzeDuration()
261 if (currentAmplitude != null && v > currentAmplitude.maxHeight) { in analyzeDuration()
262 currentAmplitude.maxHeight = v; in analyzeDuration()
466 final int v = array[i]; in filter() local
467 if (v != 0 && v <= threshold) { in filter()
/tools/tradefederation/core/util-apps/DeviceSetupUtil/src/com/android/tradefed/utils/
DDeviceSetupIntentReceiver.java39 Log.v(TAG, "Starting Service"); in onReceive()
45 Log.v(TAG, "Stopping Service"); in onReceive()
51 Log.v(TAG, "Re-starting Service"); in onReceive()
55 Log.v(TAG, "Recevied: " + intent.getAction()); in onReceive()
DDeviceSetupService.java41 Log.v(DeviceSetupIntentReceiver.TAG, "Setup service started."); in onCreate()
56 Log.v(DeviceSetupIntentReceiver.TAG, "Acquiring wake lock."); in onStartCommand()
75 Log.v(DeviceSetupIntentReceiver.TAG, "Setup service stopped."); in onDestroy()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DSemaphoreTokenTargetPreparer.java48 CLog.v("Waiting to acquire run token"); in setUp()
51 CLog.v("Token acquired"); in setUp()
64 CLog.v("Releasing run token"); in tearDown()
68 CLog.v("Did not acquire token, skip releasing run token"); in tearDown()
/tools/test/connectivity/acts/tests/google/wifi/
DWifiRttManagerTest.py182 for k, v in target_params.items():
187 v = v.lower()
188 if network_info[k] != v:
473 for k, v in expected_caps.items():
475 asserts.assert_true(v == caps[k], "Expected %s for %s, got %s." %
476 (v, k, caps[k]))
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/
Dhostapd.py188 pairs = ('%s=%s' % (k, v) for k, v in our_configs.items())
190 config_pairs = ('%s=%s' % (k, v)
191 for k, v in packaged_config.items())
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/data_storage/_sponge/
DSimpleXMLWriter.py233 for k, v in attrib:
235 v = escape_attrib(v, self.__encoding)
236 self.__write(" %s=\"%s\"" % (k, v))
/tools/tradefederation/contrib/tests/src/com/android/regression/tests/
DMetricsTest.java55 data.forEach((k, v) -> v.forEach(e -> mMetrics.addRunMetric(k, e))); in testAddRunMetrics()
84 data.forEach((k, v) -> v.forEach(e -> mMetrics.addRunMetric(k, e))); in testValidate()
DDetectRegressionTest.java60 (k, v) -> { in testCalcMean() argument
61 assertTrue(equal(k, DetectRegression.calcMean(Doubles.asList(v)))); in testCalcMean()
71 (k, v) -> { in testCalcStdDev() argument
72 assertTrue(equal(k, DetectRegression.calcStdDev(Doubles.asList(v)))); in testCalcStdDev()
/tools/tradefederation/core/src/com/android/tradefed/build/
DBuildInfoKey.java79 for (BuildInfoFileKey v : BuildInfoFileKey.values()) { in fromString()
80 if (v.getFileKey().equals(keyName)) { in fromString()
81 return v; in fromString()
/tools/tradefederation/core/src/com/android/tradefed/config/
DArgsOptionParser.java568 String v = null; in getKeyStoreValueIfNeeded() local
571 v = ((DryRunKeyStore) c).fetchKey(key, optionType); in getKeyStoreValueIfNeeded()
573 v = c.fetchKey(key); in getKeyStoreValueIfNeeded()
575 if (v == null) { in getKeyStoreValueIfNeeded()
579 return v; in getKeyStoreValueIfNeeded()
/tools/tradefederation/core/src/com/android/tradefed/log/
DLogUtil.java78 public static void v(String message) { in v() method in LogUtil.CLog
80 Log.v(getClassName(2), message); in v()
90 public static void v(String format, Object... args) { in v() method in LogUtil.CLog
92 Log.v(getClassName(2), String.format(format, args)); in v()

12345