Home
last modified time | relevance | path

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

/system/security/keystore/
Dtest-keystore34 function expect() { function
72 expect "1 No error"
80 expect "6 Permission denied"
84 expect "3 Uninitialized"
89 expect "1 No error"
91 expect "-rw------- keystore keystore 84 .masterkey"
95 expect "1 No error"
99 expect "5 Protocol error"
103 expect "1 No error"
107 expect "1 No error"
[all …]
/system/core/libunwindstack/tests/
DMemoryCacheTest.cpp84 std::vector<uint8_t> expect(16, 0xab); in TEST_F() local
85 expect.resize(32, 0xde); in TEST_F()
89 ASSERT_EQ(expect, buffer); in TEST_F()
95 ASSERT_EQ(expect, buffer); in TEST_F()
128 std::vector<uint8_t> expect(16, 0xde); in TEST_F() local
129 expect.resize(32, 0x50); in TEST_F()
133 ASSERT_EQ(expect, buffer); in TEST_F()
138 expect.resize(16); in TEST_F()
139 expect.resize(32, 0xff); in TEST_F()
140 ASSERT_EQ(expect, buffer); in TEST_F()
/system/core/fastboot/fuzzy_fastboot/
Dextensions.cpp170 const std::string expect = XMLAttribute(test, "expect", "okay"); in ExtractPacked() local
174 XMLAssert(CMD_EXPECTS.find(expect) != CMD_EXPECTS.end(), test, in ExtractPacked()
178 packed_test.expect = CMD_EXPECTS.at(expect); in ExtractPacked()
180 if (packed_test.expect == OKAY && in ExtractPacked()
239 const std::string expect = XMLAttribute(test, "expect"); in ExtractOem() local
241 if (XMLAssert(CMD_EXPECTS.find(expect) != CMD_EXPECTS.end(), test, in ExtractOem()
244 ctest.expect = CMD_EXPECTS.at(expect); in ExtractOem()
246 if (expect == "okay" && ctest.regex_str.size()) { in ExtractOem()
Dextensions.h79 Expect expect; // Does it have slots member
86 << "expect=" << EXPECTS_STR.at(pinfo.expect)
102 Expect expect; member
DREADME.md118 <!-- We list tests, expect defaults to 'okay' -->
120 <test packed="bootloader_garbage.img" expect="fail"/>
138 … images should be the name of the real partition it is flashed to. | Required if expect != "fail" |
139 | expect | "okay" or "fail" | If uploading a invalid or garbage image the bootloader should reject …
161 <test value="now" expect="okay"/>
163 <test value="yesterday" expect="fail" />
168 <test value="use_staged" expect="okay" input="test_image.img" />
170 <test value="send_response" expect="fail" validate="python validator.py"/>
182 | expect | "okay" or "fail" | Whether the bootloader should acce…
233 <!-- We list tests, expect defaults to 'okay' -->
[all …]
Dmain.cpp1501 const RetCode expect = (test.expect == extension::FAIL) ? DEVICE_FAIL : SUCCESS; in TEST_P() local
1523 ASSERT_EQ(fb->RawCommand(full_cmd, &resp, nullptr, &dsize), expect); in TEST_P()
1526 if (test.expect == extension::DATA) { in TEST_P()
1697 if (test.expect == extension::OKAY) { // only testing the success case in GenerateXmlTests()
/system/update_engine/
Dp2p_manager_unittest.cc173 bool expect; in TEST_F() local
175 expect = (n >= 2); in TEST_F()
178 EXPECT_EQ(expect, utils::FileExists(file_name.c_str())); in TEST_F()
247 bool expect; in TEST_F() local
249 expect = (n >= 2); in TEST_F()
252 EXPECT_EQ(expect, utils::FileExists(file_name.c_str())); in TEST_F()
/system/update_engine/init/
Dupdate-engine.conf30 expect fork
/system/core/logcat/
Dlogcatd.rc16 # expect /init to report failure if property empty (default)
24 # expect /init to report failure if property empty (default)
/system/extras/libperfmgr/tests/
DRequestGroupTest.cc62 auto expect = std::chrono::duration_cast<std::chrono::milliseconds>( in TEST() local
64 EXPECT_NEAR(expect.count(), expire_time.count(), kTIMING_TOLERANCE_MS); in TEST()
/system/tools/xsdc/tests/src/com/android/xsdc/tests/
DXmlParserTest.java374 thrown.expect(SAXException.class); in testUnsupportedTag()
385 thrown.expect(SAXException.class); in testUnsupportedAttribute()
/system/core/logcat/tests/
Dlogcat_test.cpp1499 std::string expect(str); in End_to_End() local
1510 int ret = sscanf(buffer, expect.c_str(), &p, &space, &newline); in End_to_End()
1524 expect.c_str(), lastMatch.c_str()); in End_to_End()
1526 fprintf(stderr, "Too many matches (%d) for %s\n", count, expect.c_str()); in End_to_End()
/system/core/fs_mgr/
DREADME.overlayfs.md7 Users working with userdebug or eng builds expect to be able to
/system/tools/aidl/
Daidl_language_y.yy41 %expect-rr 0
/system/tools/hidl/c2hal/
Dc2hal_y.yy83 %expect 3
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp1146 int32_t expect[] = {0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, in TEST_F() local
1148 EXPECT_TRUE(isArrayEqual(something, expect, 32)); in TEST_F()
1171 int32_t expect[] = {0, 2, 4, 6, 8, 10, 12, 14, 16, 18}; in TEST_F() local
1172 EXPECT_TRUE(isArrayEqual(something, expect, something.size())); in TEST_F()
/system/sepolicy/prebuilts/api/29.0/public/
Dproperty_contexts282 ro.build.expect.baseband u:object_r:exported_default_prop:s0 exact string
283 ro.build.expect.bootloader u:object_r:exported_default_prop:s0 exact string
/system/sepolicy/public/
Dproperty_contexts282 ro.build.expect.baseband u:object_r:exported_default_prop:s0 exact string
283 ro.build.expect.bootloader u:object_r:exported_default_prop:s0 exact string
/system/tools/hidl/
Dhidl-gen_y.yy224 %expect-rr 0