Home
last modified time | relevance | path

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

/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/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.cpp3915 sp<ConfigList> c = mConfigs.valueFor(entry); in getEntry()
3924 mConfigs.add(entry, c); in getEntry()
3989 ssize_t idx = mConfigs.indexOfKey(entry); in removeEntry()
3994 sp<ConfigList> removed = mConfigs.valueAt(idx); in removeEntry()
3995 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/
DVcnManagementService.java191 private final Map<ParcelUuid, VcnConfig> mConfigs = new ArrayMap<>(); field in VcnManagementService
269 if (!mConfigs.containsKey(entry.getKey())) { in VcnManagementService()
270 mConfigs.put(entry.getKey(), entry.getValue()); in VcnManagementService()
466 for (Entry<ParcelUuid, VcnConfig> entry : mConfigs.entrySet()) { in onReceive()
504 for (Entry<ParcelUuid, VcnConfig> entry : mConfigs.entrySet()) { in onNewSnapshot()
524 final VcnConfig config = mConfigs.get(subGrp); in onNewSnapshot()
709 mConfigs.put(subscriptionGroup, config); in setVcnConfig()
738 final VcnConfig config = mConfigs.get(subscriptionGroup); in isProvisioningPackageForConfig()
774 mConfigs.remove(subscriptionGroup); in stopAndClearVcnConfigInternalLocked()
792 final Iterator<ParcelUuid> configsIterator = mConfigs.keySet().iterator(); in garbageCollectAndWriteVcnConfigsLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java125 @VisibleForTesting final SparseArray<ZenModeConfig> mConfigs = new SparseArray<>(); field in ZenModeHelper
158 mConfigs.put(UserHandle.USER_SYSTEM, mConfig); in ZenModeHelper()
242 mConfigs.remove(user); in onUserRemoved()
260 if (mConfigs.get(user) != null) { in loadConfigForUser()
261 config = mConfigs.get(user).copy(); in loadConfigForUser()
714 final int N = mConfigs.size(); in dump()
716 dump(pw, prefix, "mConfigs[u=" + mConfigs.keyAt(i) + "]", mConfigs.valueAt(i)); in dump()
818 final int n = mConfigs.size(); in writeXml()
820 if (forBackup && mConfigs.keyAt(i) != userId) { in writeXml()
823 mConfigs.valueAt(i).writeXml(out, version); in writeXml()
[all …]
/frameworks/base/services/core/java/com/android/server/app/
DGameManagerService.java171 private final ArrayMap<String, GamePackageConfiguration> mConfigs = new ArrayMap<>(); field in GameManagerService
1110 config = mConfigs.get(packageName); in isAngleEnabled()
1137 config = mConfigs.get(packageName); in getLoadingBoostDuration()
1491 config = mConfigs.get(packageName); in resetGameModeConfigOverride()
1598 mConfigs.put(packageName, config); in updateConfigsForUser()
1604 mConfigs.remove(packageName); in updateConfigsForUser()
1621 config = mConfigs.get(packageName); in updateConfigsForUser()
1745 config = mConfigs.get(packageName); in getConfig()
1799 mConfigs.remove(packageName); in registerPackageReceiver()
1827 for (String key : mConfigs.keySet()) { in dumpDeviceConfigs()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DSchedulerTest.cpp64 std::shared_ptr<RefreshRateConfigs> mConfigs = member in android::scheduler::__anonee35d3570111::SchedulerTest
68 TestableScheduler* mScheduler = new TestableScheduler{mConfigs, mSchedulerCallback};
DLayerHistoryTest.cpp128 std::shared_ptr<RefreshRateConfigs> mConfigs = member in android::scheduler::LayerHistoryTest
137 TestableScheduler* mScheduler = new TestableScheduler(mConfigs, mSchedulerCallback);
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java671 private TvStreamConfig[] mConfigs = null; field in TvInputHardwareManager.Connection
713 mConfigs = configs; in updateConfigsLocked()
737 return mConfigs; in getConfigsLocked()
772 + ", mConfigs: " + Arrays.toString(mConfigs) in toString()
791 return mConfigs == null ? 0 : mConfigs.length; in getConfigsLengthLocked()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java1032 mZenModeHelperSpy.mConfigs.put(11, newConfig11); in testWriteXml_onlyBackupsTargetUser()
1039 ZenModeConfig actual = mZenModeHelperSpy.mConfigs.get(10); in testWriteXml_onlyBackupsTargetUser()
1042 assertNotEquals("Expected config mismatch", config11, mZenModeHelperSpy.mConfigs.get(11)); in testWriteXml_onlyBackupsTargetUser()
1076 ZenModeConfig actual = mZenModeHelperSpy.mConfigs.get(10); in testReadXmlRestore_forNonSystemUser()
/frameworks/base/media/java/android/media/
DAudioManager.java4026 cbData.mCb.onRecordingConfigChanged(cbData.mConfigs); in ServiceEventHandlerDelegate()
4036 cbData.mCb.onPlaybackConfigChanged(cbData.mConfigs); in ServiceEventHandlerDelegate()
5088 final List<AudioPlaybackConfiguration> mConfigs; field in AudioManager.PlaybackConfigChangeCallbackData
5093 mConfigs = configs; in PlaybackConfigChangeCallbackData()
5278 final List<AudioRecordingConfiguration> mConfigs; field in AudioManager.RecordConfigChangeCallbackData
5283 mConfigs = configs; in RecordConfigChangeCallbackData()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt24192 Landroid/media/AudioManager$PlaybackConfigChangeCallbackData;->mConfigs:Ljava/util/List;
24195 Landroid/media/AudioManager$RecordConfigChangeCallbackData;->mConfigs:Ljava/util/List;
48481 Landroid/security/net/config/ApplicationConfig;->mConfigs:Ljava/util/Set;