Home
last modified time | relevance | path

Searched refs:periodNanos (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssBatchingProvider.java67 public boolean start(long periodNanos, boolean wakeOnFifoFull) { in start() argument
71 if (periodNanos <= 0) { in start()
72 Log.e(TAG, "Invalid periodNanos " + periodNanos + in start()
76 mStarted = mNative.startBatch(periodNanos, wakeOnFifoFull); in start()
78 mPeriodNanos = periodNanos; in start()
129 public boolean startBatch(long periodNanos, boolean wakeOnFifoFull) { in startBatch() argument
130 return native_start_batch(periodNanos, wakeOnFifoFull); in startBatch()
152 private static native boolean native_start_batch(long periodNanos, boolean wakeOnFifoFull); in native_start_batch() argument
DGnssManagerService.java227 public boolean startGnssBatch(long periodNanos, boolean wakeOnFifoFull, String packageName, in startGnssBatch() argument
245 return mGnssBatchingProvider.start(periodNanos, wakeOnFifoFull); in startGnssBatch()
/frameworks/av/services/oboeservice/
DAAudioServiceEndpointShared.cpp112 int64_t periodNanos = getStreamInternal()->getFramesPerBurst() in startSharingThread_l() local
118 aaudio_result_t result = getStreamInternal()->createThread(periodNanos, in startSharingThread_l()
/frameworks/base/services/tests/servicestests/src/com/android/server/location/gnss/
DGnssManagerServiceTest.java424 final long periodNanos = 100L;
430 () -> mGnssManagerService.startGnssBatch(periodNanos, wakeOnFifoFull,
432 verify(mMockGnssBatchingProvider, times(0)).start(periodNanos, wakeOnFifoFull);
437 final long periodNanos = 100L;
442 assertThat(mGnssManagerService.startGnssBatch(periodNanos, wakeOnFifoFull,
/frameworks/base/location/java/android/location/
DILocationManager.aidl94 …boolean startGnssBatch(long periodNanos, boolean wakeOnFifoFull, String packageName, String featur… in startGnssBatch() argument
DLocationManager.java2482 public boolean registerGnssBatchedLocationCallback(long periodNanos, boolean wakeOnFifoFull, in registerGnssBatchedLocationCallback() argument
2491 return mService.startGnssBatch(periodNanos, wakeOnFifoFull, in registerGnssBatchedLocationCallback()
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.cpp371 int64_t periodNanos = mCallbackFrames in requestStart() local
375 result = createThread(periodNanos, aaudio_callback_thread_proc, this); in requestStart()
/frameworks/base/services/core/java/com/android/server/location/
DLocationManagerService.java1401 public boolean startGnssBatch(long periodNanos, boolean wakeOnFifoFull, String packageName, in startGnssBatch() argument
1403 return mGnssManagerService != null && mGnssManagerService.startGnssBatch(periodNanos, in startGnssBatch()
/frameworks/base/services/core/jni/
Dcom_android_server_location_GnssLocationProvider.cpp3557 jlong periodNanos, jboolean wakeOnFifoFull) { in android_location_GnssBatchingProvider_start_batch() argument
3563 options.periodNanos = periodNanos; in android_location_GnssBatchingProvider_start_batch()