Searched refs:kTestIntValue (Results 1 – 2 of 2) sorted by relevance
/frameworks/proto_logging/stats/stats_log_api_gen/test_java/src/com/android/test/statslogapigen/ |
D | VendorAtomCodeGenTest.java | 74 final int kTestIntValue = 100; field in VendorAtomCodeGenTest 75 final long kTestLongValue = Long.MAX_VALUE - kTestIntValue; 76 final float kTestFloatValue = (float)kTestIntValue / kTestLongValue; 98 kTestIntValue, kTestLongValue, kTestFloatValue, kTestBoolValue, in testCreateVendorAtom1ApiGen() 109 assertThat(atom.values[2].getIntValue()).isEqualTo(kTestIntValue); in testCreateVendorAtom1ApiGen() 132 kTestStringValue, kTestIntValue); in testCreateVendorAtom3ApiGen() 137 assertThat(atom.values[0].getIntValue()).isEqualTo(kTestIntValue); in testCreateVendorAtom3ApiGen() 175 final int[] repeatedInt = {kTestIntValue, kTestIntValue + 1, kTestIntValue + 2}; in testCreateVendorAtom4ApiGen() 184 kTestFloatValue, kTestIntValue, kTestLongValue, kTestBoolValue, in testCreateVendorAtom4ApiGen() 192 assertThat(atom.values[1].getIntValue()).isEqualTo(kTestIntValue); in testCreateVendorAtom4ApiGen() [all …]
|
/frameworks/proto_logging/stats/stats_log_api_gen/ |
D | test_api_gen_vendor.cpp | 36 static const int32_t kTestIntValue = 100; variable 39 static const int64_t kTestLongValue = std::numeric_limits<int64_t>::max() - kTestIntValue; 40 static const float kTestFloatValue = (float)kTestIntValue / kTestLongValue; 109 kTestIntValue, kTestLongValue, kTestFloatValue, kTestBoolValue, in TEST() 117 EXPECT_EQ(atom.values[2].get<VendorAtomValue::intValue>(), kTestIntValue); in TEST() 132 VendorAtom atom = func(VENDOR_ATOM3, kTestStringValue, kTestIntValue); in TEST() 137 EXPECT_EQ(atom.values[0].get<VendorAtomValue::intValue>(), kTestIntValue); in TEST() 154 const vector<int32_t> repeatedInt{kTestIntValue, kTestIntValue + 1, kTestIntValue + 2}; in TEST() 160 VendorAtom atom = func(VENDOR_ATOM4, kTestStringValue, kTestFloatValue, kTestIntValue, in TEST() 168 EXPECT_EQ(atom.values[1].get<VendorAtomValue::intValue>(), kTestIntValue); in TEST() [all …]
|