/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.setUtcTime(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/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayAreaPolicyBuilderTest.java | 343 final DisplayAreaPolicyBuilder builder2 = new DisplayAreaPolicyBuilder(); in testBuilder_displayAreaGroup_validateSettings() local 344 builder2.setRootHierarchy(new DisplayAreaPolicyBuilder.HierarchyBuilder(mRoot)); in testBuilder_displayAreaGroup_validateSettings() 345 builder2.addDisplayAreaGroupHierarchy(new DisplayAreaPolicyBuilder.HierarchyBuilder( in testBuilder_displayAreaGroup_validateSettings() 350 assertThrows(IllegalStateException.class, () -> builder2.build(mWms)); in testBuilder_displayAreaGroup_validateSettings() 394 final DisplayAreaPolicyBuilder builder2 = new DisplayAreaPolicyBuilder(); in testBuilder_rootHasUniqueId() local 395 builder2.setRootHierarchy(new DisplayAreaPolicyBuilder.HierarchyBuilder(mRoot) in testBuilder_rootHasUniqueId() 402 assertThrows(IllegalStateException.class, () -> builder2.build(mWms)); in testBuilder_rootHasUniqueId() 431 final DisplayAreaPolicyBuilder builder2 = new DisplayAreaPolicyBuilder(); in testBuilder_taskDisplayAreaHasUniqueId() local 432 builder2.setRootHierarchy(new DisplayAreaPolicyBuilder.HierarchyBuilder(mRoot) in testBuilder_taskDisplayAreaHasUniqueId() 441 assertThrows(IllegalStateException.class, () -> builder2.build(mWms)); in testBuilder_taskDisplayAreaHasUniqueId() [all …]
|
/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() 119 PresenceBuilder builder2 = new PresenceBuilder(contact2, SOURCE_TYPE_CACHED, in testCachedCapabilityCallbackWithSkipGettingFromCache() local 125 builder2.build()); in testCachedCapabilityCallbackWithSkipGettingFromCache()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | DisplayManagerServiceTest.java | 559 final VirtualDisplayConfig.Builder builder2 = new VirtualDisplayConfig.Builder( in testCreateVirtualDisplay_displayIdToMirror() local 561 builder2.setUniqueId(uniqueId2); in testCreateVirtualDisplay_displayIdToMirror() 562 builder2.setDisplayIdToMirror(firstDisplayId); in testCreateVirtualDisplay_displayIdToMirror() 563 final int secondDisplayId = binderService.createVirtualDisplay(builder2.build(), in testCreateVirtualDisplay_displayIdToMirror()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenPolicyTest.java | 126 ZenPolicy.Builder builder2 = new ZenPolicy.Builder(); in testZenPolicyApplyUnsetToAllowed() local 127 ZenPolicy remindersUnset = builder2.build(); in testZenPolicyApplyUnsetToAllowed()
|