/tools/test/connectivity/acts_tests/tests/google/bt/system_tests/ |
D | RfcommLongevityTest.py | 80 for n in range(self.write_iterations): 81 self.log.info("iteration {} data".format(((n + 1) + ( 86 self.log.info("Iteration {} completed".format(n)) 125 for n in range(self.write_iterations): 126 self.log.info("iteration {} data".format(((n + 1) + ( 131 self.log.info("Iteration {} completed".format(n)) 170 for n in range(self.write_iterations): 171 self.log.info("iteration {} data".format(((n + 1) + ( 176 self.log.info("Iteration {} completed".format(n)) 215 for n in range(self.write_iterations): [all …]
|
D | RfcommStressTest.py | 72 for n in range(iterations): 78 self.log.info("Iteration {} completed".format(n)) 107 for n in range(iterations): 116 self.log.info("Iteration {} completed".format(n)) 147 for n in range(iterations): 152 self.log.info("Iteration {} completed".format(n))
|
D | BtStressTest.py | 67 for n in range(self.iterations): 68 self.log.info("Toggling bluetooth iteration {}.".format(n + 1)) 113 for n in range(self.iterations): 114 self.log.info("Pair bluetooth iteration {}.".format(n + 1))
|
/tools/platform-compat/java/com/android/class2nonsdklist/ |
D | StringCursor.java | 57 public String peek(int n) throws StringCursorOutOfBoundsException { in peek() argument 58 if (n == -1) { in peek() 61 if (n < 0 || (n + mCursor) >= mString.length()) { in peek() 64 return mString.substring(mCursor, mCursor + n); in peek() 86 public String next(int n) throws StringCursorOutOfBoundsException { in next() argument 87 if (n == -1) { in next() 92 if (n < 0) { in next() 95 mCursor += n; in next() 96 return mString.substring(mCursor - n, mCursor); in next()
|
/tools/test/connectivity/acts_tests/tests/google/bt/test_tools/ |
D | ToolsTest.py | 46 n = 0 49 while n < 100: 50 self.log.info("Toggling bluetooth iteration {}.".format(n)) 61 print("died at iteration {}".format(n)) 64 n += 1 80 n = 0 83 while n < 100: 84 self.log.info("Toggling bluetooth iteration {}.".format(n)) 97 print("died at iteration {}".format(n)) 100 n += 1
|
D | BtReconnectTest.py | 44 n = 0 51 while n < int(iteration_count): 52 self.log.info("Test iteration {}.".format(n)) 72 n)) 74 n += 1
|
/tools/security/gdb/heap_print/test/ |
D | test_heap_print_script.py | 18 def check_memory(self, n, array_ptr_str, offset=1): argument 38 for i in range(0, n * 4, 4): 52 n = get_n(n_str) 56 self.check_memory(n, malloc_ptr_array_str) 64 n = get_n(new_n) 67 self.check_memory(n, malloc_ptr_str) 80 n = get_n(new_n) 84 self.check_memory(n - offset, malloc_ptr_str, offset+1) 99 n = get_n(n_str) 101 self.check_memory(n, new_ptr_array_str)
|
D | sample_heap_test.cc | 7 int n = 10; in main() local 10 int *malloc_ptr = (int *)malloc(n * sizeof(int)); in main() 15 for (int i = 0; i < n; ++i) in main() 31 int *new_ptr = new int[n]; in main() 35 for (int i = 0; i < n; ++i) in main()
|
/tools/external_updater/ |
D | reviewers.py | 61 def add_proj_count(projects: Mapping[str, float], reviewer: str, n: float): 64 projects[reviewer] += n 66 projects[reviewer] = n 91 for (x, n) in RUST_REVIEWERS.items(): 93 n = n - projects[x] 94 if n > 0: 95 result.extend([x] * math.ceil(n))
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/collections/ |
D | SparseArray.kt | 106 val n = mSize in gc() constant 111 for (i in 0..n - 1) { in gc() 156 val n = idealIntArraySize(mSize + 1) in put() constant 158 val nkeys = IntArray(n) in put() 159 val nvalues = arrayOfNulls<Any>(n) in put() 271 val n = mSize in clear() constant 274 for (i in 0..n - 1) { in clear() 298 val n = idealIntArraySize(pos + 1) in append() constant 300 val nkeys = IntArray(n) in append() 301 val nvalues = arrayOfNulls<Any>(n) in append()
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | Diff.kt | 76 val n = before.size in getDiff() constant 80 val lcs = Array(n + 1) { IntArray(m + 1) } in getDiff() 81 for (i in n - 1 downTo 0) { in getDiff() 93 while (i < n && j < m) { in getDiff() 112 while (i < n && j < m && before[i] != after[j]) { in getDiff() 133 for (context in i until min(n, i + windowSize)) { in getDiff() 142 if (i < n || j < m) { in getDiff() 143 assert(i == n || j == m) in getDiff() 149 while (i < n) { in getDiff()
|
/tools/dexter/testdata/expected/ |
D | exit_hooks.rewrite | 25 3| const-string v2, "Hello, world!\n{" 52 11| const-string v2, "Object(true) : %s\n" 68 34| const-string v2, "Object(false) : %s\n" 84 57| const-string v2, "double : %s\n" 102 84| const-string v2, "int : %s\n" 136 .local v1, "n", int 180 .local v1, "n", int 230 7| const-string v3, "Flag!\n" 264 7| const-string v3, "True!\n" 276 19| const-string v3, "False!\n" [all …]
|
D | exit_hooks.compact_cfg | 28 3| const-string v2, "Hello, world!\n{" 57 11| const-string v2, "Object(true) : %s\n" 73 34| const-string v2, "Object(false) : %s\n" 89 57| const-string v2, "double : %s\n" 107 84| const-string v2, "int : %s\n" 143 .local v1, "n", int 198 .local v1, "n", int 263 7| const-string v3, "Flag!\n" 305 7| const-string v3, "True!\n" 321 19| const-string v3, "False!\n" [all …]
|
D | exit_hooks.exit_hook | 26 3| const-string v2, "Hello, world!\n{" 54 11| const-string v2, "Object(true) : %s\n" 70 34| const-string v2, "Object(false) : %s\n" 86 57| const-string v2, "double : %s\n" 104 84| const-string v2, "int : %s\n" 139 .local v1, "n", int 185 .local v1, "n", int 237 7| const-string v3, "Flag!\n" 273 7| const-string v3, "True!\n" 286 22| const-string v3, "False!\n" [all …]
|
D | exit_hooks.scratch_regs | 31 12| const-string v12, "Hello, world!\n{" 58 11| const-string v2, "Object(true) : %s\n" 74 34| const-string v2, "Object(false) : %s\n" 90 57| const-string v2, "double : %s\n" 108 84| const-string v2, "int : %s\n" 148 .local v9, "n", int 198 .local v10, "n", int 254 25| const-string v10, "Flag!\n" 294 25| const-string v10, "True!\n" 306 37| const-string v10, "False!\n" [all …]
|
D | exit_hooks.verbose_cfg | 32 3| const-string v2, "Hello, world!\n{" 79 11| const-string v2, "Object(true) : %s\n" 107 34| const-string v2, "Object(false) : %s\n" 135 57| const-string v2, "double : %s\n" 167 84| const-string v2, "int : %s\n" 217 .local v1, "n", int 272 .local v1, "n", int 339 7| const-string v3, "Flag!\n" 393 7| const-string v3, "True!\n" 417 19| const-string v3, "False!\n" [all …]
|
D | hello.wrap_invoke | 57 .local v1, "n", int 102 .local v1, "n", int 145 3| const-string v3, "-------------------------------------------------------\n" 156 21| const-string v3, "-------------------------------------------------------\n" 175 46| const-string v3, "-------------------------------------------------------\n" 229 31| const-string v6, " %s\n" 261 .local v1, "n", int 263 4| const-string v3, ">>> %s.test(int n = %d)\n"
|
D | hello.rewrite | 57 .local v1, "n", int 102 .local v1, "n", int 145 3| const-string v3, "-------------------------------------------------------\n" 156 21| const-string v3, "-------------------------------------------------------\n" 175 46| const-string v3, "-------------------------------------------------------\n" 229 31| const-string v6, " %s\n" 261 .local v1, "n", int 263 4| const-string v3, ">>> %s.test(int n = %d)\n"
|
D | hello.entry_hook | 61 .local v1, "n", int 108 .local v1, "n", int 153 6| const-string v3, "-------------------------------------------------------\n" 164 24| const-string v3, "-------------------------------------------------------\n" 183 49| const-string v3, "-------------------------------------------------------\n" 238 34| const-string v6, " %s\n" 271 .local v1, "n", int 273 7| const-string v3, ">>> %s.test(int n = %d)\n"
|
D | hello.compact_cfg | 64 .local v1, "n", int 113 .local v1, "n", int 160 3| const-string v3, "-------------------------------------------------------\n" 171 21| const-string v3, "-------------------------------------------------------\n" 190 46| const-string v3, "-------------------------------------------------------\n" 250 31| const-string v6, " %s\n" 286 .local v1, "n", int 288 4| const-string v3, ">>> %s.test(int n = %d)\n"
|
D | hello.scratch_regs | 75 .local v7, "n", int 129 .local v7, "n", int 178 12| const-string v10, "-------------------------------------------------------\n" 189 30| const-string v10, "-------------------------------------------------------\n" 208 55| const-string v10, "-------------------------------------------------------\n" 262 31| const-string v6, " %s\n" 300 .local v4, "n", int 302 22| const-string v6, ">>> %s.test(int n = %d)\n"
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/ |
D | native_bt_test_utils.py | 26 for n in native_devices: 27 droid = n.droid 28 pid = n.adb.shell("pidof -s bluetoothtbd") 31 ["adb -s " + n.serial + " shell sh -c \"bluetoothtbd\" &"],
|
/tools/security/gdb/gdb_json_printer/test_examples/ |
D | basic_types.cpp | 37 bool n = rand() % 2 == 0; in main() local 39 if (n) { in main() 59 const bool n = rand() % 2 == 0; in main() local 61 if (n) { in main()
|
/tools/test/connectivity/acts_tests/tests/google/net/arduino/disconnect_wifi/ |
D | disconnect_wifi.ino | 45 int n = WiFi.scanNetworks(); 46 if (n == 0) { 52 Serial.println(n); 54 for (int i = 0; i < n; ++i) {
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | FieldItem.kt | 255 val n = str.length in javaEscapeString() constant 256 for (i in 0 until n) { in javaEscapeString() 276 val n = str.length in javaUnescapeString() constant 278 for (i in 0 until n) { in javaUnescapeString() 299 for (i in 0 until n) { in javaUnescapeString()
|