Home
last modified time | relevance | path

Searched refs:rest (Results 1 – 25 of 35) sorted by relevance

12

/system/core/healthd/
DAnimationParser.cpp40 bool remove_prefix(const std::string& line, const char* prefix, const char** rest) { in remove_prefix() argument
50 *rest = &str[start]; in remove_prefix()
93 const char* rest; in parse_animation_desc() local
97 } else if (remove_prefix(line, animation_prefix, &rest)) { in parse_animation_desc()
99 if (sscanf(rest, "%d %d %n%*s%n", &anim->num_cycles, &anim->first_frame_repeats, in parse_animation_desc()
105 anim->animation_file.assign(&rest[start], end - start); in parse_animation_desc()
107 } else if (remove_prefix(line, fail_prefix, &rest)) { in parse_animation_desc()
108 anim->fail_file.assign(rest); in parse_animation_desc()
109 } else if (remove_prefix(line, clock_prefix, &rest)) { in parse_animation_desc()
110 if (!parse_text_field(rest, &anim->text_clock)) { in parse_animation_desc()
[all …]
DAnimationParser.h27 bool remove_prefix(const std::string& str, const char* prefix, const char** rest);
/system/core/healthd/tests/
DAnimationParser_test.cpp37 const char* rest = nullptr; in TEST() local
38 EXPECT_FALSE(remove_prefix(TEST_STRING, "def", &rest)); in TEST()
40 EXPECT_FALSE(remove_prefix(TEST_STRING, TEST_STRING, &rest)); in TEST()
42 EXPECT_TRUE(remove_prefix(TEST_STRING, "abc", &rest)); in TEST()
43 EXPECT_STREQ("def", rest); in TEST()
45 EXPECT_TRUE(remove_prefix(" abcdef", "abc", &rest)); in TEST()
46 EXPECT_STREQ("def", rest); in TEST()
/system/core/logcat/tests/
Dlogcat_test.cpp57 static void rest() { in rest() function
91 rest(); in TEST()
132 rest(); in TEST()
1451 rest(); in TEST()
1489 rest(); in TEST()
1581 for (ret = -EBUSY; ret == -EBUSY; rest()) ret = ctx.write(); in TEST()
1593 for (ret = -EBUSY; ret == -EBUSY; rest()) ret = ctx.write(); in TEST()
1603 for (ret = -EBUSY; ret == -EBUSY; rest()) ret = ctx.write(); in TEST()
1612 for (ret = -EBUSY; ret == -EBUSY; rest()) ret = ctx.write(); in TEST()
1625 for (ret = -EBUSY; ret == -EBUSY; rest()) ret = ctx.write(); in TEST()
[all …]
/system/netd/server/
DTetherController.cpp729 char rest[MAX_IPT_OUTPUT_LINE_LEN]; in addForwardChainStats() local
752 iface0[0] = iface1[0] = rest[0] = packets = bytes = 0; in addForwardChainStats()
757 &packets, &bytes, iface0, iface1, rest); in addForwardChainStats()
762 &packets, &bytes, iface0, iface1, rest); in addForwardChainStats()
765 iface0, iface1, packets, bytes, rest, buffPtr); in addForwardChainStats()
/system/sepolicy/prebuilts/api/26.0/public/
Dmediametrics.te35 # permissions and be isolated from the rest of the system and network.
Dcameraserver.te46 # permissions and be isolated from the rest of the system and network.
Dmediaextractor.te47 # permissions and be isolated from the rest of the system and network.
Dmediacodec.te64 # permissions and be isolated from the rest of the system and network.
/system/sepolicy/public/
Dmediametrics.te38 # permissions and be isolated from the rest of the system and network.
Dcameraserver.te48 # permissions and be isolated from the rest of the system and network.
Dmediacodec.te67 # permissions and be isolated from the rest of the system and network.
Dmediaextractor.te62 # permissions and be isolated from the rest of the system and network.
/system/sepolicy/prebuilts/api/28.0/public/
Dmediametrics.te38 # permissions and be isolated from the rest of the system and network.
Dcameraserver.te48 # permissions and be isolated from the rest of the system and network.
Dmediacodec.te67 # permissions and be isolated from the rest of the system and network.
Dmediaextractor.te62 # permissions and be isolated from the rest of the system and network.
/system/sepolicy/prebuilts/api/27.0/public/
Dmediametrics.te38 # permissions and be isolated from the rest of the system and network.
Dcameraserver.te46 # permissions and be isolated from the rest of the system and network.
Dmediaextractor.te49 # permissions and be isolated from the rest of the system and network.
Dmediacodec.te66 # permissions and be isolated from the rest of the system and network.
/system/bt/doc/
Ddirectory_layout.md29 * vnd - *Vendor* - Vendor specific APIs - *to be integrated into rest of stack ?*.
/system/sepolicy/prebuilts/api/26.0/private/
Daudioserver.te63 # permissions and be isolated from the rest of the system and network.
/system/sepolicy/prebuilts/api/27.0/private/
Daudioserver.te63 # permissions and be isolated from the rest of the system and network.
/system/bt/test/
Drun_host_unit_tests.py192 test_cmd = get_test_cmd_or_die(TEST_ROOT, test, args.enable_xml, args.rest)

12