Home
last modified time | relevance | path

Searched refs:merge (Results 1 – 25 of 258) sorted by relevance

1234567891011

/frameworks/base/core/tests/coretests/src/android/os/
DBundleMergerTest.java31 import static android.os.BundleMerger.merge;
60 assertEquals(null, merge(strategy, null, null)); in testNoConflict()
61 assertEquals(10, merge(strategy, 10, null)); in testNoConflict()
62 assertEquals(20, merge(strategy, null, 20)); in testNoConflict()
75 merge(finalStrategy, 10, "foo"); in testMixedTypes()
78 merge(finalStrategy, List.of("foo"), "bar"); in testMixedTypes()
81 merge(finalStrategy, new String[] { "foo" }, "bar"); in testMixedTypes()
84 merge(finalStrategy, Integer.valueOf(10), Long.valueOf(10)); in testMixedTypes()
91 assertEquals(null, merge(STRATEGY_REJECT, 10, 20)); in testStrategyReject()
95 assertEquals(10, merge(STRATEGY_REJECT, 10, 10)); in testStrategyReject()
[all …]
/frameworks/base/core/java/android/net/metrics/
DNetworkMetrics.java70 summary.merge(s); in getPendingStats()
133 void merge(Summary that) { in merge() method in NetworkMetrics.Summary
134 dnsLatencies.merge(that.dnsLatencies); in merge()
135 dnsErrorRate.merge(that.dnsErrorRate); in merge()
136 connectLatencies.merge(that.connectLatencies); in merge()
137 connectErrorRate.merge(that.connectErrorRate); in merge()
138 tcpLossRate.merge(that.tcpLossRate); in merge()
166 void merge(Metrics that) { in merge() method in NetworkMetrics.Metrics
/frameworks/base/core/tests/coretests/src/android/app/
DBackgroundStartPrivilegesTest.java86 assertThat(BSP_ALLOW_A.merge(BSP_ALLOW_A)).isEqualTo(BSP_ALLOW_A); in backgroundStartPrivilege_mergeAA_resultsInA()
91 assertThat(BSP_ALLOW_A.merge(BSP_ALLOW_B)).isEqualTo(ALLOW_BAL); in backgroundStartPrivilege_mergeAB_resultsInAllowBal()
96 assertThat(BSP_ALLOW_A.merge(ALLOW_BAL)).isEqualTo(ALLOW_BAL); in backgroundStartPrivilege_mergeAwithAllowBal_resultsInAllowBal()
101 assertThat(BSP_ALLOW_A.merge(ALLOW_FGS)).isEqualTo(ALLOW_BAL); in backgroundStartPrivilege_mergeAwithAllowFgs_resultsInAllowBal()
106 assertThat(BSP_ALLOW_A.merge(NONE)).isEqualTo(BSP_ALLOW_A); in backgroundStartPrivilege_mergeAwithNone_resultsInA()
111 assertThat(BackgroundStartPrivileges.merge( in backgroundStartPrivilege_mergeManyWithDifferentToken_resultsInAllowBal()
118 assertThat(BackgroundStartPrivileges.merge( in backgroundStartPrivilege_mergeManyWithSameToken_resultsInAllowBal()
/frameworks/base/tests/utils/testutils/tests/src/com/android/test/filters/
DSelectTestTests.java78 private static final Set<Description> TEST_CLASS_A1 = merge(TEST_METHOD_A1K, TEST_METHOD_A1L);
79 private static final Set<Description> TEST_CLASS_A2 = merge(TEST_METHOD_A2M, TEST_METHOD_A2N);
80 private static final Set<Description> TEST_CLASS_B3 = merge(TEST_METHOD_B3P, TEST_METHOD_B3Q);
81 private static final Set<Description> TEST_CLASS_B4 = merge(TEST_METHOD_B4R, TEST_METHOD_B4S);
82 private static final Set<Description> TEST_CLASS_C5 = merge(TEST_METHOD_C5W, TEST_METHOD_C5X);
83 private static final Set<Description> TEST_CLASS_C6 = merge(TEST_METHOD_C6Y, TEST_METHOD_C6Z);
84 private static final Set<Description> TEST_PACKAGE_A = merge(TEST_CLASS_A1, TEST_CLASS_A2);
85 private static final Set<Description> TEST_PACKAGE_B = merge(TEST_CLASS_B3, TEST_CLASS_B4);
86 private static final Set<Description> TEST_PACKAGE_C = merge(TEST_CLASS_C5, TEST_CLASS_C6);
88 merge(TEST_PACKAGE_A, TEST_PACKAGE_B, TEST_PACKAGE_C);
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerMetadataTest.cpp80 TEST_F(LayerMetadataTest, merge) { in TEST_F() argument
90 bool changed = metadata.merge(second); in TEST_F()
100 changed = metadata.merge(withErase, true /* eraseEmpty */); in TEST_F()
110 changed = metadata.merge(third); in TEST_F()
DTransactionApplicationTest.cpp961 transaction1.merge(std::move(transaction2)); in TEST()
962 transaction1.merge(std::move(transaction3)); in TEST()
979 transaction4.merge(std::move(transaction2)); in TEST()
980 transaction4.merge(std::move(transaction3)); in TEST()
986 transaction1.merge(std::move(transaction4)); in TEST()
997 transaction1.merge(std::move(transaction2)); in TEST()
998 transaction1.merge(std::move(transaction3)); in TEST()
1014 transaction.merge(std::move(transactionToMerge)); in TEST()
1034 transaction1.merge(std::move(transactionToMerge)); in TEST()
1040 transaction2.merge(std::move(transactionToMerge)); in TEST()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/ui/viewmodel/
DDreamViewModel.kt42 import kotlinx.coroutines.flow.merge in <lambda>()
72 merge( in <lambda>()
86 merge( in <lambda>()
94 merge( in <lambda>()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/compose/
DOverridableFlow.kt21 import kotlinx.coroutines.flow.merge
30 val flow = merge(overrideChannel.receiveAsFlow(), flow)
/frameworks/base/core/java/android/app/
DBackgroundStartPrivileges.java79 public @NonNull BackgroundStartPrivileges merge(@Nullable BackgroundStartPrivileges other) { in merge() method in BackgroundStartPrivileges
127 public static @NonNull BackgroundStartPrivileges merge( in merge() method in BackgroundStartPrivileges
134 current = current.merge(list.get(i)); in merge()
/frameworks/compile/libbcc/lib/
DScript.cpp81 if (!mSource->merge(*libclcore_source)) { in LinkRuntime()
90 bool Script::mergeSource(Source &pSource) { return mSource->merge(pSource); } in mergeSource()
/frameworks/base/libs/hostgraphics/ui/
DFence.h37 static sp<Fence> merge(const char* name, const sp<Fence>& f1, const sp<Fence>& f2) { in merge() function
41 static sp<Fence> merge(const String8& name, const sp<Fence>& f1, const sp<Fence>& f2) { in merge() function
/frameworks/base/packages/SystemUI/src/com/android/systemui/deviceentry/domain/interactor/
DAuthRippleInteractor.kt26 import kotlinx.coroutines.flow.merge in <lambda>()
51 merge( in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DShadeDependentFlows.kt26 import kotlinx.coroutines.flow.merge in <lambda>()
57 return merge(filteredFlowWhenShadeIsExpanded, filteredFlowWhenShadeIsNotExpanded) in <lambda>()
DKeyguardQuickAffordancesCombinedViewModel.kt38 import kotlinx.coroutines.flow.merge in <lambda>()
106 merge( in <lambda>()
120 merge( in <lambda>()
134 merge( in <lambda>()
/frameworks/native/services/surfaceflinger/FrontEnd/
Dreadme.md35 that the order in which you merge them does.
42 `a.merge(b)` is not the same as `b.merge(a)`
48 `a.merge(b).merge(c)` is the same as `b.merge(c); a.merge(b);`
/frameworks/compile/mclinker/include/mcld/Target/
DELFAttribute.h57 bool merge(const Input& pInput, LDSection& pInputAttrSectHdr);
89 bool merge(const Input& pInput, ConstAddress pData, size_t pSize);
/frameworks/compile/mclinker/lib/Target/
DELFAttribute.cpp38 bool ELFAttribute::merge(const Input& pInput, LDSection& pInputAttrSectHdr) { in merge() function in mcld::ELFAttribute
113 if (!subsection->merge(pInput, vendor_data, vendor_data_size)) in merge()
186 bool ELFAttribute::Subsection::merge(const Input& pInput, in merge() function in mcld::ELFAttribute::Subsection
265 !m_AttrData.merge(m_Parent.config(), pInput, tag, in_attr)) { in merge()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/data/repository/
DKeyguardStatusBarRepository.kt32 import kotlinx.coroutines.flow.merge in <lambda>()
70 merge(userSwitcherRepository.isEnabled.map {}, relevantConfigChanges).map { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/footer/data/repository/
DForegroundServicesRepository.kt30 import kotlinx.coroutines.flow.merge in <lambda>()
100 merge( in showFooterDot()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/data/repository/
DMediaControllerRepository.kt36 import kotlinx.coroutines.flow.merge
62 merge(
/frameworks/native/libs/ui/include_vndk/ui/
DFence.h95 static sp<Fence> merge(const char* name, const sp<Fence>& f1,
98 static sp<Fence> merge(const String8& name, const sp<Fence>& f1,
/frameworks/native/libs/ui/include/ui/
DFence.h95 static sp<Fence> merge(const char* name, const sp<Fence>& f1,
98 static sp<Fence> merge(const String8& name, const sp<Fence>& f1,
/frameworks/base/packages/SystemUI/src/com/android/systemui/common/ui/
DConfigurationState.kt34 import kotlinx.coroutines.flow.merge
93 return merge( in inflateLayout()
/frameworks/base/tools/aapt2/tools/
Dextract_unicode_properties.py24 def merge(self, other): member in CharacterProperty
63 result[len(result) - 1].merge(char_prop)
/frameworks/native/libs/ui/
DFence.cpp90 sp<Fence> Fence::merge(const char* name, const sp<Fence>& f1, in merge() function in android::Fence
116 sp<Fence> Fence::merge(const String8& name, const sp<Fence>& f1, in merge() function in android::Fence
118 return merge(name.c_str(), f1, f2); in merge()

1234567891011