Update AppSearch visibility for EXECUTE_APP_FUNCTIONS permission

The caller must also be a valid aganet to have visibility to the
documents that requires EXECUTE_APP_FUNCTIONS permission.

This align with the new EXECUTE_APP_FUNCTIONS permission requirement.

Flag: android.permission.flags.app_function_access_api_enabled
Bug: 420892441
Test: atest AppSearchServicesTests
Change-Id: Id90ec51dd60f59613be85a839fbfa1959da43dc8
5 files changed