Home
last modified time | relevance | path

Searched refs:mConfigs (Results 1 – 21 of 21) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DConfigurationMapTest.java75 private ConfigurationMap mConfigs; field in ConfigurationMapTest
90 mConfigs = new ConfigurationMap(mUserManager); in setUp()
95 for (WifiConfiguration config : mConfigs.valuesForAllUsers()) { in switchUser()
105 assertEquals(hiddenConfigurations, new HashSet<>(mConfigs.handleUserSwitch(newUserId))); in switchUser()
127 assertEquals(config, mConfigs.getForAllUsers(config.networkId)); in verifyGetters()
129 mConfigs.getByConfigKeyIDForAllUsers(config.configKey().hashCode())); in verifyGetters()
135 assertEquals(config, mConfigs.getForCurrentUser(config.networkId)); in verifyGetters()
137 assertEquals(config, mConfigs.getByFQDNForCurrentUser(config.FQDN)); in verifyGetters()
139 assertEquals(config, mConfigs.getByConfigKeyForCurrentUser(config.configKey())); in verifyGetters()
142 assertNull(mConfigs.getEphemeralForCurrentUser(config.SSID)); in verifyGetters()
[all …]
/frameworks/base/core/java/android/security/net/config/
DApplicationConfig.java37 private Set<Pair<Domain, NetworkSecurityConfig>> mConfigs; field in ApplicationConfig
55 return mConfigs != null && !mConfigs.isEmpty(); in hasPerDomainConfigs()
72 if (hostname == null || hostname.isEmpty() || mConfigs == null) { in getConfigForHostname()
89 for (Pair<Domain, NetworkSecurityConfig> entry : mConfigs) { in getConfigForHostname()
131 if (mConfigs != null) { in isCleartextTrafficPermitted()
132 for (Pair<Domain, NetworkSecurityConfig> entry : mConfigs) { in isCleartextTrafficPermitted()
153 if (mConfigs != null) { in handleTrustStorageUpdate()
155 new HashSet<NetworkSecurityConfig>(mConfigs.size()); in handleTrustStorageUpdate()
156 for (Pair<Domain, NetworkSecurityConfig> entry : mConfigs) { in handleTrustStorageUpdate()
169 mConfigs = mConfigSource.getPerDomainConfigs(); in ensureInitialized()
/frameworks/av/media/libstagefright/wifi-display/
DVideoFormats.cpp137 memcpy(mConfigs, mResolutionTable, sizeof(mConfigs)); in VideoFormats()
166 mConfigs[i][j].profile = mConfigs[i][j].level = 0; in disableAll()
175 mConfigs[i][j].profile = (1ul << PROFILE_CBP); in enableAll()
176 mConfigs[i][j].level = (1ul << LEVEL_31); in enableAll()
211 mConfigs[type][index].profile = (1ul << PROFILE_CBP); in setResolutionEnabled()
212 mConfigs[type][index].level = (1ul << LEVEL_31); in setResolutionEnabled()
215 mConfigs[type][index].profile = 0; in setResolutionEnabled()
216 mConfigs[type][index].level = 0; in setResolutionEnabled()
226 mConfigs[type][index].profile = (1ul << profile); in setProfileLevel()
227 mConfigs[type][index].level = (1ul << level); in setProfileLevel()
[all …]
DVideoFormats.h117 config_t mConfigs[kNumResolutionTypes][32]; member
/frameworks/base/tools/aapt/
DResourceFilter.cpp16 mConfigs.clear(); in parse()
18 mConfigs.resize(N); in parse()
27 std::pair<ConfigDescription, uint32_t>& entry = mConfigs.editItemAt(i); in parse()
67 const size_t N = mConfigs.size(); in match()
69 const std::pair<ConfigDescription, uint32_t>& entry = mConfigs[i]; in match()
100 mConfigs.clear(); in parse()
106 mConfigs.insert(config); in parse()
DResourceFilter.h54 android::Vector<std::pair<ConfigDescription, uint32_t> > mConfigs; variable
82 : mConfigs(configs) {} in StrongResourceFilter()
87 std::set<ConfigDescription>::const_iterator iter = mConfigs.begin(); in match()
88 for (; iter != mConfigs.end(); iter++) { in match()
97 return mConfigs; in getConfigs()
101 std::set<ConfigDescription> mConfigs;
DApkBuilder.h79 return mConfigs; in getConfigs()
113 std::set<ConfigDescription> mConfigs; variable
DApkBuilder.cpp82 : mConfigs(configs), mFilter(filter), mIsBase(isBase) { in ApkSplit()
DResourceTable.h508 const DefaultKeyedVector<String16, sp<ConfigList> >& getConfigs() const { return mConfigs; } in getConfigs()
518 DefaultKeyedVector<String16, sp<ConfigList> > mConfigs; variable
DResourceTable.cpp3898 sp<ConfigList> c = mConfigs.valueFor(entry); in getEntry()
3907 mConfigs.add(entry, c); in getEntry()
3972 ssize_t idx = mConfigs.indexOfKey(entry); in removeEntry()
3977 sp<ConfigList> removed = mConfigs.valueAt(idx); in removeEntry()
3978 mConfigs.removeItemsAt(idx); in removeEntry()
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DTestConfigSource.java24 private final Set<Pair<Domain, NetworkSecurityConfig>> mConfigs; field in TestConfigSource
28 mConfigs = configs; in TestConfigSource()
33 return mConfigs; in getPerDomainConfigs()
/frameworks/base/tools/aapt2/filter/
DConfigFilter.cpp36 mConfigs.insert(std::make_pair(config, diffMask)); in addConfig()
48 for (const auto& entry : mConfigs) { in match()
DConfigFilter.h55 std::set<std::pair<ConfigDescription, uint32_t>> mConfigs;
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java97 private final SparseArray<ZenModeConfig> mConfigs = new SparseArray<>(); field in ZenModeHelper
122 mConfigs.put(UserHandle.USER_SYSTEM, mConfig); in ZenModeHelper()
202 mConfigs.remove(user); in onUserRemoved()
213 ZenModeConfig config = mConfigs.get(user); in loadConfigForUser()
491 final int N = mConfigs.size(); in dump()
493 dump(pw, prefix, "mConfigs[u=" + mConfigs.keyAt(i) + "]", mConfigs.valueAt(i)); in dump()
555 final int N = mConfigs.size(); in writeXml()
558 if (forBackup && mConfigs.keyAt(i) != UserHandle.USER_SYSTEM) { in writeXml()
561 mConfigs.valueAt(i).writeXml(out); in writeXml()
632 mConfigs.put(config.user, config); in setConfigLocked()
[all …]
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2On1Adapter.cpp563 mConfigs(), in Display()
654 if (configId > mConfigs.size() || !mConfigs[configId]->isOnDisplay(*this)) { in getAttribute()
659 *outValue = mConfigs[configId]->getAttribute(attribute); in getAttribute()
721 *outNumConfigs = mConfigs.size(); in getConfigs()
725 for (const auto& config : mConfigs) { in getConfigs()
1208 for (auto& existingConfig : mConfigs) { in populateConfigs()
1220 newConfig->setId(static_cast<hwc2_config_t>(mConfigs.size())); in populateConfigs()
1223 mConfigs.emplace_back(std::move(newConfig)); in populateConfigs()
1235 mConfigs.emplace_back(std::make_shared<Config>(*this)); in populateConfigs()
1236 auto& config = mConfigs[0]; in populateConfigs()
[all …]
DHWC2.cpp517 if (mConfigs.count(configId) != 0) { in getActiveConfig()
518 *outConfig = mConfigs.at(configId); in getActiveConfig()
593 for (const auto& element : mConfigs) { in getConfigs()
875 mConfigs.emplace(configId, std::move(config)); in loadConfig()
DHWC2.h353 std::unordered_map<hwc2_config_t, std::shared_ptr<const Config>> mConfigs; variable
DHWC2On1Adapter.h379 std::vector<std::shared_ptr<Config>> mConfigs; variable
/frameworks/base/core/java/android/hardware/camera2/legacy/
DSurfaceTextureRenderer.java68 private EGLConfig mConfigs; field in SurfaceTextureRenderer
443 mConfigs = configs[0]; in configureEGLContext()
464 holder.eglSurface = EGL14.eglCreateWindowSurface(mEGLDisplay, mConfigs, in configureEGLOutputSurfaces()
486 EGL14.eglCreatePbufferSurface(mEGLDisplay, mConfigs, surfaceAttribs, 0); in configureEGLPbufferSurfaces()
517 mConfigs = null; in releaseEGLContext()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java621 private TvStreamConfig[] mConfigs = null; field in TvInputHardwareManager.Connection
659 mConfigs = configs; in updateConfigsLocked()
683 return mConfigs; in getConfigsLocked()
714 + ", mConfigs: " + Arrays.toString(mConfigs) in toString()
/frameworks/base/media/java/android/media/
DAudioManager.java2165 cbData.mCb.onRecordingConfigChanged(cbData.mConfigs); in ServiceEventHandlerDelegate()
2768 final List<AudioRecordingConfiguration> mConfigs; field in AudioManager.RecordConfigChangeCallbackData
2773 mConfigs = configs; in RecordConfigChangeCallbackData()