Home
last modified time | relevance | path

Searched refs:mVersion (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/base/core/java/android/hardware/usb/
DAccessoryFilter.java45 public final String mVersion; field in AccessoryFilter
50 mVersion = version; in AccessoryFilter()
56 mVersion = accessory.getVersion(); in AccessoryFilter()
89 if (mVersion != null) { in write()
90 serializer.attribute(null, "version", mVersion); in write()
98 return !(mVersion != null && !acc.getVersion().equals(mVersion)); in matches()
113 return !(mVersion != null && !Objects.equals(accessory.mVersion, mVersion)); in contains()
119 if (mManufacturer == null || mModel == null || mVersion == null) { in equals()
126 mVersion.equals(filter.mVersion)); in equals()
132 mVersion.equals(accessory.getVersion())); in equals()
[all …]
DUsbAccessory.java58 private final @Nullable String mVersion; field in UsbAccessory
85 mVersion = version; in UsbAccessory()
148 return mVersion; in getVersion()
193 compare(mVersion, accessory.getVersion()) && in equals()
204 (mVersion == null ? 0 : mVersion.hashCode()) ^ in hashCode()
213 ", mVersion=" + mVersion + in toString()
246 parcel.writeString(mVersion); in writeToParcel()
DUsbDevice.java55 private final @NonNull String mVersion; field in UsbDevice
85 mVersion = Preconditions.checkStringNotEmpty(version); in UsbDevice()
130 return mVersion; in getVersion()
293 ",mVersion=" + mVersion + ",mSerialNumberReader=" + mSerialNumberReader in toString()
343 parcel.writeString(mVersion); in writeToParcel()
371 private final @NonNull String mVersion; field in UsbDevice.Builder
390 mVersion = Preconditions.checkStringNotEmpty(version); in Builder()
404 mManufacturerName, mProductName, mVersion, mConfigurations, serialReader); in build()
/frameworks/compile/libbcc/bcinfo/
DBitcodeTranslator.cpp81 mTranslatedBitcodeSize(0), mVersion(version) { in BitcodeTranslator()
87 if (mVersion < kMinimumUntranslatedVersion) { in ~BitcodeTranslator()
104 if (BCWrapper.getTargetAPI() != mVersion) { in translate()
106 BCWrapper.getTargetAPI(), mVersion); in translate()
109 if ((mVersion != kDevelopmentAPIVersion) && in translate()
110 (mVersion != kCurrentAPIVersion) && in translate()
111 ((mVersion < kMinimumAPIVersion) || in translate()
112 (mVersion > kMaximumAPIVersion))) { in translate()
113 ALOGE("Invalid API version: %u is out of range ('%u' - '%u')", mVersion, in translate()
120 if (mVersion >= kMinimumUntranslatedVersion) { in translate()
[all …]
/frameworks/av/media/libstagefright/id3/
DID3.cpp100 mVersion(ID3_UNKNOWN), in ID3()
115 mVersion(ID3_UNKNOWN), in ID3()
129 mVersion(ID3_UNKNOWN), in ID3()
156 return mVersion; in version()
371 mVersion = ID3_V2_2; in parseV2()
373 mVersion = ID3_V2_3; in parseV2()
376 mVersion = ID3_V2_4; in parseV2()
532 if (mParent.mVersion == ID3_V2_2) { in getID()
534 } else if (mParent.mVersion == ID3_V2_3 || mParent.mVersion == ID3_V2_4) { in getID()
537 CHECK(mParent.mVersion == ID3_V1 || mParent.mVersion == ID3_V1_1); in getID()
[all …]
/frameworks/base/libs/usb/src/com/android/future/usb/
DUsbAccessory.java27 private final String mVersion; field in UsbAccessory
35 mVersion = accessory.getVersion(); in UsbAccessory()
73 return mVersion; in getVersion()
110 compare(mVersion, accessory.getVersion()) && in equals()
122 (mVersion == null ? 0 : mVersion.hashCode()) ^ in hashCode()
132 ", mVersion=" + mVersion + in toString()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
DVersionInfo.java37 return mVersions.get(mDefault).mVersion; in getDefaultVersion()
90 if (v.mVersion != version.mVersion) { in checkVersion()
91 throw new InvalidVersionException(aClass, v.mVersion < version.mVersion, in checkVersion()
92 v.mVersion, in checkVersion()
93 version.mVersion); in checkVersion()
140 private final int mVersion; field in VersionInfo.Version
144 mVersion = version; in Version()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardSourceDetector.java80 private int mVersion = -1; // -1 == unknown field in VCardSourceDetector
110 mVersion = VCardConfig.VERSION_21; in onPropertyCreated()
112 mVersion = VCardConfig.VERSION_30; in onPropertyCreated()
114 mVersion = VCardConfig.VERSION_40; in onPropertyCreated()
151 if (mVersion == VCardConfig.VERSION_21) { in getEstimatedType()
153 } else if (mVersion == VCardConfig.VERSION_30) { in getEstimatedType()
155 } else if (mVersion == VCardConfig.VERSION_40) { in getEstimatedType()
/frameworks/av/media/mtp/
DMtpDeviceInfo.cpp39 mVersion(NULL), in MtpDeviceInfo()
56 if (mVersion) in ~MtpDeviceInfo()
57 free(mVersion); in ~MtpDeviceInfo()
93 mVersion = strdup((const char *)string); in read()
94 if (!mVersion) return false; in read()
106 mVendorExtensionDesc, mFunctionalMode, mManufacturer, mModel, mVersion, mSerial); in print()
/frameworks/base/core/java/android/hardware/location/
DContextHubMessage.java42 private int mVersion; field in ContextHubMessage
60 return mVersion; in getVersion()
87 mVersion = version; in setVersion()
108 mVersion = version; in ContextHubMessage()
118 mVersion = in.readInt(); in ContextHubMessage()
126 out.writeInt(mVersion); in writeToParcel()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/soap/
DSppResponseMessage.java41 private final String mVersion; field in SppResponseMessage
89 mVersion = response.getAttributeAsString(SPPVersionAttribute); in SppResponseMessage()
107 return mVersion; in getVersion()
128 return Objects.hash(mMessageType, mVersion, mSessionID, mStatus, mError, mAttributes); in hashCode()
139 && TextUtils.equals(mVersion, that.mVersion) in equals()
148 sb.append(", version ").append(mVersion); in toString()
/frameworks/base/core/java/android/content/pm/
DSharedLibraryInfo.java97 private final long mVersion; field in SharedLibraryInfo
124 mVersion = version; in SharedLibraryInfo()
246 return mVersion < 0 ? (int) mVersion : (int) (mVersion & 0x7fffffff); in getVersion()
258 return mVersion; in getLongVersion()
311 + ", version:" + mVersion + (!getDependentPackages().isEmpty() in toString()
321 parcel.writeLong(mVersion); in writeToParcel()
/frameworks/base/core/java/com/android/ims/internal/uce/presence/
DPresRlmiInfo.java32 private int mVersion; field in PresRlmiInfo
74 return mVersion; in getVersion()
83 this.mVersion = version; in setVersion()
203 dest.writeInt(mVersion); in writeToParcel()
233 mVersion = source.readInt(); in readFromParcel()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListThrasher.java61 private int[] mVersion = new int[100]; field in ListThrasher.ThrashListAdapter
66 mVersion = new int[100]; in ThrashListAdapter()
71 mVersion[i] = 0; in ThrashListAdapter()
95 view.setText(mTitles[position] + " " + mVersion[position]); in getView()
102 mVersion[position]++; in bumpVersion()
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridThrasher.java63 private int[] mVersion = new int[100]; field in GridThrasher.ThrashListAdapter
68 mVersion = new int[100]; in ThrashListAdapter()
73 mVersion[i] = 0; in ThrashListAdapter()
97 view.setText(mTitles[position] + " " + mVersion[position]); in getView()
104 mVersion[position]++; in bumpVersion()
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
DWifiP2pUpnpServiceResponse.java34 private int mVersion; field in WifiP2pUpnpServiceResponse
51 return mVersion; in getVersion()
110 mVersion = mData[0] & 0xff; in parse()
125 sbuf.append(" version:").append(String.format("%02x", mVersion)); in toString()
DWifiP2pDnsSdServiceResponse.java63 private int mVersion; field in WifiP2pDnsSdServiceResponse
108 return mVersion; in getVersion()
133 sbuf.append(" version:").append(String.format("%02x", mVersion)); in toString()
190 mVersion = dis.readUnsignedByte(); in parse()
/frameworks/base/libs/androidfw/include/androidfw/
DObbFile.h59 return mVersion; in getVersion()
63 mVersion = version; in setVersion()
122 int32_t mVersion; variable
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
DAppOpsUpgradeTest.java135 assertEquals(AppOpsDataParser.NO_VERSION, parser.mVersion); in testUpgradeFromNoVersion()
143 assertEquals(CURRENT_VERSION, parser.mVersion); in testUpgradeFromNoVersion()
152 int mVersion; field in AppOpsUpgradeTest.AppOpsDataParser
157 mVersion = NO_VERSION; in AppOpsDataParser()
174 mVersion = Integer.parseInt(versionString); in parse()
/frameworks/base/core/java/com/android/internal/os/
DKernelWakelockStats.java27 public int mVersion; field in KernelWakelockStats.Entry
32 mVersion = version; in Entry()
/frameworks/base/libs/androidfw/
DObbFile.cpp77 , mVersion(-1) in ObbFile()
200 mVersion = (int32_t) get4LE((unsigned char*)scanBuf + kPackageVersionOffset); in parseObbFile()
220 ALOGI("Obb scan succeeded: packageName=%s, version=%d\n", mPackageName.string(), mVersion); in parseObbFile()
253 if (mPackageName.size() == 0 || mVersion == -1) { in writeTo()
267 put4LE(intBuf, mVersion); in writeTo()
/frameworks/base/core/java/android/view/textclassifier/
DModelFileManager.java203 private final int mVersion; field in ModelFileManager.ModelFile
212 mVersion = version; in ModelFile()
230 return mVersion; in getVersion()
268 if (mVersion > model.getVersion()) { in isPreferredTo()
299 getPath(), getName(), mVersion, localesJoiner.toString()); in toString()
/frameworks/base/libs/storage/
DObbInfo.cpp27 mPackageName(packageName), mVersion(version), mFlags(flags), mSaltSize(saltSize), in ObbInfo()
41 p->writeInt32(mVersion); in writeToParcel()
/frameworks/base/media/java/android/mtp/
DMtpDeviceInfo.java30 private String mVersion; field in MtpDeviceInfo
63 return mVersion; in getVersion()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DAudioPresentationInfo.h43 uint32_t mVersion = PRESENTATION_VERSION_UNDEFINED; member
56 mVersion = PRESENTATION_VERSION_1; in AudioPresentationV1()

123