Searched defs:operation (Results 1 - 25 of 87) sorted by relevance

1234

/frameworks/base/cmds/statsd/tests/condition/
H A DCombinationConditionTracker_test.cpp28 LogicalOperation operation = LogicalOperation::AND; local
40 EXPECT_EQ(evaluateCombinationCondition(children, operation, conditionResults),
45 LogicalOperation operation = LogicalOperation::AND; local
57 EXPECT_FALSE(evaluateCombinationCondition(children, operation, conditionResults));
64 EXPECT_TRUE(evaluateCombinationCondition(children, operation, conditionResults));
69 LogicalOperation operation = LogicalOperation::OR; local
81 EXPECT_TRUE(evaluateCombinationCondition(children, operation, conditionResults));
88 EXPECT_FALSE(evaluateCombinationCondition(children, operation, conditionResults));
93 LogicalOperation operation = LogicalOperation::NOT; local
101 EXPECT_FALSE(evaluateCombinationCondition(children, operation, conditionResult
110 LogicalOperation operation = LogicalOperation::NAND; local
135 LogicalOperation operation = LogicalOperation::NOR; local
[all...]
/frameworks/ml/nn/common/operations/
H A DEmbeddingLookup.cpp26 EmbeddingLookup::EmbeddingLookup(const Operation& operation, argument
28 value_ = GetInput(operation, operands, kValueTensor);
29 lookup_ = GetInput(operation, operands, kLookupTensor);
31 output_ = GetOutput(operation, operands, kOutputTensor);
H A DHashtableLookup.cpp34 HashtableLookup::HashtableLookup(const Operation& operation, argument
36 lookup_ = GetInput(operation, operands, kLookupTensor);
37 key_ = GetInput(operation, operands, kKeyTensor);
38 value_ = GetInput(operation, operands, kValueTensor);
40 output_ = GetOutput(operation, operands, kOutputTensor);
41 hits_ = GetOutput(operation, operands, kHitsTensor);
H A DLSHProjection.cpp26 LSHProjection::LSHProjection(const Operation& operation, argument
28 input_ = GetInput(operation, operands, kInputTensor);
29 weight_ = GetInput(operation, operands, kWeightTensor);
30 hash_ = GetInput(operation, operands, kHashTensor);
33 getScalarData<int32_t>(*GetInput(operation, operands, kTypeParam)));
35 output_ = GetOutput(operation, operands, kOutputTensor);
38 bool LSHProjection::Prepare(const Operation &operation, argument
41 const int num_inputs = NumInputsWithValues(operation, operands);
43 NN_CHECK_EQ(NumOutputs(operation), 1);
45 const RunTimeOperandInfo *hash = GetInput(operation, operand
[all...]
H A DRNN.cpp25 RNN::RNN(const Operation& operation, argument
27 input_ = GetInput(operation, operands, kInputTensor);
28 weights_ = GetInput(operation, operands, kWeightsTensor);
29 recurrent_weights_ = GetInput(operation, operands, kRecurrentWeightsTensor);
30 hidden_state_in_ = GetInput(operation, operands, kHiddenStateInTensor);
31 bias_ = GetInput(operation, operands, kBiasTensor);
34 getScalarData<int32_t>(operands[operation.inputs[kActivationParam]]));
36 hidden_state_out_ = GetOutput(operation, operands, kHiddenStateOutTensor);
37 output_ = GetOutput(operation, operands, kOutputTensor);
40 bool RNN::Prepare(const Operation &operation, argument
[all...]
H A DSVDF.cpp39 SVDF::SVDF(const Operation& operation, argument
41 input_ = GetInput(operation, operands, kInputTensor);
42 weights_feature_ = GetInput(operation, operands, kWeightsFeatureTensor);
43 weights_time_ = GetInput(operation, operands, kWeightsTimeTensor);
44 bias_ = GetInput(operation, operands, kBiasTensor);
45 state_in_ = GetInput(operation, operands, kStateInTensor);
47 params_.rank_ = getScalarData<int>(*GetInput(operation, operands, kRankParam));
49 *GetInput(operation, operands, kActivationParam)));
51 state_out_ = GetOutput(operation, operands, kStateOutTensor);
52 output_ = GetOutput(operation, operand
55 Prepare(const Operation &operation, std::vector<RunTimeOperandInfo> &operands, Shape *stateShape, Shape *outputShape) argument
[all...]
/frameworks/base/cmds/statsd/src/condition/
H A Dcondition_util.cpp42 const LogicalOperation& operation,
69 switch (operation) {
41 evaluateCombinationCondition(const std::vector<int>& children, const LogicalOperation& operation, const std::vector<ConditionState>& conditionCache) argument
/frameworks/ml/nn/driver/sample/
H A DSampleDriverFloatFast.cpp59 const Operation& operation = model.operations[i]; local
60 if (operation.inputs.size() > 0) {
61 const Operand& firstOperand = model.operands[operation.inputs[0]];
H A DSampleDriverFloatSlow.cpp59 const Operation& operation = model.operations[i]; local
60 if (operation.inputs.size() > 0) {
61 const Operand& firstOperand = model.operands[operation.inputs[0]];
H A DSampleDriverMinimal.cpp62 const Operation& operation = model.operations[i]; local
63 switch (operation.type) {
67 const Operand& firstOperand = model.operands[operation.inputs[0]];
H A DSampleDriverQuant.cpp59 const Operation& operation = model.operations[i]; local
60 if (operation.inputs.size() > 0) {
61 const Operand& firstOperand = model.operands[operation.inputs[0]];
/frameworks/support/compat/src/main/java/androidx/core/app/
H A DAlarmManagerCompat.java43 * @param operation Action to perform when the alarm goes off;
58 @NonNull PendingIntent showIntent, @NonNull PendingIntent operation) {
61 operation);
64 operation);
81 * Under normal system operation, it will not dispatch these
100 * @param operation Action to perform when the alarm goes off;
116 long triggerAtMillis, @NonNull PendingIntent operation) {
118 alarmManager.setAndAllowWhileIdle(type, triggerAtMillis, operation);
120 alarmManager.set(type, triggerAtMillis, operation);
144 * @param operation Actio
57 setAlarmClock(@onNull AlarmManager alarmManager, long triggerTime, @NonNull PendingIntent showIntent, @NonNull PendingIntent operation) argument
115 setAndAllowWhileIdle(@onNull AlarmManager alarmManager, int type, long triggerAtMillis, @NonNull PendingIntent operation) argument
160 setExact(@onNull AlarmManager alarmManager, int type, long triggerAtMillis, @NonNull PendingIntent operation) argument
220 setExactAndAllowWhileIdle(@onNull AlarmManager alarmManager, int type, long triggerAtMillis, @NonNull PendingIntent operation) argument
[all...]
/frameworks/base/location/java/android/location/
H A DLocalListenerHelper.java107 private void executeOperation(ListenerOperation<TListener> operation, TListener listener) { argument
109 operation.execute(listener);
116 protected void foreach(final ListenerOperation<TListener> operation) { argument
123 executeOperation(operation, listener.getKey());
128 executeOperation(operation, listener.getKey());
/frameworks/base/media/java/android/media/
H A DPlayerProxy.java63 "No player to proxy for start operation, player already released?", e);
76 "No player to proxy for pause operation, player already released?", e);
89 "No player to proxy for stop operation, player already released?", e);
103 "No player to proxy for setVolume operation, player already released?", e);
117 "No player to proxy for setPan operation, player already released?", e);
131 "No player to proxy for setStartDelayMs operation, player already released?",
139 * @param operation
144 @NonNull VolumeShaper.Operation operation) {
146 mConf.getIPlayer().applyVolumeShaper(configuration, operation);
149 "No player to proxy for applyVolumeShaper operation,"
142 applyVolumeShaper( @onNull VolumeShaper.Configuration configuration, @NonNull VolumeShaper.Operation operation) argument
[all...]
/frameworks/ml/nn/common/
H A DGraphDump.cpp44 // Operation nodes are named "n" (operatioN) followed by operation index.
102 const Operation& operation = model.operations[i]; local
104 const uint32_t maxArity = std::max(operation.inputs.size(), operation.outputs.size());
106 if (maxArity == operation.inputs.size()) {
113 << toString(operation.type) << "\"]" << std::endl;
115 // operation inputs
116 for (unsigned in = 0, inE = operation.inputs.size(); in < inE; in++) {
117 outStream << " d" << operation.inputs[in] << " -> n" << i;
126 // operation output
[all...]
/frameworks/av/media/libaudioclient/
H A DTrackPlayerBase.cpp110 const VolumeShaper::Operation& operation) {
113 sp<VolumeShaper::Operation> spOperation = new VolumeShaper::Operation(operation);
108 applyVolumeShaper( const VolumeShaper::Configuration& configuration, const VolumeShaper::Operation& operation) argument
/frameworks/base/obex/javax/obex/
H A DServerRequestHandler.java54 * an OBEX operation and a Connection ID was specified, no Connection ID will be
215 * @param operation contains the headers sent by the client and allows new
223 public int onPut(Operation operation) { argument
236 * @param operation contains the headers sent by the client and allows new
244 public int onGet(Operation operation) { argument
/frameworks/compile/libbcc/lib/
H A DFileBase.cpp37 int flock(int fd, int operation) { argument
148 // Determine the lock operation (2nd argument) to the flock().
/frameworks/ml/nn/runtime/
H A DManager.cpp73 // Set the supported operation vectors to all false, so we won't use this driver.
82 // Set the supported operation vectors to all false, so we won't use this driver.
103 const Operation &operation = hidlModel.operations[operationIndex]; local
104 accumulator ^= static_cast<uint32_t>(operation.type);
119 accumulateOperands(operation.inputs);
120 accumulateOperands(operation.outputs);
/frameworks/base/cmds/statsd/src/matchers/
H A Dmatcher_util.cpp33 bool combinationMatch(const vector<int>& children, const LogicalOperation& operation, argument
36 switch (operation) {
/frameworks/base/cmds/statsd/tests/
H A DLogEntryMatcher_test.cpp639 LogicalOperation operation = LogicalOperation::AND; local
651 EXPECT_FALSE(combinationMatch(children, operation, matcherResults));
658 EXPECT_TRUE(combinationMatch(children, operation, matcherResults));
663 LogicalOperation operation = LogicalOperation::OR; local
675 EXPECT_TRUE(combinationMatch(children, operation, matcherResults));
682 EXPECT_FALSE(combinationMatch(children, operation, matcherResults));
687 LogicalOperation operation = LogicalOperation::NOT; local
695 EXPECT_FALSE(combinationMatch(children, operation, matcherResults));
699 EXPECT_TRUE(combinationMatch(children, operation, matcherResults));
704 LogicalOperation operation local
729 LogicalOperation operation = LogicalOperation::NOR; local
[all...]
/frameworks/base/keystore/java/android/security/keystore/
H A DKeyStoreCryptoOperationChunkedStreamer.java32 * Helper for streaming a crypto operation's input and output via {@link KeyStore} service's
36 * update and finish operations. Firstly, KeyStore's update operation can consume only a limited
38 * operation may consume less data than provided, in which case the caller has to buffer the
43 * <p>Bidirectional chunked streaming of data via a KeyStore crypto operation is abstracted away as
44 * a {@link Stream} to avoid having this class deal with operation tokens and occasional additional
52 * Bidirectional chunked data stream over a KeyStore crypto operation.
56 * Returns the result of the KeyStore {@code update} operation or null if keystore couldn't
62 * Returns the result of the KeyStore {@code finish} operation or null if keystore couldn't
81 public KeyStoreCryptoOperationChunkedStreamer(Stream operation) { argument
82 this(operation, DEFAULT_MAX_CHUNK_SIZ
85 KeyStoreCryptoOperationChunkedStreamer(Stream operation, int maxChunkSize) argument
[all...]
/frameworks/base/services/core/java/com/android/server/job/
H A DJobSchedulerShellCommand.java80 private void checkPermission(String operation) throws Exception { argument
90 + " not permitted to " + operation);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGLToolbox.java173 public static void checkGlError(String operation) { argument
176 throw new RuntimeException("GL Operation '" + operation + "' caused error "
188 private static void assertNonUiThread(String operation) { argument
190 throw new RuntimeException("Attempting to perform GL operation '" + operation
/frameworks/native/services/surfaceflinger/tests/unittests/mock/system/window/
H A DMockNativeWindow.cpp46 int dispatch_perform(struct ANativeWindow* window, int operation, ...) { argument
48 return static_cast<NativeWindow*>(window)->perform(operation);

Completed in 2521 milliseconds

1234