Searched defs:std (Results 1 - 12 of 12) sorted by relevance

/frameworks/av/media/libeffects/loudness/common/core/
H A Dmath.h22 using ::std::min;
23 using ::std::max;
24 using ::std::fill;
25 using ::std::fill_n;using ::std::lower_bound;
28 //using ::std::fpclassify;
74 namespace std { namespace
78 // since std::round is missing on android.
82 return static_cast<T>(std::floor(static_cast<double>(x) + 0.5));
85 } // namespace std
[all...]
/frameworks/base/tools/aapt2/
H A DSdkConstants.cpp26 static const std::vector<std::pair<uint16_t, size_t>> sAttrIdMap = {
48 static bool lessEntryId(const std::pair<uint16_t, size_t>& p, uint16_t entryId) { argument
56 auto iter = std::lower_bound(sAttrIdMap.begin(), sAttrIdMap.end(), id.entryId(), lessEntryId);
63 static const std::unordered_map<std::u16string, size_t> sAttrMap = {
/frameworks/base/tools/aapt2/util/
H A DImmutableMap.h32 std::vector<std::pair<TKey, TValue>> mData;
34 explicit ImmutableMap(std::vector<std::pair<TKey, TValue>> data) : mData(std::move(data)) {
47 std::initializer_list<std::pair<TKey, TValue>> list) {
48 return ImmutableMap(std::vector<std::pair<TKey, TValue>>(list.begin(), list.end()));
52 std
46 createPreSorted( std::initializer_list<std::pair<TKey, TValue>> list) argument
51 createAndSort( std::initializer_list<std::pair<TKey, TValue>> list) argument
[all...]
/frameworks/compile/mclinker/include/mcld/Support/
H A DRealPath.h49 namespace std { namespace
64 } // namespace std
H A DPath.h47 typedef std::string StringType;
109 inline std::basic_ostream<Char, Traits>& operator<<( argument
110 std::basic_ostream<Char, Traits>& pOS,
116 inline std::basic_istream<Char, Traits>& operator>>( argument
117 std::basic_istream<Char, Traits>& pOS,
156 namespace std { namespace
169 } // namespace std
/frameworks/base/tools/aapt2/unflatten/
H A DBinaryResourceParser.cpp45 const std::map<ResourceId, ResourceName>* mMapping;
50 ReferenceIdToNameVisitor(const std::map<ResourceId, ResourceName>* mapping) : argument
168 if (packageId > std::numeric_limits<uint8_t>::max()) {
176 std::u16string packageName;
335 std::unique_ptr<Value> resourceValue;
355 if (!mTable->addResourceAllowMangled(name, config, {}, std::move(resourceValue),
380 std::unique_ptr<Item> BinaryResourceParser::parseValue(const ResourceNameRef& name,
443 std::unique_ptr<Value> BinaryResourceParser::parseMapEntry(const ResourceNameRef& name,
464 std::unique_ptr<Style> BinaryResourceParser::parseStyle(const ResourceNameRef& name,
467 std
[all...]
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSCompilerDriver.cpp89 mConfig = new (std::nothrow) CompilerConfig(DEFAULT_TARGET_TRIPLE_STRING);
199 std::string path(pOutputPath);
312 const std::vector<Source*>& sources,
313 const std::list<std::list<std::pair<int, int>>>& toFuse,
314 const std::list<std::string>& fused,
315 const std::list<std
309 buildScriptGroup( BCCContext& Context, const char* pOutputFilepath, const char* pRuntimePath, const char* pRuntimeRelaxedPath, bool dumpIR, const char* buildChecksum, const std::vector<Source*>& sources, const std::list<std::list<std::pair<int, int>>>& toFuse, const std::list<std::string>& fused, const std::list<std::list<std::pair<int, int>>>& invokes, const std::list<std::string>& invokeBatchNames) argument
[all...]
/frameworks/native/libs/binder/
H A DPersistableBundle.cpp58 bool getValue(const android::String16& key, T* out, const std::map<android::String16, T>& map) { argument
111 if (length > std::numeric_limits<int32_t>::max()) {
191 void PersistableBundle::putBooleanVector(const String16& key, const std::vector<bool>& value) {
196 void PersistableBundle::putIntVector(const String16& key, const std::vector<int32_t>& value) {
201 void PersistableBundle::putLongVector(const String16& key, const std::vector<int64_t>& value) {
206 void PersistableBundle::putDoubleVector(const String16& key, const std::vector<double>& value) {
211 void PersistableBundle::putStringVector(const String16& key, const std::vector<String16>& value) {
241 bool PersistableBundle::getBooleanVector(const String16& key, std::vector<bool>* out) const {
245 bool PersistableBundle::getIntVector(const String16& key, std::vector<int32_t>* out) const {
249 bool PersistableBundle::getLongVector(const String16& key, std
[all...]
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
H A DParameterManagerWrapper.cpp38 using std::string;
39 using std::map;
40 using std::vector;
106 std::string error;
135 std::string error;
222 T *ParameterManagerWrapper::getElement(const string &name, std::map<string, T *> &elementsMap)
225 typename std::map<string, T *>::iterator it = elementsMap.find(name);
231 const T *ParameterManagerWrapper::getElement(const string &name, const std::map<string, T *> &elementsMap) const argument
234 typename std::map<string, T *>::const_iterator it = elementsMap.find(name);
/frameworks/av/services/camera/libcameraservice/utils/
H A DClientManager.h48 const std::set<KEY>& conflictingKeys, int32_t priority, int32_t ownerId);
49 ClientDescriptor(KEY&& key, VALUE&& value, int32_t cost, std::set<KEY>&& conflictingKeys,
87 std::set<KEY> getConflicting() const;
102 std::set<KEY> mConflicting;
114 const std::set<KEY>& conflictingKeys, int32_t priority, int32_t ownerId) : mKey{key},
120 std::set<KEY>&& conflictingKeys, int32_t priority, int32_t ownerId) :
121 mKey{std::forward<KEY>(key)}, mValue{std::forward<VALUE>(value)}, mCost{cost},
122 mConflicting{std::forward<std
356 wouldEvict( const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client) const argument
364 getIncompatibleClients( const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client) const argument
372 wouldEvictLocked( const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client, bool returnIncompatibleClients) const argument
465 addAndEvict( const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client) argument
526 updatePriorities( const std::map<int32_t,int32_t>& ownerPriorityList) argument
582 waitUntilRemoved( const std::shared_ptr<ClientDescriptor<KEY, VALUE>> client, nsecs_t timeout) const argument
620 remove( const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& value) argument
[all...]
/frameworks/base/tools/aapt2/proto/
H A DTableProtoDeserializer.cpp33 ReferenceIdToNameVisitor(const std::map<ResourceId, ResourceNameRef>* mapping) : argument
51 const std::map<ResourceId, ResourceNameRef>* mMapping;
71 std::map<ResourceId, ResourceNameRef> idIndex;
159 std::unique_ptr<Item> deserializeItemFromPb(const pb::Item& pbItem,
164 std::unique_ptr<Reference> ref = util::make_unique<Reference>();
168 return std::move(ref);
219 std::unique_ptr<Value> deserializeValueFromPb(const pb::Value& pbValue,
224 std::unique_ptr<Value> value;
235 std::unique_ptr<Attribute> attr = util::make_unique<Attribute>(isWeak);
244 attr->symbols.push_back(std
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWC2.cpp43 device->callHotplug(std::move(display), connected);
55 device->callRefresh(std::move(display));
67 device->callVsync(std::move(display), timestamp);
178 std::string Device::dump() const
183 std::vector<char> buffer(numBytes);
186 return std::string(buffer.data(), buffer.size());
195 android_pixel_format_t* format, std::shared_ptr<Display>* outDisplay)
224 mHotplug(std::move(display), connected);
232 mRefresh(std::move(pending));
242 mVsync(std
530 getChangedCompositionTypes( std::unordered_map<std::shared_ptr<Layer>, Composition>* outTypes) argument
717 getReleaseFences( std::unordered_map<std::shared_ptr<Layer>, sp<Fence>>* outFences) const argument
[all...]

Completed in 322 milliseconds