Add QueryAllPackages to DocumentsUI Test: atest CtsAppSecurityHostTestCases Bug: 171849098 Change-Id: I0ff4edd0b0b0781ce7279e7ac1e44d2702978bca (cherry picked from commit 6c88098c5ecb01f1cc21fd1b431c5cfff60e5784)