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.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()
183 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/opt/net/wifi/service/java/com/android/server/wifi/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/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/opt/net/wifi/service/java/com/android/server/wifi/
DFrameworkFacade.java86 public int getIntegerSetting(ContentResolver contentResolver, String name, int def) { in getIntegerSetting()
90 public boolean setIntegerSetting(Context context, String name, int def) { in setIntegerSetting()
94 public int getIntegerSetting(Context context, String name, int def) { in getIntegerSetting()
98 public long getLongSetting(Context context, String name, long def) { in getLongSetting()
102 public boolean setStringSetting(Context context, String name, String def) { in setStringSetting()
113 public int getSecureIntegerSetting(Context context, String name, int def) { in getSecureIntegerSetting()
/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.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.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/services/core/java/com/android/server/power/
DSystemPropertiesWrapper.java41 String get(@NonNull String key, @Nullable String def); in get()
/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()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DRandomAccessFileUtils.java44 public static boolean readBoolean(File file, boolean def) { in readBoolean()
/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.java326 boolean systemPropertiesGetBoolean(String key, boolean def) { in systemPropertiesGetBoolean()
331 long systemPropertiesGetLong(String key, long def) { in systemPropertiesGetLong()
336 String systemPropertiesGet(String key, String def) { in systemPropertiesGet()
374 int settingsSecureGetIntForUser(String name, int def, int userHandle) { in settingsSecureGetIntForUser()
424 int settingsGlobalGetInt(String name, int def) { in settingsGlobalGetInt()
/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/net/
DNetworkStatsService.java263 long getGlobalAlertBytes(long def); in getGlobalAlertBytes()
264 long getDevPersistBytes(long def); in getDevPersistBytes()
265 long getXtPersistBytes(long def); in getXtPersistBytes()
266 long getUidPersistBytes(long def); in getUidPersistBytes()
267 long getUidTagPersistBytes(long def); in getUidTagPersistBytes()
2123 private long getGlobalLong(String name, long def) { in getGlobalLong()
2126 private boolean getGlobalBoolean(String name, boolean def) { in getGlobalBoolean()
2140 public long getGlobalAlertBytes(long def) { in getGlobalAlertBytes()
2178 public long getDevPersistBytes(long def) { in getDevPersistBytes()
2182 public long getXtPersistBytes(long def) { in getXtPersistBytes()
[all …]
/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/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