Searched refs:portAssociations (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/services/inputflinger/include/ |
D | InputReaderBase.h | 199 std::unordered_map<std::string, uint8_t> portAssociations; member
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 563 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/ |
D | InputDevice.cpp | 308 const std::unordered_map<std::string, uint8_t>& ports = config->portAssociations; in configure()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 269 mConfig.portAssociations.insert({inputPort, displayPort}); in addInputPortAssociation()
|