2:20 doesn't inspire much more confidence than 2 hours.
In case you have to do immigration & customs - J pax will get priority/separate counters on arrival immigration - you will have to see which is the shortest line and/or get feedback from frequent DEL pax. G8 will will NOT get you priority on departure immigration or security (not sure how long the lines there will be at that time). You can however purchase priority check-in & baggage from G8.
You cannot go through transit security without getting your BP from the transit desk. Transit area is very clearly marked.