All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.appnexus.oas.mobilesdk.utilities.XUtility.class Maven / Gradle / Ivy

There is a newer version: 2.2.1r1
Show newest version
????2=-com/appnexus/oas/mobilesdk/utilities/XUtilityjava/lang/ObjectTAGLjava/lang/String;KITKAT_JS_METHODLjava/lang/reflect/Method;KITKAT_JS_PARAMTYPES[Ljava/lang/Class;	Signature[Ljava/lang/Class<*>;
USER_AGENTDEFAULT_USER_AGENTZ$SWITCH_TABLE$com$appnexus$oas$mobilesdk$configuration$XAdSlotConfiguration$LABEL_POSITION[I()VCodeXUtility		java/lang/Classjava/lang/Stringandroid/webkit/ValueCallback	!	
	#
%?Mozilla/5.0 (Linux; U; Android 4.3; de-de; GT-I9100 Build/GRH78) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1	'LineNumberTableLocalVariableTable
,*this/Lcom/appnexus/oas/mobilesdk/utilities/XUtility;getUserAgent-(Landroid/content/Context;)Ljava/lang/String;RuntimeInvisibleAnnotations!Landroid/annotation/SuppressLint;valueNewApi	687android/os/Build$VERSION9:SDK_INTI<android/webkit/WebView
;>*?(Landroid/content/Context;)V
;ABCgetSettings()Landroid/webkit/WebSettings;
EGFandroid/webkit/WebSettingsHIgetUserAgentString()Ljava/lang/String;
;KLdestroy
ENO0getDefaultUserAgentQjava/lang/StringBuilderSUserAgent: 
PU*V(Ljava/lang/String;)V
PXYZappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;
P\]ItoString
_a`-com/appnexus/oas/mobilesdk/utilities/XLogUtilbcd'(Ljava/lang/String;Ljava/lang/String;)Vejava/lang/ExceptioncontextLandroid/content/Context;wLandroid/webkit/WebView;eLjava/lang/Exception;
StackMapTablewriteToDiskP(Ljava/io/InputStream;Ljava/io/File;Landroid/content/Context;)Ljava/lang/String;
Exceptionsqjava/lang/IllegalStateExceptionsjava/io/IOExceptionuWriteToDisk 
wyxjava/io/FilezIgetName
|~}android/content/Context?openFileOutput/(Ljava/lang/String;I)Ljava/io/FileOutputStream;
???java/io/InputStream??read([B)I
???java/io/FileOutputStream??write([BII)V
???close? NULL input stream in writeToDisk
rU
???flush
??
w??IgetPathinLjava/io/InputStream;	writeFileLjava/io/File;buff[BoutLjava/io/FileOutputStream;numread?devicePixelToMraidPoint(ILandroid/content/Context;)I
|???getResources!()Landroid/content/res/Resources;
???android/content/res/Resources??getDisplayMetrics()Landroid/util/DisplayMetrics;	???android/util/DisplayMetrics??densityF
???java/lang/Math??round(F)I	pixelSizepointsevaluateJavascript-(Landroid/webkit/WebView;Ljava/lang/String;)V?android.webkit.WebView
???forName%(Ljava/lang/String;)Ljava/lang/Class;?
???getDeclaredMethod@(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
???java/lang/reflect/Method??
setAccessible(Z)V?1Running in KITKAT mode with new Chromium webview!
_??ci?TFATAL ERROR: Could not invoke Android 4.4 Chromium WebView method evaluateJavascript
_?j?<(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V?javascript:
;??VloadUrl
????invoke9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;webView
javascripte0getExpandedSizeInDP(Landroid/content/Context;I)I
????com/appnexus/oas/mobilesdk/requestenrichment/XDeviceInformation??
getDensity(Landroid/content/Context;)F
????
getDensityDpi(Landroid/content/Context;)IscalesizeInDPgetSizeInDPgetPixelSizeconvertStringtoSeconds(Ljava/lang/String;)I?:
???split'(Ljava/lang/String;)[Ljava/lang/String;
java/lang/Integer?parseIntjava/lang/NumberFormatExceptiontimestampStrtokens[Ljava/lang/String;durationhoursminutessecondsgetExtensionFromUrl&(Ljava/lang/String;)Ljava/lang/String;
lastIndexOf(I)I
	substring(I)Ljava/lang/String;url	extensiongetVASTVideoURL*(Ljava/util/ArrayList;I)Ljava/lang/String;](Ljava/util/ArrayList;I)Ljava/lang/String;
 "!java/util/ArrayList#$size()I
 ,
 '()get(I)Ljava/lang/Object;+/com/appnexus/oas/mobilesdk/model/MediaFileModel
*-.IgetUrl
02mp4
456
startsWith(Ljava/lang/String;)Z8MP4
 :;<add(Ljava/lang/Object;)Z>8com/appnexus/oas/mobilesdk/utilities/MediaFileComparator
=,
ACBjava/util/CollectionsDEsort)(Ljava/util/List;Ljava/util/Comparator;)V
*GHIgetWidthJ'Rendition Selected- using player width:
PLYM(I)Ljava/lang/StringBuilder;O, selected rendition width:Q, URL:	arrayListLjava/util/ArrayList;
frameWidthmediaUrlcount	mp4VideoslastObjwidthcurrentObjWidthindexLocalVariableTypeTableHLjava/util/ArrayList;getVastEventURLList9(Ljava/util/ArrayList;Ljava/lang/String;)Ljava/util/List;(Ljava/util/ArrayList;Ljava/lang/String;)Ljava/util/List;
acb-com/appnexus/oas/mobilesdk/admanager/XCachingdegetInstance1()Lcom/appnexus/oas/mobilesdk/admanager/XCaching;	aghSlinearAdModelArrayList
 jkliterator()Ljava/util/Iterator;npojava/util/Iteratorqrnext()Ljava/lang/Object;t.com/appnexus/oas/mobilesdk/model/LinearAdModel
svwxgetTrackingEventArrayList()Ljava/util/ArrayList;z.com/appnexus/oas/mobilesdk/model/TrackingModel
y|}IgetEvent
?6equalsIgnoreCase?TRACKING EVENT - ?	 | URL - 
y??IgetURLn???hasNext()ZtrackingEventArrayList	eventTypeurlListlinearModel0Lcom/appnexus/oas/mobilesdk/model/LinearAdModel;a0Lcom/appnexus/oas/mobilesdk/model/TrackingModel;GLjava/util/ArrayList;)Ljava/util/ArrayList;getVastClickURLList()Ljava/util/List;&()Ljava/util/List;
s??xgetVideoClicksArrayList?0com/appnexus/oas/mobilesdk/model/VideoClickModel
???xgetClickTrackingArrayList?3com/appnexus/oas/mobilesdk/model/ClickTrackingModel?Video Click Tracking url - 
???vast click url exception: 
d??I
getMessage
_?jc2Lcom/appnexus/oas/mobilesdk/model/VideoClickModel;clickTrackingModel5Lcom/appnexus/oas/mobilesdk/model/ClickTrackingModel;
isNullOrEmpty
??<equalsinputgetLocal
???java/util/Locale??
getDefault()Ljava/util/Locale;
?\?_
??concat?-com/appnexus/oas/mobilesdk/utilities/XLocales
?,
???getClass()Ljava/lang/Class;
???getField-(Ljava/lang/String;)Ljava/lang/reflect/Field;
???java/lang/reflect/Field(?&(Ljava/lang/Object;)Ljava/lang/Object;?_en_US
??? java/lang/IllegalAccessException?printStackTrace
???java/lang/NoSuchFieldException
???"java/lang/IllegalArgumentExceptiontextIdlocaledisplayTextlocaleTextIdlocales/Lcom/appnexus/oas/mobilesdk/utilities/XLocales;filedValLjava/lang/reflect/Field; Ljava/lang/NoSuchFieldException;e1"Ljava/lang/IllegalAccessException;$Ljava/lang/IllegalArgumentException;getTimerPositionm(Lcom/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration;)Landroid/widget/RelativeLayout$LayoutParams;?*android/widget/RelativeLayout$LayoutParams
??*?(II)V
??()[I
???=com/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration??getCountdownLabelPositionP()Lcom/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration$LABEL_POSITION;
???Lcom/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration$LABEL_POSITION?$ordinal
?addRule(I)VadSlotConfig?Lcom/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration;params,Landroid/widget/RelativeLayout$LayoutParams;convertIntToHHSS		%02d:%02d

valueOf(I)Ljava/lang/Integer;
format9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;	aDurationresult	
?valuesQ()[Lcom/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration$LABEL_POSITION;	?
BOTTOM_CENTERNLcom/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration$LABEL_POSITION;	? BOTTOM_LEFT	?"#BOTTOM_RIGHT	?%&
TOP_CENTER	?()TOP_LEFT	?+,	TOP_RIGHT.java/lang/NoSuchFieldError
SourceFile
XUtility.javaInnerClasses4android/os/BuildVERSION7android/widget/RelativeLayoutLayoutParamsLABEL_POSITION;:com/appnexus/oas/mobilesdk/utilities/XUtility$StorePictureStorePicture!

	




\$???YSYS? ?"$?&?(-.	/0/12)*/*?+?(*)-.	/0123[s4?W?"?P?5?)?;Y*?=L+?@?D?"+?JL?L?&?"?
*?M?"??PYR?T?"?W?[?^?"?'*d(2ikmn!o%p'q+r1t4u;wSy) Wfghi+jkl
jd	mnopr0q?N:*?I??PYt?T+?v?W?[?^,+?v?{:*-??6??-?????*???
?rY?????
????+???(N~	?
?&?+?,?1?8?=?@?I?L?P?S?]?b?g?l?)>q??q??qfgk??	h??8?:l?1????		??]?+??????n??=?(????) ?:fg?:	??F{??7?5?/???Ʋ ?dz??˲Ѹӧ
M??,?ز5?*?PY۷T+?W?[?ݧ$?*?Y+SYS??W?
M??,?ر-0dYmpd(f???????%?(?*?-?1?4?6?7?:?B?V?Y?m?q?t?v?w?z?)*{?i{?1	?kq	jkl
pd	Vd		???,*??E*??՟*??x?
*????
E?$j?>?(????"?$?*?)*,fg,?:'??*?:l?"	??]
*??E?$j?>?(???)*
fg
?:???:	??]
*??E?$n?>?(???)*
fg
?:???:	???5*???L=+2??>+2??6+2??6h<h``=?N?	/2("??	??? ?/3)>5.	,	:
:: :l?2
	vL*.?=?*`?L+?(
) ?:l	?	?8M*?>? Y?%:6?>*?&?*?,M,?/:1?3?7?3?*?&?*?9W?????>?,???&?*?,M,?66?=Y???@6?%?&?*?F??6??6????????&?*?,M?3? ?d?&?*?,M6??&?*?,M??PYI?T?KN?W?KP?W,?W?[?^?:,?,?y/2d(?&	 %!+"A#PY(_)c+e-j/w0y5|69?:?;?<?>?@?:?C?E?F?G?H?I?J?K?NP/Q2R4T6W)p8RS8T:4U	/V:&WSD?:+%|?X:?Y:??Z:4jk[8R\&W\lE?  ?(???!
?.  d	]^_i?? Y?%M?`?f?i:?o?m?sN-?u?i:?N?m?y:?{+?~?6?PY??T?{?W??W???W?[?^,???9W??????????,?(&	bd!e9fEgnhxe?d?m)4??S????S!a??9???[??????lG?  n?  snn?J?	  n	?????? Y?%K?`?f?iM??,?m?sL+???i:?a?m??N-?R-???i:?<?m??:?PY??T???W?[?^???
*???9W??????????,????|?L??PY??T+???W?[??*???d(:vxy6z:{R|m}u~{?y?x??????)4??St??6S??R-???jk[???lo? n? snn? sn?nn8?	 snn?	 n? d	?6N*?
*?????(???)?l	???????LM*???N-+??N??Y??:??-??:???M?K:*Ѷ?N??-??:???M?(:?ӧ:?ا:?ӧ
:??,? 69?CY\?CYf? 6p? 6z?(R??	??? ?+?6?;?C?N?Y?^?f?h?p?r?z?|???)z??|?	z?r? c??+??N??;2j?^??h??rj?|j?l[?9???"???I???B?I?	??U???Y????L??*????.?%4CRap+??+
???Z+	??+
???K+
??+???<+??+???-+	??+???+??+???+??+
??+?(n!"#!%%<(B)H*K.Q/W0Z4`5f6i:o;u<x@~A?B?F?G?H?L?M?Q)??l?<?	?FL=>6l=hdh:;:??e?Y??W???
K*???O?W*???O?W*?!??O?W*?$??O?W*?'??O?W*?*??O?W*Y??-'*-+47-8AD-ENQ-R[^-(*)l-
H/?/-K-K-K-K-K-012"635	?68	??9@:<	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy