By and large, security personnel are looking for weapons, not drugs, unless they are clearly illegal, like a big bag of pot. but if they do a secuirity spot check, they are looking for weapons. Customs in Japan are the ones that ill care about drugs, and less about weapons.