Home
last modified time | relevance | path

Searched refs:mModel (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/java/android/hardware/usb/
DAccessoryFilter.java44 public final String mModel; field in AccessoryFilter
50 mModel = model; in AccessoryFilter()
56 mModel = accessory.getModel(); in AccessoryFilter()
62 mModel = filter.mModel; in AccessoryFilter()
93 if (mModel != null) { in write()
94 serializer.attribute(null, "model", mModel); in write()
104 if (mModel != null && !acc.getModel().equals(mModel)) return false; in matches()
119 if (mModel != null && !Objects.equals(accessory.mModel, mModel)) return false; in contains()
126 if (mManufacturer == null || mModel == null || mVersion == null) { in equals()
132 mModel.equals(filter.mModel) && in equals()
[all …]
DUsbAccessory.java58 private final @NonNull String mModel; field in UsbAccessory
85 mModel = Objects.requireNonNull(model); in UsbAccessory()
132 return mModel; in getModel()
193 compare(mModel, accessory.getModel()) && in equals()
204 return mManufacturer.hashCode() ^ mModel.hashCode() ^ in hashCode()
213 ", mModel=" + mModel + in toString()
246 parcel.writeString(mModel); in writeToParcel()
/frameworks/native/libs/input/
DMotionPredictor.cpp159 if (!mModel) { in record()
160 mModel = TfLiteMotionPredictorModel::create(); in record()
161 LOG_ALWAYS_FATAL_IF(!mModel); in record()
165 mBuffers = std::make_unique<TfLiteMotionPredictorBuffers>(mModel->inputLength()); in record()
170 mMetricsManager.emplace(mModel->config().predictionInterval, mModel->outputLength(), in record()
232 LOG_ALWAYS_FATAL_IF(!mModel); in predict()
233 mBuffers->copyTo(*mModel); in predict()
234 LOG_ALWAYS_FATAL_IF(!mModel->invoke()); in predict()
237 const std::span<const float> predictedR = mModel->outputR(); in predict()
238 const std::span<const float> predictedPhi = mModel->outputPhi(); in predict()
[all …]
DTfLiteMotionPredictor.cpp297 mModel = tflite::FlatBufferModel::VerifyAndBuildFromBuffer(mFlatBuffer->data(), in TfLiteMotionPredictorModel()
301 LOG_ALWAYS_FATAL_IF(!mModel); in TfLiteMotionPredictorModel()
304 tflite::InterpreterBuilder builder(*mModel, *resolver); in TfLiteMotionPredictorModel()
/frameworks/base/libs/usb/src/com/android/future/usb/
DUsbAccessory.java25 private final String mModel; field in UsbAccessory
33 mModel = accessory.getModel(); in UsbAccessory()
55 return mModel; in getModel()
108 compare(mModel, accessory.getModel()) && in equals()
120 (mModel == null ? 0 : mModel.hashCode()) ^ in hashCode()
130 ", mModel=" + mModel + in toString()
/frameworks/av/media/mtp/
DMtpDeviceInfo.cpp38 mModel(NULL), in MtpDeviceInfo()
54 if (mModel) in ~MtpDeviceInfo()
55 free(mModel); in ~MtpDeviceInfo()
90 mModel = strdup((const char *)string); in read()
91 if (!mModel) return false; in read()
106 mVendorExtensionDesc, mFunctionalMode, mManufacturer, mModel, mVersion, mSerial); in print()
DMtpDeviceInfo.h39 char* mModel; variable
/frameworks/base/tools/processors/view_inspector/test/java/android/processor/view/inspector/
DInspectionCompanionGeneratorTest.java48 private InspectableClassModel mModel; field in InspectionCompanionGeneratorTest
53 mModel = new InspectableClassModel(TEST_CLASS_NAME); in setup()
59 mModel = new InspectableClassModel( in testNestedClass()
90 mModel.putProperty(property); in testNoAttributeId()
118 mModel.putProperty(property); in testIntEnum()
142 mModel.putProperty(new Property( in testFieldProperty()
152 mModel.putProperty(property); in addProperty()
159 mGenerator.generateFile(mModel).toString()); in assertGeneratedFileEquals()
/frameworks/base/media/java/android/mtp/
DMtpDeviceInfo.java29 private String mModel; field in MtpDeviceInfo
55 return mModel; in getModel()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageRenderer.java74 private TileSource mModel; field in TiledImageRenderer
189 if (mModel != model) { in setModel()
190 mModel = model; in setModel()
217 if (mModel == null) { in notifyModelInvalidated()
223 mImageWidth = mModel.getImageWidth(); in notifyModelInvalidated()
224 mImageHeight = mModel.getImageHeight(); in notifyModelInvalidated()
225 mPreview = mModel.getPreview(); in notifyModelInvalidated()
226 mTileSize = mModel.getTileSize(); in notifyModelInvalidated()
687 mDecodedTile = mModel.getTile(mTileLevel, mX, mY, reuse); in decode()
/frameworks/base/rs/java/android/renderscript/
DProgramVertexFixedFunction.java208 Matrix4f mModel; field in ProgramVertexFixedFunction.Constants
231 mModel = new Matrix4f(); in Constants()
268 mModel.load(m); in setModelview()
/frameworks/native/include/input/
DMotionPredictor.h123 std::unique_ptr<TfLiteMotionPredictorModel> mModel; variable
DTfLiteMotionPredictor.h165 std::unique_ptr<tflite::FlatBufferModel> mModel; variable
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerInstrumentation.java204 return mModel; in getSoundModel()
263 mModel = SoundTriggerManager.Model.create(UUID.fromString(model.uuid), in ModelSession()
289 private final SoundTriggerManager.Model mModel; field in SoundTriggerInstrumentation.ModelSession
/frameworks/base/graphics/java/android/graphics/
DColorSpace.java244 @NonNull private final Model mModel; field in ColorSpace
961 mModel = model; in ColorSpace()
1022 return mModel; in getModel()
1036 return mModel.getComponentCount(); in getComponentCount()
1169 float[] xyz = new float[mModel.getComponentCount()]; in fromXyz()
1218 return mName + " (id=" + mId + ", model=" + mModel + ")"; in toString()
1231 return mModel == that.mModel; in equals()
1238 result = 31 * result + mModel.hashCode(); in hashCode()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDevice.cpp341 if (deviceInfo->mModel) in android_mtp_MtpDevice_get_device_info()
343 env->NewStringUTF(deviceInfo->mModel)); in android_mtp_MtpDevice_get_device_info()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt16414 Landroid/graphics/ColorSpace;->mModel:Landroid/graphics/ColorSpace$Model;
22216 Landroid/hardware/usb/AccessoryFilter;->mModel:Ljava/lang/String;
22332 Landroid/hardware/usb/UsbAccessory;->mModel:Ljava/lang/String;
32244 Landroid/mtp/MtpDeviceInfo;->mModel:Ljava/lang/String;
45582 Landroid/renderscript/ProgramVertexFixedFunction$Constants;->mModel:Landroid/renderscript/Matrix4f;
62028 Landroid/view/textclassifier/TextClassifierImpl;->mModel:Landroid/view/textclassifier/TextClassifie…