Home
last modified time | relevance | path

Searched refs:val2 (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/tools/aapt2/util/
DMaybe_test.cpp85 Maybe<std::string> val2 = make_nothing<std::string>(); in TEST() local
86 EXPECT_FALSE(val2); in TEST()
88 val2 = make_nothing<std::string>(); in TEST()
89 EXPECT_FALSE(val2); in TEST()
97 Maybe<std::string> val2 = make_value(std::string("hey")); in TEST() local
98 ASSERT_TRUE(val2); in TEST()
99 EXPECT_EQ(std::string("hey"), val2.value()); in TEST()
105 Maybe<Dummy> val2 = make_value(Dummy()); in TEST() local
111 Maybe<Dummy> val2 = Dummy(); in TEST() local
112 val = std::move(val2); in TEST()
/frameworks/opt/colorpicker/src/com/android/colorpicker/
DHsvColorComparator.java40 float val2 = hsv2[2]; in compare() local
52 if (val1 < val2) { in compare()
54 } else if (val1 > val2) { in compare()
/frameworks/ml/nn/common/operations/
DPRelu.cpp83 [&](const T& val1, const T& val2) -> uint8_t { in evalQuant8() argument
91 const int32_t alpha = alpha_offset + static_cast<int32_t>(val2); in evalQuant8()
132 [](const _Float16& val1, const _Float16& val2) -> _Float16 { in execute() argument
133 return val1 >= 0.0f ? val1 : val1 * val2; in execute()
143 [](const float& val1, const float& val2) -> float { in execute() argument
144 return val1 >= 0.0f ? val1 : val1 * val2; in execute()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DKeyButtonViewTest.java97 private boolean checkField(String field, Object val, Object val2) { in testMetrics()
98 if (!Objects.equals(val, val2)) { in testMetrics()
99 mReason = "Expected " + field + " " + val2 + " but was " + val; in testMetrics()
/frameworks/wilhelm/src/android/
Dandroid_GenericPlayer.cpp422 int32_t val1, val2; in onNotify() local
439 } else if (msg->findRect(PLAYEREVENT_VIDEO_SIZE_UPDATE, &val1, &val2, &val1, &val2)) { in onNotify()
440 SL_LOGV("GenericPlayer notifying %s = %d, %d", PLAYEREVENT_VIDEO_SIZE_UPDATE, val1, val2); in onNotify()
441 notifClient(kEventHasVideoSize, val1, val2, notifUser); in onNotify()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioServiceEvents.java115 VolumeEvent(int op, int stream, int val1, int val2, String caller) { in VolumeEvent() argument
119 mVal2 = val2; in VolumeEvent()
/frameworks/base/media/jni/
DJetPlayer.h30 typedef void (*jetevent_callback)(int eventType, int val1, int val2, void *cookie);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DHalDeviceManager.java1659 private boolean compareIfaceCreationData(IfaceCreationData val1, IfaceCreationData val2) { in compareIfaceCreationData() argument
1660 if (VDBG) Log.d(TAG, "compareIfaceCreationData: val1=" + val1 + ", val2=" + val2); in compareIfaceCreationData()
1665 } else if (val2 == null) { in compareIfaceCreationData()
1680 if (val2.chipInfo.currentModeIdValid in compareIfaceCreationData()
1681 && val2.chipInfo.currentModeId != val2.chipModeId) { in compareIfaceCreationData()
1682 numIfacesToDelete2 = val2.chipInfo.ifaces[type].length; in compareIfaceCreationData()
1684 numIfacesToDelete2 = val2.interfacesToBeRemovedFirst.size(); in compareIfaceCreationData()