1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/media/omx-plugin/lib/ics/libutils/libutils.cpp Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,84 @@ 1.4 +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 1.5 +/* vim:set ts=2 sw=2 sts=2 et cindent: */ 1.6 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.7 + * License, v. 2.0. If a copy of the MPL was not distributed with this file, 1.8 + * You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.9 +#include "mozilla/Types.h" 1.10 +#include "utils/RefBase.h" 1.11 +#include "utils/String16.h" 1.12 +#include "utils/String8.h" 1.13 +#include "utils/Vector.h" 1.14 + 1.15 +namespace android { 1.16 +MOZ_EXPORT RefBase::RefBase() : mRefs(0) 1.17 +{ 1.18 +} 1.19 + 1.20 +MOZ_EXPORT RefBase::~RefBase() 1.21 +{ 1.22 +} 1.23 + 1.24 +MOZ_EXPORT void RefBase::incStrong(const void *id) const 1.25 +{ 1.26 +} 1.27 + 1.28 +MOZ_EXPORT void RefBase::decStrong(const void *id) const 1.29 +{ 1.30 +} 1.31 + 1.32 +MOZ_EXPORT void RefBase::onFirstRef() 1.33 +{ 1.34 +} 1.35 + 1.36 +MOZ_EXPORT void RefBase::onLastStrongRef(const void* id) 1.37 +{ 1.38 +} 1.39 + 1.40 +MOZ_EXPORT bool RefBase::onIncStrongAttempted(uint32_t flags, const void* id) 1.41 +{ 1.42 + return false; 1.43 +} 1.44 + 1.45 +MOZ_EXPORT void RefBase::onLastWeakRef(void const* id) 1.46 +{ 1.47 +} 1.48 + 1.49 +MOZ_EXPORT String16::String16(char const*) 1.50 +{ 1.51 +} 1.52 + 1.53 +MOZ_EXPORT String16::~String16() 1.54 +{ 1.55 +} 1.56 + 1.57 +MOZ_EXPORT String8::String8() 1.58 +{ 1.59 +} 1.60 + 1.61 +MOZ_EXPORT String8::String8(const String8 &) 1.62 +{ 1.63 +} 1.64 + 1.65 +MOZ_EXPORT String8::~String8() 1.66 +{ 1.67 +} 1.68 + 1.69 +MOZ_EXPORT VectorImpl::VectorImpl(size_t, uint32_t) 1.70 + : mFlags(0), mItemSize(0) 1.71 +{ 1.72 +} 1.73 + 1.74 +MOZ_EXPORT VectorImpl::VectorImpl(const VectorImpl &) 1.75 + : mFlags(0), mItemSize(0) 1.76 +{ 1.77 +} 1.78 + 1.79 +MOZ_EXPORT VectorImpl::~VectorImpl() 1.80 +{ 1.81 +} 1.82 + 1.83 +MOZ_EXPORT void VectorImpl::finish_vector() 1.84 +{ 1.85 +} 1.86 + 1.87 +}