/tools/tradefederation/core/tests/src/com/android/tradefed/command/ |
D | CommandSchedulerTest.java | 221 mScheduler.start(); in testRun_empty() 241 mScheduler.start(); in testAddConfig_configHelp() 255 mScheduler.start(); in testRun_oneConfig() 273 mScheduler.start(); in testRemoveAllCommands() 297 mScheduler.start(); in testRun_dryRun() 327 mScheduler.start(); in testRun_dryRun_keystore() 377 mScheduler.start(); in testExecCommand() 444 mScheduler.start(); in testRun_oneConfigLoop() 491 mScheduler.start(); in testRun_configSerial() 520 mScheduler.start(); in testRun_configExcludeSerial() [all …]
|
D | CommandSchedulerFuncTest.java | 196 mCommandScheduler.start(); in testRun_scheduling() 297 mCommandScheduler.start(); in testBatteryLowLevel() 339 mCommandScheduler.start(); in testBatteryLowLevel_interruptible() 366 mCommandScheduler.start(); in testShutdown_interruptible() 378 test.start(); in testShutdown_interruptible() 442 mCommandScheduler.start(); in testShutdown_notInterruptible() 454 shutdownThread.start(); in testShutdown_notInterruptible() 557 mCommandScheduler.start(); in testShutdown_notInterruptible_timeout() 569 shutdownThread.start(); in testShutdown_notInterruptible_timeout() 621 mCommandScheduler.start(); in testShutdown_invocation_timeout()
|
D | ConsoleTest.java | 98 mMockScheduler.start(); in testRun_withConsole() 107 mConsole.start(); in testRun_withConsole() 131 mMockScheduler.start(); in testRun_withConsoleInteractiveHelp() 138 mConsole.start(); in testRun_withConsoleInteractiveHelp() 170 mMockScheduler.start(); in testRun_withConsoleInteractive_noHelp() 176 mConsole.start(); in testRun_withConsoleInteractive_noHelp() 197 mMockScheduler.start(); in testRun_noConsole() 207 mConsole.start(); in testRun_noConsole()
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
D | FileUseMapEntry.java | 53 private final long start; field in FileUseMapEntry 73 private FileUseMapEntry(long start, long end, @Nullable T store) { in FileUseMapEntry() argument 74 Preconditions.checkArgument(start >= 0, "start < 0"); in FileUseMapEntry() 75 Preconditions.checkArgument(end > start, "end <= start"); in FileUseMapEntry() 77 this.start = start; in FileUseMapEntry() 89 public static FileUseMapEntry<Object> makeFree(long start, long end) { in makeFree() argument 90 return new FileUseMapEntry<>(start, end, null); in makeFree() 102 public static <T> FileUseMapEntry<T> makeUsed(long start, long end, @Nonnull T store) { in makeUsed() argument 104 return new FileUseMapEntry<>(start, end, store); in makeUsed() 114 return start; in getStart() [all …]
|
D | FileUseMap.java | 177 <T> FileUseMapEntry<T> add(long start, long end, @Nonnull T store) { 178 Preconditions.checkArgument(start >= 0, "start < 0"); 179 Preconditions.checkArgument(end > start, "end < start"); 181 FileUseMapEntry<T> entry = FileUseMapEntry.makeUsed(start, end, store); 218 long start = entry.getStart(); in split() local 222 Verify.verify(farStart <= start, "farStart > start"); in split() 223 Verify.verify(start < end, "start >= end"); in split() 227 if (farStart < start) { in split() 228 result.add(FileUseMapEntry.makeFree(farStart, start)); in split() 250 long start = entry.getStart(); in coalesce() local [all …]
|
D | ZFile.java | 613 long start = entry.getCentralDirectoryHeader().getOffset(); in readData() local 614 long end = start + entry.getInFileSize(); in readData() 629 Verify.verify(start >= 0, "start < 0"); in readData() 632 FileUseMapEntry<?> found = map.at(start); in readData() 674 FileUseMapEntry<StoredEntry> mapEntry = map.add(start, end, entry); in readData() 884 public InputStream directOpen(final long start, final long end) throws IOException { in directOpen() argument 887 Preconditions.checkArgument(start >= 0, "start < 0"); in directOpen() 888 Preconditions.checkArgument(end >= start, "end < start"); in directOpen() 892 private long mCurr = start; in directOpen() 2271 public void directWrite(long offset, @Nonnull byte[] data, int start, int count) in directWrite() argument [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/ |
D | RemoteManagerFuncTest.java | 83 mRemoteMgr.start(); in testAllocateFree() 101 mRemoteMgr.start(); in testAddCommand() 119 mRemoteMgr.start(); in testAddCommandFile() 141 mRemoteMgr.start(); in testAllocateClose() 165 mRemoteMgr.start(); in testAllocateFreeAll() 179 mRemoteMgr.start(); in testFree_unknown() 222 mRemoteMgr.start(); in testListDevices() 263 mRemoteMgr.start(); in testExecCommand() 306 mRemoteMgr.start(); in testConsecutiveExecCommand() 331 mRemoteMgr.start(); in testExecCommand_noallocate() [all …]
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/extractors/ |
D | ZlibExtractor.kt | 29 var start = buffer.indexOf(TRACE, 100) in findStart() variable 30 if (start == -1L) { in findStart() 31 start = 0L in findStart() 33 start += TRACE.length in findStart() 35 while (start < buffer.length && in findStart() 36 (buffer[start] == '\n'.toByte() || buffer[start] == '\r'.toByte())) { in findStart() 37 start++ in findStart() 39 return start in findStart() 97 val start = findStart(buffer) in extractorFor() constant 98 val toRead = minOf((buffer.length - start).toInt(), SIZE_TO_CHECK) in extractorFor() [all …]
|
/tools/apksig/src/main/java/com/android/apksig/ |
D | Hints.java | 42 final long start; field in Hints.ByteRange 45 public ByteRange(long start, long end) { in ByteRange() argument 46 this.start = start; in ByteRange() 73 if (rangeIn.end - rangeIn.start < this.offset) { in ClampToAbsoluteByteRange() 76 long rangeOutStart = rangeIn.start + this.offset; in ClampToAbsoluteByteRange() 93 out.writeInt(clampToInt(pinByteRange.start)); in encodeByteRangeList() 94 out.writeInt(clampToInt(pinByteRange.end - pinByteRange.start)); in encodeByteRangeList() 111 long start = Long.parseLong(fields[1]); in parsePinPatterns() local 113 pinPatterns.add(new PatternWithRange(fields[0], start, end - start)); in parsePinPatterns()
|
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/ |
D | dhcp_config.py | 33 start=None, argument 53 if start: 54 self.start = start 56 self.start = self.network[2] 58 if not self.start in self.network: 60 if self.start.is_reserved: 72 if self.end < self.start: 77 if router >= self.start and router <= self.end: 88 if host < self.start or host > self.end:
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | AndroidBinXmlParser.java | 792 private static ByteBuffer sliceFromTo(ByteBuffer source, long start, long end) { in sliceFromTo() argument 793 if (start < 0) { in sliceFromTo() 794 throw new IllegalArgumentException("start: " + start); in sliceFromTo() 796 if (end < start) { in sliceFromTo() 797 throw new IllegalArgumentException("end < start: " + end + " < " + start); in sliceFromTo() 803 return sliceFromTo(source, (int) start, (int) end); in sliceFromTo() 812 private static ByteBuffer sliceFromTo(ByteBuffer source, int start, int end) { in sliceFromTo() argument 813 if (start < 0) { in sliceFromTo() 814 throw new IllegalArgumentException("start: " + start); in sliceFromTo() 816 if (end < start) { in sliceFromTo() [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/audio_analysis_lib/ |
D | audio_analysis.py | 312 for start in range(0, len(signal), int(block_size / 2)): 313 end = start + block_size 314 test_signal = signal[start:end] 317 results.append(start) 357 start = anoms[0] 364 bounds.append((start, end)) 365 start = anoms[i+1] 366 bounds.append((start, end)) 429 start = moving_index 430 end = start + block_length [all …]
|
/tools/test/connectivity/acts/framework/tests/controllers/ |
D | iperf_server_test.py | 128 server.start() 140 server.start() 152 server.start() 184 server.start() 217 server.start() 229 server.start() 257 server.start() 293 server.start() 306 server.start() 335 server.start()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/ |
D | TextTypeParameterItem.kt | 107 var start = index + "extends ".length in bounds() variable 109 for (i in start until length) { in bounds() 112 add(list, typeString, start, i) in bounds() 113 start = i + 1 in bounds() 117 add(list, typeString, start, i) in bounds() 122 start = i + 1 in bounds() 126 if (start < length) { in bounds() 127 add(list, typeString, start, length) in bounds()
|
D | TextTypeParameterList.kt | 66 var start = 0 in typeParameterStrings() variable 75 add(list, s, start, i + 1) in typeParameterStrings() 76 start = i + 1 in typeParameterStrings() 78 add(list, s, start, i) in typeParameterStrings() 83 add(list, s, start, i) in typeParameterStrings() 89 start = i in typeParameterStrings()
|
D | ApiFile.java | 407 int start = tokenizer.offset() - 1; in getAnnotations() local 419 annotation += tokenizer.getStringFromOffset(start); in getAnnotations() 794 int start = tokenizer.offset() - 1; in parseTypeParameterList() local 805 String typeParameterList = tokenizer.getStringFromOffset(start); in parseTypeParameterList() 1073 final int start = mPos; in getToken() local 1095 mCurrent = new String(mBuf, start, mPos - start); in getToken() 1146 mCurrent = new String(mBuf, start, mPos - start); in getToken()
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/ |
D | BufferReader.kt | 79 reader.index = startIndex + matcher!!.start(group) in int() 84 return if (matcher!!.start(group) == -1) default else int(group) in intOr() 88 reader.index = startIndex + matcher!!.start(group) in double() 93 reader.index = startIndex + matcher!!.start(group) in long() 98 reader.index = startIndex + matcher!!.start(group) in string() 104 reader.index = startIndex + matcher!!.start(group) in slice() 110 reader.index = startIndex + matcher!!.start(group) in reader() 117 tempPreview.index = startIndex + matcher!!.start(group) in read()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/build/ |
D | FileDownloadCacheFuncTest.java | 104 downloadThread1.start(); in testFetchRemoteFile_concurrent() 105 downloadThread2.start(); in testFetchRemoteFile_concurrent() 171 downloadThread1.start(); in testFetchRemoteFile_multiConcurrent() 179 downloadThread2.start(); in testFetchRemoteFile_multiConcurrent() 180 downloadThread3.start(); in testFetchRemoteFile_multiConcurrent() 244 downloadThread1.start(); in testFetchRemoteFile_concurrentFail() 250 downloadThread2.start(); in testFetchRemoteFile_concurrentFail() 262 downloadThread3.start(); in testFetchRemoteFile_concurrentFail()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | ConditionPriorityBlockingQueueTest.java | 117 delayedAdd.start(); in testTake_delayedAdd() 141 delayedAdd.start(); in testTake_matcher_delayedAdd() 165 waiter.start(); in testTake_multiple_matchers() 176 waiter2.start(); in testTake_multiple_matchers() 189 delayedAdd.start(); in testTake_multiple_matchers() 201 delayedAdd2.start(); in testTake_multiple_matchers() 303 iterator.start(); in testModificationOnIterating()
|
/tools/test/connectivity/acts_tests/tests/google/bt/pts/instructions/ |
D | GAP_PTS_INSTRUCTIONS | 190 be the peer address in the PTS logs that start with: 208 be the peer address in the PTS logs that start with: 251 be the peer address in the PTS logs that start with: 268 be the peer address in the PTS logs that start with: 297 be the peer address in the PTS logs that start with: 318 be the peer address in the PTS logs that start with: 348 be the peer address in the PTS logs that start with: 462 [PTS Notification to start a non-connectable advertisement]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
D | LogcatTimingMetricCollectorTest.java | 100 verify(mMockReceiver).start(); in testCollect_oneDevice_perRun() 135 verify(mMockReceiver).start(); in testCollect_multipleDevice_perRun() 138 verify(mockReceiver).start(); in testCollect_multipleDevice_perRun() 158 verify(mMockReceiver).start(); in testCollect_onDevice_twoTests() 169 verify(mMockReceiver, times(2)).start(); in testCollect_onDevice_twoTests() 196 verify(mMockReceiver).start(); in testCollect_testFail()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | DeviceStateMonitorTest.java | 80 test.start(); in testWaitForDeviceOnline() 142 test.start(); in testWaitForDeviceOffline() 220 test.start(); in testWaitForShell_becomeAvailable() 301 test.start(); in testWaitForBoot_becomeComplete() 394 test.start(); in testWaitForPm_becomeResponsive() 610 test.start(); in testWaitForStoreMount_becomeAvailable() 661 test.start(); in testWaitForStoreMount_outputBecomeValid()
|
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/ |
D | Animator.kt | 22 fun animate(start: Double, end: Double, setter: (Double) -> Unit) { in animate() 23 AnimationPulse.register(Animator(start, end, setter)) in animate() 26 class Animator(val start: Double, val end: Double, val setter: (Double) -> Unit, val duration: Int … constant in traceviewer.ui.Animator 31 val value: Double = ((end - start) * frac) + start in animate()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/suite/checker/ |
D | LeakedThreadStatusCheckerTest.java | 47 thread.start(); in testNoLeakedThread() 58 leakThread.start(); in testLeakedThread() 60 thread.start(); in testLeakedThread() 77 leakThread.start(); in testLeakedThread_background() 79 thread.start(); in testLeakedThread_background()
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/ |
D | WlanRebootTest.py | 210 self.router_adv_daemon.start(radvd_config) 376 tx_file = iperf_client_on_dut.start(iperf_server_ip_address, 391 rx_file = iperf_client_on_dut.start(iperf_server_ip_address, 425 ping_proc.start() 586 self.iperf_server_on_ap.start() 638 self.iperf_server_on_ap.start()
|