Home
last modified time | relevance | path

Searched refs:isValidated (Results 1 – 20 of 20) sorted by relevance

/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/validator/
DOutgoingTransportStateValidatorTest.java67 assertFalse(result.isValidated); in testVerifyMessageInOpenCloseState()
74 assertTrue(result.isValidated); in testVerifyMessageInOpenCloseState()
78 assertFalse(result.isValidated); in testVerifyMessageInOpenCloseState()
108 assertTrue(result.isValidated); in testVerifyMessageRestricted()
112 assertTrue(result.isValidated); in testVerifyMessageRestricted()
114 assertTrue(result.isValidated); in testVerifyMessageRestricted()
118 assertFalse(result.isValidated); in testVerifyMessageRestricted()
122 assertFalse(result.isValidated); in testVerifyMessageRestricted()
133 assertFalse(result.isValidated); in testDeniedFeatureTag()
141 assertFalse(result.isValidated); in testDeniedFeatureTag()
[all …]
DRestrictedOutgoingSipRequestValidatorTest.java47 assertFalse(result.isValidated); in testRegisterNotAllowed()
65 assertFalse(result.isValidated); in testPublishNotAllowed()
84 assertFalse(result.isValidated); in testOptionsNotAllowed()
105 assertTrue(result.isValidated); in testInviteAllowed()
124 assertTrue(result.isValidated); in testResponseAllowed()
DRestrictedOutgoingSubscribeValidatorTest.java50 assertTrue(result.isValidated); in testValidUnrelatedRequest()
69 assertTrue(result.isValidated); in testValidUnrelatedResponse()
86 assertTrue(result.isValidated); in testValidSubscribeRequest()
103 assertFalse(result.isValidated); in testInvalidSubscribeRequest()
DIncomingTransportStateValidatorTest.java50 assertFalse(result.isValidated); in testVerifyMessageAndUpdateState()
56 assertTrue(result.isValidated); in testVerifyMessageAndUpdateState()
60 assertFalse(result.isValidated); in testVerifyMessageAndUpdateState()
DMalformedSipMessageValidatorTest.java50 assertTrue(result.isValidated); in testValidRequest()
68 assertFalse(result.isValidated); in testInvalidRequest()
89 assertFalse(result.isValidated); in testInvalidResponse()
/packages/services/Telephony/src/com/android/services/telephony/rcs/validator/
DValidationResult.java35 public final boolean isValidated; field in ValidationResult
52 isValidated = true; in ValidationResult()
64 isValidated = false; in ValidationResult()
74 b.append(isValidated); in toString()
75 if (!isValidated) { in toString()
DSipMessageValidator.java43 if (!result.isValidated) return result; in andThen()
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/
DTransportSipMessageValidatorTest.java143 "testId1"), TEST_CONFIG_VERSION).isValidated); in testMetricsResponse()
149 "testId2"), TEST_CONFIG_VERSION).isValidated); in testMetricsResponse()
156 .isValidated); in testMetricsResponse()
184 assertFalse(tracker.verifyIncomingMessage(TEST_MESSAGE).isValidated); in testSessionTrackerFiltering()
185 assertFalse(tracker.verifyOutgoingMessage(TEST_MESSAGE, TEST_CONFIG_VERSION).isValidated); in testSessionTrackerFiltering()
500 return tracker.verifyIncomingMessage(TEST_MESSAGE).isValidated; in isIncomingTransportOpen()
504 return tracker.verifyOutgoingMessage(TEST_MESSAGE, TEST_CONFIG_VERSION).isValidated; in isOutgoingTransportOpen()
509 assertFalse(result.isValidated); in verifyOutgoingTransportClosed()
/packages/modules/NetworkStack/src/com/android/networkstack/
DNetworkStackNotifier.java80 private boolean isValidated() { in isValidated() method in NetworkStackNotifier.TrackedNetworkStatus
206 && networkStatus.isValidated() in updateNotifications()
213 networkStatus.mValidatedNotificationPending && networkStatus.isValidated() in updateNotifications()
/packages/services/Telephony/src/com/android/services/telephony/rcs/
DMessageTransportWrapper.java131 if (!result.isValidated) {
187 if (!result.isValidated) {
453 } else if (result.isValidated) { in maybeOverrideValidationForTesting()
DTransportSipMessageValidator.java376 if (result.isValidated) { in verifyOutgoingMessage()
393 if (result.isValidated) { in verifyIncomingMessage()
562 if (result.isValidated) { in updateForMetrics()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DFullScore.java264 final boolean isValidated, in withPolicies() argument
276 | (isValidated ? 1L << POLICY_IS_VALIDATED : 0) in withPolicies()
DLingerMonitor.java288 if (fromNai.isValidated()) return; in noteLingerDefaultNetwork()
DNetworkAgentInfo.java291 public boolean isValidated() { in isValidated() method in NetworkAgentInfo
1621 + (isValidated() ? " lastValidated " + getCurrentValidationTime() : "")
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DIpConnectivityMetricsTest.java140 final boolean validated = (nai != null) ? nai.isValidated() : false; in logDefaultNetworkEvent()
617 doReturn(true).when(nai).isValidated(); in makeNai()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DMultiInternetManager.java121 public boolean isValidated() { in isValidated() method in MultiInternetManager.NetworkConnectionState
680 + " validated " + mNetworkConnectionStates.valueAt(i).isValidated()); in dump()
DWifiMetrics.java976 result.isValidated = mValidated; in toProto()
1102 sb.append(" isValidated=").append(wifiStatus.isValidated); in toString()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DMultiInternetManagerTest.java332 .get(ScanResult.WIFI_BAND_5_GHZ).isValidated()); in testOnInternetValidatedSecondaryCmmConnection()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java4866 final boolean wasValidated = nai.isValidated();
4945 if (wasValidated && !nai.isValidated()) {
6178 if (nai.isValidated()) {
6210 if (nai == null || nai.isValidated()) {
6938 if (hasConnectivity == nai.isValidated()) {
9548 if (nai.isValidated()) {
10995 mDefaultInetConditionPublished = newDefaultNetwork.isValidated() ? 100 : 0;
11147 int newInetCondition = nai.isValidated() ? 100 : 0;
11899 reportNetworkConnectivity(nai.network, !nai.isValidated());
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java263 EvaluationResult(boolean isValidated) { in EvaluationResult() argument
264 this.mIsValidated = isValidated; in EvaluationResult()