/external/chromium/chrome/browser/ |
background_page_tracker_unittest.cc | 34 MockBackgroundPageTracker tracker; local 35 EXPECT_EQ(0, tracker.GetBackgroundPageCount()); 36 EXPECT_EQ(0, tracker.GetUnacknowledgedBackgroundPageCount()); 40 MockBackgroundPageTracker tracker; local 41 EXPECT_EQ(0, tracker.GetBackgroundPageCount()); 42 EXPECT_EQ(0, tracker.GetUnacknowledgedBackgroundPageCount()); 45 tracker.OnBackgroundPageLoaded(app1); 46 EXPECT_EQ(1, tracker.GetBackgroundPageCount()); 47 EXPECT_EQ(1, tracker.GetUnacknowledgedBackgroundPageCount()); 48 tracker.OnBackgroundPageLoaded(app1) 65 MockBackgroundPageTracker tracker; local 104 MockBackgroundPageTracker tracker; local [all...] |
/frameworks/support/v4/java/android/support/v4/view/ |
VelocityTrackerCompat.java | 30 public float getXVelocity(VelocityTracker tracker, int pointerId); 31 public float getYVelocity(VelocityTracker tracker, int pointerId); 39 public float getXVelocity(VelocityTracker tracker, int pointerId) { 40 return tracker.getXVelocity(); 43 public float getYVelocity(VelocityTracker tracker, int pointerId) { 44 return tracker.getYVelocity(); 53 public float getXVelocity(VelocityTracker tracker, int pointerId) { 54 return VelocityTrackerCompatHoneycomb.getXVelocity(tracker, pointerId); 57 public float getYVelocity(VelocityTracker tracker, int pointerId) { 58 return VelocityTrackerCompatHoneycomb.getYVelocity(tracker, pointerId) [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
EmailAsyncTaskTests.java | 19 import com.android.emailcommon.utility.EmailAsyncTask.Tracker; 30 final EmailAsyncTask.Tracker tracker = new EmailAsyncTask.Tracker(); local 33 assertEquals(0, tracker.getTaskCountForTest()); 36 final MyTask task1 = new MyTask(tracker); 37 assertEquals(1, tracker.getTaskCountForTest()); 39 final MyTask task2 = new MyTask(tracker); 40 assertEquals(2, tracker.getTaskCountForTest()); 42 final MyTask task3 = new MyTask(tracker); 89 final EmailAsyncTask.Tracker tracker = new EmailAsyncTask.Tracker(); local [all...] |
/frameworks/support/v4/honeycomb/android/support/v4/view/ |
VelocityTrackerCompatHoneycomb.java | 22 * Implementation of velocity tracker compatibility that can call Honeycomb APIs. 25 public static float getXVelocity(VelocityTracker tracker, int pointerId) { 26 return tracker.getXVelocity(pointerId); 28 public static float getYVelocity(VelocityTracker tracker, int pointerId) { 29 return tracker.getYVelocity(pointerId);
|
/ndk/sources/cxx-stl/gabi++/src/ |
pbase_type_info.cc | 40 unsigned tracker = first_time_init; local 41 return can_catch_typeinfo_wrapper(thr_type, adjustedPtr, tracker); 46 unsigned tracker) const { 64 if (tracker == first_time_init && 65 (tracker & keep_constness) != keep_constness && 66 (tracker & after_gap) != after_gap) { 67 tracker |= keep_constness; 69 tracker &= ~first_time_init; 72 if ((tracker & first_time_init) != first_time_init && 73 (tracker & after_gap) == after_gap) [all...] |
pointer_type_info.cc | 40 unsigned tracker, 43 if ((tracker & first_time_init) == first_time_init &&
|
/external/chromium/chrome/browser/history/ |
visit_tracker_unittest.cc | 15 // tracker isn't allowed to dereference this pointer). 19 // Used when adding this to the tracker 30 // The tracker uses RenderProcessHost pointers for scoping but never 39 void RunTest(VisitTracker* tracker, VisitToTest* test, int test_count) { 46 history::VisitID ref_visit = tracker->GetLastVisit( 51 tracker->AddVisit(host, test[i].page_id, GURL(test[i].url), 70 VisitTracker tracker; local 71 RunTest(&tracker, test_simple, arraysize(test_simple)); 92 VisitTracker tracker; local 93 RunTest(&tracker, test_frames, arraysize(test_frames)) 114 VisitTracker tracker; local 126 VisitTracker tracker; local [all...] |
/external/apache-http/src/org/apache/http/impl/conn/ |
AbstractPoolEntry.java | 87 protected volatile RouteTracker tracker; field in class:AbstractPoolEntry 106 this.tracker = null; 149 if ((this.tracker != null) && this.tracker.isConnected()) { 161 this.tracker = new RouteTracker(route); 170 RouteTracker localTracker = tracker; // capture volatile 172 // If this tracker was reset while connecting, 207 if ((this.tracker == null) || !this.tracker.isConnected()) { 210 if (this.tracker.isTunnelled()) [all...] |
/external/webkit/Source/WebCore/storage/ |
SQLTransactionClient.cpp | 45 DatabaseTracker::tracker().scheduleNotifyDatabaseChanged( 51 DatabaseTracker::tracker().databaseChanged(database); 57 unsigned long long currentQuota = DatabaseTracker::tracker().quotaForOrigin(database->securityOrigin()); 59 unsigned long long newQuota = DatabaseTracker::tracker().quotaForOrigin(database->securityOrigin());
|
LocalStorageTask.cpp | 90 StorageTracker::tracker().syncSetOriginDetails(m_originIdentifier, m_databaseFilename); 93 StorageTracker::tracker().syncImportOriginIdentifiers(); 96 StorageTracker::tracker().syncDeleteAllOrigins(); 99 StorageTracker::tracker().syncDeleteOrigin(m_originIdentifier);
|
/external/chromium/chrome/browser/sync/glue/ |
session_model_associator_unittest.cc | 61 ForeignSessionTracker tracker; local 62 ForeignSession* session = tracker.GetForeignSession(tag); 66 tag, window_s, 0, win, &tracker); 70 ASSERT_EQ(1U, tracker.num_foreign_sessions()); 71 ASSERT_EQ(1U, tracker.num_foreign_tabs(std::string("tag"))); 73 // We do this so that when the destructor for the tracker is called, it will 76 // destructor was invoked (the true argument tells the tracker the tab 78 ASSERT_TRUE(tracker.GetSessionTab(tag, 0, true)); 111 ForeignSessionTracker tracker; local 112 ASSERT_TRUE(tracker.empty()) [all...] |
/external/webkit/Source/WebKit/mac/Storage/ |
WebDatabaseQuotaManager.mm | 53 return DatabaseTracker::tracker().usageForOrigin([_origin _core]); 62 return DatabaseTracker::tracker().quotaForOrigin([_origin _core]); 74 DatabaseTracker::tracker().setQuota([_origin _core], quota);
|
WebStorageManager.mm | 55 StorageTracker::tracker().origins(coreOrigins); 70 StorageTracker::tracker().deleteAllOrigins(); 75 StorageTracker::tracker().deleteOrigin([origin _core]); 80 StorageTracker::tracker().syncLocalStorage(); 85 StorageTracker::tracker().syncFileSystemAndTrackerDatabase(); 106 StorageTracker::tracker().setClient(WebStorageTrackerClient::sharedWebStorageTrackerClient());
|
WebDatabaseManager.mm | 65 DatabaseTracker::tracker().origins(coreOrigins); 80 if (!DatabaseTracker::tracker().databaseNamesForOrigin([origin _core], nameVector)) 95 DatabaseDetails details = DatabaseTracker::tracker().detailsForNameAndOrigin(databaseIdentifier, [origin _core]); 109 DatabaseTracker::tracker().deleteAllDatabases(); 114 return DatabaseTracker::tracker().deleteOrigin([origin _core]); 119 return DatabaseTracker::tracker().deleteDatabase([origin _core], databaseIdentifier); 144 DatabaseTracker::tracker().setClient(WebDatabaseTrackerClient::sharedWebDatabaseTrackerClient());
|
/external/chromium/chrome/browser/net/ |
passive_log_collector_unittest.cc | 55 const PassiveLogCollector::SourceTracker& tracker) { 56 SourceInfoList result = tracker.GetAllDeadOrAliveSources(true); 62 const PassiveLogCollector::SourceTracker& tracker) { 63 SourceInfoList result = tracker.GetAllDeadOrAliveSources(false); 72 // Test that once the tracker contains a total maximum amount of data 75 RequestTracker tracker(NULL); 77 // Fill the source tracker with as many sources as it can hold. 79 tracker.OnAddEntry(MakeStartLogEntry(i)); 81 EXPECT_EQ(RequestTracker::kMaxNumSources, GetLiveSources(tracker).size()); 85 tracker.OnAddEntry 176 PassiveLogCollector::SpdySessionTracker tracker; local [all...] |
/external/webkit/Source/WebKit/qt/Api/ |
qwebdatabase.cpp | 90 DatabaseDetails details = DatabaseTracker::tracker().detailsForNameAndOrigin(d->name, d->origin.get()); 103 DatabaseDetails details = DatabaseTracker::tracker().detailsForNameAndOrigin(d->name, d->origin.get()); 116 DatabaseDetails details = DatabaseTracker::tracker().detailsForNameAndOrigin(d->name, d->origin.get()); 151 return DatabaseTracker::tracker().fullPathForDatabase(d->origin.get(), d->name, false); 174 DatabaseTracker::tracker().deleteDatabase(db.d->origin.get(), db.d->name); 188 DatabaseTracker::tracker().deleteAllDatabases();
|
qwebsecurityorigin.cpp | 124 return DatabaseTracker::tracker().usageForOrigin(d->origin.get()); 136 return DatabaseTracker::tracker().quotaForOrigin(d->origin.get()); 152 DatabaseTracker::tracker().setQuota(d->origin.get(), quota); 186 DatabaseTracker::tracker().origins(coreOrigins); 207 if (!DatabaseTracker::tracker().databaseNamesForOrigin(d->origin.get(), nameVector))
|
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/ |
WebDatabaseManager.cpp | 56 DatabaseTracker::tracker().setClient(this); 77 DatabaseTracker::tracker().origins(origins); 86 if (!DatabaseTracker::tracker().databaseNamesForOrigin(origins[i].get(), nameVector)) 92 DatabaseDetails details = DatabaseTracker::tracker().detailsForNameAndOrigin(nameVector[j], origins[i].get()); 103 originAndDatabases.originQuota = DatabaseTracker::tracker().quotaForOrigin(origins[i].get()); 104 originAndDatabases.originUsage = DatabaseTracker::tracker().usageForOrigin(origins[i].get()); 117 DatabaseTracker::tracker().origins(origins); 135 DatabaseTracker::tracker().deleteDatabase(origin.get(), databaseIdentifier); 146 DatabaseTracker::tracker().deleteOrigin(origin.get()); 153 DatabaseTracker::tracker().deleteAllDatabases() [all...] |
/external/v8/test/mjsunit/ |
assert-opt-and-deopt.js | 143 var tracker = new OptTracker(); 144 tracker.CheckpointOptCount(f); 146 tracker.AssertOptCount(f, 0); 147 tracker.AssertIsOptimized(f, false); 148 tracker.AssertDeoptHappened(f, false); 149 tracker.AssertDeoptCount(f, 0); 156 tracker.AssertOptCount(f, 1); 157 tracker.AssertIsOptimized(f, true); 158 tracker.AssertDeoptHappened(f, false); 159 tracker.AssertDeoptCount(f, 0) [all...] |
/packages/apps/Email/src/org/apache/commons/io/ |
FileCleaningTracker.java | 45 * Queue of <code>Tracker</code> instances being watched.
47 ReferenceQueue<Object> /* Tracker */ q = new ReferenceQueue<Object>();
49 * Collection of <code>Tracker</code> instances in existence.
51 final Collection<Tracker> /* Tracker */ trackers = new Vector<Tracker>(); // synchronized
123 * Adds a tracker to the list of trackers.
138 trackers.add(new Tracker(path, deleteStrategy, marker, q));
203 Tracker tracker = null; local [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
SlidingKeyInputPreview.java | 89 * @param tracker The new location of the preview is based on the points in PointerTracker. 92 public void setPreviewPosition(final PointerTracker tracker) { 93 if (!tracker.isInSlidingKeyInputFromModifier()) { 97 tracker.getDownCoordinates(mPreviewFrom); 98 tracker.getLastCoordinates(mPreviewTo);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
MainKeyboardView.java | 235 final PointerTracker tracker = (PointerTracker) msg.obj; local 241 final Key currentKey = tracker.getKey(); 243 tracker.onRegisterKey(currentKey); 244 startKeyRepeatTimer(tracker, mKeyRepeatInterval); 248 if (tracker != null) { 249 keyboardView.onLongPress(tracker); 255 tracker.updateBatchInputByTimer(SystemClock.uptimeMillis()); 256 startUpdateBatchInputTimer(tracker); 261 private void startKeyRepeatTimer(final PointerTracker tracker, final long delay) { 262 final Key key = tracker.getKey() 1152 final PointerTracker tracker = PointerTracker.getPointerTracker(id, this); local 1166 final PointerTracker tracker = PointerTracker.getPointerTracker(0, this); local 1198 final PointerTracker tracker = PointerTracker.getPointerTracker( local 1214 final PointerTracker tracker = PointerTracker.getPointerTracker(id, this); local 1272 final PointerTracker tracker = PointerTracker.getPointerTracker(0, this); local [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
ConnectivityServiceTest.java | 91 public NetworkStateTracker tracker; field in class:ConnectivityServiceTest.MockNetwork 96 tracker = mock(NetworkStateTracker.class); 103 doReturn(new NetworkInfo(info)).when(tracker).getNetworkInfo(); 104 doReturn(new LinkProperties(link)).when(tracker).getLinkProperties(); 107 doReturn("").when(tracker).getTcpBufferSizesPropName(); 129 doReturn(mMobile.tracker) 131 doReturn(mWifi.tracker) 135 doNothing().when(mMobile.tracker) 196 doReturn(true).when(mMobile.tracker).teardown(); 206 verify(mMobile.tracker).teardown() [all...] |
/external/webkit/Source/WebKit2/WebProcess/KeyValueStorage/ |
WebKeyValueStorageManager.cpp | 64 StorageTracker::tracker().origins(coreOrigins); 91 StorageTracker::tracker().deleteOrigin(origin.get()); 97 StorageTracker::tracker().deleteAllOrigins();
|
/external/chromium/chrome/browser/google/ |
google_url_tracker.cc | 118 const GoogleURLTracker* const tracker = local 120 return tracker ? tracker->google_url_ : GURL(kDefaultGoogleHomepage); 125 GoogleURLTracker* const tracker = g_browser_process->google_url_tracker(); local 126 if (tracker) 127 tracker->SetNeedToFetch(); 139 GoogleURLTracker* tracker = g_browser_process->google_url_tracker(); local 140 if (tracker) 141 tracker->SearchCommitted();
|