/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
D | PerfettoPullerMetricCollectorTest.java | 108 Mockito.any(), Mockito.any(), Mockito.any()); in testProcessingFlow() 114 Mockito.any(), Mockito.any(), Mockito.any()); in testProcessingFlow() 116 .testLog(Mockito.eq("trace"), Mockito.eq(LogDataType.PERFETTO), Mockito.any()); in testProcessingFlow() 143 Mockito.any(), Mockito.any(), Mockito.any()); in testCompressedProcessingFlow() 150 Mockito.any(), Mockito.any(), Mockito.any()); in testCompressedProcessingFlow() 152 Mockito.eq(LogDataType.GZIP), Mockito.any()); in testCompressedProcessingFlow() 179 Mockito.any(), Mockito.any(), Mockito.any()); in testScriptFailureStatus() 185 Mockito.any(), Mockito.any(), Mockito.any()); in testScriptFailureStatus() 187 .testLog(Mockito.eq("trace"), Mockito.eq(LogDataType.PERFETTO), Mockito.any()); in testScriptFailureStatus() 216 Mockito.any(), Mockito.any(), Mockito.any()); in testBinaryArgs() [all …]
|
D | RuntimeRestartCollectorTest.java | 18 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 …]
|
D | RebootReasonCollectorTest.java | 18 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() 170 doReturn(CONFIG_ID_1).when(mCollector).pushStatsConfig(eq(testDevice1), any(List.class)); in testStatsdInteractions_multiDevice() 171 doReturn(CONFIG_ID_2).when(mCollector).pushStatsConfig(eq(testDevice2), any(List.class)); in testStatsdInteractions_multiDevice() 174 .getEventMetricData(any(ITestDevice.class), anyLong()); in testStatsdInteractions_multiDevice() 202 doReturn(CONFIG_ID_1).when(mCollector).pushStatsConfig(eq(testDevice1), any(List.class)); in testAddingMetrics_multiDevice() [all …]
|
D | IncidentReportCollectorTest.java | 18 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()
|
D | FilePullerDeviceMetricCollectorTest.java | 94 .testLog(Mockito.eq("coverageFile"), Mockito.eq(LogDataType.TEXT), Mockito.any()); in testPullMatchingKey() 120 .testLog(Mockito.eq("coverageFile"), Mockito.eq(LogDataType.TEXT), Mockito.any()); in testPullMultipleMatchingKeyInMetrics() 123 Mockito.any()); in testPullMultipleMatchingKeyInMetrics() 145 .testLog(Mockito.eq("coverageFile"), Mockito.eq(LogDataType.TEXT), Mockito.any()); in testPullMatchingKeyPattern() 168 .testLog(Mockito.eq("coverageFile"), Mockito.eq(LogDataType.TEXT), Mockito.any()); in testMetricFileProcessingFlow() 170 Mockito.eq(LogDataType.TEXT), Mockito.any()); in testMetricFileProcessingFlow() 173 Mockito.eq(LogDataType.TEXT), Mockito.any()); in testMetricFileProcessingFlow() 191 .testLog(Mockito.eq("coverageFile"), Mockito.eq(LogDataType.TEXT), Mockito.any()); in testPatternNotMatching() 207 Mockito.any(File.class))).thenReturn(true); in testPullMatchingDirectory() 214 Mockito.any()); in testPullMatchingDirectory()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/binary/ |
D | ExecutableHostTestTest.java | 19 import static org.mockito.ArgumentMatchers.any; 90 verify(mMockListener, times(0)).testRunStarted(any(), anyInt()); in testRunHostExecutable_noBinaries() 109 .testRunEnded(eq(0L), Mockito.<HashMap<String, Metric>>any()); in testRunHostExecutable_doesNotExists() 124 (OutputStream) Mockito.any(), in testRunHostExecutable() 125 Mockito.any(), in testRunHostExecutable() 131 verify(mMockListener, Mockito.times(0)).testRunFailed((String) any()); in testRunHostExecutable() 132 verify(mMockListener, Mockito.times(0)).testFailed(any(), (String) any()); in testRunHostExecutable() 134 .testRunEnded(Mockito.anyLong(), Mockito.<HashMap<String, Metric>>any()); in testRunHostExecutable() 153 (OutputStream) Mockito.any(), in testRunHostExecutable_relativePath() 154 Mockito.any(), in testRunHostExecutable_relativePath() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | SandboxedInvocationExecutionTest.java | 20 import static org.mockito.ArgumentMatchers.any; 156 .saveLogData(any(), any(), any()); in testSandboxInvocation() 228 .saveLogData(any(), any(), any()); in testParentSandboxInvocation_sharding() 231 doReturn(result).when(mMockSandbox).run(any(), any()); in testParentSandboxInvocation_sharding() 253 .saveLogData(any(), any(), any()); in testParentSandboxInvocation() 257 doReturn(result).when(mMockSandbox).run(any(), any()); in testParentSandboxInvocation() 264 Mockito.verify(mMockPreparer, times(0)).setUp(any()); in testParentSandboxInvocation() 265 Mockito.verify(mMockCleaner, times(0)).tearDown(any(), any()); in testParentSandboxInvocation() 312 .saveLogData(any(), any(), any()); in testInvocation_sharding_notTests() 315 doReturn(result).when(mMockSandbox).run(any(), any()); in testInvocation_sharding_notTests() [all …]
|
D | InvocationExecutionTest.java | 224 .testLog(Mockito.eq("TestStub#test1-file"), Mockito.any(), Mockito.any()); in testRun_autoRetry() 256 .testLog(Mockito.eq("TestStub#test1-file"), Mockito.any(), Mockito.any()); in testRun_autoRetry_throughForwarder() 258 .logAssociation(Mockito.eq("TestStub#test1-file"), Mockito.any()); in testRun_autoRetry_throughForwarder() 338 inOrder.verify(cleaner).setUp(Mockito.any()); in testDoSetup() 351 inOrder.verify(cleaner).tearDown(Mockito.any(), Mockito.any()); in testDoSetup() 387 inOrder.verify(cleaner).setUp(Mockito.any()); in testDoTearDown() 398 inOrder.verify(cleaner).tearDown(Mockito.any(), Mockito.any()); in testDoTearDown() 484 inOrder.verify(cleaner).setUp(Mockito.any()); in testDoTearDown_logger() 495 inOrder.verify(cleaner).tearDown(Mockito.any(), Mockito.any()); in testDoTearDown_logger() 539 inOrder.verify(cleaner).setUp(Mockito.any()); in testDoTearDown_exception() [all …]
|
D | ShardMainResultForwarderTest.java | 172 .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()
|
/tools/security/sanitizer-status/ |
D | NOTICE | 43 "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/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | InstrumentationTestTest.java | 25 import static org.mockito.ArgumentMatchers.any; 185 any(IRemoteAndroidTestRunner.class), any(ITestInvocationListener.class)); in testRun() 194 .runInstrumentationTests(eq(runner.getValue()), any(ITestLifeCycleReceiver.class)); in testRun() 344 any(IRemoteAndroidTestRunner.class), any(ITestLifeCycleReceiver.class)); in testRun_rerunEmpty() 393 any(IRemoteAndroidTestRunner.class), any(ITestLifeCycleReceiver.class)); in testRun_betterFailure() 457 any(IRemoteAndroidTestRunner.class), any(ITestLifeCycleReceiver.class)); in testRun_rerun() 469 inOrder.verify(mMockListener).testFailed(eq(TEST2), (FailureDescription) any()); in testRun_rerun() 511 any(IRemoteAndroidTestRunner.class), any(ITestLifeCycleReceiver.class)); in testRun_duplicate() 562 any(IRemoteAndroidTestRunner.class), any(ITestLifeCycleReceiver.class)); in testRun_duplicate_disable() 629 any(IRemoteAndroidTestRunner.class), any(ITestLifeCycleReceiver.class)); in testRun_rerun_Parameterized() [all …]
|
/tools/acloud/ |
D | LICENSE | 31 "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/test/openhst/ |
D | LICENSE | 31 "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/ |
D | LICENSE | 43 "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/treble/ |
D | LICENSE | 31 "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/trebuchet/ |
D | LICENSE | 31 "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/src/com/android/tradefed/result/ddmlib/ |
D | TestRunToTestInvocationForwarder.java | 76 } catch (RuntimeException any) { in testStarted() 80 CLog.e(any); in testStarted() 94 } catch (RuntimeException any) { in testAssumptionFailure() 98 CLog.e(any); in testAssumptionFailure() 112 } catch (RuntimeException any) { in testFailed() 116 CLog.e(any); in testFailed() 129 } catch (RuntimeException any) { in testIgnored() 133 CLog.e(any); in testIgnored() 159 } catch (RuntimeException any) { in testEnded() 163 CLog.e(any); in testEnded() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/ |
D | ClusterCommandLauncherTest.java | 140 Mockito.<OutputStream>any(), in testRun() 141 Mockito.<OutputStream>any(), in testRun() 142 Mockito.<String[]>any())) in testRun() 155 Mockito.<OutputStream>any(), in testRun() 156 Mockito.<OutputStream>any(), in testRun() 186 Mockito.<OutputStream>any(), in testRun_withSetupScripts() 187 Mockito.<OutputStream>any(), in testRun_withSetupScripts() 188 Mockito.<String[]>any())) in testRun_withSetupScripts() 204 Mockito.<OutputStream>any(), in testRun_withSetupScripts() 205 Mockito.<OutputStream>any(), in testRun_withSetupScripts() [all …]
|
D | ClusterCommandSchedulerTest.java | 25 import static org.mockito.ArgumentMatchers.any; 1424 Mockito.when(mMockClusterClient.getCommandState(any(), any())) 1437 Mockito.verify(mMockClusterClient, Mockito.times(1)).getCommandState(any(), any()); 1453 Mockito.when(mMockClusterClient.getCommandState(any(), any())) 1476 Mockito.verify(mMockClusterClient, Mockito.times(4)).getCommandState(any(), any()); 1498 Mockito.when(mMockApiHelper.execute(any(), any(), any(), any())) 1504 Mockito.when(mMockApiHelper.execute(any(), any(), any(), any())) 1510 Mockito.when(mMockApiHelper.execute(any(), any(), any(), any())) 1515 Mockito.verify(mMockApiHelper, Mockito.times(3)).execute(any(), any(), any(), any());
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/mobly/ |
D | MoblyBinaryHostTestTest.java | 29 import static org.mockito.ArgumentMatchers.any; 110 Mockito.when(mMockRunUtil.runTimedCmd(anyLong(), any())) in testRun_withPythonBinariesOption() 126 verify(mSpyTest.getRunUtil()).runTimedCmd(anyLong(), any()); in testRun_withPythonBinariesOption() 138 verify(mSpyTest, never()).reportLogs(any(), any()); in testRun_withPythonBinariesOption_binaryNotFound() 147 Mockito.when(mMockRunUtil.runTimedCmd(anyLong(), any())) in testRun_withParFileNameOption() 163 verify(mSpyTest.getRunUtil()).runTimedCmd(anyLong(), any()); in testRun_withParFileNameOption() 178 verify(mSpyTest, never()).reportLogs(any(), any()); in testRun_withParFileNameOption_binaryNotFound() 193 Mockito.when(mMockRunUtil.runTimedCmd(anyLong(), any())) in testRun_testResultIsMissing() 220 Mockito.doNothing().when(mSpyTest).reportLogs(any(), any()); in testBuildCommandLineArrayWithOutConfig() 240 Mockito.doNothing().when(mSpyTest).reportLogs(any(), any()); in testBuildCommandLineArrayWithConfig() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | InstallApexModuleTargetPreparerTest.java | 712 when(mMockBundletoolUtil.generateDeviceSpecFile(Mockito.any(ITestDevice.class))) in testSetupAndTearDown_ApkAndApks() 722 Mockito.any(ITestDevice.class), in testSetupAndTearDown_ApkAndApks() 723 Mockito.any(IBuildInfo.class))) in testSetupAndTearDown_ApkAndApks() 761 .generateDeviceSpecFile(Mockito.any(ITestDevice.class)); in testSetupAndTearDown_ApkAndApks() 768 Mockito.any(ITestDevice.class), in testSetupAndTearDown_ApkAndApks() 769 Mockito.any(IBuildInfo.class)); in testSetupAndTearDown_ApkAndApks() 910 when(mMockBundletoolUtil.generateDeviceSpecFile(Mockito.any(ITestDevice.class))) in testInstallUsingBundletool() 923 Mockito.any(ITestDevice.class), in testInstallUsingBundletool() 924 Mockito.any(IBuildInfo.class))) in testInstallUsingBundletool() 930 Mockito.any(ITestDevice.class), in testInstallUsingBundletool() [all …]
|
/tools/external/fat32lib/ |
D | NOTICE | 17 …se or the ordinary General Public License is the better strategy to use in any particular case, ba… 29 …any 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… 57 …any 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 …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/ |
D | TestsPoolPollerTest.java | 142 .testRunEnded(Mockito.anyLong(), Mockito.<HashMap<String, Metric>>any()); in testPollingRun() 176 .testRunEnded(Mockito.anyLong(), Mockito.<HashMap<String, Metric>>any()); in testRun_runtimeException() 207 .testRunEnded(Mockito.anyLong(), Mockito.<HashMap<String, Metric>>any()); in testRun_deviceUnresponsive() 245 .testRunEnded(Mockito.anyLong(), Mockito.<HashMap<String, String>>any()); in testRun_dnae() 251 Mockito.any()); in testRun_dnae() 302 .testRunEnded(Mockito.anyLong(), Mockito.<HashMap<String, Metric>>any()); in testRun_dnae_reportNotExecuted() 308 Mockito.any()); in testRun_dnae_reportNotExecuted() 340 Mockito.verify(mListener, Mockito.times(numTests)).testStarted(Mockito.any()); in testRun_dnae_NotLastDevice() 342 .testEnded(Mockito.any(), Mockito.<HashMap<String, Metric>>any()); in testRun_dnae_NotLastDevice() 344 .testRunEnded(Mockito.anyLong(), Mockito.<HashMap<String, Metric>>any()); in testRun_dnae_NotLastDevice() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/ |
D | RemoteManagerTest.java | 111 doReturn(true).when(mMockScheduler).addCommand(Mockito.any()); in testProcessClientOperations_addCommand() 121 verify(mMockScheduler).addCommand(Mockito.any()); in testProcessClientOperations_addCommand() 127 doReturn(false).when(mMockScheduler).addCommand(Mockito.any()); in testProcessClientOperations_addCommand_fail() 137 verify(mMockScheduler).addCommand(Mockito.any()); in testProcessClientOperations_addCommand_fail() 145 .addCommand(Mockito.any()); in testProcessClientOperations_addCommand_config() 158 verify(mMockScheduler).addCommand(Mockito.any()); 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/invoker/sandbox/ |
D | ParentSandboxInvocationExecutionTest.java | 126 verify(mMockFactory, times(0)).createConfigurationFromArgs(Mockito.any()); in testDefaultSkipSetup_tearDown() 146 verify(mMockFactory, times(1)).createConfigurationFromArgs(Mockito.any()); in testParentConfig() 147 verify(mMockPreparer, times(1)).setUp(Mockito.any()); in testParentConfig() 148 verify(mMockPreparer, times(1)).tearDown(Mockito.any(), Mockito.any()); in testParentConfig() 172 verify(mMockFactory, times(1)).createConfigurationFromArgs(Mockito.any()); in testParentConfig_errorStage() 173 verify(mMockPreparer, times(1)).setUp(Mockito.any()); in testParentConfig_errorStage() 174 verify(mMockPreparer, times(1)).tearDown(Mockito.any(), Mockito.any()); in testParentConfig_errorStage() 256 .runTimedCmd(Mockito.anyLong(), Mockito.any()); in testParentSandbox_shutdown()
|