/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
D | BootSector.java | 135 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 …]
|
D | Fat16BootSector.java | 151 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()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | DirectedGraph.java | 42 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()
|
/tools/repohooks/rh/ |
D | shell_unittest.py | 122 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/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | CodePrinter.kt | 488 private fun appendSourceLiteral(v: Any?, sb: StringBuilder, owner: Item): Boolean { in appendSourceLiteral() 489 if (v == null) { in appendSourceLiteral() 493 when (v) { in appendSourceLiteral() 495 sb.append(v.toString()) in appendSourceLiteral() 499 sb.append(v.toString()).append('L') in appendSourceLiteral() 503 sb.append('"').append(javaEscapeString(v)).append('"') in appendSourceLiteral() 507 return when (v) { in appendSourceLiteral() 519 sb.append(canonicalizeFloatingPointString(v.toString()) + "f") in appendSourceLiteral() 525 return when (v) { in appendSourceLiteral() 537 sb.append(canonicalizeFloatingPointString(v.toString())) in appendSourceLiteral() [all …]
|
/tools/test/connectivity/acts/framework/acts/ |
D | test_decorators.py | 189 for k, v in gathered_extras.items(): 191 new_signal.extras[k] = v 196 new_signal.extras[k].insert(0, v) 230 for k, v in self.keyed_info.items(): 231 if v and k not in extras: 232 extras[k] = v 233 elif v and k in extras: 236 extras[k].insert(0, v)
|
/tools/test/graphicsbenchmark/apps/sample_app/src/cpp/ |
D | renderer.cpp | 35 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/media/tests/ |
D | AudioLoopbackImageAnalyzer.java | 237 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/test/connectivity/acts/tests/google/wifi/ |
D | WifiRttManagerTest.py | 182 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/ |
D | hostapd_constants.py | 137 FREQUENCY_MAP = {v: k for k, v in CHANNEL_MAP.items()} 192 v: k 193 for k, v in N_CAPABILITIES_MAPPING.items() 272 v: k 273 for k, v in AC_CAPABILITIES_MAPPING.items()
|
D | hostapd.py | 186 pairs = ('%s=%s' % (k, v) for k, v in interface_configs.items()) 192 config_pairs = ('%s=%s' % (k, v) 193 for k, v in packaged_config.items() 194 if v is not None)
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | IsolatedHostTest.java | 160 CLog.v(String.join(" ", cmdArgs)); in run() 163 CLog.v("Started subprocess."); in run() 167 CLog.v("Connected to subprocess."); in run() 273 CLog.v("Received message that runner finished successfully"); in executeTests() 281 CLog.v("Received message that runner is starting"); in executeTests() 415 reader.lines().forEach(line -> CLog.v("V/IsolationRunner: %s", line)); in run()
|
/tools/test/connectivity/acts/framework/acts/test_utils/net/ |
D | ui_utils.py | 30 return ' '.join(['%s="%s"' % (k, v) for k, v in kv_pairs.items()]) 91 for k, v in matcher.items(): 100 match_list.append(v in node.attributes[key].value) 102 match_list.append(node.attributes[key].value == v)
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | DocAnalyzer.kt | 319 val v: Any = value.value() ?: value.toSource() in <lambda>() constant 320 if (v == CARRIER_PRIVILEGES_MARKER) { in <lambda>() 325 findPermissionField(codebase, v) in <lambda>() 328 val v = value.value()?.toString() ?: value.toSource() in <lambda>() constant 329 if (editDistance(CARRIER_PRIVILEGES_MARKER, v, 3) < 3) { in <lambda>() 332 … "Unrecognized permission `$v`; did you mean `$CARRIER_PRIVILEGES_MARKER`?" in <lambda>()
|
/tools/tradefederation/contrib/src/com/android/performance/tests/ |
D | HermeticLaunchTest.java | 258 CLog.v("Metrics for the activity : %s", activityName); in reportMetrics() 260 CLog.v( in reportMetrics() 388 CLog.v("Launch Info : %s", line); in analyzeLogCatData() 536 CLog.v("Currently parsing :" + currentAtraceFile.getName()); in parseAtraceInfoFile() 597 CLog.v( in parseAtraceInfoFile() 605 CLog.v( in parseAtraceInfoFile()
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | ArgsOptionParser.java | 568 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/result/ |
D | BugreportCollector.java | 269 CLog.v("About to grab bugreport for %s; custom name is %s.", logDesc, mDescriptiveName); in grabBugreport() 274 CLog.v("Log name is %s", logName); in grabBugreport() 304 CLog.v("Search checking predicate %s", p(relation, freq, noun)); in search() 379 CLog.v("Found storedP %s for relation %s and noun %s", storedP, relation, noun); in check() 404 CLog.v("Grabbing bugreport."); in check()
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | power_monitor.py | 35 for k, v in registry.items(): 37 if v == _REGISTRY[k]: 42 'with %s.' % (k, _REGISTRY[k], v)) 43 _REGISTRY[k] = v
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | SemaphoreTokenTargetPreparer.java | 47 CLog.v("Waiting to acquire run token"); in setUp() 50 CLog.v("Token acquired"); in setUp() 62 CLog.v("Releasing run token"); in tearDown() 66 CLog.v("Did not acquire token, skip releasing run token"); in tearDown()
|
/tools/tradefederation/core/util-apps/DeviceSetupUtil/src/com/android/tradefed/utils/ |
D | DeviceSetupIntentReceiver.java | 39 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()
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/util/ |
D | KeyguardControllerState.java | 62 CLog.v(line); in extract() 65 CLog.v(showingString); in extract() 71 CLog.v(line); in extract() 74 CLog.v(occludedString); in extract()
|
/tools/treble/build/sandbox/ |
D | rbe.py | 83 for k,v in os.environ.items(): 85 prepared_env[k] = v 98 return ['%s=%s' % (k,v) for k,v in prepared_env.items()]
|
/tools/tradefederation/contrib/tests/src/com/android/regression/tests/ |
D | MetricsTest.java | 55 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()
|
D | DetectRegressionTest.java | 60 (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/common_util/com/android/tradefed/log/ |
D | LogUtil.java | 75 public static void v(String message) { in v() method in LogUtil.CLog 77 Log.v(getClassName(2), message); in v() 87 public static void v(String format, Object... args) { in v() method in LogUtil.CLog 89 Log.v(getClassName(2), String.format(format, args)); in v()
|