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

/frameworks/av/services/soundtrigger/
H A DSoundTriggerHwService.h63 class Model : public RefBase { class in class:android::SoundTriggerHwService
71 Model(sound_model_handle_t handle, audio_session_t session, audio_io_handle_t ioHandle,
73 ~Model() {}
135 sp<Model> getModel(sound_model_handle_t handle);
149 DefaultKeyedVector< sound_model_handle_t, sp<Model> > mModels;
H A DSoundTriggerHwService.cpp513 sp<Model> model = mModels.valueAt(i);
515 if (model->mState == Model::STATE_ACTIVE) {
598 sp<Model> model = new Model(*handle, session, ioHandle, device, sound_model->type);
625 sp<Model> model = mModels.valueAt(index);
627 if (model->mState == Model::STATE_ACTIVE) {
629 model->mState = Model::STATE_IDLE;
667 sp<Model> model = getModel(handle);
672 if (model->mState == Model::STATE_ACTIVE) {
685 model->mState = Model
899 SoundTriggerHwService::Model::Model(sound_model_handle_t handle, audio_session_t session, function in class:android::SoundTriggerHwService::Model
[all...]
/frameworks/base/media/java/android/media/soundtrigger/
H A DSoundTriggerManager.java68 public void updateModel(Model model) {
77 * Returns the sound trigger model represented by the given UUID. An instance of {@link Model}
80 public Model getModel(UUID soundModelId) {
82 return new Model(mSoundTriggerService.getSoundModel(
131 * factory constructor {@link Model#create()} to create an instance.
135 public static class Model { class in class:SoundTriggerManager
142 Model(SoundTrigger.GenericSoundModel soundTriggerModel) { method in class:SoundTriggerManager.Model
150 public static Model create(UUID modelUuid, UUID vendorUuid, byte[] data) {
151 return new Model(new SoundTrigger.GenericSoundModel(modelUuid,
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/java/android/bordeaux/learning/
H A DStochasticLinearRanker.java41 static public class Model implements Serializable { class in class:StochasticLinearRanker
86 public Model getUModel(){
87 Model slrModel = new Model();
108 public boolean loadModel(Model model) {
141 public void print(Model model){
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
H A DModel.java51 public class Model { class
52 private static final String TAG = "Model";
58 /** Maps Model ID to cursor positions, for looking up items by Model ID. */
61 * A sorted array of model IDs for the files currently in the Model. Sort order is determined
134 * Scan over the incoming cursor data, generate Model IDs for each row, and sort the IDs
164 // Generates a Model ID for a cursor entry that refers to a document. The Model ID is a
218 * @param ids Model IDs to be sorted.
290 * @param ids Model ID
[all...]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DStochasticLinearRankerWithPrior.java66 static public class Model implements Serializable { class in class:StochasticLinearRankerWithPrior
67 public StochasticLinearRanker.Model uModel = new StochasticLinearRanker.Model();
144 public Model getModel(){
145 Model m = new Model();
160 public boolean loadModel(Model m) {
200 public void print(Model m){

Completed in 297 milliseconds