Searched refs:mConfig (Results 1 – 9 of 9) sorted by relevance
/device/google/gs-common/powerstats/ |
D | CpupmStateResidencyDataProvider.cpp | 42 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/ |
D | DevicesFactoryImpl.cpp | 27 : 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()
|
D | StreamOutImpl.cpp | 79 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()
|
D | BusOutputStream.cpp | 25 : 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()
|
D | DummyBusOutputStream.cpp | 70 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()
|
D | DevicesFactoryImpl.h | 56 const ServiceConfig& mConfig; variable
|
D | BusOutputStream.h | 63 const AidlAudioConfig mConfig; variable
|
D | StreamOutImpl.h | 171 const StreamOutConfig mConfig; variable
|
/device/google/gs-common/powerstats/include/ |
D | CpupmStateResidencyDataProvider.h | 71 const Config mConfig; variable
|