Home
last modified time | relevance | path

Searched refs:comparison (Results 1 – 19 of 19) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2TestPixelComparator.cpp106 for (const auto& comparison : mComparisons) { in dumpComparison() local
107 if (std::get<2>(comparison) != std::get<3>(comparison)) in dumpComparison()
108 stream << pixelDiff(std::get<0>(comparison), in dumpComparison()
109 std::get<1>(comparison), std::get<2>(comparison), in dumpComparison()
110 std::get<3>(comparison)); in dumpComparison()
/frameworks/base/libs/hwui/
DJankTracker.cpp104 for (auto& comparison : COMPARISONS) { in setFrameInterval() local
105 mThresholds[comparison.type] = comparison.computeThreadshold(frameInterval); in setFrameInterval()
164 for (auto& comparison : COMPARISONS) { in finishFrame() local
165 int64_t delta = frame.duration(comparison.start, comparison.end); in finishFrame()
166 if (delta >= mThresholds[comparison.type] && delta < IGNORE_EXCEEDING) { in finishFrame()
167 mData->reportJankType(comparison.type); in finishFrame()
168 (*mGlobalData)->reportJankType(comparison.type); in finishFrame()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DAppItem.java67 int comparison = Integer.compare(category, another.category); in compareTo() local
68 if (comparison == 0) { in compareTo()
69 comparison = Long.compare(another.total, total); in compareTo()
71 return comparison; in compareTo()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDevice.java724 int comparison = (another.isConnected() ? 1 : 0) - (isConnected() ? 1 : 0); in compareTo() local
725 if (comparison != 0) return comparison; in compareTo()
728 comparison = (another.getBondState() == BluetoothDevice.BOND_BONDED ? 1 : 0) - in compareTo()
730 if (comparison != 0) return comparison; in compareTo()
733 comparison = (another.mJustDiscovered ? 1 : 0) - (mJustDiscovered ? 1 : 0); in compareTo()
734 if (comparison != 0) return comparison; in compareTo()
737 comparison = another.mRssi - mRssi; in compareTo()
738 if (comparison != 0) return comparison; in compareTo()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/
Dmessage_differencer_unittest.proto35 // This file contains messages for testing repeated field comparison
56 optional int32 a = 2; // Test basic repeated field comparison.
57 optional string b = 4; // Test basic repeated field comparison.
Dmessage_differencer.h512 void set_message_field_comparison(MessageFieldComparison comparison);
534 void set_float_comparison(FloatComparison comparison);
539 void set_repeated_field_comparison(RepeatedFieldComparison comparison);
Dmessage_differencer.cc212 MessageFieldComparison comparison) { in set_message_field_comparison() argument
213 message_field_comparison_ = comparison; in set_message_field_comparison()
224 void MessageDifferencer::set_float_comparison(FloatComparison comparison) { in set_float_comparison() argument
226 comparison == EXACT ? in set_float_comparison()
231 RepeatedFieldComparison comparison) { in set_repeated_field_comparison() argument
232 repeated_field_comparison_ = comparison; in set_repeated_field_comparison()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/
DGPBMessageTests.m346 // Intentionally doing a pointer comparison.
666 // Intentionally doing a pointer comparison.
692 // Intentionally doing a pointer comparison.
730 // Intentionally doing a pointer comparison.
745 // Intentionally doing a pointer comparison.
786 // Intentionally doing a pointer comparison.
1479 // Intentionally doing a pointer comparison.
1586 // Intentionally doing a pointer comparison.
1591 // Intentionally doing a pointer comparison (auto creation should be
1608 // Intentionally doing a pointer comparison.
DGPBDictionaryTests.pddm370 //% XCTAssertTrue(dict.validationFunc == TestingEnum_IsValidValue); // Pointer comparison
507 //% XCTAssertEqual(dict.validationFunc, dict2.validationFunc); // Pointer comparison
531 //% XCTAssertEqual(dict.validationFunc, dict2.validationFunc); // Pointer comparison
680 //% XCTAssertEqual(dict.validationFunc, dict2.validationFunc); // Pointer comparison
DGPBDictionaryTests+Int32.m2959 XCTAssertTrue(dict.validationFunc == TestingEnum_IsValidValue); // Pointer comparison
3105 XCTAssertEqual(dict.validationFunc, dict2.validationFunc); // Pointer comparison
3129 XCTAssertEqual(dict.validationFunc, dict2.validationFunc); // Pointer comparison
3349 XCTAssertEqual(dict.validationFunc, dict2.validationFunc); // Pointer comparison
DGPBDictionaryTests+String.m2959 XCTAssertTrue(dict.validationFunc == TestingEnum_IsValidValue); // Pointer comparison
3105 XCTAssertEqual(dict.validationFunc, dict2.validationFunc); // Pointer comparison
3129 XCTAssertEqual(dict.validationFunc, dict2.validationFunc); // Pointer comparison
3349 XCTAssertEqual(dict.validationFunc, dict2.validationFunc); // Pointer comparison
DGPBDictionaryTests+UInt64.m2959 XCTAssertTrue(dict.validationFunc == TestingEnum_IsValidValue); // Pointer comparison
3105 XCTAssertEqual(dict.validationFunc, dict2.validationFunc); // Pointer comparison
3129 XCTAssertEqual(dict.validationFunc, dict2.validationFunc); // Pointer comparison
3349 XCTAssertEqual(dict.validationFunc, dict2.validationFunc); // Pointer comparison
DGPBDictionaryTests+Int64.m2959 XCTAssertTrue(dict.validationFunc == TestingEnum_IsValidValue); // Pointer comparison
3105 XCTAssertEqual(dict.validationFunc, dict2.validationFunc); // Pointer comparison
3129 XCTAssertEqual(dict.validationFunc, dict2.validationFunc); // Pointer comparison
3349 XCTAssertEqual(dict.validationFunc, dict2.validationFunc); // Pointer comparison
DGPBDictionaryTests+UInt32.m2959 XCTAssertTrue(dict.validationFunc == TestingEnum_IsValidValue); // Pointer comparison
3105 XCTAssertEqual(dict.validationFunc, dict2.validationFunc); // Pointer comparison
3129 XCTAssertEqual(dict.validationFunc, dict2.validationFunc); // Pointer comparison
3349 XCTAssertEqual(dict.validationFunc, dict2.validationFunc); // Pointer comparison
DGPBMessageTests+Serialization.m1191 XCTAssertNotEqual(msg2, msg); // Pointer comparison
/frameworks/rs/script_api/
Drs_graphics.spec96 Specifies conditional drawing depending on the comparison of the incoming
Drs_math.spec37 rounding may be done towards zero. In comparison, rs_fp_full requires correct handling of
/frameworks/rs/script_api/include/
Drs_graphics.rsh115 * Specifies conditional drawing depending on the comparison of the incoming
Drs_math.rsh39 * rounding may be done towards zero. In comparison, rs_fp_full requires correct handling of