Home
last modified time | relevance | path

Searched defs:def (Results 1 – 25 of 58) sorted by relevance

123

/frameworks/base/core/java/android/os/
DSystemProperties.java36 private static native String native_get(String key, String def); in native_get()
37 private static native int native_get_int(String key, int def); in native_get_int()
38 private static native long native_get_long(String key, long def); in native_get_long()
39 private static native boolean native_get_boolean(String key, boolean def); in native_get_boolean()
40 private static native void native_set(String key, String def); in native_set()
60 public static String get(String key, String def) { in get()
75 public static int getInt(String key, int def) { in getInt()
90 public static long getLong(String key, long def) { in getLong()
110 public static boolean getBoolean(String key, boolean def) { in getBoolean()
/frameworks/base/tools/layoutlib/bridge/src/android/os/
DSystemProperties_Delegate.java42 /*package*/ static String native_get(String key, String def) { in native_get()
52 /*package*/ static int native_get_int(String key, int def) { in native_get_int()
63 /*package*/ static long native_get_long(String key, long def) { in native_get_long()
78 /*package*/ static boolean native_get_boolean(String key, boolean def) { in native_get_boolean()
96 /*package*/ static void native_set(String key, String def) { in native_set()
/frameworks/base/core/java/android/util/
DKeyValueListParser.java71 public int getInt(String key, int def) { in getInt()
89 public long getLong(String key, long def) { in getLong()
107 public float getFloat(String key, float def) { in getFloat()
125 public String getString(String key, String def) { in getString()
/frameworks/base/core/java/com/android/internal/util/
DTypedProperties.java434 public boolean getBoolean(String property, boolean def) { in getBoolean()
454 public byte getByte(String property, byte def) { in getByte()
474 public short getShort(String property, short def) { in getShort()
494 public int getInt(String property, int def) { in getInt()
514 public long getLong(String property, long def) { in getLong()
534 public float getFloat(String property, float def) { in getFloat()
554 public double getDouble(String property, double def) { in getDouble()
574 public String getString(String property, String def) { in getString()
DProcFileReader.java174 public long nextOptionalLong(long def) throws IOException { in nextOptionalLong()
/frameworks/base/core/java/android/service/dreams/
DSandman.java110 int def = context.getResources().getBoolean( in isScreenSaverEnabled() local
118 int def = context.getResources().getBoolean( in isScreenSaverActivatedOnDock() local
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DFrameworkFacade.java56 public boolean setIntegerSetting(Context context, String name, int def) { in setIntegerSetting()
60 public int getIntegerSetting(Context context, String name, int def) { in getIntegerSetting()
64 public long getLongSetting(Context context, String name, long def) { in getLongSetting()
68 public boolean setStringSetting(Context context, String name, String def) { in setStringSetting()
/frameworks/av/media/libstagefright/foundation/
DADebug.cpp38 const char *name, const char *value, long def) { in GetLevelFromSettingsString()
89 const char *name, const char *propertyName, long def) { in GetLevelFromProperty()
99 const char *name, const char *propertyName, ADebug::Level def) { in GetDebugLevelFromProperty()
/frameworks/av/media/libstagefright/omx/
DSoftVideoDecoderOMXComponent.cpp82 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
183 OMX_PARAM_PORTDEFINITIONTYPE *def = &editPortInfo(kOutputPortIndex)->mDef; in handlePortSettingsChange() local
219 OMX_PARAM_PORTDEFINITIONTYPE *def = &editPortInfo(kOutputPortIndex)->mDef; in handlePortSettingsChange() local
411 OMX_PARAM_PORTDEFINITIONTYPE *def = &editPortInfo(newParams->nPortIndex)->mDef; in internalSetParameter() local
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsService.java206 public long getGlobalAlertBytes(long def); in getGlobalAlertBytes()
207 public long getDevPersistBytes(long def); in getDevPersistBytes()
208 public long getXtPersistBytes(long def); in getXtPersistBytes()
209 public long getUidPersistBytes(long def); in getUidPersistBytes()
210 public long getUidTagPersistBytes(long def); in getUidTagPersistBytes()
1407 private long getGlobalLong(String name, long def) { in getGlobalLong()
1410 private boolean getGlobalBoolean(String name, boolean def) { in getGlobalBoolean()
1424 public long getGlobalAlertBytes(long def) { in getGlobalAlertBytes()
1454 public long getDevPersistBytes(long def) { in getDevPersistBytes()
1458 public long getXtPersistBytes(long def) { in getXtPersistBytes()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceTestable.java261 boolean systemPropertiesGetBoolean(String key, boolean def) { in systemPropertiesGetBoolean()
266 long systemPropertiesGetLong(String key, long def) { in systemPropertiesGetLong()
271 String systemPropertiesGet(String key, String def) { in systemPropertiesGet()
297 int settingsSecureGetIntForUser(String name, int def, int userHandle) { in settingsSecureGetIntForUser()
337 int settingsGlobalGetInt(String name, int def) { in settingsGlobalGetInt()
DDpmMockContext.java148 public boolean getBoolean(String key, boolean def) { in getBoolean()
152 public long getLong(String key, long def) { in getLong()
156 public String get(String key, String def) { in get()
175 public int settingsSecureGetIntForUser(String name, int def, int userHandle) { in settingsSecureGetIntForUser()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DConfirmationActivity.java24 private String getTextExtra(String extra, String def) { in getTextExtra()
DNotificationBuilderTest.java456 private int getRadioInt(int id, int def) { in getRadioInt()
469 private int getRadioHex(int id, int def) { in getRadioHex()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DWizardManagerHelper.java192 public static boolean isLightTheme(Intent intent, boolean def) { in isLightTheme()
205 public static boolean isLightTheme(String theme, boolean def) { in isLightTheme()
/frameworks/compile/mclinker/lib/LD/
DIdenticalCodeFolding.cpp145 const LDSection* def = in findCandidates() local
251 LDSection* def = &sym->fragRef()->frag()->getParent()->getSection(); in initConstantContent() local
286 LDSection* def = &sym->fragRef()->frag()->getParent()->getSection(); in getContentWithVariables() local
/frameworks/base/tools/aapt2/java/
DClassDefinition.cpp66 bool ClassDefinition::writeJavaFile(const ClassDefinition* def, in writeJavaFile()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportPrefs.java36 static int getWarningState(Context context, int def) { in getWarningState()
/frameworks/native/services/sensorservice/
DSensorList.h125 T SensorList::getOne(int handle, const TF& accessor, T def) const { in getOne()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumePrefs.java62 public static boolean get(Context context, String key, boolean def) { in get()
/frameworks/av/media/libstagefright/codecs/raw/
DSoftRaw.cpp56 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
/frameworks/av/media/libstagefright/codecs/mp3dec/
DSoftMP3.cpp70 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
DSoftAMRNBEncoder.cpp67 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
/frameworks/base/core/java/android/content/
DSyncStatusInfo.java56 public int getLastFailureMesgAsInt(int def) { in getLastFailureMesgAsInt()
/frameworks/av/media/libstagefright/codecs/gsm/dec/
DSoftGSM.cpp63 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local

123