I\'ve installed the androidtv-sample-inputs so I can fake some Tv inputs and have some channels and I wanted to get information about that channels, however, when I query to
What kind of permission are you using ?
If your application isn't signatureOrSystem, you can only access your own channels and programs from queries to the TV provider. All the queries you're doing are filtered on your package name.
I guess that the information you can retrieve from a channel are restricted to what is accessible from TvInputInfo.
Additionally to "com.android.providers.tv.xxx" EPG permissions needed in the manifest file, you must sign your .apk ! Otherwise you will see all the TvInput available on your device but none of the channels composing these tvInput (and this, without any error returned ;-)). Android Studio provides this features ('BUILD' menu entry then 'Generate Signed APK') see How to sign an android apk file