Home
last modified time | relevance | path

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

1234

/frameworks/base/core/java/android/os/
DSystemProperties.java108 private static native String native_get(String key, String def); in native_get()
111 private static native int native_get_int(String key, int def); in native_get_int()
114 private static native long native_get_long(String key, long def); in native_get_long()
117 private static native boolean native_get_boolean(String key, boolean def); in native_get_boolean()
124 private static native int native_get_int(long handle, int def); in native_get_int()
126 private static native long native_get_long(long handle, long def); in native_get_long()
128 private static native boolean native_get_boolean(long handle, boolean def); in native_get_boolean()
132 private static native void native_set(String key, String def); in native_set()
163 public static String get(@NonNull String key, @Nullable String def) { in get()
178 public static int getInt(@NonNull String key, int def) { in getInt()
[all …]
/frameworks/layoutlib/bridge/src/android/os/
DSystemProperties_Delegate.java38 /*package*/ static String native_get(String key, String def) { in native_get()
48 /*package*/ static int native_get_int(String key, int def) { in native_get_int()
59 /*package*/ static long native_get_long(String key, long def) { in native_get_long()
74 /*package*/ static boolean native_get_boolean(String key, boolean def) { in native_get_boolean()
92 /*package*/ static void native_set(String key, String def) { in native_set()
115 /*package*/ static int native_get_int(long handle, int def) { in native_get_int()
122 /*package*/ static long native_get_long(long handle, long def) { in native_get_long()
129 /*package*/ static boolean native_get_boolean(long handle, boolean def) { in native_get_boolean()
/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.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/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.java60 public int getValue(String setting, int def) { in getValue()
65 public String getValue(String setting, String def) { in getValue()
/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/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/packages/SystemUI/src/com/android/systemui/util/settings/
DSettingsProxy.java245 default int getInt(String name, int def) { in getInt()
250 default int getIntForUser(String name, int def, int userHandle) { in getIntForUser()
324 default long getLong(String name, long def) { in getLong()
329 default long getLongForUser(String name, long def, int userHandle) { in getLongForUser()
405 default float getFloat(String name, float def) { in getFloat()
410 default float getFloatForUser(String name, float def, int userHandle) { in getFloatForUser()
/frameworks/base/services/core/java/com/android/server/power/
DSystemPropertiesWrapper.java41 String get(@NonNull String key, @Nullable String def); in get()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsService.java270 long getGlobalAlertBytes(long def); in getGlobalAlertBytes()
271 long getDevPersistBytes(long def); in getDevPersistBytes()
272 long getXtPersistBytes(long def); in getXtPersistBytes()
273 long getUidPersistBytes(long def); in getUidPersistBytes()
274 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/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerService.java32 public abstract int getValue(String setting, int def); in getValue()
33 public abstract String getValue(String setting, String def); in getValue()
/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/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/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceTestable.java336 boolean systemPropertiesGetBoolean(String key, boolean def) { in systemPropertiesGetBoolean()
341 long systemPropertiesGetLong(String key, long def) { in systemPropertiesGetLong()
346 String systemPropertiesGet(String key, String def) { in systemPropertiesGet()
384 int settingsSecureGetIntForUser(String name, int def, int userHandle) { in settingsSecureGetIntForUser()
434 int settingsGlobalGetInt(String name, int def) { in settingsGlobalGetInt()
/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/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()
/frameworks/native/services/sensorservice/
DSensorList.h128 T SensorList::getOne(int handle, const TF& accessor, T def) const { in getOne()
/frameworks/av/media/codec2/sfplugin/
DCodec2InfoBuilder.cpp252 const char *toString(const char *def = "??") const { in toString()
264 const char *asString(const Switch &s, const char *def = "??") { in asString()
270 Switch def = Switch::DISABLED_BY_DEFAULT()) { in isSettingEnabled()

1234