OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MediaResource
(Results
1 - 10
of
10
) sorted by null
/frameworks/av/include/media/
MediaResource.h
26
class
MediaResource
{
41
MediaResource
();
42
MediaResource
(Type type, uint64_t value);
43
MediaResource
(Type type, SubType subType, uint64_t value);
50
bool operator==(const
MediaResource
&other) const;
51
bool operator!=(const
MediaResource
&other) const;
58
inline static const char *asString(
MediaResource
::Type i, const char *def = "??") {
60
case
MediaResource
::kUnspecified: return "unspecified";
61
case
MediaResource
::kSecureCodec: return "secure-codec";
62
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;
Android.mk
68
MediaResource
.cpp \
/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
39
Vector<
MediaResource
> resources;
64
const Vector<
MediaResource
> &resources);
71
virtual bool reclaimResource(int callingPid, const Vector<
MediaResource
> &resources);
82
bool getAllClients_l(int callingPid,
MediaResource
::Type type,
88
bool getLowestPriorityBiggestClient_l(int callingPid,
MediaResource
::Type type,
93
bool getLowestPriorityPid_l(
MediaResource
::Type type, int *pid, int *priority);
97
bool getBiggestClient_l(int pid,
MediaResource
::Type type, sp<IResourceManagerClient> *client);
104
int callingPid, const
MediaResource
*res, Vector<sp<IResourceManagerClient>> *clients);
ResourceManagerService.cpp
46
static bool hasResourceType(
MediaResource
::Type type, Vector<
MediaResource
> resources) {
55
static bool hasResourceType(
MediaResource
::Type type, ResourceInfos infos) {
93
static void notifyResourceGranted(int pid, const Vector<
MediaResource
> &resources) {
99
if (resources[i].mSubType ==
MediaResource
::kAudioCodec) {
101
} else if (resources[i].mSubType ==
MediaResource
::kVideoCodec) {
157
Vector<
MediaResource
> resources = infos[j].resources;
203
const Vector<
MediaResource
> &resources) {
251
int callingPid, const
MediaResource
*res, Vector<sp<IResourceManagerClient>> *clients) {
262
int callingPid, const Vector<
MediaResource
> &resources)
[
all
...]
/frameworks/av/media/libstagefright/
MediaCodec.cpp
146
const Vector<
MediaResource
> &resources) {
163
const Vector<
MediaResource
> &resources) {
401
Vector<
MediaResource
> resources;
402
MediaResource
::Type type =
403
secureCodec ?
MediaResource
::kSecureCodec :
MediaResource
::kNonSecureCodec;
404
MediaResource
::SubType subtype =
405
mIsVideo ?
MediaResource
::kVideoCodec :
MediaResource
::kAudioCodec;
406
resources.push_back(
MediaResource
(type, subtype, 1))
[
all
...]
/frameworks/av/include/media/stagefright/
MediaCodec.h
24
#include <media/
MediaResource
.h>
278
const Vector<
MediaResource
> &resources);
282
bool reclaimResource(const Vector<
MediaResource
> &resources);
397
void addResource(
MediaResource
::Type type,
MediaResource
::SubType subtype, uint64_t value);
Completed in 144 milliseconds