Lines Matching refs:GetInstance

93     TraceLog::GetInstance()->SetEnabled(TraceConfig(filter, ""),
123 TraceLog::GetInstance()->CancelTracing(
130 TraceLog::GetInstance()->SetDisabled();
131 TraceLog::GetInstance()->Flush(
144 TraceLog::GetInstance()->FlushButLeaveBufferIntact(
155 TraceLog* tracelog = TraceLog::GetInstance();
163 if (TraceLog::GetInstance())
164 EXPECT_FALSE(TraceLog::GetInstance()->IsEnabled());
904 TraceLog::GetInstance()->SetEnabled(TraceConfig(kRecordAllCategoryFilter, ""),
917 TraceLog::GetInstance()->SetEnabled(TraceConfig(kRecordAllCategoryFilter, ""),
936 TraceLog::GetInstance()->AddEnabledStateObserver(&observer);
940 TraceLog::GetInstance()->SetEnabled(TraceConfig(kRecordAllCategoryFilter, ""),
943 EXPECT_TRUE(TraceLog::GetInstance()->IsEnabled());
946 TraceLog::GetInstance()->RemoveEnabledStateObserver(&observer);
947 TraceLog::GetInstance()->SetDisabled();
951 TraceLog::GetInstance()->SetEnabled(TraceConfig(kRecordAllCategoryFilter, ""),
955 TraceLog::GetInstance()->AddEnabledStateObserver(&observer);
961 TraceLog::GetInstance()->SetEnabled(TraceConfig(kRecordAllCategoryFilter, ""),
964 EXPECT_TRUE(TraceLog::GetInstance()->IsEnabled());
967 TraceLog::GetInstance()->RemoveEnabledStateObserver(&observer);
968 TraceLog::GetInstance()->SetDisabled();
969 TraceLog::GetInstance()->SetDisabled();
974 TraceLog::GetInstance()->SetEnabled(tc_inc_all, TraceLog::RECORDING_MODE);
975 TraceLog::GetInstance()->SetEnabled(tc_inc_all, TraceLog::RECORDING_MODE);
978 TraceLog::GetInstance()->AddEnabledStateObserver(&observer);
984 TraceLog::GetInstance()->SetDisabled();
988 TraceLog::GetInstance()->RemoveEnabledStateObserver(&observer);
989 TraceLog::GetInstance()->SetDisabled();
993 TraceLog::GetInstance()->SetEnabled(TraceConfig(kRecordAllCategoryFilter, ""),
997 TraceLog::GetInstance()->AddEnabledStateObserver(&observer);
1001 TraceLog::GetInstance()->SetDisabled();
1005 TraceLog::GetInstance()->RemoveEnabledStateObserver(&observer);
1017 EXPECT_TRUE(TraceLog::GetInstance()->IsEnabled());
1021 EXPECT_FALSE(TraceLog::GetInstance()->IsEnabled());
1027 TraceLog::GetInstance()->AddEnabledStateObserver(&observer);
1029 TraceLog::GetInstance()->SetEnabled(TraceConfig(kRecordAllCategoryFilter, ""),
1031 EXPECT_TRUE(TraceLog::GetInstance()->IsEnabled());
1033 TraceLog::GetInstance()->SetDisabled();
1034 EXPECT_FALSE(TraceLog::GetInstance()->IsEnabled());
1036 TraceLog::GetInstance()->RemoveEnabledStateObserver(&observer);
1050 TraceLog::GetInstance()->RemoveEnabledStateObserver(this);
1055 ASSERT_EQ(0u, TraceLog::GetInstance()->GetObserverCountForTest());
1058 TraceLog::GetInstance()->AddEnabledStateObserver(&observer);
1059 EXPECT_EQ(1u, TraceLog::GetInstance()->GetObserverCountForTest());
1061 TraceLog::GetInstance()->SetEnabled(TraceConfig(kRecordAllCategoryFilter, ""),
1063 TraceLog::GetInstance()->SetDisabled();
1065 EXPECT_EQ(0u, TraceLog::GetInstance()->GetObserverCountForTest());
1076 TraceLog::GetInstance()->SetEnabled(TraceConfig(kRecordAllCategoryFilter, ""),
1088 TraceLog::GetInstance()->SetEnabled(TraceConfig(kRecordAllCategoryFilter, ""),
1102 TraceLog::GetInstance()->SetEnabled(TraceConfig(),
1112 TraceLog::GetInstance()->SetEnabled(TraceConfig(),
1126 TraceLog::GetInstance()->SetEnabled(TraceConfig(),
1175 TraceLog::GetInstance()->SetEnabled(
1209 TraceLog::GetInstance()->GetKnownCategoryGroups(&cat_groups);
1229 TraceLog::GetInstance()->SetEnabled(TraceConfig("not_found823564786", ""),
1240 TraceLog::GetInstance()->SetEnabled(TraceConfig("inc", ""),
1252 TraceLog::GetInstance()->SetEnabled(
1282 TraceLog::GetInstance()->SetEnabled(TraceConfig("-not_found823564786", ""),
1294 TraceLog::GetInstance()->SetEnabled(TraceConfig("-inc", ""),
1308 TraceLog::GetInstance()->SetEnabled(
1336 TraceLog::GetInstance()->SetWatchEvent("cat", "event", callback);
1343 TraceLog::GetInstance()->SetWatchEvent("cat", "event", callback);
1353 TraceLog::GetInstance()->SetWatchEvent("cat", "event", callback);
1361 TraceLog::GetInstance()->SetWatchEvent("cat", "event", callback);
1368 TraceLog::GetInstance()->SetWatchEvent("cat", "event", callback);
1375 TraceLog::GetInstance()->SetWatchEvent("cat", "event", callback);
1376 TraceLog::GetInstance()->CancelWatchEvent();
1417 TraceLog::GetInstance()->SetProcessID(100);
1423 TraceLog::GetInstance()->SetProcessID(200);
1452 TraceLog* tracer = TraceLog::GetInstance();
1823 TraceLog::GetInstance()->SetDisabled();
1832 TraceLog* trace_log = TraceLog::GetInstance();
1851 TraceLog* trace_log = TraceLog::GetInstance();
1902 TraceLog::GetInstance()->SetEnabled(
1907 TraceLog::GetInstance()->WaitSamplingEventForTesting();
1909 TraceLog::GetInstance()->WaitSamplingEventForTesting();
1919 TraceLog::GetInstance()->SetEnabled(
1924 TraceLog::GetInstance()->WaitSamplingEventForTesting();
1928 TraceLog::GetInstance()->WaitSamplingEventForTesting();
1931 TraceLog::GetInstance()->WaitSamplingEventForTesting();
1935 TraceLog::GetInstance()->WaitSamplingEventForTesting();
1938 TraceLog::GetInstance()->WaitSamplingEventForTesting();
1942 TraceLog::GetInstance()->WaitSamplingEventForTesting();
1945 TraceLog::GetInstance()->WaitSamplingEventForTesting();
1952 TraceLog::GetInstance()->SetEnabled(
1957 TraceLog::GetInstance()->WaitSamplingEventForTesting();
1959 TraceLog::GetInstance()->WaitSamplingEventForTesting();
1968 TraceLog::GetInstance()->WaitSamplingEventForTesting();
1971 TraceLog::GetInstance()->WaitSamplingEventForTesting();
1973 TraceLog::GetInstance()->WaitSamplingEventForTesting();
1985 TraceLog::GetInstance()->SetDisabled();
2011 TraceLog::GetInstance()->SetEnabled(TraceConfig(kRecordAllCategoryFilter, ""),
2116 TraceLog::GetInstance()->SetEnabled(TraceConfig(kRecordAllCategoryFilter, ""),
2305 TraceLog::GetInstance()->SetArgumentFilterPredicate(
2308 TraceLog::GetInstance()->SetEnabled(
2362 TraceLog::GetInstance()->SetDisabled();
2424 TraceLog::GetInstance()->SetEventCallbackEnabled(
2432 TraceLog::GetInstance()->SetEventCallbackDisabled();
2453 TraceLog::GetInstance()->SetEnabled(TraceConfig(kRecordAllCategoryFilter, ""),
2457 } while (!TraceLog::GetInstance()->BufferIsFull());
2458 TraceLog::GetInstance()->SetEventCallbackEnabled(
2461 TraceLog::GetInstance()->SetEventCallbackDisabled();
2470 TraceLog::GetInstance()->SetEventCallbackEnabled(TraceConfig("callback", ""),
2474 TraceLog::GetInstance()->SetEnabled(TraceConfig("recording", ""),
2478 TraceLog::GetInstance()->SetEventCallbackDisabled();
2493 TraceLog::GetInstance()->SetEventCallbackEnabled(TraceConfig("callback", ""),
2497 TraceLog::GetInstance()->SetEnabled(TraceConfig("recording", ""),
2504 TraceLog::GetInstance()->SetEventCallbackDisabled();
2516 TraceLog::GetInstance()->SetEnabled(TraceConfig("recording", ""),
2520 TraceLog::GetInstance()->SetEventCallbackEnabled(TraceConfig("callback", ""),
2524 TraceLog::GetInstance()->SetEventCallbackDisabled();
2539 TraceLog::GetInstance()->SetEnabled(TraceConfig("recording", ""),
2543 TraceLog::GetInstance()->SetEventCallbackEnabled(TraceConfig("callback", ""),
2550 TraceLog::GetInstance()->SetEventCallbackDisabled();
2559 TraceLog::GetInstance()->SetEventCallbackEnabled(
2563 TraceLog::GetInstance()->SetEnabled(
2569 TraceLog::GetInstance()->SetEventCallbackDisabled();
2581 TraceLog* trace_log = TraceLog::GetInstance();
2626 TraceLog::GetInstance()->SetEnabled(
2629 TraceBuffer* buffer = TraceLog::GetInstance()->trace_buffer();
2682 TraceLog::GetInstance()->SetDisabled();
2686 TraceLog::GetInstance()->SetEnabled(
2689 TraceBuffer* buffer = TraceLog::GetInstance()->trace_buffer();
2710 TraceLog::GetInstance()->SetDisabled();
2714 TraceLog::GetInstance()->SetEnabled(
2717 TraceBuffer* buffer = TraceLog::GetInstance()->trace_buffer();
2737 TraceLog::GetInstance()->SetDisabled();
2741 TraceLog::GetInstance()->SetEnabled(
2744 TraceBuffer* buffer = TraceLog::GetInstance()->trace_buffer();
2746 TraceLog::GetInstance()->SetDisabled();
2763 Unretained(TraceLog::GetInstance())));
2783 TraceLog* trace_log = TraceLog::GetInstance();
2823 TraceLog::GetInstance()->SetCurrentThreadBlocksMessageLoop();
2912 TraceLog::GetInstance()->SetEnabled(
2948 TraceLog::GetInstance()->SetEnabled(
2964 TraceLog::GetInstance()->SetTimeOffset(time_offset);
3017 TraceConfig trace_config = TraceLog::GetInstance()->GetCurrentTraceConfig();