Home
last modified time | relevance | path

Searched refs:configParams (Results 1 – 7 of 7) sorted by relevance

/test/mlts/benchmark/src/com/android/nn/crashtest/core/test/
DRandomGraphTest.java165 public void init(Context context, Intent configParams, in init() argument
168 mDeviceName = configParams.getStringExtra(DEVICE_NAME); in init()
169 mCompilationOnly = configParams.getBooleanExtra(COMPILATION_ONLY, DEFAULT_COMPILATION_ONLY); in init()
170 mGraphSize = configParams.getIntExtra(GRAPH_SIZE, DEFAULT_GRAPH_SIZE); in init()
171 mDimensionsRange = configParams.getIntExtra(DIMENSIONS_RANGE, DEFAULT_DIMENSIONS_RANGE); in init()
172 mModelsCount = configParams.getIntExtra(MODELS_COUNT, DEFAULT_MODELS_COUNT); in init()
174 configParams.getLongExtra(PAUSE_BETWEEN_MODELS_MS, in init()
177 Duration.ofMillis(configParams.getLongExtra(MAX_TEST_DURATION, in init()
179 mTestName = configParams.getStringExtra(TEST_NAME) != null in init()
180 ? configParams.getStringExtra(TEST_NAME) in init()
DRunModelsInParallel.java88 public void init(Context context, Intent configParams, in init() argument
90 mTestList = configParams.getIntArrayExtra(MODELS); in init()
91 mThreadCount = configParams.getIntExtra(THREADS, 10); in init()
92 mTestDurationMillis = configParams.getLongExtra(DURATION, 1000 * 60 * 10); in init()
93 mTestName = configParams.getStringExtra(TEST_NAME); in init()
94 mAcceleratorName = configParams.getStringExtra(ACCELERATOR_NAME); in init()
95 mIgnoreUnsupportedModels = mAcceleratorName != null && configParams.getBooleanExtra( in init()
97 mRunModelCompilationOnly = configParams.getBooleanExtra(RUN_MODEL_COMPILATION_ONLY, false); in init()
98 mMmapModel = configParams.getBooleanExtra(MEMORY_MAP_MODEL, false); in init()
DRunModelsInMultipleProcesses.java97 Context context, Intent configParams, Optional<ProgressListener> progressListener) { in init() argument
99 mTestName = configParams.getStringExtra(TEST_NAME); in init()
100 mTestModelEntry = TestModels.getModelByName(configParams.getStringExtra(MODEL_NAME)); in init()
101 mProcessCount = configParams.getIntExtra(PROCESSES, DEFAULT_PROCESSES); in init()
102 mThreadCount = configParams.getIntExtra(THREADS, DEFAULT_THREADS); in init()
104 configParams.getLongExtra(TEST_DURATION, DEFAULT_TEST_DURATION)); in init()
105 mNnApiDeviceName = configParams.getStringExtra(NNAPI_DEVICE_NAME); in init()
106 mJustCompileModel = configParams.getBooleanExtra(JUST_COMPILE, DEFAULT_JUST_COMPILE); in init()
107 mClientFailureRatePercent = configParams.getIntExtra(CLIENT_FAILURE_RATE_PERCENT, in init()
DPerformanceDegradationTest.java104 public void init(Context context, Intent configParams, in init() argument
108 mWarmupTimeSeconds = configParams.getFloatExtra(WARMUP_SECONDS, DEFAULT_WARMUP_SECONDS); in init()
109 mRunTimeSeconds = configParams.getFloatExtra(RUN_TIME_SECONDS, DEFAULT_RUN_TIME_SECONDS); in init()
110 mAcceleratorName = configParams.getStringExtra(ACCELERATOR_NAME); in init()
111 mThreadCount = configParams.getIntExtra(THREAD_COUNT, DEFAULT_THREAD_COUNT); in init()
112 mMaxPerformanceDegradationPercent = configParams.getIntExtra(MAX_PERFORMANCE_DEGRADATION, in init()
114 mTestName = configParams.getStringExtra(TEST_NAME); in init()
DCrashingCrashTest.java50 public void init(Context context, Intent configParams, in init() argument
52 sleepTime = configParams.getLongExtra(SLEEP_TIME, 100); in init()
53 segv = configParams.getBooleanExtra(SEGV, false); in init()
DNoOpCrashTest.java41 public void init(Context context, Intent configParams, in init() argument
43 sleepTime = configParams.getLongExtra(SLEEP_TIME, 100); in init()
/test/mlts/benchmark/src/com/android/nn/crashtest/core/
DCrashTest.java34 void init(Context context, Intent configParams, Optional<ProgressListener> progressListener); in init() argument