blob: 1b6c79a4c1a1c87d5598a457ae355f21ee725e0c [file] [log] [blame]
/*
* Copyright (C) 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <memory>
#include <stats_event.h>
namespace android {
namespace mediametrics {
class Item;
}
extern bool enabled_statsd;
// component specific dumpers
extern bool statsd_audiopolicy(const mediametrics::Item *);
extern bool statsd_audiorecord(const mediametrics::Item *);
extern bool statsd_audiothread(const mediametrics::Item *);
extern bool statsd_audiotrack(const mediametrics::Item *);
extern bool statsd_codec(const mediametrics::Item *);
extern bool statsd_extractor(const mediametrics::Item *);
extern bool statsd_mediaparser(const mediametrics::Item *);
extern bool statsd_nuplayer(const mediametrics::Item *);
extern bool statsd_recorder(const mediametrics::Item *);
extern bool statsd_mediadrm(const mediametrics::Item *);
extern bool statsd_drmmanager(const mediametrics::Item *);
// component specific pullers
extern bool statsd_mediadrm_puller(const mediametrics::Item *, AStatsEventList *);
bool dump2Statsd(const std::shared_ptr<const mediametrics::Item>& item);
bool dump2Statsd(const std::shared_ptr<const mediametrics::Item>& item, AStatsEventList* out);
} // namespace android