Home
last modified time | relevance | path

Searched refs:INPUT (Results 1 – 25 of 53) sorted by relevance

123

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/utils/
DSimpleStateMachineTest.java31 private static final String INPUT = "input"; field in SimpleStateMachineTest
49 doReturn(OUTPUT).when(mMockStartState).process(INPUT); in testProcess()
50 String result = mSimpleStateMachine.process(INPUT); in testProcess()
52 verify(mMockStartState).process(INPUT); in testProcess()
72 doReturn(OUTPUT).when(mMockFinalState).process(INPUT); in testTransitionAndProcess()
73 String result = mSimpleStateMachine.transitionAndProcess(mMockFinalState, INPUT); in testTransitionAndProcess()
75 verify(mMockFinalState).process(INPUT); in testTransitionAndProcess()
81 mSimpleStateMachine.transitionAndProcess(null, INPUT); in testTransitionAndProcessToNull()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DPowerComponentHandlerUnitTest.java25 import static android.car.hardware.power.PowerComponent.INPUT;
80 new int[]{AUDIO, BLUETOOTH, CELLULAR, CPU, DISPLAY, ETHERNET, INPUT, LOCATION, in testGetAccumulatedPolicy_firstTime()
92 DISPLAY, VOICE_INTERACTION}, new int[]{AUDIO, CELLULAR, CPU, ETHERNET, INPUT, in testApplyPowerPolicy_oneTime()
106 new CarPowerPolicy("test_policy3", new int[]{CPU, INPUT}, new int[]{WIFI}), in testApplyPowerPolicy_multipleTimes()
109 new int[]{AUDIO, MEDIA, DISPLAY, INPUT, CPU}, in testApplyPowerPolicy_multipleTimes()
134 new int[]{INPUT, MEDIA, AUDIO, BLUETOOTH, CELLULAR, ETHERNET, LOCATION, MICROPHONE, in testApplyPowerPolicy_withCustomComponents()
149 new int[]{DISPLAY, INPUT, MEDIA, BLUETOOTH, CELLULAR, ETHERNET, LOCATION, in testApplyPowerPolicy_withCustomComponents()
DPolicyReaderUnitTest.java25 import static android.car.hardware.power.PowerComponent.INPUT;
82 new int[]{AUDIO, MEDIA, DISPLAY, BLUETOOTH, CELLULAR, ETHERNET, PROJECTION, NFC, INPUT,
86 new int[]{MEDIA, DISPLAY, BLUETOOTH, WIFI, CELLULAR, ETHERNET, PROJECTION, NFC, INPUT,
100 new int[]{AUDIO, MEDIA, DISPLAY, BLUETOOTH, PROJECTION, NFC, INPUT,
105 new int[]{AUDIO, MEDIA, DISPLAY, PROJECTION, INPUT, VOICE_INTERACTION,
115 new int[]{AUDIO, MEDIA, DISPLAY, PROJECTION, INPUT, VOICE_INTERACTION,
122 new int[]{AUDIO, MEDIA, DISPLAY, BLUETOOTH, CELLULAR, ETHERNET, PROJECTION, NFC, INPUT,
128 new int[]{AUDIO, MEDIA, DISPLAY, BLUETOOTH, CELLULAR, ETHERNET, PROJECTION, NFC, INPUT,
133 new int[]{MEDIA, DISPLAY, BLUETOOTH, WIFI, CELLULAR, ETHERNET, PROJECTION, NFC, INPUT,
/packages/modules/Bluetooth/tools/rootcanal/rust/
DCMakeLists.txt5 INPUT ${ROOTCANAL_ROOT}/packets/hci_packets.pdl
11 INPUT ${ROOTCANAL_ROOT}/rust/lmp_packets.pdl
17 INPUT ${ROOTCANAL_ROOT}/rust/llcp_packets.pdl
/packages/services/Car/cpp/powerpolicy/server/tests/
DPolicyManagerTest.cpp124 PowerComponent::INPUT,
142 PowerComponent::INPUT,
156 PowerComponent::NFC, PowerComponent::INPUT,
168 PowerComponent::INPUT, PowerComponent::LOCATION,
183 PowerComponent::INPUT, PowerComponent::VOICE_INTERACTION,
194 PowerComponent::INPUT, PowerComponent::LOCATION,
206 PowerComponent::INPUT, PowerComponent::LOCATION,
243 PowerComponent::INPUT, PowerComponent::VOICE_INTERACTION,
254 PowerComponent::NFC, PowerComponent::INPUT,
265 PowerComponent::NFC, PowerComponent::INPUT,
[all …]
DPowerComponentHandlerTest.cpp119 {PowerComponent::CPU, PowerComponent::INPUT}, in TEST_F()
126 PowerComponent::INPUT, PowerComponent::CPU}, in TEST_F()
152 {PowerComponent::MEDIA, PowerComponent::DISPLAY, PowerComponent::INPUT, in TEST_F()
/packages/modules/NeuralNetworks/runtime/test/fuzzing/
DRandomGraphGenerator.cpp63 if (other.type != RandomOperandType::INPUT) return false; in createEdgeIfValid()
156 if (operand->type != RandomOperandType::INPUT) return false; in asConstant()
187 if (operand->type == RandomOperandType::INPUT) numInputs++; in generateValue()
199 if (operand->type == RandomOperandType::INPUT) numInputs--; in generateValue()
237 case RandomOperandType::INPUT: in convertToTestOperandLifeTime()
DRandomGraphGenerator.h39 enum class RandomOperandType { INPUT = 0, OUTPUT = 1, INTERNAL = 2, CONST = 3, NO_VALUE = 4 }; enumerator
/packages/modules/NeuralNetworks/runtime/test/
DTestUnspecifiedDimensions.cpp91 enum class OptionalType { CONST, INPUT }; // omitted operand op3 is an input or const enumerator
94 enum class InOutType { INPUT, OUTPUT }; // parameter for setInOut() enumerator
217 mOptionalType = OptionalType::INPUT; in SetUp()
291 if (inOutType == InOutType::INPUT) { in setInOut()
297 if (inOutType == InOutType::INPUT) { in setInOut()
388 &memoryOp0, InOutType::INPUT, mBufferSize); in TestOne()
393 if (mOptionalType == OptionalType::INPUT) { in TestOne()
395 InOutType::INPUT); in TestOne()
DTestPartitioning.cpp3386 ss << "{" << deviceName << ", " << (type == IOType::INPUT ? "INPUT" : "OUTPUT") << "} "; in toString()
3461 checkStepRolesOfInput(0, {{"deviceA", IOType::INPUT}}); in TEST_F()
3462 checkStepRolesOfInput(2, {{"deviceB", IOType::INPUT}}); in TEST_F()
3464 checkStepRolesOfInput(1, {{"deviceA", IOType::INPUT}, {"deviceB", IOType::INPUT}}); in TEST_F()
3466 checkStepRolesOfOutput(0, {{"deviceA", IOType::OUTPUT}, {"deviceC", IOType::INPUT}}); in TEST_F()
3475 {{"deviceB", IOType::OUTPUT}, {"deviceC", IOType::INPUT}}); in TEST_F()
3514 checkStepRolesOfInput(1, {{"deviceA", IOType::INPUT}, {"deviceB", IOType::INPUT}}); in TEST_F()
3515 checkStepRolesOfInput(2, {{"deviceA", IOType::INPUT}, {"deviceB", IOType::INPUT}}); in TEST_F()
3581 checkStepRolesOfInput(0, {{"deviceA", IOType::INPUT}, {"deviceB", IOType::INPUT}}); in TEST_F()
3582 checkStepRolesOfInput(1, {{"deviceA", IOType::INPUT}, {"deviceB", IOType::INPUT}}); in TEST_F()
[all …]
DTestPartitioningRandom.cpp1272 enum Kind { INPUT, OUTPUT }; in TEST_P() enumerator
1287 ioDescriptors[i].mKind = (i < model.inputCount() ? InputOutputDescriptor::INPUT in TEST_P()
1323 if (desc.mKind == InputOutputDescriptor::INPUT) { in TEST_P()
1342 if (desc.mKind == InputOutputDescriptor::INPUT) { in TEST_P()
/packages/modules/Bluetooth/tools/rootcanal/
DCMakeLists.txt29 set(oneValueArgs NAME INPUT OUTPUT LANG NAMESPACE)
112 INPUT ${ROOTCANAL_ROOT}/packets/hci_packets.pdl
120 INPUT ${ROOTCANAL_ROOT}/packets/link_layer_packets.pdl
129 INPUT ${ROOTCANAL_ROOT}/packets/link_layer_packets.pdl
/packages/modules/NeuralNetworks/runtime/test/fuzzing/operation_signatures/
DOperationSignatureUtils.h323 .type = RandomOperandType::INPUT, .constructor = defaultOperandConstructor, \
331 .type = RandomOperandType::INPUT, .constructor = defaultScalarOperandConstructor, \
339 .type = RandomOperandType::INPUT, \
351 .type = RandomOperandType::INPUT, \
/packages/modules/NeuralNetworks/runtime/
DTelemetryStatsd.cpp114 STATIC_ASSERT_DATA_CLASS_EQ(COMPILATION_COMPLETED, INPUT);
116 STATIC_ASSERT_DATA_CLASS_EQ(COMPILATION_FAILED, INPUT);
118 STATIC_ASSERT_DATA_CLASS_EQ(EXECUTION_COMPLETED, INPUT);
120 STATIC_ASSERT_DATA_CLASS_EQ(EXECUTION_FAILED, INPUT);
DMemory.cpp319 const char* tag = ioType == IOType::INPUT ? "addInputRole" : "addOutputRole"; in addRole()
333 if (ioType == IOType::INPUT) { in addRole()
346 if (ioType == IOType::INPUT) { in addRole()
387 if (type == IOType::INPUT) { in addRole()
DCompilationBuilder.cpp297 *alignment = mPlan.getMemoryPreference(IOType::INPUT, index).alignment; in getPreferredMemoryAlignmentForInput()
319 *padding = mPlan.getMemoryPreference(IOType::INPUT, index).padding; in getPreferredMemoryPaddingForInput()
DExecutionPlan.cpp460 CHECK(kind == INPUT); in addOperand()
507 if (kind == INPUT) { in addOperand()
524 if (kind == INPUT) { in addOperand()
583 NN_RETURN_IF_ERROR(addOperands(operation.inputs, &inputs, INPUT)); in addOperation()
1057 analyzer.addRole(*step, sourceIndex, IOType::INPUT, i); in findMemoryStepRoles()
2057 callback(mPreparedModel.get(), IOType::INPUT, index); in forEachStepRoleOfInput()
2095 const auto sourceOperandIndex = type == IOType::INPUT ? getInputSourceOperand(index) in getMemoryPreference()
/packages/services/Car/car-lib/src/android/car/hardware/power/
DPowerComponentUtil.java170 return PowerComponent.INPUT; in toPowerComponent()
218 case PowerComponent.INPUT: in powerComponentToString()
DPowerComponent.java65 int INPUT = 10; field
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/
DFakeRefactoredCarPowerPolicyDaemon.java128 PowerComponent.NFC, PowerComponent.INPUT, in createInitialOnPowerPolicy()
140 PowerComponent.PROJECTION, PowerComponent.NFC, PowerComponent.INPUT, in createAllOnPowerPolicy()
155 PowerComponent.INPUT, PowerComponent.VOICE_INTERACTION, in createNoUserPowerPolicy()
/packages/services/Car/cpp/evs/manager/aidl/utils/src/
DUtils.cpp389 case HIDLStreamType::INPUT: in makeFromHidl()
390 return StreamType::INPUT; in makeFromHidl()
411 case StreamType::INPUT: in makeToHidl()
412 return HIDLStreamType::INPUT; in makeToHidl()
/packages/modules/NeuralNetworks/common/types/include/nnapi/
DValidation.h85 enum class IOType { INPUT, OUTPUT }; enumerator
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/
DPowerComponentUtilUnitTest.java120 PowerComponent.ETHERNET, PowerComponent.INPUT, PowerComponent.LOCATION, in testPowerComponentsToStrings()
/packages/modules/NeuralNetworks/common/
DHalBufferTracker.cpp71 if (kRoles.count({preparedModel, IOType::INPUT, i}) == 0) { in validateRequest()
DBufferTracker.cpp71 if (kRoles.count({preparedModel, IOType::INPUT, i}) == 0) { in validateRequest()

123