Home
last modified time | relevance | path

Searched refs:ver (Results 1 – 22 of 22) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DHalVersion.java44 public int compareTo(HalVersion ver) { in compareTo() argument
45 if (ver == null) { in compareTo()
48 if (this.major > ver.major) { in compareTo()
50 } else if (this.major < ver.major) { in compareTo()
52 } else if (this.minor > ver.minor) { in compareTo()
54 } else if (this.minor < ver.minor) { in compareTo()
73 public boolean greater(HalVersion ver) { in greater() argument
74 return compareTo(ver) > 0; in greater()
80 public boolean less(HalVersion ver) { in less() argument
81 return compareTo(ver) < 0; in less()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/
DEuiccSpecVersionTest.java32 EuiccSpecVersion ver = new EuiccSpecVersion(1, 2, 3); in testCreate() local
33 assertEquals(1, ver.getMajor()); in testCreate()
34 assertEquals(2, ver.getMinor()); in testCreate()
35 assertEquals(3, ver.getRevision()); in testCreate()
40 EuiccSpecVersion ver = new EuiccSpecVersion(new byte[] {1, 2, 3}); in testCreateFromBytes() local
41 assertEquals(1, ver.getMajor()); in testCreateFromBytes()
42 assertEquals(2, ver.getMinor()); in testCreateFromBytes()
43 assertEquals(3, ver.getRevision()); in testCreateFromBytes()
/frameworks/hardware/interfaces/location/altitude/aidl/vts/functional/
DVtsHalAltitudeServiceTargetTest.cpp62 int32_t ver = 0; in TEST_P() local
63 auto ret = service->getInterfaceVersion(&ver); in TEST_P()
65 if (ver >= 2) { in TEST_P()
72 int32_t ver = 0; in TEST_P() local
73 auto ret = service->getInterfaceVersion(&ver); in TEST_P()
75 if (ver < 2) GTEST_SKIP() << "getGeoidHeight is introduced in V2"; in TEST_P()
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsGNUInfo.cpp20 void MipsGNUInfo::setABIVersion(uint8_t ver) { in setABIVersion() argument
21 m_ABIVersion = ver; in setABIVersion()
DMipsGNUInfo.h20 void setABIVersion(uint8_t ver);
/frameworks/base/services/core/java/com/android/server/pm/
DStorageEventHelper.java148 final Settings.VersionInfo ver; in loadPrivatePackagesInner() local
151 ver = mPm.mSettings.findOrCreateVersion(volumeUuid); in loadPrivatePackagesInner()
170 if (!PackagePartitions.FINGERPRINT.equals(ver.fingerprint)) { in loadPrivatePackagesInner()
211 final boolean isUpgrade = !PackagePartitions.FINGERPRINT.equals(ver.fingerprint); in loadPrivatePackagesInner()
213 logCriticalInfo(Log.INFO, "Partitions fingerprint changed from " + ver.fingerprint in loadPrivatePackagesInner()
220 ver.forceCurrent(); in loadPrivatePackagesInner()
DReconcilePackageUtils.java345 public static boolean isCompatSignatureUpdateNeeded(Settings.VersionInfo ver) { in isCompatSignatureUpdateNeeded() argument
346 return ver.databaseVersion < Settings.DatabaseVersion.SIGNATURE_END_ENTITY; in isCompatSignatureUpdateNeeded()
349 public static boolean isRecoverSignatureUpdateNeeded(Settings.VersionInfo ver) { in isRecoverSignatureUpdateNeeded() argument
350 return ver.databaseVersion < Settings.DatabaseVersion.SIGNATURE_MALFORMED_RECOVER; in isRecoverSignatureUpdateNeeded()
DSettings.java1634 VersionInfo ver = mVersion.get(volumeUuid);
1635 if (ver == null) {
1636 ver = new VersionInfo();
1637 mVersion.put(volumeUuid, ver);
1639 return ver;
2780 final VersionInfo ver = mVersion.valueAt(i);
2784 serializer.attributeInt(null, ATTR_SDK_VERSION, ver.sdkVersion);
2785 serializer.attributeInt(null, ATTR_DATABASE_VERSION, ver.databaseVersion);
2787 ver.buildFingerprint);
2788 XmlUtils.writeStringAttribute(serializer, ATTR_FINGERPRINT, ver.fingerprint);
[all …]
DPackageManagerService.java2226 final VersionInfo ver = mSettings.getInternalVersion(); in PackageManagerService() local
2228 !partitionsFingerprint.equals(ver.fingerprint); in PackageManagerService()
2231 "Upgrading from " + ver.fingerprint + " (" + ver.buildFingerprint + ") to " in PackageManagerService()
2234 mPriorSdkVersion = mIsUpgrade ? ver.sdkVersion : -1; in PackageManagerService()
2240 mIsUpgrade && ver.sdkVersion <= Build.VERSION_CODES.LOLLIPOP_MR1; in PackageManagerService()
2242 mIsPreNMR1Upgrade = mIsUpgrade && ver.sdkVersion < Build.VERSION_CODES.N_MR1; in PackageManagerService()
2243 mIsPreQUpgrade = mIsUpgrade && ver.sdkVersion < Build.VERSION_CODES.Q; in PackageManagerService()
2356 Slog.i(TAG, "Partitions fingerprint changed from " + ver.fingerprint + " to " in PackageManagerService()
2362 ver.sdkVersion = mSdkVersion; in PackageManagerService()
2390 ver.buildFingerprint = Build.FINGERPRINT; in PackageManagerService()
[all …]
/frameworks/compile/libbcc/lib/
DRSEmbedInfo.cpp169 if (const auto ver = in getRSInfoString() local
171 slangVersion = ver->getString(); in getRSInfoString()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
DEuiccPort.java1122 EuiccSpecVersion ver = getOrExtractSpecVersion(selectResponse); in newRequestProvider()
1123 if (ver == null) { in newRequestProvider()
1127 if (ver.compareTo(SGP22_V_2_0) < 0) { in newRequestProvider()
1128 throw new EuiccCardException("eUICC spec version is unsupported: " + ver); in newRequestProvider()
1143 EuiccSpecVersion ver = EuiccSpecVersion.fromOpenChannelResponse(selectResponse); in getOrExtractSpecVersion() local
1144 if (ver != null) { in getOrExtractSpecVersion()
1147 mSpecVersion = ver; in getOrExtractSpecVersion()
1151 return ver; in getOrExtractSpecVersion()
/frameworks/av/media/codec2/vndk/include/
DC2BufferPriv.h84 BufferPoolVer ver = VER_HIDL);
/frameworks/av/media/libstagefright/webm/include/webm/
DWebmElement.h43 int ver = 1,
/frameworks/rs/support/java/src/androidx/renderscript/
DRenderScript.java305 …native long rsnContextCreate(long dev, int ver, int sdkVer, int contextType, String nativeLibDir); in rsnContextCreate() argument
306 …synchronized long nContextCreate(long dev, int ver, int sdkVer, int contextType, String nativeLibD… in nContextCreate() argument
307 return rsnContextCreate(dev, ver, sdkVer, contextType, nativeLibDir); in nContextCreate()
998 native long rsnIncContextCreate(long dev, int ver, int sdkVer, int contextType); in rsnIncContextCreate() argument
999 synchronized long nIncContextCreate(long dev, int ver, int sdkVer, int contextType) { in nIncContextCreate() argument
1000 return rsnIncContextCreate(dev, ver, sdkVer, contextType); in nIncContextCreate()
/frameworks/base/rs/java/android/renderscript/
DRenderScript.java217 native long rsnContextCreateGL(long dev, int ver, int sdkVer, in rsnContextCreateGL() argument
223 synchronized long nContextCreateGL(long dev, int ver, int sdkVer, in nContextCreateGL() argument
229 return rsnContextCreateGL(dev, ver, sdkVer, colorMin, colorPref, in nContextCreateGL()
234 native long rsnContextCreate(long dev, int ver, int sdkVer, int contextType); in rsnContextCreate() argument
235 synchronized long nContextCreate(long dev, int ver, int sdkVer, int contextType) { in nContextCreate() argument
236 return rsnContextCreate(dev, ver, sdkVer, contextType); in nContextCreate()
/frameworks/av/media/libstagefright/webm/
DWebmElement.cpp280 int ver, in EbmlHeader() argument
287 headerFields.push_back(new WebmUnsigned(kMkvEbmlVersion, ver)); in EbmlHeader()
/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp1518 OMX_VERSIONTYPE ver; in useGraphicBuffer_l() local
1519 ver.s.nVersionMajor = 1; in useGraphicBuffer_l()
1520 ver.s.nVersionMinor = 0; in useGraphicBuffer_l()
1521 ver.s.nRevision = 0; in useGraphicBuffer_l()
1522 ver.s.nStep = 0; in useGraphicBuffer_l()
1524 sizeof(UseAndroidNativeBufferParams), ver, portIndex, bufferMeta, in useGraphicBuffer_l()
/frameworks/compile/slang/
Dslang_backend.cpp101 auto ver = llvm::MDString::get(ctx, versionString); in runOnModule() local
103 llvm::MDNode::get(ctx, llvm::ArrayRef<llvm::Metadata *>(ver))); in runOnModule()
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoEncTest.cpp75 C2PooledBlockPool::BufferPoolVer ver = ::android::IsCodec2AidlHalSelected() ? in SetUp() local
77 mGraphicPool = std::make_shared<C2PooledBlockPool>(mGraphicAllocator, mBlockPoolId++, ver); in SetUp()
/frameworks/rs/support/jni/
Dandroid_renderscript_RenderScript.cpp805 nContextCreate(JNIEnv *_env, jobject _this, jlong dev, jint ver, jint sdkVer, in nContextCreate() argument
813 jlong id = (jlong)(uintptr_t)dispatchTab.ContextCreate((RsDevice)dev, ver, in nContextCreate()
2156 nIncContextCreate(JNIEnv *_env, jobject _this, jlong dev, jint ver, jint sdkVer, jint ct) in nIncContextCreate() argument
2160 return (jlong)(uintptr_t)dispatchTabInc.ContextCreate((RsDevice)dev, ver, sdkVer, in nIncContextCreate()
/frameworks/av/media/codec2/vndk/
DC2Buffer.cpp1175 BufferPoolVer ver) in C2PooledBlockPool() argument
1176 : mAllocator(allocator), mLocalId(localId), mBufferPoolVer(ver) { in C2PooledBlockPool()
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp860 nContextCreateGL(JNIEnv *_env, jobject _this, jlong dev, jint ver, jint sdkVer, in nContextCreateGL() argument
882 return (jlong)(uintptr_t)rsContextCreateGL((RsDevice)dev, ver, sdkVer, sc, dpi); in nContextCreateGL()