Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DTelephonyMetricsTest.java97 private TelephonyMetrics mMetrics; field in TelephonyMetricsTest
106 mMetrics = new TelephonyMetrics(); in setUp()
133 return (TelephonyLog) method.invoke(mMetrics); in buildProto()
139 method.invoke(mMetrics); in reset()
155 mMetrics.writeDataStallEvent(mPhone.getPhoneId(), i); in testEventDropped()
169 mMetrics.writeDataStallEvent(mPhone.getPhoneId(), 3); in testWriteDataStallEvent()
183 mMetrics.writeModemRestartEvent(mPhone.getPhoneId(), "Test"); in testModemRestartEvent()
210 mMetrics.writeCarrierIdMatchingEvent(mPhone.getPhoneId(), 1, in testWriteCarrierIdMatchingEventWithInvalidMatchingScore()
251 mMetrics.writeCarrierIdMatchingEvent(mPhone.getPhoneId(), 1, 1, in testWriteCarrierIdMatchingEvent()
287 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/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
681 return TypedValue.complexToDimension(data[index + STYLE_DATA], mMetrics); in getDimension()
729 return TypedValue.complexToDimensionPixelOffset(data[index + STYLE_DATA], mMetrics); in getDimensionPixelOffset()
778 return TypedValue.complexToDimensionPixelSize(data[index + STYLE_DATA], mMetrics); in getDimensionPixelSize()
822 return TypedValue.complexToDimensionPixelSize(data[index + STYLE_DATA], mMetrics); in getLayoutDimension()
860 return TypedValue.complexToDimensionPixelSize(data[index + STYLE_DATA], mMetrics); in getLayoutDimension()
1382 mMetrics = mResources.getDisplayMetrics(); in TypedArray()
/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/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/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/av/drm/libmediadrm/
DDrmHal.cpp431 mMetrics.SetAppPackageName(appPackageName); in makeDrmPlugin()
470 mMetrics.mEventCounter.Increment(hEventType); in sendEvent()
575 mMetrics.mKeyStatusChangeCounter.Increment(keyStatus.type); in sendKeysChange_1_2()
586 mMetrics.mKeyStatusChangeCounter.Increment(keyStatusList[i].type); in sendKeysChange_1_2()
760 mMetrics.SetSessionStart(sessionId); in openSession()
763 mMetrics.mOpenSessionCounter.Increment(err); in openSession()
783 mMetrics.SetSessionEnd(sessionId); in closeSession()
784 mMetrics.mCloseSessionCounter.Increment(response); in closeSession()
787 mMetrics.mCloseSessionCounter.Increment(DEAD_OBJECT); in closeSession()
831 EventTimer<status_t> keyRequestTimer(&mMetrics.mGetKeyRequestTimeUs); in getKeyRequest()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DImsSmsDispatcher.java69 private TelephonyMetrics mMetrics = TelephonyMetrics.getInstance(); field in ImsSmsDispatcher
124 mMetrics.writeOnImsServiceSmsSolicitedResponse(mPhone.getPhoneId(), status, reason);
390 mMetrics.writeImsServiceSendSms(mPhone.getPhoneId(), format, in sendSms()
396 mMetrics.writeImsServiceSendSms(mPhone.getPhoneId(), format, in sendSms()
DGsmCdmaCallTracker.java103 private TelephonyMetrics mMetrics = TelephonyMetrics.getInstance(); field in GsmCdmaCallTracker
331 mMetrics.writeRilDial(mPhone.getPhoneId(), mPendingMO, clirMode, uusInfo); in dialGsm()
779 mMetrics.writePhoneState(mPhone.getPhoneId(), mState); in updatePhoneState()
1093 mMetrics.writeRilCallList(mPhone.getPhoneId(), locallyDisconnectedConnections, in handlePollCalls()
1166 mMetrics.writeRilCallList(mPhone.getPhoneId(), activeConnections, getNetworkCountryIso()); in updateMetrics()
1240 mMetrics.writeRilHangup(mPhone.getPhoneId(), conn, conn.getGsmCdmaIndex(), in hangup()
1335 mMetrics.writeRilHangup(mPhone.getPhoneId(), c, call_index, getNetworkCountryIso()); in logHangupEvent()
1359 mMetrics.writeRilHangup(mPhone.getPhoneId(), c, c.getGsmCdmaIndex(), in hangupConnectionByIndex()
1373 mMetrics.writeRilHangup(mPhone.getPhoneId(), c, c.getGsmCdmaIndex(), in hangupAllConnections()
1585 mMetrics.writeRilCallList(mPhone.getPhoneId(), mDroppedDuringPoll, in handleMessage()
DInboundSmsHandler.java233 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()
946 mMetrics.writeIncomingWapPush(mPhone.getPhoneId(), mLastSmsWasInjected, in processMessagePart()
972 mMetrics.writeIncomingWapPush(mPhone.getPhoneId(), mLastSmsWasInjected, in processMessagePart()
975 mMetrics.writeIncomingWapPush(mPhone.getPhoneId(), mLastSmsWasInjected, in processMessagePart()
DGsmCdmaConnection.java83 private TelephonyMetrics mMetrics = TelephonyMetrics.getInstance(); field in GsmCdmaConnection
693 mMetrics.writeAudioCodecGsmCdma(mOwner.getPhone().getPhoneId(), dc.audioQuality); in update()
DRIL.java260 private TelephonyMetrics mMetrics = TelephonyMetrics.getInstance(); field in RIL
371 mMetrics.writeOnRilTimeoutResponse(mPhoneId, rr.mSerial, rr.mRequest); in handleMessage()
1649 mMetrics.writeRilSendSms(mPhoneId, rr.mSerial, SmsSession.Event.Tech.SMS_GSM, in sendSMS()
1671 mMetrics.writeRilSendSms(mPhoneId, rr.mSerial, SmsSession.Event.Tech.SMS_GSM, in sendSMSExpectMore()
2212 mMetrics.writeRilAnswer(mPhoneId, rr.mSerial); in acceptCall()
2241 mMetrics.writeRilDeactivateDataCall(mPhoneId, rr.mSerial, cid, reason); in deactivateDataCall()
3094 mMetrics.writeSetPreferredNetworkType(mPhoneId, networkType); in setPreferredNetworkType()
3530 mMetrics.writeRilSendSms(mPhoneId, rr.mSerial, SmsSession.Event.Tech.SMS_CDMA, in sendCdmaSMSExpectMore()
3556 mMetrics.writeRilSendSms(mPhoneId, rr.mSerial, SmsSession.Event.Tech.SMS_CDMA, in sendCdmaSms()
4081 mMetrics.writeRilSendSms(mPhoneId, rr.mSerial, SmsSession.Event.Tech.SMS_IMS, in sendImsGsmSms()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmInboundSmsHandler.java262 mMetrics.writeIncomingSmsTypeZero(mPhone.getPhoneId(), in addSmsTypeZeroToMetrics()
270 mMetrics.writeIncomingVoiceMailSms(mPhone.getPhoneId(), in addVoicemailSmsToMetrics()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java165 private TelephonyMetrics mMetrics; field in ImsPhoneCallTracker
855 mMetrics = TelephonyMetrics.getInstance(); in ImsPhoneCallTracker()
1507 mMetrics.writeOnImsCallStart(mPhone.getPhoneId(), imsCall.getSession()); in dialInternal()
1575 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), imsCall.getSession(), in acceptCall()
1635 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), callToHold.getSession(), in holdActiveCallForPendingMo()
1667 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), callToHold.getSession(), in holdActiveCall()
1694 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), callToHold.getSession(), in holdActiveCallForWaitingCall()
1724 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), imsCall.getSession(), in unholdHeldCall()
1741 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), imsCall.getSession(), in resumeForegroundCall()
1753 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), imsCall.getSession(), in answerWaitingCall()
[all …]
DImsPhone.java244 private TelephonyMetrics mMetrics; field in ImsPhone
426 mMetrics = TelephonyMetrics.getInstance(); in ImsPhone()
2367 mMetrics.writeOnImsConnectionState(mPhoneId, ImsConnectionState.State.CONNECTED, null);
2379 mMetrics.writeOnImsConnectionState(mPhoneId, ImsConnectionState.State.PROGRESSING,
2389 mMetrics.writeOnImsConnectionState(mPhoneId, ImsConnectionState.State.DISCONNECTED,
DImsPhoneConnection.java74 private TelephonyMetrics mMetrics = TelephonyMetrics.getInstance(); field in ImsPhoneConnection
1064 mMetrics.writeAudioCodecIms(mOwner.mPhone.getPhoneId(), imsCall.getCallSession()); in updateMediaCapabilities()
/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/av/drm/libmediadrm/include/mediadrm/
DDrmHal.h229 mutable MediaDrmMetrics mMetrics; member
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandler.java435 mMetrics.writeIncomingVoiceMailSms(mPhone.getPhoneId(), in addVoicemailSmsToMetrics()

12