Home
last modified time | relevance | path

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

/packages/apps/TV/common/src/com/android/tv/common/util/
DSystemPropertiesProxy.java31 public static boolean getBoolean(String key, boolean def) throws IllegalArgumentException { in getBoolean()
48 public static int getInt(String key, int def) throws IllegalArgumentException { in getInt()
64 public static String getString(String key, String def) throws IllegalArgumentException { in getString()
/packages/modules/Connectivity/service/src/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()
/packages/modules/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()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowSecureSettings.java41 protected static int getInt(ContentResolver resolver, String name, int def) { in getInt()
51 protected static int getIntForUser(ContentResolver resolver, String name, int def, in getIntForUser()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DFrameworkFacade.java97 public int getIntegerSetting(ContentResolver contentResolver, String name, int def) { in getIntegerSetting()
101 public boolean setIntegerSetting(Context context, String name, int def) { in setIntegerSetting()
105 public int getIntegerSetting(Context context, String name, int def) { in getIntegerSetting()
109 public long getLongSetting(Context context, String name, long def) { in getLongSetting()
113 public boolean setStringSetting(Context context, String name, String def) { in setStringSetting()
124 public int getSecureIntegerSetting(Context context, String name, int def) { in getSecureIntegerSetting()
/packages/modules/Connectivity/framework/src/android/net/
DConnectivitySettingsManager.java395 @NonNull Duration def) { in getMobileDataActivityTimeout()
426 @NonNull Duration def) { in getWifiDataActivityTimeout()
458 @NonNull Duration def) { in getDnsResolverSampleValidityDuration()
488 public static int getDnsResolverSuccessThresholdPercent(@NonNull Context context, int def) { in getDnsResolverSuccessThresholdPercent()
552 int def) { in getNetworkSwitchNotificationMaximumDailyCount()
582 @NonNull Duration def) { in getNetworkSwitchNotificationRateDuration()
640 @CaptivePortalMode int def) { in getCaptivePortalMode()
818 @NonNull Duration def) { in getConnectivityKeepPendingIntentDuration()
850 public static boolean getMobileDataAlwaysOn(@NonNull Context context, boolean def) { in getMobileDataAlwaysOn()
878 public static boolean getWifiAlwaysRequested(@NonNull Context context, boolean def) { in getWifiAlwaysRequested()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowSecureSettings.java70 public static int getIntForUser(ContentResolver resolver, String name, int def, in getIntForUser()
90 public static long getLongForUser(ContentResolver resolver, String name, long def, in getLongForUser()
111 ContentResolver resolver, String name, float def, int userHandle) { in getFloatForUser()
/packages/apps/TV/src/com/android/tv/receiver/
DAudioCapabilitiesReceiver.java125 private boolean getBoolean(String key, boolean def) { in getBoolean()
133 private int getInt(String key, int def) { in getInt()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DDatabaseUtils.java538 public static boolean parseBoolean(@Nullable Object value, boolean def) { in parseBoolean()
552 @NonNull String key, boolean def) { in getAsBoolean()
557 @NonNull String key, boolean def) { in getAsBoolean()
562 @NonNull String key, long def) { in getAsLong()
/packages/apps/Settings/src/com/android/settings/notification/
DSettingPref.java50 public SettingPref(int type, String key, String setting, int def, int... values) { in SettingPref()
155 protected static int getInt(int type, ContentResolver cr, String setting, int def) { in getInt()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DPeakRefreshRatePreferenceControllerTest.java109 Display.Mode def = new Display.Mode(0, 0, 0, DEFAULT_REFRESH_RATE); in findPeakRefreshRate_moreThanOneHigherThanDefault() local
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/
DCaptivePortalDataShimImpl.java84 private static long getLongOrDefault(JSONObject o, String key, long def) throws JSONException { in getLongOrDefault()
/packages/services/Telephony/src/com/android/phone/
DPhoneUtils.java553 private static long[] getLongArray(Resources r, int resid, long[] def) { in getLongArray()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DConnectivityFragment.java226 Network def = mConnectivityManager.getBoundNetworkForProcess(); in bindToNetwork() local
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifInterface.java1686 int def = defineTag(i, tagId); in getTagDefinitionsForTagId() local
/packages/apps/Camera2/src/com/android/camera/exif/
DExifInterface.java1665 int def = defineTag(i, tagId); in getTagDefinitionsForTagId() local
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifInterface.java1686 int def = defineTag(i, tagId); in getTagDefinitionsForTagId() local