Home
last modified time | relevance | path

Searched defs:defaultValue (Results 1 – 25 of 206) sorted by relevance

123456789

/packages/apps/Messaging/tests/src/com/android/messaging/util/
DFakeBugleGservices.java31 public long getLong(final String key, final long defaultValue) { in getLong()
36 public int getInt(final String key, final int defaultValue) { in getInt()
41 public boolean getBoolean(final String key, final boolean defaultValue) { in getBoolean()
46 public String getString(final String key, final String defaultValue) { in getString()
51 public float getFloat(String key, float defaultValue) { in getFloat()
DFakeBuglePrefs.java28 public int getInt(final String key, final int defaultValue) { in getInt()
33 public long getLong(final String key, final long defaultValue) { in getLong()
38 public boolean getBoolean(final String key, final boolean defaultValue) { in getBoolean()
43 public String getString(final String key, final String defaultValue) { in getString()
/packages/apps/Messaging/src/com/android/messaging/util/
DBugleGservices.java42 public abstract long getLong(final String key, final long defaultValue); in getLong()
50 public abstract int getInt(final String key, final int defaultValue); in getInt()
57 public abstract boolean getBoolean(final String key, final boolean defaultValue); in getBoolean()
64 public abstract String getString(final String key, final String defaultValue); in getString()
71 public abstract float getFloat(final String key, final float defaultValue); in getFloat()
DBugleGservicesImpl.java40 public long getLong(final String key, final long defaultValue) { in getLong()
46 public int getInt(final String key, final int defaultValue) { in getInt()
52 public boolean getBoolean(final String key, final boolean defaultValue) { in getBoolean()
58 public String getString(final String key, final String defaultValue) { in getString()
64 public float getFloat(final String key, final float defaultValue) { in getFloat()
DBuglePrefs.java76 public abstract int getInt(final String key, final int defaultValue); in getInt()
84 public abstract long getLong(final String key, final long defaultValue); in getLong()
91 public abstract boolean getBoolean(final String key, final boolean defaultValue); in getBoolean()
98 public abstract String getString(final String key, final String defaultValue); in getString()
DBuglePrefsImpl.java43 public int getInt(final String key, final int defaultValue) { in getInt()
51 public long getLong(final String key, final long defaultValue) { in getLong()
59 public boolean getBoolean(final String key, final boolean defaultValue) { in getBoolean()
67 public String getString(final String key, final String defaultValue) { in getString()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DCompatUtils.java93 public static Object invoke(final Object receiver, final Object defaultValue, in invoke()
107 public static Object getFieldValue(final Object receiver, final Object defaultValue, in getFieldValue()
146 final T defaultValue, final Class<?>... parameterTypes) { in getMethod()
151 public ToIntMethodWrapper getPrimitiveMethod(final String name, final int defaultValue, in getPrimitiveMethod()
157 public ToFloatMethodWrapper getPrimitiveMethod(final String name, final float defaultValue, in getPrimitiveMethod()
164 final boolean defaultValue, final Class<?>... parameterTypes) { in getPrimitiveMethod()
173 public ToObjectMethodWrapper(final Method method, final T defaultValue) { in ToObjectMethodWrapper()
186 public ToIntMethodWrapper(final Method method, final int defaultValue) { in ToIntMethodWrapper()
198 public ToFloatMethodWrapper(final Method method, final float defaultValue) { in ToFloatMethodWrapper()
210 public ToBooleanMethodWrapper(final Method method, final boolean defaultValue) { in ToBooleanMethodWrapper()
/packages/modules/IPsec/src/java/com/android/internal/net/utils/
DIkeDeviceConfigUtils.java34 @NonNull String namespace, @NonNull String name, int defaultValue) { in getDeviceConfigPropertyInt()
63 int defaultValue) { in getDeviceConfigPropertyInt()
77 @NonNull String namespace, @NonNull String name, boolean defaultValue) { in getDeviceConfigPropertyBoolean()
92 @NonNull String namespace, @NonNull String name, @Nullable String defaultValue) { in getDeviceConfigProperty()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DPropertyService.java31 String get(String key, String defaultValue); in get()
37 boolean getBoolean(String key, boolean defaultValue); in getBoolean()
43 String getString(String key, String defaultValue); in getString()
DSystemPropertyService.java22 public String get(String key, String defaultValue) { in get()
27 public boolean getBoolean(String key, boolean defaultValue) { in getBoolean()
32 public String getString(String key, String defaultValue) { in getString()
/packages/apps/Dialer/java/com/android/dialer/configprovider/
DConfigProvider.java22 String getString(String key, String defaultValue); in getString()
24 long getLong(String key, long defaultValue); in getLong()
26 boolean getBoolean(String key, boolean defaultValue); in getBoolean()
DSharedPrefConfigProvider.java110 public String getString(String key, String defaultValue) { in getString()
117 public long getLong(String key, long defaultValue) { in getLong()
123 public boolean getBoolean(String key, boolean defaultValue) { in getBoolean()
/packages/apps/TV/common/src/com/android/tv/common/dev/
DDeveloperPreference.java35 public static DeveloperPreference<Boolean> create(String key, boolean defaultValue) { in create()
50 public static DeveloperPreference<Integer> create(String key, int defaultValue) { in create()
58 private DeveloperPreference(String key, T defaultValue) { in DeveloperPreference()
101 private DeveloperBooleanPreference(String key, Boolean defaultValue) { in DeveloperBooleanPreference()
118 private DeveloperIntegerPreference(String key, Integer defaultValue) { in DeveloperIntegerPreference()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothCsipSetCoordinator.java273 final UUID defaultValue = null; in lockGroup() local
340 final Map defaultValue = new HashMap<>(); in getGroupUuidMapByDevice() local
370 final List<Integer> defaultValue = new ArrayList<>(); in getAllGroupIds() local
396 final List<BluetoothDevice> defaultValue = new ArrayList<>(); in getConnectedDevices() local
423 final List<BluetoothDevice> defaultValue = new ArrayList<>(); in getDevicesMatchingConnectionStates() local
450 final int defaultValue = BluetoothProfile.STATE_DISCONNECTED; in getConnectionState() local
524 final int defaultValue = BluetoothProfile.CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy() local
DBluetoothA2dp.java407 final List<BluetoothDevice> defaultValue = new ArrayList<BluetoothDevice>(); in getConnectedDevices() local
435 final List<BluetoothDevice> defaultValue = new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() local
464 final int defaultValue = BluetoothProfile.STATE_DISCONNECTED; in getConnectionState() local
537 final BluetoothDevice defaultValue = null; in getActiveDevice() local
656 final int defaultValue = BluetoothProfile.CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy() local
794 final BluetoothCodecStatus defaultValue = null; in getCodecStatus() local
956 final int defaultValue = OPTIONAL_CODECS_SUPPORT_UNKNOWN; in isOptionalCodecsSupported() local
994 final int defaultValue = OPTIONAL_CODECS_PREF_UNKNOWN; in isOptionalCodecsEnabled() local
1070 final int defaultValue = DYNAMIC_BUFFER_SUPPORT_NONE; in getDynamicBufferSupport() local
1105 final BufferConstraints defaultValue = null; in getBufferConstraints() local
DBluetoothA2dpSink.java221 final List<BluetoothDevice> defaultValue = new ArrayList<BluetoothDevice>(); in getConnectedDevices() local
251 final List<BluetoothDevice> defaultValue = new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() local
281 final int defaultValue = BluetoothProfile.STATE_DISCONNECTED; in getConnectionState() local
314 final BluetoothAudioConfig defaultValue = null; in getAudioConfig() local
432 final int defaultValue = BluetoothProfile.CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy() local
DBluetoothHearingAid.java469 final List<BluetoothDevice> defaultValue = new ArrayList<BluetoothDevice>(); in getConnectedDevices() local
498 final List<BluetoothDevice> defaultValue = new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() local
527 final int defaultValue = BluetoothProfile.STATE_DISCONNECTED; in getConnectionState() local
600 final List<BluetoothDevice> defaultValue = new ArrayList<>(); in getActiveDevices() local
722 final int defaultValue = BluetoothProfile.CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy() local
809 final long defaultValue = HI_SYNC_ID_INVALID; in getHiSyncId() local
842 final int defaultValue = SIDE_UNKNOWN; in getDeviceSide() local
875 final int defaultValue = MODE_UNKNOWN; in getDeviceMode() local
DBluetoothHapClient.java718 final int defaultValue = BluetoothProfile.CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy() local
750 final List defaultValue = new ArrayList<BluetoothDevice>(); in getConnectedDevices() local
785 final List defaultValue = new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() local
820 final int defaultValue = BluetoothProfile.STATE_DISCONNECTED; in getConnectionState() local
862 final int defaultValue = BluetoothCsipSetCoordinator.GROUP_ID_INVALID; in getHapGroup() local
894 final int defaultValue = PRESET_INDEX_UNAVAILABLE; in getActivePresetIndex() local
928 final BluetoothHapPresetInfo defaultValue = null; in getActivePresetInfo() local
1147 final BluetoothHapPresetInfo defaultValue = null; in getPresetInfo() local
1181 final List<BluetoothHapPresetInfo> defaultValue = new ArrayList<BluetoothHapPresetInfo>(); in getAllPresetInfo() local
1214 final int defaultValue = 0x00; in getFeatures() local
DBluetoothAvrcpController.java139 final List<BluetoothDevice> defaultValue = new ArrayList<BluetoothDevice>(); in getConnectedDevices() local
167 final List<BluetoothDevice> defaultValue = new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() local
195 final int defaultValue = BluetoothProfile.STATE_DISCONNECTED; in getConnectionState() local
222 final BluetoothAvrcpPlayerSettings defaultValue = null; in getPlayerSettings() local
DBluetoothSap.java179 final int defaultValue = BluetoothSap.STATE_ERROR; in getState() local
207 final BluetoothDevice defaultValue = null; in getClient() local
306 final List<BluetoothDevice> defaultValue = new ArrayList<BluetoothDevice>(); in getConnectedDevices() local
336 final List<BluetoothDevice> defaultValue = new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() local
554 final int defaultValue = BluetoothProfile.CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy() local
DBluetoothMap.java151 final int defaultValue = BluetoothMap.STATE_ERROR; in getState() local
180 final BluetoothDevice defaultValue = null; in getClient() local
308 final List<BluetoothDevice> defaultValue = new ArrayList<BluetoothDevice>(); in getConnectedDevices() local
339 final List<BluetoothDevice> defaultValue = new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() local
548 final int defaultValue = BluetoothProfile.CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy() local
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/fixture/
DSysPropForceDefaultValueFixtureTest.java42 int defaultValue = 2; in testForceToReturnDefaultValue_intValue() local
58 long defaultValue = 2L; in testForceToReturnDefaultValue_longValue() local
90 String defaultValue = "2"; in testForceToReturnDefaultValue_stringValue() local
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/flags/
DDebugFlag.java29 public final FlagState defaultValue; field in DebugFlag
31 DebugFlag(String key, String description, FlagState defaultValue, boolean currentValue) { in DebugFlag()
/packages/modules/Permission/framework-s/java/android/safetycenter/config/
DBuilderUtils.java42 @Nullable Object defaultValue) { in validateAttribute()
93 int defaultValue, in validateIntDef()
115 int defaultValue) { in validateInteger()
128 boolean defaultValue) { in validateBoolean()
/packages/apps/TV/common/src/com/android/tv/common/feature/
DPropertyFeature.java29 public static PropertyFeature create(String key, boolean defaultValue) { in create()
41 private PropertyFeature(String key, boolean defaultValue) { in PropertyFeature()

123456789