Home
last modified time | relevance | path

Searched refs:tracker (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/support/v4/java/android/support/v4/view/
DVelocityTrackerCompat.java30 public float getXVelocity(VelocityTracker tracker, int pointerId); in getXVelocity() argument
31 public float getYVelocity(VelocityTracker tracker, int pointerId); in getYVelocity() argument
39 public float getXVelocity(VelocityTracker tracker, int pointerId) { in getXVelocity() argument
40 return tracker.getXVelocity(); in getXVelocity()
43 public float getYVelocity(VelocityTracker tracker, int pointerId) { in getYVelocity() argument
44 return tracker.getYVelocity(); in getYVelocity()
53 public float getXVelocity(VelocityTracker tracker, int pointerId) { in getXVelocity() argument
54 return VelocityTrackerCompatHoneycomb.getXVelocity(tracker, pointerId); in getXVelocity()
57 public float getYVelocity(VelocityTracker tracker, int pointerId) { in getYVelocity() argument
58 return VelocityTrackerCompatHoneycomb.getYVelocity(tracker, pointerId); in getYVelocity()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmSMSDispatcher.java126 SmsTracker tracker = deliveryPendingList.get(i); in handleStatusReport() local
127 if (tracker.mMessageRef == messageRef) { in handleStatusReport()
132 tracker.updateSentMessageStatus(mContext, tpStatus); in handleStatusReport()
134 PendingIntent intent = tracker.mDeliveryIntent; in handleStatusReport()
158 SmsTracker tracker = getSmsTracker(map, sentIntent, deliveryIntent, getFormat(), in sendData() local
165 DataSmsSender smsSender = new DataSmsSender(tracker); in sendData()
169 sendRawPdu(tracker); in sendData()
185 SmsTracker tracker = getSmsTracker(map, sentIntent, deliveryIntent, getFormat(), in sendText() local
192 TextSmsSender smsSender = new TextSmsSender(tracker); in sendText()
196 sendRawPdu(tracker); in sendText()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSMSDispatcher.java87 SmsTracker tracker = deliveryPendingList.get(i); in handleCdmaStatusReport() local
88 if (tracker.mMessageRef == sms.mMessageRef) { in handleCdmaStatusReport()
92 tracker.updateSentMessageStatus(mContext, Sms.STATUS_COMPLETE); in handleCdmaStatusReport()
94 PendingIntent intent = tracker.mDeliveryIntent; in handleCdmaStatusReport()
114 SmsTracker tracker = getSmsTracker(map, sentIntent, deliveryIntent, getFormat(), in sendData() local
121 DataSmsSender smsSender = new DataSmsSender(tracker); in sendData()
125 sendSubmitPdu(tracker); in sendData()
148 SmsTracker tracker = getSmsTracker(map, sentIntent, deliveryIntent, getFormat(), in sendText() local
154 TextSmsSender smsSender = new TextSmsSender(tracker); in sendText()
158 sendSubmitPdu(tracker); in sendText()
[all …]
DCdmaInboundSmsHandler.java321 InboundSmsTracker tracker = new InboundSmsTracker(userData, timestamp, destinationPort, in processCdmaWapPdu() local
324 return addTrackerToRawTableAndSendMessage(tracker); in processCdmaWapPdu()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsBroadcastUndelivered.java112 InboundSmsTracker tracker; in scanRawTable() local
114 tracker = new InboundSmsTracker(cursor, isCurrentFormat3gpp2); in scanRawTable()
120 if (tracker.getMessageCount() == 1) { in scanRawTable()
122 broadcastSms(tracker); in scanRawTable()
124 SmsReferenceKey reference = new SmsReferenceKey(tracker); in scanRawTable()
128 if (tracker.getTimestamp() < in scanRawTable()
135 if (newCount == tracker.getMessageCount()) { in scanRawTable()
139 broadcastSms(tracker); in scanRawTable()
173 private void broadcastSms(InboundSmsTracker tracker) { in broadcastSms() argument
175 if (tracker.is3gpp2()) { in broadcastSms()
[all …]
DSMSDispatcher.java300 SmsTracker tracker = (SmsTracker) msg.obj; in handleMessage() local
301 if (tracker.isMultipart()) { in handleMessage()
302 sendMultipartSms(tracker); in handleMessage()
305 tracker.mExpectMore = true; in handleMessage()
307 tracker.mExpectMore = false; in handleMessage()
309 sendSms(tracker); in handleMessage()
317 SmsTracker tracker = (SmsTracker) msg.obj; in handleMessage() local
318 tracker.onFailed(mContext, RESULT_ERROR_LIMIT_EXCEEDED, 0/*errorCode*/); in handleMessage()
340 protected SmsSender(SmsTracker tracker) { in SmsSender() argument
341 mTracker = tracker; in SmsSender()
[all …]
DInboundSmsHandler.java632 InboundSmsTracker tracker; in dispatchNormalMessage() local
643 tracker = new InboundSmsTracker(sms.getPdu(), sms.getTimestampMillis(), destPort, in dispatchNormalMessage()
651 tracker = new InboundSmsTracker(sms.getPdu(), sms.getTimestampMillis(), destPort, in dispatchNormalMessage()
656 if (VDBG) log("created tracker: " + tracker); in dispatchNormalMessage()
657 return addTrackerToRawTableAndSendMessage(tracker); in dispatchNormalMessage()
667 protected int addTrackerToRawTableAndSendMessage(InboundSmsTracker tracker) { in addTrackerToRawTableAndSendMessage() argument
668 switch(addTrackerToRawTable(tracker)) { in addTrackerToRawTableAndSendMessage()
670 sendMessage(EVENT_BROADCAST_SMS, tracker); in addTrackerToRawTableAndSendMessage()
689 boolean processMessagePart(InboundSmsTracker tracker) { in processMessagePart() argument
690 int messageCount = tracker.getMessageCount(); in processMessagePart()
[all …]
DImsSMSDispatcher.java187 protected void sendSms(SmsTracker tracker) { in sendSms() argument
194 protected void sendSmsByPstn(SmsTracker tracker) { in sendSmsByPstn() argument
255 public void sendRetrySms(SmsTracker tracker) { in sendRetrySms() argument
256 String oldFormat = tracker.mFormat; in sendRetrySms()
268 mCdmaDispatcher.sendSms(tracker); in sendRetrySms()
272 mGsmDispatcher.sendSms(tracker); in sendRetrySms()
278 HashMap map = tracker.mData; in sendRetrySms()
288 tracker.onFailed(mContext, RESULT_ERROR_GENERIC_FAILURE, 0/*errorCode*/); in sendRetrySms()
303 scAddr, destAddr, text, (tracker.mDeliveryIntent != null), null); in sendRetrySms()
307 scAddr, destAddr, text, (tracker.mDeliveryIntent != null), null); in sendRetrySms()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPlatformVelocityTracker.java35 PlatformVelocityTracker tracker = sPool.acquire(); in obtain() local
36 if (tracker == null) { in obtain()
37 tracker = new PlatformVelocityTracker(); in obtain()
39 tracker.setTracker(VelocityTracker.obtain()); in obtain()
40 return tracker; in obtain()
43 public void setTracker(VelocityTracker tracker) { in setTracker() argument
44 mTracker = tracker; in setTracker()
DVelocityTrackerFactory.java32 String tracker = ctx.getResources().getString(R.string.velocity_tracker_impl); in obtain() local
33 switch (tracker) { in obtain()
39 throw new IllegalStateException("Invalid tracker: " + tracker); in obtain()
/frameworks/support/v4/honeycomb/android/support/v4/view/
DVelocityTrackerCompatHoneycomb.java25 public static float getXVelocity(VelocityTracker tracker, int pointerId) { in getXVelocity() argument
26 return tracker.getXVelocity(pointerId); in getXVelocity()
28 public static float getYVelocity(VelocityTracker tracker, int pointerId) { in getYVelocity() argument
29 return tracker.getYVelocity(pointerId); in getYVelocity()
/frameworks/native/libs/gui/
DStreamSplitter.cpp209 const sp<BufferTracker>& tracker = mBuffers.editValueFor(buffer->getId()); in onBufferReleasedByOutput() local
213 tracker->mergeFence(fence); in onBufferReleasedByOutput()
216 size_t releaseCount = tracker->incrementReleaseCountLocked(); in onBufferReleasedByOutput()
232 status = mInput->attachBuffer(&consumerSlot, tracker->getBuffer()); in onBufferReleasedByOutput()
237 EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, tracker->getMergedFence()); in onBufferReleasedByOutput()
/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java91 ProcessStats.ServiceState tracker; // tracking service execution, may be null field in ServiceRecord
330 if (tracker != null) { in getTracker()
331 return tracker; in getTracker()
334 tracker = ams.mProcessStats.getServiceStateLocked(serviceInfo.packageName, in getTracker()
337 tracker.applyNewOwner(this); in getTracker()
339 return tracker; in getTracker()
343 if (tracker != null) { in forceClearTracker()
344 tracker.clearCurrentOwner(this, true); in forceClearTracker()
345 tracker = null; in forceClearTracker()
DProcessRecord.java429 public void makeActive(IApplicationThread _thread, ProcessStatsService tracker) { in makeActive() argument
434 tracker.getMemFactorLocked(), SystemClock.uptimeMillis(), pkgList); in makeActive()
437 baseProcessTracker = tracker.getProcessStateLocked(info.packageName, uid, in makeActive()
445 holder.state = tracker.getProcessStateLocked(pkgList.keyAt(i), uid, in makeActive()
455 public void makeInactive(ProcessStatsService tracker) { in makeInactive() argument
461 tracker.getMemFactorLocked(), SystemClock.uptimeMillis(), pkgList); in makeInactive()
631 public boolean addPackage(String pkg, int versionCode, ProcessStatsService tracker) { in addPackage() argument
636 holder.state = tracker.getProcessStateLocked( in addPackage()
668 public void resetPackageList(ProcessStatsService tracker) { in resetPackageList() argument
673 tracker.getMemFactorLocked(), now, pkgList); in resetPackageList()
[all …]
DActiveServices.java472 if (service.tracker != null) { in stopServiceLocked()
473 service.tracker.setStarted(false, mAm.mProcessStats.getMemFactorLocked(), in stopServiceLocked()
572 if (r.tracker != null) { in stopServiceTokenLocked()
573 r.tracker.setStarted(false, mAm.mProcessStats.getMemFactorLocked(), in stopServiceTokenLocked()
1793 if (r.tracker != null) { in bringDownServiceLocked()
1794 r.tracker.setStarted(false, memFactor, now); in bringDownServiceLocked()
1795 r.tracker.setBound(false, memFactor, now); in bringDownServiceLocked()
1797 r.tracker.clearCurrentOwner(r, false); in bringDownServiceLocked()
1798 r.tracker = null; in bringDownServiceLocked()
1875 if (s.tracker != null) { in removeConnectionLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DEventConditionProvider.java217 final CalendarTracker tracker = mTrackers.valueAt(i); in evaluateSubscriptionsW() local
218 final CheckEventResult r = tracker.checkEvent(event, now); in evaluateSubscriptionsW()
229 final CalendarTracker tracker = mTrackers.get(userId); in evaluateSubscriptionsW() local
230 if (tracker == null) { in evaluateSubscriptionsW()
235 result = tracker.checkEvent(event, now); in evaluateSubscriptionsW()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBatteryMeterView.java287 BatteryTracker tracker = mDemoMode ? mDemoTracker : mTracker; in draw() local
288 final int level = tracker.level; in draw()
324 mBatteryPaint.setColor(tracker.plugged ? mChargeColor : getColorForLevel(level)); in draw()
347 if (tracker.plugged) { in draw()
385 if (!tracker.plugged && level > mCriticalLevel && mShowPercent) { in draw()
389 : (tracker.level == 100 ? 0.38f : 0.5f))); in draw()
413 if (!tracker.plugged) { in draw()
/frameworks/base/docs/html/tools/performance/allocation-tracker/
Dindex.jd89 <img src="{@docRoot}images/tools/performance/allocation-tracker/gettingstarted_image01.png"
105 <img src="{@docRoot}images/tools/performance/allocation-tracker/gettingstarted_image02.png">
108 <img src="{@docRoot}images/tools/performance/allocation-tracker/gettingstarted_image02.png">
123 <img src="{@docRoot}images/tools/performance/allocation-tracker/gettingstarted_image03.png"
/frameworks/base/docs/html/tools/performance/
Dcomparison.jd26 <li><a href="{@docRoot}tools/performance/allocation-tracker/index.html">
47 <a href="{@docRoot}tools/performance/allocation-tracker/index.html">
114 <img src="{@docRoot}images/tools/studio-allocation-tracker.png"
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DApnContext.java97 DcTrackerBase tracker) { in ApnContext() argument
107 mDcTracker = tracker; in ApnContext()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiTracker.java491 WifiTracker tracker = new WifiTracker(context, in getCurrentAccessPoints() local
493 tracker.forceUpdate(); in getCurrentAccessPoints()
494 return tracker.getAccessPoints(); in getCurrentAccessPoints()
/frameworks/base/docs/html/training/gestures/
Dmovement.jd121 // Reset the velocity tracker back to its initial state.
124 // Add a user's movement to the tracker.
/frameworks/base/docs/html/guide/topics/connectivity/
Dbluetooth-le.jd123 an activity tracker that is a BLE device. The phone supports the
124 central role; the activity tracker supports the peripheral role (to
129 <p>Once the phone and the activity tracker have established a connection, they
131 one or the other might act as the server. For example, if the activity tracker
133 tracker to act as the server. If the activity tracker wants to receive updates
/frameworks/base/docs/html/preview/
Dsupport.jd41 our issue tracker. We'll triage the issue for further review and provide
76 through the external issue tracker.
212 "https://code.google.com/p/android-developer-preview/">issue tracker</a>.
267 external issue tracker.
471 "https://code.google.com/p/android-developer-preview/">issue tracker</a>.
/frameworks/base/docs/html/tools/studio/
Dindex.jd229 <h4 id="alloc-tracker">Allocation tracker </h4>
235 <img src="{@docRoot}images/tools/studio-allocation-tracker.png" alt="" />
236 <p class="img-caption"><strong>Figure 6.</strong> Allocation tracker.</p>
241 …(<img src="{@docRoot}images/tools/studio-allocation-tracker-icon.png" style="vertical-align:bottom…

12