Home
last modified time | relevance | path

Searched refs:ver (Results 1 – 25 of 28) 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/
DElementwise.cpp23 #define DEFINE_ELEMENTWISE_SIGNATURE(op, ver, ...) \ argument
24 DEFINE_OPERATION_SIGNATURE(op##_##ver){.opType = ANEURALNETWORKS_##op, \
27 .version = HalVersion::ver, \
43 #define DEFINE_ELEMENTWISE_SIGNATURE_WITH_RANK5(op, ver, ...) \ argument
44 DEFINE_OPERATION_SIGNATURE(op##_##ver){.opType = ANEURALNETWORKS_##op, \
47 .version = HalVersion::ver, \
66 #define DEFINE_ELEMENTWISE_SIGNATURE_WITH_DISCONNECTED_OUTPUT(op, ver, ...) \ argument
67 DEFINE_OPERATION_SIGNATURE(op##_##ver){.opType = ANEURALNETWORKS_##op, \
70 .version = HalVersion::ver, \
83 #define DEFINE_ELEMENTWISE_WITH_QUANT_OUTPUT_SIGNATURE(op, ver, s, z, ...) \ argument
[all …]
DResize.cpp64 #define DEFINE_RESIZE_WITHOUT_LAYOUT_SIGNATURE(op, ver, ...) \ argument
65 DEFINE_OPERATION_SIGNATURE(op##_no_layout_##ver){ \
69 .version = HalVersion::ver, \
78 #define DEFINE_RESIZE_OP_SIGNATURE(op, ver, ...) \ argument
79 DEFINE_OPERATION_SIGNATURE(op##_shape_##ver){ \
83 .version = HalVersion::ver, \
88 DEFINE_OPERATION_SIGNATURE(op##_scale_##ver){ \
92 .version = HalVersion::ver, \
DReduce.cpp63 #define DEFINE_MEAN_SIGNATURE(ver, ...) \ argument
64 DEFINE_OPERATION_SIGNATURE(MEAN_##ver){ \
68 .version = HalVersion::ver, \
77 #define DEFINE_REDUCE_SIGNATURE(op, ver, ...) \ argument
78 DEFINE_OPERATION_SIGNATURE(op##_##ver){ \
82 .version = HalVersion::ver, \
110 #define DEFINE_ARGMIN_MAX_SIGNATURE(op, ver, ...) \ argument
111 DEFINE_OPERATION_SIGNATURE(op##_##ver){ \
116 .version = HalVersion::ver, \
DBroadcast.cpp57 #define DEFINE_BROADCAST_WITH_ACT_SIGNATURE(op, ver, ...) \ argument
58 DEFINE_OPERATION_SIGNATURE(op##_##ver){ \
62 .version = HalVersion::ver, \
78 #define DEFINE_BROADCAST_SIGNATURE(op, ver, ...) \ argument
79 DEFINE_OPERATION_SIGNATURE(op##_##ver){.opType = ANEURALNETWORKS_##op, \
82 .version = HalVersion::ver, \
101 #define DEFINE_COMPARISON_SIGNATURE(op, ver, ...) \ argument
102 DEFINE_OPERATION_SIGNATURE(op##_##ver){.opType = ANEURALNETWORKS_##op, \
105 .version = HalVersion::ver, \
DPoolings.cpp101 #define DEFINE_POOLING_SIGNATURE(op, ver, ...) \ argument
102 DEFINE_OPERATION_SIGNATURE(op##_explicit_##ver){ \
106 .version = HalVersion::ver, \
122 DEFINE_OPERATION_SIGNATURE(op##_implicit_##ver){ \
126 .version = HalVersion::ver, \
148 #define DEFINE_POOLING_WITH_LAYOUT_SIGNATURE(op, ver, ...) \ argument
149 DEFINE_OPERATION_SIGNATURE(op##_explicit_layout_##ver){ \
153 .version = HalVersion::ver, \
170 DEFINE_OPERATION_SIGNATURE(op##_implicit_layout_##ver){ \
174 .version = HalVersion::ver, \
DConvolutions.cpp25 static void conv2DExplicitConstructor(Type, uint32_t rank, HalVersion ver, RandomOperation* op) { in conv2DExplicitConstructor() argument
76 setConvFCScale(/*applyOutputScaleBound=*/ver == HalVersion::V1_0, op); in conv2DExplicitConstructor()
79 static void conv2DImplicitConstructor(Type, uint32_t rank, HalVersion ver, RandomOperation* op) { in conv2DImplicitConstructor() argument
125 setConvFCScale(/*applyOutputScaleBound=*/ver == HalVersion::V1_0, op); in conv2DImplicitConstructor()
128 #define DEFINE_CONV_2D_SIGNATURE(ver, ...) \ argument
129 DEFINE_OPERATION_SIGNATURE(CONV_2D_explicit_##ver){ \
133 .version = HalVersion::ver, \
148 .constructor = std::bind(conv2DExplicitConstructor, _1, _2, HalVersion::ver, _3)}; \
149 DEFINE_OPERATION_SIGNATURE(CONV_2D_implicit_##ver){ \
153 .version = HalVersion::ver, \
[all …]
DFullyConnected.cpp25 static void fullyConnectedConstructor(Type, uint32_t rank, HalVersion ver, RandomOperation* op) { in fullyConnectedConstructor() argument
44 setConvFCScale(/*applyOutputScaleBound=*/ver == HalVersion::V1_0, op); in fullyConnectedConstructor()
/frameworks/ml/nn/runtime/test/specs/
Dgenerate_vts_test.sh38 for ver in $NNAPI_VERSION;
40 VER_DIR=$VTS_PATH/specs/$ver
43 OUTFILE=$VTS_PATH/generated/all_generated_${ver}_vts_tests.cpp
62 for ver in $NNAPI_VERSION;
64 VER_DIR=$VTS_PATH/specs/$ver
66 OUTFILE=$VTS_PATH/generated/all_generated_${ver}_vts_tests.cpp
Dgenerate_test.sh81 for ver in $NNAPI_VERSION;
83 VER_DIR=$ANDROID_BUILD_TOP/$TEST_DIR/specs/$ver
116 for ver in $NNAPI_VERSION;
118 VER_DIR=$ANDROID_BUILD_TOP/$TEST_DIR/specs/$ver
/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.h60 bool validatePool(const hidl_memory& 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.cpp436 bool validatePool(const hidl_memory& pool, HalVersion ver) { in validatePool() argument
439 ((ver < HalVersion::V1_2) || in validatePool()
451 static bool validatePools(const hidl_vec<hidl_memory>& pools, HalVersion ver) { in validatePools() argument
453 [ver](const hidl_memory& pool) { return validatePool(pool, ver); }); in validatePools()
/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/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/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/services/core/java/com/android/server/pm/
DSettings.java1322 VersionInfo ver = mVersion.get(volumeUuid); in findOrCreateVersion() local
1323 if (ver == null) { in findOrCreateVersion()
1324 ver = new VersionInfo(); in findOrCreateVersion()
1325 mVersion.put(volumeUuid, ver); in findOrCreateVersion()
1327 return ver; in findOrCreateVersion()
2414 final VersionInfo ver = mVersion.valueAt(i); in writeLPr() local
2418 XmlUtils.writeIntAttribute(serializer, ATTR_SDK_VERSION, ver.sdkVersion); in writeLPr()
2419 XmlUtils.writeIntAttribute(serializer, ATTR_DATABASE_VERSION, ver.databaseVersion); in writeLPr()
2420 XmlUtils.writeStringAttribute(serializer, ATTR_FINGERPRINT, ver.fingerprint); in writeLPr()
3044 final VersionInfo ver = findOrCreateVersion(volumeUuid); in readLPw() local
[all …]
/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp1383 OMX_VERSIONTYPE ver; in useGraphicBuffer_l() local
1384 ver.s.nVersionMajor = 1; in useGraphicBuffer_l()
1385 ver.s.nVersionMinor = 0; in useGraphicBuffer_l()
1386 ver.s.nRevision = 0; in useGraphicBuffer_l()
1387 ver.s.nStep = 0; in useGraphicBuffer_l()
1389 sizeof(UseAndroidNativeBufferParams), ver, portIndex, bufferMeta, in useGraphicBuffer_l()
/frameworks/opt/gamesdk/
Dbuild.gradle90 def ver = props."Pkg.Revision"
91 def parts = ver.findAll("[^.]+")
/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()

12