Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/metrics/
DNetworkIpProvisioningMetricsTest.java45 final IpProvisioningMetrics mMetrics = new IpProvisioningMetrics(); in testIpProvisioningMetrics_setHostnameTransinfo() local
47 mMetrics.reset(); in testIpProvisioningMetrics_setHostnameTransinfo()
48 mMetrics.setHostnameTransinfo(false /* isOptionEnabled */, false /* transSuccess */); in testIpProvisioningMetrics_setHostnameTransinfo()
49 mStats = mMetrics.statsWrite(); in testIpProvisioningMetrics_setHostnameTransinfo()
52 mMetrics.reset(); in testIpProvisioningMetrics_setHostnameTransinfo()
53 mMetrics.setHostnameTransinfo(true /* isOptionEnabled */, false /* transSuccess */); in testIpProvisioningMetrics_setHostnameTransinfo()
54 mStats = mMetrics.statsWrite(); in testIpProvisioningMetrics_setHostnameTransinfo()
57 mMetrics.reset(); in testIpProvisioningMetrics_setHostnameTransinfo()
58 mMetrics.setHostnameTransinfo(true /* isOptionEnabled */, true /* transSuccess */); in testIpProvisioningMetrics_setHostnameTransinfo()
59 mStats = mMetrics.statsWrite(); in testIpProvisioningMetrics_setHostnameTransinfo()
[all …]
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenOnboardingActivity.java56 private MetricsLogger mMetrics; field in ZenOnboardingActivity
103 mMetrics.visible(SettingsEnums.SETTINGS_ZEN_ONBOARDING); in setupUI()
113 mMetrics = ml; in setMetricsLogger()
117 mMetrics.action(SettingsEnums.ACTION_ZEN_ONBOARDING_SETTINGS); in launchSettings()
133 mMetrics.action(SettingsEnums.ACTION_ZEN_ONBOARDING_OK); in save()
135 mMetrics.action(SettingsEnums.ACTION_ZEN_ONBOARDING_KEEP_CURRENT_SETTINGS); in save()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/audio/
DAudioReader.java40 private final AudioMetrics mMetrics; field in AudioReader
56 this.mMetrics = metrics; in AudioReader()
99 mMetrics.startedReading(); in run()
115 mMetrics.receivedValidAudio(); in run()
116 mMetrics.setEmptyAudioDurationMs(samplesToMs(currentSample)); in run()
DAudioDebug.java42 private final AudioMetrics mMetrics; field in AudioDebug
69 mMetrics = new AudioMetrics(metricsCallback); in AudioDebug()
78 mMetrics.start(); in startRecording()
80 mAudioReader = new AudioReader(mMetrics); in startRecording()
/packages/apps/Launcher3/src/com/android/launcher3/
DDeviceProfile.java61 private final DisplayMetrics mMetrics; field in DeviceProfile
250 mMetrics = context.getResources().getDisplayMetrics(); in DeviceProfile()
287 setCellLayoutBorderSpacing(pxFromDp(inv.borderSpacing, mMetrics, 1f)); in DeviceProfile()
342 updateHotseatIconSize(pxFromDp(inv.iconSize, mMetrics, 1f)); in DeviceProfile()
576 iconSizePx = Math.max(1, pxFromDp(invIconSizeDp, mMetrics, iconScale));
578 iconTextSizePx = (int) (pxFromSp(invIconTextSizeSp, mMetrics) * iconScale);
584 cellWidthPx = pxFromDp(inv.minCellWidth, mMetrics, scale);
585 cellHeightPx = pxFromDp(inv.minCellHeight, mMetrics, scale);
608 allAppsIconSizePx = pxFromDp(inv.allAppsIconSize, mMetrics);
609 allAppsIconTextSizePx = pxFromSp(inv.allAppsIconTextSize, mMetrics);
[all …]
/packages/apps/Settings/src/com/android/settings/deletionhelper/
DAutomaticStorageManagerSwitchBarController.java42 private MetricsFeatureProvider mMetrics; field in AutomaticStorageManagerSwitchBarController
54 mMetrics = Preconditions.checkNotNull(metrics); in AutomaticStorageManagerSwitchBarController()
68 mMetrics.action(mContext, SettingsEnums.ACTION_TOGGLE_STORAGE_MANAGER, isChecked); in onSwitchChanged()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DStringTexture.java34 private final FontMetricsInt mMetrics; field in StringTexture
41 mMetrics = metrics; in StringTexture()
84 canvas.translate(0, -mMetrics.ascent); in onDraw()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpClient.java327 private final IpProvisioningMetrics mMetrics; field in DhcpClient
406 private final IpProvisioningMetrics mMetrics; field in DhcpClient.Dependencies
410 mMetrics = metrics; in Dependencies()
440 return mMetrics; in getIpProvisioningMetrics()
481 mMetrics = deps.getIpProvisioningMetrics(); in DhcpClient()
523 mMetrics.setHostnameTransinfo(sendHostname, mHostname != null); in DhcpClient()
581 if (isDhcpLeaseCacheEnabled()) mMetrics.setDhcpEnabledFeature(DhcpFeature.DF_INITREBOOT); in recordMetricEnabledFeatures()
582 if (isDhcpRapidCommitEnabled()) mMetrics.setDhcpEnabledFeature(DhcpFeature.DF_RAPIDCOMMIT); in recordMetricEnabledFeatures()
583 if (isDhcpIpConflictDetectEnabled()) mMetrics.setDhcpEnabledFeature(DhcpFeature.DF_DAD); in recordMetricEnabledFeatures()
585 mMetrics.setDhcpEnabledFeature(DhcpFeature.DF_FILS); in recordMetricEnabledFeatures()
[all …]
/packages/apps/Settings/src/com/android/settings/
DActivityPicker.java332 private final DisplayMetrics mMetrics; field in ActivityPicker.IconResizer
340 mMetrics = metrics; in IconResizer()
375 bitmapDrawable.setTargetDensity(mMetrics); in createIconThumbnail()
409 ((BitmapDrawable) icon).setTargetDensity(mMetrics); in createIconThumbnail()
424 ((BitmapDrawable) icon).setTargetDensity(mMetrics); in createIconThumbnail()