Searched refs:attr1 (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/netlink/ |
D | StructNlAttrTest.java | 43 final StructNlAttr attr1 = new StructNlAttr(IFLA_ADDRESS, TEST_MAC_ADDRESS); in testGetValueAsMacAddress() local 44 final MacAddress address1 = attr1.getValueAsMacAddress(); in testGetValueAsMacAddress() 59 final StructNlAttr attr1 = new StructNlAttr(IFLA_IFNAME, TEST_INTERFACE_NAME); in testGetValueAsString() local 60 final String str1 = attr1.getValueAsString(); in testGetValueAsString() 73 final StructNlAttr attr1 = new StructNlAttr(IFA_FLAGS, TEST_ADDR_FLAGS); in testGetValueAsInteger() local 74 final Integer integer1 = attr1.getValueAsInteger(); in testGetValueAsInteger() 75 final int int1 = attr1.getValueAsInt(0x08 /* default value */); in testGetValueAsInteger()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/ |
D | TelephonyDomainSelectionServiceTest.java | 204 SelectionAttributes attr1 = new SelectionAttributes.Builder( in testOnDomainSelection() local 209 mDomainSelectionService.onDomainSelection(attr1, mSelectorCallback1); in testOnDomainSelection() 215 verify(mDomainSelectorBase1).selectDomain(eq(attr1), eq(mSelectorCallback1)); in testOnDomainSelection() 221 SelectionAttributes attr1 = new SelectionAttributes.Builder( in testOnDomainSelectionWithInvalidSelectorType() local 226 mDomainSelectionService.onDomainSelection(attr1, mSelectorCallback1); in testOnDomainSelectionWithInvalidSelectorType() 232 verify(mDomainSelectorBase1, never()).selectDomain(eq(attr1), eq(mSelectorCallback1)); in testOnDomainSelectionWithInvalidSelectorType() 238 SelectionAttributes attr1 = new SelectionAttributes.Builder( in testOnDomainSelectionTwiceWithDestroy() local 243 mDomainSelectionService.onDomainSelection(attr1, mSelectorCallback1); in testOnDomainSelectionTwiceWithDestroy() 249 verify(mDomainSelectorBase1).selectDomain(eq(attr1), eq(mSelectorCallback1)); in testOnDomainSelectionTwiceWithDestroy() 271 SelectionAttributes attr1 = new SelectionAttributes.Builder( in testOnDomainSelectionTwiceWithoutDestroy() local [all …]
|
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/ |
D | SipSessionTrackerTest.java | 397 DialogAttributes attr1 = new DialogAttributes(); in testMultipleDialogs() local 398 createConfirmedDialog(attr1); in testMultipleDialogs() 400 verifyContainsCallIds(mTrackerUT.getConfirmedDialogs(), attr1); in testMultipleDialogs() local 405 verifyContainsCallIds(mTrackerUT.getConfirmedDialogs(), attr1, attr2); in testMultipleDialogs() local 407 SipMessage byeRequest = generateSipRequest(SipMessageUtils.BYE_SIP_METHOD, attr1); in testMultipleDialogs() 408 filterMessage(byeRequest, attr1); in testMultipleDialogs() 411 verifyContainsCallIds(mTrackerUT.getClosedDialogs(), attr1); in testMultipleDialogs() local 412 mTrackerUT.cleanupSession(attr1.callId); in testMultipleDialogs() 466 DialogAttributes attr1 = new DialogAttributes(); in testActiveDialogsChanged() local 467 createConfirmedDialog(attr1); in testActiveDialogsChanged() [all …]
|
/packages/modules/NetworkStack/src/com/android/networkstack/ipmemorystore/ |
D | IpMemoryStoreService.java | 312 final NetworkAttributes attr1 = in isSameNetwork() local 316 if (null == attr1 || null == attr2) { in isSameNetwork() 322 final float confidence = attr1.getNetworkGroupSamenessConfidence(attr2); in isSameNetwork()
|