示例#1
0
 public void setBuildType(String buildType) {
   try {
     put(KEY_BUILD_TYPE, buildType);
   } catch (JSONException e) {
     Log.w("Error adding %s to Device.", KEY_BUILD_TYPE);
   }
 }
示例#2
0
 public void setBuildId(String buildId) {
   try {
     put(KEY_BUILD_ID, buildId);
   } catch (JSONException e) {
     Log.w("Error adding %s to Device.", KEY_BUILD_ID);
   }
 }
示例#3
0
 public void setUuid(String uuid) {
   try {
     put(KEY_UUID, uuid);
   } catch (JSONException e) {
     Log.w("Error adding %s to Device.", KEY_UUID);
   }
 }
示例#4
0
 public void setOsVersion(String osVersion) {
   try {
     put(KEY_OS_VERSION, osVersion);
   } catch (JSONException e) {
     Log.w("Error adding %s to Device.", KEY_OS_VERSION);
   }
 }
示例#5
0
 public void setLocaleCountryCode(String localeCountryCode) {
   try {
     put(KEY_LOCALE_COUNTRY_CODE, localeCountryCode);
   } catch (JSONException e) {
     Log.w("Error adding %s to Device.", KEY_LOCALE_COUNTRY_CODE);
   }
 }
示例#6
0
 public void setLocaleRaw(String localeRaw) {
   try {
     put(KEY_LOCALE_RAW, localeRaw);
   } catch (JSONException e) {
     Log.w("Error adding %s to Device.", KEY_LOCALE_RAW);
   }
 }
示例#7
0
 public void setProduct(String product) {
   try {
     put(KEY_PRODUCT, product);
   } catch (JSONException e) {
     Log.w("Error adding %s to Device.", KEY_PRODUCT);
   }
 }
示例#8
0
 public void setCustomData(CustomData customData) {
   try {
     put(KEY_CUSTOM_DATA, customData);
   } catch (JSONException e) {
     Log.w("Error adding %s to Device.", KEY_CUSTOM_DATA);
   }
 }
示例#9
0
 public void setModel(String model) {
   try {
     put(KEY_MODEL, model);
   } catch (JSONException e) {
     Log.w("Error adding %s to Device.", KEY_MODEL);
   }
 }
示例#10
0
 public void setBoard(String board) {
   try {
     put(KEY_BOARD, board);
   } catch (JSONException e) {
     Log.w("Error adding %s to Device.", KEY_BOARD);
   }
 }
示例#11
0
 public void setManufacturer(String manufacturer) {
   try {
     put(KEY_MANUFACTURER, manufacturer);
   } catch (JSONException e) {
     Log.w("Error adding %s to Device.", KEY_MANUFACTURER);
   }
 }
示例#12
0
 public void setOsApiLevel(String osApiLevel) {
   try {
     put(KEY_OS_API_LEVEL, osApiLevel);
   } catch (JSONException e) {
     Log.w("Error adding %s to Device.", KEY_OS_API_LEVEL);
   }
 }
示例#13
0
 public void setOsBuild(String osBuild) {
   try {
     put(KEY_OS_BUILD, osBuild);
   } catch (JSONException e) {
     Log.w("Error adding %s to Device.", KEY_OS_BUILD);
   }
 }
示例#14
0
 public void setBootloaderVersion(String bootloaderVersion) {
   try {
     put(KEY_BOOTLOADER_VERSION, bootloaderVersion);
   } catch (JSONException e) {
     Log.w("Error adding %s to Device.", KEY_BOOTLOADER_VERSION);
   }
 }
示例#15
0
 public void setBrand(String brand) {
   try {
     put(KEY_BRAND, brand);
   } catch (JSONException e) {
     Log.w("Error adding %s to Device.", KEY_BRAND);
   }
 }
示例#16
0
 public void setRadioVersion(String radioVersion) {
   try {
     put(KEY_RADIO_VERSION, radioVersion);
   } catch (JSONException e) {
     Log.w("Error adding %s to Device.", KEY_RADIO_VERSION);
   }
 }
示例#17
0
 public void setCpu(String cpu) {
   try {
     put(KEY_CPU, cpu);
   } catch (JSONException e) {
     Log.w("Error adding %s to Device.", KEY_CPU);
   }
 }
示例#18
0
 public void setIntegrationConfig(CustomData integrationConfig) {
   try {
     put(KEY_INTEGRATION_CONFIG, integrationConfig);
   } catch (JSONException e) {
     Log.w("Error adding %s to Device.", KEY_INTEGRATION_CONFIG);
   }
 }
示例#19
0
 public void setDevice(String device) {
   try {
     put(KEY_DEVICE, device);
   } catch (JSONException e) {
     Log.w("Error adding %s to Device.", KEY_DEVICE);
   }
 }
示例#20
0
 public void setLocaleLanguageCode(String localeLanguageCode) {
   try {
     put(KEY_LOCALE_LANGUAGE_CODE, localeLanguageCode);
   } catch (JSONException e) {
     Log.w("Error adding %s to Device.", KEY_LOCALE_LANGUAGE_CODE);
   }
 }
示例#21
0
 public void setCurrentCarrier(String currentCarrier) {
   try {
     put(KEY_CURRENT_CARRIER, currentCarrier);
   } catch (JSONException e) {
     Log.w("Error adding %s to Device.", KEY_CURRENT_CARRIER);
   }
 }
示例#22
0
 public void setUtcOffset(String utcOffset) {
   try {
     put(KEY_UTC_OFFSET, utcOffset);
   } catch (JSONException e) {
     Log.w("Error adding %s to Device.", KEY_UTC_OFFSET);
   }
 }
示例#23
0
 public void setNetworkType(String networkType) {
   try {
     put(KEY_NETWORK_TYPE, networkType);
   } catch (JSONException e) {
     Log.w("Error adding %s to Device.", KEY_NETWORK_TYPE);
   }
 }
示例#24
0
 public void setOsName(String osName) {
   try {
     put(KEY_OS_NAME, osName);
   } catch (JSONException e) {
     Log.w("Error adding %s to Device.", KEY_OS_NAME);
   }
 }
 public void setConfigurationCacheExpirationMillis(long configurationCacheExpirationMillis) {
   try {
     put(KEY_CONFIGURATION_CACHE_EXPIRATION_MILLIS, configurationCacheExpirationMillis);
   } catch (JSONException e) {
     Log.w("Error adding %s to Configuration.", KEY_CONFIGURATION_CACHE_EXPIRATION_MILLIS);
   }
 }