/test/mlts/benchmark/src/com/android/nn/crashtest/app/ |
D | AcceleratorSpecificTestSupport.java | 44 Context context, String acceleratorName) throws NnApiDelegationFailure { in findTestModelRunningOnAccelerator() argument 46 if (Processor.isTestModelSupportedByAccelerator(context, model, acceleratorName)) { in findTestModelRunningOnAccelerator() 54 Context context, String acceleratorName) throws NnApiDelegationFailure { in findAllTestModelsRunningOnAccelerator() argument 57 if (Processor.isTestModelSupportedByAccelerator(context, model, acceleratorName)) { in findAllTestModelsRunningOnAccelerator() 113 public DriverLivenessChecker(Context context, String acceleratorName, in DriverLivenessChecker() argument 127 mProcessor.setNnApiAcceleratorName(acceleratorName); in DriverLivenessChecker()
|
D | NNParallelInferenceTest.java | 59 String acceleratorName) { in NNParallelInferenceTest() argument 63 mAcceleratorName = acceleratorName; in NNParallelInferenceTest() 116 String acceleratorName) throws NnApiDelegationFailure { in runAllModelsOnNThreadsForOnAccelerator() argument 127 if (acceleratorName != null) { in runAllModelsOnNThreadsForOnAccelerator() 128 intent.putExtra(NNParallelTestActivity.EXTRA_ACCELERATOR_NAME, acceleratorName); in runAllModelsOnNThreadsForOnAccelerator()
|
D | NNPerformanceDegradationTest.java | 53 int maxPerformanceDegradationPercent, String acceleratorName) { in NNPerformanceDegradationTest() argument 55 mAcceleratorName = acceleratorName; in NNPerformanceDegradationTest() 72 String acceleratorName, int threadCount, in getTestMaxPerfDegradationOfModelWIthThreads() argument 76 acceleratorName, threadCount, maxPerformanceDegradationPercent, in getTestMaxPerfDegradationOfModelWIthThreads()
|
D | NNParallelCrashResistantInferenceTest.java | 27 String acceleratorName) { in NNParallelCrashResistantInferenceTest() argument 28 super(threadCount, testDuration, acceleratorName); in NNParallelCrashResistantInferenceTest()
|
D | NNParallelInProcessInferenceTest.java | 27 String acceleratorName) { in NNParallelInProcessInferenceTest() argument 28 super(threadCount, testDuration, acceleratorName); in NNParallelInProcessInferenceTest()
|
D | NNRandomGraphLoadTest.java | 27 Duration duration, String acceleratorName) { in NNRandomGraphLoadTest() argument 29 acceleratorName, /*runModelCompilationOnly=*/true); in NNRandomGraphLoadTest()
|
D | NNRandomGraphExecutionTest.java | 29 Duration duration, String acceleratorName) { in NNRandomGraphExecutionTest() argument 31 acceleratorName, /*runModelCompilationOnly=*/false); in NNRandomGraphExecutionTest()
|
D | NNMultipleProcessInferenceTest.java | 35 int failureRatePercent, String acceleratorName) { in NNMultipleProcessInferenceTest() argument 36 super(processCount, threadCount, duration, failureRatePercent, acceleratorName); in NNMultipleProcessInferenceTest()
|
D | NNMultipleProcessModelLoadTest.java | 35 int failureRatePercent, String acceleratorName) { in NNMultipleProcessModelLoadTest() argument 36 super(processCount, threadCount, duration, failureRatePercent, acceleratorName); in NNMultipleProcessModelLoadTest()
|
D | NNMultipleProcessTest.java | 65 int failureRatePercent, String acceleratorName) { in NNMultipleProcessTest() argument 70 mAcceleratorName = acceleratorName; in NNMultipleProcessTest()
|
D | NNRandomGraphTest.java | 81 Duration duration, String acceleratorName, boolean runModelCompilationOnly) { in NNRandomGraphTest() argument 86 mAcceleratorName = acceleratorName; in NNRandomGraphTest()
|
D | NNMemoryMappedModelCompilationTest.java | 64 public NNMemoryMappedModelCompilationTest(String acceleratorName) { in NNMemoryMappedModelCompilationTest() argument 66 mAcceleratorName = acceleratorName; in NNMemoryMappedModelCompilationTest()
|
D | NNClientEarlyTerminationTest.java | 62 public NNClientEarlyTerminationTest(String acceleratorName) { in NNClientEarlyTerminationTest() argument 64 mAcceleratorName = acceleratorName; in NNClientEarlyTerminationTest()
|
D | NNParallelTestActivity.java | 104 String acceleratorName = intent.getStringExtra(EXTRA_ACCELERATOR_NAME); in onResume() local 114 Duration.ofMillis(testDurationMillis), mTestName, acceleratorName, in onResume()
|
/test/mlts/benchmark/crashtest/src/com/android/nn/crashtest/ |
D | MainActivity.java | 167 private List<String> modelsForAccelerator(String acceleratorName) { in modelsForAccelerator() argument 169 if (acceleratorName == null || acceleratorName.equals(ALL_AVAILABLE_ACCELERATORS)) { in modelsForAccelerator() 180 model, acceleratorName); in modelsForAccelerator() 186 acceleratorName, model.mModelName)); in modelsForAccelerator() 275 final String acceleratorName = mAcceleratorName.get(); in startInferenceTest() local 281 testName, acceleratorName, false, runModelCompilationOnly, mmapModel), in startInferenceTest() 291 acceleratorName != null ? "accelerator " + acceleratorName in startInferenceTest()
|
/test/mlts/benchmark/src/com/android/nn/benchmark/core/ |
D | Processor.java | 103 public void setNnApiAcceleratorName(String acceleratorName) { in setNnApiAcceleratorName() argument 104 mAcceleratorName = acceleratorName; in setNnApiAcceleratorName() 148 TestModels.TestModelEntry testModelEntry, String acceleratorName) in isTestModelSupportedByAccelerator() argument 153 tb.setNNApiDeviceName(acceleratorName); in isTestModelSupportedByAccelerator() 158 testModelEntry.mModelName, acceleratorName), e); in isTestModelSupportedByAccelerator()
|
D | NNTestBase.java | 88 acceleratorName -> !acceleratorName.equalsIgnoreCase( in availableAcceleratorNames()
|
/test/mlts/benchmark/src/com/android/nn/crashtest/core/test/ |
D | PerformanceDegradationTest.java | 70 float warmupTimeSeconds, float runTimeSeconds, String acceleratorName, int threadCount, in intentInitializer() argument 75 intent.putExtra(ACCELERATOR_NAME, acceleratorName); in intentInitializer() 251 final String acceleratorName, TestModels.TestModelEntry testModelEntry) { 256 mProcessor.setNnApiAcceleratorName(acceleratorName);
|
D | RunModelsInParallel.java | 71 Duration duration, String testName, String acceleratorName, in intentInitializer() argument 79 intent.putExtra(ACCELERATOR_NAME, acceleratorName); in intentInitializer()
|