Home
last modified time | relevance | path

Searched refs:def (Results 1 – 25 of 142) 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 = 64 * 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.cpp60 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
61 InitOMXParams(&def); in initPorts()
63 def.nPortIndex = 0; in initPorts()
64 def.eDir = OMX_DirInput; in initPorts()
65 def.nBufferCountMin = kNumBuffers; in initPorts()
66 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
67 def.nBufferSize = 8192; in initPorts()
68 def.bEnabled = OMX_TRUE; in initPorts()
69 def.bPopulated = OMX_FALSE; in initPorts()
70 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
/frameworks/av/media/libstagefright/codecs/flac/dec/
DSoftFlacDecoder.cpp64 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
65 InitOMXParams(&def); in initPorts()
67 def.nPortIndex = 0; in initPorts()
68 def.eDir = OMX_DirInput; in initPorts()
69 def.nBufferCountMin = kNumInputBuffers; in initPorts()
70 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
71 def.nBufferSize = 32768; in initPorts()
72 def.bEnabled = OMX_TRUE; in initPorts()
73 def.bPopulated = OMX_FALSE; in initPorts()
74 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
/frameworks/av/media/libstagefright/omx/
DSoftVideoDecoderOMXComponent.cpp100 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
101 InitOMXParams(&def); in initPorts()
103 def.nPortIndex = kInputPortIndex; in initPorts()
104 def.eDir = OMX_DirInput; in initPorts()
105 def.nBufferCountMin = numMinInputBuffers; in initPorts()
106 def.nBufferCountActual = numInputBuffers; in initPorts()
107 def.nBufferSize = inputBufferSize; in initPorts()
108 def.bEnabled = OMX_TRUE; in initPorts()
109 def.bPopulated = OMX_FALSE; in initPorts()
110 def.eDomain = OMX_PortDomainVideo; in initPorts()
[all …]
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 …]
/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/codecs/flac/enc/
DSoftFlacEncoder.cpp110 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
111 InitOMXParams(&def); in initPorts()
114 def.nPortIndex = 0; in initPorts()
115 def.eDir = OMX_DirInput; in initPorts()
116 def.nBufferCountMin = kNumBuffers;// TODO verify that 1 is enough in initPorts()
117 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
118 def.nBufferSize = kMaxInputBufferSize; in initPorts()
119 def.bEnabled = OMX_TRUE; in initPorts()
120 def.bPopulated = OMX_FALSE; in initPorts()
121 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/
DSoftAMR.cpp78 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
79 InitOMXParams(&def); in initPorts()
81 def.nPortIndex = 0; in initPorts()
82 def.eDir = OMX_DirInput; in initPorts()
83 def.nBufferCountMin = kNumBuffers; in initPorts()
84 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
85 def.nBufferSize = 8192; in initPorts()
86 def.bEnabled = OMX_TRUE; in initPorts()
87 def.bPopulated = OMX_FALSE; in initPorts()
88 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
/frameworks/av/media/libstagefright/codecs/aacenc/
DSoftAACEncoder.cpp80 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
81 InitOMXParams(&def); in initPorts()
83 def.nPortIndex = 0; in initPorts()
84 def.eDir = OMX_DirInput; in initPorts()
85 def.nBufferCountMin = kNumBuffers; in initPorts()
86 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
87 def.nBufferSize = kNumSamplesPerFrame * sizeof(int16_t) * 2; in initPorts()
88 def.bEnabled = OMX_TRUE; in initPorts()
89 def.bPopulated = OMX_FALSE; in initPorts()
90 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
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/codecs/opus/dec/
DSoftOpus.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 = 960 * 6; 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/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/base/core/java/android/os/
DSystemProperties.java79 private static native String native_get(String key, String def); in native_get() argument
80 private static native int native_get_int(String key, int def); in native_get_int() argument
81 private static native long native_get_long(String key, long def); in native_get_long() argument
82 private static native boolean native_get_boolean(String key, boolean def); in native_get_boolean() argument
83 private static native void native_set(String key, String def); in native_set() argument
100 public static String get(String key, String def) { in get() argument
102 return native_get(key, def); in get()
112 public static int getInt(String key, int def) { in getInt() argument
114 return native_get_int(key, def); in getInt()
124 public static long getLong(String key, long def) { in getLong() argument
[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/base/core/java/android/util/
DKeyValueListParser.java71 public int getInt(String key, int def) { in getInt() argument
80 return def; in getInt()
89 public long getLong(String key, long def) { in getLong() argument
98 return def; in getLong()
107 public float getFloat(String key, float def) { in getFloat() argument
116 return def; in getFloat()
125 public String getString(String key, String def) { in getString() argument
130 return def; in getString()
139 public boolean getBoolean(String key, boolean def) { in getBoolean() argument
148 return def; in getBoolean()
/frameworks/layoutlib/bridge/src/android/os/
DSystemProperties_Delegate.java42 /*package*/ static String native_get(String key, String def) { in native_get() argument
49 return def; in native_get()
52 /*package*/ static int native_get_int(String key, int def) { in native_get_int() argument
59 return def; in native_get_int()
63 /*package*/ static long native_get_long(String key, long def) { in native_get_long() argument
70 return def; in native_get_long()
78 /*package*/ static boolean native_get_boolean(String key, boolean def) { in native_get_boolean() argument
92 return def; in native_get_boolean()
96 /*package*/ static void native_set(String key, String def) { in native_set() argument
98 properties.put(key, def); in native_set()
/frameworks/data-binding/
Dbuild.gradle65 def buildExtensionsTask = project.tasks.create "buildExtensionsTask", Exec
74 def prepareExtensionPrebuilds = project.tasks.create "prepareExtensionPrebuilds", Exec
85 def testTask = project.tasks.create "runTestsOf${it.getName().capitalize()}", Exec
147 def propsFile = new File("${dataBindingConfig.eapOutDir}/databinding.properties")
161 def findChildByTag(node, tag) {
167 def fullJar(project) {
168 def localizeTask = project.parent.tasks.findByName('localizeDependencies')
175 def jarName = project.uploadArchives.repositories.mavenDeployer.pom.artifactId
176 def workingDir = "${project.buildDir}/intermediates/fullJar"
177 def fatJar = "${workingDir}/${jarName}-fat.jar"
[all …]
/frameworks/support/app-toolkit/
Dinit.gradle20 def root = ext.supportRootFolder
28 def checkoutRoot = "${root}/../.."
39 def buildDir
40 def distDir
41 def supportLibBuildDir
53 def localMavenRepo = "file://${new File(buildDir, "flatfoot_repo").absolutePath}"
65 def buildServerAnchorTask = rootProject.tasks.create(name : "runBuildServerCompilationTasks",
84 def zipFlatfootDocsTask = rootProject.tasks.create(name : "createFlatfootDocsArchive", type : Zip) {
114 def projectPath = project.getPath().split(":")
115 def mavenGroup = projectPath[1]
[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