/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
H A D | ConfirmationActivity.java | 24 private String getTextExtra(String extra, String def) { argument 27 return def;
|
H A D | NotificationBuilderTest.java | 456 private int getRadioInt(int id, int def) { argument 459 return def; 464 return def; 469 private int getRadioHex(int id, int def) { argument 472 return def; 480 return def;
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
H A D | BugreportPrefs.java | 34 public static int getWarningState(Context context, int def) { argument 37 return prefs.getInt(KEY_WARNING_STATE, def);
|
/frameworks/base/tools/layoutlib/bridge/src/android/os/ |
H A D | SystemProperties_Delegate.java | 42 /*package*/ static String native_get(String key, String def) { argument 49 return def; 52 /*package*/ static int native_get_int(String key, int def) { argument 59 return def; 63 /*package*/ static long native_get_long(String key, long def) { argument 70 return def; 78 /*package*/ static boolean native_get_boolean(String key, boolean def) { argument 92 return def; 96 /*package*/ static void native_set(String key, String def) { argument 98 properties.put(key, def); [all...] |
/frameworks/av/media/libstagefright/codecs/raw/ |
H A D | SoftRaw.cpp | 54 OMX_PARAM_PORTDEFINITIONTYPE def; local 55 InitOMXParams(&def); 57 def.nPortIndex = 0; 58 def.eDir = OMX_DirInput; 59 def.nBufferCountMin = kNumBuffers; 60 def.nBufferCountActual = def.nBufferCountMin; 61 def.nBufferSize = 32 * 1024; 62 def.bEnabled = OMX_TRUE; 63 def [all...] |
/frameworks/av/media/libstagefright/foundation/ |
H A D | ADebug.cpp | 35 const char *name, const char *value, ADebug::Level def) { 80 def = (Level)min(level, maxLevel); 82 return def; 87 const char *name, const char *propertyName, ADebug::Level def) { 90 return GetDebugLevelFromString(name, value, def); 92 return def; 34 GetDebugLevelFromString( const char *name, const char *value, ADebug::Level def) argument 86 GetDebugLevelFromProperty( const char *name, const char *propertyName, ADebug::Level def) argument
|
/frameworks/base/core/java/android/os/ |
H A D | SystemProperties.java | 36 private static native String native_get(String key, String def); argument 37 private static native int native_get_int(String key, int def); argument 38 private static native long native_get_long(String key, long def); argument 39 private static native boolean native_get_boolean(String key, boolean def); argument 40 private static native void native_set(String key, String def); argument 57 * @return if the key isn't found, return def if it isn't null, or an empty string otherwise 60 public static String get(String key, String def) { argument 64 return native_get(key, def); 70 * @param def a default value to return 71 * @return the key parsed as an integer, or def i 75 getInt(String key, int def) argument 90 getLong(String key, long def) argument 110 getBoolean(String key, boolean def) argument [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | ProcFileReader.java | 174 public long nextOptionalLong(long def) throws IOException { argument 177 return def;
|
H A D | TypedProperties.java | 430 * @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/av/media/libstagefright/codecs/amrnb/enc/ |
H A D | SoftAMRNBEncoder.cpp | 67 OMX_PARAM_PORTDEFINITIONTYPE def; local 68 InitOMXParams(&def); 70 def.nPortIndex = 0; 71 def.eDir = OMX_DirInput; 72 def.nBufferCountMin = kNumBuffers; 73 def.nBufferCountActual = def.nBufferCountMin; 74 def.nBufferSize = kNumSamplesPerFrame * sizeof(int16_t); 75 def.bEnabled = OMX_TRUE; 76 def [all...] |
/frameworks/av/media/libstagefright/codecs/gsm/dec/ |
H A D | SoftGSM.cpp | 60 OMX_PARAM_PORTDEFINITIONTYPE def; local 61 InitOMXParams(&def); 63 def.nPortIndex = 0; 64 def.eDir = OMX_DirInput; 65 def.nBufferCountMin = kNumBuffers; 66 def.nBufferCountActual = def.nBufferCountMin; 67 def.nBufferSize = sizeof(gsm_frame); 68 def.bEnabled = OMX_TRUE; 69 def [all...] |
/frameworks/av/media/libstagefright/codecs/mp3dec/ |
H A D | SoftMP3.cpp | 70 OMX_PARAM_PORTDEFINITIONTYPE def; local 71 InitOMXParams(&def); 73 def.nPortIndex = 0; 74 def.eDir = OMX_DirInput; 75 def.nBufferCountMin = kNumBuffers; 76 def.nBufferCountActual = def.nBufferCountMin; 77 def.nBufferSize = 8192; 78 def.bEnabled = OMX_TRUE; 79 def [all...] |
/frameworks/base/core/java/android/content/ |
H A D | SyncStatusInfo.java | 56 public int getLastFailureMesgAsInt(int def) { argument 62 return def;
|
/frameworks/av/media/libstagefright/codecs/aacenc/ |
H A D | SoftAACEncoder.cpp | 81 OMX_PARAM_PORTDEFINITIONTYPE def; local 82 InitOMXParams(&def); 84 def.nPortIndex = 0; 85 def.eDir = OMX_DirInput; 86 def.nBufferCountMin = kNumBuffers; 87 def.nBufferCountActual = def.nBufferCountMin; 88 def.nBufferSize = kNumSamplesPerFrame * sizeof(int16_t) * 2; 89 def.bEnabled = OMX_TRUE; 90 def [all...] |
H A D | SoftAACEncoder2.cpp | 70 OMX_PARAM_PORTDEFINITIONTYPE def; local 71 InitOMXParams(&def); 73 def.nPortIndex = 0; 74 def.eDir = OMX_DirInput; 75 def.nBufferCountMin = kNumBuffers; 76 def.nBufferCountActual = def.nBufferCountMin; 77 def.nBufferSize = kNumSamplesPerFrame * sizeof(int16_t) * 2; 78 def.bEnabled = OMX_TRUE; 79 def [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/ |
H A D | SoftAMR.cpp | 78 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/av/media/libstagefright/codecs/amrwbenc/ |
H A D | SoftAMRWBEncoder.cpp | 74 OMX_PARAM_PORTDEFINITIONTYPE def; local 75 InitOMXParams(&def); 77 def.nPortIndex = 0; 78 def.eDir = OMX_DirInput; 79 def.nBufferCountMin = kNumBuffers; 80 def.nBufferCountActual = def.nBufferCountMin; 81 def.nBufferSize = kNumSamplesPerFrame * sizeof(int16_t); 82 def.bEnabled = OMX_TRUE; 83 def [all...] |
/frameworks/av/media/libstagefright/codecs/flac/enc/ |
H A D | SoftFlacEncoder.cpp | 110 OMX_PARAM_PORTDEFINITIONTYPE def; local 111 InitOMXParams(&def); 114 def.nPortIndex = 0; 115 def.eDir = OMX_DirInput; 116 def.nBufferCountMin = kNumBuffers;// TODO verify that 1 is enough 117 def.nBufferCountActual = def.nBufferCountMin; 118 def.nBufferSize = kMaxInputBufferSize; 119 def.bEnabled = OMX_TRUE; 120 def [all...] |
/frameworks/av/media/libstagefright/codecs/g711/dec/ |
H A D | SoftG711.cpp | 59 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/av/media/libstagefright/codecs/m4v_h263/dec/ |
H A D | SoftMPEG4.cpp | 361 OMX_PARAM_PORTDEFINITIONTYPE *def = &editPortInfo(kOutputPortIndex)->mDef; local 362 def->format.video.nStride = align(def->format.video.nStride, 16); 363 def->format.video.nSliceHeight = align(def->format.video.nSliceHeight, 16); 364 def->nBufferSize = (def->format.video.nStride * def->format.video.nSliceHeight * 3) / 2;
|
/frameworks/av/media/libstagefright/codecs/opus/dec/ |
H A D | SoftOpus.cpp | 76 OMX_PARAM_PORTDEFINITIONTYPE def; local 77 InitOMXParams(&def); 79 def.nPortIndex = 0; 80 def.eDir = OMX_DirInput; 81 def.nBufferCountMin = kNumBuffers; 82 def.nBufferCountActual = def.nBufferCountMin; 83 def.nBufferSize = 960 * 6; 84 def.bEnabled = OMX_TRUE; 85 def [all...] |
/frameworks/av/media/libstagefright/codecs/vorbis/dec/ |
H A D | SoftVorbis.cpp | 79 OMX_PARAM_PORTDEFINITIONTYPE def; local 80 InitOMXParams(&def); 82 def.nPortIndex = 0; 83 def.eDir = OMX_DirInput; 84 def.nBufferCountMin = kNumBuffers; 85 def.nBufferCountActual = def.nBufferCountMin; 86 def.nBufferSize = 8192; 87 def.bEnabled = OMX_TRUE; 88 def [all...] |
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockResources.java | 82 public CharSequence getText(int id, CharSequence def) { argument
|
/frameworks/av/media/libstagefright/omx/ |
H A D | SoftVideoDecoderOMXComponent.cpp | 82 OMX_PARAM_PORTDEFINITIONTYPE def; local 83 InitOMXParams(&def); 85 def.nPortIndex = kInputPortIndex; 86 def.eDir = OMX_DirInput; 87 def.nBufferCountMin = numInputBuffers; 88 def.nBufferCountActual = def.nBufferCountMin; 89 def.nBufferSize = inputBufferSize; 90 def.bEnabled = OMX_TRUE; 91 def 183 OMX_PARAM_PORTDEFINITIONTYPE *def = &editPortInfo(kOutputPortIndex)->mDef; local 219 OMX_PARAM_PORTDEFINITIONTYPE *def = &editPortInfo(kOutputPortIndex)->mDef; local 385 OMX_PARAM_PORTDEFINITIONTYPE *def = &editPortInfo(newParams->nPortIndex)->mDef; local [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ResourcesWrapper.java | 85 public CharSequence getText(int id, CharSequence def) { argument 86 return mResources.getText(id, def);
|