Home
last modified time | relevance | path

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

12

/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.cpp83 std::vector<uint8_t> expect(16, 0xab); in TEST_F() local
84 expect.resize(32, 0xde); in TEST_F()
88 ASSERT_EQ(expect, buffer); in TEST_F()
94 ASSERT_EQ(expect, buffer); in TEST_F()
127 std::vector<uint8_t> expect(16, 0xde); in TEST_F() local
128 expect.resize(32, 0x50); in TEST_F()
132 ASSERT_EQ(expect, buffer); in TEST_F()
137 expect.resize(16); in TEST_F()
138 expect.resize(32, 0xff); in TEST_F()
139 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.cpp1481 const RetCode expect = (test.expect == extension::FAIL) ? DEVICE_FAIL : SUCCESS; in TEST_P() local
1503 ASSERT_EQ(fb->RawCommand(full_cmd, &resp, nullptr, &dsize), expect); in TEST_P()
1506 if (test.expect == extension::DATA) { in TEST_P()
1677 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.conf31 expect fork
/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/core/cli-test/
DREADME.md17 * Sensible defaults. We expect your exit status to be 0 unless you say
18 otherwise. We expect nothing on stderr unless you say otherwise. And so on.
/system/core/logcat/
Dlogcatd.rc13 # expect /init to report failure if property empty (default)
/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.cpp1492 std::string expect(str); in End_to_End() local
1503 int ret = sscanf(buffer, expect.c_str(), &p, &space, &newline); in End_to_End()
1517 expect.c_str(), lastMatch.c_str()); in End_to_End()
1519 fprintf(stderr, "Too many matches (%d) for %s\n", count, expect.c_str()); in End_to_End()
/system/bt/gd/docs/architecture/
Darchitecture.md228 custom_field SixBytes : 48 "packet/parser/test/" // expect six_bytes.h
229 custom_field Variable "packet/parser/test/" // expect variable.h
/system/core/fs_mgr/
DREADME.overlayfs.md7 Users working with userdebug or eng builds expect to be able to remount the
/system/tools/hidl/c2hal/
Dc2hal_y.yy83 %expect 3
/system/timezone/
DREADME.android113 known as the "Time Zone Data Set Version". Currently we expect to increment this
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp1133 int32_t expect[] = {0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, in TEST_F() local
1135 EXPECT_TRUE(isArrayEqual(something, expect, 32)); in TEST_F()
1158 int32_t expect[] = {0, 2, 4, 6, 8, 10, 12, 14, 16, 18}; in TEST_F() local
1159 EXPECT_TRUE(isArrayEqual(something, expect, something.size())); in TEST_F()
/system/bt/gd/packet/parser/
Dlanguage_y.yy28 %expect-rr 0
/system/tools/aidl/
Daidl_language_y.yy65 %expect-rr 0
/system/sepolicy/prebuilts/api/29.0/public/
Dproperty_contexts293 ro.build.expect.baseband u:object_r:exported_default_prop:s0 exact string
294 ro.build.expect.bootloader u:object_r:exported_default_prop:s0 exact string
/system/sepolicy/prebuilts/api/30.0/public/
Dproperty_contexts326 ro.build.expect.baseband u:object_r:exported_default_prop:s0 exact string
327 ro.build.expect.bootloader u:object_r:exported_default_prop:s0 exact string
/system/tools/hidl/
Dhidl-gen_y.yy226 %expect-rr 0
/system/sepolicy/private/
Dproperty_contexts691 ro.build.expect.baseband u:object_r:exported_default_prop:s0 exact string
692 ro.build.expect.bootloader u:object_r:exported_default_prop:s0 exact string
Dsystem_server.te988 # system_server reads this property to know it should expect the lmkd sends notification to it

12