Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DConfigurationMapTest.java78 private ConfigurationMap mConfigs; field in ConfigurationMapTest
93 mConfigs = new ConfigurationMap(mUserManager); in setUp()
98 mConfigs.setNewUser(newUserId); in switchUser()
99 mConfigs.clear(); in switchUser()
104 for (WifiConfiguration config : mConfigs.valuesForCurrentUser()) { in getEnabledNetworksForCurrentUser()
113 for (WifiConfiguration config : mConfigs.valuesForCurrentUser()) { in getEphemeralForCurrentUser()
123 assertNull(mConfigs.put(config)); in addNetworks()
146 assertEquals(config, mConfigs.getForAllUsers(config.networkId)); in verifyGetters()
152 assertEquals(config, mConfigs.getForCurrentUser(config.networkId)); in verifyGetters()
153 assertEquals(config, mConfigs.getByConfigKeyForCurrentUser(config.configKey())); in verifyGetters()
[all …]
DCarrierNetworkEvaluatorTest.java108 private Map<String, Integer> mConfigs = new HashMap<>(); field in CarrierNetworkEvaluatorTest.AddOrUpdateNetworkAnswer
111 mConfigs.put(config.configKey(), networkId); in addConfig()
117 Integer networkId = mConfigs.get(config.configKey()); in answer()
/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()
158 if (mConfigs != null) { in handleTrustStorageUpdate()
160 new HashSet<NetworkSecurityConfig>(mConfigs.size()); in handleTrustStorageUpdate()
161 for (Pair<Domain, NetworkSecurityConfig> entry : mConfigs) { in handleTrustStorageUpdate()
175 mConfigs = mConfigSource.getPerDomainConfigs(); in ensureInitialized()
/frameworks/base/cmds/statsd/src/config/
DConfigManager.cpp77 auto uidIt = mConfigs.find(key.GetUid()); in UpdateConfig()
79 if (uidIt != mConfigs.end()) { in UpdateConfig()
89 if (uidIt != mConfigs.end() && uidIt->second.find(key) != uidIt->second.end() && in UpdateConfig()
103 mConfigs[key.GetUid()].insert(key); in UpdateConfig()
144 auto uidIt = mConfigs.find(uid); in RemoveConfig()
145 if (uidIt != mConfigs.end() && uidIt->second.find(key) != uidIt->second.end()) { in RemoveConfig()
189 auto uidIt = mConfigs.find(uid); in RemoveConfigs()
190 if (uidIt == mConfigs.end()) { in RemoveConfigs()
206 mConfigs.erase(uidIt); in RemoveConfigs()
228 for (auto uidIt = mConfigs.begin(); uidIt != mConfigs.end();) { in RemoveAllConfigs()
[all …]
DConfigManager.h140 std::map<int, std::set<ConfigKey>> mConfigs; variable
/frameworks/base/tools/aapt/
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;
DResourceFilter.cpp16 mConfigs.clear(); in parse()
18 mConfigs.resize(N); in parse()
27 std::pair<ConfigDescription, uint32_t>& entry = mConfigs.editItemAt(i); in parse()
107 const size_t N = mConfigs.size(); in match()
109 const std::pair<ConfigDescription, uint32_t>& entry = mConfigs[i]; in match()
148 mConfigs.clear(); in parse()
154 mConfigs.insert(config); in parse()
DApkBuilder.h79 return mConfigs; in getConfigs()
113 std::set<ConfigDescription> mConfigs; variable
DApkBuilder.cpp82 : mConfigs(configs), mFilter(filter), mIsBase(isBase) { in ApkSplit()
DResourceTable.h515 const DefaultKeyedVector<String16, sp<ConfigList> >& getConfigs() const { return mConfigs; } in getConfigs()
525 DefaultKeyedVector<String16, sp<ConfigList> > mConfigs; variable
DResourceTable.cpp3916 sp<ConfigList> c = mConfigs.valueFor(entry); in getEntry()
3925 mConfigs.add(entry, c); in getEntry()
3990 ssize_t idx = mConfigs.indexOfKey(entry); in removeEntry()
3995 sp<ConfigList> removed = mConfigs.valueAt(idx); in removeEntry()
3996 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/packages/SystemUI/src/com/android/systemui/globalactions/
DListGridLayout.java51 private final int[][] mConfigs = { field in ListGridLayout
178 return mConfigs.length - 1; in getMaxElementCount()
183 return mConfigs[0]; in getConfig()
186 return mConfigs[targetElements]; in getConfig()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java107 @VisibleForTesting final SparseArray<ZenModeConfig> mConfigs = new SparseArray<>(); field in ZenModeHelper
138 mConfigs.put(UserHandle.USER_SYSTEM, mConfig); in ZenModeHelper()
212 mConfigs.remove(user); in onUserRemoved()
227 ZenModeConfig config = mConfigs.get(user); in loadConfigForUser()
635 final int N = mConfigs.size(); in dump()
637 dump(pw, prefix, "mConfigs[u=" + mConfigs.keyAt(i) + "]", mConfigs.valueAt(i)); in dump()
733 synchronized (mConfigs) { in writeXml()
734 final int n = mConfigs.size(); in writeXml()
736 if (forBackup && mConfigs.keyAt(i) != userId) { in writeXml()
739 mConfigs.valueAt(i).writeXml(out, version); in writeXml()
[all …]
/frameworks/base/core/java/android/hardware/camera2/legacy/
DSurfaceTextureRenderer.java68 private EGLConfig mConfigs; field in SurfaceTextureRenderer
444 mConfigs = configs[0]; in configureEGLContext()
465 holder.eglSurface = EGL14.eglCreateWindowSurface(mEGLDisplay, mConfigs, in configureEGLOutputSurfaces()
487 EGL14.eglCreatePbufferSurface(mEGLDisplay, mConfigs, surfaceAttribs, 0); in configureEGLPbufferSurfaces()
518 mConfigs = null; in releaseEGLContext()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2.cpp332 if (mConfigs.count(configId) != 0) { in getActiveConfig()
333 *outConfig = mConfigs.at(configId); in getActiveConfig()
357 auto pos = mConfigs.find(configId); in getActiveConfigIndex()
358 if (pos != mConfigs.end()) { in getActiveConfigIndex()
359 *outIndex = std::distance(mConfigs.begin(), pos); in getActiveConfigIndex()
459 for (const auto& element : mConfigs) { in getConfigs()
763 mConfigs.emplace(configId, std::move(config)); in loadConfig()
DHWC2.h358 std::unordered_map<hwc2_config_t, std::shared_ptr<const Config>> mConfigs; variable
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java616 private TvStreamConfig[] mConfigs = null; field in TvInputHardwareManager.Connection
654 mConfigs = configs; in updateConfigsLocked()
678 return mConfigs; in getConfigsLocked()
709 + ", mConfigs: " + Arrays.toString(mConfigs) in toString()
716 return mConfigs == null ? 0 : mConfigs.length; in getConfigsLengthLocked()
/frameworks/base/media/java/android/media/
DAudioManager.java2529 cbData.mCb.onRecordingConfigChanged(cbData.mConfigs); in ServiceEventHandlerDelegate()
2539 cbData.mCb.onPlaybackConfigChanged(cbData.mConfigs); in ServiceEventHandlerDelegate()
3512 final List<AudioPlaybackConfiguration> mConfigs; field in AudioManager.PlaybackConfigChangeCallbackData
3517 mConfigs = configs; in PlaybackConfigChangeCallbackData()
3701 final List<AudioRecordingConfiguration> mConfigs; field in AudioManager.RecordConfigChangeCallbackData
3706 mConfigs = configs; in RecordConfigChangeCallbackData()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java757 mZenModeHelperSpy.mConfigs.put(11, newConfig11); in testWriteXml_onlyBackupsTargetUser()
764 ZenModeConfig actual = mZenModeHelperSpy.mConfigs.get(10); in testWriteXml_onlyBackupsTargetUser()
767 assertNotEquals("Expected config mismatch", config11, mZenModeHelperSpy.mConfigs.get(11)); in testWriteXml_onlyBackupsTargetUser()
801 ZenModeConfig actual = mZenModeHelperSpy.mConfigs.get(10); in testReadXmlRestore_forNonSystemUser()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h379 auto& mutableConfigs() { return this->mConfigs; } in mutableConfigs()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt34321 Landroid/media/AudioManager$PlaybackConfigChangeCallbackData;->mConfigs:Ljava/util/List;
34324 Landroid/media/AudioManager$RecordConfigChangeCallbackData;->mConfigs:Ljava/util/List;
62393 Landroid/security/net/config/ApplicationConfig;->mConfigs:Ljava/util/Set;