/system/core/healthd/ |
D | AnimationParser.cpp | 40 bool remove_prefix(std::string_view line, const char* prefix, const char** rest) { in remove_prefix() argument 50 *rest = &str[start]; in remove_prefix() 92 const char* rest; in parse_animation_desc() local 96 } else if (remove_prefix(line, animation_prefix, &rest)) { in parse_animation_desc() 98 if (sscanf(rest, "%d %d %n%*s%n", &anim->num_cycles, &anim->first_frame_repeats, in parse_animation_desc() 104 anim->animation_file.assign(&rest[start], end - start); in parse_animation_desc() 106 } else if (remove_prefix(line, fail_prefix, &rest)) { in parse_animation_desc() 107 anim->fail_file.assign(rest); in parse_animation_desc() 108 } else if (remove_prefix(line, clock_prefix, &rest)) { in parse_animation_desc() 109 if (!parse_text_field(rest, &anim->text_clock)) { in parse_animation_desc() [all …]
|
D | AnimationParser_test.cpp | 37 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()
|
D | AnimationParser.h | 29 bool remove_prefix(std::string_view str, const char* prefix, const char** rest);
|
/system/core/llkd/tests/ |
D | llkd_test.cpp | 59 void rest() { in rest() function 85 rest(); in llkdSleepPeriod() 90 rest(); in llkdSleepPeriod() 92 rest(); in llkdSleepPeriod() 94 rest(); in llkdSleepPeriod() 96 rest(); in llkdSleepPeriod() 98 rest(); in llkdSleepPeriod() 101 rest(); in llkdSleepPeriod() 104 rest(); in llkdSleepPeriod() 110 rest(); in llkdSleepPeriod()
|
/system/keymint/wire/src/ |
D | legacy.rs | 317 let (v, rest) = <u32>::deserialize(data)?; in deserialize() 318 Ok((v != 0, rest)) in deserialize() 327 let (len, rest) = <u32>::deserialize(data)?; in deserialize() 329 if rest.len() < len { in deserialize() 334 buf.extend_from_slice(&rest[..len]); in deserialize() 335 Ok((buf, &rest[len..])) in deserialize() 348 let (v, rest) = <u32>::deserialize(data)?; in deserialize() 349 Ok((Self::try_from(v as i32).map_err(|_e| Error::InvalidEnumValue(v))?, rest)) in deserialize() 358 let (v, rest) = <u32>::deserialize(data)?; in deserialize() 359 Ok((Self::try_from(v as i32).map_err(|_e| Error::InvalidEnumValue(v))?, rest)) in deserialize() [all …]
|
/system/logging/logcat/tests/ |
D | logcat_test.cpp | 56 static void rest() { in rest() function 89 rest(); in TEST() 128 rest(); in TEST() 1416 rest(); in TEST() 1453 rest(); in TEST() 1539 for (ret = -EBUSY; ret == -EBUSY; rest()) ret = ctx.write(); in TEST() 1551 for (ret = -EBUSY; ret == -EBUSY; rest()) ret = ctx.write(); in TEST() 1561 for (ret = -EBUSY; ret == -EBUSY; rest()) ret = ctx.write(); in TEST() 1570 for (ret = -EBUSY; ret == -EBUSY; rest()) ret = ctx.write(); in TEST() 1583 for (ret = -EBUSY; ret == -EBUSY; rest()) ret = ctx.write(); in TEST() [all …]
|
/system/keymint/common/src/keyblob/ |
D | legacy.rs | 219 let rest = &data[Self::MAC_LEN..]; in deserialize() localVariable 220 if !rest.is_empty() { in deserialize() 221 return Err(km_err!(InvalidKeyBlob, "extra data (len {})", rest.len())); in deserialize()
|
/system/sepolicy/prebuilts/api/30.0/public/ |
D | mediaswcodec.te | 23 # permissions and be isolated from the rest of the system and network.
|
D | mediatranscoding.te | 23 # permissions and be isolated from the rest of the system and network.
|
D | mediametrics.te | 41 # permissions and be isolated from the rest of the system and network.
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | mediaswcodec.te | 23 # permissions and be isolated from the rest of the system and network.
|
D | mediametrics.te | 41 # permissions and be isolated from the rest of the system and network.
|
/system/sepolicy/prebuilts/api/32.0/public/ |
D | mediaswcodec.te | 21 # permissions and be isolated from the rest of the system and network.
|
D | mediametrics.te | 42 # permissions and be isolated from the rest of the system and network.
|
D | hal_omx.te | 46 # permissions and be isolated from the rest of the system and network.
|
/system/sepolicy/prebuilts/api/31.0/public/ |
D | mediaswcodec.te | 21 # permissions and be isolated from the rest of the system and network.
|
D | mediametrics.te | 42 # permissions and be isolated from the rest of the system and network.
|
/system/sepolicy/public/ |
D | mediaswcodec.te | 21 # permissions and be isolated from the rest of the system and network.
|
D | mediametrics.te | 42 # permissions and be isolated from the rest of the system and network.
|
/system/sepolicy/prebuilts/api/34.0/public/ |
D | mediaswcodec.te | 21 # permissions and be isolated from the rest of the system and network.
|
D | mediametrics.te | 42 # permissions and be isolated from the rest of the system and network.
|
/system/sepolicy/prebuilts/api/33.0/public/ |
D | mediaswcodec.te | 21 # permissions and be isolated from the rest of the system and network.
|
D | mediametrics.te | 42 # permissions and be isolated from the rest of the system and network.
|
/system/sepolicy/vendor/ |
D | mediacodec.te | 35 # permissions and be isolated from the rest of the system and network.
|
/system/nfc/src/fuzzers/ |
D | README.md | 33 "blueline" for the rest of the steps. If you are using a different device, 47 the rest steps need to run from this environment.
|