One of them is among the five patents that are at the center of the litigation between Research in Motion , which is based in Waterloo , Ontario , and NTP , which is based in Arlington , Va. , and involve the BlackBerry device .