/** Inform DCT mobile provisioning has started, it ends when provisioning completes. */
 public void enableMobileProvisioning(String url) {
   if (DBG) log("enableMobileProvisioning(url=" + url + ")");
   final AsyncChannel channel = mDataConnectionTrackerAc;
   if (channel != null) {
     Message msg = Message.obtain();
     msg.what = DctConstants.CMD_ENABLE_MOBILE_PROVISIONING;
     msg.setData(Bundle.forPair(DctConstants.PROVISIONING_URL_KEY, url));
     channel.sendMessage(msg);
   }
 }
 /**
  * carrier dependency is met/unmet
  *
  * @param met
  */
 public void setDependencyMet(boolean met) {
   Bundle bundle = Bundle.forPair(DctConstants.APN_TYPE_KEY, mApnType);
   try {
     if (DBG) log("setDependencyMet: E met=" + met);
     Message msg = Message.obtain();
     msg.what = DctConstants.CMD_SET_DEPENDENCY_MET;
     msg.arg1 = (met ? DctConstants.ENABLED : DctConstants.DISABLED);
     msg.setData(bundle);
     mDataConnectionTrackerAc.sendMessage(msg);
     if (VDBG) log("setDependencyMet: X met=" + met);
   } catch (NullPointerException e) {
     loge("setDependencyMet: X mAc was null" + e);
   }
 }
 /**
  * Return if this network is the provisioning network. Valid only if connected.
  *
  * @param met
  */
 public boolean isProvisioningNetwork() {
   boolean retVal;
   try {
     Message msg = Message.obtain();
     msg.what = DctConstants.CMD_IS_PROVISIONING_APN;
     msg.setData(Bundle.forPair(DctConstants.APN_TYPE_KEY, mApnType));
     Message result = mDataConnectionTrackerAc.sendMessageSynchronously(msg);
     retVal = result.arg1 == DctConstants.ENABLED;
   } catch (NullPointerException e) {
     loge("isProvisioningNetwork: X " + e);
     retVal = false;
   }
   if (DBG) log("isProvisioningNetwork: retVal=" + retVal);
   return retVal;
 }