Searched refs:MODEL_KEY (Results 1 – 5 of 5) sorted by relevance
/packages/modules/OnDevicePersonalization/tests/cts/endtoend/src/com/android/ondevicepersonalization/cts/e2e/ |
D | InferenceInputTest.java | 38 private static final String MODEL_KEY = "model_key"; field in InferenceInputTest 55 new InferenceInput.Params.Builder(mRemoteData, MODEL_KEY).build(); in buildInput_success() 79 new InferenceInput.Params.Builder(mRemoteData, MODEL_KEY).build(); in buildInputWithSetters() 107 new InferenceInput.Params.Builder(mRemoteData, MODEL_KEY).build(); in buildInput_batchNotSet_success() 122 new InferenceInput.Params.Builder(mRemoteData, MODEL_KEY) in buildParams_success() 130 assertThat(params.getModelKey()).isEqualTo(MODEL_KEY); in buildParams_success() 135 InferenceInput.Params params = new InferenceInput.Params.Builder(mRemoteData, MODEL_KEY) in buildParamsWithSetters() 137 .setModelKey(MODEL_KEY) in buildParamsWithSetters() 147 assertThat(params.getModelKey()).isEqualTo(MODEL_KEY); in buildParamsWithSetters() 155 new InferenceInput.Params.Builder(mRemoteData, MODEL_KEY) in buildParams_negativeThread_throws()
|
/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/adservices/ondevicepersonalization/ |
D | InferenceInputTest.java | 35 private static final String MODEL_KEY = "model_key"; field in InferenceInputTest 48 new InferenceInput.Params.Builder(mRemoteData, MODEL_KEY); in buildParams_reusable() 63 new InferenceInput.Params.Builder(mRemoteData, MODEL_KEY).build(); in buildInferenceInput_reusable() 83 new InferenceInput.Params.Builder(mRemoteData, MODEL_KEY).build(); in buildInput_success() 107 new InferenceInput.Params.Builder(mRemoteData, MODEL_KEY).build(); in buildInput_batchNotSet_success() 122 new InferenceInput.Params.Builder(mRemoteData, MODEL_KEY).build(); in buildParams_success() 129 assertThat(params.getModelKey()).isEqualTo(MODEL_KEY); in buildParams_success() 137 new InferenceInput.Params.Builder(mRemoteData, MODEL_KEY) in buildParams_negativeThread_throws()
|
D | ModelManagerTest.java | 54 private static final String MODEL_KEY = "model_key"; field in ModelManagerTest 74 new InferenceInput.Params.Builder(mRemoteData, MODEL_KEY).build(), in runInference_success()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | ResourceUtilsTests.java | 83 final String MODEL_KEY = "MODEL"; in testFindConstantForKeyValuePairsCombined() local 102 keyValues.put(MODEL_KEY, "Nexus 7"); in testFindConstantForKeyValuePairsCombined() 109 keyValues.put(MODEL_KEY, "Nexus 4"); in testFindConstantForKeyValuePairsCombined() 116 keyValues.put(MODEL_KEY, "Nexus 10"); in testFindConstantForKeyValuePairsCombined() 128 final String MODEL_KEY = "MODEL"; in testFindConstantForKeyValuePairsRegexp() local 141 keyValues.put(MODEL_KEY, "Nexus 7"); in testFindConstantForKeyValuePairsRegexp() 149 keyValues.put(MODEL_KEY, "Nexus 4"); in testFindConstantForKeyValuePairsRegexp() 157 keyValues.put(MODEL_KEY, "Nexus 10"); in testFindConstantForKeyValuePairsRegexp()
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/inference/ |
D | IsolatedModelServiceImplTest.java | 61 private static final String MODEL_KEY = "modelKey"; field in IsolatedModelServiceImplTest 73 mParams = new InferenceInput.Params.Builder(mRemoteData, MODEL_KEY).build(); in setup() 241 new InferenceInput.Params.Builder(mRemoteData, MODEL_KEY) in negativeThreadNum_buildThrows() 332 assertThat(modelId.getKey()).isEqualTo(MODEL_KEY); in onRequest()
|