/frameworks/ml/nn/common/operations/ |
D | LSTM.cpp | 40 LSTMCell::LSTMCell(const Operation& operation, in LSTMCell() argument 42 input_ = GetInput(operation, operands, kInputTensor); in LSTMCell() 44 input_to_input_weights_ = GetInput(operation, operands, kInputToInputWeightsTensor); // optional in LSTMCell() 45 input_to_forget_weights_ = GetInput(operation, operands, kInputToForgetWeightsTensor); in LSTMCell() 46 input_to_cell_weights_ = GetInput(operation, operands, kInputToCellWeightsTensor); in LSTMCell() 47 input_to_output_weights_ = GetInput(operation, operands, kInputToOutputWeightsTensor); in LSTMCell() 50 GetInput(operation, operands, kRecurrentToInputWeightsTensor); // optional in LSTMCell() 51 recurrent_to_forget_weights_ = GetInput(operation, operands, kRecurrentToForgetWeightsTensor); in LSTMCell() 52 recurrent_to_cell_weights_ = GetInput(operation, operands, kRecurrentToCellWeightsTensor); in LSTMCell() 53 recurrent_to_output_weights_ = GetInput(operation, operands, kRecurrentToOutputWeightsTensor); in LSTMCell() [all …]
|
D | RNN.cpp | 25 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 …]
|
D | SVDF.cpp | 44 SVDF::SVDF(const Operation& operation, in SVDF() argument 46 input_ = GetInput(operation, operands, kInputTensor); in SVDF() 47 weights_feature_ = GetInput(operation, operands, kWeightsFeatureTensor); in SVDF() 48 weights_time_ = GetInput(operation, operands, kWeightsTimeTensor); in SVDF() 49 bias_ = GetInput(operation, operands, kBiasTensor); in SVDF() 50 state_in_ = GetInput(operation, operands, kStateInTensor); in SVDF() 52 params_.rank_ = getInt32ScalarData(*GetInput(operation, operands, kRankParam)); in SVDF() 54 *GetInput(operation, operands, kActivationParam))); in SVDF() 56 state_out_ = GetOutput(operation, operands, kStateOutTensor); in SVDF() 57 output_ = GetOutput(operation, operands, kOutputTensor); in SVDF() [all …]
|
D | LSHProjection.cpp | 26 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 …]
|
D | HashtableLookup.cpp | 34 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()
|
D | EmbeddingLookup.cpp | 26 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/support/compat/java/android/support/v4/app/ |
D | AlarmManagerCompat.java | 56 PendingIntent showIntent, PendingIntent operation) { in setAlarmClock() argument 59 operation); in setAlarmClock() 62 operation); in setAlarmClock() 114 long triggerAtMillis, PendingIntent operation) { in setAndAllowWhileIdle() argument 116 alarmManager.setAndAllowWhileIdle(type, triggerAtMillis, operation); in setAndAllowWhileIdle() 118 alarmManager.set(type, triggerAtMillis, operation); in setAndAllowWhileIdle() 159 PendingIntent operation) { in setExact() argument 161 alarmManager.setExact(type, triggerAtMillis, operation); in setExact() 163 alarmManager.set(type, triggerAtMillis, operation); in setExact() 219 long triggerAtMillis, PendingIntent operation) { in setExactAndAllowWhileIdle() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssStatusListenerHelper.java | 46 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()
|
D | RemoteListenerHelper.java | 129 protected void foreach(ListenerOperation<TListener> operation) { in foreach() argument 131 foreachUnsafe(operation); in foreach() 166 private void foreachUnsafe(ListenerOperation<TListener> operation) { in foreachUnsafe() argument 168 post(linkedListener.getUnderlyingListener(), operation); in foreachUnsafe() local 172 private void post(TListener listener, ListenerOperation<TListener> operation) { in post() argument 173 if (operation != null) { in post() 174 mHandler.post(new HandlerRunnable(listener, operation)); in post() 191 … ListenerOperation<TListener> operation = getHandlerOperation(RESULT_INTERNAL_ERROR); in tryRegister() 192 foreachUnsafe(operation); in tryRegister() 255 public HandlerRunnable(TListener listener, ListenerOperation<TListener> operation) { in HandlerRunnable() argument [all …]
|
/frameworks/base/core/java/android/app/ |
D | AlarmManager.java | 346 public void set(@AlarmType int type, long triggerAtMillis, PendingIntent operation) { in set() argument 347 setImpl(type, triggerAtMillis, legacyExactLength(), 0, 0, operation, null, null, in set() 435 long intervalMillis, PendingIntent operation) { in setRepeating() argument 436 setImpl(type, triggerAtMillis, legacyExactLength(), intervalMillis, 0, operation, in setRepeating() 485 PendingIntent operation) { in setWindow() argument 486 setImpl(type, windowStartMillis, windowLengthMillis, 0, 0, operation, in setWindow() 538 public void setExact(@AlarmType int type, long triggerAtMillis, PendingIntent operation) { in setExact() argument 539 setImpl(type, triggerAtMillis, WINDOW_EXACT, 0, 0, operation, null, null, null, in setExact() 593 public void setAlarmClock(AlarmClockInfo info, PendingIntent operation) { in setAlarmClock() argument 594 setImpl(RTC_WAKEUP, info.getTriggerTime(), WINDOW_EXACT, 0, 0, operation, in setAlarmClock() [all …]
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteConnection.java | 1305 Operation operation = mOperations[index]; in beginOperation() local 1306 if (operation == null) { in beginOperation() 1307 operation = new Operation(); in beginOperation() 1308 mOperations[index] = operation; in beginOperation() 1310 operation.mFinished = false; in beginOperation() 1311 operation.mException = null; in beginOperation() 1312 if (operation.mBindArgs != null) { in beginOperation() 1313 operation.mBindArgs.clear(); in beginOperation() 1316 operation.mStartWallTime = System.currentTimeMillis(); in beginOperation() 1317 operation.mStartTime = SystemClock.uptimeMillis(); in beginOperation() [all …]
|
/frameworks/ml/nn/common/include/ |
D | CpuExecutor.h | 122 inline int NumInputsWithValues(const Operation &operation, in NumInputsWithValues() argument 124 const std::vector<uint32_t> &inputs = operation.inputs; in NumInputsWithValues() 131 inline int NumOutputs(const Operation &operation) { in NumOutputs() argument 132 return operation.outputs.size(); in NumOutputs() 143 inline RunTimeOperandInfo *GetInput(const Operation &operation, in GetInput() argument 146 return &operands[operation.inputs[index]]; in GetInput() 149 inline RunTimeOperandInfo *GetOutput(const Operation &operation, in GetOutput() argument 152 return &operands[operation.outputs[index]]; in GetOutput()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | PrintPreviewController.java | 148 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/native/services/audiomanager/ |
D | IPlayer.cpp | 95 const sp<VolumeShaper::Operation>& operation) { in applyVolumeShaper() argument 108 status = operation.get() == nullptr in applyVolumeShaper() 111 ?: operation->writeToParcel(&data); in applyVolumeShaper() 165 sp<VolumeShaper::Operation> operation; in onTransact() local 175 operation = new VolumeShaper::Operation(); in onTransact() 176 status = operation->readFromParcel(data); in onTransact() 180 applyVolumeShaper(configuration, operation); in onTransact()
|
/frameworks/base/location/java/android/location/ |
D | GnssMeasurementCallbackTransport.java | 53 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()
|
D | GnssNavigationMessageCallbackTransport.java | 55 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()
|
D | LocalListenerHelper.java | 102 private void executeOperation(ListenerOperation<TListener> operation, TListener listener) { in executeOperation() argument 104 operation.execute(listener); in executeOperation() 111 protected void foreach(final ListenerOperation<TListener> operation) { in foreach() argument 118 executeOperation(operation, listener.getKey()); in foreach() 123 executeOperation(operation, listener.getKey()); in foreach()
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
D | h264bsd_slice_header.c | 582 u32 operation; in DecRefPicMarking() local 630 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &operation); in DecRefPicMarking() 633 if (operation > 6) in DecRefPicMarking() 639 pDecRefPicMarking->operation[i]. in DecRefPicMarking() 640 memoryManagementControlOperation = operation; in DecRefPicMarking() 641 if ((operation == 1) || (operation == 3)) in DecRefPicMarking() 646 pDecRefPicMarking->operation[i].differenceOfPicNums = in DecRefPicMarking() 649 if (operation == 2) in DecRefPicMarking() 654 pDecRefPicMarking->operation[i].longTermPicNum = value; in DecRefPicMarking() 656 if ((operation == 3) || (operation == 6)) in DecRefPicMarking() [all …]
|
/frameworks/base/tools/preload/ |
D | WritePreloadedClassFile.java | 100 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/ |
D | ContentProviderOperationTest.java | 439 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/ |
D | VolumeShaper.h | 362 explicit Operation(const Operation &operation) in Operation() argument 363 : Operation(operation.mFlags, operation.mReplaceId, operation.mXOffset) { in Operation() 366 explicit Operation(const sp<Operation> &operation) in Operation() argument 367 : Operation(*operation.get()) { in Operation() 575 const sp<VolumeShaper::Operation> &operation) in VolumeShaper() argument 577 , mOperation(operation) // ditto in VolumeShaper() 764 sp<VolumeShaper::Operation> operation(new VolumeShaper::Operation(operation_in)); in applyVolumeShaper() 766 VS_LOG("applyVolumeShaper:operation: %s", operation->toString().c_str()); in applyVolumeShaper() 772 if (operation == nullptr) { in applyVolumeShaper() 785 const int replaceId = operation->getReplaceId(); in applyVolumeShaper() [all …]
|
/frameworks/native/libs/ui/ |
D | Region.cpp | 331 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/ |
D | AppWidget.java | 70 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/services/core/java/com/android/server/ |
D | AlarmManagerService.java | 442 boolean remove(final PendingIntent operation, final IAlarmListener listener) { in remove() argument 443 if (operation == null && listener == null) { in remove() 456 if (alarm.matches(operation, listener)) { in remove() 668 if (a.operation != null in calculateDeliveryPriorities() 669 && Intent.ACTION_TIME_TICK.equals(a.operation.getIntent().getAction())) { in calculateDeliveryPriorities() 678 String alarmPackage = (a.operation != null) in calculateDeliveryPriorities() 679 ? a.operation.getCreatorPackage() in calculateDeliveryPriorities() 1100 void removeImpl(PendingIntent operation) { in removeImpl() argument 1101 if (operation == null) { in removeImpl() 1105 removeLocked(operation, null); in removeImpl() [all …]
|
/frameworks/ml/nn/driver/sample/ |
D | SampleDriverQuant.cpp | 55 const Operation& operation = model.operations[i]; in getSupportedOperations() local 56 if (operation.inputs.size() > 0) { in getSupportedOperations() 57 const Operand& firstOperand = model.operands[operation.inputs[0]]; in getSupportedOperations()
|