class GnssGeofenceProvider extends IGpsGeofenceHardware.Stub {

    @Override
    public boolean pauseHardwareGeofence(int geofenceId) {
        return runOnHandlerThread(() -> {
            boolean paused = mNative.pauseGeofence(geofenceId);
            if (paused) {
                GeofenceEntry entry = mGeofenceEntries.get(geofenceId);
                if (entry != null) {
                    entry.paused = true;
                }
            }
            return paused;
        });
    }

      GnssGeofenceProvider(Looper looper);
    @VisibleForTesting  GnssGeofenceProvider(Looper looper, GnssGeofenceProviderNative gnssGeofenceProviderNative);

}