Home
last modified time | relevance | path

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

12345678910>>...12

/packages/modules/NeuralNetworks/common/include/
DOperationResolver.h41 std::function<bool(IOperationExecutionContext*)> prepare; member
57 std::function<bool(IOperationExecutionContext*)> prepare, in OperationRegistration()
62 prepare(std::move(prepare)), in OperationRegistration()
142 #define NN_REGISTER_OPERATION(identifier, operationName, validate, prepare, execute, ...) \ argument
145 validate, prepare, execute, {__VA_ARGS__}); \
161 #define NN_REGISTER_OPERATION_DEFAULT_VALIDATION(identifier, prepare, execute, ...) \ argument
164 prepare, execute, __VA_ARGS__);
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DCarHeadsUpNotificationManagerTest.java244 Looper.prepare(); in maybeShowHeadsUp_isImportanceHigh_returnsNotNull()
260 Looper.prepare(); in getActiveHeadsUpNotifications_shouldReturnOne()
276 Looper.prepare(); in getActiveHeadsUpNotifications_diffNotifications_shouldReturnTwo()
294 Looper.prepare(); in getActiveHeadsUpNotifications_sameNotifications_shouldReturnOne()
324 Looper.prepare(); in maybeShowHeadsUp_categoryMessage_returnsNotNull()
341 Looper.prepare(); in maybeShowHeadsUp_categoryCall_returnsNotNull()
356 Looper.prepare(); in maybeShowHeadsUp_categoryNavigation_returnsNotNull()
372 Looper.prepare(); in maybeShowHeadsUp_inboxHeadsUp_returnsNotNull()
387 Looper.prepare(); in maybeShowHeadsUp_isSignedWithPlatformKey_returnsNotNull()
403 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/cpu_operations/
DReduce.cpp65 bool prepare(IOperationExecutionContext* context) { in prepare() function
194 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(REDUCE_PROD, reduce::prepare, reduce::executeProd);
195 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(REDUCE_SUM, reduce::prepare, reduce::executeSum);
196 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(REDUCE_MAX, reduce::prepare, reduce::executeMax);
197 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(REDUCE_MIN, reduce::prepare, reduce::executeMin);
198 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(REDUCE_ANY, reduce::prepare, reduce::executeAny);
199 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(REDUCE_ALL, reduce::prepare, reduce::executeAll);
DElementwise.cpp149 bool prepare(IOperationExecutionContext* context) { in prepare() function
186 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(ABS, elementwise::prepare, elementwise::executeAbs);
187 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(EXP, elementwise::prepare, elementwise::executeExp);
190 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(LOG, elementwise::prepare, elementwise::executeLog);
191 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(RSQRT, elementwise::prepare, elementwise::executeRsqrt);
192 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(SIN, elementwise::prepare, elementwise::executeSin);
193 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(SQRT, elementwise::prepare, elementwise::executeSqrt);
DComparisons.cpp120 bool prepare(IOperationExecutionContext* context) { in prepare() function
244 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(LESS, comparisons::prepare, comparisons::executeLess);
245 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(LESS_EQUAL, comparisons::prepare,
247 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(EQUAL, comparisons::prepare, comparisons::executeEqual);
248 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(NOT_EQUAL, comparisons::prepare,
250 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(GREATER_EQUAL, comparisons::prepare,
252 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(GREATER, comparisons::prepare,
DLogicalAndOr.cpp57 bool prepare(IOperationExecutionContext* context) { in prepare() function
83 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(LOGICAL_AND, logical::prepare, logical::executeAnd);
84 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(LOGICAL_OR, logical::prepare, logical::executeOr);
DRank.cpp29 bool prepare(IOperationExecutionContext* context) { in prepare() function
42 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(RANK, rank_op::prepare, rank_op::execute);
DActivation.cpp363 bool prepare(OperationType opType, IOperationExecutionContext* context) { in prepare() function
586 std::bind(activation::prepare, OperationType::RELU, _1),
589 std::bind(activation::prepare, OperationType::RELU1, _1),
592 std::bind(activation::prepare, OperationType::RELU6, _1),
595 std::bind(activation::prepare, OperationType::LOGISTIC,
599 std::bind(activation::prepare, OperationType::TANH, _1),
602 std::bind(activation::prepare, OperationType::HARD_SWISH,
DLogicalNot.cpp39 bool prepare(IOperationExecutionContext* context) { in prepare() function
54 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(LOGICAL_NOT, logical_not::prepare, logical_not::execute);
DNeg.cpp43 bool prepare(IOperationExecutionContext* context) { in prepare() function
71 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(NEG, neg::prepare, neg::execute);
DFill.cpp42 bool prepare(IOperationExecutionContext* context) { in prepare() function
70 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(FILL, fill_op::prepare, fill_op::execute);
DElu.cpp49 bool prepare(IOperationExecutionContext* context) { in prepare() function
77 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(ELU, elu::prepare, elu::execute);
DReverse.cpp40 bool prepare(IOperationExecutionContext* context) { in prepare() function
94 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(REVERSE, reverse_op::prepare, reverse_op::execute);
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pan/
DBluetoothTetheringNetworkFactoryTest.java64 Looper.prepare(); in networkStartReverseTetherEmptyIface()
79 Looper.prepare(); in networkStartReverseTether()
94 Looper.prepare(); in networkStartReverseTetherStop()
122 Looper.prepare(); in networkStopEmptyIface()
/packages/apps/Contacts/src/com/android/contacts/preference/
DPhoneticNameDisplayPreference.java39 prepare(); in PhoneticNameDisplayPreference()
44 prepare(); in PhoneticNameDisplayPreference()
47 private void prepare() { in prepare() method in PhoneticNameDisplayPreference
DSortOrderPreference.java36 prepare(); in SortOrderPreference()
41 prepare(); in SortOrderPreference()
44 private void prepare() { in prepare() method in SortOrderPreference
DDisplayOrderPreference.java36 prepare(); in DisplayOrderPreference()
41 prepare(); in DisplayOrderPreference()
44 private void prepare() { in prepare() method in DisplayOrderPreference
/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/
DONSProfileSelectorTest.java197 Looper.prepare(); in testStartProfileSelectionWithNoOpportunisticSub()
264 Looper.prepare(); in testStartProfileSelectionSuccess()
362 Looper.prepare(); in testStartProfileSelectionWithDifferentPrioritySubInfo()
436 Looper.prepare(); in testStartProfileSelectionWithActivePrimarySimOnESim()
494 Looper.prepare(); in testselectProfileForDataWithNoOpportunsticSub()
526 Looper.prepare(); in testselectProfileForDataWithInActiveSub()
559 Looper.prepare(); in testselectProfileForDataWithInvalidSubId()
595 Looper.prepare(); in testselectProfileForDataWithValidSub()
668 Looper.prepare(); in testStartProfileSelectionSuccessWithSameArgumentsAgain()
705 Looper.prepare(); in testStartProfileSelectionSuccessWithSameArgumentsAgain()
[all …]
/packages/modules/Connectivity/tests/cts/net/api23Test/src/android/net/cts/api23test/
DConnectivityManagerApi23Test.java51 Looper.prepare(); in setUp()
66 ConnectivityReceiver.prepare(); in testConnectivityChanged_manifestRequestOnly_shouldNotReceiveIntent()
103 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/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastAlertDialogTest.java252 Looper.prepare(); in testOnNewIntent()
287 Looper.prepare(); in testOnResume()
302 Looper.prepare(); in testOnPause()
317 Looper.prepare(); in testOnKeyDown()
361 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/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.java47 Looper.prepare(); in setUp()
53 Looper.prepare(); in setUp()

12345678910>>...12