Home
last modified time | relevance | path

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

12

/frameworks/base/media/libstagefright/codecs/on2/dec/
DSoftVPX.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 = 256 * 1024; in initPorts()
70 def.bEnabled = OMX_TRUE; in initPorts()
71 def.bPopulated = OMX_FALSE; in initPorts()
72 def.eDomain = OMX_PortDomainVideo; in initPorts()
[all …]
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/
DSoftMPEG4.cpp100 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
101 InitOMXParams(&def); in initPorts()
103 def.nPortIndex = 0; in initPorts()
104 def.eDir = OMX_DirInput; in initPorts()
105 def.nBufferCountMin = kNumInputBuffers; in initPorts()
106 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
107 def.nBufferSize = 8192; in initPorts()
108 def.bEnabled = OMX_TRUE; in initPorts()
109 def.bPopulated = OMX_FALSE; in initPorts()
110 def.eDomain = OMX_PortDomainVideo; in initPorts()
[all …]
/frameworks/base/media/libstagefright/codecs/on2/h264dec/
DSoftAVC.cpp103 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
104 InitOMXParams(&def); in initPorts()
106 def.nPortIndex = kInputPortIndex; in initPorts()
107 def.eDir = OMX_DirInput; in initPorts()
108 def.nBufferCountMin = kNumInputBuffers; in initPorts()
109 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
110 def.nBufferSize = 8192; in initPorts()
111 def.bEnabled = OMX_TRUE; in initPorts()
112 def.bPopulated = OMX_FALSE; in initPorts()
113 def.eDomain = OMX_PortDomainVideo; in initPorts()
[all …]
/frameworks/base/media/libstagefright/codecs/g711/dec/
DSoftG711.cpp59 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
60 InitOMXParams(&def); in initPorts()
62 def.nPortIndex = 0; in initPorts()
63 def.eDir = OMX_DirInput; in initPorts()
64 def.nBufferCountMin = kNumBuffers; in initPorts()
65 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
66 def.nBufferSize = 8192; in initPorts()
67 def.bEnabled = OMX_TRUE; in initPorts()
68 def.bPopulated = OMX_FALSE; in initPorts()
69 def.eDomain = OMX_PortDomainAudio; in initPorts()
[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/base/media/libstagefright/codecs/mp3dec/
DSoftMP3.cpp68 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
69 InitOMXParams(&def); in initPorts()
71 def.nPortIndex = 0; in initPorts()
72 def.eDir = OMX_DirInput; in initPorts()
73 def.nBufferCountMin = kNumBuffers; in initPorts()
74 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
75 def.nBufferSize = 8192; in initPorts()
76 def.bEnabled = OMX_TRUE; in initPorts()
77 def.bPopulated = OMX_FALSE; in initPorts()
78 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
/frameworks/base/core/java/android/os/
DSystemProperties.java32 private static native String native_get(String key, String def); in native_get() argument
33 private static native int native_get_int(String key, int def); in native_get_int() argument
34 private static native long native_get_long(String key, long def); in native_get_long() argument
35 private static native boolean native_get_boolean(String key, boolean def); in native_get_boolean() argument
36 private static native void native_set(String key, String def); in native_set() argument
55 public static String get(String key, String def) { in get() argument
59 return native_get(key, def); in get()
70 public static int getInt(String key, int def) { in getInt() argument
74 return native_get_int(key, def); in getInt()
85 public static long getLong(String key, long def) { in getLong() argument
[all …]
/frameworks/base/media/libstagefright/codecs/aacdec/
DSoftAAC.cpp65 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
66 InitOMXParams(&def); in initPorts()
68 def.nPortIndex = 0; in initPorts()
69 def.eDir = OMX_DirInput; in initPorts()
70 def.nBufferCountMin = kNumBuffers; in initPorts()
71 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
72 def.nBufferSize = 8192; in initPorts()
73 def.bEnabled = OMX_TRUE; in initPorts()
74 def.bPopulated = OMX_FALSE; in initPorts()
75 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
/frameworks/base/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/base/media/libstagefright/codecs/vorbis/dec/
DSoftVorbis.cpp77 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
78 InitOMXParams(&def); in initPorts()
80 def.nPortIndex = 0; in initPorts()
81 def.eDir = OMX_DirInput; in initPorts()
82 def.nBufferCountMin = kNumBuffers; in initPorts()
83 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
84 def.nBufferSize = 8192; in initPorts()
85 def.bEnabled = OMX_TRUE; in initPorts()
86 def.bPopulated = OMX_FALSE; in initPorts()
87 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
/frameworks/base/media/libstagefright/
DOMXCodec.cpp746 OMX_PARAM_PORTDEFINITIONTYPE def; in setMinBufferSize() local
747 InitOMXParams(&def); in setMinBufferSize()
748 def.nPortIndex = portIndex; in setMinBufferSize()
751 mNode, OMX_IndexParamPortDefinition, &def, sizeof(def)); in setMinBufferSize()
755 || (def.nBufferSize < size)) { in setMinBufferSize()
756 def.nBufferSize = size; in setMinBufferSize()
760 mNode, OMX_IndexParamPortDefinition, &def, sizeof(def)); in setMinBufferSize()
764 mNode, OMX_IndexParamPortDefinition, &def, sizeof(def)); in setMinBufferSize()
770 CHECK_EQ(def.nBufferSize, size); in setMinBufferSize()
772 CHECK(def.nBufferSize >= size); in setMinBufferSize()
[all …]
DACodec.cpp366 OMX_PARAM_PORTDEFINITIONTYPE def; in allocateBuffersOnPort() local
367 InitOMXParams(&def); in allocateBuffersOnPort()
368 def.nPortIndex = portIndex; in allocateBuffersOnPort()
371 mNode, OMX_IndexParamPortDefinition, &def, sizeof(def)); in allocateBuffersOnPort()
379 def.nBufferCountActual, def.nBufferSize, in allocateBuffersOnPort()
382 size_t totalSize = def.nBufferCountActual * def.nBufferSize; in allocateBuffersOnPort()
385 for (OMX_U32 i = 0; i < def.nBufferCountActual; ++i) { in allocateBuffersOnPort()
386 sp<IMemory> mem = mDealer[portIndex]->allocate(def.nBufferSize); in allocateBuffersOnPort()
414 info.mData = new ABuffer(mem->pointer(), def.nBufferSize); in allocateBuffersOnPort()
422 OMX_PARAM_PORTDEFINITIONTYPE def; in allocateOutputBuffersFromNativeWindow() local
[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 …]
/frameworks/base/media/libstagefright/omx/tests/
DOMXHarness.cpp164 OMX_PARAM_PORTDEFINITIONTYPE *def) { in getPortDefinition() argument
165 def->nSize = sizeof(*def); in getPortDefinition()
166 def->nVersion.s.nVersionMajor = 1; in getPortDefinition()
167 def->nVersion.s.nVersionMinor = 0; in getPortDefinition()
168 def->nVersion.s.nRevision = 0; in getPortDefinition()
169 def->nVersion.s.nStep = 0; in getPortDefinition()
170 def->nPortIndex = portIndex; in getPortDefinition()
172 node, OMX_IndexParamPortDefinition, def, sizeof(*def)); in getPortDefinition()
189 OMX_PARAM_PORTDEFINITIONTYPE def; in allocatePortBuffers() local
190 status_t err = getPortDefinition(node, portIndex, &def); in allocatePortBuffers()
[all …]
DOMXHarness.h57 OMX_PARAM_PORTDEFINITIONTYPE *def);
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DConfirmationActivity.java24 private String getTextExtra(String extra, String def) { in getTextExtra() argument
27 return def; in getTextExtra()
DNotificationBuilderTest.java376 private int getRadioInt(int id, int def) { in getRadioInt() argument
379 return def; in getRadioInt()
384 return def; in getRadioInt()
/frameworks/base/media/libstagefright/omx/
DOMXNodeInstance.cpp422 OMX_PARAM_PORTDEFINITIONTYPE def; in useGraphicBuffer2_l() local
423 def.nSize = sizeof(OMX_PARAM_PORTDEFINITIONTYPE); in useGraphicBuffer2_l()
424 def.nVersion.s.nVersionMajor = 1; in useGraphicBuffer2_l()
425 def.nVersion.s.nVersionMinor = 0; in useGraphicBuffer2_l()
426 def.nVersion.s.nRevision = 0; in useGraphicBuffer2_l()
427 def.nVersion.s.nStep = 0; in useGraphicBuffer2_l()
428 def.nPortIndex = portIndex; in useGraphicBuffer2_l()
429 OMX_ERRORTYPE err = OMX_GetParameter(mHandle, OMX_IndexParamPortDefinition, &def); in useGraphicBuffer2_l()
447 def.nBufferSize, in useGraphicBuffer2_l()
/frameworks/base/core/java/android/provider/
DSettings.java867 public static int getInt(ContentResolver cr, String name, int def) { in getInt() argument
870 return v != null ? Integer.parseInt(v) : def; in getInt()
872 return def; in getInt()
935 public static long getLong(ContentResolver cr, String name, long def) { in getLong() argument
939 value = valString != null ? Long.parseLong(valString) : def; in getLong()
941 value = def; in getLong()
1004 public static float getFloat(ContentResolver cr, String name, float def) { in getFloat() argument
1007 return v != null ? Float.parseFloat(v) : def; in getFloat()
1009 return def; in getFloat()
2246 public static int getInt(ContentResolver cr, String name, int def) { in getInt() argument
[all …]
/frameworks/base/libs/utils/
DCallStack.cpp123 const char *map_to_name(uint64_t pc, const char* def, uint64_t* start) { in map_to_name() argument
135 return def; in map_to_name()
191 static const char *mapAddressToName(const void* pc, const char* def, in mapAddressToName() argument
195 char const* name = sMapInfo.map_to_name(uint64_t(uintptr_t(pc)), def, &s); in mapAddressToName()
/frameworks/base/tools/localize/
DXMLNode.h15 const string& ns, const string& name, const string& def);
DXMLHandler.h38 const string& ns, const string& name, const string& def);
97 string GetAttribute(const string& ns, const string& name, const string& def) const;
/frameworks/base/core/java/android/content/
DSyncStatusInfo.java53 public int getLastFailureMesgAsInt(int def) { in getLastFailureMesgAsInt() argument
61 return def; in getLastFailureMesgAsInt()
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
DDelegateClassAdapterTest.java322 byte[] def = mClassDefs.get(name); in findClass()
323 if (def != null) { in findClass()
325 return defineClass(name, def, 0, def.length); in findClass()
/frameworks/base/media/libstagefright/include/
DSimpleSoftOMXComponent.h61 void addPort(const OMX_PARAM_PORTDEFINITIONTYPE &def);

12