/frameworks/base/cmds/statsd/tests/condition/ |
H A D | CombinationConditionTracker_test.cpp | 28 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 D | EmbeddingLookup.cpp | 26 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 D | HashtableLookup.cpp | 34 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 D | LSHProjection.cpp | 26 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 D | RNN.cpp | 25 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 D | SVDF.cpp | 39 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 D | condition_util.cpp | 42 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 D | SampleDriverFloatFast.cpp | 59 const Operation& operation = model.operations[i]; local 60 if (operation.inputs.size() > 0) { 61 const Operand& firstOperand = model.operands[operation.inputs[0]];
|
H A D | SampleDriverFloatSlow.cpp | 59 const Operation& operation = model.operations[i]; local 60 if (operation.inputs.size() > 0) { 61 const Operand& firstOperand = model.operands[operation.inputs[0]];
|
H A D | SampleDriverMinimal.cpp | 62 const Operation& operation = model.operations[i]; local 63 switch (operation.type) { 67 const Operand& firstOperand = model.operands[operation.inputs[0]];
|
H A D | SampleDriverQuant.cpp | 59 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 D | AlarmManagerCompat.java | 43 * @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 D | LocalListenerHelper.java | 107 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 D | PlayerProxy.java | 63 "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 D | GraphDump.cpp | 44 // 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 D | TrackPlayerBase.cpp | 110 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 D | ServerRequestHandler.java | 54 * 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 D | FileBase.cpp | 37 int flock(int fd, int operation) { argument 148 // Determine the lock operation (2nd argument) to the flock().
|
/frameworks/ml/nn/runtime/ |
H A D | Manager.cpp | 73 // 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 D | matcher_util.cpp | 33 bool combinationMatch(const vector<int>& children, const LogicalOperation& operation, argument 36 switch (operation) {
|
/frameworks/base/cmds/statsd/tests/ |
H A D | LogEntryMatcher_test.cpp | 639 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 D | KeyStoreCryptoOperationChunkedStreamer.java | 32 * 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 D | JobSchedulerShellCommand.java | 80 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 D | GLToolbox.java | 173 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 D | MockNativeWindow.cpp | 46 int dispatch_perform(struct ANativeWindow* window, int operation, ...) { argument 48 return static_cast<NativeWindow*>(window)->perform(operation);
|