Searched refs:contentsType (Results 1 – 3 of 3) sorted by relevance
93 String contentsType = mIntent.getStringExtra(SlicePurchaseController.EXTRA_CONTENTS_TYPE); in onCreate() local95 if (!TextUtils.isEmpty(contentsType)) { in onCreate()96 if (contentsType.equals("json")) { in onCreate()98 } else if (contentsType.equals("xml")) { in onCreate()249 public static void startWebView(@NonNull WebView webView, @NonNull String url, int contentsType, in startWebView() argument251 if (contentsType == CONTENTS_TYPE_UNSPECIFIED) { in startWebView()261 logd("Starting WebView POST with url: " + url + ", contentsType: " + contentsType in startWebView()
177 String contentsType = intent.getStringExtra(SlicePurchaseController.EXTRA_CONTENTS_TYPE); in isIntentValid() local178 if (getPurchaseUrl(purchaseUrl, userData, TextUtils.isEmpty(contentsType)) == null) { in isIntentValid()
484 int contentsType = HttpConstants.ContentType.UNKNOWN; in manageSubscription() local487 contentsType = HttpConstants.ContentType.XML; in manageSubscription()490 contentsType = HttpConstants.ContentType.JSON; in manageSubscription()493 responseBuilder.setSubscriptionServiceContentsType(contentsType); in manageSubscription()