Home
last modified time | relevance | path

Searched refs:getScope (Results 1 – 25 of 32) sorted by relevance

12

/packages/modules/Connectivity/tests/common/java/android/net/
DLinkAddressTest.java96 assertEquals(RT_SCOPE_UNIVERSE, address.getScope()); in testConstructors()
103 assertEquals(RT_SCOPE_UNIVERSE, address.getScope()); in testConstructors()
111 assertEquals(RT_SCOPE_LINK, address.getScope()); in testConstructors()
118 assertEquals(456, address.getScope()); in testConstructors()
125 assertEquals(2, address.getScope()); in testConstructors()
132 assertEquals(4, address.getScope()); in testConstructors()
217 assertEquals(RT_SCOPE_HOST, new LinkAddress("::/128").getScope()); in testAddressScopes()
218 assertEquals(RT_SCOPE_HOST, new LinkAddress("0.0.0.0/32").getScope()); in testAddressScopes()
220 assertEquals(RT_SCOPE_LINK, new LinkAddress("::1/128").getScope()); in testAddressScopes()
221 assertEquals(RT_SCOPE_LINK, new LinkAddress("127.0.0.5/8").getScope()); in testAddressScopes()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachine.java384 int scope = node.getScope(); in notifyChanged()
756 mNativeInterface.playItem(mDeviceAddress, node.getScope(), node.getBluetoothID(), 0); in processPlayItem()
861 int scope = mBrowseNode.getScope(); in enter()
1015 if (shouldAbort(mBrowseNode.getScope(), requested.getScope())) { in processMessage()
1066 + target.getScope() in fetchContents()
1074 switch (target.getScope()) { in fetchContents()
1085 error("GetFolderList: Scope " + target.getScope() + " cannot be handled here."); in fetchContents()
DBluetoothMediaBrowserService.java285 if (node.getScope() == AvrcpControllerService.BROWSE_SCOPE_NOW_PLAYING) { in notifyChanged()
DBrowseTree.java328 synchronized byte getScope() { in getScope() method in BrowseTree.BrowseNode
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/appsetid/
DAppSetIdTest.java39 expect.that(appSetId1.getScope()).isEqualTo(SCOPE_APP); in testAppSetId()
/packages/modules/AdServices/adservices/framework/java/android/adservices/appsetid/
DAppSetId.java73 public @AppSetIdScope int getScope() { in getScope() method in AppSetId
DAppSetIdProviderService.java69 .setAppSetIdScope(appsetId.getScope())
/packages/modules/AdServices/adservices/tests/jetpack/src/com/android/adservices/appsetid/
DAppSetIdManagerJetpackTest.java68 assertThat(appSetId.getScope()).isNotNull(); in testAppSetId()
/packages/modules/AdServices/adservices/samples/appsetid/java/com/example/adservices/samples/appsetid/app/
DMainActivity.java98 return "AppSetId: " + appSetId.getId() + "\n" + "AppSetId Scope: " + appSetId.getScope(); in getAppSetIdDisplayString()
/packages/modules/AdServices/adservices/tests/cts/appsetid/src/com/android/adservices/tests/appsetid/
DAppSetIdProviderTest.java88 expect.that(resultAppSetId.getScope()).isEqualTo(DEFAULT_SCOPE); in testAppSetIdProvider()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DAttribution.java117 public int getScope() { in getScope() method in Attribution
/packages/services/Car/tests/BugReportApp/libs/
Dgoogle-api-client-android-1.30.2.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
Dgoogle-oauth-client-1.30.1.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DAttributionTest.java191 createExampleAttributionBuilder().build().getScope()); in getters()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DBrowseNodeTest.java112 assertThat(browseNode.getScope()) in addChild_withImageUuid_toNowPlayingNode()
/packages/modules/Connectivity/framework/src/android/net/
DLinkAddress.java445 public int getScope() { in getScope() method in LinkAddress
/packages/modules/Connectivity/Tethering/tests/integration/src/android/net/
DEthernetTetheringTest.java440 assertEquals("LinkAddress scope does not match", l1.getScope(), l2.getScope()); in assertLinkAddressMatches()
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java1185 private int getScope() { in getScope() method in IpServer.BaseServingState
1194 if (!startIPv4(getScope())) { in startServingInterface()
1285 mIpv4Address = requestIpv4Address(getScope(), false); in handleNewPrefixRequest()
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/
DTunInterfaceController.java180 (byte) address.getScope(), in addAddress()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClientLinkObserver.java221 + " scope " + address.getScope()); in maybeLog()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/
DDbState.java335 Comparator.comparing(Attribution::getScope) in sortAll()
DAbstractDbIntegrationTest.java533 values.put(MeasurementTables.AttributionContract.SCOPE, attribution.getScope()); in insertToDb()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsSocketProviderTest.java421 (short) linkAddress.getFlags(), (short) linkAddress.getScope(), ifIndex);
/packages/apps/Car/DebuggingRestrictionController/libs/
Dgoogle-oauth-client-1.31.0.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpClientTest.java262 (short) la.getFlags(), (short) la.getScope(), ifindex); in buildRtmAddressMessage()

12