Home
last modified time | relevance | path

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

12

/system/chre/util/tests/
Dpriority_queue_test.cc18 int getValue() const { in getValue() function in __anon2ccf46cc0111::DummyElement
31 return left.getValue() > right.getValue(); in compareFunction()
37 return left.getValue() > right.getValue(); in operator ()()
171 return left.getValue() > right.getValue(); in TEST()
180 EXPECT_EQ(0, q.top().getValue()); in TEST()
184 EXPECT_EQ(1, q.top().getValue()); in TEST()
188 EXPECT_EQ(2, q.top().getValue()); in TEST()
202 EXPECT_EQ(0, q.top().getValue()); in TEST()
206 EXPECT_EQ(1, q.top().getValue()); in TEST()
210 EXPECT_EQ(2, q.top().getValue()); in TEST()
[all …]
Doptional_test.cc143 int getValue() const { in getValue() function in MovableButNonCopyable
166 EXPECT_EQ(container->getValue(), kValue1); in TEST()
167 EXPECT_EQ(transferee1.getValue(), kInvalidValue); in TEST()
174 EXPECT_EQ(container->getValue(), kValue2); in TEST()
175 EXPECT_EQ(transferee2.getValue(), kInvalidValue); in TEST()
Ddynamic_vector_test.cc40 int getValue() { in getValue() function in __anon1566bc9d0111::Dummy
132 int getValue() const { in getValue() function in MovableButNonCopyable
147 EXPECT_EQ(mbnc.getValue(), -1); in TEST()
150 EXPECT_EQ(mbnc2.getValue(), -1); in TEST()
153 EXPECT_EQ(vector[0].getValue(), 0x1337); in TEST()
154 EXPECT_EQ(vector[1].getValue(), 0xface); in TEST()
155 EXPECT_EQ(vector[2].getValue(), 0xcafe); in TEST()
156 EXPECT_EQ(vector[3].getValue(), 0xd00d); in TEST()
178 int getValue() const { in getValue() function in CopyableButNonMovable
197 EXPECT_EQ(vector[0].getValue(), 0x1337); in TEST()
[all …]
/system/chre/platform/linux/
Dinit.cc81 if (!audioFileArg.getValue().empty()) { in main()
83 audioFileArg.getValue(), minAudioBufSizeArg.getValue(), in main()
84 maxAudioBufSizeArg.getValue()); in main()
103 if (!noStaticNanoappsArg.getValue()) { in main()
109 for (const auto& nanoapp : nanoappsArg.getValue()) { in main()
/system/tools/xsdc/src/com/android/xsdc/cpp/
DCppSimpleType.java76 public String getWritingExpression(String getValue, String name) { in getWritingExpression() argument
80 expression.append(String.format("for (const auto& v : %s) {\n", getValue)); in getWritingExpression()
97 expression.append(String.format("out << %sToString(%s);\n", this.name, getValue)); in getWritingExpression()
99 expression.append(String.format("out << (int)%s;\n", getValue)); in getWritingExpression()
101 expression.append(String.format("out << (%s ? \"true\" : \"false\");\n", getValue)); in getWritingExpression()
103 expression.append(String.format("out << %s;\n", getValue)); in getWritingExpression()
DCppComplexType.java37 public String getWritingExpression(String getValue, String name) { in getWritingExpression() argument
38 return String.format("%s.write(out, \"%s\");\n", getValue, name); in getWritingExpression()
DCppType.java24 public String getWritingExpression(String getValue, String name); in getWritingExpression() argument
/system/tools/xsdc/src/com/android/xsdc/java/
DJavaComplexType.java47 public String getWritingExpression(String getValue, String name) { in getWritingExpression() argument
48 return String.format("%s.write(out, \"%s\");\n", getValue, name); in getWritingExpression()
DJavaSimpleType.java83 public String getWritingExpression(String getValue, String name) { in getWritingExpression() argument
87 expression.append(String.format("for (%s v : %s) {\n", this.name, getValue)); in getWritingExpression()
94 expression.append(String.format("out.printf(\"%%s\", %s);\n", getValue)); in getWritingExpression()
DJavaType.java28 String getWritingExpression(String getValue, String name); in getWritingExpression() argument
DJavaCodeGenerator.java137 String value = tag.getValue(); in printEnumClass()
141 out.printf("\n%s(\"%s\"),", Utils.toEnumName(value), tag.getValue()); in printEnumClass()
/system/nfc/utils/
Dconfig.cc151 ConfigValue& ConfigFile::getValue(const std::string& key) { in getValue() function in ConfigFile
158 return getValue(key).getString(); in getString()
162 return getValue(key).getUnsigned(); in getUnsigned()
166 return getValue(key).getBytes(); in getBytes()
/system/teeui/tools/framebufferizer/src/com/android/framebufferizer/utils/
DFrameBufferBuffer.java95 public int getValue(){ in getValue() method in FrameBufferBuffer.EVENT_RESULT
262 if(value == EVENT_RESULT.CONFIRM.getValue()){ in mouseReleased()
264 } else if (value == EVENT_RESULT.CANCEL.getValue()){ in mouseReleased()
333 … .setSelectedItem((DeviceInfoDB.Device.valueOf(((String) element.getValue())))); in setDefaultValues()
336 getConfigSelector().localeSelector.setSelectedItem((String) element.getValue()); in setDefaultValues()
339 getConfigSelector().magnifiedCheckbox.setSelected((Boolean) element.getValue()); in setDefaultValues()
342 getConfigSelector().invertedCheckbox.setSelected((Boolean) element.getValue()); in setDefaultValues()
345 getConfigSelector().confirmationMessage.setText((String) element.getValue()); in setDefaultValues()
348 getConfigSelector().layoutSelector.setSelectedItem((String) element.getValue()); in setDefaultValues()
/system/tools/xsdc/src/com/android/xsdc/tag/
DXsdEnumeration.java27 public String getValue() { in getValue() method in XsdEnumeration
/system/security/keystore/
Dkeystore_utils.cpp151 hidl_vec<uint8_t> result(blob.getValue(), blob.getValue() + blob.getLength()); in blob2hidlVec()
Duser_state.cpp201 mMasterKey = std::vector<uint8_t>(masterKeyBlob.getValue(), in readMasterKey()
202 masterKeyBlob.getValue() + masterKeyBlob.getLength()); in readMasterKey()
Dblob.h123 const uint8_t* getValue() const { return mBlob->value; } in getValue() function
/system/nfc/utils/include/
Dconfig.h59 ConfigValue& getValue(const std::string& key);
/system/libvintf/xsd/halManifest/api/
Dcurrent.txt22 method public String getValue();
46 method public String getValue();
/system/libvintf/xsd/compatibilityMatrix/api/
Dcurrent.txt36 method public compatibility.matrix.Config.Value getValue();
44 method public String getValue();
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DBackwardFile.java91 String toId = entry.getValue(); in getAllAlternativeIds()
/system/extras/verity/
DBootSignature.java108 if (formatVersion.getValue().intValue() != FORMAT_VERSION) { in BootSignature()
181 if (length.getValue().intValue() != image.length) { in verify()
/system/tools/xsdc/tests/src/com/android/xsdc/tests/
DTestHelper.java116 new InMemoryJavaFileObject(className, entry.getValue().toString())); in parseXsdAndCompile()
/system/core/libutils/include/utils/
DTypeHelpers.h274 inline const VALUE& getValue() const {
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/zonetree/
DCountryZoneTree.java399 List<ZoneInfo> newSet = newSetEntry.getValue(); in growTree()

12