Searched defs:Model (Results 1 - 8 of 8) sorted by relevance

/frameworks/av/services/soundtrigger/
H A DSoundTriggerHwService.h64 class Model : public RefBase { class in class:android::SoundTriggerHwService
72 Model(sound_model_handle_t handle, audio_session_t session, audio_io_handle_t ioHandle,
75 ~Model() {}
131 sp<Model> getModel(sound_model_handle_t handle);
148 DefaultKeyedVector< sound_model_handle_t, sp<Model> > mModels;
H A DSoundTriggerHwService.cpp536 sp<Model> model = mModels.valueAt(i - 1);
541 if (model->mState == Model::STATE_ACTIVE) {
614 sp<Model> model = new Model(*handle, session, ioHandle, device, sound_model->type,
641 sp<Model> model = mModels.valueAt(index);
643 if (model->mState == Model::STATE_ACTIVE) {
645 model->mState = Model::STATE_IDLE;
683 sp<Model> model = getModel(handle);
688 if (model->mState == Model::STATE_ACTIVE) {
701 model->mState = Model
902 SoundTriggerHwService::Model::Model(sound_model_handle_t handle, audio_session_t session, function in class:android::SoundTriggerHwService::Model
[all...]
/frameworks/ml/nn/tools/test_generator/
H A Dslicing.py16 """Slicing the input Model file
51 from test_generator import Model namespace
166 print("model = Model()", file=model_file)
H A Dvts_generator.py44 from test_generator import Model namespace
204 Model createTestModel() {{
231 "\n .relaxComputationFloat32toFloat16 = true," if (Model.isRelaxed()) else ""
H A Dtest_generator.py427 class Model(object): class in inherits:object
552 ret = Model.Out(self, o)
557 Model.__isRelaxed = isRelaxed
561 return Model.__isRelaxed
738 print ("void CreateModel(Model *model" + args + ") {", file=model_file)
759 if (Model.isRelaxed()):
/frameworks/ml/nn/runtime/include/
H A DNeuralNetworksWrapper.h111 class Model { class in class:android::nn::wrapper::ExecutePreference
113 Model() { function in class:android::nn::wrapper::ExecutePreference::Model
117 ~Model() { ANeuralNetworksModel_free(mModel); }
122 Model(const Model&) = delete;
123 Model& operator=(const Model&) = delete;
128 Model(Model&& other) { *this = std::move(other); } function in class:android::nn::wrapper::ExecutePreference::Model
129 Model
[all...]
/frameworks/base/media/java/android/media/soundtrigger/
H A DSoundTriggerManager.java83 public void updateModel(Model model) {
92 * Returns the sound trigger model represented by the given UUID. An instance of {@link Model}
96 public Model getModel(UUID soundModelId) {
98 return new Model(mSoundTriggerService.getSoundModel(
149 * factory constructor {@link Model#create()} to create an instance.
153 public static class Model { class in class:SoundTriggerManager
160 Model(SoundTrigger.GenericSoundModel soundTriggerModel) { method in class:SoundTriggerManager.Model
168 public static Model create(UUID modelUuid, UUID vendorUuid, byte[] data) {
169 return new Model(new SoundTrigger.GenericSoundModel(modelUuid,
/frameworks/base/graphics/java/android/graphics/
H A DColorSpace.java37 * Each color space is characterized by a {@link Model color model} that defines
38 * how a color value is represented (for instance the {@link Model#RGB RGB} color
58 * name. Color spaces with an {@link Model#RGB RGB} color model can be safely
129 * @see Model
206 @NonNull private final Model mModel;
675 * <p>{@link Model#XYZ XYZ} color space CIE XYZ. This color space assumes standard
686 * <p>{@link Model#LAB Lab} color space CIE L*a*b*. This color space uses CIE XYZ D50
821 public enum Model { enum in class:ColorSpace
850 Model(@IntRange(from = 1, to = 4) int componentCount) { method in class:ColorSpace.Model
867 @NonNull Model mode
[all...]

Completed in 74 milliseconds