Home
last modified time | relevance | path

Searched refs:StatsUtils (Results 1 – 15 of 15) sorted by relevance

/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/util/
DStatsUtilsTest.java35 assertEquals(50, StatsUtils.getOverheadLatencyMillis(150, bundle)); in testServiceReturnsElapsedTime()
39 assertEquals(0, StatsUtils.getOverheadLatencyMillis(150, null)); in testServiceReturnsNoResult()
43 assertEquals(0, StatsUtils.getOverheadLatencyMillis(150, new Bundle())); in testServiceReturnsNoMetadata()
50 assertEquals(0, StatsUtils.getOverheadLatencyMillis(150, bundle)); in testServiceReturnsNegativeElapsedTime()
57 assertEquals(0, StatsUtils.getOverheadLatencyMillis(150, bundle)); in testServiceReturnsTooHighElapsedTime()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/util/
DStatsUtils.java28 public class StatsUtils { class
61 (int) StatsUtils.getOverheadLatencyMillis(latencyMillis, result); in writeServiceRequestMetrics()
69 private StatsUtils() {} in StatsUtils() method in StatsUtils
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
DInputLogic.java59 import com.android.inputmethod.latin.utils.StatsUtils;
147 StatsUtils.onWordCommitUserTyped( in startInput()
206 StatsUtils.onWordCommitUserTyped( in finishInput()
252 StatsUtils.onWordCommitUserTyped(mEnteredText, mWordComposer.isBatchMode()); in onTextInput()
281 StatsUtils.onPickSuggestionManually( in onPickSuggestionManually()
335 StatsUtils.onPickSuggestionManually( in onPickSuggestionManually()
337 StatsUtils.onWordCommitSuggestionPickedManually( in onPickSuggestionManually()
939 StatsUtils.onDoubleSpacePeriod(); in handleSeparatorEvent()
1026 StatsUtils.onBackspaceWordDelete(rejectedSuggestion.length()); in handleBackspaceEvent()
1029 StatsUtils.onBackspacePressed(1); in handleBackspaceEvent()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DStatsUtils.java29 public final class StatsUtils { class
31 private StatsUtils() { in StatsUtils() method in StatsUtils
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSettingsActivity.java21 import com.android.inputmethod.latin.utils.StatsUtils;
54 StatsUtils.onSettingsActivity( in onCreate()
DSettings.java36 import com.android.inputmethod.latin.utils.StatsUtils;
166 StatsUtils.onLoadSettings(mSettingsValues); in onSharedPreferenceChanged()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/display/
DWebViewFlow.java47 import com.android.ondevicepersonalization.services.util.StatsUtils;
165 StatsUtils.writeServiceRequestMetrics( in uploadServiceFlowMetrics()
176 StatsUtils.writeServiceRequestMetrics( in uploadServiceFlowMetrics()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/federatedcompute/
DOdpExampleStoreService.java51 import com.android.ondevicepersonalization.services.util.StatsUtils;
289 StatsUtils.writeServiceRequestMetrics( in executeOnTrainingExamples()
300 StatsUtils.writeServiceRequestMetrics( in executeOnTrainingExamples()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/request/
DRenderFlow.java51 import com.android.ondevicepersonalization.services.util.StatsUtils;
215 StatsUtils.writeServiceRequestMetrics( in uploadServiceFlowMetrics()
226 StatsUtils.writeServiceRequestMetrics( in uploadServiceFlowMetrics()
DAppRequestFlow.java58 import com.android.ondevicepersonalization.services.util.StatsUtils;
240 StatsUtils.writeServiceRequestMetrics( in uploadServiceFlowMetrics()
252 StatsUtils.writeServiceRequestMetrics( in uploadServiceFlowMetrics()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/webtrigger/
DWebTriggerFlow.java51 import com.android.ondevicepersonalization.services.util.StatsUtils;
224 StatsUtils.writeServiceRequestMetrics( in uploadServiceFlowMetrics()
235 StatsUtils.writeServiceRequestMetrics( in uploadServiceFlowMetrics()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/download/
DDownloadFlow.java46 import com.android.ondevicepersonalization.services.util.StatsUtils;
224 StatsUtils.writeServiceRequestMetrics( in uploadServiceFlowMetrics()
234 StatsUtils.writeServiceRequestMetrics( in uploadServiceFlowMetrics()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DAndroidWordLevelSpellCheckerSession.java41 import com.android.inputmethod.latin.utils.StatsUtils;
310 StatsUtils.onInvalidWordIdentification(text); in onGetSuggestionsInternal()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DLatinIME.java99 import com.android.inputmethod.latin.utils.StatsUtils;
657 StatsUtils.onCreate(mSettings.getCurrent(), mRichImm); in onCreate()
849 StatsUtils.onCreateInputView(); in onCreateInputView()
884 StatsUtils.onFinishInputView(); in onFinishInputView()
900 StatsUtils.onSubtypeChanged(oldSubtype, subtype); in onCurrentInputMethodSubtypeChanged()
990 StatsUtils.onStartInputView(editorInfo.inputType, in onStartInputViewInternal()
DRichInputConnection.java46 import com.android.inputmethod.latin.utils.StatsUtils;
468 StatsUtils.onInputConnectionLaggy(operation, duration); in detectLaggyConnection()