Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DTelephonyMetricsTest.java92 private TelephonyMetrics mMetrics; field in TelephonyMetricsTest
101 mMetrics = new TelephonyMetrics(); in setUp()
129 return (TelephonyLog) method.invoke(mMetrics); in buildProto()
135 method.invoke(mMetrics); in reset()
151 mMetrics.writeDataStallEvent(mPhone.getPhoneId(), i); in testEventDropped()
165 mMetrics.writeDataStallEvent(mPhone.getPhoneId(), 3); in testWriteDataStallEvent()
179 mMetrics.writeModemRestartEvent(mPhone.getPhoneId(), "Test"); in testModemRestartEvent()
206 mMetrics.writeCarrierIdMatchingEvent(mPhone.getPhoneId(), 1, in testWriteCarrierIdMatchingEventWithInvalidMatchingScore()
247 mMetrics.writeCarrierIdMatchingEvent(mPhone.getPhoneId(), 1, 1, in testWriteCarrierIdMatchingEvent()
283 mMetrics.writeEmergencyNumberUpdateEvent(mPhone.getPhoneId(), number); in testWriteEmergencyNumberUpdateEvent()
[all …]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/
DWindowManagerImpl.java29 private final DisplayMetrics mMetrics; field in WindowManagerImpl
33 mMetrics = metrics; in WindowManagerImpl()
36 info.logicalHeight = mMetrics.heightPixels; in WindowManagerImpl()
37 info.logicalWidth = mMetrics.widthPixels; in WindowManagerImpl()
39 new Mode(0, mMetrics.widthPixels, mMetrics.heightPixels, 60f) in WindowManagerImpl()
/frameworks/base/tests/SystemMemoryTest/host/src/com/android/tests/sysmem/host/
DMetrics.java36 private TestMetrics mMetrics; field in Metrics
50 this.mMetrics = metrics; in Metrics()
104 mMetrics.addTestMetric(label + ".system_server.vss", Long.toString(vss)); in sample()
105 mMetrics.addTestMetric(label + ".system_server.rss", Long.toString(rss)); in sample()
106 mMetrics.addTestMetric(label + ".system_server.pss", Long.toString(pss)); in sample()
DMemoryTest.java40 private Metrics mMetrics; field in MemoryTest
47 mMetrics = new Metrics(device, testMetrics, testLogs); in setDevice()
64 mMetrics.sample(String.format("%03d", mIterations)); in sample()
/frameworks/layoutlib/bridge/src/android/view/
DIWindowManagerImpl.java30 private final DisplayMetrics mMetrics; field in IWindowManagerImpl
37 mMetrics = metrics; in IWindowManagerImpl()
45 return mMetrics; in getMetrics()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DBitmapUploadActivity.java35 private final DisplayMetrics mMetrics = new DisplayMetrics(); field in BitmapUploadActivity.UploadView
58 getDisplay().getMetrics(mMetrics); in onAttachedToWindow()
59 int minDisplayDimen = Math.min(mMetrics.widthPixels, mMetrics.heightPixels); in onAttachedToWindow()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
DBitmapUploadActivity.java48 private final DisplayMetrics mMetrics = new DisplayMetrics(); field in BitmapUploadActivity.UploadView
71 getDisplay().getMetrics(mMetrics); in onAttachedToWindow()
72 int minDisplayDimen = Math.min(mMetrics.widthPixels, mMetrics.heightPixels); in onAttachedToWindow()
/frameworks/base/core/java/android/content/res/
DResourcesImpl.java158 private final DisplayMetrics mMetrics = new DisplayMetrics(); field in ResourcesImpl
187 mMetrics.setToDefaults(); in ResourcesImpl()
204 if (DEBUG_CONFIG) Slog.v(TAG, "Returning DisplayMetrics: " + mMetrics.widthPixels in getDisplayMetrics()
205 + "x" + mMetrics.heightPixels + " " + mMetrics.density); in getDisplayMetrics()
206 return mMetrics; in getDisplayMetrics()
390 mMetrics.setTo(metrics); in updateConfiguration()
401 mDisplayAdjustments.getCompatibilityInfo().applyToDisplayMetrics(mMetrics); in updateConfiguration()
436 mMetrics.densityDpi = mConfiguration.densityDpi; in updateConfiguration()
437 mMetrics.density = in updateConfiguration()
442 mMetrics.scaledDensity = mMetrics.density * in updateConfiguration()
[all …]
DTypedArray.java60 attrs.mMetrics = res.getDisplayMetrics(); in obtain()
79 private DisplayMetrics mMetrics; field in TypedArray
680 return TypedValue.complexToDimension(data[index + STYLE_DATA], mMetrics); in getDimension()
728 return TypedValue.complexToDimensionPixelOffset(data[index + STYLE_DATA], mMetrics); in getDimensionPixelOffset()
777 return TypedValue.complexToDimensionPixelSize(data[index + STYLE_DATA], mMetrics); in getDimensionPixelSize()
821 return TypedValue.complexToDimensionPixelSize(data[index + STYLE_DATA], mMetrics); in getLayoutDimension()
859 return TypedValue.complexToDimensionPixelSize(data[index + STYLE_DATA], mMetrics); in getLayoutDimension()
1381 mMetrics = mResources.getDisplayMetrics(); in TypedArray()
/frameworks/base/services/core/java/com/android/server/pm/
DParallelPackageParser.java47 private final DisplayMetrics mMetrics; field in ParallelPackageParser
61 mMetrics = metrics; in ParallelPackageParser()
113 pp.setDisplayMetrics(mMetrics); in submit()
/frameworks/base/core/java/android/app/admin/
DPasswordMetrics.java104 .complexityLevelToBucket(complexityLevel).mMetrics[0].quality; in complexityLevelToMinQuality()
144 for (PasswordMetrics metrics : targetBucket.mMetrics) { in getTargetQualityMetrics()
153 return targetBucket.mMetrics[0]; in getTargetQualityMetrics()
411 if (satisfiesBucket(bucket.mMetrics)) { in determineComplexity()
479 private final PasswordMetrics[] mMetrics; field in PasswordMetrics.PasswordComplexityBucket
495 this.mMetrics = metricsArray; in PasswordComplexityBucket()
/frameworks/av/drm/libmediadrm/
DDrmHal.cpp425 mMetrics.SetAppPackageName(appPackageName); in makeDrmPlugin()
464 mMetrics.mEventCounter.Increment(hEventType); in sendEvent()
569 mMetrics.mKeyStatusChangeCounter.Increment(keyStatus.type); in sendKeysChange_1_2()
580 mMetrics.mKeyStatusChangeCounter.Increment(keyStatusList[i].type); in sendKeysChange_1_2()
754 mMetrics.SetSessionStart(sessionId); in openSession()
757 mMetrics.mOpenSessionCounter.Increment(err); in openSession()
777 mMetrics.SetSessionEnd(sessionId); in closeSession()
778 mMetrics.mCloseSessionCounter.Increment(response); in closeSession()
781 mMetrics.mCloseSessionCounter.Increment(DEAD_OBJECT); in closeSession()
825 EventTimer<status_t> keyRequestTimer(&mMetrics.mGetKeyRequestTimeUs); in getKeyRequest()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java157 private TelephonyMetrics mMetrics; field in ImsPhoneCallTracker
543 mMetrics = TelephonyMetrics.getInstance(); in ImsPhoneCallTracker()
1103 mMetrics.writeOnImsCallStart(mPhone.getPhoneId(), in dialInternal()
1166 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), imsCall.getSession(), in acceptCall()
1224 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), callToHold.getSession(), in holdActiveCallForPendingMo()
1253 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), callToHold.getSession(), in holdActiveCall()
1275 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), callToHold.getSession(), in holdActiveCallForWaitingCall()
1301 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), imsCall.getSession(), in unholdHeldCall()
1315 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), imsCall.getSession(), in resumeForegroundCall()
1326 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), imsCall.getSession(), in answerWaitingCall()
[all …]
DImsPhoneConnection.java71 private TelephonyMetrics mMetrics = TelephonyMetrics.getInstance(); field in ImsPhoneConnection
990 mMetrics.writeAudioCodecIms(mOwner.mPhone.getPhoneId(), imsCall.getCallSession()); in updateMediaCapabilities()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmInboundSmsHandler.java193 mMetrics.writeIncomingSmsTypeZero(mPhone.getPhoneId(), in addSmsTypeZeroToMetrics()
201 mMetrics.writeIncomingVoiceMailSms(mPhone.getPhoneId(), in addVoicemailSmsToMetrics()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DImsSmsDispatcher.java67 private TelephonyMetrics mMetrics = TelephonyMetrics.getInstance(); field in ImsSmsDispatcher
120 mMetrics.writeOnImsServiceSmsSolicitedResponse(mPhone.getPhoneId(), status, reason);
376 mMetrics.writeImsServiceSendSms(mPhone.getPhoneId(), format, in sendSms()
381 mMetrics.writeImsServiceSendSms(mPhone.getPhoneId(), format, in sendSms()
DGsmCdmaCallTracker.java103 private TelephonyMetrics mMetrics = TelephonyMetrics.getInstance(); field in GsmCdmaCallTracker
333 mMetrics.writeRilDial(mPhone.getPhoneId(), mPendingMO, clirMode, uusInfo); in dialGsm()
788 mMetrics.writePhoneState(mPhone.getPhoneId(), mState); in updatePhoneState()
1096 mMetrics.writeRilCallList(mPhone.getPhoneId(), locallyDisconnectedConnections, in handlePollCalls()
1168 mMetrics.writeRilCallList(mPhone.getPhoneId(), activeConnections, getNetworkCountryIso()); in updateMetrics()
1241 mMetrics.writeRilHangup(mPhone.getPhoneId(), conn, conn.getGsmCdmaIndex(), in hangup()
1337 mMetrics.writeRilHangup(mPhone.getPhoneId(), cn, call_index, getNetworkCountryIso()); in logHangupEvent()
1359 mMetrics.writeRilHangup(mPhone.getPhoneId(), cn, cn.getGsmCdmaIndex(), in hangupConnectionByIndex()
1375 mMetrics.writeRilHangup(mPhone.getPhoneId(), cn, cn.getGsmCdmaIndex(), in hangupAllConnections()
1559 mMetrics.writeRilCallList(mPhone.getPhoneId(), mDroppedDuringPoll, in handleMessage()
DInboundSmsHandler.java236 protected TelephonyMetrics mMetrics = TelephonyMetrics.getInstance(); field in InboundSmsHandler
681 mMetrics.writeIncomingSmsError(mPhone.getPhoneId(), mLastSmsWasInjected, result); in dispatchMessage()
922 mMetrics.writeIncomingSmsSession(mPhone.getPhoneId(), mLastSmsWasInjected, in processMessagePart()
953 mMetrics.writeIncomingWapPush(mPhone.getPhoneId(), mLastSmsWasInjected, in processMessagePart()
966 mMetrics.writeIncomingWapPush(mPhone.getPhoneId(), mLastSmsWasInjected, in processMessagePart()
969 mMetrics.writeIncomingWapPush(mPhone.getPhoneId(), mLastSmsWasInjected, in processMessagePart()
DRIL.java225 private TelephonyMetrics mMetrics = TelephonyMetrics.getInstance(); field in RIL
329 mMetrics.writeOnRilTimeoutResponse(mPhoneId, rr.mSerial, rr.mRequest); in handleMessage()
1336 mMetrics.writeRilSendSms(mPhoneId, rr.mSerial, SmsSession.Event.Tech.SMS_GSM, in sendSMS()
1358 mMetrics.writeRilSendSms(mPhoneId, rr.mSerial, SmsSession.Event.Tech.SMS_GSM, in sendSMSExpectMore()
1828 mMetrics.writeRilAnswer(mPhoneId, rr.mSerial); in acceptCall()
1857 mMetrics.writeRilDeactivateDataCall(mPhoneId, rr.mSerial, cid, reason); in deactivateDataCall()
2601 mMetrics.writeSetPreferredNetworkType(mPhoneId, networkType); in setPreferredNetworkType()
3033 mMetrics.writeRilSendSms(mPhoneId, rr.mSerial, SmsSession.Event.Tech.SMS_CDMA, in sendCdmaSms()
3552 mMetrics.writeRilSendSms(mPhoneId, rr.mSerial, SmsSession.Event.Tech.SMS_IMS, in sendImsGsmSms()
3581 mMetrics.writeRilSendSms(mPhoneId, rr.mSerial, SmsSession.Event.Tech.SMS_IMS, in sendImsCdmaSms()
[all …]
DGsmCdmaConnection.java85 private TelephonyMetrics mMetrics = TelephonyMetrics.getInstance(); field in GsmCdmaConnection
683 mMetrics.writeAudioCodecGsmCdma(mOwner.getPhone().getPhoneId(), dc.audioQuality); in update()
/frameworks/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java69 final java.awt.FontMetrics mMetrics; field in Paint_Delegate.FontInfo
73 this.mMetrics = fontMetrics; in FontInfo()
574 java.awt.FontMetrics javaMetrics = fonts.get(0).mMetrics; in nAscent()
592 java.awt.FontMetrics javaMetrics = fonts.get(0).mMetrics; in nDescent()
622 java.awt.FontMetrics javaMetrics = fonts.get(0).mMetrics; in nGetFontMetricsInt()
1340 java.awt.FontMetrics javaMetrics = fonts.get(0).mMetrics; in getFontMetrics()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java154 private final DisplayMetrics mMetrics; field in BridgeContext
223 mMetrics = metrics; in BridgeContext()
242 mWindowManager = new WindowManagerImpl(mMetrics); in BridgeContext()
268 mMetrics, in initResources()
311 return mMetrics; in getMetrics()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandler.java342 mMetrics.writeIncomingVoiceMailSms(mPhone.getPhoneId(), in addVoicemailSmsToMetrics()
/frameworks/av/include/mediadrm/
DDrmHal.h209 mutable MediaDrmMetrics mMetrics; member
/frameworks/av/media/libmedia/include/media/
DDrmHal.h209 mutable MediaDrmMetrics mMetrics; member

12