Home
last modified time | relevance | path

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

/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/converter/
DSearchSpecToProtoConverterTest.java60 String prefix1 = PrefixUtil.createPrefix("package", "database1"); in testToSearchSpecProto() local
67 /*prefixes=*/ ImmutableSet.of(prefix1, prefix2), in testToSearchSpecProto()
69 prefix1, in testToSearchSpecProto()
71 prefix1 + "namespace1", prefix1 + "namespace2"), in testToSearchSpecProto()
76 prefix1, in testToSearchSpecProto()
78 prefix1 + "typeA", configProto, in testToSearchSpecProto()
79 prefix1 + "typeB", configProto), in testToSearchSpecProto()
152 String prefix1 = PrefixUtil.createPrefix("package1", "database"); in testToResultSpecProto_groupByPackage() local
158 /*prefixes=*/ ImmutableSet.of(prefix1, prefix2), in testToResultSpecProto_groupByPackage()
164 prefix1, in testToResultSpecProto_groupByPackage()
[all …]
/packages/modules/Connectivity/framework/src/android/net/
DIpPrefix.java262 public int compare(IpPrefix prefix1, IpPrefix prefix2) { in lengthComparator()
263 if (prefix1.isIPv4()) { in lengthComparator()
268 final int p1len = prefix1.getPrefixLength(); in lengthComparator()
272 final byte[] a1 = prefix1.address; in lengthComparator()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DPrivateAddressCoordinator.java350 private boolean isConflictPrefix(final IpPrefix prefix1, final IpPrefix prefix2) { in isConflictPrefix() argument
351 if (prefix2.getPrefixLength() < prefix1.getPrefixLength()) { in isConflictPrefix()
352 return prefix2.contains(prefix1.getAddress()); in isConflictPrefix()
355 return prefix1.contains(prefix2.getAddress()); in isConflictPrefix()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DPath.java217 static void dumpAll(Path p, String prefix1, String prefix2) { in dumpAll() argument
220 Log.d(TAG, prefix1 + p.mSegment + ":" in dumpAll()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/
DAppSearchImplTest.java3803 String prefix1 = PrefixUtil.createPrefix("package1", "database"); in testSetVisibility_existingVisibilitySettingRetains() local
3807 new VisibilityDocument.Builder(prefix1 + "Email1") in testSetVisibility_existingVisibilitySettingRetains()
3812 assertThat(mAppSearchImpl.mVisibilityStoreLocked.getVisibility(prefix1 + "Email1")) in testSetVisibility_existingVisibilitySettingRetains()
3821 /*id=*/ prefix1 + "Email1", in testSetVisibility_existingVisibilitySettingRetains()
3867 assertThat(mAppSearchImpl.mVisibilityStoreLocked.getVisibility(prefix1 + "Email1")) in testSetVisibility_existingVisibilitySettingRetains()
3876 /*id=*/ prefix1 + "Email1", in testSetVisibility_existingVisibilitySettingRetains()
/packages/modules/Connectivity/tests/common/java/android/net/
DLinkPropertiesTest.java413 LinkAddress prefix1 = new LinkAddress(address("2001:db8:1::"), 48); in testRouteInterfaces() local
419 RouteInfo r = new RouteInfo(prefix1, address, null); in testRouteInterfaces()