Searched refs:model (Results 1 - 25 of 186) sorted by relevance

12345678

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DOpenDocumentCallback.java17 package com.android.printspooler.model;
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/stubhal/
H A DGenericSoundModelTest.java85 // Create sound model
95 GenericSoundModel model = new_sound_model();
97 // Update sound model
98 soundTriggerService.updateSoundModel(model);
99 loadedModelUuids.add(model.uuid);
103 soundTriggerService.getSoundModel(new ParcelUuid(model.uuid));
104 assertEquals(model, returnedModel);
109 GenericSoundModel model = new_sound_model();
111 // Update sound model
112 soundTriggerService.updateSoundModel(model);
[all...]
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/
H A DExprTest.java108 ExprModel model = lb.getModel();
109 model.seal();
111 d.setModel(model);
115 BitSet clone = (BitSet) model.getInvalidateAnyBitSet().clone();
123 ExprModel model = lb.getModel();
124 model.seal();
126 d.setModel(model);
130 assertEquals(model.getInvalidateAnyBitSet(), d.getInvalidFlags());
135 ExprModel model = new ExprModel();
136 DummyExpr a = model
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DThumbnailData.java17 package com.android.systemui.recents.model;
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DPipeManager.java45 ParcelFileDescriptor readDocument(MtpManager model, Identifier identifier) throws IOException { argument
46 final Task task = new ImportFileTask(model, identifier);
51 ParcelFileDescriptor readThumbnail(MtpManager model, Identifier identifier) throws IOException { argument
52 final Task task = new GetThumbnailTask(model, identifier);
74 ImportFileTask(MtpManager model, Identifier identifier) throws IOException { argument
75 super(model, identifier);
95 GetThumbnailTask(MtpManager model, Identifier identifier) throws IOException { argument
96 super(model, identifier);
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/annotation/
H A DAnnotationMethod.java26 import javax.lang.model.element.Element;
27 import javax.lang.model.element.ElementKind;
28 import javax.lang.model.element.ExecutableElement;
29 import javax.lang.model.element.Modifier;
30 import javax.lang.model.element.TypeElement;
31 import javax.lang.model.type.DeclaredType;
32 import javax.lang.model.type.ExecutableType;
33 import javax.lang.model.type.TypeKind;
34 import javax.lang.model.type.TypeMirror;
35 import javax.lang.model
[all...]
H A DAnnotationField.java22 import javax.lang.model.element.Modifier;
23 import javax.lang.model.element.TypeElement;
24 import javax.lang.model.element.VariableElement;
H A DAnnotationTypeUtil.java25 import javax.lang.model.type.ArrayType;
26 import javax.lang.model.type.ExecutableType;
27 import javax.lang.model.type.TypeMirror;
28 import javax.lang.model.type.TypeVariable;
31 javax.lang.model.util.Types mTypes;
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/
H A DModelTest.java35 import com.android.documentsui.model.DocumentInfo;
75 private Model model; field in class:ModelTest
89 // Generate random document names and sizes. This forces the model's internal sort code
99 // Instantiate the model with a dummy view adapter and listener that (for now) do nothing.
100 model = new Model();
101 model.addUpdateListener(new DummyListener());
102 model.update(r);
105 // Tests that the model is properly emptied out after a null update.
107 model.update(null);
109 assertTrue(model
334 onModelUpdate(Model model) argument
[all...]
H A DMultiSelectManager_GridModelTest.java40 private GridModel model; field in class:MultiSelectManager_GridModelTest
46 // TLDR: Don't call model.{start|resize}Selection; use the local #startSelection and
72 model = new GridModel(env, adapter);
73 model.addOnSelectionChangedListener(
89 model = null;
99 assertEquals(NOT_SET, model.getPositionNearestOrigin());
107 assertEquals(NOT_SET, model.getPositionNearestOrigin());
115 assertEquals(NOT_SET, model.getPositionNearestOrigin());
123 assertEquals(NOT_SET, model.getPositionNearestOrigin());
131 assertEquals(NOT_SET, model
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
H A DDurable.java17 package com.android.documentsui.model;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/activity/
H A DCancelEnterRecentsWindowAnimationEvent.java20 import com.android.systemui.recents.model.Task;
H A DTaskStackUpdatedEvent.java20 import com.android.systemui.recents.model.TaskStack;
H A DMultiWindowStateChangedEvent.java20 import com.android.systemui.recents.model.TaskStack;
H A DLaunchTvTaskEvent.java21 import com.android.systemui.recents.model.Task;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ui/
H A DDeleteTaskDataEvent.java20 import com.android.systemui.recents.model.Task;
H A DShowApplicationInfoEvent.java20 import com.android.systemui.recents.model.Task;
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/java/android/bordeaux/learning/
H A DStochasticLinearRanker.java84 * Get the current model and parameters of ranker
106 * load the given model and parameters to the ranker
108 public boolean loadModel(Model model) { argument
109 String[] wKeys = new String[model.weights.size()];
110 float[] wValues = new float[model.weights.size()];
112 for (Map.Entry<String, Float> e : model.weights.entrySet()){
117 boolean res = setModelWeights(wKeys, wValues, model.weightNormalizer);
121 for (Map.Entry<String, String> e : model.parameters.entrySet()){
139 * Print a model for debugging
141 public void print(Model model){ argument
[all...]
/frameworks/av/services/soundtrigger/
H A DSoundTriggerHwService.cpp511 sp<Model> model = mModels.valueAt(i); local
512 ALOGV("detach() unloading model %d", model->mHandle);
513 if (model->mState == Model::STATE_ACTIVE) {
514 mHwDevice->stop_recognition(mHwDevice, model->mHandle);
516 mHwDevice->unload_sound_model(mHwDevice, model->mHandle);
569 sp<Model> model = new Model(*handle, session, ioHandle, device, sound_model->type); local
570 mModels.replaceValueFor(*handle, model);
577 ALOGV("unloadSoundModel() model handle %d", handle);
592 sp<Model> model local
619 sp<Model> model = getModel(handle); local
658 sp<Model> model = getModel(handle); local
693 sp<Model> model = getModel(recognitionEvent->model); local
717 sp<Model> model = getModel(soundmodelEvent->model); local
746 sp<Model> model; local
797 sp<Model> model = mModels.valueAt(i); local
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ui/dragndrop/
H A DDragEndCancelledEvent.java20 import com.android.systemui.recents.model.Task;
21 import com.android.systemui.recents.model.TaskStack;
H A DDragDropTargetChangedEvent.java20 import com.android.systemui.recents.model.Task;
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
H A DSoundTriggerUtil.java54 * Adds/Updates a sound model.
55 * The sound model must contain a valid UUID.
57 * @param soundModel The sound model to add/update.
62 throw new RuntimeException("Bad sound model");
76 * Gets the sound model for the given keyphrase, null if none exists.
77 * If a sound model for a given keyphrase exists, and it needs to be updated,
81 * @param modelId The model ID to look-up the sound model for.
82 * @return The sound model if one was found, null otherwise.
86 GenericSoundModel model
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
H A DDocumentsAdapter.java19 import static com.android.documentsui.model.DocumentInfo.getCursorString;
49 * Returns a list of model IDs of items currently in the adapter. Excludes items that are
63 * @return The model ID of the item at the given adapter position.
90 boolean isDirectory(Model model, int position) { argument
92 Cursor cursor = model.getItem(modelId);
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DBordeauxSessionStorage.java39 // data of the learning model
40 public static final String COLUMN_MODEL = "model";
84 private ContentValues createSessionEntry(String key, Class learner, byte[] model) { argument
88 entry.put(COLUMN_MODEL, model);
93 boolean saveSession(String key, Class learner, byte[] model) { argument
94 ContentValues content = createSessionEntry(key, learner, model);
110 byte[] model = cursor.getBlob(cursor.getColumnIndex(COLUMN_MODEL));
111 session.learner.setModel(model);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDirectoryResult.java25 import com.android.documentsui.model.DocumentInfo;

Completed in 598 milliseconds

12345678