Home
last modified time | relevance | path

Searched refs:any (Results 1 – 25 of 142) sorted by relevance

123456

/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DSandboxedInvocationExecutionTest.java18 import static org.mockito.ArgumentMatchers.any;
141 .saveLogData(any(), any(), any()); in testSandboxInvocation()
212 .saveLogData(any(), any(), any()); in testParentSandboxInvocation_sharding()
215 doReturn(result).when(mMockSandbox).run(any(), any()); in testParentSandboxInvocation_sharding()
237 .saveLogData(any(), any(), any()); in testParentSandboxInvocation()
240 doReturn(result).when(mMockSandbox).run(any(), any()); in testParentSandboxInvocation()
247 Mockito.verify(mMockPreparer, times(0)).setUp(any(), any()); in testParentSandboxInvocation()
248 Mockito.verify(mMockCleaner, times(0)).tearDown(any(), any(), any()); in testParentSandboxInvocation()
295 .saveLogData(any(), any(), any()); in testInvocation_sharding_notTests()
298 doReturn(result).when(mMockSandbox).run(any(), any()); in testInvocation_sharding_notTests()
[all …]
DShardMasterResultForwarderTest.java172 .saveLogData(Mockito.any(), Mockito.any(), Mockito.any()); in testForward_Sharded()
175 .testLog(Mockito.any(), Mockito.any(), Mockito.any()); in testForward_Sharded()
178 .testLogSaved(Mockito.any(), Mockito.any(), Mockito.any(), Mockito.any()); in testForward_Sharded()
DInvocationExecutionTest.java265 inOrder.verify(cleaner).setUp(Mockito.any(), Mockito.any()); in testDoSetup()
278 inOrder.verify(cleaner).tearDown(Mockito.any(), Mockito.any(), Mockito.any()); in testDoSetup()
313 inOrder.verify(cleaner).tearDown(Mockito.any(), Mockito.any(), Mockito.any()); in testDoTearDown()
353 inOrder.verify(cleaner).tearDown(Mockito.any(), Mockito.any(), Mockito.any()); in testDoTearDown_logger()
396 inOrder.verify(cleaner).tearDown(Mockito.any(), Mockito.any(), Mockito.any()); in testDoTearDown_exception()
/tools/tradefederation/core/src/com/android/tradefed/result/ddmlib/
DTestRunToTestInvocationForwarder.java68 } catch (RuntimeException any) { in testStarted()
72 CLog.e(any); in testStarted()
87 } catch (RuntimeException any) { in testStarted()
91 CLog.e(any); in testStarted()
105 } catch (RuntimeException any) { in testAssumptionFailure()
109 CLog.e(any); in testAssumptionFailure()
122 } catch (RuntimeException any) { in testFailed()
126 CLog.e(any); in testFailed()
139 } catch (RuntimeException any) { in testIgnored()
143 CLog.e(any); in testIgnored()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DRuntimeRestartCollectorTest.java18 import static org.mockito.Mockito.any;
124 .pushStatsConfig(any(ITestDevice.class), any(List.class)); in testStatsdInteractions_singleDevice()
127 .getEventMetricData(any(ITestDevice.class), anyLong()); in testStatsdInteractions_singleDevice()
130 .getStatsdMetadata(any(ITestDevice.class)); in testStatsdInteractions_singleDevice()
159 doReturn(CONFIG_ID_1).when(mCollector).pushStatsConfig(eq(testDevice1), any(List.class)); in testStatsdInteractions_multiDevice()
160 doReturn(CONFIG_ID_2).when(mCollector).pushStatsConfig(eq(testDevice2), any(List.class)); in testStatsdInteractions_multiDevice()
163 .getEventMetricData(any(ITestDevice.class), anyLong()); in testStatsdInteractions_multiDevice()
166 .getStatsdMetadata(any(ITestDevice.class)); in testStatsdInteractions_multiDevice()
201 .pushStatsConfig(any(ITestDevice.class), any(List.class)); in testAddingMetrics_noRuntimeRestart_noPriorRuntimeRestart()
204 .getEventMetricData(any(ITestDevice.class), anyLong()); in testAddingMetrics_noRuntimeRestart_noPriorRuntimeRestart()
[all …]
DRebootReasonCollectorTest.java18 import static org.mockito.Mockito.any;
66 doNothing().when(mCollector).removeConfig(any(ITestDevice.class), anyLong()); in setUp()
76 .pushStatsConfig(any(ITestDevice.class), any(List.class)); in testStatsdInteractions_singleDevice()
79 .getEventMetricData(any(ITestDevice.class), anyLong()); in testStatsdInteractions_singleDevice()
100 .pushStatsConfig(any(ITestDevice.class), any(List.class)); in testAddingMetrics_singleDevice()
107 .getEventMetricData(any(ITestDevice.class), anyLong()); in testAddingMetrics_singleDevice()
157 doReturn(CONFIG_ID_1).when(mCollector).pushStatsConfig(eq(testDevice1), any(List.class)); in testStatsdInteractions_multiDevice()
158 doReturn(CONFIG_ID_2).when(mCollector).pushStatsConfig(eq(testDevice2), any(List.class)); in testStatsdInteractions_multiDevice()
161 .getEventMetricData(any(ITestDevice.class), anyLong()); in testStatsdInteractions_multiDevice()
187 doReturn(CONFIG_ID_1).when(mCollector).pushStatsConfig(eq(testDevice1), any(List.class)); in testAddingMetrics_multiDevice()
[all …]
DIncidentReportCollectorTest.java18 import static org.mockito.ArgumentMatchers.any;
85 .testLog(anyString(), any(LogDataType.class), any(InputStreamSource.class)); in setUp()
138 any(FileInputStreamSource.class)); in testPullWithIncidentPrefix()
143 any(ByteArrayInputStreamSource.class)); in testPullWithIncidentPrefix()
157 verify(mInvocationListener, never()).testLog(any(), any(), any()); in testIgnoreOtherFilesProcessed()
158 verify(mMockTestDevice, never()).pullFile(any(String.class)); in testIgnoreOtherFilesProcessed()
175 verify(mInvocationListener).testLog(matches(".*incident.*"), any(), any()); in testIgnoreAndLogFailures()
177 verify(mInvocationListener, never()).testLog(matches(".*processed.*"), any(), any()); in testIgnoreAndLogFailures()
DFilePullerDeviceMetricCollectorTest.java90 .testLog(Mockito.eq("coverageFile"), Mockito.eq(LogDataType.TEXT), Mockito.any()); in testPullMatchingKey()
112 .testLog(Mockito.eq("coverageFile"), Mockito.eq(LogDataType.TEXT), Mockito.any()); in testPullMatchingKeyPattern()
135 .testLog(Mockito.eq("coverageFile"), Mockito.eq(LogDataType.TEXT), Mockito.any()); in testMetricFileProcessingFlow()
137 Mockito.eq(LogDataType.TEXT), Mockito.any()); in testMetricFileProcessingFlow()
140 Mockito.eq(LogDataType.TEXT), Mockito.any()); in testMetricFileProcessingFlow()
158 .testLog(Mockito.eq("coverageFile"), Mockito.eq(LogDataType.TEXT), Mockito.any()); in testPatternNotMatching()
174 Mockito.any(File.class))).thenReturn(true); in testPullMatchingDirectory()
181 Mockito.any()); in testPullMatchingDirectory()
DIonHeapInfoMetricCollectorTest.java19 import static org.mockito.ArgumentMatchers.any;
66 .testLog(anyString(), eq(LogDataType.TEXT), any(InputStreamSource.class)); in setup()
71 any(ITestDevice.class), eq("cat /d/ion/heaps/system"), anyString()); in setup()
75 any(ITestDevice.class), eq("cat /d/ion/heaps/audio"), anyString()); in setup()
87 verify(mListener).testLog(eq("ion-system-2"), eq(LogDataType.TEXT), any()); in testCollect()
88 verify(mListener).testLog(eq("ion-audio-1"), eq(LogDataType.TEXT), any()); in testCollect()
DPerfettoPullerMetricCollectorTest.java102 Mockito.doReturn(cr).when(mPerfettoMetricCollector).runHostCommand(Mockito.any()); in testProcessingFlow()
107 Mockito.verify(mPerfettoMetricCollector).runHostCommand(Mockito.any()); in testProcessingFlow()
109 .testLog(Mockito.eq("trace"), Mockito.eq(LogDataType.PB), Mockito.any()); in testProcessingFlow()
134 Mockito.doReturn(cr).when(mPerfettoMetricCollector).runHostCommand(Mockito.any()); in testScriptFailureStatus()
139 Mockito.verify(mPerfettoMetricCollector).runHostCommand(Mockito.any()); in testScriptFailureStatus()
141 .testLog(Mockito.eq("trace"), Mockito.eq(LogDataType.PB), Mockito.any()); in testScriptFailureStatus()
DBaseDeviceMetricCollectorTest.java83 Mockito.verify(mMockListener, times(1)).invocationStarted(Mockito.any()); in testInitAndForwarding()
87 .testLog(Mockito.eq("dataname"), Mockito.eq(LogDataType.TEXT), Mockito.any()); in testInitAndForwarding()
99 Mockito.verify(mMockListener, times(1)).invocationFailed(Mockito.any()); in testInitAndForwarding()
155 Mockito.verify(mMockListener, times(1)).invocationStarted(Mockito.any()); in testForwarding_withException()
159 .testLog(Mockito.eq("dataname"), Mockito.eq(LogDataType.TEXT), Mockito.any()); in testForwarding_withException()
171 Mockito.verify(mMockListener, times(1)).invocationFailed(Mockito.any()); in testForwarding_withException()
312 Mockito.verify(mMockListener, times(1)).invocationStarted(Mockito.any()); in verifyFiltering()
427 .testRunEnded(Mockito.anyLong(), (HashMap<String, Metric>) Mockito.any()); in testActualRunAnnotated_include()
475 .testRunEnded(Mockito.anyLong(), (HashMap<String, Metric>) Mockito.any()); in testActualRunAnnotated_exclude()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/binary/
DExecutableHostTestTest.java19 import static org.mockito.ArgumentMatchers.any;
76 verify(mMockListener, times(0)).testRunStarted(any(), anyInt()); in testRunHostExecutable_noBinaries()
91 .testRunEnded(eq(0L), Mockito.<HashMap<String, Metric>>any()); in testRunHostExecutable_doesNotExists()
109 verify(mMockListener, Mockito.times(0)).testRunFailed(any()); in testRunHostExecutable()
110 verify(mMockListener, Mockito.times(0)).testFailed(any(), any()); in testRunHostExecutable()
112 .testRunEnded(Mockito.anyLong(), Mockito.<HashMap<String, Metric>>any()); in testRunHostExecutable()
145 verify(mMockListener, Mockito.times(0)).testFailed(any(), any()); in testRunHostExecutable_dnae()
147 .testRunEnded(Mockito.anyLong(), Mockito.<HashMap<String, Metric>>any()); in testRunHostExecutable_dnae()
173 verify(mMockListener, Mockito.times(0)).testRunFailed(any()); in testRunHostExecutable_search()
174 verify(mMockListener, Mockito.times(0)).testFailed(any(), any()); in testRunHostExecutable_search()
[all …]
/tools/security/sanitizer-status/
DNOTICE43 "Object" form shall mean any form resulting from mechanical
53 "Derivative Works" shall mean any work, whether in Source or Object
61 "Contribution" shall mean any work of authorship, including
62 the original version of the Work and any modifications or additions
67 means any form of electronic, verbal, or written communication sent
75 "Contributor" shall mean Licensor and any individual or Legal Entity
95 institute patent litigation against any entity (including a
98 or contributory patent infringement, then any patent licenses
103 Work or Derivative Works thereof in any medium, with or without
107 (a) You must give any other recipients of the Work or
[all …]
/tools/trebuchet/
DLICENSE31 "Object" form shall mean any form resulting from mechanical
41 "Derivative Works" shall mean any work, whether in Source or Object
49 "Contribution" shall mean any work of authorship, including
50 the original version of the Work and any modifications or additions
55 means any form of electronic, verbal, or written communication sent
63 "Contributor" shall mean Licensor and any individual or Legal Entity
83 institute patent litigation against any entity (including a
86 or contributory patent infringement, then any patent licenses
91 Work or Derivative Works thereof in any medium, with or without
95 (a) You must give any other recipients of the Work or
[all …]
/tools/apksig/
DLICENSE43 "Object" form shall mean any form resulting from mechanical
53 "Derivative Works" shall mean any work, whether in Source or Object
61 "Contribution" shall mean any work of authorship, including
62 the original version of the Work and any modifications or additions
67 means any form of electronic, verbal, or written communication sent
75 "Contributor" shall mean Licensor and any individual or Legal Entity
95 institute patent litigation against any entity (including a
98 or contributory patent infringement, then any patent licenses
103 Work or Derivative Works thereof in any medium, with or without
107 (a) You must give any other recipients of the Work or
[all …]
/tools/acloud/
DLICENSE31 "Object" form shall mean any form resulting from mechanical
41 "Derivative Works" shall mean any work, whether in Source or Object
49 "Contribution" shall mean any work of authorship, including
50 the original version of the Work and any modifications or additions
55 means any form of electronic, verbal, or written communication sent
63 "Contributor" shall mean Licensor and any individual or Legal Entity
83 institute patent litigation against any entity (including a
86 or contributory patent infringement, then any patent licenses
91 Work or Derivative Works thereof in any medium, with or without
95 (a) You must give any other recipients of the Work or
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/sandbox/
DParentSandboxInvocationExecutionTest.java94 verify(mMockFactory, times(0)).createConfigurationFromArgs(Mockito.any()); in testDefaultSkipSetup_tearDown()
114 verify(mMockFactory, times(1)).createConfigurationFromArgs(Mockito.any()); in testParentConfig()
115 verify(mMockPreparer, times(1)).setUp(Mockito.any(), Mockito.any()); in testParentConfig()
116 verify(mMockPreparer, times(1)).tearDown(Mockito.any(), Mockito.any(), Mockito.any()); in testParentConfig()
140 verify(mMockFactory, times(1)).createConfigurationFromArgs(Mockito.any()); in testParentConfig_errorStage()
141 verify(mMockPreparer, times(1)).setUp(Mockito.any(), Mockito.any()); in testParentConfig_errorStage()
142 verify(mMockPreparer, times(1)).tearDown(Mockito.any(), Mockito.any(), Mockito.any()); in testParentConfig_errorStage()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DInstrumentationTestTest.java25 import static org.mockito.ArgumentMatchers.any;
162 any(IRemoteAndroidTestRunner.class), any(ITestInvocationListener.class)); in testRun()
171 .runInstrumentationTests(eq(runner.getValue()), any(ITestLifeCycleReceiver.class)); in testRun()
296 any(IRemoteAndroidTestRunner.class), any(ITestLifeCycleReceiver.class)); in testRun_rerunEmpty()
348 any(IRemoteAndroidTestRunner.class), any(ITestLifeCycleReceiver.class)); in testRun_rerun()
419 any(IRemoteAndroidTestRunner.class), any(ITestLifeCycleReceiver.class)); in testRun_rerun_Parameterized()
487 any(IRemoteAndroidTestRunner.class), any(ITestLifeCycleReceiver.class)); in testRun_rerunCoverage()
533 any(IRemoteAndroidTestRunner.class), any(ITestLifeCycleReceiver.class)); in testRun_mergedCoverage()
548 .testLog(eq("merged_runtime_coverage"), eq(LogDataType.COVERAGE), any()); in testRun_mergedCoverage()
595 any(IRemoteAndroidTestRunner.class), any(ITestInvocationListener.class)); in testRun_rebootBeforeReRun()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DTestsPoolPollerTest.java122 .testRunEnded(Mockito.anyLong(), Mockito.<HashMap<String, Metric>>any()); in testPollingRun()
153 .testRunEnded(Mockito.anyLong(), Mockito.<HashMap<String, Metric>>any()); in testRun_runtimeException()
184 .testRunEnded(Mockito.anyLong(), Mockito.<HashMap<String, Metric>>any()); in testRun_deviceUnresponsive()
223 .testRunEnded(Mockito.anyLong(), Mockito.<HashMap<String, String>>any()); in testRun_dnae()
229 Mockito.any()); in testRun_dnae()
278 .testRunEnded(Mockito.anyLong(), Mockito.<HashMap<String, Metric>>any()); in testRun_dnae_reportNotExecuted()
284 Mockito.any()); in testRun_dnae_reportNotExecuted()
317 Mockito.verify(mListener, Mockito.times(numTests)).testStarted(Mockito.any()); in testRun_dnae_NotLastDevice()
319 .testEnded(Mockito.any(), Mockito.<HashMap<String, Metric>>any()); in testRun_dnae_NotLastDevice()
321 .testRunEnded(Mockito.anyLong(), Mockito.<HashMap<String, Metric>>any()); in testRun_dnae_NotLastDevice()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/
DRemoteManagerTest.java111 doReturn(true).when(mMockScheduler).addCommand(Mockito.any(), Mockito.anyLong()); in testProcessClientOperations_addCommand()
121 verify(mMockScheduler).addCommand(Mockito.any(), Mockito.eq(5l)); in testProcessClientOperations_addCommand()
127 doReturn(false).when(mMockScheduler).addCommand(Mockito.any(), Mockito.anyLong()); in testProcessClientOperations_addCommand_fail()
137 verify(mMockScheduler).addCommand(Mockito.any(), Mockito.eq(5l)); in testProcessClientOperations_addCommand_fail()
145 .addCommand(Mockito.any(), Mockito.anyLong()); in testProcessClientOperations_addCommand_config()
158 verify(mMockScheduler).addCommand(Mockito.any(), Mockito.eq(5l)); in testProcessClientOperations_addCommand_config()
190 verify(mMockDeviceTracker).allocateDevice(Mockito.any()); in testProcessClientOperations_allocateDevice()
208 verify(mMockDeviceManager, Mockito.times(0)).freeDevice(Mockito.any(), Mockito.any()); in testProcessClientOperations_processFree_notFound()
252 .freeDevice(Mockito.any(), Mockito.eq(FreeDeviceState.AVAILABLE)); in testProcessClientOperations_processFree_wildcard()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DInstallApexModuleTargetPreparerTest.java362 when(mMockBundletoolUtil.generateDeviceSpecFile(Mockito.any(ITestDevice.class))) in testSetupAndTearDown_ApkAndApks()
372 Mockito.any(ITestDevice.class), in testSetupAndTearDown_ApkAndApks()
373 Mockito.any(IBuildInfo.class))) in testSetupAndTearDown_ApkAndApks()
403 .generateDeviceSpecFile(Mockito.any(ITestDevice.class)); in testSetupAndTearDown_ApkAndApks()
408 Mockito.any(ITestDevice.class), in testSetupAndTearDown_ApkAndApks()
409 Mockito.any(IBuildInfo.class)); in testSetupAndTearDown_ApkAndApks()
531 when(mMockBundletoolUtil.generateDeviceSpecFile(Mockito.any(ITestDevice.class))) in testInstallUsingBundletool()
544 Mockito.any(ITestDevice.class), in testInstallUsingBundletool()
545 Mockito.any(IBuildInfo.class))) in testInstallUsingBundletool()
551 Mockito.any(ITestDevice.class), in testInstallUsingBundletool()
[all …]
DAoaTargetPreparerTest.java18 import static org.mockito.ArgumentMatchers.any;
61 when(mUsb.getAoaDevice(any(), any())).thenReturn(mDevice); in setUp()
76 verify(mUsb, times(1)).getAoaDevice(any(), eq(Duration.ofSeconds(1L))); in testSetUp()
86 verify(mPreparer, never()).execute(eq(mDevice), any()); in testSetUp_noActions()
94 when(mUsb.getAoaDevice(any(), any())).thenReturn(null); // device not found or incompatible in testSetUp_noDevice()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/statsd/
DMetricUtilTest.java20 import static org.mockito.Mockito.any;
171 any(CollectingByteOutputReceiver.class)); in testNonEmptyMetricReportList()
196 any(CollectingByteOutputReceiver.class)); in testEmptyMetricReportList()
219 any(CollectingByteOutputReceiver.class)); in testMultipleReportsInReportList_differentAtoms()
247 any(CollectingByteOutputReceiver.class)); in testMultipleReportsInReportList_sameAtom()
272 any(CollectingByteOutputReceiver.class)); in testInvalidDumpedReportThrows()
291 any(CollectingByteOutputReceiver.class)); in testGettingStatsdStats()
302 any(CollectingByteOutputReceiver.class)); in testInvalidStatsdStatsThrows()
DConfigUtilTest.java20 import static org.mockito.ArgumentMatchers.any;
67 when(mTestDevice.pushFile(any(File.class), anyString())).thenReturn(true); in testPushDeviceConfig()
82 verify(mTestDevice, times(1)).pushFile(any(File.class), anyString()); in testPushDeviceConfig()
91 when(mTestDevice.pushFile(any(File.class), anyString())).thenReturn(true); in testPushInvalidDeviceConfig()
117 when(mTestDevice.pushFile(any(File.class), anyString())).thenReturn(true); in testPushBinaryDeviceConfig()
/tools/external/fat32lib/
DNOTICE17 …se or the ordinary General Public License is the better strategy to use in any particular case, ba…
29any free program. We wish to make sure that a company cannot effectively restrict the users of a f…
47 0. This License Agreement applies to any software library or other program which contains a notice …
51 …rs to any such software library or work which has been distributed under these terms. A "work base…
53 …te source code means all the source code for all modules it contains, plus any associated interfac…
57any medium, provided that you conspicuously and appropriately publish on each copy an appropriate …
61 2. You may modify your copy or copies of the Library or any portion of it, thus forming a work base…
64 … modified to carry prominent notices stating that you changed the files and the date of any change.
67 …ned independent of the application. Therefore, Subsection 2d requires that any application-supplie…
75 …eared, then you can specify that version instead if you wish.) Do not make any other change in the…
[all …]

123456