Lines Matching refs:devicePrint
643 function hasRequiredAttributes(devicePrint, attributeConfig) {
652 attrValue = getValue(devicePrint, attributePaths[i]);
665 function compareDevicePrintProfiles(attributeConfig, devicePrint, devicePrintProfiles, maxPenaltyPoints) {
686 currentValue = getValue(devicePrint, attributePaths[i]);
687 storedValue = getValue(devicePrintProfiles[j].devicePrint, attributePaths[i]);
747 selectedProfile.devicePrint = devicePrint;
767 logger.message("client devicePrint: " + clientScriptOutputData);
806 devicePrint = JSON.parse(clientScriptOutputData),
809 if (!hasRequiredAttributes(devicePrint, config.attributes)) {
810 logger.message("devicePrint.hasRequiredAttributes: false");
813 } else if (compareDevicePrintProfiles(config.attributes, devicePrint, devicePrintProfiles, config.maxPenaltyPoints)) {
814 logger.message("devicePrint.hasValidProfile: true");
817 logger.message("devicePrint.hasValidProfile: false");
818 sharedState.put('devicePrintProfile', JSON.stringify(devicePrint));