Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssBatchingProvider.java34 private final GnssBatchingProviderNative mNative; field in GnssBatchingProvider
46 mNative = gnssBatchingProviderNative; in GnssBatchingProvider()
53 return mNative.getBatchSize(); in getBatchSize()
58 mEnabled = mNative.initBatching(); in enable()
76 mStarted = mNative.startBatch(periodNanos, wakeOnFifoFull); in start()
92 mNative.flushBatch(); in flush()
99 boolean stopped = mNative.stopBatch(); in stop()
109 mNative.cleanupBatching(); in disable()
119 mNative.startBatch(mPeriodNanos, mWakeOnFifoFull); in resumeIfStarted()
DGnssGeofenceProvider.java49 private final GnssGeofenceProviderNative mNative; field in GnssGeofenceProvider
59 mNative = gnssGeofenceProviderNative; in GnssGeofenceProvider()
69 boolean added = mNative.addGeofence(entry.geofenceId, entry.latitude, in resumeIfStarted()
75 mNative.pauseGeofence(entry.geofenceId); in resumeIfStarted()
84 return mNative.isGeofenceSupported(); in isHardwareGeofenceSupported()
93 boolean added = mNative.addGeofence(geofenceId, latitude, longitude, radius, in addCircularHardwareGeofence()
115 boolean removed = mNative.removeGeofence(geofenceId); in removeHardwareGeofence()
126 boolean paused = mNative.pauseGeofence(geofenceId); in pauseHardwareGeofence()
140 boolean resumed = mNative.resumeGeofence(geofenceId, monitorTransitions); in resumeHardwareGeofence()
DGnssAntennaInfoProvider.java42 private final GnssAntennaInfoProviderNative mNative; field in GnssAntennaInfoProvider
54 mNative = aNative; in GnssAntennaInfoProvider()
62 mNative.startAntennaInfoListening(); in resumeIfStarted()
69 return mNative.isAntennaInfoSupported(); in isAvailableInPlatform()
74 boolean started = mNative.startAntennaInfoListening(); in registerWithService()
84 boolean stopped = mNative.stopAntennaInfoListening(); in unregisterFromService()
DGnssNavigationMessageProvider.java42 private final GnssNavigationMessageProviderNative mNative; field in GnssNavigationMessageProvider
53 mNative = aNative; in GnssNavigationMessageProvider()
61 mNative.startNavigationMessageCollection(); in resumeIfStarted()
67 return mNative.isNavigationMessageSupported(); in isAvailableInPlatform()
72 boolean result = mNative.startNavigationMessageCollection(); in registerWithService()
83 boolean stopped = mNative.stopNavigationMessageCollection(); in unregisterFromService()
DGnssMeasurementsProvider.java43 private final GnssMeasurementProviderNative mNative; field in GnssMeasurementsProvider
56 mNative = aNative; in GnssMeasurementsProvider()
64 mNative.startMeasurementCollection(mStartedFullTracking); in resumeIfStarted()
70 return mNative.isMeasurementSupported(); in isAvailableInPlatform()
98 boolean result = mNative.startMeasurementCollection(enableFullTracking); in registerWithService()
110 boolean stopped = mNative.stopMeasurementCollection(); in unregisterFromService()
DGnssMeasurementCorrectionsProvider.java44 private final GnssMeasurementCorrectionsProviderNative mNative; field in GnssMeasurementCorrectionsProvider
55 mNative = aNative; in GnssMeasurementCorrectionsProvider()
62 return mNative.isMeasurementCorrectionsSupported(); in isAvailableInPlatform()
79 if (!mNative.injectGnssMeasurementCorrections(measurementCorrections)) { in injectGnssMeasurementCorrections()
/frameworks/base/core/java/android/content/res/
DStringBlock.java62 private final long mNative; field in StringBlock
74 mNative = nativeCreate(data, 0, data.length); in StringBlock()
78 + ": " + nativeGetSize(mNative)); in StringBlock()
82 mNative = nativeCreate(data, offset, size); in StringBlock()
86 + ": " + nativeGetSize(mNative)); in StringBlock()
103 final int num = nativeGetSize(mNative); in get()
110 String str = nativeGetString(mNative, idx); in get()
112 int[] style = nativeGetStyle(mNative, idx); in get()
135 String styleTag = nativeGetString(mNative, styleId); in get()
186 nativeDestroy(mNative); in close()
[all …]
DXmlBlock.java47 mNative = nativeCreate(data, 0, data.length); in XmlBlock()
48 mStrings = new StringBlock(nativeGetStringBlock(mNative), false); in XmlBlock()
53 mNative = nativeCreate(data, offset, size); in XmlBlock()
54 mStrings = new StringBlock(nativeGetStringBlock(mNative), false); in XmlBlock()
70 nativeDestroy(mNative); in decOpenCountLocked()
84 if (mNative != 0) { in newParser()
85 return new Parser(nativeCreateParseState(mNative, resId), this); in newParser()
502 mNative = xmlBlock; in XmlBlock()
507 private final long mNative; field in XmlBlock
/frameworks/opt/net/voip/src/java/android/net/rtp/
DAudioGroup.java100 private long mNative; field in AudioGroup