Searched refs:isDistanceBased (Results 1 – 3 of 3) sorted by relevance
2722 bool isDistanceBased = mAdapter.isDistanceBasedTrackingSession(mClient, mSessionId); in updateTrackingOptionsCommand() local2723 if (!isTimeBased && !isDistanceBased) { in updateTrackingOptionsCommand()2756 } else if (isDistanceBased && mOptions.minDistance == 0) { in updateTrackingOptionsCommand()2784 } else if (isDistanceBased) { in updateTrackingOptionsCommand()2895 bool isDistanceBased = mAdapter.isDistanceBasedTrackingSession(mClient, mSessionId); in stopTrackingCommand() local2896 if (isTimeBased || isDistanceBased) { in stopTrackingCommand()2906 } else if (isDistanceBased) { in stopTrackingCommand()
2586 bool isDistanceBased = mAdapter.isDistanceBasedTrackingSession(mClient, mSessionId); in updateTrackingOptionsCommand() local2587 if (!isTimeBased && !isDistanceBased) { in updateTrackingOptionsCommand()2620 } else if (isDistanceBased && mOptions.minDistance == 0) { in updateTrackingOptionsCommand()2648 } else if (isDistanceBased) { in updateTrackingOptionsCommand()2759 bool isDistanceBased = mAdapter.isDistanceBasedTrackingSession(mClient, mSessionId); in stopTrackingCommand() local2760 if (isTimeBased || isDistanceBased) { in stopTrackingCommand()2770 } else if (isDistanceBased) { in stopTrackingCommand()
3158 bool isDistanceBased = mAdapter.isDistanceBasedTrackingSession(mClient, mSessionId); in updateTrackingOptionsCommand() local3159 if (!isTimeBased && !isDistanceBased) { in updateTrackingOptionsCommand()3192 } else if (isDistanceBased && mOptions.minDistance == 0) { in updateTrackingOptionsCommand()3220 } else if (isDistanceBased) { in updateTrackingOptionsCommand()3331 bool isDistanceBased = mAdapter.isDistanceBasedTrackingSession(mClient, mSessionId); in stopTrackingCommand() local3332 if (isTimeBased || isDistanceBased) { in stopTrackingCommand()3342 } else if (isDistanceBased) { in stopTrackingCommand()