Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/include/
DInputReaderBase.h199 std::unordered_map<std::string, uint8_t> portAssociations; member
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp563 outConfig->portAssociations.clear(); in getReaderConfiguration()
564 jobjectArray portAssociations = jobjectArray(env->CallObjectMethod(mServiceObj, in getReaderConfiguration() local
566 if (!checkAndClearExceptionFromCallback(env, "getInputPortAssociations") && portAssociations) { in getReaderConfiguration()
567 jsize length = env->GetArrayLength(portAssociations); in getReaderConfiguration()
569 std::string inputPort = getStringElementFromJavaArray(env, portAssociations, 2 * i); in getReaderConfiguration()
571 getStringElementFromJavaArray(env, portAssociations, 2 * i + 1); in getReaderConfiguration()
580 outConfig->portAssociations.insert({inputPort, displayPort}); in getReaderConfiguration()
582 env->DeleteLocalRef(portAssociations); in getReaderConfiguration()
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp308 const std::unordered_map<std::string, uint8_t>& ports = config->portAssociations; in configure()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp269 mConfig.portAssociations.insert({inputPort, displayPort}); in addInputPortAssociation()