Home
last modified time | relevance | path

Searched refs:Value (Results 1 – 19 of 19) sorted by relevance

/system/chre/util/tests/
Dunique_ptr_test.cc11 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/libhidl/libhidlcache/
DHidlCache.h27 template <class Key, class Value, class Compare = std::less<Key>>
48 virtual sp<Value> unlock(const Key& key);
52 virtual sp<Value> fetch(const Key& key);
60 virtual sp<Value> fillLocked(const Key& key) = 0;
64 virtual sp<Value> getCachedLocked(const Key& key);
69 std::map<Key, wp<Value>, Compare> mCached;
70 std::map<Key, sp<Value>, Compare> mLocked;
73 template <class Key, class Value, class Compare>
74 bool HidlCache<Key, Value, Compare>::lock(const Key& key) { in lock()
78 sp<Value> im = mCached[key].promote(); in lock()
[all …]
/system/netd/libbpf/include/bpf/
DBpfMap.h46 template <class Key, class Value>
93 const_iterator(const BpfMap<Key, Value>* map) : mMap(map) { in const_iterator()
98 const BpfMap<Key, Value> * mMap;
102 BpfMap<Key, Value>() : mMapFd(-1){};
103 BpfMap<Key, Value>(int fd) : mMapFd(fd){}; in mMapFd()
104 BpfMap<Key, Value>(bpf_map_type map_type, uint32_t max_entries, uint32_t map_flags) {
105 int map_fd = createMap(map_type, sizeof(Key), sizeof(Value), max_entries, map_flags);
141 netdutils::Status writeValue(const Key& key, const Value& value, uint64_t flags) { in writeValue()
142 if (writeToMapEntry(mMapFd, const_cast<Key*>(&key), const_cast<Value*>(&value), flags)) { in writeValue()
149 netdutils::StatusOr<Value> readValue(const Key key) const { in readValue()
[all …]
/system/core/toolbox/
Dgetprop.cpp33 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/bt/tools/mcap_tool/
Dmcap_tool.cc218 uint32_t Value = 0; in get_int() local
225 Value = Value * 10 + (**p) - '0'; in get_int()
233 return Value; in get_int()
237 int Value = 0; in get_signed_int() local
249 Value = Value * 10 + (**p) - '0'; in get_signed_int()
257 return ((NegativeNum == 0) ? Value : -Value); in get_signed_int()
273 uint32_t Value = 0; in get_hex_any() local
285 Value = Value * 16 + (**p) - 'a' + 10; in get_hex_any()
287 Value = Value * 16 + (**p) - 'A' + 10; in get_hex_any()
289 Value = Value * 16 + (**p) - '0'; in get_hex_any()
[all …]
/system/extras/libperfmgr/
DHintManager.cc138 Json::Value root; in ParseNodes()
146 Json::Value nodes = root["Nodes"]; in ParseNodes()
147 for (Json::Value::ArrayIndex i = 0; i < nodes.size(); ++i) { in ParseNodes()
181 Json::Value values = nodes[i]["Values"]; in ParseNodes()
182 for (Json::Value::ArrayIndex j = 0; j < values.size(); ++j) { in ParseNodes()
249 Json::Value root; in ParseActions()
257 Json::Value actions = root["Actions"]; in ParseActions()
265 for (Json::Value::ArrayIndex i = 0; i < actions.size(); ++i) { in ParseActions()
/system/bt/vendor_libs/test_vendor_lib/src/
Ddevice_properties.cc86 std::unique_ptr<base::Value> properties_value_ptr = in DeviceProperties()
94 base::Value& properties_dictionary = *(properties_value_ptr.get()); in DeviceProperties()
/system/keymaster/ng/include/
Dauthorization_set.h194 template <typename TypedTagT, typename... Value>
195 void push_back(TypedTagT tag, Value&&... val) { in push_back()
196 push_back(Authorization(tag, std::forward<Value>(val)...)); in push_back()
/system/keymaster/legacy_support/
Dkeymaster1_legacy_support.cpp114 template <typename Collection, typename Value> bool contains(const Collection& c, const Value& v) { in contains()
/system/tools/aidl/tests/
Daidl_test_client_primitives.cpp38 using android::binder::Value;
/system/extras/perfprofd/binder_interface/
Dperfprofd_config.proto23 // loop. Value of zero indicates that we should loop forever.
/system/tpm/trunks/generator/
Draw_structures.txt212 TPM_HC (Handle Value Constants) ...................................................................…
1218 Value
1333 Value
1424 Value
1602 An enumeration may contain an extended value indicated by “+” preceding the name in the "Value"
1878 Value
2618 Value
2659 Value
2718 Value
2833 Value
[all …]
Draw_structures_fixed.txt212 TPM_HC (Handle Value Constants) ...................................................................…
1218 Value
1333 Value
1424 Value
1602 An enumeration may contain an extended value indicated by “+” preceding the name in the "Value"
1878 Value
2620 Value
2661 Value
2720 Value
2827 Value
[all …]
Draw_commands.txt14921 e) generate or derive r (see the "Commit Random Value" clause in Part 1)
Draw_commands_fixed.txt14932 e) generate or derive r (see the "Commit Random Value" clause in Part 1)
/system/bt/service/doc/
DIBluetoothGattClientCallback.txt117 * Called when there is an incoming ATT Handle-Value notification or
/system/tools/aidl/docs/
Daidl-cpp.md94 …Map | android::binder::Map| inout | `std::map<std::string,android::binder::Value>` |
/system/keymaster/contexts/
Dsoft_keymaster_device.cpp662 template <typename Collection, typename Value> bool contains(const Collection& c, const Value& v) { in contains()
/system/ca-certificates/google/
Droots.pem38 # Label: "AddTrust Low-Value Services Root"