/system/chre/util/tests/ |
D | unique_ptr_test.cc | 11 struct Value { struct 12 Value(int value) : value(value) { in Value() function 16 ~Value() { in ~Value() argument 20 Value& operator=(Value&& other) { in operator =() argument 29 int Value::constructionCounter = 0; argument 32 UniquePtr<Value> myInt = MakeUnique<Value>(0xcafe); in TEST() 56 UniquePtr<Value> myInt = MakeUnique<Value>(0xcafe); in TEST() 58 Value *value = myInt.get(); in TEST() 60 UniquePtr<Value> moved(std::move(myInt)); in TEST() 66 Value::constructionCounter = 0; in TEST() [all …]
|
/system/bpf/libbpf_android/include/bpf/ |
D | BpfMap.h | 45 template <class Key, class Value> 48 BpfMap<Key, Value>() {}; 52 BpfMap<Key, Value>(const char* pathname, uint32_t flags) { 58 explicit BpfMap<Key, Value>(const char* pathname) : BpfMap<Key, Value>(pathname, 0) {} 60 BpfMap<Key, Value>(bpf_map_type map_type, uint32_t max_entries, uint32_t map_flags = 0) { 61 int map_fd = createMap(map_type, sizeof(Key), sizeof(Value), max_entries, map_flags); 81 base::Result<void> writeValue(const Key& key, const Value& value, uint64_t flags) { in writeValue() 88 base::Result<Value> readValue(const Key key) const { in readValue() 89 Value value; in readValue() 109 const std::function<base::Result<void>(const Key& key, const BpfMap<Key, Value>& map)>& [all …]
|
/system/bt/gd/l2cap/ |
D | signal_id_test.cc | 47 ASSERT_TRUE(i == signal_id.Value()); in TEST() 56 ASSERT_TRUE(i == signal_id.Value()); in TEST() 67 ASSERT_EQ(0xff, signal_id.Value()); in TEST() 77 ASSERT_EQ(1, signal_id.Value()); in TEST() 85 ASSERT_TRUE(i == signal_id.Value()); in TEST() 94 ASSERT_TRUE(i == signal_id.Value()); in TEST() 105 ASSERT_EQ(1, signal_id.Value()); in TEST() 115 ASSERT_EQ(0xff, signal_id.Value()); in TEST()
|
/system/tools/hidl/hidl2aidl/test/ |
D | ndk_test_compile.cpp | 56 static_assert(static_cast<int>(aidl::hidl2aidl::Value::A) == 3); 57 static_assert(static_cast<int>(aidl::hidl2aidl::Value::B) == 7); 58 static_assert(static_cast<int>(aidl::hidl2aidl::Value::C) == 8); 59 static_assert(static_cast<int>(aidl::hidl2aidl::Value::D) == 9); 60 static_assert(static_cast<int>(aidl::hidl2aidl::Value::E) == 27); 61 static_assert(static_cast<int>(aidl::hidl2aidl::Value::F) == 28);
|
D | cpp_test_compile.cpp | 74 static_assert(static_cast<int>(hidl2aidl::Value::A) == 3); 75 static_assert(static_cast<int>(hidl2aidl::Value::B) == 7); 76 static_assert(static_cast<int>(hidl2aidl::Value::C) == 8); 77 static_assert(static_cast<int>(hidl2aidl::Value::D) == 9); 78 static_assert(static_cast<int>(hidl2aidl::Value::E) == 27); 79 static_assert(static_cast<int>(hidl2aidl::Value::F) == 28);
|
/system/update_engine/common/ |
D | dynamic_partition_control_interface.h | 34 enum class Value { NONE = 0, RETROFIT, LAUNCH }; enum 35 constexpr explicit FeatureFlag(Value value) : value_(value) {} in FeatureFlag() 36 constexpr bool IsEnabled() const { return value_ != Value::NONE; } in IsEnabled() 37 constexpr bool IsRetrofit() const { return value_ == Value::RETROFIT; } in IsRetrofit() 38 constexpr bool IsLaunch() const { return value_ == Value::LAUNCH; } in IsLaunch() 41 Value value_;
|
D | dynamic_partition_control_stub.cc | 29 return FeatureFlag(FeatureFlag::Value::NONE); in GetDynamicPartitionsFeatureFlag() 33 return FeatureFlag(FeatureFlag::Value::NONE); in GetVirtualAbFeatureFlag()
|
/system/core/toolbox/ |
D | getprop.cpp | 33 Value, enumerator 55 if (result_type != ResultType::Value) { in PrintAllProperties() 75 case ResultType::Value: in PrintProperty() 94 auto result_type = ResultType::Value; in getprop_main() 119 if (result_type != ResultType::Value) { in getprop_main() 126 if (result_type != ResultType::Value) { in getprop_main() 140 if (result_type != ResultType::Value) { in getprop_main()
|
/system/tools/aidl/metadata/ |
D | parser.cpp | 29 Json::Value root; in main() 43 for (const Json::Value& entry : root) { in main() 49 for (const Json::Value& intf : entry["types"]) { in main() 54 for (const Json::Value& intf : entry["hashes"]) { in main()
|
/system/core/libprocessgroup/ |
D | task_profiles.cpp | 376 Json::Value root; in Load() 382 const Json::Value& attr = root["Attributes"]; in Load() 383 for (Json::Value::ArrayIndex i = 0; i < attr.size(); ++i) { in Load() 401 const Json::Value& profiles_val = root["Profiles"]; in Load() 402 for (Json::Value::ArrayIndex i = 0; i < profiles_val.size(); ++i) { in Load() 403 const Json::Value& profile_val = profiles_val[i]; in Load() 406 const Json::Value& actions = profile_val["Actions"]; in Load() 409 for (Json::Value::ArrayIndex act_idx = 0; act_idx < actions.size(); ++act_idx) { in Load() 410 const Json::Value& action_val = actions[act_idx]; in Load() 412 const Json::Value& params_val = action_val["Params"]; in Load() [all …]
|
/system/core/init/ |
D | keyword_map.h | 37 template <typename Value> 43 Value value; 49 Result<Value> Find(const std::vector<std::string>& args) const { in Find()
|
/system/tools/hidl/metadata/ |
D | parser.cpp | 29 Json::Value root; in main() 43 for (const Json::Value& entry : root) { in main() 48 for (const Json::Value& intf : entry["inheritedInterfaces"]) { in main()
|
/system/netd/include/binder_utils/ |
D | BinderUtil.h | 62 void binderCallLogFn(const Json::Value& logTransaction, const LogFn& logFn) { in binderCallLogFn() 67 const Json::Value& returnArgs = logTransaction["_aidl_return"]; in binderCallLogFn() 68 const Json::Value& inputArgsArray = logTransaction["input_args"]; in binderCallLogFn() 76 for (Json::Value::ArrayIndex i = 0; i < inputArgsArray.size(); ++i) { in binderCallLogFn()
|
/system/apex/proto/ |
D | apex_build_info.proto | 37 // Value of --min_sdk_version parameter passed at build time. 40 // Value of --target_sdk_version parameter passed at build time. 46 // Value of --override_apk_package_name passed at build itme. 49 // Value of --logging_parent passed at build time.
|
/system/tools/hidl/hidl2aidl/test/1.1/ |
D | types.hal | 19 import @1.0::Value; 41 enum Value : @1.0::Value {
|
/system/tools/hidl/ |
D | generateInheritanceHierarchy.cpp | 33 Json::Value root; in generateInheritanceHierarchy() 36 Json::Value inheritedInterfaces(Json::arrayValue); in generateInheritanceHierarchy()
|
/system/bt/gd/l2cap/classic/internal/ |
D | signalling_manager.cc | 238 … command_just_sent_.signal_id_.Value(), CommandCodeText(command_just_sent_.command_code_).data(), in OnConnectionResponse() 239 signal_id.Value()); in OnConnectionResponse() 336 … ConfigurationResponseBuilder::Create(signal_id.Value(), channel->GetRemoteCid(), is_continuation, in OnConfigurationRequest() 369 …auto response = ConfigurationResponseBuilder::Create(signal_id.Value(), channel->GetRemoteCid(), i… in OnConfigurationRequest() 491 … command_just_sent_.signal_id_.Value(), CommandCodeText(command_just_sent_.command_code_).data(), in OnConfigurationResponse() 492 signal_id.Value()); in OnConfigurationResponse() 589 auto builder = DisconnectionResponseBuilder::Create(signal_id.Value(), cid, remote_cid); in OnDisconnectionRequest() 604 … command_just_sent_.signal_id_.Value(), CommandCodeText(command_just_sent_.command_code_).data(), in OnDisconnectionResponse() 605 signal_id.Value()); in OnDisconnectionResponse() 632 auto builder = EchoResponseBuilder::Create(signal_id.Value(), std::move(raw_builder)); in OnEchoRequest() [all …]
|
/system/extras/libjsonpb/verify/ |
D | verify.cpp | 54 bool AllFieldsAreKnown(const Message& message, const Json::Value& json, in AllFieldsAreKnown() 101 const Json::Value& json_value = json[json_name]; in AllFieldsAreKnown() 148 Json::Value value; in AllFieldsAreKnown() 167 Json::Value old_json; in EqReformattedJson() 178 Json::Value new_json; in EqReformattedJson()
|
/system/teeui/libteeui/include/teeui/ |
D | cbor.h | 53 template <typename Key, typename Value> struct MapElement { 55 const Value& value_; 56 MapElement(const Key& key, const Value& value) : key_(key), value_(value) {} in MapElement() 152 template <typename Key, typename Value> MapElement<Key, Value> pair(const Key& k, const Value& v) { 153 return MapElement<Key, Value>(k, v); 280 template <typename Key, typename Value> 281 WriteState write(WriteState wState, const MapElement<Key, Value>& element) {
|
/system/core/libprocessgroup/setup/ |
D | cgroup_map_write.cpp | 146 const Json::Value& cgroup, const std::string& name, in MergeCgroupToDescriptors() 185 Json::Value root; in ReadDescriptorsFromFile() 192 const Json::Value& cgroups = root["Cgroups"]; in ReadDescriptorsFromFile() 193 for (Json::Value::ArrayIndex i = 0; i < cgroups.size(); ++i) { in ReadDescriptorsFromFile() 200 const Json::Value& cgroups2 = root["Cgroups2"]; in ReadDescriptorsFromFile() 204 const Json::Value& childGroups = cgroups2["Controllers"]; in ReadDescriptorsFromFile() 205 for (Json::Value::ArrayIndex i = 0; i < childGroups.size(); ++i) { in ReadDescriptorsFromFile()
|
/system/extras/libperfmgr/ |
D | HintManager.cc | 141 Json::Value root; in ParseNodes() 149 Json::Value nodes = root["Nodes"]; in ParseNodes() 150 for (Json::Value::ArrayIndex i = 0; i < nodes.size(); ++i) { in ParseNodes() 202 Json::Value values = nodes[i]["Values"]; in ParseNodes() 203 for (Json::Value::ArrayIndex j = 0; j < values.size(); ++j) { in ParseNodes() 285 Json::Value root; in ParseActions() 293 Json::Value actions = root["Actions"]; in ParseActions() 301 for (Json::Value::ArrayIndex i = 0; i < actions.size(); ++i) { in ParseActions()
|
/system/tools/hidl/hidl2aidl/test/2.0/ |
D | IFoo.hal | 20 import @1.0::Value; 28 useImportedEnum(Value value);
|
/system/bt/gd/l2cap/le/internal/ |
D | signalling_manager.cc | 103 auto builder = ConnectionParameterUpdateResponseBuilder::Create(signal_id.Value(), result); in SendConnectionParameterUpdateResponse() 108 auto builder = LeFlowControlCreditBuilder::Create(next_signal_id_.Value(), local_cid, credits); in SendCredit() 138 auto builder = LeCommandRejectNotUnderstoodBuilder::Create(signal_id.Value()); in OnConnectionParameterUpdateRequest() 145 auto builder = ConnectionParameterUpdateResponseBuilder::Create(signal_id.Value(), in OnConnectionParameterUpdateRequest() 311 auto builder = LeDisconnectionResponseBuilder::Create(signal_id.Value(), cid, remote_cid); in OnDisconnectionRequest() 456 …LeCreditBasedConnectionResponseBuilder::Create(signal_id.Value(), local_cid, mtu, mps, initial_cre… in send_connection_response() 489 … command_just_sent_.signal_id_.Value(), command_just_sent_.psm_, command_just_sent_.source_cid_, in handle_send_next_command() 497 …command_just_sent_.signal_id_.Value(), command_just_sent_.destination_cid_, command_just_sent_.sou… in handle_send_next_command() 504 …command_just_sent_.signal_id_.Value(), command_just_sent_.interval_min_, command_just_sent_.interv… in handle_send_next_command()
|
/system/tools/hidl/lint/ |
D | Lint.cpp | 64 Json::Value Lint::asJson() const { in asJson() 65 Json::Value lint; in asJson()
|
/system/bt/vendor_libs/test_vendor_lib/model/devices/ |
D | device_properties.cc | 87 std::unique_ptr<base::Value> properties_value_ptr = base::JSONReader::Read(properties_raw); in DeviceProperties() 92 base::Value& properties_dictionary = *(properties_value_ptr.get()); in DeviceProperties()
|