HomeSort by relevance Sort by last modified time
    Searched refs:tracker (Results 1 - 25 of 311) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/libjingle/source/talk/base/
ratetracker_unittest.cc 44 RateTrackerForTest tracker; local
45 EXPECT_EQ(0U, tracker.total_units());
46 EXPECT_EQ(0U, tracker.units_second());
49 tracker.Update(1234);
51 tracker.AdvanceTime(100);
53 EXPECT_EQ(1234U, tracker.total_units());
54 EXPECT_EQ(0U, tracker.units_second());
57 tracker.Update(1234);
58 tracker.AdvanceTime(100);
59 EXPECT_EQ(1234U * 2, tracker.total_units())
    [all...]
  /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...]
  /external/chromium_org/chrome/browser/sync_file_system/drive_backend/
tracker_set.cc 25 void TrackerSet::Insert(FileTracker* tracker) {
26 if (tracker_set_.insert(tracker).second && tracker->active()) {
28 active_tracker_ = tracker;
32 void TrackerSet::Erase(FileTracker* tracker) {
33 if (tracker_set_.erase(tracker) == 1 && active_tracker_ == tracker)
37 void TrackerSet::Activate(FileTracker* tracker) {
39 DCHECK(ContainsKey(tracker_set_, tracker));
40 active_tracker_ = tracker;
    [all...]
metadata_database.cc 53 bool IsAppRoot(const FileTracker& tracker) {
54 return tracker.tracker_kind() == TRACKER_KIND_APP_ROOT ||
55 tracker.tracker_kind() == TRACKER_KIND_DISABLED_APP_ROOT;
98 scoped_ptr<FileTracker> tracker(new FileTracker);
99 tracker->set_tracker_id(tracker_id);
100 tracker->set_file_id(file_resource.file_id());
101 tracker->set_parent_tracker_id(0);
102 tracker->set_tracker_kind(TRACKER_KIND_REGULAR);
103 tracker->set_dirty(false);
104 tracker->set_active(true)
347 FileTracker* tracker = *itr; local
370 FileTracker* tracker = found->second; local
392 FileTracker* tracker = itr->second; local
555 scoped_ptr<FileTracker> tracker; local
559 &tracker); local
582 scoped_ptr<FileTracker> tracker; local
587 &tracker); local
607 FileTracker tracker; local
643 FileTracker* tracker = *itr; local
660 FileTracker tracker; local
678 FileTracker tracker; local
697 FileTracker tracker; local
1004 FileTracker* tracker = found->second; local
1103 FileTracker* tracker = NULL; local
1337 FileTracker* tracker = *itr; local
1361 FileTracker* tracker = tracker_by_id_[tracker_id]; local
1373 FileTracker* tracker = FindAndEraseItem(&app_root_by_app_id_, app_id); local
1385 FileTracker* tracker = tracker_by_id_[tracker_id]; local
1411 FileTracker* tracker = tracker_by_id_[tracker_id]; local
1432 FileTracker* tracker = tracker_by_id_[tracker_id]; local
1445 FileTracker* tracker = tracker_by_id_[tracker_id]; local
1556 const FileTracker& tracker = **itr; local
1708 FileTracker* tracker = tracker_by_id_[tracker_id]; local
1822 const FileTracker& tracker = **itr; local
1872 FileTracker* tracker = tracker_by_id_[tracker_id]; local
1936 const FileTracker& tracker = *itr->second; local
    [all...]
tracker_set.h 32 void Insert(FileTracker* tracker);
33 void Erase(FileTracker* tracker);
34 void Activate(FileTracker* tracker);
35 void Inactivate(FileTracker* tracker);
  /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...]
  /external/chromium_org/content/renderer/
active_notification_tracker_unittest.cc 11 ActiveNotificationTracker tracker; local
14 int id1 = tracker.RegisterNotification(notification1);
17 int id2 = tracker.RegisterNotification(notification2);
20 tracker.GetNotification(id1, &result);
23 tracker.GetNotification(id2, &result);
26 tracker.Clear();
  /external/chromium_org/chrome/browser/sync/glue/
synced_session_tracker_unittest.cc 22 SyncedSessionTracker tracker; local
23 SyncedSession* session1 = tracker.GetSession("tag");
24 SyncedSession* session2 = tracker.GetSession("tag2");
25 ASSERT_EQ(session1, tracker.GetSession("tag"));
31 SyncedSessionTracker tracker; local
32 SessionTab* tab = tracker.GetTab("tag", 0, 0);
33 ASSERT_EQ(tab, tracker.GetTab("tag", 0, 0));
38 SyncedSessionTracker tracker; local
39 tracker.PutWindowInSession("tag", 0);
40 SyncedSession* session = tracker.GetSession("tag")
46 SyncedSessionTracker tracker; local
57 SyncedSessionTracker tracker; local
76 SyncedSessionTracker tracker; local
93 SyncedSessionTracker tracker; local
107 SyncedSessionTracker tracker; local
169 SyncedSessionTracker tracker; local
187 SyncedSessionTracker tracker; local
241 SyncedSessionTracker 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_org/chrome/browser/extensions/api/web_request/
web_request_time_tracker_unittest.cc 30 ExtensionWebRequestTimeTracker tracker; local
34 tracker.LogRequestStartTime(42, start, GURL(), profile);
35 EXPECT_EQ(1u, tracker.request_time_logs_.size());
36 ASSERT_EQ(1u, tracker.request_ids_.size());
37 EXPECT_EQ(42, tracker.request_ids_.front());
38 tracker.LogRequestEndTime(42, start + kRequestDelta);
39 EXPECT_EQ(1u, tracker.request_time_logs_.size());
40 EXPECT_EQ(0u, tracker.moderate_delays_.size());
41 EXPECT_EQ(0u, tracker.excessive_delays_.size());
45 ExtensionWebRequestTimeTracker tracker; local
63 ExtensionWebRequestTimeTracker tracker; local
105 ExtensionWebRequestTimeTracker tracker; local
    [all...]
  /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/chromium_org/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/chromium_org/chrome/test/chromedriver/chrome/
navigation_tracker_unittest.cc 17 void AssertPendingState(NavigationTracker* tracker,
21 ASSERT_EQ(kOk, tracker->IsPendingNavigation(frame_id, &is_pending).code());
29 NavigationTracker tracker(&client);
33 kOk, tracker.OnEvent(&client, "Page.frameStartedLoading", params).code());
34 ASSERT_NO_FATAL_FAILURE(AssertPendingState(&tracker, "f", true));
36 kOk, tracker.OnEvent(&client, "Page.frameStoppedLoading", params).code());
37 ASSERT_NO_FATAL_FAILURE(AssertPendingState(&tracker, "f", false));
42 NavigationTracker tracker(&client, NavigationTracker::kNotLoading);
51 tracker.OnEvent(
53 ASSERT_NO_FATAL_FAILURE(AssertPendingState(&tracker, "f", true))
    [all...]
frame_tracker_unittest.cc 16 FrameTracker tracker(&client);
18 ASSERT_TRUE(tracker.GetContextIdForFrame("f", &context_id).IsError());
25 tracker.OnEvent(&client, "Runtime.executionContextCreated", params)
28 tracker.GetContextIdForFrame("foo", &context_id).code());
30 ASSERT_TRUE(tracker.GetContextIdForFrame("f", &context_id).IsOk());
36 tracker.OnEvent(&client, "Page.frameNavigated", nav_params).code());
37 ASSERT_TRUE(tracker.GetContextIdForFrame("f", &context_id).IsOk());
40 tracker.OnEvent(&client, "Page.frameNavigated", nav_params).code());
42 tracker.GetContextIdForFrame("f", &context_id).code());
47 FrameTracker tracker(&client)
    [all...]
