Home
last modified time | relevance | path

Searched refs:operation (Results 1 – 25 of 187) sorted by relevance

12345678

/frameworks/ml/nn/common/operations/
DLSTM.cpp39 LSTMCell::LSTMCell(const Operation& operation, in LSTMCell() argument
41 input_ = GetInput(operation, operands, kInputTensor); in LSTMCell()
43 input_to_input_weights_ = GetInput(operation, operands, kInputToInputWeightsTensor); // optional in LSTMCell()
44 input_to_forget_weights_ = GetInput(operation, operands, kInputToForgetWeightsTensor); in LSTMCell()
45 input_to_cell_weights_ = GetInput(operation, operands, kInputToCellWeightsTensor); in LSTMCell()
46 input_to_output_weights_ = GetInput(operation, operands, kInputToOutputWeightsTensor); in LSTMCell()
49 GetInput(operation, operands, kRecurrentToInputWeightsTensor); // optional in LSTMCell()
50 recurrent_to_forget_weights_ = GetInput(operation, operands, kRecurrentToForgetWeightsTensor); in LSTMCell()
51 recurrent_to_cell_weights_ = GetInput(operation, operands, kRecurrentToCellWeightsTensor); in LSTMCell()
52 recurrent_to_output_weights_ = GetInput(operation, operands, kRecurrentToOutputWeightsTensor); in LSTMCell()
[all …]
DRNN.cpp25 RNN::RNN(const Operation& operation, in RNN() argument
27 input_ = GetInput(operation, operands, kInputTensor); in RNN()
28 weights_ = GetInput(operation, operands, kWeightsTensor); in RNN()
29 recurrent_weights_ = GetInput(operation, operands, kRecurrentWeightsTensor); in RNN()
30 hidden_state_in_ = GetInput(operation, operands, kHiddenStateInTensor); in RNN()
31 bias_ = GetInput(operation, operands, kBiasTensor); in RNN()
34 getScalarData<int32_t>(operands[operation.inputs[kActivationParam]])); in RNN()
36 hidden_state_out_ = GetOutput(operation, operands, kHiddenStateOutTensor); in RNN()
37 output_ = GetOutput(operation, operands, kOutputTensor); in RNN()
40 bool RNN::Prepare(const Operation &operation, in Prepare() argument
[all …]
DSVDF.cpp39 SVDF::SVDF(const Operation& operation, in SVDF() argument
41 input_ = GetInput(operation, operands, kInputTensor); in SVDF()
42 weights_feature_ = GetInput(operation, operands, kWeightsFeatureTensor); in SVDF()
43 weights_time_ = GetInput(operation, operands, kWeightsTimeTensor); in SVDF()
44 bias_ = GetInput(operation, operands, kBiasTensor); in SVDF()
45 state_in_ = GetInput(operation, operands, kStateInTensor); in SVDF()
47 params_.rank_ = getScalarData<int>(*GetInput(operation, operands, kRankParam)); in SVDF()
49 *GetInput(operation, operands, kActivationParam))); in SVDF()
51 state_out_ = GetOutput(operation, operands, kStateOutTensor); in SVDF()
52 output_ = GetOutput(operation, operands, kOutputTensor); in SVDF()
[all …]
DLSHProjection.cpp26 LSHProjection::LSHProjection(const Operation& operation, in LSHProjection() argument
28 input_ = GetInput(operation, operands, kInputTensor); in LSHProjection()
29 weight_ = GetInput(operation, operands, kWeightTensor); in LSHProjection()
30 hash_ = GetInput(operation, operands, kHashTensor); in LSHProjection()
33 getScalarData<int32_t>(*GetInput(operation, operands, kTypeParam))); in LSHProjection()
35 output_ = GetOutput(operation, operands, kOutputTensor); in LSHProjection()
38 bool LSHProjection::Prepare(const Operation &operation, in Prepare() argument
41 const int num_inputs = NumInputsWithValues(operation, operands); in Prepare()
43 NN_CHECK_EQ(NumOutputs(operation), 1); in Prepare()
45 const RunTimeOperandInfo *hash = GetInput(operation, operands, kHashTensor); in Prepare()
[all …]
DHashtableLookup.cpp34 HashtableLookup::HashtableLookup(const Operation& operation, in HashtableLookup() argument
36 lookup_ = GetInput(operation, operands, kLookupTensor); in HashtableLookup()
37 key_ = GetInput(operation, operands, kKeyTensor); in HashtableLookup()
38 value_ = GetInput(operation, operands, kValueTensor); in HashtableLookup()
40 output_ = GetOutput(operation, operands, kOutputTensor); in HashtableLookup()
41 hits_ = GetOutput(operation, operands, kHitsTensor); in HashtableLookup()
DEmbeddingLookup.cpp26 EmbeddingLookup::EmbeddingLookup(const Operation& operation, in EmbeddingLookup() argument
28 value_ = GetInput(operation, operands, kValueTensor); in EmbeddingLookup()
29 lookup_ = GetInput(operation, operands, kLookupTensor); in EmbeddingLookup()
31 output_ = GetOutput(operation, operands, kOutputTensor); in EmbeddingLookup()
/frameworks/base/cmds/statsd/tests/condition/
DCombinationConditionTracker_test.cpp28 LogicalOperation operation = LogicalOperation::AND; in TEST() local
40 EXPECT_EQ(evaluateCombinationCondition(children, operation, conditionResults), in TEST()
45 LogicalOperation operation = LogicalOperation::AND; in TEST() local
57 EXPECT_FALSE(evaluateCombinationCondition(children, operation, conditionResults)); in TEST()
64 EXPECT_TRUE(evaluateCombinationCondition(children, operation, conditionResults)); in TEST()
69 LogicalOperation operation = LogicalOperation::OR; in TEST() local
81 EXPECT_TRUE(evaluateCombinationCondition(children, operation, conditionResults)); in TEST()
88 EXPECT_FALSE(evaluateCombinationCondition(children, operation, conditionResults)); in TEST()
93 LogicalOperation operation = LogicalOperation::NOT; in TEST() local
101 EXPECT_FALSE(evaluateCombinationCondition(children, operation, conditionResults)); in TEST()
[all …]
/frameworks/support/compat/src/main/java/androidx/core/app/
DAlarmManagerCompat.java58 @NonNull PendingIntent showIntent, @NonNull PendingIntent operation) { in setAlarmClock() argument
61 operation); in setAlarmClock()
64 operation); in setAlarmClock()
116 long triggerAtMillis, @NonNull PendingIntent operation) { in setAndAllowWhileIdle() argument
118 alarmManager.setAndAllowWhileIdle(type, triggerAtMillis, operation); in setAndAllowWhileIdle()
120 alarmManager.set(type, triggerAtMillis, operation); in setAndAllowWhileIdle()
161 @NonNull PendingIntent operation) { in setExact() argument
163 alarmManager.setExact(type, triggerAtMillis, operation); in setExact()
165 alarmManager.set(type, triggerAtMillis, operation); in setExact()
221 long triggerAtMillis, @NonNull PendingIntent operation) { in setExactAndAllowWhileIdle() argument
[all …]
/frameworks/base/services/core/java/com/android/server/location/
DGnssStatusListenerHelper.java46 Operation operation; in onStatusChanged() local
48 operation = new Operation() { in onStatusChanged()
55 operation = new Operation() { in onStatusChanged()
62 foreach(operation); in onStatusChanged()
66 Operation operation = new Operation() { in onFirstFix() local
72 foreach(operation); in onFirstFix()
82 Operation operation = new Operation() { in onSvStatusChanged() local
94 foreach(operation); in onSvStatusChanged()
98 Operation operation = new Operation() { in onNmeaReceived() local
104 foreach(operation); in onNmeaReceived()
DRemoteListenerHelper.java136 protected void foreach(ListenerOperation<TListener> operation) { in foreach() argument
138 foreachUnsafe(operation); in foreach()
173 private void foreachUnsafe(ListenerOperation<TListener> operation) { in foreachUnsafe() argument
175 post(linkedListener.getUnderlyingListener(), operation); in foreachUnsafe() local
179 private void post(TListener listener, ListenerOperation<TListener> operation) { in post() argument
180 if (operation != null) { in post()
181 mHandler.post(new HandlerRunnable(listener, operation)); in post()
200 … ListenerOperation<TListener> operation = getHandlerOperation(registrationState); in tryRegister()
201 foreachUnsafe(operation); in tryRegister()
264 public HandlerRunnable(TListener listener, ListenerOperation<TListener> operation) { in HandlerRunnable() argument
[all …]
/frameworks/base/core/java/android/app/
DAlarmManager.java349 public void set(@AlarmType int type, long triggerAtMillis, PendingIntent operation) { in set() argument
350 setImpl(type, triggerAtMillis, legacyExactLength(), 0, 0, operation, null, null, in set()
438 long intervalMillis, PendingIntent operation) { in setRepeating() argument
439 setImpl(type, triggerAtMillis, legacyExactLength(), intervalMillis, 0, operation, in setRepeating()
488 PendingIntent operation) { in setWindow() argument
489 setImpl(type, windowStartMillis, windowLengthMillis, 0, 0, operation, in setWindow()
541 public void setExact(@AlarmType int type, long triggerAtMillis, PendingIntent operation) { in setExact() argument
542 setImpl(type, triggerAtMillis, WINDOW_EXACT, 0, 0, operation, null, null, null, in setExact()
608 public void setAlarmClock(AlarmClockInfo info, PendingIntent operation) { in setAlarmClock() argument
609 setImpl(RTC_WAKEUP, info.getTriggerTime(), WINDOW_EXACT, 0, 0, operation, in setAlarmClock()
[all …]
/frameworks/ml/nn/common/
DGraphDump.cpp102 const Operation& operation = model.operations[i]; in graphDump() local
104 const uint32_t maxArity = std::max(operation.inputs.size(), operation.outputs.size()); in graphDump()
106 if (maxArity == operation.inputs.size()) { in graphDump()
113 << toString(operation.type) << "\"]" << std::endl; in graphDump()
116 for (unsigned in = 0, inE = operation.inputs.size(); in < inE; in++) { in graphDump()
117 outStream << " d" << operation.inputs[in] << " -> n" << i; in graphDump()
127 for (unsigned out = 0, outE = operation.outputs.size(); out < outE; out++) { in graphDump()
128 outStream << " n" << i << " -> d" << operation.outputs[out]; in graphDump()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnection.java1323 Operation operation = mOperations[index]; in beginOperation() local
1324 if (operation == null) { in beginOperation()
1325 operation = new Operation(); in beginOperation()
1326 mOperations[index] = operation; in beginOperation()
1328 operation.mFinished = false; in beginOperation()
1329 operation.mException = null; in beginOperation()
1330 if (operation.mBindArgs != null) { in beginOperation()
1331 operation.mBindArgs.clear(); in beginOperation()
1334 operation.mStartWallTime = System.currentTimeMillis(); in beginOperation()
1335 operation.mStartTime = SystemClock.uptimeMillis(); in beginOperation()
[all …]
/frameworks/ml/nn/common/include/
DCpuExecutor.h190 inline int NumInputsWithValues(const Operation &operation, in NumInputsWithValues() argument
192 const std::vector<uint32_t> &inputs = operation.inputs; in NumInputsWithValues()
199 inline int NumOutputs(const Operation &operation) { in NumOutputs() argument
200 return operation.outputs.size(); in NumOutputs()
211 inline RunTimeOperandInfo *GetInput(const Operation &operation, in GetInput() argument
214 return &operands[operation.inputs[index]]; in GetInput()
217 inline RunTimeOperandInfo *GetOutput(const Operation &operation, in GetOutput() argument
220 return &operands[operation.outputs[index]]; in GetOutput()
DUtils.h171 bool compliantWithV1_0(const V1_0::Operation& operation);
172 bool compliantWithV1_0(const V1_1::Operation& operation);
173 bool compliantWithV1_1(const V1_0::Operation& operation);
174 bool compliantWithV1_1(const V1_1::Operation& operation);
191 V1_0::Operation convertToV1_0(const V1_0::Operation& operation);
192 V1_0::Operation convertToV1_0(const V1_1::Operation& operation);
193 V1_1::Operation convertToV1_1(const V1_0::Operation& operation);
194 V1_1::Operation convertToV1_1(const V1_1::Operation& operation);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintPreviewController.java148 Message operation = mHandler.obtainMessage(MyHandler.MSG_CLOSE); in onContentUpdated() local
149 mHandler.enqueueOperation(operation); in onContentUpdated()
156 Message operation = mHandler.obtainMessage(MyHandler.MSG_OPEN); in onContentUpdated() local
157 mHandler.enqueueOperation(operation); in onContentUpdated()
168 Message operation = mHandler.obtainMessage(MyHandler.MSG_UPDATE, args); in onContentUpdated() local
169 mHandler.enqueueOperation(operation); in onContentUpdated()
173 operation = mHandler.obtainMessage(MyHandler.MSG_START_PRELOAD); in onContentUpdated()
174 mHandler.enqueueOperation(operation); in onContentUpdated()
188 Message operation = mHandler.obtainMessage(MyHandler.MSG_CLOSE); in onReleaseRequested()
189 mHandler.enqueueOperation(operation); in onReleaseRequested()
[all …]
/frameworks/base/location/java/android/location/
DGnssNavigationMessageCallbackTransport.java55 ListenerOperation<GnssNavigationMessage.Callback> operation = in onGnssNavigationMessageReceived() local
63 foreach(operation); in onGnssNavigationMessageReceived()
68 ListenerOperation<GnssNavigationMessage.Callback> operation = in onStatusChanged() local
76 foreach(operation); in onStatusChanged()
DGnssMeasurementCallbackTransport.java53 ListenerOperation<GnssMeasurementsEvent.Callback> operation = in onGnssMeasurementsReceived() local
61 foreach(operation); in onGnssMeasurementsReceived()
66 ListenerOperation<GnssMeasurementsEvent.Callback> operation = in onStatusChanged() local
74 foreach(operation); in onStatusChanged()
DLocalListenerHelper.java107 private void executeOperation(ListenerOperation<TListener> operation, TListener listener) { in executeOperation() argument
109 operation.execute(listener); in executeOperation()
116 protected void foreach(final ListenerOperation<TListener> operation) { in foreach() argument
123 executeOperation(operation, listener.getKey()); in foreach()
128 executeOperation(operation, listener.getKey()); in foreach()
/frameworks/base/tools/preload/
DWritePreloadedClassFile.java100 for (Operation operation : proc.operations) { in main()
101 LoadedClass loadedClass = operation.loadedClass; in main()
137 for (Operation operation : proc.operations) { in addAllClassesFrom()
139 = Policy.isPreloadable(operation.loadedClass); in addAllClassesFrom()
141 toPreload.add(operation.loadedClass); in addAllClassesFrom()
/frameworks/base/core/tests/coretests/src/android/content/
DContentProviderOperationTest.java439 private int operationGetType(ContentProviderOperation operation) in operationGetType() argument
443 return field.getInt(operation); in operationGetType()
446 private Uri operationGetUri(ContentProviderOperation operation) in operationGetUri() argument
450 return (Uri) field.get(operation); in operationGetUri()
453 private String operationGetSelection(ContentProviderOperation operation) in operationGetSelection() argument
457 return (String) field.get(operation); in operationGetSelection()
460 private String[] operationGetSelectionArgs(ContentProviderOperation operation) in operationGetSelectionArgs() argument
464 return (String[]) field.get(operation); in operationGetSelectionArgs()
467 private ContentValues operationGetValues(ContentProviderOperation operation) in operationGetValues() argument
471 return (ContentValues) field.get(operation); in operationGetValues()
[all …]
/frameworks/av/include/media/
DVolumeShaper.h364 explicit Operation(const Operation &operation) in Operation() argument
365 : Operation(operation.mFlags, operation.mReplaceId, operation.mXOffset) { in Operation()
368 explicit Operation(const sp<Operation> &operation) in Operation() argument
369 : Operation(*operation.get()) { in Operation()
577 const sp<VolumeShaper::Operation> &operation) in VolumeShaper() argument
579 , mOperation(operation) // ditto in VolumeShaper()
766 sp<VolumeShaper::Operation> operation(new VolumeShaper::Operation(operation_in)); in applyVolumeShaper()
768 VS_LOG("applyVolumeShaper:operation: %s", operation->toString().c_str()); in applyVolumeShaper()
774 if (operation == nullptr) { in applyVolumeShaper()
787 const int replaceId = operation->getReplaceId(); in applyVolumeShaper()
[all …]
/frameworks/native/libs/ui/
DRegion.cpp331 return operation(rhs, op_or); in merge()
334 return operation(rhs, op_xor); in mergeExclusive()
337 return operation(rhs, op_and); in intersect()
340 return operation(rhs, op_nand); in subtract()
342 const Region Region::operation(const Rect& rhs, uint32_t op) const { in operation() function in android::Region
351 return operation(rhs, op_or); in merge()
354 return operation(rhs, op_xor); in mergeExclusive()
357 return operation(rhs, op_and); in intersect()
360 return operation(rhs, op_nand); in subtract()
362 const Region Region::operation(const Region& rhs, uint32_t op) const { in operation() function in android::Region
[all …]
/frameworks/base/cmds/appwidget/src/com/android/commands/appwidget/
DAppWidget.java70 String operation = mTokenizer.nextArg(); in parseCommand() local
71 if (ARGUMENT_GRANT_BIND.equals(operation)) { in parseCommand()
73 } else if (ARGUMENT_REVOKE_BIND.equals(operation)) { in parseCommand()
76 throw new IllegalArgumentException("Unsupported operation: " + operation); in parseCommand()
/frameworks/base/cmds/statsd/tests/
DLogEntryMatcher_test.cpp639 LogicalOperation operation = LogicalOperation::AND; in TEST() local
651 EXPECT_FALSE(combinationMatch(children, operation, matcherResults)); in TEST()
658 EXPECT_TRUE(combinationMatch(children, operation, matcherResults)); in TEST()
663 LogicalOperation operation = LogicalOperation::OR; in TEST() local
675 EXPECT_TRUE(combinationMatch(children, operation, matcherResults)); in TEST()
682 EXPECT_FALSE(combinationMatch(children, operation, matcherResults)); in TEST()
687 LogicalOperation operation = LogicalOperation::NOT; in TEST() local
695 EXPECT_FALSE(combinationMatch(children, operation, matcherResults)); in TEST()
699 EXPECT_TRUE(combinationMatch(children, operation, matcherResults)); in TEST()
704 LogicalOperation operation = LogicalOperation::NAND; in TEST() local
[all …]

12345678