/packages/services/Car/service/src/com/android/car/hal/ |
D | AidlHalPropConfig.java | 34 private final VehiclePropConfig mConfig; field in AidlHalPropConfig 38 mConfig = config; in AidlHalPropConfig() 41 if (mConfig.areaConfigs == null) { in AidlHalPropConfig() 42 mConfig.areaConfigs = sEmptyAreaConfig; in AidlHalPropConfig() 44 if (mConfig.configString == null) { in AidlHalPropConfig() 45 mConfig.configString = ""; in AidlHalPropConfig() 47 if (mConfig.configArray == null) { in AidlHalPropConfig() 48 mConfig.configArray = EMPTY_INT_ARRAY; in AidlHalPropConfig() 51 int size = mConfig.areaConfigs.length; in AidlHalPropConfig() 54 if (mConfig.areaConfigs[i].access == VehiclePropertyAccess.NONE) { in AidlHalPropConfig() [all …]
|
D | HidlHalPropConfig.java | 33 private final VehiclePropConfig mConfig; field in HidlHalPropConfig 36 mConfig = config; in HidlHalPropConfig() 39 if (mConfig.areaConfigs == null) { in HidlHalPropConfig() 40 mConfig.areaConfigs = new ArrayList<VehicleAreaConfig>(); in HidlHalPropConfig() 42 if (mConfig.configString == null) { in HidlHalPropConfig() 43 mConfig.configString = ""; in HidlHalPropConfig() 52 return mConfig.prop; in getPropId() 60 return mConfig.access; in getAccess() 68 return mConfig.changeMode; in getChangeMode() 76 int size = mConfig.areaConfigs.size(); in getAreaConfigs() [all …]
|
D | AidlHalAreaConfig.java | 25 private final VehicleAreaConfig mConfig; field in AidlHalAreaConfig 28 mConfig = config; in AidlHalAreaConfig() 36 return mConfig.access; in getAccess() 44 return mConfig.areaId; in getAreaId() 52 return mConfig.minInt32Value; in getMinInt32Value() 60 return mConfig.maxInt32Value; in getMaxInt32Value() 68 return mConfig.minInt64Value; in getMinInt64Value() 76 return mConfig.maxInt64Value; in getMaxInt64Value() 84 return mConfig.minFloatValue; in getMinFloatValue() 92 return mConfig.maxFloatValue; in getMaxFloatValue() [all …]
|
D | HidlHalAreaConfig.java | 27 private final VehicleAreaConfig mConfig; field in HidlHalAreaConfig 31 mConfig = config; in HidlHalAreaConfig() 48 return mConfig.areaId; in getAreaId() 56 return mConfig.minInt32Value; in getMinInt32Value() 64 return mConfig.maxInt32Value; in getMaxInt32Value() 72 return mConfig.minInt64Value; in getMinInt64Value() 80 return mConfig.maxInt64Value; in getMaxInt64Value() 88 return mConfig.minFloatValue; in getMinFloatValue() 96 return mConfig.maxFloatValue; in getMaxFloatValue()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointProvider.java | 91 private final PasspointConfiguration mConfig; field in PasspointProvider 159 mConfig = new PasspointConfiguration(config); in PasspointProvider() 176 if (mConfig.getCredential().getUserCredential() != null) { in PasspointProvider() 179 mConfig.getCredential().getUserCredential().getNonEapInnerMethod())); in PasspointProvider() 181 } else if (mConfig.getCredential().getCertCredential() != null) { in PasspointProvider() 186 mEAPMethodID = mConfig.getCredential().getSimCredential().getEapType(); in PasspointProvider() 189 mConfig.getCredential().getSimCredential().getImsi()); in PasspointProvider() 244 return new PasspointConfiguration(mConfig); in getConfig() 290 boolean changed = mConfig.isAutojoinEnabled() != autoJoinEnabled; in setAutojoinEnabled() 291 mConfig.setAutojoinEnabled(autoJoinEnabled); in setAutojoinEnabled() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/statemanager/ |
D | StateManager.java | 61 private final AnimationState mConfig = new AnimationState(); field in StateManager 91 return (STATE_TYPE) mConfig.targetState; in getTargetState() 146 && (mConfig.targetState == null || mConfig.targetState == state); in isInStableState() 153 return mConfig.currentAnimation != null; in isInTransition() 207 boolean wasInAnimation = mConfig.currentAnimation != null; in reapplyState() 208 if (cancelCurrentAnimation && (mConfig.animProps & HANDLE_STATE_APPLY) == 0) { in reapplyState() 213 if (mState.shouldPreserveDataStateOnReapply() && mConfig.currentAnimation != null) { in reapplyState() 214 mConfig.currentAnimation.end(); in reapplyState() 219 if (mConfig.currentAnimation == null) { in reapplyState() 253 if (mConfig.currentAnimation == null) { in goToState() [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/ |
D | WifiTetherSecurityPreferenceControllerTest.java | 71 private SoftApConfiguration mConfig; field in WifiTetherSecurityPreferenceControllerTest 85 when(mCarWifiManager.getSoftApConfig()).thenReturn(mConfig); in setup() 87 /* preferenceKey= */ "key", mFragmentController, mCarUxRestrictions, mConfig, in setup() 94 when(mConfig.getSecurityType()).thenReturn(SoftApConfiguration.SECURITY_TYPE_OPEN); in onStart_securityTypeSetToNone_setsValueToNone() 95 when(mConfig.getPassphrase()).thenReturn(null); in onStart_securityTypeSetToNone_setsValueToNone() 96 mController.setTestConfig(mConfig); in onStart_securityTypeSetToNone_setsValueToNone() 106 when(mConfig.getSecurityType()).thenReturn(SoftApConfiguration.SECURITY_TYPE_WPA2_PSK); in onStart_securityTypeSetToWPA2PSK_setsValueToWPA2PSK() 107 when(mConfig.getPassphrase()).thenReturn(testPassword); in onStart_securityTypeSetToWPA2PSK_setsValueToWPA2PSK() 108 mController.setTestConfig(mConfig); in onStart_securityTypeSetToWPA2PSK_setsValueToWPA2PSK() 118 when(mConfig.getSecurityType()).thenReturn(SoftApConfiguration.SECURITY_TYPE_WPA3_SAE); in onStart_securityTypeSetToWPA3SAE_setsValueForSupportedDevicesToWPA3SAE() [all …]
|
/packages/services/Car/libs/vehicle-hal-support-lib/src/com/android/car/hal/test/ |
D | AidlVehiclePropConfigBuilder.java | 32 private final VehiclePropConfig mConfig; field in AidlVehiclePropConfigBuilder 35 mConfig = clone(propConfig); in AidlVehiclePropConfigBuilder() 39 mConfig = new VehiclePropConfig(); in AidlVehiclePropConfigBuilder() 40 mConfig.prop = propId; in AidlVehiclePropConfigBuilder() 41 mConfig.access = VehiclePropertyAccess.READ_WRITE; in AidlVehiclePropConfigBuilder() 42 mConfig.changeMode = VehiclePropertyChangeMode.ON_CHANGE; in AidlVehiclePropConfigBuilder() 43 mConfig.configArray = new int[0]; in AidlVehiclePropConfigBuilder() 44 mConfig.areaConfigs = new VehicleAreaConfig[0]; in AidlVehiclePropConfigBuilder() 63 int oldLength = mConfig.areaConfigs.length; in addAreaConfig() 64 VehicleAreaConfig[] newConfigs = duplicateAreaConfig(mConfig.areaConfigs, oldLength + 1); in addAreaConfig() [all …]
|
D | HidlVehiclePropConfigBuilder.java | 32 private final VehiclePropConfig mConfig; field in HidlVehiclePropConfigBuilder 40 mConfig = new VehiclePropConfig(); in HidlVehiclePropConfigBuilder() 41 mConfig.prop = propId; in HidlVehiclePropConfigBuilder() 42 mConfig.access = VehiclePropertyAccess.READ_WRITE; in HidlVehiclePropConfigBuilder() 43 mConfig.changeMode = VehiclePropertyChangeMode.ON_CHANGE; in HidlVehiclePropConfigBuilder() 73 mConfig.access = access; in setAccess() 79 mConfig.changeMode = changeMode; in setChangeMode() 85 mConfig.configString = configString; in setConfigString() 92 mConfig.configArray.clear(); in setConfigArray() 93 mConfig.configArray.addAll(configArray); in setConfigArray() [all …]
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/text/ |
D | TextStreamGraphRtpTx.cpp | 44 if (mConfig != nullptr) in create() 46 delete mConfig; in create() 47 mConfig = nullptr; in create() 50 mConfig = new TextConfig(pConfig); in create() 59 pNodeSource->SetConfig(mConfig); in create() 64 pNodeRtpPayloadEncoder->SetConfig(mConfig); in create() 70 pNodeRtpEncoder->SetConfig(mConfig); in create() 99 if (*mConfig == *pConfig) in update() 105 if (mConfig != nullptr) in update() 107 delete mConfig; in update() [all …]
|
D | TextStreamGraphRtpRx.cpp | 42 mConfig = new TextConfig(reinterpret_cast<TextConfig*>(config)); in create() 59 nodeRtpDecoder->SetConfig(mConfig); in create() 66 rtpPayloadDecoder->SetConfig(mConfig); in create() 74 renderer->SetConfig(mConfig); in create() 93 if (*mConfig == *pConfig) in update() 99 if (mConfig != nullptr) in update() 101 delete mConfig; in update() 102 mConfig = nullptr; in update() 105 mConfig = new TextConfig(pConfig); in update() 107 if (mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_NO_FLOW || in update() [all …]
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/ |
D | VideoStreamGraphRtpTx.cpp | 51 if (mConfig != nullptr) in create() 53 delete mConfig; in create() 54 mConfig = nullptr; in create() 57 mConfig = new VideoConfig(pConfig); in create() 66 pNodeSource->SetConfig(mConfig); in create() 71 pNodeRtpPayloadEncoder->SetConfig(mConfig); in create() 77 pNodeRtpEncoder->SetConfig(mConfig); in create() 107 if (*reinterpret_cast<VideoConfig*>(mConfig) == *pConfig) in update() 118 if (mConfig != nullptr) in update() 120 delete mConfig; in update() [all …]
|
D | VideoStreamGraphRtpRx.cpp | 43 mConfig = new VideoConfig(reinterpret_cast<VideoConfig*>(config)); in create() 60 nodeRtpDecoder->SetConfig(mConfig); in create() 67 rtpPayloadDecoder->SetConfig(mConfig); in create() 75 renderer->SetConfig(mConfig); in create() 94 if (*reinterpret_cast<VideoConfig*>(mConfig) == *pConfig) in update() 105 if (mConfig != nullptr) in update() 107 delete mConfig; in update() 108 mConfig = nullptr; in update() 111 mConfig = new VideoConfig(pConfig); in update() 113 if (mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_NO_FLOW || in update() [all …]
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/connectivity/ |
D | WifiConfigHelperTest.java | 37 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() 50 WifiConfigHelper.setConfigSsid(mConfig, "0000aaaaFFFF1"); in testSetConfigSsid() 51 assertThat(isDoubleQuoted(mConfig.SSID)).isTrue(); in testSetConfigSsid() 52 WifiConfigHelper.setConfigSsid(mConfig, "1234abcdEFFF"); in testSetConfigSsid() 53 assertThat(isDoubleQuoted(mConfig.SSID)).isTrue(); in testSetConfigSsid() 54 WifiConfigHelper.setConfigSsid(mConfig, "1234abcdEFFG"); in testSetConfigSsid() [all …]
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/ |
D | AudioStreamGraphRtpTx.cpp | 44 mConfig = new AudioConfig(reinterpret_cast<AudioConfig*>(config)); in create() 48 pNodeSource->SetConfig(mConfig); in create() 53 pNodeRtpPayloadEncoder->SetConfig(mConfig); in create() 63 pNodeRtpEncoder->SetConfig(mConfig); in create() 78 if (!createDtmfGraph(mConfig, pNodeRtpEncoder)) in create() 97 if (*reinterpret_cast<AudioConfig*>(mConfig) == *pConfig) in update() 103 if (mConfig != nullptr) in update() 105 delete mConfig; in update() 108 mConfig = new AudioConfig(pConfig); in update() 110 if (mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_NO_FLOW || in update() [all …]
|
D | AudioStreamGraphRtpRx.cpp | 42 mConfig = new AudioConfig(reinterpret_cast<AudioConfig*>(config)); in create() 59 pNodeRtpDecoder->SetConfig(mConfig); in create() 66 pNodeRtpPayloadDecoder->SetConfig(mConfig); in create() 72 pNodeRenderer->SetConfig(mConfig); in create() 90 if (*mConfig == *pConfig) in update() 96 if (mConfig != nullptr) in update() 98 delete mConfig; in update() 101 mConfig = new AudioConfig(pConfig); in update() 103 if (mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_NO_FLOW || in update() 104 mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_SEND_ONLY || in update() [all …]
|
/packages/modules/NetworkStack/tests/unit/src/android/net/shared/ |
D | ProvisioningConfigurationTest.java | 68 private ProvisioningConfiguration mConfig; field in ProvisioningConfigurationTest 157 mConfig = makeTestProvisioningConfiguration(); in setUp() 169 mConfig.mInitialConfig = null; in testParcelUnparcel_NullInitialConfiguration() 175 mConfig.mStaticIpConfig = null; in testParcelUnparcel_NullStaticConfiguration() 181 mConfig.mApfCapabilities = null; in testParcelUnparcel_NullApfCapabilities() 187 mConfig.mNetwork = null; in testParcelUnparcel_NullNetwork() 193 mConfig.mScanResultInfo = null; in testParcelUnparcel_NullScanResultInfo() 199 mConfig.mDhcpOptions = null; in testParcelUnparcel_NullCustomizedDhcpOptions() 205 mConfig.mEnablePreconnection = true; in testParcelUnparcel_WithPreDhcpConnection() 211 mConfig.mIPv4ProvisioningMode = PROV_IPV4_DISABLED; in testParcelUnparcel_DisabledIpProvisioningMode() [all …]
|
D | InitialConfigurationTest.java | 46 private InitialConfiguration mConfig; field in InitialConfigurationTest 51 mConfig = new InitialConfiguration(); in setUp() 52 mConfig.ipAddresses.addAll(Arrays.asList( in setUp() 55 mConfig.directlyConnectedRoutes.addAll(Arrays.asList( in setUp() 58 mConfig.dnsServers.addAll(Arrays.asList( in setUp() 68 InitialConfiguration.fromStableParcelable(mConfig.toStableParcelable()); in testParcelUnparcelInitialConfiguration() 69 assertEquals(mConfig, unparceled); in testParcelUnparcelInitialConfiguration() 75 assertEquals(mConfig, InitialConfiguration.copy(mConfig)); in testEquals() 86 final InitialConfiguration newConfig = InitialConfiguration.copy(mConfig); in assertNotEqualsAfterChange() 88 assertNotEquals(mConfig, newConfig); in assertNotEqualsAfterChange()
|
/packages/modules/Connectivity/framework-t/src/android/net/ |
D | IpSecTransform.java | 95 mConfig = new IpSecConfig(config); in IpSecTransform() 130 mConfig, new Binder(), mContext.getOpPackageName()); in activate() 198 return mConfig; in getConfig() 201 private final IpSecConfig mConfig; field in IpSecTransform 281 private IpSecConfig mConfig; field in IpSecTransform.Builder 294 mConfig.setEncryption(algo); in setEncryption() 309 mConfig.setAuthentication(algo); in setAuthentication() 329 mConfig.setAuthenticatedEncryption(algo); in setAuthenticatedEncryption() 350 mConfig.setEncapType(ENCAP_ESPINUDP); in setIpv4Encapsulation() 354 mConfig.setEncapSocketResourceId(localSocket.getResourceId()); in setIpv4Encapsulation() [all …]
|
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/text/nodes/ |
D | TextSourceNodeTest.cpp | 101 TextConfig mConfig; member in TextSourceNodeTest 115 mConfig.setMediaDirection(kMediaDirection); in SetUp() 116 mConfig.setRemoteAddress(kRemoteAddress); in SetUp() 117 mConfig.setRemotePort(kRemotePort); in SetUp() 118 mConfig.setRtcpConfig(mRtcp); in SetUp() 119 mConfig.setDscp(kDscp); in SetUp() 120 mConfig.setRxPayloadTypeNumber(kRxPayload); in SetUp() 121 mConfig.setTxPayloadTypeNumber(kTxPayload); in SetUp() 122 mConfig.setSamplingRateKHz(kSamplingRate); in SetUp() 123 mConfig.setCodecType(kCodecType); in SetUp() [all …]
|
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/ |
D | AccessNetworkSelectionPolicyBuilderTest.java | 57 @Mock private QnsCarrierConfigManager mConfig; field in AccessNetworkSelectionPolicyBuilderTest 221 mConfig, NetworkCapabilities.NET_CAPABILITY_IMS); in setUp() 226 when(mConfig.getThresholdByPref(anyInt(), anyInt(), anyInt(), anyInt())) in stubConfigManager() 234 when(mConfig.getThresholdGapWithGuardTimer(anyInt(), anyInt())).thenReturn(5); in stubConfigManager() 248 doReturn(null).when(mConfig).getPolicy(anyInt(), any()); in test_PolicyMap_Default() 249 doReturn(false).when(mConfig).isTransportTypeSelWithoutSSInRoamSupported(); in test_PolicyMap_Default() 250 doReturn(false).when(mConfig).isCurrentTransportTypeInVoiceCallSupported(); in test_PolicyMap_Default() 251 doReturn(false).when(mConfig).isChooseWfcPreferredTransportInBothBadCondition(anyInt()); in test_PolicyMap_Default() 293 doReturn(null).when(mConfig).getPolicy(anyInt(), any()); in test_PolicyMap_isTransportTypeSelWithoutSSInRoamSupported() 294 doReturn(true).when(mConfig).isTransportTypeSelWithoutSSInRoamSupported(); in test_PolicyMap_isTransportTypeSelWithoutSSInRoamSupported() [all …]
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/video/ |
D | VideoStreamGraph.h | 29 mConfig(nullptr) in BaseStreamGraph() 35 if (mConfig != nullptr) in ~VideoStreamGraph() 37 delete mConfig; in ~VideoStreamGraph() local 38 mConfig = nullptr; in ~VideoStreamGraph() 44 if (config == nullptr || mConfig == nullptr) in isSameGraph() 49 return (mConfig->getRemoteAddress() == config->getRemoteAddress() && in isSameGraph() 50 mConfig->getRemotePort() == config->getRemotePort()); in isSameGraph() 54 VideoConfig* mConfig;
|
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/ |
D | MediaQualityAnalyzerTest.cpp | 139 AudioConfig mConfig; member in MediaQualityAnalyzerTest 172 mConfig.setMediaDirection(kMediaDirection); in SetUp() 173 mConfig.setRemoteAddress(kRemoteAddress); in SetUp() 174 mConfig.setRemotePort(kRemotePort); in SetUp() 175 mConfig.setRtcpConfig(mRtcpConfig); in SetUp() 176 mConfig.setDscp(kDscp); in SetUp() 177 mConfig.setRxPayloadTypeNumber(kRxPayload); in SetUp() 178 mConfig.setTxPayloadTypeNumber(kTxPayload); in SetUp() 179 mConfig.setSamplingRateKHz(kSamplingRate); in SetUp() 180 mConfig.setAnbrMode(anbr); in SetUp() [all …]
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/text/ |
D | TextStreamGraph.h | 29 mConfig(nullptr) in BaseStreamGraph() 34 if (mConfig != nullptr) in ~TextStreamGraph() 36 delete mConfig; in ~TextStreamGraph() local 37 mConfig = nullptr; in ~TextStreamGraph() 43 if (config == nullptr || mConfig == nullptr) in isSameGraph() 48 return (mConfig->getRemoteAddress() == config->getRemoteAddress() && in isSameGraph() 49 mConfig->getRemotePort() == config->getRemotePort()); in isSameGraph() 56 TextConfig* mConfig; variable
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/nodes/ |
D | IAudioPlayerNode.cpp | 37 mConfig = nullptr; in IAudioPlayerNode() 45 if (mConfig != nullptr) in ~IAudioPlayerNode() 47 delete mConfig; in ~IAudioPlayerNode() 136 if (mConfig != nullptr) in SetConfig() 138 delete mConfig; in SetConfig() 139 mConfig = nullptr; in SetConfig() 142 mConfig = new AudioConfig(*static_cast<AudioConfig*>(config)); in SetConfig() 143 mCodecType = ImsMediaAudioUtil::ConvertCodecType(mConfig->getCodecType()); in SetConfig() 147 mMode = mConfig->getAmrParams().getAmrMode(); in SetConfig() 148 mIsOctetAligned = mConfig->getAmrParams().getOctetAligned(); in SetConfig() [all …]
|