Searched refs:constellations (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/core/jni/gnss/ |
D | GnssConfiguration.h | 51 virtual jboolean setBlocklist(JNIEnv* env, jintArray& constellations, jintArray& sv_ids) = 0; 56 jintArray& constellations, in getBlocklistedSources() argument 58 jint* constellation_array = env->GetIntArrayElements(constellations, 0); in getBlocklistedSources() 64 jsize length = env->GetArrayLength(constellations); in getBlocklistedSources() 85 env->ReleaseIntArrayElements(constellations, constellation_array, 0); in getBlocklistedSources() 104 jboolean setBlocklist(JNIEnv* env, jintArray& constellations, jintArray& sv_ids) override; 123 jboolean setBlocklist(JNIEnv* env, jintArray& constellations, jintArray& sv_ids) override; 136 jboolean setBlocklist(JNIEnv* env, jintArray& constellations, jintArray& sv_ids) override; 160 jboolean setBlocklist(JNIEnv* env, jintArray& constellations, jintArray& sv_ids) override;
|
D | GnssConfiguration.cpp | 113 jboolean GnssConfiguration::setBlocklist(JNIEnv* env, jintArray& constellations, in setBlocklist() argument 116 getBlocklistedSources<BlocklistedSource, GnssConstellationType>(env, constellations, in setBlocklist() 173 jboolean GnssConfiguration_V1_0::setBlocklist(JNIEnv* env, jintArray& constellations, in setBlocklist() argument 189 jboolean GnssConfiguration_V1_1::setBlocklist(JNIEnv* env, jintArray& constellations, in setBlocklist() argument 192 GnssConstellationType_V1_0>(env, constellations, sv_ids); in setBlocklist() 234 jboolean GnssConfiguration_V2_1::setBlocklist(JNIEnv* env, jintArray& constellations, in setBlocklist() argument 237 GnssConstellationType_V2_0>(env, constellations, sv_ids); in setBlocklist()
|
/frameworks/base/services/robotests/src/com/android/server/location/gnss/ |
D | GnssSatelliteBlocklistHelperTest.java | 138 int[] constellations = constellationsCaptor.getValue(); in updateBlocklistAndVerifyCallbackIsCalled() local 141 assertThat(values.size()).isEqualTo(constellations.length * 2); in updateBlocklistAndVerifyCallbackIsCalled() 142 assertThat(svIds.length).isEqualTo(constellations.length); in updateBlocklistAndVerifyCallbackIsCalled() 143 for (int i = 0; i < constellations.length; i++) { in updateBlocklistAndVerifyCallbackIsCalled() 144 assertThat(constellations[i]).isEqualTo(values.get(i * 2)); in updateBlocklistAndVerifyCallbackIsCalled()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssSatelliteBlocklistHelper.java | 45 void onUpdateSatelliteBlocklist(int[] constellations, int[] svids); in onUpdateSatelliteBlocklist() argument 90 int[] constellations = new int[length]; in updateSatelliteBlocklist() local 93 constellations[i] = blocklistValues.get(i * 2); in updateSatelliteBlocklist() 96 mCallback.onUpdateSatelliteBlocklist(constellations, svids); in updateSatelliteBlocklist()
|
D | GnssConfiguration.java | 232 void setSatelliteBlocklist(int[] constellations, int[] svids) { in setSatelliteBlocklist() argument 233 native_set_satellite_blocklist(constellations, svids); in setSatelliteBlocklist() 476 private static native boolean native_set_satellite_blocklist(int[] constellations, int[] svIds); in native_set_satellite_blocklist() argument
|
D | GnssLocationProvider.java | 335 public void onUpdateSatelliteBlocklist(int[] constellations, int[] svids) { in onUpdateSatelliteBlocklist() argument 336 mHandler.post(() -> mGnssConfiguration.setSatelliteBlocklist(constellations, svids)); in onUpdateSatelliteBlocklist()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_location_GnssLocationProvider.cpp | 865 jintArray constellations, in android_location_GnssConfiguration_set_satellite_blocklist() argument 871 return gnssConfigurationIface->setBlocklist(env, constellations, sv_ids); in android_location_GnssConfiguration_set_satellite_blocklist()
|