OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MediaResource
(Results
1 - 9
of
9
) sorted by null
/frameworks/av/media/libmedia/include/media/
MediaResource.h
26
class
MediaResource
{
42
MediaResource
();
43
MediaResource
(Type type, uint64_t value);
44
MediaResource
(Type type, SubType subType, uint64_t value);
51
bool operator==(const
MediaResource
&other) const;
52
bool operator!=(const
MediaResource
&other) const;
59
inline static const char *asString(
MediaResource
::Type i, const char *def = "??") {
61
case
MediaResource
::kUnspecified: return "unspecified";
62
case
MediaResource
::kSecureCodec: return "secure-codec";
63
case
MediaResource
::kNonSecureCodec: return "non-secure-codec"
[
all
...]
IResourceManagerService.h
28
#include <media/
MediaResource
.h>
44
const Vector<
MediaResource
> &resources) = 0;
50
const Vector<
MediaResource
> &resources) = 0;
/frameworks/av/media/libmedia/
MediaResource.cpp
18
#define LOG_TAG "
MediaResource
"
20
#include <media/
MediaResource
.h>
24
MediaResource
::
MediaResource
()
29
MediaResource
::
MediaResource
(Type type, uint64_t value)
34
MediaResource
::
MediaResource
(Type type, SubType subType, uint64_t value)
39
void
MediaResource
::readFromParcel(const Parcel &parcel) {
45
void
MediaResource
::writeToParcel(Parcel *parcel) const
[
all
...]
IResourceManagerService.cpp
77
const Vector<
MediaResource
> &resources) {
97
virtual bool reclaimResource(int callingPid, const Vector<
MediaResource
> &resources) {
138
Vector<
MediaResource
> resources;
155
Vector<
MediaResource
> resources;
/frameworks/av/services/mediaresourcemanager/test/
ResourceManagerService_test.cpp
25
#include <media/
MediaResource
.h>
105
static bool isEqualResources(const Vector<
MediaResource
> &resources1,
106
const Vector<
MediaResource
> &resources2) {
119
const Vector<
MediaResource
> &resources) {
154
Vector<
MediaResource
> resources1;
155
resources1.push_back(
MediaResource
(
MediaResource
::kSecureCodec, 1));
157
resources1.push_back(
MediaResource
(
MediaResource
::kGraphicMemory, 200));
158
Vector<
MediaResource
> resources11
[
all
...]
/frameworks/av/services/mediaresourcemanager/
ResourceManagerService.h
40
Vector<
MediaResource
> resources;
66
const Vector<
MediaResource
> &resources);
73
virtual bool reclaimResource(int callingPid, const Vector<
MediaResource
> &resources);
86
bool getAllClients_l(int callingPid,
MediaResource
::Type type,
92
bool getLowestPriorityBiggestClient_l(int callingPid,
MediaResource
::Type type,
97
bool getLowestPriorityPid_l(
MediaResource
::Type type, int *pid, int *priority);
101
bool getBiggestClient_l(int pid,
MediaResource
::Type type, sp<IResourceManagerClient> *client);
108
int callingPid, const
MediaResource
*res, Vector<sp<IResourceManagerClient>> *clients);
ResourceManagerService.cpp
72
static bool hasResourceType(
MediaResource
::Type type, const Vector<
MediaResource
>& resources) {
81
static bool hasResourceType(
MediaResource
::Type type, const ResourceInfos& infos) {
120
static void notifyResourceGranted(int pid, const Vector<
MediaResource
> &resources) {
126
if (resources[i].mSubType ==
MediaResource
::kAudioCodec) {
128
} else if (resources[i].mSubType ==
MediaResource
::kVideoCodec) {
184
Vector<
MediaResource
> resources = infos[j].resources;
231
const Vector<
MediaResource
> &resources) {
247
if (resources[i].mType ==
MediaResource
::kCpuBoost && !info.cpuBoost) {
306
int callingPid, const
MediaResource
*res, Vector<sp<IResourceManagerClient>> *clients)
[
all
...]
/frameworks/av/media/libstagefright/include/media/stagefright/
MediaCodec.h
27
#include <media/
MediaResource
.h>
297
const Vector<
MediaResource
> &resources);
301
bool reclaimResource(const Vector<
MediaResource
> &resources);
432
void addResource(
MediaResource
::Type type,
MediaResource
::SubType subtype, uint64_t value);
/frameworks/av/media/libstagefright/
MediaCodec.cpp
202
const Vector<
MediaResource
> &resources) {
219
const Vector<
MediaResource
> &resources) {
968
Vector<
MediaResource
> resources;
969
MediaResource
::Type type =
970
secureCodec ?
MediaResource
::kSecureCodec :
MediaResource
::kNonSecureCodec;
971
MediaResource
::SubType subtype =
972
mIsVideo ?
MediaResource
::kVideoCodec :
MediaResource
::kAudioCodec;
973
resources.push_back(
MediaResource
(type, subtype, 1))
[
all
...]
Completed in 1017 milliseconds