Replace the class name SystemInfo with Information 39/146139/5
authorKichan Kwon <k_c.kwon@samsung.com>
Fri, 25 Aug 2017 06:12:12 +0000 (15:12 +0900)
committerKichan Kwon <k_c.kwon@samsung.com>
Wed, 13 Sep 2017 07:54:50 +0000 (16:54 +0900)
Change-Id: Iafa00404d2f369117f3a7acb70572fd9529cbd70
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/Features.cs [changed mode: 0644->0755]
src/Tizen.Multimedia.Radio/Radio/Radio.cs [changed mode: 0644->0755]
src/Tizen.Multimedia.Vision/MediaVision/EngineConfiguration.cs
src/Tizen.Multimedia/Common.Internal/Features.cs [changed mode: 0644->0755]
src/Tizen.Network.Nfc/Tizen.Network.Nfc/NfcManager.cs
src/Tizen.Sensor/Tizen.Sensor/Sensor.cs
src/Tizen.System.Information/SystemInfo/SystemInfo.cs

old mode 100644 (file)
new mode 100755 (executable)
index 245a94a..e0c2d23
@@ -22,7 +22,7 @@ static internal class Features
 
     internal static bool IsSupported(string key)
     {
-        if (SystemInfo.TryGetValue(key, out bool value))
+        if (Information.TryGetValue(key, out bool value))
         {
             return value;
         }
old mode 100644 (file)
new mode 100755 (executable)
index 14a8fd3..20d70fd
@@ -319,7 +319,7 @@ namespace Tizen.Multimedia
         private void ValidateFeatureSupported(string featurePath)
         {
             bool supported = false;
-            SystemInfo.TryGetValue(featurePath, out supported);
+            Information.TryGetValue(featurePath, out supported);
 
             if (supported == false)
             {
index 972c0fa..aa20741 100755 (executable)
@@ -38,7 +38,7 @@ namespace Tizen.Multimedia.Vision
 
             string featureType = _featurePath + type;
 
-            bool ret = SystemInfo.TryGetValue(featureType, out isSupported);
+            bool ret = Information.TryGetValue(featureType, out isSupported);
 
             return (isSupported && ret) ? true : false;
         }
old mode 100644 (file)
new mode 100755 (executable)
index 50c8508..58b1ec6
@@ -26,7 +26,7 @@ namespace Tizen.Multimedia
         internal static bool IsSupported(string featureKey)
         {
             bool supported = false;
-            SystemInfo.TryGetValue(featureKey, out supported);
+            Information.TryGetValue(featureKey, out supported);
             return supported;
         }
 
index 43f88e7..41fe3cf 100755 (executable)
@@ -38,7 +38,7 @@ namespace Tizen.Network.Nfc
             {
                 bool isNfcSupported = false;
 
-                SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+                Information.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
 
                 if (!isNfcSupported)
                 {
@@ -66,7 +66,7 @@ namespace Tizen.Network.Nfc
             {
                 bool isNfcSupported = false;
 
-                SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+                Information.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
 
                 if (!isNfcSupported)
                 {
@@ -95,8 +95,8 @@ namespace Tizen.Network.Nfc
                 bool isNfcSupported = false;
                 bool isTagSupported = false;
 
-                SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
-                SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc.tag", out isTagSupported);
+                Information.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+                Information.TryGetValue("http://tizen.org/feature/network.nfc.tag", out isTagSupported);
 
                 if (!isNfcSupported || !isTagSupported)
                 {
@@ -117,8 +117,8 @@ namespace Tizen.Network.Nfc
                 bool isNfcSupported = false;
                 bool isTagSupported = false;
 
-                SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
-                SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc.tag", out isTagSupported);
+                Information.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+                Information.TryGetValue("http://tizen.org/feature/network.nfc.tag", out isTagSupported);
 
                 if (!isNfcSupported || !isTagSupported)
                 {
@@ -148,8 +148,8 @@ namespace Tizen.Network.Nfc
                 bool isNfcSupported = false;
                 bool isCeSupported = false;
 
-                SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
-                SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc.cardemulation", out isCeSupported);
+                Information.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+                Information.TryGetValue("http://tizen.org/feature/network.nfc.cardemulation", out isCeSupported);
 
                 if (!isNfcSupported || !isCeSupported)
                 {
@@ -170,8 +170,8 @@ namespace Tizen.Network.Nfc
                 bool isNfcSupported = false;
                 bool isCeSupported = false;
 
-                SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
-                SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc.cardemulation", out isCeSupported);
+                Information.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+                Information.TryGetValue("http://tizen.org/feature/network.nfc.cardemulation", out isCeSupported);
 
                 if (!isNfcSupported || !isCeSupported)
                 {
@@ -200,7 +200,7 @@ namespace Tizen.Network.Nfc
             {
                 bool isNfcSupported = false;
 
-                SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+                Information.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
 
                 if (!isNfcSupported)
                 {
@@ -220,7 +220,7 @@ namespace Tizen.Network.Nfc
             {
                 bool isNfcSupported = false;
 
-                SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+                Information.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
 
                 if (!isNfcSupported)
                 {
@@ -248,7 +248,7 @@ namespace Tizen.Network.Nfc
             {
                 bool isNfcSupported = false;
 
-                SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+                Information.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
 
                 if (!isNfcSupported)
                 {
@@ -275,8 +275,8 @@ namespace Tizen.Network.Nfc
             bool isNfcSupported = false;
             bool isTagSupported = false;
 
-            SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
-            SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc.tag", out isTagSupported);
+            Information.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+            Information.TryGetValue("http://tizen.org/feature/network.nfc.tag", out isTagSupported);
 
             if (!isNfcSupported || !isTagSupported)
             {
@@ -302,8 +302,8 @@ namespace Tizen.Network.Nfc
             bool isNfcSupported = false;
             bool isP2pSupported = false;
 
-            SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
-            SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc.p2p", out isP2pSupported);
+            Information.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+            Information.TryGetValue("http://tizen.org/feature/network.nfc.p2p", out isP2pSupported);
 
             if (!isNfcSupported || !isP2pSupported)
             {
@@ -329,8 +329,8 @@ namespace Tizen.Network.Nfc
             bool isNfcSupported = false;
             bool isCeSupported = false;
 
-            SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
-            SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc.cardemulation", out isCeSupported);
+            Information.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+            Information.TryGetValue("http://tizen.org/feature/network.nfc.cardemulation", out isCeSupported);
 
             if (!isNfcSupported || !isCeSupported)
             {
@@ -357,7 +357,7 @@ namespace Tizen.Network.Nfc
         {
             bool isNfcSupported = false;
 
-            SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+            Information.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
 
             if (!isNfcSupported)
             {
@@ -384,7 +384,7 @@ namespace Tizen.Network.Nfc
             {
                 bool isNfcSupported = false;
 
-                SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+                Information.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
 
                 if (!isNfcSupported)
                 {
@@ -404,7 +404,7 @@ namespace Tizen.Network.Nfc
             {
                 bool isNfcSupported = false;
 
-                SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+                Information.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
 
                 if (!isNfcSupported)
                 {
@@ -432,7 +432,7 @@ namespace Tizen.Network.Nfc
             {
                 bool isNfcSupported = false;
 
-                SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+                Information.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
 
                 if (!isNfcSupported)
                 {
@@ -452,7 +452,7 @@ namespace Tizen.Network.Nfc
             {
                 bool isNfcSupported = false;
 
-                SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+                Information.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
 
                 if (!isNfcSupported)
                 {
index 9b48dee..2210fd3 100755 (executable)
@@ -287,7 +287,7 @@ namespace Tizen.Sensor
         internal static bool CheckIfSupported(SensorType type, String key)
         {
             bool isSupported = false;
-            bool error = SystemInfo.TryGetValue(key, out isSupported);
+            bool error = Information.TryGetValue(key, out isSupported);
 
             if (!error || !isSupported)
             {
index ba7afd5..5c352f0 100755 (executable)
@@ -20,7 +20,7 @@ using System.ComponentModel;
 namespace Tizen.System
 {
     [EditorBrowsable(EditorBrowsableState.Never)]
-    public static class SystemInfo
+    internal static class SystemInfo
     {
         [EditorBrowsable(EditorBrowsableState.Never)]
         private static Interop.SystemInfo.SystemInfoType GetValueType(string key, out Interop.SystemInfo.SystemInfoValueType valueType)
@@ -129,7 +129,7 @@ namespace Tizen.System
         /// <param name="key">The name of the feature.</param>
         /// <param name="value">The value of the given feature.</param>
         /// <returns>Returns true on success, otherwise false.</returns>
-        public static bool TryGetValue(string key, out bool value)
+        internal static bool TryGetValue(string key, out bool value)
         {
             Interop.SystemInfo.SystemInfoValueType valueType;
             Interop.SystemInfo.SystemInfoType keyType = GetValueType(key, out valueType);
@@ -162,7 +162,7 @@ namespace Tizen.System
         /// <param name="key">The name of the feature.</param>
         /// <param name="value">The value of the given feature.</param>
         /// <returns>Returns true on success, otherwise false.</returns>
-        public static bool TryGetValue(string key, out int value)
+        internal static bool TryGetValue(string key, out int value)
         {
             Interop.SystemInfo.SystemInfoValueType valueType;
             Interop.SystemInfo.SystemInfoType keyType = GetValueType(key, out valueType);
@@ -230,7 +230,7 @@ namespace Tizen.System
         /// <param name="key">The name of the feature.</param>
         /// <param name="value">The value of the given feature.</param>
         /// <returns>Returns true on success, otherwise false.</returns>
-        public static bool TryGetValue(string key, out string value)
+        internal static bool TryGetValue(string key, out string value)
         {
             Interop.SystemInfo.SystemInfoValueType valueType;
             Interop.SystemInfo.SystemInfoType keyType = GetValueType(key, out valueType);