Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DHalVersion.java41 public int compareTo(HalVersion ver) { in compareTo() argument
42 if (ver == null) { in compareTo()
45 if (this.major > ver.major) { in compareTo()
47 } else if (this.major < ver.major) { in compareTo()
49 } else if (this.minor > ver.minor) { in compareTo()
51 } else if (this.minor < ver.minor) { in compareTo()
70 public boolean greater(HalVersion ver) { in greater() argument
71 return compareTo(ver) > 0; in greater()
77 public boolean less(HalVersion ver) { in less() argument
78 return compareTo(ver) < 0; in less()
[all …]
/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/
DReshape.cpp50 #define DEFINE_SPACE_TO_DEPTH_SIGNATURE(ver, ...) \ argument
51 DEFINE_OPERATION_SIGNATURE(SPACE_TO_DEPTH_##ver){ \
55 .version = TestHalVersion::ver, \
65 #define DEFINE_SPACE_TO_DEPTH_WITH_LAYOUT_SIGNATURE(ver, ...) \ argument
66 DEFINE_OPERATION_SIGNATURE(SPACE_TO_DEPTH_layout_##ver){ \
70 .version = TestHalVersion::ver, \
105 #define DEFINE_DEPTH_TO_SPACE_SIGNATURE(ver, ...) \ argument
106 DEFINE_OPERATION_SIGNATURE(DEPTH_TO_SPACE_##ver){ \
111 .version = TestHalVersion::ver, \
121 #define DEFINE_DEPTH_TO_SPACE_WITH_LAYOUT_SIGNATURE(ver, ...) \ argument
[all …]
DConvolutions.cpp25 static void conv2DExplicitConstructor(TestOperandType, uint32_t rank, TestHalVersion ver, in conv2DExplicitConstructor() argument
77 setConvFCScale(/*applyOutputScaleBound=*/ver == TestHalVersion::V1_0, op); in conv2DExplicitConstructor()
80 static void conv2DImplicitConstructor(TestOperandType, uint32_t rank, TestHalVersion ver, in conv2DImplicitConstructor() argument
127 setConvFCScale(/*applyOutputScaleBound=*/ver == TestHalVersion::V1_0, op); in conv2DImplicitConstructor()
130 #define DEFINE_CONV_2D_SIGNATURE(ver, ...) \ argument
131 DEFINE_OPERATION_SIGNATURE(CONV_2D_explicit_##ver){ \
135 .version = TestHalVersion::ver, \
150 .constructor = std::bind(conv2DExplicitConstructor, _1, _2, TestHalVersion::ver, _3)}; \
151 DEFINE_OPERATION_SIGNATURE(CONV_2D_implicit_##ver){ \
155 .version = TestHalVersion::ver, \
[all …]
DResize.cpp73 #define DEFINE_RESIZE_WITHOUT_LAYOUT_SIGNATURE(op, ver, ...) \ argument
74 DEFINE_OPERATION_SIGNATURE(op##_no_layout_##ver){ \
78 .version = TestHalVersion::ver, \
89 #define DEFINE_RESIZE_OP_SIGNATURE(op, ver, ...) \ argument
90 DEFINE_OPERATION_SIGNATURE(op##_shape_##ver){ \
94 .version = TestHalVersion::ver, \
99 DEFINE_OPERATION_SIGNATURE(op##_scale_##ver){ \
103 .version = TestHalVersion::ver, \
119 #define DEFINE_RESIZE_OP_WITH_OPTIONAL_FLAGS_SIGNATURE(op, ver, ...) \ argument
120 DEFINE_OPERATION_SIGNATURE(op##_shape_with_optional_flags_##ver){ \
[all …]
DElementwise.cpp56 #define DEFINE_ELEMENTWISE_SIGNATURE(op, ver, ...) \ argument
57 DEFINE_OPERATION_SIGNATURE(op##_##ver){.opType = TestOperationType::op, \
60 .version = TestHalVersion::ver, \
84 #define DEFINE_ELEMENTWISE_SIGNATURE_WITH_RANK5(op, ver, ...) \ argument
85 DEFINE_OPERATION_SIGNATURE(op##_##ver){.opType = TestOperationType::op, \
88 .version = TestHalVersion::ver, \
113 #define DEFINE_ELEMENTWISE_WITH_QUANT_OUTPUT_SIGNATURE(op, ver, s, z, ...) \ argument
114 DEFINE_OPERATION_SIGNATURE(op##_##ver){.opType = TestOperationType::op, \
117 .version = TestHalVersion::ver, \
147 #define DEFINE_QUANTIZATION_OP_SIGNATURE(op, ver, outType, ...) \ argument
[all …]
DReduce.cpp63 #define DEFINE_MEAN_SIGNATURE(ver, ...) \ argument
64 DEFINE_OPERATION_SIGNATURE(MEAN_##ver){ \
68 .version = TestHalVersion::ver, \
78 #define DEFINE_REDUCE_SIGNATURE(op, ver, ...) \ argument
79 DEFINE_OPERATION_SIGNATURE(op##_##ver){ \
83 .version = TestHalVersion::ver, \
115 #define DEFINE_ARGMIN_MAX_SIGNATURE(op, ver, ...) \ argument
116 DEFINE_OPERATION_SIGNATURE(op##_##ver){ \
120 .version = TestHalVersion::ver, \
DPoolings.cpp101 #define DEFINE_POOLING_SIGNATURE(op, ver, ...) \ argument
102 DEFINE_OPERATION_SIGNATURE(op##_explicit_##ver){ \
106 .version = TestHalVersion::ver, \
122 DEFINE_OPERATION_SIGNATURE(op##_implicit_##ver){ \
126 .version = TestHalVersion::ver, \
150 #define DEFINE_POOLING_WITH_LAYOUT_SIGNATURE(op, ver, ...) \ argument
151 DEFINE_OPERATION_SIGNATURE(op##_explicit_layout_##ver){ \
155 .version = TestHalVersion::ver, \
172 DEFINE_OPERATION_SIGNATURE(op##_implicit_layout_##ver){ \
176 .version = TestHalVersion::ver, \
DBroadcast.cpp84 #define DEFINE_BROADCAST_WITH_ACT_SIGNATURE(op, ver, ...) \ argument
85 DEFINE_OPERATION_SIGNATURE(op##_##ver){ \
89 .version = TestHalVersion::ver, \
116 #define DEFINE_BROADCAST_SIGNATURE(op, ver, ...) \ argument
117 DEFINE_OPERATION_SIGNATURE(op##_##ver){.opType = TestOperationType::op, \
120 .version = TestHalVersion::ver, \
145 #define DEFINE_COMPARISON_SIGNATURE(op, ver, ...) \ argument
146 DEFINE_OPERATION_SIGNATURE(op##_##ver){ \
150 .version = TestHalVersion::ver, \
DBoundingBox.cpp126 #define DEFINE_ROI_ALIGN_SIGNATURE(ver, ...) \ argument
127 DEFINE_OPERATION_SIGNATURE(ROI_ALIGN_##ver){ \
131 .version = TestHalVersion::ver, \
153 #define DEFINE_ROI_POOLING_SIGNATURE(ver, ...) \ argument
154 DEFINE_OPERATION_SIGNATURE(ROI_POOLING_##ver){ \
158 .version = TestHalVersion::ver, \
220 #define DEFINE_HEATMAP_MAX_KEYPOINT_SIGNATURE(ver, ...) \ argument
221 DEFINE_OPERATION_SIGNATURE(HEATMAP_MAX_KEYPOINT_##ver){ \
225 .version = TestHalVersion::ver, \
DSelection.cpp47 #define DEFINE_EMBEDDING_LOOKUP_SIGNATURE(ver, ...) \ argument
48 DEFINE_OPERATION_SIGNATURE(EMBEDDING_LOOKUP_##ver){ \
52 .version = TestHalVersion::ver, \
149 #define DEFINE_GATHER_SIGNATURE(ver, ...) \ argument
150 DEFINE_OPERATION_SIGNATURE(GATHER_##ver){ \
154 .version = TestHalVersion::ver, \
174 #define DEFINE_SELECT_SIGNATURE(ver, ...) \ argument
175 DEFINE_OPERATION_SIGNATURE(SELECT_##ver){ \
179 .version = TestHalVersion::ver, \
211 #define DEFINE_TOPK_SIGNATURE(ver, ...) \ argument
[all …]
DFullyConnected.cpp25 static void fullyConnectedConstructor(TestOperandType, uint32_t rank, TestHalVersion ver, in fullyConnectedConstructor() argument
45 setConvFCScale(/*applyOutputScaleBound=*/ver == TestHalVersion::V1_0, op); in fullyConnectedConstructor()
/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/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/core/java/android/net/util/
DIpUtils.java116 byte ver = ipversion(buf, ipOffset); in transportChecksum()
117 if (ver == 4) { in transportChecksum()
119 } else if (ver == 6) { in transportChecksum()
/frameworks/ml/nn/common/include/
DValidateHal.h79 bool validatePool(const hal::hidl_memory& pool, HalVersion ver = HalVersion::LATEST);
80 bool validatePool(const hal::V1_3::Request::MemoryPool& pool, HalVersion ver = HalVersion::LATEST);
/frameworks/compile/libbcc/lib/
DRSEmbedInfo.cpp169 if (const auto ver = in getRSInfoString() local
171 slangVersion = ver->getString(); in getRSInfoString()
/frameworks/ml/nn/common/
DValidateHal.cpp519 bool validatePool(const hidl_memory& pool, HalVersion ver) { in validatePool() argument
522 ((ver < HalVersion::V1_2) || in validatePool()
534 bool validatePool(const V1_3::Request::MemoryPool& pool, HalVersion ver) { in validatePool() argument
537 return validatePool(pool.hidlMemory(), ver); in validatePool()
546 static bool validatePools(const hidl_vec<T_MemoryPool>& pools, HalVersion ver) { in validatePools() argument
548 [ver](const auto& pool) { return validatePool(pool, ver); }); in validatePools()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
DEuiccCard.java1156 EuiccSpecVersion ver = getOrExtractSpecVersion(selectResponse); in newRequestProvider()
1157 if (ver == null) { in newRequestProvider()
1161 if (ver.compareTo(SGP22_V_2_0) < 0) { in newRequestProvider()
1162 throw new EuiccCardException("eUICC spec version is unsupported: " + ver); in newRequestProvider()
1177 EuiccSpecVersion ver = EuiccSpecVersion.fromOpenChannelResponse(selectResponse); in getOrExtractSpecVersion() local
1178 if (ver != null) { in getOrExtractSpecVersion()
1181 mSpecVersion = ver; in getOrExtractSpecVersion()
1185 return ver; in getOrExtractSpecVersion()
/frameworks/av/media/libstagefright/webm/
DWebmElement.h43 int ver = 1,
DWebmElement.cpp280 int ver, in EbmlHeader() argument
287 headerFields.push_back(new WebmUnsigned(kMkvEbmlVersion, ver)); in EbmlHeader()
/frameworks/rs/support/java/src/androidx/renderscript/
DRenderScript.java300 …native long rsnContextCreate(long dev, int ver, int sdkVer, int contextType, String nativeLibDir); in rsnContextCreate() argument
301 …synchronized long nContextCreate(long dev, int ver, int sdkVer, int contextType, String nativeLibD… in nContextCreate() argument
302 return rsnContextCreate(dev, ver, sdkVer, contextType, nativeLibDir); in nContextCreate()
993 native long rsnIncContextCreate(long dev, int ver, int sdkVer, int contextType); in rsnIncContextCreate() argument
994 synchronized long nIncContextCreate(long dev, int ver, int sdkVer, int contextType) { in nIncContextCreate() argument
995 return rsnIncContextCreate(dev, ver, sdkVer, contextType); in nIncContextCreate()
/frameworks/base/rs/java/android/renderscript/
DRenderScript.java212 native long rsnContextCreateGL(long dev, int ver, int sdkVer, in rsnContextCreateGL() argument
218 synchronized long nContextCreateGL(long dev, int ver, int sdkVer, in nContextCreateGL() argument
224 return rsnContextCreateGL(dev, ver, sdkVer, colorMin, colorPref, in nContextCreateGL()
229 native long rsnContextCreate(long dev, int ver, int sdkVer, int contextType); in rsnContextCreate() argument
230 synchronized long nContextCreate(long dev, int ver, int sdkVer, int contextType) { in nContextCreate() argument
231 return rsnContextCreate(dev, ver, sdkVer, contextType); in nContextCreate()
/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp1472 OMX_VERSIONTYPE ver; in useGraphicBuffer_l() local
1473 ver.s.nVersionMajor = 1; in useGraphicBuffer_l()
1474 ver.s.nVersionMinor = 0; in useGraphicBuffer_l()
1475 ver.s.nRevision = 0; in useGraphicBuffer_l()
1476 ver.s.nStep = 0; in useGraphicBuffer_l()
1478 sizeof(UseAndroidNativeBufferParams), ver, portIndex, bufferMeta, in useGraphicBuffer_l()
/frameworks/base/services/core/java/com/android/server/pm/
DSettings.java1368 VersionInfo ver = mVersion.get(volumeUuid); in findOrCreateVersion() local
1369 if (ver == null) { in findOrCreateVersion()
1370 ver = new VersionInfo(); in findOrCreateVersion()
1371 mVersion.put(volumeUuid, ver); in findOrCreateVersion()
1373 return ver; in findOrCreateVersion()
2474 final VersionInfo ver = mVersion.valueAt(i); in writeLPr() local
2478 XmlUtils.writeIntAttribute(serializer, ATTR_SDK_VERSION, ver.sdkVersion); in writeLPr()
2479 XmlUtils.writeIntAttribute(serializer, ATTR_DATABASE_VERSION, ver.databaseVersion); in writeLPr()
2480 XmlUtils.writeStringAttribute(serializer, ATTR_FINGERPRINT, ver.fingerprint); in writeLPr()
3112 final VersionInfo ver = findOrCreateVersion(volumeUuid); in readLPw() local
[all …]

12