/system/libbase/ |
D | test_utils_test.cpp | 48 CapturedStdout cap; in TEST() local 50 cap.Stop(); in TEST() 52 ASSERT_EQ("This should be captured.\n", cap.str()); in TEST() 54 cap.Start(); in TEST() 56 cap.Stop(); in TEST() 57 ASSERT_EQ("This should be captured.\nAnd this text should be captured too.\n", cap.str()); in TEST() 60 cap.Reset(); in TEST() 61 cap.Start(); in TEST() 63 ASSERT_EQ("Only this will be captured.\n", cap.str()); in TEST() 67 CapturedStderr cap; in TEST() local [all …]
|
D | logging_test.cpp | 248 static void CheckMessage(CapturedStderr& cap, android::base::LogSeverity severity, in CheckMessage() argument 250 cap.Stop(); in CheckMessage() 251 std::string output = cap.str(); in CheckMessage() 419 CapturedStderr cap; \ in TEST() 424 cap, (use_logging_severity_info) ? ::android::base::INFO : ::android::base::WARNING, \ in TEST() 427 cap.Stop(); \ in TEST() 428 ASSERT_EQ("", cap.str()); \ in TEST() 442 CapturedStderr cap; in TEST() local 447 ASSERT_NO_FATAL_FAILURE(CheckMessage(cap, android::base::INFO, "67890")); in TEST() 451 CapturedStderr cap; in TEST() local [all …]
|
/system/core/init/ |
D | capabilities.cpp | 25 #define CAP_MAP_ENTRY(cap) { #cap, CAP_##cap } argument 103 for (size_t cap = 0; cap <= last_valid_cap; ++cap) { in DropBoundingSet() local 104 if (cap < to_keep.size() && to_keep.test(cap)) { in DropBoundingSet() 108 if (cap_drop_bound(cap) == -1) { in DropBoundingSet() 109 PLOG(ERROR) << "cap_drop_bound(" << cap << ") failed"; in DropBoundingSet() 121 for (size_t cap = 0; cap < to_keep.size(); ++cap) { in SetProcCaps() local 122 if (to_keep.test(cap)) { in SetProcCaps() 123 value[0] = cap; in SetProcCaps() 126 PLOG(ERROR) << "cap_set_flag(INHERITABLE|PERMITTED, " << cap << ") failed"; in SetProcCaps() 150 for (size_t cap = 0; cap < to_raise.size(); ++cap) { in SetAmbientCaps() local [all …]
|
D | service_parser.cpp | 72 unsigned int cap = static_cast<unsigned int>(res); // |res| is >= 0. in ParseCapabilities() local 73 if (cap > last_valid_cap) { in ParseCapabilities() 76 (*service_->capabilities_)[cap] = true; in ParseCapabilities()
|
/system/bt/include/hardware/avrcp/ |
D | avrcp_logging_helper.h | 100 inline std::string CapabilityText(const Capability& cap) { in CapabilityText() argument 101 switch (cap) { in CapabilityText() 105 return "Unknown Capability: " + loghex((uint8_t)cap); in CapabilityText() 109 inline std::ostream& operator<<(std::ostream& os, const Capability& cap) { 110 return os << CapabilityText(cap);
|
/system/sepolicy/prebuilts/api/28.0/private/ |
D | access_vectors | 84 common cap 404 inherits cap 560 inherits cap
|
/system/sepolicy/private/ |
D | access_vectors | 92 common cap 381 inherits cap 546 inherits cap
|
D | property_contexts | 360 persist.bluetooth.a2dp_offload.cap u:object_r:bluetooth_a2dp_offload_prop:s0 exact stri…
|
/system/sepolicy/prebuilts/api/27.0/private/ |
D | access_vectors | 84 common cap 395 inherits cap 551 inherits cap
|
/system/sepolicy/reqd_mask/ |
D | access_vectors | 92 common cap 381 inherits cap 546 inherits cap
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | access_vectors | 84 common cap 400 inherits cap 566 inherits cap
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | access_vectors | 92 common cap 380 inherits cap 545 inherits cap
|
/system/sepolicy/prebuilts/api/26.0/private/ |
D | access_vectors | 82 common cap 391 inherits cap 547 inherits cap
|
/system/sepolicy/prebuilts/api/28.0/public/ |
D | property_contexts | 68 persist.bluetooth.a2dp_offload.cap u:object_r:bluetooth_a2dp_offload_prop:s0 exact string
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | property_contexts | 77 persist.bluetooth.a2dp_offload.cap u:object_r:bluetooth_a2dp_offload_prop:s0 exact string
|
/system/sepolicy/prebuilts/api/30.0/public/ |
D | property_contexts | 81 persist.bluetooth.a2dp_offload.cap u:object_r:bluetooth_a2dp_offload_prop:s0 exact string
|