/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | VersionedPasswordMetrics.java | 31 private final PasswordMetrics mMetrics; field in VersionedPasswordMetrics 35 mMetrics = metrics; in VersionedPasswordMetrics() 48 return mMetrics; in getMetrics() 55 buffer.putInt(mMetrics.credType); in serialize() 56 buffer.putInt(mMetrics.length); in serialize() 57 buffer.putInt(mMetrics.letters); in serialize() 58 buffer.putInt(mMetrics.upperCase); in serialize() 59 buffer.putInt(mMetrics.lowerCase); in serialize() 60 buffer.putInt(mMetrics.numeric); in serialize() 61 buffer.putInt(mMetrics.symbols); in serialize() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | TelephonyMetricsTest.java | 97 private TelephonyMetrics mMetrics; field in TelephonyMetricsTest 106 mMetrics = new TelephonyMetrics(); in setUp() 107 mMetrics.setContext(mContext); in setUp() 134 return (TelephonyLog) method.invoke(mMetrics); in buildProto() 140 method.invoke(mMetrics); in reset() 156 mMetrics.writeDataStallEvent(mPhone.getPhoneId(), i); in testEventDropped() 170 mMetrics.writeDataStallEvent(mPhone.getPhoneId(), 3); in testWriteDataStallEvent() 184 mMetrics.writeModemRestartEvent(mPhone.getPhoneId(), "Test"); in testModemRestartEvent() 211 mMetrics.writeCarrierIdMatchingEvent(mPhone.getPhoneId(), 1, in testWriteCarrierIdMatchingEventWithInvalidMatchingScore() 252 mMetrics.writeCarrierIdMatchingEvent(mPhone.getPhoneId(), 1, 1, in testWriteCarrierIdMatchingEvent() [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/ |
D | WindowManagerImpl.java | 42 private final DisplayMetrics mMetrics; field in WindowManagerImpl 47 mMetrics = metrics; in WindowManagerImpl() 50 info.logicalHeight = mMetrics.heightPixels; in WindowManagerImpl() 51 info.logicalWidth = mMetrics.widthPixels; in WindowManagerImpl() 53 new Mode(0, mMetrics.widthPixels, mMetrics.heightPixels, 60f) in WindowManagerImpl() 55 info.logicalDensityDpi = mMetrics.densityDpi; 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/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 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/ |
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/av/drm/libmediadrm/ |
D | DrmHal.cpp | 410 mMetrics.SetAppPackageName(appPackageName); in makeDrmPlugin() 411 mMetrics.SetAppUid(AIBinder_getCallingUid()); in makeDrmPlugin() 444 mMetrics.mEventCounter.Increment(hEventType); in sendEvent() 537 mMetrics.mKeyStatusChangeCounter.Increment(keyStatus.type); in sendKeysChange_1_2() 547 mMetrics.mKeyStatusChangeCounter.Increment(hKeyStatusList[i].type); in sendKeysChange_1_2() 721 mMetrics.SetSessionStart(sessionId); in openSession() 724 mMetrics.mOpenSessionCounter.Increment(err); in openSession() 744 mMetrics.SetSessionEnd(sessionId); in closeSession() 745 mMetrics.mCloseSessionCounter.Increment(response); in closeSession() 748 mMetrics.mCloseSessionCounter.Increment(DEAD_OBJECT); in closeSession() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | ImsSmsDispatcher.java | 70 private TelephonyMetrics mMetrics = TelephonyMetrics.getInstance(); field in ImsSmsDispatcher 126 mMetrics.writeOnImsServiceSmsSolicitedResponse(mPhone.getPhoneId(), status, reason, 407 mMetrics.writeImsServiceSendSms(mPhone.getPhoneId(), format, in sendSms() 412 mMetrics.writeImsServiceSendSms(mPhone.getPhoneId(), format, in sendSms()
|
D | GsmCdmaCallTracker.java | 103 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() 1091 mMetrics.writeRilCallList(mPhone.getPhoneId(), locallyDisconnectedConnections, in handlePollCalls() 1164 mMetrics.writeRilCallList(mPhone.getPhoneId(), activeConnections, getNetworkCountryIso()); in updateMetrics() 1238 mMetrics.writeRilHangup(mPhone.getPhoneId(), conn, conn.getGsmCdmaIndex(), in hangup() 1333 mMetrics.writeRilHangup(mPhone.getPhoneId(), c, call_index, getNetworkCountryIso()); in logHangupEvent() 1357 mMetrics.writeRilHangup(mPhone.getPhoneId(), c, c.getGsmCdmaIndex(), in hangupConnectionByIndex() 1371 mMetrics.writeRilHangup(mPhone.getPhoneId(), c, c.getGsmCdmaIndex(), in hangupAllConnections() 1583 mMetrics.writeRilCallList(mPhone.getPhoneId(), mDroppedDuringPoll, in handleMessage()
|
D | InboundSmsHandler.java | 239 protected TelephonyMetrics mMetrics = TelephonyMetrics.getInstance(); field in InboundSmsHandler 724 mMetrics.writeIncomingSmsError(mPhone.getPhoneId(), mLastSmsWasInjected, result); in dispatchMessage() 980 mMetrics.writeIncomingSmsSession(mPhone.getPhoneId(), mLastSmsWasInjected, in processMessagePart() 1004 mMetrics.writeIncomingWapPush(mPhone.getPhoneId(), mLastSmsWasInjected, in processMessagePart() 1036 mMetrics.writeIncomingWapPush(mPhone.getPhoneId(), mLastSmsWasInjected, in processMessagePart() 1039 mMetrics.writeIncomingWapPush(mPhone.getPhoneId(), mLastSmsWasInjected, in processMessagePart()
|
D | GsmCdmaConnection.java | 83 private TelephonyMetrics mMetrics = TelephonyMetrics.getInstance(); field in GsmCdmaConnection 693 mMetrics.writeAudioCodecGsmCdma(mOwner.getPhone().getPhoneId(), dc.audioQuality); in update()
|
D | RIL.java | 259 private TelephonyMetrics mMetrics = TelephonyMetrics.getInstance(); field in RIL 370 mMetrics.writeOnRilTimeoutResponse(mPhoneId, rr.mSerial, rr.mRequest); in handleMessage() 1648 mMetrics.writeRilSendSms(mPhoneId, rr.mSerial, SmsSession.Event.Tech.SMS_GSM, in sendSMS() 1670 mMetrics.writeRilSendSms(mPhoneId, rr.mSerial, SmsSession.Event.Tech.SMS_GSM, in sendSMSExpectMore() 2211 mMetrics.writeRilAnswer(mPhoneId, rr.mSerial); in acceptCall() 2240 mMetrics.writeRilDeactivateDataCall(mPhoneId, rr.mSerial, cid, reason); in deactivateDataCall() 3093 mMetrics.writeSetPreferredNetworkType(mPhoneId, networkType); in setPreferredNetworkType() 3529 mMetrics.writeRilSendSms(mPhoneId, rr.mSerial, SmsSession.Event.Tech.SMS_CDMA, in sendCdmaSMSExpectMore() 3555 mMetrics.writeRilSendSms(mPhoneId, rr.mSerial, SmsSession.Event.Tech.SMS_CDMA, in sendCdmaSms() 4080 mMetrics.writeRilSendSms(mPhoneId, rr.mSerial, SmsSession.Event.Tech.SMS_IMS, in sendImsGsmSms() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | GsmInboundSmsHandler.java | 262 mMetrics.writeIncomingSmsTypeZero(mPhone.getPhoneId(), in addSmsTypeZeroToMetrics() 270 mMetrics.writeIncomingVoiceMailSms(mPhone.getPhoneId(), in addVoicemailSmsToMetrics()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTracker.java | 165 private TelephonyMetrics mMetrics; field in ImsPhoneCallTracker 878 mMetrics = TelephonyMetrics.getInstance(); in ImsPhoneCallTracker() 1527 mMetrics.writeOnImsCallStart(mPhone.getPhoneId(), imsCall.getSession()); in dialInternal() 1595 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), imsCall.getSession(), in acceptCall() 1655 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), callToHold.getSession(), in holdActiveCallForPendingMo() 1687 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), callToHold.getSession(), in holdActiveCall() 1712 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), callToHold.getSession(), in holdActiveCallForWaitingCall() 1741 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), imsCall.getSession(), in unholdHeldCall() 1758 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), imsCall.getSession(), in resumeForegroundCall() 1770 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), imsCall.getSession(), in answerWaitingCall() [all …]
|
D | ImsPhone.java | 242 private TelephonyMetrics mMetrics; field in ImsPhone 333 mMetrics = TelephonyMetrics.getInstance(); in ImsPhone() 2157 mMetrics.writeOnImsConnectionState(mPhoneId, ImsConnectionState.State.CONNECTED, null); 2169 mMetrics.writeOnImsConnectionState(mPhoneId, ImsConnectionState.State.PROGRESSING, 2179 mMetrics.writeOnImsConnectionState(mPhoneId, ImsConnectionState.State.DISCONNECTED,
|
D | ImsPhoneConnection.java | 74 private TelephonyMetrics mMetrics = TelephonyMetrics.getInstance(); field in ImsPhoneConnection 1075 mMetrics.writeAudioCodecIms(mOwner.mPhone.getPhoneId(), imsCall.getCallSession()); in updateMediaCapabilities()
|
/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 | 160 private final DisplayMetrics mMetrics; field in BridgeContext 233 mMetrics = metrics; in BridgeContext() 252 mWindowManager = new WindowManagerImpl(this, mMetrics); in BridgeContext() 283 mMetrics, in initResources() 326 return mMetrics; in getMetrics()
|
/frameworks/av/drm/libmediadrm/include/mediadrm/ |
D | DrmHal.h | 208 mutable MediaDrmMetrics mMetrics; member
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CdmaInboundSmsHandler.java | 435 mMetrics.writeIncomingVoiceMailSms(mPhone.getPhoneId(), in addVoicemailSmsToMetrics()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeHelper.java | 119 private final Metrics mMetrics = new Metrics(); field in ZenModeHelper 143 addCallback(mMetrics); in ZenModeHelper() 1591 mMetrics.emit(); in handleMessage()
|