Home
last modified time | relevance | path

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

1234

/frameworks/base/core/java/android/os/
DSystemProperties.java140 private static native String native_get(String key, String def); in native_get()
143 private static native int native_get_int(String key, int def); in native_get_int()
146 private static native long native_get_long(String key, long def); in native_get_long()
149 private static native boolean native_get_boolean(String key, boolean def); in native_get_boolean()
156 private static native int native_get_int(long handle, int def); in native_get_int()
158 private static native long native_get_long(long handle, long def); in native_get_long()
160 private static native boolean native_get_boolean(long handle, boolean def); in native_get_boolean()
164 private static native void native_set(String key, String def); in native_set()
195 public static String get(@NonNull String key, @Nullable String def) { in get()
210 public static int getInt(@NonNull String key, int def) { in getInt()
[all …]
/frameworks/base/ravenwood/runtime-helper-src/framework/com/android/platform/test/ravenwood/nativesubstitution/
DSystemProperties_host.java108 public static String native_get(String key, String def) { in native_get()
120 public static int native_get_int(String key, int def) { in native_get_int()
128 public static long native_get_long(String key, long def) { in native_get_long()
136 public static boolean native_get_boolean(String key, boolean def) { in native_get_boolean()
160 public static int native_get_int(long handle, int def) { in native_get_int()
166 public static long native_get_long(long handle, long def) { in native_get_long()
172 public static boolean native_get_boolean(long handle, boolean def) { in native_get_boolean()
190 private static boolean parseBoolean(String val, boolean def) { in parseBoolean()
/frameworks/base/services/core/java/com/android/server/app/
DGameManagerServiceSystemPropertiesWrapper.java37 String get(@NonNull String key, @Nullable String def); in get()
47 boolean getBoolean(@NonNull String key, boolean def); in getBoolean()
58 int getInt(@NonNull String key, int def); in getInt()
DGameManagerService.java205 public boolean getBoolean(String key, boolean def) { in createSystemPropertiesWrapper()
210 public int getInt(String key, int def) { in createSystemPropertiesWrapper()
/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/core/java/android/util/
DKeyValueListParser.java77 public int getInt(String key, int def) { in getInt()
95 public long getLong(String key, long def) { in getLong()
113 public float getFloat(String key, float def) { in getFloat()
131 public String getString(String key, String def) { in getString()
145 public boolean getBoolean(String key, boolean def) { in getBoolean()
166 public int[] getIntArray(String key, int[] def) { in getIntArray()
203 public long getDurationMillis(String key, long def) { in getDurationMillis()
/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/services/core/java/com/android/server/audio/
DSettingsAdapter.java35 public int getGlobalInt(ContentResolver cr, String name, int def) { in getGlobalInt()
59 public int getSystemIntForUser(ContentResolver cr, String name, int def, int userHandle) { in getSystemIntForUser()
73 public int getSecureIntForUser(ContentResolver cr, String name, int def, int userHandle) { in getSecureIntForUser()
/frameworks/base/packages/SystemUI/tests/utils/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.java60 public int getValue(String setting, int def) { in getValue()
65 public String getValue(String setting, String def) { in getValue()
/frameworks/base/services/flags/java/com/android/server/flags/
DSettingsProxy.java100 default int getIntForUser(String name, int def, int userHandle) { in getIntForUser()
148 default boolean getBool(String name, boolean def) { in getBool()
153 default boolean getBoolForUser(String name, boolean def, int userHandle) { in getBoolForUser()
206 default long getLong(String name, long def) { in getLong()
211 default long getLongForUser(String name, long def, int userHandle) { in getLongForUser()
249 default float getFloat(String name, float def) { in getFloat()
254 default float getFloatForUser(String name, float def, int userHandle) { in getFloatForUser()
/frameworks/av/media/module/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/tests/servicestests/src/com/android/server/audio/
DNoOpSettingsAdapter.java34 public int getGlobalInt(ContentResolver cr, String name, int def) { in getGlobalInt()
62 public int getSystemIntForUser(ContentResolver cr, String name, int def, int userHandle) { in getSystemIntForUser()
80 public int getSecureIntForUser(ContentResolver cr, String name, int def, int userHandle) { in getSecureIntForUser()
/frameworks/base/core/java/android/service/dreams/
DSandman.java108 int def = context.getResources().getBoolean( in isScreenSaverEnabled() local
116 int def = context.getResources().getBoolean( in isScreenSaverActivatedOnDock() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerService.java37 public abstract int getValue(String setting, int def); in getValue()
38 public abstract String getValue(String setting, String def); in getValue()
/frameworks/base/services/core/java/com/android/server/power/
DSystemPropertiesWrapper.java41 String get(@NonNull String key, @Nullable String def); in get()
/frameworks/compile/mclinker/lib/LD/
DIdenticalCodeFolding.cpp144 const LDSection* def = in findCandidates() local
250 LDSection* def = &sym->fragRef()->frag()->getParent()->getSection(); in initConstantContent() local
285 LDSection* def = &sym->fragRef()->frag()->getParent()->getSection(); in getContentWithVariables() local
/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/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/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceTestable.java298 boolean systemPropertiesGetBoolean(String key, boolean def) { in systemPropertiesGetBoolean()
303 long systemPropertiesGetLong(String key, long def) { in systemPropertiesGetLong()
308 String systemPropertiesGet(String key, String def) { in systemPropertiesGet()
346 int settingsSecureGetIntForUser(String name, int def, int userHandle) { in settingsSecureGetIntForUser()
386 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/base/services/core/java/com/android/server/am/
DBroadcastConstants.java369 static boolean getDeviceConfigBoolean(@NonNull String key, boolean def) { in getDeviceConfigBoolean()
374 private int getDeviceConfigInt(@NonNull String key, int def) { in getDeviceConfigInt()
379 private long getDeviceConfigLong(@NonNull String key, long def) { in getDeviceConfigLong()
/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

1234