Loading core/java/android/os/SystemProperties.java +15 −5 Original line number Diff line number Diff line Loading @@ -178,7 +178,9 @@ public class SystemProperties { @SystemApi public static String get(@NonNull String key) { if (TRACK_KEY_ACCESS) onKeyAccess(key); return native_get(key); String res = native_get(key); Log.i(TAG, "jklee key=" + key + " res=" + res); return res; } /** Loading @@ -194,7 +196,9 @@ public class SystemProperties { @SystemApi public static String get(@NonNull String key, @Nullable String def) { if (TRACK_KEY_ACCESS) onKeyAccess(key); return native_get(key, def); String res = native_get(key, def); Log.i(TAG, "jklee key=" + key + " res=" + res); return res; } /** Loading @@ -209,7 +213,9 @@ public class SystemProperties { @SystemApi public static int getInt(@NonNull String key, int def) { if (TRACK_KEY_ACCESS) onKeyAccess(key); return native_get_int(key, def); int res = native_get_int(key, def); Log.i(TAG, "jklee key=" + key + " res=" + res); return res; } /** Loading @@ -224,7 +230,9 @@ public class SystemProperties { @SystemApi public static long getLong(@NonNull String key, long def) { if (TRACK_KEY_ACCESS) onKeyAccess(key); return native_get_long(key, def); long res = native_get_long(key, def); Log.i(TAG, "jklee key=" + key + " res=" + res); return res; } /** Loading @@ -244,7 +252,9 @@ public class SystemProperties { @SystemApi public static boolean getBoolean(@NonNull String key, boolean def) { if (TRACK_KEY_ACCESS) onKeyAccess(key); return native_get_boolean(key, def); boolean res = native_get_boolean(key, def); Log.i(TAG, "jklee key=" + key + " res=" + res); return res; } /** Loading Loading
core/java/android/os/SystemProperties.java +15 −5 Original line number Diff line number Diff line Loading @@ -178,7 +178,9 @@ public class SystemProperties { @SystemApi public static String get(@NonNull String key) { if (TRACK_KEY_ACCESS) onKeyAccess(key); return native_get(key); String res = native_get(key); Log.i(TAG, "jklee key=" + key + " res=" + res); return res; } /** Loading @@ -194,7 +196,9 @@ public class SystemProperties { @SystemApi public static String get(@NonNull String key, @Nullable String def) { if (TRACK_KEY_ACCESS) onKeyAccess(key); return native_get(key, def); String res = native_get(key, def); Log.i(TAG, "jklee key=" + key + " res=" + res); return res; } /** Loading @@ -209,7 +213,9 @@ public class SystemProperties { @SystemApi public static int getInt(@NonNull String key, int def) { if (TRACK_KEY_ACCESS) onKeyAccess(key); return native_get_int(key, def); int res = native_get_int(key, def); Log.i(TAG, "jklee key=" + key + " res=" + res); return res; } /** Loading @@ -224,7 +230,9 @@ public class SystemProperties { @SystemApi public static long getLong(@NonNull String key, long def) { if (TRACK_KEY_ACCESS) onKeyAccess(key); return native_get_long(key, def); long res = native_get_long(key, def); Log.i(TAG, "jklee key=" + key + " res=" + res); return res; } /** Loading @@ -244,7 +252,9 @@ public class SystemProperties { @SystemApi public static boolean getBoolean(@NonNull String key, boolean def) { if (TRACK_KEY_ACCESS) onKeyAccess(key); return native_get_boolean(key, def); boolean res = native_get_boolean(key, def); Log.i(TAG, "jklee key=" + key + " res=" + res); return res; } /** Loading