Encountered a similar scenario described above however it was purely based on the queries themselves and not the APIs called.
It happened when a view mistakenly overrode a table name (honest mistake) which sent the database and all the worker threads into a some kind of deadlock. The view doesn't return the anticipated table structure. Unclear why an error wasn't thrown and program fails, but instead this stuck state.
12-19 19:39:28.819 14644 17079 W SQLiteConnectionPool: Connections: 1 active, 0 idle, 0 available.
12-19 19:39:28.819 14644 17079 W SQLiteConnectionPool:
12-19 19:39:28.819 14644 17079 W SQLiteConnectionPool: Requests in progress:
12-19 19:39:28.819 14644 17079 W SQLiteConnectionPool: executeForCursorWindow started 1056586ms ago - running, sql="select * from some_table", tid=15209
12-19 19:39:29.531 14644 17040 W SQLiteConnectionPool: The connection pool for database '/data/user/0/com.google.app/databases/234827384.db' has been unable to grant a connection to thread 549 (ExecutorFactory$1) with flags 0x1 for 51.018 seconds.
12-19 19:39:29.531 14644 17040 W SQLiteConnectionPool: Connections: 1 active, 0 idle, 0 available.
12-19 19:39:29.531 14644 17040 W SQLiteConnectionPool:
12-19 19:39:29.531 14644 17040 W SQLiteConnectionPool: Requests in progress:
12-19 19:39:29.531 14644 17040 W SQLiteConnectionPool: executeForCursorWindow started 1057297ms ago - running, sql="select * from some_table", tid=15209
12-19 19:39:29.585 14644 17056 W SQLiteConnectionPool: The connection pool for database '/data/user/0/com.google.app/databases/234827384.db' has been unable to grant a connection to thread 562 (ExecutorFactory$1) with flags 0x1 for 51.018 seconds.
12-19 19:39:29.585 14644 17056 W SQLiteConnectionPool: Connections: 1 active, 0 idle, 0 available.
12-19 19:39:29.585 14644 17056 W SQLiteConnectionPool:
12-19 19:39:29.585 14644 17056 W SQLiteConnectionPool: Requests in progress:
12-19 19:39:29.585 14644 17056 W SQLiteConnectionPool: executeForCursorWindow started 1057351ms ago - running, sql="select * from some_table", tid=15209
12-19 19:39:29.832 14644 14736 W SQLiteConnectionPool: The connection pool for database '/data/user/0/com.google.app/databases/234827384.db' has been unable to grant a connection to thread 100 (DefaultDispatcher-worker-1) with flags 0x1 for 42.014004 seconds.
Hope this helps anyone out there because it's a tough scenario to debug.