Home
last modified time | relevance | path

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

12345678910

/aosp12/frameworks/av/media/codec2/sfplugin/tests/
H A DCCodecConfig_test.cpp262 CCodecConfig mConfig; member in android::CCodecConfigTest
282 ASSERT_EQ(OK, mConfig.initialize(mReflector, mConfigurable)); in TEST_F()
290 ASSERT_EQ(OK, mConfig.getConfigUpdateFromSdkParams( in TEST_F()
315 ASSERT_EQ(OK, mConfig.initialize(mReflector, mConfigurable)); in TEST_F()
353 ASSERT_EQ(OK, mConfig.initialize(mReflector, mConfigurable)); in TEST_F()
403 ASSERT_EQ(OK, mConfig.getConfigUpdateFromSdkParams( in TEST_F()
449 ASSERT_EQ(OK, mConfig.getConfigUpdateFromSdkParams( in TEST_F()
510 ASSERT_EQ(OK, mConfig.getConfigUpdateFromSdkParams( in TEST_F()
535 mConfig.updateFormats(D::ALL); in TEST_F()
556 ASSERT_EQ(OK, mConfig.getConfigUpdateFromSdkParams( in TEST_F()
[all …]
/aosp12/packages/modules/NetworkStack/tests/unit/src/android/net/shared/
H A DProvisioningConfigurationTest.java82 mConfig.mEnableIPv4 = true; in setUp()
83 mConfig.mEnableIPv6 = true; in setUp()
91 mConfig.mStaticIpConfig.ipAddress = in setUp()
96 mConfig.mIPv6AddrGenMode = 123; in setUp()
116 mConfig.mInitialConfig = null; in testParcelUnparcel_NullInitialConfiguration()
122 mConfig.mStaticIpConfig = null; in testParcelUnparcel_NullStaticConfiguration()
128 mConfig.mApfCapabilities = null; in testParcelUnparcel_NullApfCapabilities()
134 mConfig.mNetwork = null; in testParcelUnparcel_NullNetwork()
140 mConfig.mScanResultInfo = null; in testParcelUnparcel_NullScanResultInfo()
146 mConfig.mDhcpOptions = null; in testParcelUnparcel_NullCustomizedDhcpOptions()
[all …]
H A DInitialConfigurationTest.java45 private InitialConfiguration mConfig; field in InitialConfigurationTest
49 mConfig = new InitialConfiguration(); in setUp()
50 mConfig.ipAddresses.addAll(Arrays.asList( in setUp()
53 mConfig.directlyConnectedRoutes.addAll(Arrays.asList( in setUp()
56 mConfig.dnsServers.addAll(Arrays.asList( in setUp()
66 InitialConfiguration.fromStableParcelable(mConfig.toStableParcelable()); in testParcelUnparcelInitialConfiguration()
67 assertEquals(mConfig, unparceled); in testParcelUnparcelInitialConfiguration()
72 assertEquals(mConfig, InitialConfiguration.copy(mConfig)); in testEquals()
83 final InitialConfiguration newConfig = InitialConfiguration.copy(mConfig); in assertNotEqualsAfterChange()
85 assertNotEquals(mConfig, newConfig); in assertNotEqualsAfterChange()
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DBadgeExtractorTest.java54 @Mock RankingConfig mConfig; field in BadgeExtractorTest
149 extractor.setConfig(mConfig); in testAppYesChannelNo()
163 extractor.setConfig(mConfig); in testAppNoChannelYes()
177 extractor.setConfig(mConfig); in testAppYesChannelYes()
191 extractor.setConfig(mConfig); in testAppNoChannelNo()
205 extractor.setConfig(mConfig); in testAppYesChannelYesUserNo()
219 extractor.setConfig(mConfig); in testHideNotifOverridesYes()
233 extractor.setConfig(mConfig); in testHideMediaNotifOverridesYes()
248 extractor.setConfig(mConfig); in testHideMediaNotifDisabledOverridesNo()
263 extractor.setConfig(mConfig); in testHideMediaNotifNoSessionOverridesNo()
[all …]
H A DVisibilityExtractorTest.java62 @Mock RankingConfig mConfig; field in VisibilityExtractorTest
102 extractor.setConfig(mConfig); in testGlobalAllDpmAllChannelAll()
105 when(mConfig.canShowNotificationsOnLockscreen(mUser)).thenReturn(true); in testGlobalAllDpmAllChannelAll()
120 extractor.setConfig(mConfig); in testGlobalNoneDpmAllChannelAll()
138 extractor.setConfig(mConfig); in testGlobalSomeDpmAllChannelAll()
141 when(mConfig.canShowNotificationsOnLockscreen(mUser)).thenReturn(true); in testGlobalSomeDpmAllChannelAll()
156 extractor.setConfig(mConfig); in testGlobalAllDpmNoneChannelAll()
175 extractor.setConfig(mConfig); in testGlobalAllDpmSomeChannelAll()
194 extractor.setConfig(mConfig); in testGlobalAllDpmAllChannelNone()
212 extractor.setConfig(mConfig); in testGlobalAllDpmAllChannelSome()
[all …]
H A DZenModeHelperTest.java581 mZenModeHelperSpy.mConfig.allowCalls = false; in testZenSetInternalRinger_AllPriorityNotificationSoundsMuted()
621 mZenModeHelperSpy.mConfig.allowAlarms = true; in testRingerAffectedStreamsPriorityOnly()
641 mZenModeHelperSpy.mConfig.allowCalls = false; in testRingerAffectedStreamsPriorityOnly()
825 mZenModeHelperSpy.mConfig.allowMedia = false; in testParcelConfig()
828 mZenModeHelperSpy.mConfig.allowCalls = true; in testParcelConfig()
852 mZenModeHelperSpy.mConfig.allowCalls = true; in testWriteXml()
873 + mZenModeHelperSpy.mConfig.diff(expected), expected, mZenModeHelperSpy.mConfig); in testWriteXml()
1056 + mZenModeHelperSpy.mConfig.diff(original), original, mZenModeHelperSpy.mConfig); in testReadXmlRestore_forSystemUser()
1495 mZenModeHelperSpy.mConfig = config; in testCountdownConditionSubscription()
1521 mZenModeHelperSpy.mConfig = config; in testEmptyDefaultRulesMap()
[all …]
/aosp12/frameworks/av/media/codecs/mp3dec/test/
H A DMp3DecoderTest.cpp41 Mp3DecoderTest() : mConfig(nullptr) {} in Mp3DecoderTest()
44 if (mConfig) { in ~Mp3DecoderTest()
45 delete mConfig; in ~Mp3DecoderTest()
46 mConfig = nullptr; in ~Mp3DecoderTest()
53 mConfig->equalizerType = flat; in SetUp()
54 mConfig->crcEnabled = false; in SetUp()
57 tPVMP3DecoderExternal *mConfig; member in Mp3DecoderTest
77 mConfig->inputBufferMaxLength = 0; in DecodeFrames()
78 mConfig->inputBufferUsedLength = 0; in DecodeFrames()
79 mConfig->pInputBuffer = inputBuf; in DecodeFrames()
[all …]
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
H A DPasspointProvider.java87 private final PasspointConfiguration mConfig; field in PasspointProvider
199 return new PasspointConfiguration(mConfig); in getConfig()
246 mConfig.setAutojoinEnabled(autoJoinEnabled); in setAutojoinEnabled()
251 return mConfig.isAutojoinEnabled(); in isAutojoinEnabled()
269 return mConfig.isMacRandomizationEnabled(); in isMacRandomizationEnabled()
519 if (isMeteredNetwork(mConfig)) { in getWifiConfig()
524 int carrierId = mConfig.getCarrierId(); in getWifiConfig()
534 wifiConfig.oemPaid = mConfig.isOemPaid(); in getWifiConfig()
577 if (mConfig.isMacRandomizationEnabled()) { in getWifiConfig()
680 && (mConfig == null ? that.mConfig == null : mConfig.equals(that.mConfig)) in equals()
[all …]
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/
H A DEditorTouchStateTest.java44 private ViewConfiguration mConfig; field in EditorTouchStateTest
49 mConfig = new ViewConfiguration(); in before()
65 mTouchState.update(event1, mConfig); in testUpdate_singleTap()
71 mTouchState.update(event2, mConfig); in testUpdate_singleTap()
77 mTouchState.update(event3, mConfig); in testUpdate_singleTap()
86 mTouchState.update(event1, mConfig); in testUpdate_doubleTap_sameArea()
92 mTouchState.update(event2, mConfig); in testUpdate_doubleTap_sameArea()
98 mTouchState.update(event3, mConfig); in testUpdate_doubleTap_sameArea()
108 mTouchState.update(event1, mConfig); in testUpdate_doubleTap_notSameArea()
114 mTouchState.update(event2, mConfig); in testUpdate_doubleTap_notSameArea()
[all …]
/aosp12/frameworks/base/core/java/android/net/
H A DVpnService.java499 mConfig.session = session; in setSession()
510 mConfig.configureIntent = intent; in setConfigureIntent()
526 mConfig.mtu = mtu; in setMtu()
536 mConfig.proxyInfo = proxyInfo; in setHttpProxy()
693 mConfig.allowIPv4 = true; in allowFamily()
695 mConfig.allowIPv6 = true; in allowFamily()
793 mConfig.allowBypass = true; in allowBypass()
808 mConfig.blocking = blocking; in setBlocking()
845 mConfig.isMetered = isMetered; in setMetered()
894 mConfig.addresses = mAddresses; in establish()
[all …]
H A DIpSecTransform.java92 mConfig = new IpSecConfig(config); in IpSecTransform()
205 return mConfig; in getConfig()
208 private final IpSecConfig mConfig; field in IpSecTransform
246 private IpSecConfig mConfig; field in IpSecTransform.Builder
259 mConfig.setEncryption(algo); in setEncryption()
274 mConfig.setAuthentication(algo); in setAuthentication()
315 mConfig.setEncapType(ENCAP_ESPINUDP); in setIpv4Encapsulation()
320 mConfig.setEncapRemotePort(remotePort); in setIpv4Encapsulation()
356 mConfig.setMode(MODE_TRANSPORT); in buildTransportModeTransform()
395 mConfig.setMode(MODE_TUNNEL); in buildTunnelModeTransform()
[all …]
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/statemanager/
H A DStateManager.java129 && (mConfig.targetState == null || mConfig.targetState == state); in isInStableState()
208 } else if (!mConfig.userControlled && animated && mConfig.targetState == state) { in goToState()
314 config.copyTo(mConfig); in createAnimationToNewWorkspace()
317 return mConfig.playbackController; in createAnimationToNewWorkspace()
379 if (mConfig.currentAnimation != null && mConfig.userControlled) {
402 mConfig.reset();
405 while (mConfig.currentAnimation != null || mConfig.playbackController != null) {
406 mConfig.reset();
413 mConfig.userControlled = true;
457 mConfig.setAnimation(anim, null);
[all …]
/aosp12/frameworks/av/media/libstagefright/codecs/mp3dec/
H A DSoftMP3.cpp45 mConfig(new tPVMP3DecoderExternal), in SoftMP3()
65 delete mConfig; in ~SoftMP3()
66 mConfig = NULL; in ~SoftMP3()
113 mConfig->equalizerType = flat; in initDecoder()
114 mConfig->crcEnabled = false; in initDecoder()
119 pvmp3_InitDecoder(mConfig, mDecoderBuf); in initDecoder()
326 mConfig->pInputBuffer = in onQueueFilled()
331 mConfig->pInputBuffer = NULL; in onQueueFilled()
334 mConfig->inputBufferMaxLength = 0; in onQueueFilled()
335 mConfig->inputBufferUsedLength = 0; in onQueueFilled()
[all …]
/aosp12/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/connectivity/
H A DWifiConfigHelperTest.java37 private WifiConfiguration mConfig; field in WifiConfigHelperTest
46 WifiConfigHelper.setConfigSsid(mConfig, "0000aaaaFFFF"); in testSetConfigSsid()
47 assertThat(isDoubleQuoted(mConfig.SSID)).isTrue(); in testSetConfigSsid()
48 WifiConfigHelper.setConfigSsid(mConfig, "atvtest"); in testSetConfigSsid()
49 assertThat(isDoubleQuoted(mConfig.SSID)).isTrue(); in testSetConfigSsid()
51 assertThat(isDoubleQuoted(mConfig.SSID)).isTrue(); in testSetConfigSsid()
53 assertThat(isDoubleQuoted(mConfig.SSID)).isTrue(); in testSetConfigSsid()
55 assertThat(isDoubleQuoted(mConfig.SSID)).isTrue(); in testSetConfigSsid()
56 WifiConfigHelper.setConfigSsid(mConfig, "\"atv\""); in testSetConfigSsid()
57 assertThat(isDoubleQuoted(mConfig.SSID)).isTrue(); in testSetConfigSsid()
[all …]
/aosp12/frameworks/av/media/codecs/mp3dec/fuzzer/
H A Dmp3_dec_fuzzer.cpp161 tPVMP3DecoderExternal *mConfig = nullptr; member in Codec
166 mConfig = new tPVMP3DecoderExternal{}; in initDecoder()
167 if (!mConfig) { in initDecoder()
176 pvmp3_InitDecoder(mConfig, mDecoderBuf); in initDecoder()
183 mConfig->crcEnabled = data[1] & 0x1; in decodeFrames()
196 mConfig->inputBufferUsedLength = 0; in decodeFrames()
197 mConfig->inputBufferMaxLength = 0; in decodeFrames()
198 mConfig->pInputBuffer = data; in decodeFrames()
199 mConfig->pOutputBuffer = outputBuf; in decodeFrames()
220 delete mConfig; in deInitDecoder()
[all …]
/aosp12/frameworks/av/media/codec2/components/mp3/
H A DC2SoftMp3Dec.cpp101 mConfig(nullptr), in C2SoftMP3()
117 pvmp3_InitDecoder(mConfig, mDecoderBuf); in onStop()
138 if (mConfig) { in onRelease()
139 delete mConfig; in onRelease()
140 mConfig = nullptr; in onRelease()
145 mConfig = new tPVMP3DecoderExternal{}; in initDecoder()
146 if (!mConfig) return NO_MEMORY; in initDecoder()
147 mConfig->equalizerType = flat; in initDecoder()
148 mConfig->crcEnabled = false; in initDecoder()
407 mConfig->inputBufferMaxLength = 0; in process()
[all …]
/aosp12/frameworks/base/core/java/android/security/net/config/
H A DRootTrustManager.java43 private final ApplicationConfig mConfig; field in RootTrustManager
49 mConfig = config; in RootTrustManager()
57 NetworkSecurityConfig config = mConfig.getConfigForHostname(""); in checkClientTrusted()
66 NetworkSecurityConfig config = mConfig.getConfigForHostname(""); in checkClientTrusted()
75 NetworkSecurityConfig config = mConfig.getConfigForHostname(""); in checkClientTrusted()
112 if (mConfig.hasPerDomainConfigs()) { in checkServerTrusted()
117 NetworkSecurityConfig config = mConfig.getConfigForHostname(""); in checkServerTrusted()
129 if (hostname == null && mConfig.hasPerDomainConfigs()) { in checkServerTrusted()
142 NetworkSecurityConfig config = mConfig.getConfigForHostname(""); in getAcceptedIssuers()
153 return mConfig.getConfigForHostname(hostname1) in isSameTrustConfiguration()
[all …]
/aosp12/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/test/
H A DVehiclePropConfigBuilder.java32 private final VehiclePropConfig mConfig; field in VehiclePropConfigBuilder
40 mConfig = new VehiclePropConfig(); in VehiclePropConfigBuilder()
41 mConfig.prop = propId; in VehiclePropConfigBuilder()
73 mConfig.access = access; in setAccess()
79 mConfig.changeMode = changeMode; in setChangeMode()
85 mConfig.configString = configString; in setConfigString()
92 mConfig.configArray.clear(); in setConfigArray()
101 mConfig.areaConfigs.add(area); in addAreaConfig()
111 mConfig.areaConfigs.add(area); in addAreaConfig()
121 mConfig.areaConfigs.add(area); in addAreaConfig()
[all …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DAuthContainerView.java86 final Config mConfig; field in AuthContainerView
134 Config mConfig; field in AuthContainerView.Builder
137 mConfig = new Config(); in Builder()
138 mConfig.mContext = context; in Builder()
142 mConfig.mCallback = callback; in setCallback()
157 mConfig.mUserId = userId; in setUserId()
167 mConfig.mSkipIntro = skip; in setSkipIntro()
282 mConfig = config; in AuthContainerView()
423 mConfig.mCallback.onSystemEvent( in sendEarlyUserCanceled()
512 if (mConfig.mSkipIntro) { in onAttachedToWindowInternal()
[all …]
/aosp12/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
H A DManageDialog.java40 private VpnConfig mConfig; field in ManageDialog
58 mConfig = mVm.getVpnConfig(UserHandle.myUserId()); in onCreate()
61 if (mConfig == null) { in onCreate()
67 if (mConfig.session != null) { in onCreate()
75 if (mConfig.legacy) { in onCreate()
78 mAlertParams.mTitle = VpnConfig.getVpnLabel(this, mConfig.user); in onCreate()
80 if (mConfig.configureIntent != null) { in onCreate()
113 mConfig.configureIntent.send(); in onClick()
116 if (mConfig.legacy) { in onClick()
133 if (mConfig.startTime != -1) { in handleMessage()
[all …]
/aosp12/frameworks/av/media/libeffects/loudness/
H A DEffectLoudnessEnhancer.cpp78 effect_config_t mConfig; member
129 pContext->mConfig = *pConfig; in LE_setConfig()
153 *pConfig = pContext->mConfig; in LE_getConfig()
175 pContext->mConfig.inputCfg.format = kProcessFormat; in LE_init()
176 pContext->mConfig.inputCfg.samplingRate = 44100; in LE_init()
179 pContext->mConfig.inputCfg.bufferProvider.cookie = NULL; in LE_init()
180 pContext->mConfig.inputCfg.mask = EFFECT_CONFIG_ALL; in LE_init()
183 pContext->mConfig.outputCfg.format = kProcessFormat; in LE_init()
184 pContext->mConfig.outputCfg.samplingRate = 44100; in LE_init()
188 pContext->mConfig.outputCfg.mask = EFFECT_CONFIG_ALL; in LE_init()
[all …]
/aosp12/frameworks/base/tests/Internal/src/com/android/internal/protolog/
H A DProtoLogViewerConfigReaderTest.java76 mConfig = new ProtoLogViewerConfigReader(); field in ProtoLogViewerConfigReaderTest
96 assertNull(mConfig.getViewerString(1)); in getViewerString_notLoaded()
101 mConfig.loadViewerConfig(null, mTestViewerConfig.getAbsolutePath()); in loadViewerConfig()
102 assertEquals("Test completed successfully: %b", mConfig.getViewerString(70933285)); in loadViewerConfig()
103 assertEquals("Test 2", mConfig.getViewerString(1352021864)); in loadViewerConfig()
104 assertEquals("Window %s is already added", mConfig.getViewerString(409412266)); in loadViewerConfig()
105 assertNull(mConfig.getViewerString(1)); in loadViewerConfig()
110 mConfig.loadViewerConfig(null, "/tmp/unknown/file/does/not/exist"); in loadViewerConfig_invalidFile()
112 assertNull(mConfig.getViewerString(1)); in loadViewerConfig_invalidFile()
/aosp12/frameworks/base/services/core/java/com/android/server/notification/
H A DZenModeHelper.java178 synchronized (mConfig) { in matchesCallFilter()
193 synchronized (mConfig) { in shouldIntercept()
253 synchronized (mConfig) { in loadConfigForUser()
287 synchronized (mConfig) { in getZenRules()
300 synchronized (mConfig) { in getAutomaticZenRule()
336 synchronized (mConfig) { in addAutomaticZenRule()
358 synchronized (mConfig) { in updateAutomaticZenRule()
388 synchronized (mConfig) { in removeAutomaticZenRule()
417 synchronized (mConfig) { in removeAutomaticZenRules()
432 synchronized (mConfig) { in setAutomaticZenRuleState()
[all …]
/aosp12/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiObject.java72 private final Configurator mConfig = Configurator.getInstance(); field in UiObject
151 AccessibilityNodeInfo node = findAccessibilityNodeInfo(mConfig.getWaitForSelectorTimeout()); in getChildCount()
397 AccessibilityNodeInfo node = findAccessibilityNodeInfo(mConfig.getWaitForSelectorTimeout()); in click()
403 mConfig.getActionAcknowledgmentTimeout()); in click()
437 AccessibilityNodeInfo node = findAccessibilityNodeInfo(mConfig.getWaitForSelectorTimeout()); in clickAndWaitForNewWindow()
443 mConfig.getActionAcknowledgmentTimeout()); in clickAndWaitForNewWindow()
455 AccessibilityNodeInfo node = findAccessibilityNodeInfo(mConfig.getWaitForSelectorTimeout()); in clickTopLeft()
472 AccessibilityNodeInfo node = findAccessibilityNodeInfo(mConfig.getWaitForSelectorTimeout()); in longClickBottomRight()
489 AccessibilityNodeInfo node = findAccessibilityNodeInfo(mConfig.getWaitForSelectorTimeout()); in clickBottomRight()
506 AccessibilityNodeInfo node = findAccessibilityNodeInfo(mConfig.getWaitForSelectorTimeout()); in longClick()
[all …]
/aosp12/packages/modules/Connectivity/framework/src/android/net/
H A DNetworkAgentConfig.java270 mConfig.explicitlySelected = explicitlySelected; in setExplicitlySelected()
309 mConfig.subscriberId = subscriberId; in setSubscriberId()
322 mConfig.skip464xlat = !enabled; in setNat64DetectionEnabled()
335 mConfig.provisioningNotificationDisabled = !enabled; in setProvisioningNotificationEnabled()
347 mConfig.legacyType = legacyType; in setLegacyType()
359 mConfig.legacySubType = legacySubType; in setLegacySubType()
370 mConfig.legacyTypeName = legacyTypeName; in setLegacyTypeName()
381 mConfig.legacySubTypeName = legacySubTypeName; in setLegacySubTypeName()
392 mConfig.mLegacyExtraInfo = legacyExtraInfo; in setLegacyExtraInfo()
405 mConfig.allowBypass = allowBypass; in setBypassableVpn()
[all …]

12345678910