Home
last modified time | relevance | path

Searched refs:portAssociations (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp485 outConfig->portAssociations.clear(); in getReaderConfiguration()
486 jobjectArray portAssociations = jobjectArray(env->CallStaticObjectMethod( in getReaderConfiguration() local
488 if (!checkAndClearExceptionFromCallback(env, "getInputPortAssociations") && portAssociations) { in getReaderConfiguration()
489 jsize length = env->GetArrayLength(portAssociations); in getReaderConfiguration()
491 std::string inputPort = getStringElementFromJavaArray(env, portAssociations, 2 * i); in getReaderConfiguration()
493 getStringElementFromJavaArray(env, portAssociations, 2 * i + 1); in getReaderConfiguration()
502 outConfig->portAssociations.insert({inputPort, displayPort}); in getReaderConfiguration()
504 env->DeleteLocalRef(portAssociations); in getReaderConfiguration()
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h173 std::unordered_map<std::string, uint8_t> portAssociations; member
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp158 const std::unordered_map<std::string, uint8_t>& ports = config->portAssociations; in configure()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp210 mConfig.portAssociations.insert({inputPort, displayPort}); in addInputPortAssociation()