Home
last modified time | relevance | path

Searched refs:downstreamType (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DEntitlementManager.java210 public void startProvisioningIfNeeded(int downstreamType, boolean showProvisioningUi) { in startProvisioningIfNeeded() argument
211 if (!isValidDownstreamType(downstreamType)) return; in startProvisioningIfNeeded()
213 mCurrentDownstreams.set(downstreamType, true); in startProvisioningIfNeeded()
215 mExemptedDownstreams.set(downstreamType, false); in startProvisioningIfNeeded()
223 runTetheringProvisioning(showProvisioningUi, downstreamType, config); in startProvisioningIfNeeded()
235 public void stopProvisioningIfNeeded(int downstreamType) { in stopProvisioningIfNeeded() argument
236 if (!isValidDownstreamType(downstreamType)) return; in stopProvisioningIfNeeded()
238 mCurrentDownstreams.set(downstreamType, false); in stopProvisioningIfNeeded()
242 removeDownstreamMapping(downstreamType); in stopProvisioningIfNeeded()
243 mExemptedDownstreams.set(downstreamType, false); in stopProvisioningIfNeeded()
[all …]
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/metrics/
DTetheringMetrics.java117 public void createBuilder(final int downstreamType, final String callerPkg) { in createBuilder() argument
119 .setDownstreamType(downstreamTypeToEnum(downstreamType)) in createBuilder()
125 mBuilderMap.put(downstreamType, statsBuilder); in createBuilder()
126 mDownstreamStartTime.put(downstreamType, timeNow()); in createBuilder()
134 public void updateErrorCode(final int downstreamType, final int errCode) { in updateErrorCode() argument
135 NetworkTetheringReported.Builder statsBuilder = mBuilderMap.get(downstreamType); in updateErrorCode()
227 public void sendReport(final int downstreamType) { in sendReport() argument
228 final NetworkTetheringReported.Builder statsBuilder = mBuilderMap.get(downstreamType); in sendReport()
234 noteDownstreamStopped(statsBuilder, mDownstreamStartTime.get(downstreamType)); in sendReport()
237 mBuilderMap.remove(downstreamType); in sendReport()
[all …]