- provider
- the provider name
- status
- the mock status
- extras
- a Bundle containing mock extras
- updateTime
- the mock update time
Type Reason Java.Lang.SecurityException if the ACCESS_MOCK_LOCATION permission is not present or the NoType:android/provider/Settings$Secure;Href=../../../reference/android/provider/Settings.Secure.html#ALLOW_MOCK_LOCATION} system setting is not enabled Java.Lang.IllegalArgumentException if no provider with the given name exists
Sets mock status values for the given provider. These values will be used in place of any actual values from the provider.