Home
last modified time | relevance | path

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

12

/system/chre/util/tests/
Dpriority_queue_test.cc18 int getValue() const { in getValue() function in __anon2ccf46cc0111::FakeElement
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.cc45 int getValue() { in getValue() function in __anon1566bc9d0111::DestructorCounter
137 int getValue() const { in getValue() function in MovableButNonCopyable
152 EXPECT_EQ(mbnc.getValue(), -1); in TEST()
155 EXPECT_EQ(mbnc2.getValue(), -1); in TEST()
158 EXPECT_EQ(vector[0].getValue(), 0x1337); in TEST()
159 EXPECT_EQ(vector[1].getValue(), 0xface); in TEST()
160 EXPECT_EQ(vector[2].getValue(), 0xcafe); in TEST()
161 EXPECT_EQ(vector[3].getValue(), 0xd00d); in TEST()
183 int getValue() const { in getValue() function in CopyableButNonMovable
202 EXPECT_EQ(vector[0].getValue(), 0x1337); in TEST()
[all …]
/system/chre/platform/linux/
Dinit.cc86 if (!audioFileArg.getValue().empty()) { in main()
88 audioFileArg.getValue(), minAudioBufSizeArg.getValue(), in main()
89 maxAudioBufSizeArg.getValue()); in main()
108 if (!noStaticNanoappsArg.getValue()) { in main()
114 for (const auto &nanoapp : nanoappsArg.getValue()) { in main()
/system/tools/xsdc/src/com/android/xsdc/cpp/
DCppSimpleType.java86 public String getWritingExpression(String getValue, String name) { in getWritingExpression() argument
90 expression.append(String.format("for (const auto& v : %s) {\n", getValue)); in getWritingExpression()
107 expression.append(String.format("out << toString(%s);\n", getValue)); in getWritingExpression()
109 expression.append(String.format("out << (int)%s;\n", getValue)); in getWritingExpression()
111 expression.append(String.format("out << (%s ? \"true\" : \"false\");\n", getValue)); in getWritingExpression()
113 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
DCppCodeGenerator.java262 String value = tag.getValue(); in printEnum()
264 enumsCppFile.printf("{ \"%s\", %s::%s },\n", tag.getValue(), name, in printEnum()
281 String value = tag.getValue(); in printEnum()
283 name, Utils.toEnumName(value), tag.getValue()); in printEnum()
297 String value = tag.getValue(); in printEnumValues()
/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.java91 public String getWritingExpression(String getValue, String name) { in getWritingExpression() argument
95 expression.append(String.format("for (%s v : %s) {\n", this.name, getValue)); in getWritingExpression()
104 String.format(rawWritingExpression, getValue))); in getWritingExpression()
DJavaType.java28 String getWritingExpression(String getValue, String name); in getWritingExpression() argument
/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()
/system/nfc/utils/include/
Dconfig.h59 ConfigValue& getValue(const std::string& key);
/system/timezone/input_tools/android/tzids/src/main/java/com/android/timezone/tzids/
DTimeZoneIds.java225 String oldMapping = targetMap.put(entry.getKey(), entry.getValue()); in putAllSafely()
229 + entry.getValue() + " and " + oldMapping); in putAllSafely()
/system/libvintf/xsd/halManifest/api/
Dcurrent.txt24 method public String getValue();
48 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/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.java400 List<ZoneInfo> newSet = newSetEntry.getValue(); in growTree()
/system/extras/power_profile/camera_flashlight/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...

12