/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | TelephonyMetricsTest.java | 92 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/ |
D | WindowManagerImpl.java | 29 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/ |
D | Metrics.java | 36 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()
|
D | MemoryTest.java | 40 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/ |
D | IWindowManagerImpl.java | 30 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/ |
D | BitmapUploadActivity.java | 35 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/ |
D | BitmapUploadActivity.java | 48 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/ |
D | ResourcesImpl.java | 158 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 …]
|
D | TypedArray.java | 60 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/ |
D | ParallelPackageParser.java | 47 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/ |
D | PasswordMetrics.java | 104 .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/ |
D | DrmHal.cpp | 425 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/ |
D | ImsPhoneCallTracker.java | 157 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 …]
|
D | ImsPhoneConnection.java | 71 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/ |
D | GsmInboundSmsHandler.java | 193 mMetrics.writeIncomingSmsTypeZero(mPhone.getPhoneId(), in addSmsTypeZeroToMetrics() 201 mMetrics.writeIncomingVoiceMailSms(mPhone.getPhoneId(), in addVoicemailSmsToMetrics()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | ImsSmsDispatcher.java | 67 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()
|
D | GsmCdmaCallTracker.java | 103 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()
|
D | InboundSmsHandler.java | 236 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()
|
D | RIL.java | 225 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 …]
|
D | GsmCdmaConnection.java | 85 private TelephonyMetrics mMetrics = TelephonyMetrics.getInstance(); field in GsmCdmaConnection 683 mMetrics.writeAudioCodecGsmCdma(mOwner.getPhone().getPhoneId(), dc.audioQuality); in update()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Paint_Delegate.java | 69 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/ |
D | BridgeContext.java | 154 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/ |
D | CdmaInboundSmsHandler.java | 342 mMetrics.writeIncomingVoiceMailSms(mPhone.getPhoneId(), in addVoicemailSmsToMetrics()
|
/frameworks/av/include/mediadrm/ |
D | DrmHal.h | 209 mutable MediaDrmMetrics mMetrics; member
|
/frameworks/av/media/libmedia/include/media/ |
D | DrmHal.h | 209 mutable MediaDrmMetrics mMetrics; member
|