Home
last modified time | relevance | path

Searched refs:InferenceInputParcel (Results 1 – 5 of 5) sorted by relevance

/packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/
DInferenceInputParcel.java33 public class InferenceInputParcel implements Parcelable { class
70 public InferenceInputParcel(@NonNull InferenceInput value) { in InferenceInputParcel() method in InferenceInputParcel
118 public InferenceInputParcel( in InferenceInputParcel() method in InferenceInputParcel
222 protected InferenceInputParcel(@NonNull android.os.Parcel in) { in InferenceInputParcel() method in InferenceInputParcel
254 public static final @NonNull Parcelable.Creator<InferenceInputParcel> CREATOR =
255 new Parcelable.Creator<InferenceInputParcel>() {
257 public InferenceInputParcel[] newArray(int size) {
258 return new InferenceInputParcel[size];
262 public InferenceInputParcel createFromParcel(@NonNull android.os.Parcel in) {
263 return new InferenceInputParcel(in);
DModelManager.java72 bundle.putParcelable(Constants.EXTRA_INFERENCE_INPUT, new InferenceInputParcel(input)); in run()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/inference/
DIsolatedModelServiceImplTest.java29 import android.adservices.ondevicepersonalization.InferenceInputParcel;
87 Constants.EXTRA_INFERENCE_INPUT, new InferenceInputParcel(inferenceInput)); in runModelInference_singleExample_success()
117 Constants.EXTRA_INFERENCE_INPUT, new InferenceInputParcel(inferenceInput)); in runModelInference_setBatchSizeNotMatch_success()
146 Constants.EXTRA_INFERENCE_INPUT, new InferenceInputParcel(inferenceInput)); in runModelInferenceBatch_setBatchSize_success()
174 Constants.EXTRA_INFERENCE_INPUT, new InferenceInputParcel(inferenceInput)); in runModelInferenceBatch_notSetBatchSize_success()
203 Constants.EXTRA_INFERENCE_INPUT, new InferenceInputParcel(inferenceInput)); in runModelInference_invalidInputFormat()
259 Constants.EXTRA_INFERENCE_INPUT, new InferenceInputParcel(inferenceInput)); in runModelInference_missingModelOutput()
280 Constants.EXTRA_INFERENCE_INPUT, new InferenceInputParcel(inferenceInput)); in runModelInference_missingDataAccessServiceBinder()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/inference/
DIsolatedModelServiceImpl.java20 import android.adservices.ondevicepersonalization.InferenceInputParcel;
75 InferenceInputParcel inputParcel = in runInference()
78 Constants.EXTRA_INFERENCE_INPUT, InferenceInputParcel.class)); in runInference()
91 InferenceInputParcel inputParcel, in runTfliteInterpreter()
/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/adservices/ondevicepersonalization/
DModelManagerTest.java163 InferenceInputParcel inputParcel = in runInference()
165 Constants.EXTRA_INFERENCE_INPUT, InferenceInputParcel.class); in runInference()