Android Keystore APIs on dragonboard

Trying to run keystore APIs on dragonboard 410c, which has android-5 lollipop release.
Referring the Keystore training article to get keystore instance.
But always getting error that AndroidKeyStore doesn’t exist, no such provider exception.

Also tried getting all the security providers on board by, but no luck. Although AndroidOpenSsl, BC providers exist, but no AndroidKeyStore provider.

In above link, it is specified that

AndroidKeyStore provider introduced in Android 4.3 (API level 18).

We tried with API 21 to 23 but still same issue, Can someone point me in correct direction and specify what I’m doing wrong.