Home
last modified time | relevance | path

Searched refs:mConfig (Results 1 – 9 of 9) sorted by relevance

/device/google/gs-common/powerstats/
DCpupmStateResidencyDataProvider.cpp42 mConfig(std::move(config)), in CpupmStateResidencyDataProvider()
47 for (int32_t i = 0; i < mConfig.states.size(); i++) { in matchState()
48 if (mConfig.states[i].second == Trim(std::string(line))) { in matchState()
56 for (int32_t i = 0; i < mConfig.entities.size(); i++) { in matchEntity()
57 if (StartsWith(Trim(std::string(line)), mConfig.entities[i].second)) { in matchEntity()
93 for (int32_t i = 0; i < mConfig.entities.size(); i++) { in getStateResidencies()
94 std::vector<StateResidency> stateResidencies(mConfig.states.size()); in getStateResidencies()
98 residencies->emplace(mConfig.entities[i].first, stateResidencies); in getStateResidencies()
141 it = residencies->find(mConfig.entities[entityIndex].first); in getStateResidencies()
161 for (auto const &entity : mConfig.entities) { in getInfo()
[all …]
/device/google/atv/audio_proxy/service/
DDevicesFactoryImpl.cpp27 : mBusStreamProvider(busStreamProvider), mConfig(config) {} in DevicesFactoryImpl()
32 if (device == mConfig.name) { in openDevice()
34 _hidl_cb(Result::OK, new DeviceImpl(mBusStreamProvider, mConfig)); in openDevice()
52 if (device == mConfig.name) { in openDevice_7_1()
54 _hidl_cb(Result::OK, new DeviceImpl(mBusStreamProvider, mConfig)); in openDevice_7_1()
DStreamOutImpl.cpp79 mConfig(config), in StreamOutImpl()
115 _hidl_cb(Result::OK, mConfig); in getAudioProperties()
124 Return<uint32_t> StreamOutImpl::getSampleRate() { return mConfig.sampleRateHz; } in getSampleRate()
143 return mConfig.channelMask; in getChannelMask()
151 Return<AudioFormat> StreamOutImpl::getFormat() { return mConfig.format; } in getFormat()
168 _hidl_cb(mConfig.sampleRateHz, mConfig.channelMask, mConfig.format); in getAudioProperties()
543 return frames + estimatePlayedFramesSince(timestamp, mConfig.sampleRateHz); in estimateTotalPlayedFrames()
DBusOutputStream.cpp25 : mAddress(address), mConfig(config), mFlags(flags) {} in BusOutputStream()
29 const AidlAudioConfig& BusOutputStream::getConfig() const { return mConfig; } in getConfig()
32 int BusOutputStream::getFrameSize() const { return computeFrameSize(mConfig); } in getFrameSize()
DDummyBusOutputStream.cpp70 int64_t durationUs = numFrames * kOneSecInUs / mConfig.sampleRateHz; in writeRingBuffer()
104 status.position = {playedUs * mConfig.sampleRateHz / kOneSecInUs, timeSpec}; in writeRingBuffer()
114 (mConfig.sampleRateHz * getFrameSize()); in prepareForWritingImpl()
DDevicesFactoryImpl.h56 const ServiceConfig& mConfig; variable
DBusOutputStream.h63 const AidlAudioConfig mConfig; variable
DStreamOutImpl.h171 const StreamOutConfig mConfig; variable
/device/google/gs-common/powerstats/include/
DCpupmStateResidencyDataProvider.h71 const Config mConfig; variable