dom_tracker_unittest.cc 52 DomTracker tracker(&client);
54 ASSERT_TRUE(tracker.GetFrameIdForNode(101, &frame_id).IsError());
64 ASSERT_EQ(kOk, tracker.OnEvent(&client, "DOM.setChildNodes", params).code());
65 ASSERT_TRUE(tracker.GetFrameIdForNode(101, &frame_id).IsError());
67 ASSERT_TRUE(tracker.GetFrameIdForNode(102, &frame_id).IsOk());
71 tracker.OnEvent(&client, "DOM.documentUpdated", params).code());
72 ASSERT_TRUE(tracker.GetFrameIdForNode(102, &frame_id).IsError());
78 DomTracker tracker(&client);
84 tracker.OnEvent(&client, "DOM.childNodeInserted", params).code());
85 ASSERT_TRUE(tracker.GetFrameIdForNode(1, &frame_id).IsError())
    [all...]
  /external/chromium_org/webkit/browser/database/
database_tracker_unittest.cc 201 // Initialize the tracker database.
207 scoped_refptr<DatabaseTracker> tracker(
225 tracker->DatabaseOpened(kOrigin1, kDB1, kDescription, 0,
227 tracker->DatabaseOpened(kOrigin2, kDB2, kDescription, 0,
229 tracker->DatabaseOpened(kOrigin2, kDB3, kDescription, 0,
233 tracker->DatabaseDirectory().Append(base::FilePath::FromUTF16Unsafe(
234 tracker->GetOriginDirectory(kOrigin1)))));
236 tracker->DatabaseDirectory().Append(base::FilePath::FromUTF16Unsafe(
237 tracker->GetOriginDirectory(kOrigin2)))));
239 tracker->GetFullDBFilePath(kOrigin1, kDB1), "a", 1))
    [all...]
  /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/chromium_org/chrome/browser/bookmarks/
