Home
last modified time | relevance | path

Searched refs:contentsType (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DSlicePurchaseActivity.java93 String contentsType = mIntent.getStringExtra(SlicePurchaseController.EXTRA_CONTENTS_TYPE); in onCreate() local
95 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() argument
251 if (contentsType == CONTENTS_TYPE_UNSPECIFIED) { in startWebView()
261 logd("Starting WebView POST with url: " + url + ", contentsType: " + contentsType in startWebView()
DSlicePurchaseBroadcastReceiver.java177 String contentsType = intent.getStringExtra(SlicePurchaseController.EXTRA_CONTENTS_TYPE); in isIntentValid() local
178 if (getPurchaseUrl(purchaseUrl, userData, TextUtils.isEmpty(contentsType)) == null) { in isIntentValid()
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/
DTs43Operation.java484 int contentsType = HttpConstants.ContentType.UNKNOWN; in manageSubscription() local
487 contentsType = HttpConstants.ContentType.XML; in manageSubscription()
490 contentsType = HttpConstants.ContentType.JSON; in manageSubscription()
493 responseBuilder.setSubscriptionServiceContentsType(contentsType); in manageSubscription()