Searched refs:expectedTypes (Results 1 – 6 of 6) sorted by relevance
/packages/modules/NeuralNetworks/common/types/src/ |
D | OperationsValidationUtils.cpp | 32 bool validateOperandTypes(const std::vector<OperandType>& expectedTypes, const char* tag, in validateOperandTypes() argument 35 NN_RET_CHECK_EQ(operandCount, expectedTypes.size()); in validateOperandTypes() 38 NN_RET_CHECK(type == expectedTypes[i]) in validateOperandTypes() 40 << ", expected " << expectedTypes[i]; in validateOperandTypes() 79 const std::vector<OperandType>& expectedTypes) { in validateInputTypes() argument 80 return validateOperandTypes(expectedTypes, "input", context->getNumInputs(), in validateInputTypes() 85 const std::vector<OperandType>& expectedTypes) { in validateOutputTypes() argument 87 expectedTypes, "output", context->getNumOutputs(), in validateOutputTypes()
|
/packages/modules/NeuralNetworks/common/types/include/ |
D | OperationsValidationUtils.h | 62 const std::vector<OperandType>& expectedTypes); 66 const std::vector<OperandType>& expectedTypes);
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/testapi/ |
D | BlockingUserLifecycleListenerTest.java | 315 @UserLifecycleEventType int... expectedTypes) { in assertEvents() argument 317 assertThat(events).hasSize(expectedTypes.length); in assertEvents() 318 for (int i = 0; i < expectedTypes.length; i++) { in assertEvents() 319 int expectedType = expectedTypes[i]; in assertEvents()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarServiceUtils.java | 265 @UserLifecycleEventType int... expectedTypes) { in isEventAnyOfTypes() argument 266 for (int i = 0; i < expectedTypes.length; i++) { in isEventAnyOfTypes() 267 if (event.getEventType() == expectedTypes[i]) { in isEventAnyOfTypes() 272 for (int index = 0; index < expectedTypes.length; index++) { in isEventAnyOfTypes() 273 expectedTyepsStringJoiner.add(lifecycleEventTypeToString(expectedTypes[index])); in isEventAnyOfTypes()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringTest.java | 2215 public void expectSupportedTetheringTypes(Set<Integer> expectedTypes) { in expectSupportedTetheringTypes() argument 2216 assertEquals(expectedTypes, TetheringManager.unpackBits(mSupportedBitmaps.remove(0))); in expectSupportedTetheringTypes() 3532 final ArraySet<Integer> expectedTypes = getAllSupportedTetheringTypes(); in testTetheringSupported() local 3537 verifySupported(callback, expectedTypes); in testTetheringSupported() 3543 verifySupported(callback, expectedTypes); in testTetheringSupported() 3549 verifySupported(callback, expectedTypes); in testTetheringSupported() 3552 expectedTypes.remove(TETHERING_USB); in testTetheringSupported() 3556 verifySupported(callback, expectedTypes); in testTetheringSupported() 3558 expectedTypes.remove(TETHERING_WIFI); in testTetheringSupported() 3562 verifySupported(callback, expectedTypes); in testTetheringSupported() [all …]
|
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/ |
D | AppSearchImplTest.java | 2268 List<SchemaTypeConfigProto> expectedTypes = new ArrayList<>(); in testSetSchema() local 2269 expectedTypes.addAll(existingSchemas); in testSetSchema() 2270 expectedTypes.addAll(expectedProto.getTypesList()); in testSetSchema() 2272 .containsExactlyElementsIn(expectedTypes); in testSetSchema() 2363 List<SchemaTypeConfigProto> expectedTypes = new ArrayList<>(); in testRemoveSchema() local 2364 expectedTypes.addAll(existingSchemas); in testRemoveSchema() 2365 expectedTypes.addAll(expectedProto.getTypesList()); in testRemoveSchema() 2367 .containsExactlyElementsIn(expectedTypes); in testRemoveSchema() 2408 expectedTypes = new ArrayList<>(); in testRemoveSchema() 2409 expectedTypes.addAll(existingSchemas); in testRemoveSchema() [all …]
|