Lines Matching refs:config
39 void NfcExtns::getConfig(android::hardware::nfc::V1_2::NfcConfig& config) { in getConfig() argument
44 memset(&config, 0x00, sizeof(android::hardware::nfc::V1_2::NfcConfig)); in getConfig()
45 getConfig(config.v1_1); in getConfig()
49 config.offHostRouteUicc.resize(retlen); in getConfig()
50 for (long i = 0; i < retlen; i++) config.offHostRouteUicc[i] = buffer[i]; in getConfig()
55 config.offHostRouteEse.resize(retlen); in getConfig()
56 for (long i = 0; i < retlen; i++) config.offHostRouteEse[i] = buffer[i]; in getConfig()
60 config.defaultIsoDepRoute = num; in getConfig()
73 void NfcExtns::getConfig(android::hardware::nfc::V1_1::NfcConfig& config) { in getConfig() argument
78 memset(&config, 0x00, sizeof(android::hardware::nfc::V1_1::NfcConfig)); in getConfig()
81 config.nfaPollBailOutMode = (bool)num; in getConfig()
84 config.maxIsoDepTransceiveLength = (uint32_t)num; in getConfig()
87 config.defaultOffHostRoute = (uint8_t)num; in getConfig()
90 config.defaultOffHostRouteFelica = (uint8_t)num; in getConfig()
93 config.defaultSystemCodeRoute = (uint8_t)num; in getConfig()
96 config.defaultSystemCodePowerState = in getConfig()
100 config.defaultRoute = (uint8_t)num; in getConfig()
104 config.hostWhitelist.resize(retlen); in getConfig()
105 for (long i = 0; i < retlen; i++) config.hostWhitelist[i] = buffer[i]; in getConfig()
108 config.offHostESEPipeId = (uint8_t)num; in getConfig()
111 config.offHostSIMPipeId = (uint8_t)num; in getConfig()
116 config.nfaProprietaryCfg.protocol18092Active = (uint8_t)buffer[0]; in getConfig()
117 config.nfaProprietaryCfg.protocolBPrime = (uint8_t)buffer[1]; in getConfig()
118 config.nfaProprietaryCfg.protocolDual = (uint8_t)buffer[2]; in getConfig()
119 config.nfaProprietaryCfg.protocol15693 = (uint8_t)buffer[3]; in getConfig()
120 config.nfaProprietaryCfg.protocolKovio = (uint8_t)buffer[4]; in getConfig()
121 config.nfaProprietaryCfg.protocolMifare = (uint8_t)buffer[5]; in getConfig()
122 config.nfaProprietaryCfg.discoveryPollKovio = (uint8_t)buffer[6]; in getConfig()
123 config.nfaProprietaryCfg.discoveryPollBPrime = (uint8_t)buffer[7]; in getConfig()
124 config.nfaProprietaryCfg.discoveryListenBPrime = (uint8_t)buffer[8]; in getConfig()
126 memset(&config.nfaProprietaryCfg, 0xFF, sizeof(ProtocolDiscoveryConfig)); in getConfig()
130 config.presenceCheckAlgorithm = (PresenceCheckAlgorithm)num; in getConfig()