Home
last modified time | relevance | path

Searched refs:configName (Results 1 – 11 of 11) sorted by relevance

/platform_testing/libraries/automotive-helpers/utility-helper/src/android/platform/helpers/
DAutoJsonUtility.java222 String appName, String configName, JSONObject config) throws JSONException { in parseJsonAndUpdateApplicationConfigMap() argument
227 throwUnknownObjectException(appName, configName, configKey); in parseJsonAndUpdateApplicationConfigMap()
231 throwJsonStringException(appName, configName, configKey); in parseJsonAndUpdateApplicationConfigMap()
240 String appName, String configName, JSONObject config) throws JSONException { in parseJsonAndUpdateApplicationResources() argument
245 parseJsonAndUpdateConfigPath(appName, configName, config); in parseJsonAndUpdateApplicationResources()
249 parseJsonAndUpdateConfigOptions(appName, configName, config); in parseJsonAndUpdateApplicationResources()
252 if (!isValidResourceConfig(appName, configName, resourceName)) { in parseJsonAndUpdateApplicationResources()
253 throwUnknownObjectException(appName, configName, resourceName); in parseJsonAndUpdateApplicationResources()
257 throwJsonObjectException(appName, configName, resourceName); in parseJsonAndUpdateApplicationResources()
260 appName, configName, resourceName, (JSONObject) applicationResource); in parseJsonAndUpdateApplicationResources()
[all …]
DAutoLockScreenConfigUtility.java92 public AutoConfigResource getResourceConfiguration(String configName, String resourceName) { in getResourceConfiguration() argument
93 if (mLockScreenConfigMap.get(configName) == null) { in getResourceConfiguration()
97 return mLockScreenConfigMap.get(configName).getResource(resourceName); in getResourceConfiguration()
105 public boolean isValidConfiguration(String configName) { in isValidConfiguration() argument
106 return (mLockScreenConfigMap.get(configName) != null); in isValidConfiguration()
115 public boolean isValidResource(String configName, String resourceName) { in isValidResource() argument
116 if (mLockScreenConfigMap.get(configName) == null) { in isValidResource()
119 return (mLockScreenConfigMap.get(configName).getResource(resourceName) != null); in isValidResource()
DAutoHomeConfigUtility.java92 public AutoConfigResource getResourceConfiguration(String configName, String resourceName) { in getResourceConfiguration() argument
93 if (mHomeConfigMap.get(configName) == null) { in getResourceConfiguration()
97 return mHomeConfigMap.get(configName).getResource(resourceName); in getResourceConfiguration()
105 public boolean isValidConfiguration(String configName) { in isValidConfiguration() argument
106 return (mHomeConfigMap.get(configName) != null); in isValidConfiguration()
115 public boolean isValidResource(String configName, String resourceName) { in isValidResource() argument
116 if (mHomeConfigMap.get(configName) == null) { in isValidResource()
119 return (mHomeConfigMap.get(configName).getResource(resourceName) != null); in isValidResource()
DAutoAppGridConfigUtility.java95 public AutoConfigResource getResourceConfiguration(String configName, String resourceName) { in getResourceConfiguration() argument
96 if (mAppGridConfigMap.get(configName) == null) { in getResourceConfiguration()
100 return mAppGridConfigMap.get(configName).getResource(resourceName); in getResourceConfiguration()
108 public boolean isValidConfiguration(String configName) { in isValidConfiguration() argument
109 return (mAppGridConfigMap.get(configName) != null); in isValidConfiguration()
118 public boolean isValidResource(String configName, String resourceName) { in isValidResource() argument
119 if (mAppGridConfigMap.get(configName) == null) { in isValidResource()
122 return (mAppGridConfigMap.get(configName).getResource(resourceName) != null); in isValidResource()
DAutoNotificationsConfigUtility.java97 public AutoConfigResource getResourceConfiguration(String configName, String resourceName) { in getResourceConfiguration() argument
98 if (mNotificationConfigMap.get(configName) == null) { in getResourceConfiguration()
102 return mNotificationConfigMap.get(configName).getResource(resourceName); in getResourceConfiguration()
110 public boolean isValidConfiguration(String configName) { in isValidConfiguration() argument
111 return (mNotificationConfigMap.get(configName) != null); in isValidConfiguration()
120 public boolean isValidResource(String configName, String resourceName) { in isValidResource() argument
121 if (mNotificationConfigMap.get(configName) == null) { in isValidResource()
124 return (mNotificationConfigMap.get(configName).getResource(resourceName) != null); in isValidResource()
DAutoMediaCenterConfigUtility.java101 public AutoConfigResource getResourceConfiguration(String configName, String resourceName) { in getResourceConfiguration() argument
102 if (mMediaCenterConfigMap.get(configName) == null) { in getResourceConfiguration()
106 return mMediaCenterConfigMap.get(configName).getResource(resourceName); in getResourceConfiguration()
114 public boolean isValidConfiguration(String configName) { in isValidConfiguration() argument
115 return (mMediaCenterConfigMap.get(configName) != null); in isValidConfiguration()
124 public boolean isValidResource(String configName, String resourceName) { in isValidResource() argument
125 if (mMediaCenterConfigMap.get(configName) == null) { in isValidResource()
128 return (mMediaCenterConfigMap.get(configName).getResource(resourceName) != null); in isValidResource()
DAutoDialConfigUtility.java97 public AutoConfigResource getResourceConfiguration(String configName, String resourceName) { in getResourceConfiguration() argument
98 if (mDialConfigMap.get(configName) == null) { in getResourceConfiguration()
102 return mDialConfigMap.get(configName).getResource(resourceName); in getResourceConfiguration()
110 public boolean isValidConfiguration(String configName) { in isValidConfiguration() argument
111 return (mDialConfigMap.get(configName) != null); in isValidConfiguration()
120 public boolean isValidResource(String configName, String resourceName) { in isValidResource() argument
121 if (mDialConfigMap.get(configName) == null) { in isValidResource()
124 return (mDialConfigMap.get(configName).getResource(resourceName) != null); in isValidResource()
DAutoSettingsConfigUtility.java108 public AutoConfigResource getResourceConfiguration(String configName, String resourceName) { in getResourceConfiguration() argument
109 if (mSettingsConfigMap.get(configName) == null) { in getResourceConfiguration()
113 return mSettingsConfigMap.get(configName).getResource(resourceName); in getResourceConfiguration()
121 public boolean isValidConfiguration(String configName) { in isValidConfiguration() argument
122 return (mSettingsConfigMap.get(configName) != null); in isValidConfiguration()
131 public boolean isValidResource(String configName, String resourceName) { in isValidResource() argument
132 if (mSettingsConfigMap.get(configName) == null) { in isValidResource()
135 return (mSettingsConfigMap.get(configName).getResource(resourceName) != null); in isValidResource()
/platform_testing/libraries/device-collectors/src/main/platform-collectors/src/android/device/collectors/
DStatsdListener.java135 for (String configName : configReports.keySet()) { in onTestRunEnd()
136 runData.addFileMetric(REPORT_KEY_PREFIX + configName, configReports.get(configName)); in onTestRunEnd()
169 for (String configName : configReports.keySet()) { in onTestEnd()
170 testData.addFileMetric(REPORT_KEY_PREFIX + configName, configReports.get(configName)); in onTestEnd()
184 for (String configName : configs.keySet()) { in registerConfigsWithStatsManager()
186 long configId = getUniqueIdForConfig(configs.get(configName)); in registerConfigsWithStatsManager()
187 StatsdConfigProto.StatsdConfig newConfig = clone(configs.get(configName)); in registerConfigsWithStatsManager()
189 Log.i(LOG_TAG, String.format("Adding config %s with ID %d.", configName, configId)); in registerConfigsWithStatsManager()
191 configIds.put(configName, configId); in registerConfigsWithStatsManager()
197 configName, e.toString())); in registerConfigsWithStatsManager()
[all …]
/platform_testing/libraries/automotive-helpers/utility-helper/src/android/platform/helpers/interfaces/
DIAutoConfigUtility.java26 AutoConfigResource getResourceConfiguration(String configName, String resourceName); in getResourceConfiguration() argument
41 boolean isValidConfiguration(String configName); in isValidConfiguration() argument
44 boolean isValidResource(String configName, String resourceName); in isValidResource() argument
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/
DProfileTest.java162 protected Bundle getArguments(String configName) { in getArguments() argument
164 args.putString(PROFILE_OPTION_NAME, configName); in getArguments()