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.cpp478 outConfig->portAssociations.clear(); in getReaderConfiguration()
479 jobjectArray portAssociations = jobjectArray(env->CallObjectMethod(mServiceObj, in getReaderConfiguration() local
481 if (!checkAndClearExceptionFromCallback(env, "getInputPortAssociations") && portAssociations) { in getReaderConfiguration()
482 jsize length = env->GetArrayLength(portAssociations); in getReaderConfiguration()
484 std::string inputPort = getStringElementFromJavaArray(env, portAssociations, 2 * i); in getReaderConfiguration()
486 getStringElementFromJavaArray(env, portAssociations, 2 * i + 1); in getReaderConfiguration()
495 outConfig->portAssociations.insert({inputPort, displayPort}); in getReaderConfiguration()
497 env->DeleteLocalRef(portAssociations); in getReaderConfiguration()
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h170 std::unordered_map<std::string, uint8_t> portAssociations; member
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp280 const std::unordered_map<std::string, uint8_t>& ports = config->portAssociations; in configure()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp252 mConfig.portAssociations.insert({inputPort, displayPort}); in addInputPortAssociation()