When using /system/gps/set-system-time, how often and under what conditions is the system clock updated?

How often is the GPS time used to update the system clock if /system/gps/set-system-time is enabled?

What other conditions need to be met to use the GPS time?