Example #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);
   }
 }
Example #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);
   }
 }
Example #3
0
 public void setUuid(String uuid) {
   try {
     put(KEY_UUID, uuid);
   } catch (JSONException e) {
     Log.w("Error adding %s to Device.", KEY_UUID);
   }
 }
Example #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);
   }
 }
Example #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);
   }
 }
Example #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);
   }
 }
Example #7
0
 public void setProduct(String product) {
   try {
     put(KEY_PRODUCT, product);
   } catch (JSONException e) {
     Log.w("Error adding %s to Device.", KEY_PRODUCT);
   }
 }
Example #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);
   }
 }
Example #9
0
 public void setModel(String model) {
   try {
     put(KEY_MODEL, model);
   } catch (JSONException e) {
     Log.w("Error adding %s to Device.", KEY_MODEL);
   }
 }
Example #10
0
 public void setBoard(String board) {
   try {
     put(KEY_BOARD, board);
   } catch (JSONException e) {
     Log.w("Error adding %s to Device.", KEY_BOARD);
   }
 }
Example #11
0
 public void setManufacturer(String manufacturer) {
   try {
     put(KEY_MANUFACTURER, manufacturer);
   } catch (JSONException e) {
     Log.w("Error adding %s to Device.", KEY_MANUFACTURER);
   }
 }
Example #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);
   }
 }
Example #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);
   }
 }
Example #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);
   }
 }
Example #15
0
 public void setBrand(String brand) {
   try {
     put(KEY_BRAND, brand);
   } catch (JSONException e) {
     Log.w("Error adding %s to Device.", KEY_BRAND);
   }
 }
Example #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);
   }
 }
Example #17
0
 public void setCpu(String cpu) {
   try {
     put(KEY_CPU, cpu);
   } catch (JSONException e) {
     Log.w("Error adding %s to Device.", KEY_CPU);
   }
 }
Example #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);
   }
 }
Example #19
0
 public void setDevice(String device) {
   try {
     put(KEY_DEVICE, device);
   } catch (JSONException e) {
     Log.w("Error adding %s to Device.", KEY_DEVICE);
   }
 }
Example #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);
   }
 }
Example #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);
   }
 }
Example #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);
   }
 }
Example #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);
   }
 }
Example #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);
   }
 }