Home
last modified time | relevance | path

Searched refs:newParams (Results 1 – 6 of 6) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyDrawParams.java130 final KeyDrawParams newParams = new KeyDrawParams(this); in mayCloneAndUpdateParams() local
131 newParams.updateParams(keyHeight, attr); in mayCloneAndUpdateParams()
132 return newParams; in mayCloneAndUpdateParams()
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DRouterAdvertisementDaemon.java257 public void buildNewRa(RaParams deprecatedParams, RaParams newParams) { in buildNewRa() argument
264 if (newParams != null) { in buildNewRa()
266 mDeprecatedInfoTracker.removePrefixes(newParams.prefixes); in buildNewRa()
267 mDeprecatedInfoTracker.removeDnses(newParams.dnses); in buildNewRa()
270 mRaParams = newParams; in buildNewRa()
DIpServer.java1052 private void setRaParams(RaParams newParams) { in setRaParams() argument
1055 RaParams.getDeprecatedRaParams(mLastRaParams, newParams); in setRaParams()
1058 (newParams != null) ? newParams.prefixes : null); in setRaParams()
1061 (newParams != null) ? newParams.dnses : null); in setRaParams()
1063 mRaDaemon.buildNewRa(deprecatedParams, newParams); in setRaParams()
1066 mLastRaParams = newParams; in setRaParams()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiConfiguration.java662 public void addSecurityParams(@NonNull SecurityParams newParams) { in addSecurityParams() argument
663 if (mSecurityParamsList.stream().anyMatch(params -> params.isSameSecurityType(newParams))) { in addSecurityParams()
664 throw new IllegalArgumentException("duplicate security params " + newParams); in addSecurityParams()
667 if (newParams.isEnterpriseSecurityType() && !isEnterprise()) { in addSecurityParams()
671 if (!newParams.isEnterpriseSecurityType() && isEnterprise()) { in addSecurityParams()
675 if (newParams.isOpenSecurityType() && !isOpenNetwork()) { in addSecurityParams()
679 if (!newParams.isOpenSecurityType() && isOpenNetwork()) { in addSecurityParams()
683 if (newParams.isSecurityType(SECURITY_TYPE_OSEN)) { in addSecurityParams()
688 mSecurityParamsList.add(new SecurityParams(newParams)); in addSecurityParams()
/packages/modules/Connectivity/Tethering/tests/privileged/src/android/net/ip/
DRouterAdvertisementDaemonTest.java154 TestRaPacket(final RaParams oldParams, final RaParams newParams) { in TestRaPacket() argument
156 mNewParams = newParams; in TestRaPacket()
/packages/apps/Nfc/src/com/android/nfc/
DNfcService.java2176 NfcDiscoveryParameters newParams = computeDiscoveryParameters(mScreenState); in applyRouting() local
2177 if (force || !newParams.equals(mCurrentDiscoveryParameters)) { in applyRouting()
2178 if (newParams.shouldEnableDiscovery()) { in applyRouting()
2180 mDeviceHost.enableDiscovery(newParams, shouldRestart); in applyRouting()
2184 mCurrentDiscoveryParameters = newParams; in applyRouting()