Home
last modified time | relevance | path

Searched refs:create (Results 1 – 25 of 2973) sorted by relevance

12345678910>>...119

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/job/
H A DWorkTypeConfigTest.java136 Pair.create(WORK_TYPE_BG, 0), Pair.create(WORK_TYPE_BGUSER, 0)), in test()
147 Pair.create(WORK_TYPE_BG, 0), Pair.create(WORK_TYPE_BGUSER, 0)), in test()
149 Pair.create(WORK_TYPE_BG, 0), Pair.create(WORK_TYPE_BGUSER, 1)), in test()
152 Pair.create(WORK_TYPE_BG, 0), Pair.create(WORK_TYPE_BGUSER, 0)), in test()
169 Pair.create(WORK_TYPE_BG, 5), Pair.create(WORK_TYPE_BGUSER, 0)), in test()
171 Pair.create(WORK_TYPE_BG, 5), Pair.create(WORK_TYPE_BGUSER, 5)), in test()
213 Pair.create(WORK_TYPE_EJ, 1), Pair.create(WORK_TYPE_BG, 1)), in test()
217 Pair.create(WORK_TYPE_EJ, 1), Pair.create(WORK_TYPE_BG, 1)), in test()
301 List.of(Pair.create(WORK_TYPE_TOP, 16), Pair.create(WORK_TYPE_EJ, 5), in test()
336 Pair.create(WORK_TYPE_EJ, 3), Pair.create(WORK_TYPE_BG, 4), in test()
[all …]
H A DWorkCountTrackerTest.java506 List.of(Pair.create(WORK_TYPE_EJ, 2), Pair.create(WORK_TYPE_BG, 2)); in testRandom12()
526 Pair.create(WORK_TYPE_EJ, 5), Pair.create(WORK_TYPE_BG, 4), in testRandom13()
529 List.of(Pair.create(WORK_TYPE_EJ, 2), Pair.create(WORK_TYPE_BG, 1)); in testRandom13()
545 List.of(Pair.create(WORK_TYPE_EJ, 5), Pair.create(WORK_TYPE_BG, 4)); in testRandom14()
563 List.of(Pair.create(WORK_TYPE_EJ, 5), Pair.create(WORK_TYPE_BG, 4), in testRandom15()
566 List.of(Pair.create(WORK_TYPE_EJ, 3), Pair.create(WORK_TYPE_BG, 2)); in testRandom15()
583 List.of(Pair.create(WORK_TYPE_EJ, 5), Pair.create(WORK_TYPE_BG, 4), in testRandom16()
587 List.of(Pair.create(WORK_TYPE_EJ, 3), Pair.create(WORK_TYPE_BG, 2)); in testRandom16()
796 Pair.create(WORK_TYPE_EJ, 2), Pair.create(WORK_TYPE_BG, 2)), in testBasic()
891 List.of(Pair.create(WORK_TYPE_EJ, 1), Pair.create(WORK_TYPE_BG, 1)); in testJobLifecycleLoop_Multitype()
[all …]
/aosp12/packages/providers/TvProvider/tests/src/com/android/providers/tv/util/
H A DSqliteTokenFinderTest.java110 Pair.create(SqliteTokenFinder.TYPE_REGULAR, "a"), in testSingleQuotes()
112 Pair.create(SqliteTokenFinder.TYPE_REGULAR, "b")); in testSingleQuotes()
115 Pair.create(SqliteTokenFinder.TYPE_REGULAR, "a"), in testSingleQuotes()
117 Pair.create(SqliteTokenFinder.TYPE_REGULAR, "b")); in testSingleQuotes()
122 Pair.create(SqliteTokenFinder.TYPE_REGULAR, "a"), in testSingleQuotes()
129 Pair.create(SqliteTokenFinder.TYPE_REGULAR, "a"), in testSingleQuotes()
134 Pair.create(SqliteTokenFinder.TYPE_REGULAR, "a"), in testSingleQuotes()
148 Pair.create(SqliteTokenFinder.TYPE_REGULAR, "a"), in testDoubleQuotes()
152 Pair.create(SqliteTokenFinder.TYPE_REGULAR, "a"), in testDoubleQuotes()
161 Pair.create(SqliteTokenFinder.TYPE_REGULAR, "a"), in testDoubleQuotes()
[all …]
/aosp12/frameworks/compile/mclinker/include/mcld/Script/
H A DOperator.h114 static Operator& create();
163 Operator& Operator::create<Operator::MUL>();
165 Operator& Operator::create<Operator::DIV>();
167 Operator& Operator::create<Operator::MOD>();
169 Operator& Operator::create<Operator::ADD>();
177 Operator& Operator::create<Operator::LT>();
179 Operator& Operator::create<Operator::LE>();
181 Operator& Operator::create<Operator::GT>();
183 Operator& Operator::create<Operator::GE>();
185 Operator& Operator::create<Operator::EQ>();
[all …]
/aosp12/frameworks/compile/mclinker/lib/Script/
H A DOperator.cpp45 m_pIntOperand = IntOperand::create(0); in Operator()
161 Operator& Operator::create<Operator::MUL>() { in create() function in mcld::Operator
167 Operator& Operator::create<Operator::DIV>() { in create() function in mcld::Operator
173 Operator& Operator::create<Operator::MOD>() { in create() function in mcld::Operator
179 Operator& Operator::create<Operator::ADD>() { in create() function in mcld::Operator
203 Operator& Operator::create<Operator::LT>() { in create() function in mcld::Operator
209 Operator& Operator::create<Operator::LE>() { in create() function in mcld::Operator
215 Operator& Operator::create<Operator::GT>() { in create() function in mcld::Operator
221 Operator& Operator::create<Operator::GE>() { in create() function in mcld::Operator
227 Operator& Operator::create<Operator::EQ>() { in create() function in mcld::Operator
[all …]
H A DScriptParser.yy354 /* create exp for vma */
468 { $$ = StrToken::create(*$1); }
663 &Operator::create<Operator::MUL>());
669 &Operator::create<Operator::DIV>());
675 &Operator::create<Operator::MOD>());
705 &Operator::create<Operator::LT>());
711 &Operator::create<Operator::LE>());
717 &Operator::create<Operator::GT>());
723 &Operator::create<Operator::GE>());
729 &Operator::create<Operator::EQ>());
[all …]
H A DRpnExpr.cpp54 RpnExpr* RpnExpr::create() { in create() function in mcld::RpnExpr
81 RpnExpr* expr = RpnExpr::create(); in buildHelperExpr()
82 expr->push_back(SectDescOperand::create(*pIter)); in buildHelperExpr()
83 expr->push_back(&Operator::create<Operator::ADDR>()); in buildHelperExpr()
84 expr->push_back(SectDescOperand::create(*pIter)); in buildHelperExpr()
85 expr->push_back(&Operator::create<Operator::SIZEOF>()); in buildHelperExpr()
86 expr->push_back(&Operator::create<Operator::ADD>()); in buildHelperExpr()
92 RpnExpr* expr = RpnExpr::create(); in buildHelperExpr()
93 expr->push_back(FragOperand::create(pFrag)); in buildHelperExpr()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/compat/
H A DCompatConfigTest.java126 ApplicationInfoBuilder.create().withTargetSdk(2).build())) in testTargetSdkChangeDisabled()
178 ApplicationInfo info = ApplicationInfoBuilder.create() in testPackageOverrideEnabled()
196 ApplicationInfo info = ApplicationInfoBuilder.create() in testPackageOverrideDisabled()
214 ApplicationInfo info = ApplicationInfoBuilder.create() in testPackageOverrideUnknownPackage()
249 ApplicationInfo applicationInfo = ApplicationInfoBuilder.create() in testPreventAddOverride()
277 ApplicationInfo applicationInfo = ApplicationInfoBuilder.create() in testInstallerCanAddOverrides()
317 ApplicationInfo applicationInfo = ApplicationInfoBuilder.create() in testPreventInstallerSetNonOverridable()
352 ApplicationInfo applicationInfo = ApplicationInfoBuilder.create() in testCanAddOverridesForUnknownChangeIdOnDebugBuild()
495 ApplicationInfo debuggableApp = ApplicationInfoBuilder.create() in testApplyDeferredOverrideClearsOverrideAfterChange()
498 ApplicationInfo releaseApp = ApplicationInfoBuilder.create() in testApplyDeferredOverrideClearsOverrideAfterChange()
[all …]
H A DPlatformCompatTest.java93 mCompatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testListAllChanges()
121 mCompatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testListUIChanges()
143 mCompatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testOverrideAtInstallTime()
187 CompatibilityChangeConfigBuilder.create().enable(1L).build(), in testRegisterListenerReturn()
205 CompatibilityChangeConfigBuilder.create().enable(1L).disable(2L).build(), in testListenerCalledOnSetOverrides()
220 CompatibilityChangeConfigBuilder.create().enable(1L).disable(2L).build(), in testListenerNotCalledOnWrongPackage()
234 CompatibilityChangeConfigBuilder.create().enable(1L).disable(2L).build(), in testListenerCalledOnSetOverridesTwoListeners()
246 CompatibilityChangeConfigBuilder.create().enable(1L).disable(2L).build(), in testListenerCalledOnSetOverridesTwoListeners()
262 CompatibilityChangeConfigBuilder.create().enable(1L).disable(2L).build(), in testListenerCalledOnSetOverridesForTest()
304 CompatibilityChangeConfigBuilder.create().enable(1L).build(), in testListenerCalledOnClearOverrides()
[all …]
/aosp12/hardware/interfaces/neuralnetworks/1.3/utils/test/
H A DBufferTest.cpp70 const auto mockBuffer = MockBuffer::create(); in TEST()
80 TEST(BufferTest, create) { in TEST() argument
82 const auto mockBuffer = MockBuffer::create(); in TEST()
94 const auto mockBuffer = MockBuffer::create(); in TEST()
107 const auto mockBuffer = MockBuffer::create(); in TEST()
121 const auto mockBuffer = MockBuffer::create(); in TEST()
137 const auto mockBuffer = MockBuffer::create(); in TEST()
151 const auto mockBuffer = MockBuffer::create(); in TEST()
164 const auto mockBuffer = MockBuffer::create(); in TEST()
178 const auto mockBuffer = MockBuffer::create(); in TEST()
[all …]
H A DDeviceTest.cpp67 const auto mockDevice = MockDevice::create(); in createMockDevice()
166 const auto device = MockDevice::create(); in TEST()
190 const auto result = Device::create(kName, mockDevice); in TEST()
205 const auto result = Device::create(kName, mockDevice); in TEST()
220 const auto result = Device::create(kName, mockDevice); in TEST()
235 const auto result = Device::create(kName, mockDevice); in TEST()
250 const auto result = Device::create(kName, mockDevice); in TEST()
265 const auto result = Device::create(kName, mockDevice); in TEST()
280 const auto result = Device::create(kName, mockDevice); in TEST()
295 const auto result = Device::create(kName, mockDevice); in TEST()
[all …]
/aosp12/hardware/interfaces/neuralnetworks/aidl/utils/test/
H A DBufferTest.cpp72 const auto mockBuffer = MockBuffer::create(); in TEST()
82 TEST(BufferTest, create) { in TEST() argument
84 const auto mockBuffer = MockBuffer::create(); in TEST()
96 const auto mockBuffer = MockBuffer::create(); in TEST()
109 const auto mockBuffer = MockBuffer::create(); in TEST()
123 const auto mockBuffer = MockBuffer::create(); in TEST()
139 const auto mockBuffer = MockBuffer::create(); in TEST()
153 const auto mockBuffer = MockBuffer::create(); in TEST()
166 const auto mockBuffer = MockBuffer::create(); in TEST()
182 const auto mockBuffer = MockBuffer::create(); in TEST()
[all …]
H A DPreparedModelTest.cpp82 const auto mockPreparedModel = MockPreparedModel::create(); in TEST()
104 const auto mockPreparedModel = MockPreparedModel::create(); in TEST()
120 const auto mockPreparedModel = MockPreparedModel::create(); in TEST()
136 const auto mockPreparedModel = MockPreparedModel::create(); in TEST()
152 const auto mockPreparedModel = MockPreparedModel::create(); in TEST()
181 const auto mockPreparedModel = MockPreparedModel::create(); in TEST()
211 const auto mockPreparedModel = MockPreparedModel::create(); in TEST()
227 const auto mockPreparedModel = MockPreparedModel::create(); in TEST()
243 const auto mockPreparedModel = MockPreparedModel::create(); in TEST()
260 const auto mockPreparedModel = MockPreparedModel::create(); in TEST()
[all …]
H A DDeviceTest.cpp67 const auto mockDevice = MockDevice::create(); in createMockDevice()
153 const auto device = MockDevice::create(); in TEST()
178 const auto result = Device::create(kName, mockDevice); in TEST()
193 const auto result = Device::create(kName, mockDevice); in TEST()
208 const auto result = Device::create(kName, mockDevice); in TEST()
221 const auto result = Device::create(kName, mockDevice); in TEST()
236 const auto result = Device::create(kName, mockDevice); in TEST()
251 const auto result = Device::create(kName, mockDevice); in TEST()
266 const auto result = Device::create(kName, mockDevice); in TEST()
281 const auto result = Device::create(kName, mockDevice); in TEST()
[all …]
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationListenersTest.java116 mListeners.setNotificationListenerFilter(Pair.create(mCn1, 0), nlf); in testWriteExtraTag()
117 mListeners.setNotificationListenerFilter(Pair.create(mCn2, 10), nlf2); in testWriteExtraTag()
157 mListeners.setNotificationListenerFilter(Pair.create(mCn1, 0), nlf); in testOnUserRemoved()
184 mListeners.setNotificationListenerFilter(Pair.create(mCn2, 0), nlf); in testEnsureFilters_preExisting()
205 Pair.create(si.getComponentName(), 0)).getTypes()) in testEnsureFilters_newServiceWithMetadata()
221 Pair.create(si.getComponentName(), 0)).getTypes()) in testEnsureFilters_newServiceWithMetadata_namesNotNumbers()
236 Pair.create(si.getComponentName(), 0)).getTypes()) in testEnsureFilters_newServiceWithMetadata_onlyOneListed()
251 Pair.create(si.getComponentName(), 0)).getTypes()) in testEnsureFilters_newServiceWithMetadata_disabledTypes()
267 Pair.create(si.getComponentName(), 0)).getTypes()) in testEnsureFilters_newServiceWithMetadata_disabledTypes_mixedText()
283 Pair.create(si.getComponentName(), 0)).getTypes()) in testEnsureFilters_newServiceWithMetadata_metaDataDisagrees()
[all …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/log/dagger/
H A DLogModule.java44 return factory.create("DozeLog", 100); in provideDozeLogBuffer()
52 return factory.create("NotifLog", 1000); in provideNotificationsLogBuffer()
60 return factory.create("LSShadeTransitionLog", 50); in provideLSShadeTransitionControllerBuffer()
68 return factory.create("NotifSectionLog", 1000); in provideNotificationSectionLogBuffer()
76 return factory.create("NotifInteractionLog", 50); in provideNotifInteractionLogBuffer()
84 return factory.create("QSLog", 500); in provideQuickSettingsLogBuffer()
92 return factory.create("BroadcastDispatcherLog", 500); in provideBroadcastDispatcherLogBuffer()
100 return factory.create("ToastLog", 50); in provideToastLogBuffer()
108 return factory.create("PrivacyLog", 100); in providePrivacyLogBuffer()
119 return factory.create("CollapsedSbFragmentLog", 20); in provideCollapsedSbFragmentLogBuffer()
[all …]
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
H A DRotationCacheTest.java19 import static android.util.Pair.create;
51 return create(o, rot); in setUp()
57 assertThat(mCache.getOrCompute("hello", 0), equalTo(create("hello", 0))); in getOrCompute_computes()
58 assertThat(mCache.getOrCompute("hello", 1), equalTo(create("hello", 1))); in getOrCompute_computes()
59 assertThat(mCache.getOrCompute("hello", 2), equalTo(create("hello", 2))); in getOrCompute_computes()
60 assertThat(mCache.getOrCompute("hello", 3), equalTo(create("hello", 3))); in getOrCompute_computes()
68 assertThat(mCache.getOrCompute("hello", 1), equalTo(create("hello", 1))); in getOrCompute_sameParam_sameRot_hitsCache()
80 assertThat(mCache.getOrCompute("hello", 1), equalTo(create("hello", 1))); in getOrCompute_sameParam_hitsCache_forAllRots()
81 assertThat(mCache.getOrCompute("hello", 0), equalTo(create("hello", 0))); in getOrCompute_sameParam_hitsCache_forAllRots()
82 assertThat(mCache.getOrCompute("hello", 2), equalTo(create("hello", 2))); in getOrCompute_sameParam_hitsCache_forAllRots()
[all …]
/aosp12/art/test/408-move-bug/src/
H A DMain.java27 Main foo1 = create(); in crash()
28 Main foo2 = create(); in crash()
29 Main foo3 = create(); in crash()
30 Main foo4 = create(); in crash()
47 Main foo1 = create(); in npe()
48 Main foo2 = create(); in npe()
49 Main foo3 = create(); in npe()
50 Main foo4 = create(); in npe()
58 static Main create() { in create() method in Main
/aosp12/system/libufdt/utils/tests/
H A Dmkdtboimg_testdata.sh55 mkdtimg create ${MKDTIMG_OUT}/create.img --page_size=4096 --id=0x100 --version=1\
62 ../src/mkdtboimg.py create ${MKDTBOIMG_OUTCREATE}/create.img --page_size=4096 \
70 ../src/mkdtboimg.py cfg_create ${MKDTBOIMG_OUTCFG}/create.img ${PYCONFIG} --dtb-dir "${OUTDIR}"
73 mkdtimg dump ${MKDTIMG_OUT}/create.img -b "${MKDTIMG_DUMP}"| grep -v 'FDT' > ${MKDTIMG_OUT}/create.…
76 ../src/mkdtboimg.py dump ${MKDTBOIMG_OUTCREATE}/create.img --output ${MKDTBOIMG_OUTCREATE}/create.d…
79 ../src/mkdtboimg.py dump ${MKDTBOIMG_OUTCFG}/create.img --output ${MKDTBOIMG_OUTCFG}/create.dump -b…
/aosp12/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
H A DClientPlaylistTest.java145 Pair.create(mRed, 1), in testAdd()
155 Pair.create(mBlue, 1), in testAdd()
156 Pair.create(mRed, 2), in testAdd()
180 Pair.create(mGreen, 1), in testMove()
181 Pair.create(mBlue, 2), in testMove()
189 Pair.create(mRed, 1), in testMove()
190 Pair.create(mGreen, 2), in testMove()
201 Pair.create(mGreen, 1), in testMove()
202 Pair.create(mRed, 2), in testMove()
211 Pair.create(mRed, 1), in testMove()
[all …]
/aosp12/hardware/interfaces/neuralnetworks/1.2/utils/test/
H A DDeviceTest.cpp66 const auto mockDevice = MockDevice::create(); in createMockDevice()
146 const auto device = MockDevice::create(); in TEST()
170 const auto result = Device::create(kName, mockDevice); in TEST()
185 const auto result = Device::create(kName, mockDevice); in TEST()
200 const auto result = Device::create(kName, mockDevice); in TEST()
215 const auto result = Device::create(kName, mockDevice); in TEST()
230 const auto result = Device::create(kName, mockDevice); in TEST()
245 const auto result = Device::create(kName, mockDevice); in TEST()
260 const auto result = Device::create(kName, mockDevice); in TEST()
275 const auto result = Device::create(kName, mockDevice); in TEST()
[all …]
H A DPreparedModelTest.cpp45 const auto mockPreparedModel = MockPreparedModel::create(); in createMockPreparedModel()
151 PreparedModel::create(mockPreparedModel, /*executeSynchronously=*/true).value(); in TEST()
168 PreparedModel::create(mockPreparedModel, /*executeSynchronously=*/true).value(); in TEST()
186 PreparedModel::create(mockPreparedModel, /*executeSynchronously=*/true).value(); in TEST()
203 PreparedModel::create(mockPreparedModel, /*executeSynchronously=*/true).value(); in TEST()
220 PreparedModel::create(mockPreparedModel, /*executeSynchronously=*/false).value(); in TEST()
328 PreparedModel::create(mockPreparedModel, /*executeSynchronously=*/true).value(); in TEST()
582 const auto mockPreparedModel = MockPreparedModel::create(); in TEST()
601 const auto mockPreparedModel = MockPreparedModel::create(); in TEST()
619 const auto mockPreparedModel = MockPreparedModel::create(); in TEST()
[all …]
/aosp12/hardware/interfaces/neuralnetworks/1.0/utils/test/
H A DDeviceTest.cpp66 const auto mockDevice = MockDevice::create(); in createMockDevice()
106 const auto device = MockDevice::create(); in TEST()
107 const auto result = Device::create(kInvalidName, device); in TEST()
116 const auto result = Device::create(kName, kInvalidDevice); in TEST()
134 const auto result = Device::create(kName, mockDevice); in TEST()
149 const auto result = Device::create(kName, mockDevice); in TEST()
164 const auto result = Device::create(kName, mockDevice); in TEST()
178 const auto result = Device::create(kName, mockDevice); in TEST()
193 const auto result = Device::create(kName, mockDevice); in TEST()
208 const auto result = Device::create(kName, mockDevice); in TEST()
[all …]
/aosp12/hardware/interfaces/neuralnetworks/1.1/utils/test/
H A DDeviceTest.cpp66 const auto mockDevice = MockDevice::create(); in createMockDevice()
114 const auto device = MockDevice::create(); in TEST()
115 const auto result = Device::create(kInvalidName, device); in TEST()
124 const auto result = Device::create(kName, kInvalidDevice); in TEST()
144 const auto result = Device::create(kName, mockDevice); in TEST()
159 const auto result = Device::create(kName, mockDevice); in TEST()
174 const auto result = Device::create(kName, mockDevice); in TEST()
188 const auto result = Device::create(kName, mockDevice); in TEST()
203 const auto result = Device::create(kName, mockDevice); in TEST()
218 const auto result = Device::create(kName, mockDevice); in TEST()
[all …]
/aosp12/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/toolbar/
H A DToolbarActivity.java94 mButtons.add(Pair.create("Toggle progress bar", v -> { in onCreate()
98 mButtons.add(Pair.create("Change title", v -> in onCreate()
101 mButtons.add(Pair.create("Add/Change subtitle", v -> { in onCreate()
124 mButtons.add(Pair.create(getString(R.string.toolbar_toggle_logo), v -> { in onCreate()
129 mButtons.add(Pair.create(getString(R.string.toolbar_cycle_state), v -> { in onCreate()
150 mButtons.add(Pair.create(getString(R.string.toolbar_toggle_background), in onCreate()
183 mButtons.add(Pair.create(getString(R.string.toolbar_add_icon), v -> { in onCreate()
203 mButtons.add(Pair.create(getString(R.string.toolbar_add_switch), v -> { in onCreate()
216 mButtons.add(Pair.create(getString(R.string.toolbar_add_text), v -> { in onCreate()
339 mButtons.add(Pair.create(getString(R.string.toolbar_toggle_enable), in onCreate()
[all …]

12345678910>>...119