Home
last modified time | relevance | path

Searched refs:reset (Results 1 – 25 of 67) sorted by relevance

123

/tools/tradefederation/core/src/com/android/tradefed/suite/checker/
DShellStatusChecker.java62 boolean reset; in preExecutionCheck()
64 reset = device.enableAdbRoot(); in preExecutionCheck()
66 reset = device.disableAdbRoot(); in preExecutionCheck()
68 if (!reset) { in preExecutionCheck()
90 boolean reset; in postExecutionCheck()
92 reset = device.enableAdbRoot(); in postExecutionCheck()
94 reset = device.disableAdbRoot(); in postExecutionCheck()
96 if (!reset) { in postExecutionCheck()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/recovery/
DUsbResetMultiDeviceRecoveryTest.java103 verify(mUsb.getDevice(SERIAL), never()).reset(); in testRecover_available()
116 verify(mUsb.getDevice(SERIAL), times(1)).reset(); in testRecover_unavailable()
130 verify(mUsb.getDevice(SERIAL), never()).reset(); in testRecover_fastboot_allocated()
144 verify(mUsb.getDevice(SERIAL), times(1)).reset(); in testRecover_fastboot_unallocated()
156 verify(mUsb.getDevice(SERIAL), times(1)).reset(); in testRecover_notManaged()
169 verify(mUsb.getDevice(SERIAL), never()).reset(); in testRecover_notConnected()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DZFileNotificationTest.java49 reset(); in KeepListener()
91 void reset() { in reset() method in ZFileNotificationTest.KeepListener
146 kl.reset(); in notifyRemoveFile()
170 kl.reset(); in notifyUpdateFile()
195 kl.reset(); in notifyOpenUpdateClose()
219 kl.reset(); in notifyOpenUpdate()
242 kl.reset(); in notifyUpdate()
246 kl.reset(); in notifyUpdate()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DAbiFormatterTest.java58 EasyMock.reset(device); in testGetDefaultAbi()
64 EasyMock.reset(device); in testGetDefaultAbi()
82 EasyMock.reset(device); in testGetSupportedAbis()
89 EasyMock.reset(device); in testGetSupportedAbis()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DWifiHelperTest.java150 EasyMock.reset(mMockDevice); in testEnsureDeviceSetup_alternateVersionPattern()
161 EasyMock.reset(mMockDevice); in testEnsureDeviceSetup_lowerVersion()
174 EasyMock.reset(mMockDevice); in testEnsureDeviceSetup_alternateWifiUtilAPKPath()
188 EasyMock.reset(mMockDevice); in testEnsureDeviceSetup_deleteAPK()
DWaitDeviceRecoveryTest.java130 verify(mockDevice).reset(); in testRecoverDevice_unavailable_recovers()
155 verify(mockDevice).reset(); in testRecoverDevice_unavailable_recovery()
179 verify(mockDevice).reset(); in testRecoverDevice_unavailable_recovery_fail()
/tools/test/connectivity/acts/framework/acts/test_utils/power/
DPowerBTBaseTest.py92 self.bt_device.reset()
110 self.bt_device.reset()
121 self.bt_device.reset()
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
DA2dpBaseTest.py81 self.bt_device.reset()
93 self.bt_device.reset()
110 self.bt_device.reset()
DBtSarBaseTest.py127 self.bt_device.reset()
146 self.bt_device.reset()
162 self.bt_device.reset()
Dconfig_lib.py45 def reset(self): member in ConfigLib
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/
DBuilders.kt25 private val reset: (P) -> P = ::noReset) { in noReset() constant in trebuchet.util.StartEndBuilder
43 garbage.add(reset(p)) in noReset()
DBufferReader.kt147 fun reset(slice: DataSlice, stringCache: StringCache?) { in reset() method in trebuchet.util.BufferReader
155 this.reset(slice, stringCache) in read()
222 matcher.reset(charWrapper) in tryMatch()
DByteArrayList.kt57 fun reset(initialCapacity: Int = 10): DataSlice { in reset() method
/tools/tradefederation/core/src/com/android/tradefed/result/
DBugreportCollector.java413 void reset() { in reset() method in BugreportCollector
440 reset(); in testEnded()
449 reset(); in testFailed()
458 reset(); in testAssumptionFailure()
/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DFileDownloadCacheTest.java120 EasyMock.reset(mMockDownloader); in testFetchRemoteFile_cacheHit()
140 EasyMock.reset(mMockDownloader); in testFetchRemoteFile_cacheHit_notFresh()
228 EasyMock.reset(mMockDownloader); in testFetchRemoteFile_cacheMissing()
266 EasyMock.reset(mMockDownloader); in testFetchRemoteFile_copyFailed()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/utils/
DCachedSupplierTest.java84 public void reset() { in reset() method in CachedSupplierTest
95 cs.reset(); in reset()
/tools/loganalysis/src/com/android/loganalysis/parser/
DMonkeyLogParser.java185 reset(); in parseLine()
306 reset(); in addCrashAndReset()
312 private void reset() { in reset() method in MonkeyLogParser
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DUsbResetTestTest.java78 verify(usbDevice).reset(); in testReset()
91 verify(usbDevice).reset(); in testReset_recovery()
/tools/dexter/slicer/export/slicer/
Dwriter.h86 values_.reset(new T[count]); in Init()
93 values_.reset(); in Free()
/tools/dexter/dexter/
Ddissasembler.cc331 cfg.reset(new lir::ControlFlowGraph(&code_ir, false)); in Dissasemble()
334 cfg.reset(new lir::ControlFlowGraph(&code_ir, true)); in Dissasemble()
/tools/test/connectivity/acts/framework/acts/test_utils/power/tel_simulations/
DLteCaSimulation.py142 reset=False)
234 reset=False)
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/utils/
DCachedSupplier.java91 public synchronized void reset() { in reset() method in CachedSupplier
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DIssueConfiguration.kt50 fun reset() { in reset() method
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationTest.java415 EasyMock.reset(mMockLogger, mMockLogRegistry); in testInvoke_buildFailed()
453 EasyMock.reset(mMockLogger, mMockLogRegistry); in testInvoke_buildFailed_runtimeException()
487 EasyMock.reset(mMockLogger, mMockLogRegistry); in testInvoke_noBuild()
524 EasyMock.reset(mMockLogger, mMockLogRegistry); in testInvoke_noBuild_noHostLog()
1298 EasyMock.reset(mMockLogger, mMockLogRegistry); in testInvoke_shardableTest_legacy()
1369 EasyMock.reset(mMockLogger, mMockLogRegistry); in testInvoke_shardableTest_autoRetry()
2062 EasyMock.reset(mMockSummaryListener); in testProcessorCollectionChain()
2116 EasyMock.reset(mMockSummaryListener); in testProcessorCollectionChain_logSaver()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DUsbResetTest.java54 usbDevice.reset(); in run()

123