GSF uses permissions. Only apps signed with the Google release key or installed in /system/priv-app can bind to its services.
The server returns a Google Services Framework ID (GSF ID) – a 64-bit integer (e.g., 14123456789012345 ). This ID is stored in Settings.Secure.ANDROID_ID for Google’s internal use. google services framework 8.1.0 apk