Loading core/java/android/os/SystemProperties.java +15 −5 Original line number Diff line number Diff line Loading @@ -146,7 +146,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 @@ -162,7 +164,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 @@ -177,7 +181,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 @@ -192,7 +198,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 @@ -212,7 +220,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 @@ -146,7 +146,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 @@ -162,7 +164,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 @@ -177,7 +181,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 @@ -192,7 +198,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 @@ -212,7 +220,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