Home
last modified time | relevance | path

Searched refs:prepare (Results 1 – 25 of 280) sorted by relevance

12345678910>>...12

/packages/modules/NeuralNetworks/common/include/
DOperationResolver.h38 std::function<bool(IOperationExecutionContext*)> prepare; member
54 std::function<bool(IOperationExecutionContext*)> prepare, in OperationRegistration()
59 prepare(std::move(prepare)), in OperationRegistration()
124 #define NN_REGISTER_OPERATION(identifier, operationName, validate, prepare, execute, ...) \ argument
127 validate, prepare, execute, {__VA_ARGS__}); \
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DCarHeadsUpNotificationManagerTest.java243 Looper.prepare(); in maybeShowHeadsUp_isImportanceHigh_returnsNotNull()
259 Looper.prepare(); in getActiveHeadsUpNotifications_shouldReturnOne()
275 Looper.prepare(); in getActiveHeadsUpNotifications_diffNotifications_shouldReturnTwo()
293 Looper.prepare(); in getActiveHeadsUpNotifications_sameNotifications_shouldReturnOne()
323 Looper.prepare(); in maybeShowHeadsUp_categoryMessage_returnsNotNull()
340 Looper.prepare(); in maybeShowHeadsUp_categoryCall_returnsNotNull()
355 Looper.prepare(); in maybeShowHeadsUp_categoryNavigation_returnsNotNull()
371 Looper.prepare(); in maybeShowHeadsUp_inboxHeadsUp_returnsNotNull()
386 Looper.prepare(); in maybeShowHeadsUp_isSignedWithPlatformKey_returnsNotNull()
402 Looper.prepare(); in maybeShowHeadsUp_isSystemApp_returnsNotNull()
[all …]
DHeadsUpEntryTest.java70 Looper.prepare(); in setupBaseActivityAndLayout()
79 Looper.prepare(); in headsUpEntry_shouldInitializePostTime()
106 Looper.prepare(); in setNotificationView_shouldSetNotificationView()
118 Looper.prepare(); in setViewHolder_shouldSetViewHolder()
/packages/modules/NeuralNetworks/common/operations/
DElementwise.cpp128 bool prepare(IOperationExecutionContext* context) { in prepare() function
169 NN_REGISTER_OPERATION(ABS, "ABS", elementwise::validateAbs, elementwise::prepare,
171 NN_REGISTER_OPERATION(EXP, "EXP", elementwise::validate, elementwise::prepare,
175 NN_REGISTER_OPERATION(LOG, "LOG", elementwise::validate, elementwise::prepare,
177 NN_REGISTER_OPERATION(RSQRT, "RSQRT", elementwise::validate, elementwise::prepare,
179 NN_REGISTER_OPERATION(SIN, "SIN", elementwise::validate, elementwise::prepare,
181 NN_REGISTER_OPERATION(SQRT, "SQRT", elementwise::validate, elementwise::prepare,
DReduce.cpp130 bool prepare(IOperationExecutionContext* context) { in prepare() function
259 NN_REGISTER_OPERATION(REDUCE_PROD, "REDUCE_PROD", reduce::validateProdSum, reduce::prepare,
261 NN_REGISTER_OPERATION(REDUCE_SUM, "REDUCE_SUM", reduce::validateProdSum, reduce::prepare,
263 NN_REGISTER_OPERATION(REDUCE_MAX, "REDUCE_MAX", reduce::validateMaxMin, reduce::prepare,
265 NN_REGISTER_OPERATION(REDUCE_MIN, "REDUCE_MIN", reduce::validateMaxMin, reduce::prepare,
267 NN_REGISTER_OPERATION(REDUCE_ANY, "REDUCE_ANY", reduce::validateLogical, reduce::prepare,
269 NN_REGISTER_OPERATION(REDUCE_ALL, "REDUCE_ALL", reduce::validateLogical, reduce::prepare,
DComparisons.cpp145 bool prepare(IOperationExecutionContext* context) { in prepare() function
269 NN_REGISTER_OPERATION(LESS, "LESS", comparisons::validate, comparisons::prepare,
271 NN_REGISTER_OPERATION(LESS_EQUAL, "LESS_EQUAL", comparisons::validate, comparisons::prepare,
273 NN_REGISTER_OPERATION(EQUAL, "EQUAL", comparisons::validate, comparisons::prepare,
275 NN_REGISTER_OPERATION(NOT_EQUAL, "NOT_EQUAL", comparisons::validate, comparisons::prepare,
277 NN_REGISTER_OPERATION(GREATER_EQUAL, "GREATER_EQUAL", comparisons::validate, comparisons::prepare,
279 NN_REGISTER_OPERATION(GREATER, "GREATER", comparisons::validate, comparisons::prepare,
DLogicalAndOr.cpp74 bool prepare(IOperationExecutionContext* context) { in prepare() function
100 NN_REGISTER_OPERATION(LOGICAL_AND, "LOGICAL_AND", logical::validate, logical::prepare,
102 NN_REGISTER_OPERATION(LOGICAL_OR, "LOGICAL_OR", logical::validate, logical::prepare,
DActivation.cpp409 bool prepare(OperationType opType, IOperationExecutionContext* context) { in prepare() function
632 std::bind(activation::prepare, OperationType::RELU, _1),
635 std::bind(activation::prepare, OperationType::RELU1, _1),
638 std::bind(activation::prepare, OperationType::RELU6, _1),
642 std::bind(activation::prepare, OperationType::LOGISTIC, _1),
645 std::bind(activation::prepare, OperationType::TANH, _1),
648 std::bind(activation::prepare, OperationType::HARD_SWISH, _1),
DRank.cpp52 bool prepare(IOperationExecutionContext* context) { in prepare() function
65 NN_REGISTER_OPERATION(RANK, "RANK", rank_op::validate, rank_op::prepare, rank_op::execute);
DLogicalNot.cpp55 bool prepare(IOperationExecutionContext* context) { in prepare() function
70 NN_REGISTER_OPERATION(LOGICAL_NOT, "LOGICAL_NOT", logical_not::validate, logical_not::prepare,
DNeg.cpp62 bool prepare(IOperationExecutionContext* context) { in prepare() function
90 NN_REGISTER_OPERATION(NEG, neg::kOperationName, neg::validate, neg::prepare, neg::execute);
DElu.cpp72 bool prepare(IOperationExecutionContext* context) { in prepare() function
100 NN_REGISTER_OPERATION(ELU, "ELU", elu::validate, elu::prepare, elu::execute);
DFill.cpp83 bool prepare(IOperationExecutionContext* context) { in prepare() function
111 NN_REGISTER_OPERATION(FILL, "FILL", fill_op::validate, fill_op::prepare, fill_op::execute);
/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/
DONSProfileSelectorTest.java177 Looper.prepare(); in testStartProfileSelectionWithNoOpportunisticSub()
238 Looper.prepare(); in testStartProfileSelectionSuccess()
325 Looper.prepare(); in testStartProfileSelectionWithDifferentPrioritySubInfo()
385 Looper.prepare(); in testStartProfileSelectionWithActivePrimarySimOnESim()
436 Looper.prepare(); in testselectProfileForDataWithNoOpportunsticSub()
468 Looper.prepare(); in testselectProfileForDataWithInActiveSub()
501 Looper.prepare(); in testselectProfileForDataWithInvalidSubId()
537 Looper.prepare(); in testselectProfileForDataWithValidSub()
601 Looper.prepare(); in testStartProfileSelectionSuccessWithSameArgumentsAgain()
638 Looper.prepare(); in testStartProfileSelectionSuccessWithSameArgumentsAgain()
[all …]
DONSNetworkScanCtlrTest.java85 Looper.prepare(); in testStartFastNetworkScan()
136 Looper.prepare(); in testStartFastNetworkScanFail()
189 Looper.prepare(); in testStartFastNetworkScanWithMultipleNetworks()
241 Looper.prepare(); in testStopNetworkScan()
/packages/apps/Contacts/src/com/android/contacts/preference/
DDefaultAccountPreference.java40 prepare(); in DefaultAccountPreference()
45 prepare(); in DefaultAccountPreference()
58 prepare(); in onCreateDialogView()
62 private void prepare() { in prepare() method in DefaultAccountPreference
DPhoneticNameDisplayPreference.java39 prepare(); in PhoneticNameDisplayPreference()
44 prepare(); in PhoneticNameDisplayPreference()
47 private void prepare() { in prepare() method in PhoneticNameDisplayPreference
DDisplayOrderPreference.java36 prepare(); in DisplayOrderPreference()
41 prepare(); in DisplayOrderPreference()
44 private void prepare() { in prepare() method in DisplayOrderPreference
DSortOrderPreference.java36 prepare(); in SortOrderPreference()
41 prepare(); in SortOrderPreference()
44 private void prepare() { in prepare() method in SortOrderPreference
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastAlertDialogTest.java192 Looper.prepare(); in testOnNewIntent()
227 Looper.prepare(); in testOnResume()
242 Looper.prepare(); in testOnPause()
257 Looper.prepare(); in testOnKeyDown()
301 Looper.prepare(); in testOnKeyDownWithEmptyMessageList()
DCellBroadcastListActivityTest.java140 Looper.prepare(); in testOnActivityCreatedLoaderHistoryFromCbs()
225 Looper.prepare(); in testOnContextItemSelectedDelete()
253 Looper.prepare(); in testOnContextItemSelectedViewDetails()
314 Looper.prepare(); in testFragmentOnOptionsItemSelected()
/packages/modules/Connectivity/tests/cts/net/api23Test/src/android/net/cts/api23test/
DConnectivityManagerApi23Test.java51 Looper.prepare(); in setUp()
65 ConnectivityReceiver.prepare(); in testConnectivityChanged_manifestRequestOnly_shouldNotReceiveIntent()
102 ConnectivityReceiver.prepare(); in testConnectivityChanged_whenRegistered_shouldReceiveIntent()
/packages/apps/TV/tuner/tests/robotests/javatests/com/android/tv/tuner/exoplayer/tests/
DSampleSourceExtractorTest.java91 extractor.prepare(); in testTrickplayDisabled()
95 while (!extractor.prepare()) { in testTrickplayDisabled()
162 extractor.prepare(); in testDiskTooSlowTrickplayDisabled()
166 while (!extractor.prepare()) { in testDiskTooSlowTrickplayDisabled()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DCheckedTask.java44 protected void prepare() {} in prepare() method in CheckedTask
57 prepare(); in onPreExecute()
/packages/services/Telephony/tests/src/com/android/
DTelephonyTestBase.java45 Looper.prepare(); in setUp()
51 Looper.prepare(); in setUp()

12345678910>>...12