TelephonyManager.getNeighboringCellInfo() return a List of neighboring cell information in a NeighboringCellInfo object, including Received Signal Strength and Cell ID location.
Since, you have mentioned the name of the function, I assume you are doing the same. Can you post some source code?
Have you added necessary ACCESS_COARSE_UPDATES permission?