Home
last modified time | relevance | path

Searched refs:constellations (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/robotests/src/com/android/server/location/
DGnssSatelliteBlacklistHelperTest.java101 int[] constellations = constellationsCaptor.getValue(); in updateBlacklistAndVerifyCallbackIsCalled() local
104 assertThat(values.size()).isEqualTo(constellations.length * 2); in updateBlacklistAndVerifyCallbackIsCalled()
105 assertThat(svIds.length).isEqualTo(constellations.length); in updateBlacklistAndVerifyCallbackIsCalled()
106 for (int i = 0; i < constellations.length; i++) { in updateBlacklistAndVerifyCallbackIsCalled()
107 assertThat(constellations[i]).isEqualTo(values.get(i * 2)); in updateBlacklistAndVerifyCallbackIsCalled()
/frameworks/base/services/core/java/com/android/server/location/
DGnssSatelliteBlacklistHelper.java29 void onUpdateSatelliteBlacklist(int[] constellations, int[] svids); in onUpdateSatelliteBlacklist() argument
74 int[] constellations = new int[length]; in updateSatelliteBlacklist() local
77 constellations[i] = blacklistValues.get(i * 2); in updateSatelliteBlacklist()
80 mCallback.onUpdateSatelliteBlacklist(constellations, svids); in updateSatelliteBlacklist()
DGnssConfiguration.java204 void setSatelliteBlacklist(int[] constellations, int[] svids) { in setSatelliteBlacklist() argument
205 native_set_satellite_blacklist(constellations, svids); in setSatelliteBlacklist()
416 private static native boolean native_set_satellite_blacklist(int[] constellations, int[] svIds); in native_set_satellite_blacklist() argument
DGnssLocationProvider.java528 public void onUpdateSatelliteBlacklist(int[] constellations, int[] svids) { in onUpdateSatelliteBlacklist() argument
529 mHandler.post(() -> mGnssConfiguration.setSatelliteBlacklist(constellations, svids)); in onUpdateSatelliteBlacklist()
/frameworks/base/services/core/jni/
Dcom_android_server_location_GnssLocationProvider.cpp2910 JNIEnv* env, jobject, jintArray constellations, jintArray sv_ids) { in android_location_GnssConfiguration_set_satellite_blacklist() argument
2916 jint *constellation_array = env->GetIntArrayElements(constellations, 0); in android_location_GnssConfiguration_set_satellite_blacklist()
2921 jsize length = env->GetArrayLength(constellations); in android_location_GnssConfiguration_set_satellite_blacklist()