/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/converter/ |
D | SearchSpecToProtoConverterTest.java | 94 String prefix1 = PrefixUtil.createPrefix("package", "database1"); in testToSearchSpecProto() local 102 /* prefixes= */ ImmutableSet.of(prefix1, prefix2), in testToSearchSpecProto() 104 prefix1, in testToSearchSpecProto() 106 prefix1 + "namespace1", prefix1 + "namespace2"), in testToSearchSpecProto() 112 prefix1, in testToSearchSpecProto() 114 prefix1 + "typeA", configProto, in testToSearchSpecProto() 115 prefix1 + "typeB", configProto), in testToSearchSpecProto() 157 String prefix1 = PrefixUtil.createPrefix("package", "database1"); in testToSearchSpecProtoWithJoinSpec() local 165 /* prefixes= */ ImmutableSet.of(prefix1, prefix2), in testToSearchSpecProtoWithJoinSpec() 167 prefix1, in testToSearchSpecProtoWithJoinSpec() [all …]
|
D | SearchSuggestionSpecToProtoConverterTest.java | 49 String prefix1 = PrefixUtil.createPrefix("package", "database"); in testToProto() local 55 /* prefixes= */ ImmutableSet.of(prefix1), in testToProto() 57 prefix1, in testToProto() 58 ImmutableSet.of(prefix1 + "namespace1", prefix1 + "namespace2")), in testToProto() 61 prefix1, in testToProto() 63 prefix1 + "typeA", configProto, in testToProto() 64 prefix1 + "typeB", configProto)))); in testToProto() 90 String prefix1 = PrefixUtil.createPrefix("package", "database"); in testToProto_propertyFilters() local 96 /* prefixes= */ ImmutableSet.of(prefix1), in testToProto_propertyFilters() 100 prefix1, in testToProto_propertyFilters() [all …]
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | IpPrefix.java | 262 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/staticlibs/tests/unit/src/com/android/net/module/util/netlink/ |
D | StructNdOptPref64Test.java | 185 final IpPrefix prefix1 = prefix(PREFIX1, 56); in testToByteBuffer() local 188 StructNdOptPref64 opt = new StructNdOptPref64(prefix1, 600); in testToByteBuffer() 198 assertInvalidParameters(prefix1, 65535); in testToByteBuffer()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | PrivateAddressCoordinator.java | 386 private boolean isConflictPrefix(final IpPrefix prefix1, final IpPrefix prefix2) { in isConflictPrefix() argument 387 if (prefix2.getPrefixLength() < prefix1.getPrefixLength()) { in isConflictPrefix() 388 return prefix2.contains(prefix1.getAddress()); in isConflictPrefix() 391 return prefix1.contains(prefix2.getAddress()); in isConflictPrefix()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | Path.java | 217 static void dumpAll(Path p, String prefix1, String prefix2) { in dumpAll() argument 220 Log.d(TAG, prefix1 + p.mSegment + ":" in dumpAll()
|
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/ |
D | IpClientIntegrationTestCommon.java | 5284 final IpPrefix prefix1 = new IpPrefix("2001:db8:2::/64"); 5287 final IaPrefixOption ipo1 = buildIaPrefixOption(prefix1, 5000 /* preferred */, 5298 && hasIpv6AddressPrefixedWith(x, prefix1) 5324 final IpPrefix prefix1 = new IpPrefix("2001:db8:2::/64"); 5325 final IaPrefixOption ipo = buildIaPrefixOption(prefix1, 4500 /* preferred */, 5336 && hasIpv6AddressPrefixedWith(x, prefix1) 5388 final IpPrefix prefix1 = new IpPrefix("2001:db8:2::/64"); 5391 final IaPrefixOption ipo1 = buildIaPrefixOption(prefix1, 5000 /* preferred */, 5403 && hasIpv6AddressPrefixedWith(x, prefix1) 5418 assertEquals(prefix1, renewIpos.get(0).getIpPrefix()); [all …]
|
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/ |
D | AppSearchImplTest.java | 4970 String prefix1 = PrefixUtil.createPrefix("package1", "database"); in testSetVisibility_existingVisibilitySettingRetains() local 4974 new InternalVisibilityConfig.Builder(prefix1 + "Email1") in testSetVisibility_existingVisibilitySettingRetains() 4978 assertThat(mAppSearchImpl.mVisibilityStoreLocked.getVisibility(prefix1 + "Email1")) in testSetVisibility_existingVisibilitySettingRetains() 4987 /* id= */ prefix1 + "Email1", in testSetVisibility_existingVisibilitySettingRetains() 5036 assertThat(mAppSearchImpl.mVisibilityStoreLocked.getVisibility(prefix1 + "Email1")) in testSetVisibility_existingVisibilitySettingRetains() 5045 /* id= */ prefix1 + "Email1", in testSetVisibility_existingVisibilitySettingRetains()
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | LinkPropertiesTest.java | 402 LinkAddress prefix1 = new LinkAddress(address("2001:db8:1::"), 48); in testRouteInterfaces() local 408 RouteInfo r = new RouteInfo(prefix1, address, null); in testRouteInterfaces()
|