/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/ |
D | ExprTest.java | 87 ExprModel model = lb.getModel(); in testBasicInvalidationFlag() local 88 model.seal(); in testBasicInvalidationFlag() 90 d.setModel(model); in testBasicInvalidationFlag() 94 BitSet clone = (BitSet) model.getInvalidateAnyBitSet().clone(); in testBasicInvalidationFlag() 102 ExprModel model = lb.getModel(); in testCannotBeInvalidated() local 103 model.seal(); in testCannotBeInvalidated() 105 d.setModel(model); in testCannotBeInvalidated() 109 assertEquals(model.getInvalidateAnyBitSet(), d.getInvalidFlags()); in testCannotBeInvalidated() 114 ExprModel model = new ExprModel(); in testInvalidationInheritance() local 115 DummyExpr a = model.register(new DummyExpr("a")); in testInvalidationInheritance() [all …]
|
/frameworks/av/services/soundtrigger/ |
D | SoundTriggerHwService.cpp | 503 sp<Model> model = mModels.valueAt(i); in detach() local 504 ALOGV("detach() unloading model %d", model->mHandle); in detach() 505 if (model->mState == Model::STATE_ACTIVE) { in detach() 506 mHwDevice->stop_recognition(mHwDevice, model->mHandle); in detach() 508 mHwDevice->unload_sound_model(mHwDevice, model->mHandle); in detach() 565 sp<Model> model = new Model(*handle, session, ioHandle, device, sound_model->type); in loadSoundModel() local 566 mModels.replaceValueFor(*handle, model); in loadSoundModel() 588 sp<Model> model = mModels.valueAt(index); in unloadSoundModel_l() local 590 if (model->mState == Model::STATE_ACTIVE) { in unloadSoundModel_l() 591 mHwDevice->stop_recognition(mHwDevice, model->mHandle); in unloadSoundModel_l() [all …]
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/java/android/bordeaux/learning/ |
D | StochasticLinearRanker.java | 108 public boolean loadModel(Model model) { in loadModel() argument 109 String[] wKeys = new String[model.weights.size()]; in loadModel() 110 float[] wValues = new float[model.weights.size()]; in loadModel() 112 for (Map.Entry<String, Float> e : model.weights.entrySet()){ in loadModel() 117 boolean res = setModelWeights(wKeys, wValues, model.weightNormalizer); in loadModel() 121 for (Map.Entry<String, String> e : model.parameters.entrySet()){ in loadModel() 141 public void print(Model model){ in print() argument 144 for (Map.Entry<String, Float> e : model.weights.entrySet()) in print() 146 for (Map.Entry<String, String> e : model.parameters.entrySet()) in print() 149 Log.i(TAG, "Normalizer is " + model.weightNormalizer); in print()
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/annotation/ |
D | AnnotationClass.java | 18 import org.antlr.v4.codegen.model.decl.Decl; 30 import javax.lang.model.element.AnnotationMirror; 31 import javax.lang.model.element.AnnotationValue; 32 import javax.lang.model.element.Element; 33 import javax.lang.model.element.ElementKind; 34 import javax.lang.model.element.ExecutableElement; 35 import javax.lang.model.element.TypeElement; 36 import javax.lang.model.element.VariableElement; 37 import javax.lang.model.type.ArrayType; 38 import javax.lang.model.type.DeclaredType; [all …]
|
D | AnnotationMethod.java | 26 import javax.lang.model.element.ExecutableElement; 27 import javax.lang.model.element.Modifier; 28 import javax.lang.model.type.DeclaredType; 29 import javax.lang.model.type.ExecutableType; 30 import javax.lang.model.type.TypeKind; 31 import javax.lang.model.type.TypeMirror; 32 import javax.lang.model.util.Types;
|
D | AnnotationTypeUtil.java | 25 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;
|
D | AnnotationField.java | 22 import javax.lang.model.element.Modifier; 23 import javax.lang.model.element.TypeElement; 24 import javax.lang.model.element.VariableElement;
|
D | AnnotationAnalyzer.java | 28 import javax.lang.model.element.TypeElement; 29 import javax.lang.model.type.DeclaredType; 30 import javax.lang.model.type.TypeKind; 31 import javax.lang.model.type.TypeMirror; 32 import javax.lang.model.util.Elements; 33 import javax.lang.model.util.Types;
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
D | SimpleModelRS.java | 128 private void initMeshes(FileA3D model) { in initMeshes() argument 129 int numEntries = model.getIndexEntryCount(); in initMeshes() 132 FileA3D.IndexEntry entry = model.getIndexEntry(i); in initMeshes() 142 FileA3D.IndexEntry entry = model.getIndexEntry(i); in initMeshes() 159 FileA3D model = FileA3D.createFromFile(mRS, path); in loadA3DFile() local 160 initMeshes(model); in loadA3DFile() 174 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.robot); in initRS() local 175 initMeshes(model); in initRS()
|
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/ |
D | FBOTestRS.java | 129 private void initMeshes(FileA3D model) { in initMeshes() argument 130 int numEntries = model.getIndexEntryCount(); in initMeshes() 133 FileA3D.IndexEntry entry = model.getIndexEntry(i); in initMeshes() 143 FileA3D.IndexEntry entry = model.getIndexEntry(i); in initMeshes() 160 FileA3D model = FileA3D.createFromFile(mRS, path); in loadA3DFile() local 161 initMeshes(model); in loadA3DFile() 192 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.robot); in initRS() local 193 initMeshes(model); in initRS()
|
D | FBOSyncRS.java | 130 private void initMeshes(FileA3D model) { in initMeshes() argument 131 int numEntries = model.getIndexEntryCount(); in initMeshes() 134 FileA3D.IndexEntry entry = model.getIndexEntry(i); in initMeshes() 144 FileA3D.IndexEntry entry = model.getIndexEntry(i); in initMeshes() 161 FileA3D model = FileA3D.createFromFile(mRS, path); in loadA3DFile() local 162 initMeshes(model); in loadA3DFile() 200 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.robot); in initRS() local 201 initMeshes(model); in initRS()
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/ |
D | ProcessMethodAdapters.java | 35 import javax.lang.model.element.Element; 36 import javax.lang.model.element.ElementKind; 37 import javax.lang.model.element.ExecutableElement; 38 import javax.lang.model.element.Modifier; 39 import javax.lang.model.element.TypeElement; 40 import javax.lang.model.element.VariableElement; 41 import javax.lang.model.type.MirroredTypeException; 42 import javax.lang.model.type.TypeKind; 43 import javax.lang.model.type.TypeMirror; 44 import javax.lang.model.util.Elements; [all …]
|
D | ProcessBindable.java | 37 import javax.lang.model.SourceVersion; 38 import javax.lang.model.element.Element; 39 import javax.lang.model.element.ElementKind; 40 import javax.lang.model.element.ExecutableElement; 41 import javax.lang.model.element.Name; 42 import javax.lang.model.element.TypeElement; 43 import javax.lang.model.element.VariableElement; 44 import javax.lang.model.type.TypeKind; 45 import javax.lang.model.util.Types;
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
D | BordeauxSessionStorage.java | 84 private ContentValues createSessionEntry(String key, Class learner, byte[] model) { in createSessionEntry() argument 88 entry.put(COLUMN_MODEL, model); in createSessionEntry() 93 boolean saveSession(String key, Class learner, byte[] model) { in saveSession() argument 94 ContentValues content = createSessionEntry(key, learner, model); in saveSession() 110 byte[] model = cursor.getBlob(cursor.getColumnIndex(COLUMN_MODEL)); in getSessionFromCursor() 111 session.learner.setModel(model); in getSessionFromCursor()
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
D | ColladaScene.java | 114 FileA3D model; in doInBackground() local 116 model = FileA3D.createFromAsset(mRS, mRes.getAssets(), names[0]); in doInBackground() 118 model = FileA3D.createFromFile(mRS, names[0]); in doInBackground() 120 int numModels = model.getIndexEntryCount(); in doInBackground() 122 FileA3D.IndexEntry entry = model.getIndexEntry(i); in doInBackground()
|
/frameworks/ml/bordeaux/learning/predictor_histogram/java/android/bordeaux/learning/ |
D | HistogramPredictor.java | 162 HashMap<String, HashMap<String, Integer> > model; in setModel() local 167 model = (HashMap<String, HashMap<String, Integer> >) objStream.readObject(); in setModel() 175 mCounter.putAll(model); in setModel() 306 HashMap<String, HashMap<String, HashMap<String, Integer > > > model = in getModel() local 309 model.put(entry.getKey(), entry.getValue().getCounter()); in getModel() 315 objStream.writeObject(model); in getModel() 327 HashMap<String, HashMap<String, HashMap<String, Integer > > > model; in setModel() local 332 model = (HashMap<String, HashMap<String, HashMap<String, Integer > > >) in setModel() 342 model.entrySet()) { in setModel()
|
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/ |
D | ShadersTestRS.java | 141 private void initMeshes(FileA3D model) { in initMeshes() argument 142 int numEntries = model.getIndexEntryCount(); in initMeshes() 145 FileA3D.IndexEntry entry = model.getIndexEntry(i); in initMeshes() 155 FileA3D.IndexEntry entry = model.getIndexEntry(i); in initMeshes() 182 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.robot); in initRS() local 183 initMeshes(model); in initRS()
|
/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/ |
D | EnrollmentUtil.java | 121 KeyphraseSoundModel model = null; in getSoundModel() local 123 model = mModelManagementService.getKeyphraseSoundModel(keyphraseId, bcp47Locale); in getSoundModel() 128 if (model == null) { in getSoundModel() 132 return model; in getSoundModel()
|
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/ |
D | LayoutBinderWriter.kt | 249 val model = layoutBinder.getModel() constant 252 val fs = FlagSet(BitSet(), model.getFlagBucketCount()); in <lambda>() 255 model.localizeFlag(fs, "mDirtyFlags") in <lambda>() 259 val dynamics by Delegates.lazy { model.getExprMap().values().filter { it.isDynamic() } } in <lambda>() 269 …model.getExprMap().values().filterIsInstance(javaClass<IdentifierExpr>()).filter { it.isVariable()… in <lambda>() 421 tab("super(bindingComponent, ${superParam}, ${model.getObservables().size()}") { in <lambda>() 430 tab("super(bindingComponent, ${superParam}, ${model.getObservables().size()});") in <lambda>() 593 model.getObservables().forEach { in <lambda>() 605 model.getObservables().forEach { in <lambda>() 674 model.getExprMap().values().filter { in <lambda>() [all …]
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbAccessory.java | 73 public UsbAccessory(String manufacturer, String model, String description, in UsbAccessory() argument 76 mModel = model; in UsbAccessory() 197 String model = in.readString(); 202 return new UsbAccessory(manufacturer, model, description, version, uri, serial);
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLU.java | 148 float[] model, int modelOffset, float[] project, int projectOffset, in gluProject() argument 156 model, modelOffset); in gluProject() 214 float[] model, int modelOffset, float[] project, int projectOffset, in gluUnProject() argument 222 model, modelOffset); in gluUnProject()
|
/frameworks/base/docs/html/distribute/monetize/ |
D | premium.jd | 3 …ge.metaDescription=Charging users to download your apps is a simple, convenient monetization model. 13 model. After creating your <a href= 24 This model could work well for any app or game, but might be particularly 32 However, this model may limit your apps monetization potential, particularly
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/ |
D | MergedBinding.java | 39 public MergedBinding(ExprModel model, SetterStore.MultiAttributeSetter multiAttributeSetter, in MergedBinding() argument 41 super(target, createMergedName(bindings), createArgListExpr(model, bindings)); in MergedBinding() 45 private static Expr createArgListExpr(ExprModel model, final Iterable<Binding> bindings) { in createArgListExpr() argument 50 Expr expr = model.argListExpr(args); in createArgListExpr()
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/ |
D | stochastic_linear_ranker.h | 169 void LoadWeights(const SparseWeightVector<Key, Hash> &model) { in LoadWeights() argument 170 weight_.LoadWeightVector(model); in LoadWeights() 173 void SaveWeights(SparseWeightVector<Key, Hash> *model) { in SaveWeights() argument 174 model->LoadWeightVector(weight_); in SaveWeights()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
D | PageContentView.java | 26 import com.android.printspooler.model.PageContentRepository; 27 import com.android.printspooler.model.PageContentRepository.RenderSpec; 28 import com.android.printspooler.model.PageContentRepository.PageContentProvider;
|