Home
last modified time | relevance | path

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

1234

/frameworks/base/core/java/android/os/
DSystemProperties.java110 private static native String native_get(String key, String def); in native_get()
113 private static native int native_get_int(String key, int def); in native_get_int()
116 private static native long native_get_long(String key, long def); in native_get_long()
119 private static native boolean native_get_boolean(String key, boolean def); in native_get_boolean()
126 private static native int native_get_int(long handle, int def); in native_get_int()
128 private static native long native_get_long(long handle, long def); in native_get_long()
130 private static native boolean native_get_boolean(long handle, boolean def); in native_get_boolean()
134 private static native void native_set(String key, String def); in native_set()
167 public static String get(@NonNull String key, @Nullable String def) { in get()
182 public static int getInt(@NonNull String key, int def) { in getInt()
[all …]
/frameworks/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/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()
/frameworks/base/services/core/java/com/android/server/connectivity/
DMockableSystemProperties.java27 public int getInt(String key, int def) { in getInt()
31 public boolean getBoolean(String key, boolean def) { in getBoolean()
/frameworks/base/core/java/android/util/
DKeyValueListParser.java76 public int getInt(String key, int def) { in getInt()
94 public long getLong(String key, long def) { in getLong()
112 public float getFloat(String key, float def) { in getFloat()
130 public String getString(String key, String def) { in getString()
144 public boolean getBoolean(String key, boolean def) { in getBoolean()
165 public int[] getIntArray(String key, int[] def) { in getIntArray()
202 public long getDurationMillis(String key, long def) { in getDurationMillis()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DFrameworkFacade.java58 public boolean setIntegerSetting(Context context, String name, int def) { in setIntegerSetting()
62 public int getIntegerSetting(Context context, String name, int def) { in getIntegerSetting()
66 public long getLongSetting(Context context, String name, long def) { in getLongSetting()
70 public boolean setStringSetting(Context context, String name, String def) { in setStringSetting()
81 public int getSecureIntegerSetting(Context context, String name, int def) { in getSecureIntegerSetting()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DExtensionController.java56 ExtensionBuilder<T> withDefault(Supplier<T> def); in withDefault()
58 ExtensionBuilder<T> withUiMode(int mode, Supplier<T> def); in withUiMode()
59 ExtensionBuilder<T> withFeature(String feature, Supplier<T> def); in withFeature()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DFakeExtensionController.java69 public ExtensionBuilder<T> withDefault(Supplier<T> def) { in withDefault()
79 public ExtensionBuilder<T> withUiMode(int mode, Supplier<T> def) { in withUiMode()
84 public ExtensionBuilder<T> withFeature(String feature, Supplier<T> def) { in withFeature()
DFakeTunerService.java59 public int getValue(String setting, int def) { in getValue()
64 public String getValue(String setting, String def) { in getValue()
/frameworks/base/core/java/android/service/dreams/
DSandman.java111 int def = context.getResources().getBoolean( in isScreenSaverEnabled() local
119 int def = context.getResources().getBoolean( in isScreenSaverActivatedOnDock() local
/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/base/services/core/java/com/android/server/net/
DNetworkStatsService.java268 long getGlobalAlertBytes(long def); in getGlobalAlertBytes()
269 long getDevPersistBytes(long def); in getDevPersistBytes()
270 long getXtPersistBytes(long def); in getXtPersistBytes()
271 long getUidPersistBytes(long def); in getUidPersistBytes()
272 long getUidTagPersistBytes(long def); in getUidTagPersistBytes()
/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/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/packages/SystemUI/src/com/android/systemui/tuner/
DTunerService.java41 public abstract int getValue(String setting, int def); in getValue()
42 public abstract String getValue(String setting, String def); in getValue()
DTunerServiceImpl.java154 public int getValue(String setting, int def) { in getValue()
159 public String getValue(String setting, String def) { in getValue()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceTestable.java306 boolean systemPropertiesGetBoolean(String key, boolean def) { in systemPropertiesGetBoolean()
311 long systemPropertiesGetLong(String key, long def) { in systemPropertiesGetLong()
316 String systemPropertiesGet(String key, String def) { in systemPropertiesGet()
348 int settingsSecureGetIntForUser(String name, int def, int userHandle) { in settingsSecureGetIntForUser()
398 int settingsGlobalGetInt(String name, int def) { in settingsGlobalGetInt()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DRandomAccessFileUtils.java44 public static boolean readBoolean(File file, boolean def) { in readBoolean()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportPrefs.java36 static int getWarningState(Context context, int def) { in getWarningState()
/frameworks/av/media/libstagefright/omx/
DSoftVideoDecoderOMXComponent.cpp102 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
206 OMX_PARAM_PORTDEFINITIONTYPE *def = &editPortInfo(kOutputPortIndex)->mDef; in handlePortSettingsChange() local
247 OMX_PARAM_PORTDEFINITIONTYPE *def = &editPortInfo(kOutputPortIndex)->mDef; in handlePortSettingsChange() local
495 OMX_PARAM_PORTDEFINITIONTYPE *def = &editPortInfo(newParams->nPortIndex)->mDef; in internalSetParameter() local
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
DWizardManagerHelperTest.java251 @StyleRes int def = 123; in testGetThemeResDefault() local
257 @StyleRes int def = 123; in testGetThemeResNull() local
/frameworks/av/media/codec2/sfplugin/
DCodec2InfoBuilder.cpp242 const char *toString(const char *def = "??") const { in toString()
254 const char *asString(const Switch &s, const char *def = "??") { in asString()
260 Switch def = Switch::DISABLED_BY_DEFAULT()) { in isSettingEnabled()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DWizardManagerHelper.java246 public static boolean isLightTheme(Intent intent, boolean def) { in isLightTheme()
260 public static boolean isLightTheme(String theme, boolean def) { in isLightTheme()
/frameworks/av/media/codec2/vndk/util/
DC2Debug.cpp30 const char *asString(c2_status_t i, const char *def) { in asString()
51 const char *asString(C2FieldDescriptor::type_t i, const char *def) { in asString()

1234