Home
last modified time | relevance | path

Searched refs:ClientDescriptor (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/services/camera/libcameraservice/utils/
DClientManager.h109 class ClientDescriptor final {
111 ClientDescriptor(const KEY& key, const VALUE& value, int32_t cost,
114 ClientDescriptor(KEY&& key, VALUE&& value, int32_t cost, std::set<KEY>&& conflictingKeys,
117 ~ClientDescriptor();
161 friend bool operator < (const ClientDescriptor<K, V>& a, const ClientDescriptor<K, V>& b);
173 bool operator < (const ClientDescriptor<K, V>& a, const ClientDescriptor<K, V>& b) {
178 ClientDescriptor<KEY, VALUE>::ClientDescriptor(const KEY& key, const VALUE& value, int32_t cost, in ClientDescriptor() function
186 ClientDescriptor<KEY, VALUE>::ClientDescriptor(KEY&& key, VALUE&& value, int32_t cost, in ClientDescriptor() function
194 ClientDescriptor<KEY, VALUE>::~ClientDescriptor() {} in ~ClientDescriptor()
197 const KEY& ClientDescriptor<KEY, VALUE>::getKey() const { in getKey()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DClientDescriptor.h43 class ClientDescriptor: public RefBase
46 ClientDescriptor(audio_port_handle_t portId, uid_t uid, audio_session_t sessionId,
53 ~ClientDescriptor() override = default;
85 class TrackClientDescriptor: public ClientDescriptor
96 ClientDescriptor(portId, uid, sessionId, attributes, config, preferredDeviceId, in TrackClientDescriptor()
102 using ClientDescriptor::dump;
134 ClientDescriptor::setActive(mActivityCount > 0); in changeActivityCount()
152 class RecordClientDescriptor: public ClientDescriptor
159 ClientDescriptor(portId, uid, sessionId, attributes, config, preferredDeviceId), in RecordClientDescriptor()
164 using ClientDescriptor::dump;
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DClientDescriptor.cpp34 std::string ClientDescriptor::toShortString() const in toShortString()
42 void ClientDescriptor::dump(String8 *dst, int spaces, int index) const in dump()
56 ClientDescriptor::dump(dst, spaces, index); in dump()
71 ss << ClientDescriptor::toShortString() << " Stream: " << mStream; in toShortString()
86 ClientDescriptor::dump(dst, spaces, index); in dump()
/frameworks/av/services/audiopolicy/common/managerdefinitions/
DAndroid.bp12 "src/ClientDescriptor.cpp",
/frameworks/av/services/camera/libcameraservice/tests/
DClientManagerTest.cpp39 using TestClientDescriptor = ClientDescriptor<int, TestClient>;
/frameworks/av/services/camera/libcameraservice/
DCameraService.h434 void onClientAdded(const resource_policy::ClientDescriptor<String8,
436 void onClientRemoved(const resource_policy::ClientDescriptor<String8,
440 typedef std::shared_ptr<resource_policy::ClientDescriptor<String8,
701 std::shared_ptr<resource_policy::ClientDescriptor<String8, sp<BasicClient>>>* partial);
DCameraService.cpp1269 std::shared_ptr<resource_policy::ClientDescriptor<String8, sp<BasicClient>>>* partial) { in handleEvictionsLocked()
1661 std::shared_ptr<resource_policy::ClientDescriptor<String8, sp<BasicClient>>> partial; in connectHelper()
3403 const resource_policy::ClientDescriptor<String8, in onClientAdded()
3414 const resource_policy::ClientDescriptor<String8, in onClientRemoved()
3494 return std::make_shared<resource_policy::ClientDescriptor<String8, sp<BasicClient>>>( in makeClientDescriptor()