bookmark_expanded_state_tracker_unittest.cc 51 BookmarkExpandedStateTracker* tracker = model->expanded_state_tracker(); local
54 EXPECT_TRUE(tracker->GetExpandedNodes().empty());
58 tracker->SetExpandedNodes(nodes);
59 EXPECT_EQ(nodes, tracker->GetExpandedNodes());
65 tracker->SetExpandedNodes(nodes);
66 EXPECT_EQ(nodes, tracker->GetExpandedNodes());
72 EXPECT_EQ(nodes, tracker->GetExpandedNodes());
77 BookmarkExpandedStateTracker* tracker = model->expanded_state_tracker(); local
84 tracker->SetExpandedNodes(nodes);
86 EXPECT_EQ(nodes, tracker->GetExpandedNodes())
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/
README 30 The XA state tracker is intended as a versioned interface to gallium for
32 composite / video work for the Xorg state tracker.
34 The motivation behind this state tracker is that the Xorg state tracker has
42 Since Gallium3D is not versioned, the Xorg state tracker needs to be compiled
46 Therefore the xa state tracker is intended to supply the following
59 should investigate sharing the loadig mechanism with the EGL state tracker.
  /external/mesa3d/src/gallium/state_trackers/xa/
README 30 The XA state tracker is intended as a versioned interface to gallium for
32 composite / video work for the Xorg state tracker.
34 The motivation behind this state tracker is that the Xorg state tracker has
42 Since Gallium3D is not versioned, the Xorg state tracker needs to be compiled
46 Therefore the xa state tracker is intended to supply the following
59 should investigate sharing the loadig mechanism with the EGL state tracker.
  /external/chromium_org/webkit/browser/fileapi/
timed_task_helper.cc 13 struct TimedTaskHelper::Tracker {
14 explicit Tracker(TimedTaskHelper* timer) : timer(timer) {}
16 ~Tracker() {
58 // Initialize the tracker for the first time.
59 tracker_ = new Tracker(this);
64 void TimedTaskHelper::Fired(scoped_ptr<Tracker> tracker) {
65 if (!tracker->timer)
67 TimedTaskHelper* timer = tracker->timer;
68 timer->OnFired(tracker.Pass())
    [all...]

Completed in 411 milliseconds

1 2 3 4 5 6 7 8 91011>>