/packages/modules/NeuralNetworks/common/include/ |
D | OperationResolver.h | 38 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/ |
D | CarHeadsUpNotificationManagerTest.java | 243 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 …]
|
D | HeadsUpEntryTest.java | 70 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/ |
D | Elementwise.cpp | 128 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,
|
D | Reduce.cpp | 130 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,
|
D | Comparisons.cpp | 145 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,
|
D | LogicalAndOr.cpp | 74 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,
|
D | Activation.cpp | 409 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),
|
D | Rank.cpp | 52 bool prepare(IOperationExecutionContext* context) { in prepare() function 65 NN_REGISTER_OPERATION(RANK, "RANK", rank_op::validate, rank_op::prepare, rank_op::execute);
|
D | LogicalNot.cpp | 55 bool prepare(IOperationExecutionContext* context) { in prepare() function 70 NN_REGISTER_OPERATION(LOGICAL_NOT, "LOGICAL_NOT", logical_not::validate, logical_not::prepare,
|
D | Neg.cpp | 62 bool prepare(IOperationExecutionContext* context) { in prepare() function 90 NN_REGISTER_OPERATION(NEG, neg::kOperationName, neg::validate, neg::prepare, neg::execute);
|
D | Elu.cpp | 72 bool prepare(IOperationExecutionContext* context) { in prepare() function 100 NN_REGISTER_OPERATION(ELU, "ELU", elu::validate, elu::prepare, elu::execute);
|
D | Fill.cpp | 83 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/ |
D | ONSProfileSelectorTest.java | 177 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 …]
|
D | ONSNetworkScanCtlrTest.java | 85 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/ |
D | DefaultAccountPreference.java | 40 prepare(); in DefaultAccountPreference() 45 prepare(); in DefaultAccountPreference() 58 prepare(); in onCreateDialogView() 62 private void prepare() { in prepare() method in DefaultAccountPreference
|
D | PhoneticNameDisplayPreference.java | 39 prepare(); in PhoneticNameDisplayPreference() 44 prepare(); in PhoneticNameDisplayPreference() 47 private void prepare() { in prepare() method in PhoneticNameDisplayPreference
|
D | DisplayOrderPreference.java | 36 prepare(); in DisplayOrderPreference() 41 prepare(); in DisplayOrderPreference() 44 private void prepare() { in prepare() method in DisplayOrderPreference
|
D | SortOrderPreference.java | 36 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/ |
D | CellBroadcastAlertDialogTest.java | 192 Looper.prepare(); in testOnNewIntent() 227 Looper.prepare(); in testOnResume() 242 Looper.prepare(); in testOnPause() 257 Looper.prepare(); in testOnKeyDown() 301 Looper.prepare(); in testOnKeyDownWithEmptyMessageList()
|
D | CellBroadcastListActivityTest.java | 140 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/ |
D | ConnectivityManagerApi23Test.java | 51 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/ |
D | SampleSourceExtractorTest.java | 91 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/ |
D | CheckedTask.java | 44 protected void prepare() {} in prepare() method in CheckedTask 57 prepare(); in onPreExecute()
|
/packages/services/Telephony/tests/src/com/android/ |
D | TelephonyTestBase.java | 45 Looper.prepare(); in setUp() 51 Looper.prepare(); in setUp()
|