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

12

/frameworks/compile/slang/
H A 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_b
[all...]
/frameworks/base/core/java/android/os/
H A DSystemProperties.java32 private static native String native_get(String key, String def); argument
33 private static native int native_get_int(String key, int def); argument
34 private static native long native_get_long(String key, long def); argument
35 private static native boolean native_get_boolean(String key, boolean def); argument
36 private static native void native_set(String key, String def); argument
52 * @return if the key isn't found, return def if it isn't null, or an empty string otherwise
55 public static String get(String key, String def) { argument
59 return native_get(key, def);
65 * @param def a default value to return
66 * @return the key parsed as an integer, or def i
70 getInt(String key, int def) argument
85 getLong(String key, long def) argument
105 getBoolean(String key, boolean def) argument
[all...]
/frameworks/base/media/libstagefright/codecs/on2/dec/
H A DSoftVPX.cpp62 OMX_PARAM_PORTDEFINITIONTYPE def; local
63 InitOMXParams(&def);
65 def.nPortIndex = 0;
66 def.eDir = OMX_DirInput;
67 def.nBufferCountMin = kNumBuffers;
68 def.nBufferCountActual = def.nBufferCountMin;
69 def.nBufferSize = 256 * 1024;
70 def.bEnabled = OMX_TRUE;
71 def
358 OMX_PARAM_PORTDEFINITIONTYPE *def = &editPortInfo(0)->mDef; local
[all...]
/frameworks/compile/libbcc/tests/
H A Dbccarm10 def compile(args):
15 def runCmd(args):
20 def uname():
23 def unameM():
26 def which(item):
29 def adb(args):
32 def setupArm(file):
46 def compileArm(args):
63 def main():
/frameworks/base/media/libstagefright/codecs/g711/dec/
H A DSoftG711.cpp59 OMX_PARAM_PORTDEFINITIONTYPE def; local
60 InitOMXParams(&def);
62 def.nPortIndex = 0;
63 def.eDir = OMX_DirInput;
64 def.nBufferCountMin = kNumBuffers;
65 def.nBufferCountActual = def.nBufferCountMin;
66 def.nBufferSize = 8192;
67 def.bEnabled = OMX_TRUE;
68 def
[all...]
/frameworks/base/media/libstagefright/codecs/mp3dec/
H A DSoftMP3.cpp68 OMX_PARAM_PORTDEFINITIONTYPE def; local
69 InitOMXParams(&def);
71 def.nPortIndex = 0;
72 def.eDir = OMX_DirInput;
73 def.nBufferCountMin = kNumBuffers;
74 def.nBufferCountActual = def.nBufferCountMin;
75 def.nBufferSize = 8192;
76 def.bEnabled = OMX_TRUE;
77 def
[all...]
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/
H A DSoftMPEG4.cpp100 OMX_PARAM_PORTDEFINITIONTYPE def; local
101 InitOMXParams(&def);
103 def.nPortIndex = 0;
104 def.eDir = OMX_DirInput;
105 def.nBufferCountMin = kNumInputBuffers;
106 def.nBufferCountActual = def.nBufferCountMin;
107 def.nBufferSize = 8192;
108 def.bEnabled = OMX_TRUE;
109 def
573 OMX_PARAM_PORTDEFINITIONTYPE *def = &editPortInfo(0)->mDef; local
[all...]
/frameworks/base/media/libstagefright/codecs/on2/h264dec/
H A DSoftAVC.cpp104 OMX_PARAM_PORTDEFINITIONTYPE def; local
105 InitOMXParams(&def);
107 def.nPortIndex = kInputPortIndex;
108 def.eDir = OMX_DirInput;
109 def.nBufferCountMin = kNumInputBuffers;
110 def.nBufferCountActual = def.nBufferCountMin;
111 def.nBufferSize = 8192;
112 def.bEnabled = OMX_TRUE;
113 def
538 OMX_PARAM_PORTDEFINITIONTYPE *def = &editPortInfo(0)->mDef; local
[all...]
/frameworks/base/media/libstagefright/codecs/amrnb/dec/
H A DSoftAMR.cpp78 OMX_PARAM_PORTDEFINITIONTYPE def; local
79 InitOMXParams(&def);
81 def.nPortIndex = 0;
82 def.eDir = OMX_DirInput;
83 def.nBufferCountMin = kNumBuffers;
84 def.nBufferCountActual = def.nBufferCountMin;
85 def.nBufferSize = 8192;
86 def.bEnabled = OMX_TRUE;
87 def
[all...]
/frameworks/base/media/libstagefright/codecs/aacdec/
H A DSoftAAC.cpp65 OMX_PARAM_PORTDEFINITIONTYPE def; local
66 InitOMXParams(&def);
68 def.nPortIndex = 0;
69 def.eDir = OMX_DirInput;
70 def.nBufferCountMin = kNumBuffers;
71 def.nBufferCountActual = def.nBufferCountMin;
72 def.nBufferSize = 8192;
73 def.bEnabled = OMX_TRUE;
74 def
[all...]
/frameworks/base/media/libstagefright/codecs/vorbis/dec/
H A DSoftVorbis.cpp77 OMX_PARAM_PORTDEFINITIONTYPE def; local
78 InitOMXParams(&def);
80 def.nPortIndex = 0;
81 def.eDir = OMX_DirInput;
82 def.nBufferCountMin = kNumBuffers;
83 def.nBufferCountActual = def.nBufferCountMin;
84 def.nBufferSize = 8192;
85 def.bEnabled = OMX_TRUE;
86 def
[all...]
/frameworks/base/tools/localize/
H A DXMLNode.h15 const string& ns, const string& name, const string& def);
/frameworks/compile/libbcc/runtime/make/
H A Dfilter-inputs14 def main():
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DConfirmationActivity.java24 private String getTextExtra(String extra, String def) { argument
27 return def;
/frameworks/base/core/java/com/android/internal/util/
H A DTypedProperties.java430 * @param def The default value to return if the property is not set
434 public boolean getBoolean(String property, boolean def) { argument
437 return def;
450 * @param def The default value to return if the property is not set
454 public byte getByte(String property, byte def) { argument
457 return def;
470 * @param def The default value to return if the property is not set
474 public short getShort(String property, short def) { argument
477 return def;
490 * @param def Th
494 getInt(String property, int def) argument
514 getLong(String property, long def) argument
534 getFloat(String property, float def) argument
554 getDouble(String property, double def) argument
574 getString(String property, String def) argument
[all...]
/frameworks/base/media/libstagefright/
H A DOMXCodec.cpp777 OMX_PARAM_PORTDEFINITIONTYPE def; local
778 InitOMXParams(&def);
779 def.nPortIndex = portIndex;
782 mNode, OMX_IndexParamPortDefinition, &def, sizeof(def));
786 || (def.nBufferSize < size)) {
787 def.nBufferSize = size;
791 mNode, OMX_IndexParamPortDefinition, &def, sizeof(def));
795 mNode, OMX_IndexParamPortDefinition, &def, sizeo
992 OMX_PARAM_PORTDEFINITIONTYPE def; local
1418 OMX_PARAM_PORTDEFINITIONTYPE def; local
1681 OMX_PARAM_PORTDEFINITIONTYPE def; local
1828 OMX_PARAM_PORTDEFINITIONTYPE def; local
3440 OMX_PARAM_PORTDEFINITIONTYPE def; local
3529 OMX_AUDIO_PARAM_AMRTYPE def; local
3584 OMX_PARAM_PORTDEFINITIONTYPE def; local
3662 OMX_PARAM_PORTDEFINITIONTYPE def; local
3722 OMX_PARAM_PORTDEFINITIONTYPE def; local
4272 OMX_PARAM_PORTDEFINITIONTYPE def; local
4425 OMX_PARAM_PORTDEFINITIONTYPE def; local
[all...]
H A DACodec.cpp367 OMX_PARAM_PORTDEFINITIONTYPE def; local
368 InitOMXParams(&def);
369 def.nPortIndex = portIndex;
372 mNode, OMX_IndexParamPortDefinition, &def, sizeof(def));
380 def.nBufferCountActual, def.nBufferSize,
383 size_t totalSize = def.nBufferCountActual * def.nBufferSize;
386 for (OMX_U32 i = 0; i < def
423 OMX_PARAM_PORTDEFINITIONTYPE def; local
786 OMX_PARAM_PORTDEFINITIONTYPE def; local
845 OMX_AUDIO_PARAM_AMRTYPE def; local
871 OMX_PARAM_PORTDEFINITIONTYPE def; local
1052 OMX_PARAM_PORTDEFINITIONTYPE def; local
1151 OMX_PARAM_PORTDEFINITIONTYPE def; local
[all...]
/frameworks/base/libs/utils/
H A DCallStack.cpp123 const char *map_to_name(uint64_t pc, const char* def, uint64_t* start) { argument
135 return def;
191 static const char *mapAddressToName(const void* pc, const char* def, argument
195 char const* name = sMapInfo.map_to_name(uint64_t(uintptr_t(pc)), def, &s);
/frameworks/base/media/libstagefright/omx/
H A DOMXNodeInstance.cpp422 OMX_PARAM_PORTDEFINITIONTYPE def; local
423 def.nSize = sizeof(OMX_PARAM_PORTDEFINITIONTYPE);
424 def.nVersion.s.nVersionMajor = 1;
425 def.nVersion.s.nVersionMinor = 0;
426 def.nVersion.s.nRevision = 0;
427 def.nVersion.s.nStep = 0;
428 def.nPortIndex = portIndex;
429 OMX_ERRORTYPE err = OMX_GetParameter(mHandle, OMX_IndexParamPortDefinition, &def);
447 def.nBufferSize,
/frameworks/base/media/libstagefright/omx/tests/
H A DOMXHarness.cpp164 OMX_PARAM_PORTDEFINITIONTYPE *def) {
165 def->nSize = sizeof(*def);
166 def->nVersion.s.nVersionMajor = 1;
167 def->nVersion.s.nVersionMinor = 0;
168 def->nVersion.s.nRevision = 0;
169 def->nVersion.s.nStep = 0;
170 def->nPortIndex = portIndex;
172 node, OMX_IndexParamPortDefinition, def, sizeof(*def));
162 getPortDefinition( IOMX::node_id node, OMX_U32 portIndex, OMX_PARAM_PORTDEFINITIONTYPE *def) argument
189 OMX_PARAM_PORTDEFINITIONTYPE def; local
[all...]
H A DOMXHarness.h57 OMX_PARAM_PORTDEFINITIONTYPE *def);
/frameworks/base/core/java/android/provider/
H A DSettings.java862 * @param def Value to return if the setting is not defined.
864 * @return The setting's current value, or 'def' if it is not defined
867 public static int getInt(ContentResolver cr, String name, int def) { argument
870 return v != null ? Integer.parseInt(v) : def;
872 return def;
930 * @param def Value to return if the setting is not defined.
932 * @return The setting's current value, or 'def' if it is not defined
935 public static long getLong(ContentResolver cr, String name, long def) { argument
939 value = valString != null ? Long.parseLong(valString) : def;
941 value = def;
1004 getFloat(ContentResolver cr, String name, float def) argument
2250 getInt(ContentResolver cr, String name, int def) argument
2318 getLong(ContentResolver cr, String name, long def) argument
2387 getFloat(ContentResolver cr, String name, float def) argument
[all...]
/frameworks/base/core/java/android/content/
H A DSyncStatusInfo.java53 public int getLastFailureMesgAsInt(int def) { argument
61 return def;
/frameworks/base/media/libstagefright/include/
H A DSimpleSoftOMXComponent.h61 void addPort(const OMX_PARAM_PORTDEFINITIONTYPE &def);
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
H A DDelegateClassAdapterTest.java322 byte[] def = mClassDefs.get(name);
323 if (def != null) {
325 return defineClass(name, def, 0, def.length);

Completed in 672 milliseconds

12