/frameworks/base/core/tests/coretests/src/android/app/timezonedetector/ |
D | TelephonyTimeZoneSuggestionTest.java | 46 TelephonyTimeZoneSuggestion.Builder builder2 = in testEquals() local 50 TelephonyTimeZoneSuggestion two = builder2.build(); in testEquals() 69 TelephonyTimeZoneSuggestion two = builder2.build(); in testEquals() 73 builder2.setZoneId("Europe/Paris"); in testEquals() 74 builder2.setMatchType(TelephonyTimeZoneSuggestion.MATCH_TYPE_NETWORK_COUNTRY_ONLY); in testEquals() 75 builder2.setQuality(TelephonyTimeZoneSuggestion.QUALITY_SINGLE_ZONE); in testEquals() 78 TelephonyTimeZoneSuggestion two = builder2.build(); in testEquals() 85 TelephonyTimeZoneSuggestion two = builder2.build(); in testEquals() 90 builder2.setMatchType(TelephonyTimeZoneSuggestion.MATCH_TYPE_NETWORK_COUNTRY_ONLY); in testEquals() 93 TelephonyTimeZoneSuggestion two = builder2.build(); in testEquals() [all …]
|
/frameworks/compile/mclinker/unittests/ |
D | LinkerTest.cpp | 205 IRBuilder builder2(module2, config2); in TEST_F() local 208 builder2.ReadInput("crtbegin", crtbegin); in TEST_F() 211 builder2.ReadInput("plasma", plasma); in TEST_F() 214 builder2.ReadInput("m"); in TEST_F() 215 builder2.ReadInput("log"); in TEST_F() 216 builder2.ReadInput("jnigraphics"); in TEST_F() 217 builder2.ReadInput("c"); in TEST_F() 220 builder2.ReadInput("crtend", crtend); in TEST_F() 222 if (linker.link(module2, builder2)) { in TEST_F() 308 IRBuilder* builder2 = new IRBuilder(module2, config2); in TEST_F() local [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/time/ |
D | TimeZoneCapabilitiesTest.java | 49 TimeZoneCapabilities.Builder builder2 = new TimeZoneCapabilities.Builder(TEST_USER_HANDLE) in testEquals() local 55 TimeZoneCapabilities two = builder2.build(); in testEquals() 59 builder2.setConfigureAutoDetectionEnabledCapability(CAPABILITY_NOT_ALLOWED); in testEquals() 62 TimeZoneCapabilities two = builder2.build(); in testEquals() 69 TimeZoneCapabilities two = builder2.build(); in testEquals() 73 builder2.setConfigureGeoDetectionEnabledCapability(CAPABILITY_NOT_ALLOWED); in testEquals() 76 TimeZoneCapabilities two = builder2.build(); in testEquals() 83 TimeZoneCapabilities two = builder2.build(); in testEquals() 87 builder2.setSuggestManualTimeZoneCapability(CAPABILITY_NOT_ALLOWED); in testEquals() 90 TimeZoneCapabilities two = builder2.build(); in testEquals() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/timedetector/ |
D | TelephonyTimeSuggestionTest.java | 40 TelephonyTimeSuggestion.Builder builder2 = new TelephonyTimeSuggestion.Builder(SLOT_INDEX); in testEquals() local 43 TelephonyTimeSuggestion two = builder2.build(); in testEquals() 54 builder2.setUnixEpochTime(new TimestampedValue<>(1111L, 2222L)); in testEquals() 57 TelephonyTimeSuggestion two = builder2.build(); in testEquals() 74 builder2.addDebugInfo("Debug info 2"); in testEquals() 77 TelephonyTimeSuggestion two = builder2.build(); in testEquals()
|
/frameworks/base/tools/aapt2/optimize/ |
D | ResourcePathShortener_test.cpp | 146 test::ResourceTableBuilder builder2; in TEST() local 153 FillTable(builder2, start_index, kNumResources); in TEST() 154 FillTable(builder2, 0, start_index); in TEST() 155 std::unique_ptr<ResourceTable> table2 = builder2.Build(); in TEST()
|
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/request/ |
D | CapabilityRequestTest.java | 85 PresenceBuilder builder2 = new PresenceBuilder(contact2, SOURCE_TYPE_CACHED, in testCachedCapabilityCallback() local 91 builder2.build()); in testCachedCapabilityCallback() 120 PresenceBuilder builder2 = new PresenceBuilder(contact2, SOURCE_TYPE_CACHED, in testCachedCapabilityCallbackWithSkipGettingFromCache() local 126 builder2.build()); in testCachedCapabilityCallbackWithSkipGettingFromCache()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayAreaPolicyBuilderTest.java | 329 final DisplayAreaPolicyBuilder builder2 = new DisplayAreaPolicyBuilder(); in testBuilder_displayAreaGroup_validateSettings() local 330 builder2.setRootHierarchy(new DisplayAreaPolicyBuilder.HierarchyBuilder(mRoot)); in testBuilder_displayAreaGroup_validateSettings() 331 builder2.addDisplayAreaGroupHierarchy(new DisplayAreaPolicyBuilder.HierarchyBuilder( in testBuilder_displayAreaGroup_validateSettings() 336 assertThrows(IllegalStateException.class, () -> builder2.build(mWms)); in testBuilder_displayAreaGroup_validateSettings() 380 final DisplayAreaPolicyBuilder builder2 = new DisplayAreaPolicyBuilder(); in testBuilder_rootHasUniqueId() local 381 builder2.setRootHierarchy(new DisplayAreaPolicyBuilder.HierarchyBuilder(mRoot) in testBuilder_rootHasUniqueId() 388 assertThrows(IllegalStateException.class, () -> builder2.build(mWms)); in testBuilder_rootHasUniqueId() 417 final DisplayAreaPolicyBuilder builder2 = new DisplayAreaPolicyBuilder(); in testBuilder_taskDisplayAreaHasUniqueId() local 418 builder2.setRootHierarchy(new DisplayAreaPolicyBuilder.HierarchyBuilder(mRoot) in testBuilder_taskDisplayAreaHasUniqueId() 427 assertThrows(IllegalStateException.class, () -> builder2.build(mWms)); in testBuilder_taskDisplayAreaHasUniqueId() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | DisplayManagerServiceTest.java | 627 final VirtualDisplayConfig.Builder builder2 = new VirtualDisplayConfig.Builder( in testCreateVirtualDisplay_displayIdToMirror() local 629 builder2.setUniqueId(uniqueId2); in testCreateVirtualDisplay_displayIdToMirror() 630 builder2.setDisplayIdToMirror(firstDisplayId); in testCreateVirtualDisplay_displayIdToMirror() 631 final int secondDisplayId = binderService.createVirtualDisplay(builder2.build(), in testCreateVirtualDisplay_displayIdToMirror()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenPolicyTest.java | 131 ZenPolicy.Builder builder2 = new ZenPolicy.Builder(); in testZenPolicyApplyUnsetToAllowed() local 132 ZenPolicy remindersUnset = builder2.build(); in testZenPolicyApplyUnsetToAllowed()
|