Home
last modified time | relevance | path

Searched refs:def (Results 1 – 25 of 31) sorted by relevance

12

/packages/apps/TV/common/src/com/android/tv/common/util/
DSystemPropertiesProxy.java31 public static boolean getBoolean(String key, boolean def) throws IllegalArgumentException { in getBoolean() argument
38 return (boolean) getBooleanMethod.invoke(SystemPropertiesClass, key, def); in getBoolean()
45 return def; in getBoolean()
48 public static int getInt(String key, int def) throws IllegalArgumentException { in getInt() argument
54 return (int) getIntMethod.invoke(SystemPropertiesClass, key, def); in getInt()
61 return def; in getInt()
64 public static String getString(String key, String def) throws IllegalArgumentException { in getString() argument
70 return (String) getIntMethod.invoke(SystemPropertiesClass, key, def); in getString()
77 return def; in getString()
/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() argument
75 return object instanceof Integer ? (Integer) object : def; in getIntForUser()
90 public static long getLongForUser(ContentResolver resolver, String name, long def, in getLongForUser() argument
95 return object instanceof Long ? (Long) object : def; in getLongForUser()
111 ContentResolver resolver, String name, float def, int userHandle) { in getFloatForUser() argument
115 return object instanceof Float ? (Float) object : def; in getFloatForUser()
/packages/apps/Settings/src/com/android/settings/notification/
DSettingPref.java50 public SettingPref(int type, String key, String setting, int def, int... values) { in SettingPref() argument
54 mDefault = def; in SettingPref()
155 protected static int getInt(int type, ContentResolver cr, String setting, int def) { in getInt() argument
158 return Global.getInt(cr, setting, def); in getInt()
160 return System.getInt(cr, setting, def); in getInt()
162 return Secure.getInt(cr, setting, def); in getInt()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DSettingPref.java50 public SettingPref(int type, String key, String setting, int def, int... values) { in SettingPref() argument
54 mDefault = def; in SettingPref()
155 protected static int getInt(int type, ContentResolver cr, String setting, int def) { in getInt() argument
158 return Global.getInt(cr, setting, def); in getInt()
160 return System.getInt(cr, setting, def); in getInt()
162 return Secure.getInt(cr, setting, def); in getInt()
/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() argument
47 ReflectionHelpers.ClassParameter.from(int.class, def)); in getInt()
51 protected static int getIntForUser(ContentResolver resolver, String name, int def, in getIntForUser() argument
58 ReflectionHelpers.ClassParameter.from(int.class, def), in getIntForUser()
/packages/apps/TV/src/com/android/tv/receiver/
DAudioCapabilitiesReceiver.java125 private boolean getBoolean(String key, boolean def) { in getBoolean() argument
126 return getSharedPreferences().getBoolean(key, def); in getBoolean()
133 private int getInt(String key, int def) { in getInt() argument
134 return getSharedPreferences().getInt(key, def); in getInt()
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/
DCaptivePortalDataShimImpl.java80 private static long getLongOrDefault(JSONObject o, String key, long def) throws JSONException { in getLongOrDefault() argument
81 if (!o.has(key)) return def; in getLongOrDefault()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/security/
DScreenPinningSettings.java120 int def = getCurrentSecurityTitle() != R.string.screen_pinning_unlock_none ? 1 : 0; in isScreenLockUsed() local
122 Settings.Secure.LOCK_TO_APP_EXIT_LOCKED, def) != 0; in isScreenLockUsed()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DConnectivityFragment.java224 Network def = mConnectivityManager.getBoundNetworkForProcess(); in bindToNetwork() local
225 if (def != null && def.netId != netId) { in bindToNetwork()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifInterface.java1662 for (int def : otherDefs) { in setTagDefinition()
1663 int tagInfo = infos.get(def); in setTagDefinition()
1686 int def = defineTag(i, tagId); in getTagDefinitionsForTagId() local
1687 if (infos.get(def) != DEFINITION_NULL) { in getTagDefinitionsForTagId()
1688 defs[counter++] = def; in getTagDefinitionsForTagId()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifInterface.java1662 for (int def : otherDefs) { in setTagDefinition()
1663 int tagInfo = infos.get(def); in setTagDefinition()
1686 int def = defineTag(i, tagId); in getTagDefinitionsForTagId() local
1687 if (infos.get(def) != DEFINITION_NULL) { in getTagDefinitionsForTagId()
1688 defs[counter++] = def; in getTagDefinitionsForTagId()
/packages/apps/Camera2/src/com/android/camera/exif/
DExifInterface.java1641 for (int def : otherDefs) { in setTagDefinition()
1642 int tagInfo = infos.get(def); in setTagDefinition()
1665 int def = defineTag(i, tagId); in getTagDefinitionsForTagId() local
1666 if (infos.get(def) != DEFINITION_NULL) { in getTagDefinitionsForTagId()
1667 defs[counter++] = def; in getTagDefinitionsForTagId()
/packages/services/Telephony/src/com/android/phone/
DPhoneUtils.java553 private static long[] getLongArray(Resources r, int resid, long[] def) { in getLongArray() argument
556 return def; in getLongArray()
/packages/providers/TelephonyProvider/assets/
DREADME49 def main():
/packages/inputmethods/LatinIME/dictionaries/
Dro_wordlist.combined.gz1dictionary=main:ro,locale=ro,description=Română,date=1412325511, ...
Dsl_wordlist.combined.gz1dictionary=main:sl,locale=sl,description=Slovenščina,date=1393228152, ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dit_wordlist.combined.gz1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...
Dpl_wordlist.combined.gz
Dpt_PT_wordlist.combined.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...

12