Home
last modified time | relevance | path

Searched refs:def (Results 1 – 25 of 128) sorted by relevance

123456

/frameworks/native/headers/media_plugin/media/openmax/
DOMX_AsString.h31 inline static const char *asString(OMX_AUDIO_CODINGTYPE i, const char *def = "??") {
62 default: return def;
66 inline static const char *asString(OMX_AUDIO_PCMMODETYPE i, const char *def = "??") {
71 default: return def;
75 inline static const char *asString(OMX_AUDIO_CHANNELTYPE i, const char *def = "??") {
87 default: return def;
91 inline static const char *asString(OMX_AUDIO_CHANNELMODETYPE i, const char *def = "??") {
97 default: return def;
101 inline static const char *asString(OMX_AUDIO_AACPROFILETYPE i, const char *def = "??") {
114 default: return def;
[all …]
/frameworks/compile/mclinker/tools/mcld/
DOptions.td14 def DynamicGroup : OptionGroup<"dynamic">,
17 def Entry : Joined<["--"], "entry=">,
20 def EntryAlias : Separate<["-"], "e">,
23 def Bsymbolic : Flag<["-"], "Bsymbolic">,
27 def Bgroup : Flag<["-"], "Bgroup">,
31 def SOName : Joined<["-"], "soname=">,
34 def SONameAlias : Separate<["-"], "soname">,
38 def NoUndef : Flag<["--"], "no-undefined">,
42 def AllowMulDefs : Flag<["--"], "allow-multiple-definition">,
46 def Z : Separate<["-"], "z">,
[all …]
/frameworks/compile/slang/
DRSCCOptions.td30 def target_api : Separate<["-"], "target-api">,
32 def target_api_EQ : Joined<["-"], "target-api=">, Alias<target_api>;
38 def I : JoinedOrSeparate<["-"], "I">, MetaVarName<"<directory>">,
40 def _I : Separate<["-", "--"], "include-path">, MetaVarName<"<directory>">, Alias<I>;
46 def o : Separate<["-"], "o">, MetaVarName<"<directory>">,
49 def Output_Type_Group : OptionGroup<"<output type group>">;
52 def emit_asm : Flag<["-"], "emit-asm">,
54 def _emit_asm : Flag<["-"], "S">, Alias<emit_asm>;
55 def emit_llvm : Flag<["-"], "emit-llvm">,
57 def emit_bc : Flag<["-"], "emit-bc">,
[all …]
/frameworks/av/media/libstagefright/codecs/raw/
DSoftRaw.cpp56 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
57 InitOMXParams(&def); in initPorts()
59 def.nPortIndex = 0; in initPorts()
60 def.eDir = OMX_DirInput; in initPorts()
61 def.nBufferCountMin = kNumBuffers; in initPorts()
62 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
63 def.nBufferSize = 192 * 1024; in initPorts()
64 def.bEnabled = OMX_TRUE; in initPorts()
65 def.bPopulated = OMX_FALSE; in initPorts()
66 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
/frameworks/av/media/libstagefright/codecs/gsm/dec/
DSoftGSM.cpp63 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
64 InitOMXParams(&def); in initPorts()
66 def.nPortIndex = 0; in initPorts()
67 def.eDir = OMX_DirInput; in initPorts()
68 def.nBufferCountMin = kNumBuffers; in initPorts()
69 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
70 def.nBufferSize = 1024 / kMSGSMFrameSize * kMSGSMFrameSize; in initPorts()
71 def.bEnabled = OMX_TRUE; in initPorts()
72 def.bPopulated = OMX_FALSE; in initPorts()
73 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
DSoftAMRNBEncoder.cpp67 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
68 InitOMXParams(&def); in initPorts()
70 def.nPortIndex = 0; in initPorts()
71 def.eDir = OMX_DirInput; in initPorts()
72 def.nBufferCountMin = kNumBuffers; in initPorts()
73 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
74 def.nBufferSize = kNumSamplesPerFrame * sizeof(int16_t); in initPorts()
75 def.bEnabled = OMX_TRUE; in initPorts()
76 def.bPopulated = OMX_FALSE; in initPorts()
77 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
/frameworks/av/media/libstagefright/codecs/g711/dec/
DSoftG711.cpp62 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
63 InitOMXParams(&def); in initPorts()
65 def.nPortIndex = 0; in initPorts()
66 def.eDir = OMX_DirInput; in initPorts()
67 def.nBufferCountMin = kNumBuffers; in initPorts()
68 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
69 def.nBufferSize = 8192; in initPorts()
70 def.bEnabled = OMX_TRUE; in initPorts()
71 def.bPopulated = OMX_FALSE; in initPorts()
72 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
/frameworks/av/media/libstagefright/
DMediaExtractorFactory.cpp107 ExtractorDef def; member
113 : def(definition), libHandle(handle), libPath(path) { in ExtractorPlugin()
115 uuidString.appendFormat("%02x", def.extractor_uuid.b[i]); in ExtractorPlugin()
120 ALOGV("closing handle for %s %d", libPath.c_str(), def.extractor_version); in ~ExtractorPlugin()
149 ALOGV("sniffing %s", (*it)->def.extractor_name); in sniff()
155 if ((*it)->def.def_version == EXTRACTORDEF_VERSION_NDK_V1) { in sniff()
156 curCreator = (void*) (*it)->def.u.v2.sniff( in sniff()
158 } else if ((*it)->def.def_version == EXTRACTORDEF_VERSION_NDK_V2) { in sniff()
159 curCreator = (void*) (*it)->def.u.v3.sniff( in sniff()
173 *creatorVersion = (*it)->def.def_version; in sniff()
[all …]
/frameworks/layoutlib/bridge/src/android/os/
DSystemProperties_Delegate.java38 /*package*/ static String native_get(String key, String def) { in native_get() argument
45 return def; in native_get()
48 /*package*/ static int native_get_int(String key, int def) { in native_get_int() argument
55 return def; in native_get_int()
59 /*package*/ static long native_get_long(String key, long def) { in native_get_long() argument
66 return def; in native_get_long()
74 /*package*/ static boolean native_get_boolean(String key, boolean def) { in native_get_boolean() argument
88 return def; in native_get_boolean()
92 /*package*/ static void native_set(String key, String def) { in native_set() argument
94 properties.put(key, def); in native_set()
[all …]
/frameworks/av/media/libstagefright/codecs/flac/dec/
DSoftFlacDecoder.cpp67 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
68 InitOMXParams(&def); in initPorts()
70 def.nPortIndex = 0; in initPorts()
71 def.eDir = OMX_DirInput; in initPorts()
72 def.nBufferCountMin = kNumInputBuffers; in initPorts()
73 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
74 def.nBufferSize = 32768; in initPorts()
75 def.bEnabled = OMX_TRUE; in initPorts()
76 def.bPopulated = OMX_FALSE; in initPorts()
77 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwbenc/
DSoftAMRWBEncoder.cpp74 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
75 InitOMXParams(&def); in initPorts()
77 def.nPortIndex = 0; in initPorts()
78 def.eDir = OMX_DirInput; in initPorts()
79 def.nBufferCountMin = kNumBuffers; in initPorts()
80 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
81 def.nBufferSize = kNumSamplesPerFrame * sizeof(int16_t); in initPorts()
82 def.bEnabled = OMX_TRUE; in initPorts()
83 def.bPopulated = OMX_FALSE; in initPorts()
84 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
/frameworks/av/media/libstagefright/codecs/mp3dec/
DSoftMP3.cpp70 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
71 InitOMXParams(&def); in initPorts()
73 def.nPortIndex = 0; in initPorts()
74 def.eDir = OMX_DirInput; in initPorts()
75 def.nBufferCountMin = kNumBuffers; in initPorts()
76 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
77 def.nBufferSize = 8192; in initPorts()
78 def.bEnabled = OMX_TRUE; in initPorts()
79 def.bPopulated = OMX_FALSE; in initPorts()
80 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
/frameworks/av/media/libstagefright/omx/
DSoftVideoEncoderOMXComponent.cpp86 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
91 InitOMXParams(&def); in initPorts()
93 def.nPortIndex = kInputPortIndex; in initPorts()
94 def.eDir = OMX_DirInput; in initPorts()
95 def.nBufferCountMin = numInputBuffers; in initPorts()
96 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
97 def.bEnabled = OMX_TRUE; in initPorts()
98 def.bPopulated = OMX_FALSE; in initPorts()
99 def.eDomain = OMX_PortDomainVideo; in initPorts()
100 def.bBuffersContiguous = OMX_FALSE; in initPorts()
[all …]
DSoftVideoDecoderOMXComponent.cpp102 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
103 InitOMXParams(&def); in initPorts()
105 def.nPortIndex = kInputPortIndex; in initPorts()
106 def.eDir = OMX_DirInput; in initPorts()
107 def.nBufferCountMin = numMinInputBuffers; in initPorts()
108 def.nBufferCountActual = numInputBuffers; in initPorts()
109 def.nBufferSize = inputBufferSize; in initPorts()
110 def.bEnabled = OMX_TRUE; in initPorts()
111 def.bPopulated = OMX_FALSE; in initPorts()
112 def.eDomain = OMX_PortDomainVideo; in initPorts()
[all …]
/frameworks/base/core/java/android/os/
DSystemProperties.java108 private static native String native_get(String key, String def); in native_get() argument
111 private static native int native_get_int(String key, int def); in native_get_int() argument
114 private static native long native_get_long(String key, long def); in native_get_long() argument
117 private static native boolean native_get_boolean(String key, boolean def); in native_get_boolean() argument
124 private static native int native_get_int(long handle, int def); in native_get_int() argument
126 private static native long native_get_long(long handle, long def); in native_get_long() argument
128 private static native boolean native_get_boolean(long handle, boolean def); in native_get_boolean() argument
132 private static native void native_set(String key, String def); in native_set() argument
163 public static String get(@NonNull String key, @Nullable String def) { in get() argument
165 return native_get(key, def); in get()
[all …]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/
DSoftAMR.cpp75 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
76 InitOMXParams(&def); in initPorts()
78 def.nPortIndex = 0; in initPorts()
79 def.eDir = OMX_DirInput; in initPorts()
80 def.nBufferCountMin = kNumBuffers; in initPorts()
81 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
82 def.nBufferSize = 8192; in initPorts()
83 def.bEnabled = OMX_TRUE; in initPorts()
84 def.bPopulated = OMX_FALSE; in initPorts()
85 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
/frameworks/av/media/libstagefright/codecs/flac/enc/
DSoftFlacEncoder.cpp114 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
115 InitOMXParams(&def); in initPorts()
118 def.nPortIndex = 0; in initPorts()
119 def.eDir = OMX_DirInput; in initPorts()
120 def.nBufferCountMin = kNumBuffers; in initPorts()
121 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
122 def.nBufferSize = kMaxInputBufferSize; in initPorts()
123 def.bEnabled = OMX_TRUE; in initPorts()
124 def.bPopulated = OMX_FALSE; in initPorts()
125 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
/frameworks/native/headers/media_plugin/media/hardware/
DVideoAPI.h227 inline static const char *asString(MediaImage::Type i, const char *def = "??") {
231 default: return def;
235 inline static const char *asString(MediaImage::PlaneIndex i, const char *def = "??") {
240 default: return def;
244 inline static const char *asString(MediaImage2::Type i, const char *def = "??") {
252 default: return def;
257 MediaImage2::PlaneIndex i, MediaImage2::Type j, char def = '?') {
261 return def;
266 inline static const char *asString(ColorAspects::Range i, const char *def = "??") {
272 default: return def;
[all …]
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
DSoftVorbis.cpp83 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
84 InitOMXParams(&def); in initPorts()
86 def.nPortIndex = 0; in initPorts()
87 def.eDir = OMX_DirInput; in initPorts()
88 def.nBufferCountMin = kNumBuffers; in initPorts()
89 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
90 def.nBufferSize = kMaxNumSamplesPerBuffer * sizeof(int16_t); in initPorts()
91 def.bEnabled = OMX_TRUE; in initPorts()
92 def.bPopulated = OMX_FALSE; in initPorts()
93 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
/frameworks/av/media/libstagefright/codecs/opus/dec/
DSoftOpus.cpp85 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
86 InitOMXParams(&def); in initPorts()
88 def.nPortIndex = 0; in initPorts()
89 def.eDir = OMX_DirInput; in initPorts()
90 def.nBufferCountMin = kNumBuffers; in initPorts()
91 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
92 def.nBufferSize = 960 * 6; in initPorts()
93 def.bEnabled = OMX_TRUE; in initPorts()
94 def.bPopulated = OMX_FALSE; in initPorts()
95 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
/frameworks/av/media/libstagefright/codecs/aacenc/
DSoftAACEncoder2.cpp81 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
82 InitOMXParams(&def); in initPorts()
84 def.nPortIndex = 0; in initPorts()
85 def.eDir = OMX_DirInput; in initPorts()
86 def.nBufferCountMin = kNumBuffers; in initPorts()
87 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
88 def.nBufferSize = kNumSamplesPerFrame * sizeof(int16_t) * 2; in initPorts()
89 def.bEnabled = OMX_TRUE; in initPorts()
90 def.bPopulated = OMX_FALSE; in initPorts()
91 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaCodecConstants.h34 inline static const char *asString_AVCProfile(int32_t i, const char *def = "??") {
45 default: return def;
70 inline static const char *asString_AVCLevel(int32_t i, const char *def = "??") {
92 default: return def;
106 inline static const char *asString_H263Profile(int32_t i, const char *def = "??") {
117 default: return def;
130 inline static const char *asString_H263Level(int32_t i, const char *def = "??") {
140 default: return def;
161 inline static const char *asString_MPEG4Profile(int32_t i, const char *def = "??") {
179 default: return def;
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/settings/
DSettingsProxy.java245 default int getInt(String name, int def) { in getInt() argument
246 return getIntForUser(name, def, getUserId()); in getInt()
250 default int getIntForUser(String name, int def, int userHandle) { in getIntForUser() argument
253 return v != null ? Integer.parseInt(v) : def; in getIntForUser()
255 return def; in getIntForUser()
324 default long getLong(String name, long def) { in getLong() argument
325 return getLongForUser(name, def, getUserId()); in getLong()
329 default long getLongForUser(String name, long def, int userHandle) { in getLongForUser() argument
333 value = valString != null ? Long.parseLong(valString) : def; in getLongForUser()
335 value = def; in getLongForUser()
[all …]
/frameworks/base/core/java/android/util/
DKeyValueListParser.java76 public int getInt(String key, int def) { in getInt() argument
85 return def; in getInt()
94 public long getLong(String key, long def) { in getLong() argument
103 return def; in getLong()
112 public float getFloat(String key, float def) { in getFloat() argument
121 return def; in getFloat()
130 public String getString(String key, String def) { in getString() argument
135 return def; in getString()
144 public boolean getBoolean(String key, boolean def) { in getBoolean() argument
153 return def; in getBoolean()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DTypedProperties.java434 public boolean getBoolean(String property, boolean def) { in getBoolean() argument
437 return def; in getBoolean()
454 public byte getByte(String property, byte def) { in getByte() argument
457 return def; in getByte()
474 public short getShort(String property, short def) { in getShort() argument
477 return def; in getShort()
494 public int getInt(String property, int def) { in getInt() argument
497 return def; in getInt()
514 public long getLong(String property, long def) { in getLong() argument
517 return def; in getLong()
[all …]

123456