Home
last modified time | relevance | path

Searched refs:expect (Results 1 – 24 of 24) sorted by relevance

/device/google/sunfish/vibrator/drv2624/tests/
Dtest-hwcal.cpp83 uint32_t expect = std::rand(); in TEST_F() local
84 uint32_t actual = ~expect; in TEST_F()
86 EXPECT_TRUE(SetProperty(prefix + "closeloop.threshold", std::to_string(expect))); in TEST_F()
91 EXPECT_EQ(expect, actual); in TEST_F()
96 uint32_t expect = UINT32_MAX; in TEST_F() local
97 uint32_t actual = ~expect; in TEST_F()
104 EXPECT_EQ(expect, actual); in TEST_F()
109 bool expect = false; in TEST_F() local
110 bool actual = !expect; in TEST_F()
117 EXPECT_EQ(expect, actual); in TEST_F()
[all …]
Dtest-hwapi.cpp111 std::string expect = mExpectedContent[a.first].str(); in verifyContents() local
114 EXPECT_EQ(expect, actual) << a.first; in verifyContents()
/device/google/barbet/vibrator/drv2624/tests/
Dtest-hwcal.cpp82 uint32_t expect = std::rand(); in TEST_F() local
83 uint32_t actual = ~expect; in TEST_F()
85 EXPECT_TRUE(SetProperty(prefix + "closeloop.threshold", std::to_string(expect))); in TEST_F()
90 EXPECT_EQ(expect, actual); in TEST_F()
95 uint32_t expect = UINT32_MAX; in TEST_F() local
96 uint32_t actual = ~expect; in TEST_F()
103 EXPECT_EQ(expect, actual); in TEST_F()
108 bool expect = false; in TEST_F() local
109 bool actual = !expect; in TEST_F()
116 EXPECT_EQ(expect, actual); in TEST_F()
[all …]
Dtest-hwapi.cpp110 std::string expect = mExpectedContent[a.first].str(); in verifyContents() local
113 EXPECT_EQ(expect, actual) << a.first; in verifyContents()
/device/google/redfin/vibrator/drv2624/tests/
Dtest-hwcal.cpp82 uint32_t expect = std::rand(); in TEST_F() local
83 uint32_t actual = ~expect; in TEST_F()
85 EXPECT_TRUE(SetProperty(prefix + "closeloop.threshold", std::to_string(expect))); in TEST_F()
90 EXPECT_EQ(expect, actual); in TEST_F()
95 uint32_t expect = UINT32_MAX; in TEST_F() local
96 uint32_t actual = ~expect; in TEST_F()
103 EXPECT_EQ(expect, actual); in TEST_F()
108 bool expect = false; in TEST_F() local
109 bool actual = !expect; in TEST_F()
116 EXPECT_EQ(expect, actual); in TEST_F()
[all …]
Dtest-hwapi.cpp110 std::string expect = mExpectedContent[a.first].str(); in verifyContents() local
113 EXPECT_EQ(expect, actual) << a.first; in verifyContents()
/device/google/felix/vibrator/cs40l26/tests/
Dtest-hwcal.cpp75 std::string expect = std::to_string(randInput); in TEST_F() local
78 write("f0_measured", expect); in TEST_F()
83 EXPECT_EQ(expect, actual); in TEST_F()
96 std::string expect = std::to_string(randInput); in TEST_F() local
99 write("redc_measured", expect); in TEST_F()
104 EXPECT_EQ(expect, actual); in TEST_F()
117 std::string expect = std::to_string(randInput); in TEST_F() local
120 write("q_measured", expect); in TEST_F()
125 EXPECT_EQ(expect, actual); in TEST_F()
137 std::array<uint32_t, 2> expect; in TEST_F() local
[all …]
Dtest-hwapi.cpp103 std::string expect = mExpectedContent[a.first].str(); in verifyContents() local
106 EXPECT_EQ(expect, actual) << a.first; in verifyContents()
160 uint32_t expect = std::rand(); in TEST_P() local
161 uint32_t actual = ~expect; in TEST_P()
163 expectAndUpdateContent(name, expect); in TEST_P()
166 EXPECT_EQ(expect, actual); in TEST_P()
/device/google/cuttlefish/host/commands/modem_simulator/unittest/
Dservice_test.cpp207 std::string expect = "+CCHC"; in closeLogicalChannel() local
208 return (response[0].compare(0, expect.size(), expect) == 0); in closeLogicalChannel()
287 const char *expect = "460110031689666"; in TEST_F() local
288 ASSERT_STREQ(response[0].c_str(),expect); in TEST_F()
297 const char *expect = "89860318640220133897"; in TEST_F() local
298 ASSERT_STREQ(response[0].c_str(),expect); in TEST_F()
356 const char *expect = "+CME ERROR: 21"; in TEST_F() local
357 ASSERT_STREQ(response[0].c_str(),expect); in TEST_F()
568 const char *expect = "+CME ERROR: 21"; in TEST_F() local
569 ASSERT_STREQ(result, expect); in TEST_F()
[all …]
Dpdu_parser_test.cpp41 const char *expect = ""; in TEST() local
42 ASSERT_STRNE(new_pdu.c_str(), expect); in TEST()
50 const char *expect = "18810189440"; in TEST() local
51 ASSERT_STREQ(phone_number.c_str(), expect); in TEST()
57 const char *expect = "21436587"; in TEST() local
58 ASSERT_STREQ(process_value.c_str(), expect); in TEST()
/device/google/cuttlefish/guest/hals/nfc/src/
Dnfc.rs132 let mut attrs = termios::tcgetattr(file).expect("Failed to setup virtio-console to raw mode"); in set_console_fd_raw()
135 .expect("Failed to set virtio-console to raw mode"); in set_console_fd_raw()
137 let raw_attrs = termios::tcgetattr(file).expect("Failed to validate virtio-console mode"); in set_console_fd_raw()
153 .expect("Failed to open virtio-console device"); in new()
160 writer.try_clone().await.expect("Failed to prepare virtio-console device for reading"); in new()
173 .expect("Failed to read from virtio-console device"); in new()
178 .expect("Failed to read from virtio-console device"); in new()
318 writer.write_all(data).await.expect("Failed to write virtio-console device"); in write()
Dmain.rs59 let runtime = Runtime::new().expect("Failed to initialize Tokio runtime"); in main()
70 .expect("Failed to register service"); in main()
/device/google/sunfish/vibrator/common/
DHardwareBase.cpp109 const std::string expect{obj->mPropertyPrefix}; in debug() local
110 const std::string actual{key, std::min(strlen(key), expect.size())}; in debug()
111 if (actual == expect) { in debug()
/device/google/felix/vibrator/common/
DHardwareBase.cpp127 const std::string expect{obj->mPropertyPrefix}; in debug() local
128 const std::string actual{key, std::min(strlen(key), expect.size())}; in debug()
129 if (actual == expect) { in debug()
/device/google/cuttlefish/shared/minidroid/sample/
Dclient.rs29 std::env::args().nth(1).and_then(|arg| arg.parse::<u32>().ok()).expect("invalid CID"); in main()
31 std::env::args().nth(2).and_then(|arg| arg.parse::<u32>().ok()).expect("invalid port"); in main()
/device/google/cuttlefish/guest/hals/light/lights/
Dlights_vsock_server.rs124 .expect("Unable to send update on channel"); in send_lights_state()
140 .expect("Unable to send on channel"); in drop()
/device/google/cuttlefish/guest/hals/light/
Dmain.rs43 .expect("Failed to register service"); in main()
/device/generic/car/emulator/usbpt/bluetooth/
Dbluetooth.prop35 # The Bluetooth profiles that cars expect to have enabled. All other profiles
/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/autocfg/src/
Dlib.rs227 let mut stdin = child.stdin.take().expect("rustc stdin"); in probe()
/device/generic/goldfish/sepolicy/vendor/
Dgenfs_contexts6 # We expect /sys/class/power_supply/* and everything it links to to be labeled
/device/google/trout/tools/tracing/proto/
Dperfetto_trace.proto6651 // order we expect them to appear if they are emitted in trace in a blocking
/device/google/cuttlefish_vmm/qemu/x86_64-linux-gnu/usr/share/qemu/
Dtrace-events-all965 acpi_nvdimm_invalid_revision(uint32_t revision) "Revision 0x%" PRIx32 " is not supported, expect 0x…
6011 vnc_auth_reject(void *state, int expect, int got) "VNC client auth rejected state=%p method expecte…
/device/google/cuttlefish_vmm/qemu/aarch64-linux-gnu/usr/share/qemu/
Dtrace-events-all965 acpi_nvdimm_invalid_revision(uint32_t revision) "Revision 0x%" PRIx32 " is not supported, expect 0x…
6011 vnc_auth_reject(void *state, int expect, int got) "VNC client auth rejected state=%p method expecte…
/device/google/atv/products/lowram_boot_profiles/
Dboot-image-profile.txt38609 HSPLandroid/util/JsonReader;->expect(Landroid/util/JsonToken;)V
57630 HSPLlibcore/reflect/GenericSignatureParser;->expect(C)V