@ file : Suppress (" unused ") Ċ Ċ package Ġnet . x pe ce . android . app Ċ Ċ import Ġandroid . accounts . Account Manager Ċ import Ġandroid . app .* Ċ import Ġandroid . app . admin . Device Policy Manager Ċ import Ġandroid . app . job . Job Scheduler Ċ import Ġandroid . app . usage . Network Stats Manager Ċ import Ġandroid . app . usage . Storage Stats Manager Ċ import Ġandroid . app . usage . Usage Stats Manager Ċ import Ġandroid . app widget . App Widget Manager Ċ import Ġandroid . bluetooth . Bluetooth Manager Ċ import Ġandroid . comp anion . Companion Device Manager Ċ import Ġandroid . content . Clipboard Manager Ċ import Ġandroid . content . Context Ċ import Ġandroid . content . Restrictions Manager Ċ import Ġandroid . content . pm . Launcher Apps Ċ import Ġandroid . content . pm . Shortcut Manager Ċ import Ġandroid . hardware . Consumer Ir Manager Ċ import Ġandroid . hardware . Sensor Manager Ċ import Ġandroid . hardware . camera 2 . Camera Manager Ċ import Ġandroid . hardware . display . Display Manager Ċ import Ġandroid . hardware . fingerprint . Fingerprint Manager Ċ import Ġandroid . hardware . input . Input Manager Ċ import Ġandroid . hardware . usb . Usb Manager Ċ import Ġandroid . location . Location Manager Ċ import Ġandroid . media . Audio Manager Ċ import Ġandroid . media . Media Router Ċ import Ġandroid . media . midi . Midi Manager Ċ import Ġandroid . media . projection . Media Projection Manager Ċ import Ġandroid . media . session . Media Session Manager Ċ import Ġandroid . media . tv . Tv Input Manager Ċ import Ġandroid . net . Connectivity Manager Ċ import Ġandroid . net . ns d . N sd Manager Ċ import Ġandroid . net . wifi . Wifi Manager Ċ import Ġandroid . net . wifi . aware . Wifi Aware Manager Ċ import Ġandroid . net . wifi . p 2 p . Wifi P 2 p Manager Ċ import Ġandroid . n fc . N fc Manager Ċ import Ġandroid . os .* Ċ import Ġandroid . os . health . System Health Manager Ċ import Ġandroid . os . storage . Storage Manager Ċ import Ġandroid . print . Print Manager Ċ import Ġandroid . support . annotation . Requires Api Ċ import Ġandroid . support . v 4 . app . Notification Manager Compat Ċ import Ġandroid . support . v 4 . hardware . display . Display Manager Compat Ċ import Ġandroid . support . v 4 . hardware . fingerprint . Fingerprint Manager Compat Ċ import Ġandroid . tele com . Tele com Manager Ċ import Ġandroid . tele phony . Carrier Config Manager Ċ import Ġandroid . tele phony . Subscription Manager Ċ import Ġandroid . tele phony . Tele phony Manager Ċ import Ġandroid . view . LayoutInflater Ċ import Ġandroid . view . WindowManager Ċ import Ġandroid . view . accessibility . Accessibility Manager Ċ import Ġandroid . view . accessibility . Caption ing Manager Ċ import Ġandroid . view . input method . Input Method Manager Ċ import Ġandroid . view . text classifier . Text Classification Manager Ċ import Ġandroid . view . text service . Text Services Manager Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ*/ Ċ inline Ġval ĠContext . activity Manager : ĠActivity Manager ĊĠĠĠ Ġget () Ġ= Ġget System Service OrThrow ( Context . ACTIVITY _ SERVICE ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ*/ Ċ inline Ġval ĠContext . alarm Manager : ĠAlarm Manager ĊĠĠĠ Ġget () Ġ= Ġget System Service OrThrow ( Context . ALARM _ SERVICE ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ*/ Ċ inline Ġval ĠContext . audio Manager : ĠAudio Manager ĊĠĠĠ Ġget () Ġ= Ġget System Service OrThrow ( Context . AUDIO _ SERVICE ) Ċ Ċ inline Ġval ĠContext . clipboard Manager : ĠClip board Manager ? ĊĠĠĠ Ġget () Ġ= Ġget System Service OrNull ( Context . CLIP BOARD _ SERVICE ) Ċ Ċ inline Ġval ĠContext . connectivity Manager : ĠConnect ivity Manager ? ĊĠĠĠ Ġget () Ġ= Ġget System Service OrNull ( Context . CONNECT IVITY _ SERVICE ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ*/ Ċ inline Ġval ĠContext . key guard Manager : ĠKey guard Manager ĊĠĠĠ Ġget () Ġ= Ġget System Service OrThrow ( Context . KEY GU ARD _ SERVICE ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ*/ Ċ inline Ġval ĠContext . layout Inflater : ĠLayoutInflater ĊĠĠĠ Ġget () Ġ= Ġget System Service OrThrow ( Context . LAYOUT _ IN FL ATER _ SERVICE ) Ċ Ċ inline Ġval ĠContext . location Manager : ĠLocation Manager ? ĊĠĠĠ Ġget () Ġ= Ġget System Service OrNull ( Context . LOCATION _ SERVICE ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ*/ Ċ inline Ġval ĠContext . notification Manager : ĠNotification Manager ĊĠĠĠ Ġget () Ġ= Ġget System Service OrThrow ( Context . NOTIFICATION _ SERVICE ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ* Ċ Ġ* ĠRequires Ġ` support - compat ` Ġlibrary Ġversion Ġ 2 4 . 2 . 0 Ġor Ġlater Ċ Ġ* Ġor Ġ` support - v 4 ` Ġlibrary Ġversion Ġ 2 2 . 0 . 0 Ġor Ġlater . Ċ Ġ*/ Ċ inline Ġval ĠContext . notification Manager Compat : ĠNotification Manager Compat ĊĠĠĠ Ġget () Ġ= ĠNotification Manager Compat . from ( this ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ*/ Ċ inline Ġval ĠContext . power Manager : ĠPower Manager ĊĠĠĠ Ġget () Ġ= Ġget System Service OrThrow ( Context . POWER _ SERVICE ) Ċ Ċ inline Ġval ĠContext . search Manager : ĠSearch Manager ? ĊĠĠĠ Ġget () Ġ= Ġget System Service OrNull ( Context . SEARCH _ SERVICE ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ*/ Ċ inline Ġval ĠContext . sensor Manager : ĠSensor Manager ĊĠĠĠ Ġget () Ġ= Ġget System Service OrThrow ( Context . SENSOR _ SERVICE ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ*/ Ċ inline Ġval ĠContext . tele phony Manager : ĠTele phony Manager ĊĠĠĠ Ġget () Ġ= Ġget System Service OrThrow ( Context . TELE PHONY _ SERVICE ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ*/ Ċ inline Ġval ĠContext . vi br ator : ĠV ibr ator ĊĠĠĠ Ġget () Ġ= Ġget System Service OrThrow ( Context . V IB R ATOR _ SERVICE ) Ċ Ċ inline Ġval ĠContext . wall paper Service : ĠWall paper Manager ? ĊĠĠĠ Ġget () Ġ= Ġget System Service OrNull ( Context . WALL P AP ER _ SERVICE ) Ċ Ċ inline Ġval ĠContext . wifi Manager : ĠW ifi Manager ? ĊĠĠĠ Ġget () Ġ= Ġif Ġ( Build . VERSION . SDK _ INT Ġ< ĠBuild . VERSION _ CODES . N ) Ġ{ ĊĠĠĠĠĠĠĠ Ġapplication Context . getSystem Service OrNull ( Context . WIFI _ SERVICE ) ĊĠĠĠ Ġ} Ġelse Ġ{ ĊĠĠĠĠĠĠĠ Ġget System Service OrNull ( Context . WIFI _ SERVICE ) ĊĠĠĠ Ġ} Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ*/ Ċ inline Ġval ĠContext . window Manager : ĠWindow Manager ĊĠĠĠ Ġget () Ġ= Ġget System Service OrThrow ( Context . WINDOW _ SERVICE ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ*/ Ċ inline Ġval ĠContext . input Method Manager : ĠInput Method Manager ĊĠĠĠ Ġget () Ġ= Ġget System Service OrThrow ( Context . INPUT _ METHOD _ SERVICE ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ*/ Ċ inline Ġval ĠContext . accessibility Manager : ĠAccessibility Manager ĊĠĠĠ Ġget () Ġ= Ġget System Service OrThrow ( Context . ACC ES SI B ILITY _ SERVICE ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ*/ Ċ @ get : Requires Api ( 5 ) Ċ inline Ġval ĠContext . account Manager : ĠAccount Manager ĊĠĠĠ Ġget () Ġ= Ġget System Service OrThrow ( Context . ACCOUNT _ SERVICE ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ*/ Ċ @ get : Requires Api ( 8 ) Ċ inline Ġval ĠContext . device Policy Manager : ĠDevice Policy Manager ĊĠĠĠ Ġget () Ġ= Ġget System Service OrThrow ( Context . DEVICE _ POLICY _ SERVICE ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ*/ Ċ @ get : Requires Api ( 8 ) Ċ inline Ġval ĠContext . drop Box Manager : ĠDrop Box Manager ĊĠĠĠ Ġget () Ġ= Ġget System Service OrThrow ( Context . DROP BOX _ SERVICE ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ*/ Ċ @ get : Requires Api ( 8 ) Ċ inline Ġval ĠContext . ui Mode Manager : ĠUi Mode Manager ĊĠĠĠ Ġget () Ġ= Ġget System Service OrThrow ( Context . UI _ MODE _ SERVICE ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ*/ Ċ @ get : Requires Api ( 9 ) Ċ inline Ġval ĠContext . download Manager : ĠDownload Manager ĊĠĠĠ Ġget () Ġ= Ġget System Service OrThrow ( Context . DOWNLOAD _ SERVICE ) Ċ Ċ @ get : Requires Api ( 9 ) Ċ inline Ġval ĠContext . storage Manager : ĠStorage Manager ? ĊĠĠĠ Ġget () Ġ= Ġget System Service OrNull ( Context . STORAGE _ SERVICE ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ*/ Ċ @ get : Requires Api ( 1 0 ) Ċ inline Ġval ĠContext . n fc Manager : ĠN fc Manager ĊĠĠĠ Ġget () Ġ= Ġget System Service OrThrow ( Context . N FC _ SERVICE ) Ċ Ċ @ get : Requires Api ( 1 2 ) Ċ inline Ġval ĠContext . usb Manager : ĠU sb Manager ? ĊĠĠĠ Ġget () Ġ= Ġget System Service OrNull ( Context . USB _ SERVICE ) Ċ Ċ @ get : Requires Api ( 1 4 ) Ċ inline Ġval ĠContext . text Services Manager : ĠText Services Manager ? ĊĠĠĠ Ġget () Ġ= Ġget System Service OrNull ( Context . TEXT _ SERVICES _ MANAGER _ SERVICE ) Ċ Ċ @ get : Requires Api ( 1 4 ) Ċ inline Ġval ĠContext . wifi P 2 p Manager : ĠW ifi P 2 p Manager ? ĊĠĠĠ Ġget () Ġ= Ġget System Service OrNull ( Context . WIFI _ P 2 P _ SERVICE ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ*/ Ċ @ get : Requires Api ( 1 6 ) Ċ inline Ġval ĠContext . input Manager : ĠInput Manager ĊĠĠĠ Ġget () Ġ= Ġget System Service OrThrow ( Context . INPUT _ SERVICE ) Ċ Ċ @ get : Requires Api ( 1 6 ) Ċ inline Ġval ĠContext . media Router : ĠMedia Router ? ĊĠĠĠ Ġget () Ġ= Ġget System Service OrNull ( Context . MEDIA _ ROUT ER _ SERVICE ) Ċ Ċ @ get : Requires Api ( 1 6 ) Ċ inline Ġval ĠContext . ns d Manager : ĠN sd Manager ? ĊĠĠĠ Ġget () Ġ= Ġget System Service OrNull ( Context . NS D _ SERVICE ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ*/ Ċ @ get : Requires Api ( 1 7 ) Ċ inline Ġval ĠContext . display Manager : ĠDisplay Manager ĊĠĠĠ Ġget () Ġ= Ġget System Service OrThrow ( Context . DISPLAY _ SERVICE ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ* Ċ Ġ* ĠRequires Ġ` support - compat ` Ġlibrary Ġversion Ġ 2 4 . 2 . 0 Ġor Ġlater Ċ Ġ* Ġor Ġ` support - v 4 ` Ġlibrary Ġversion Ġ 2 2 . 0 . 0 Ġor Ġlater . Ċ Ġ*/ Ċ inline Ġval ĠContext . display Manager Compat : ĠDisplay Manager Compat ĊĠĠĠ Ġget () Ġ= ĠDisplay Manager Compat . getInstance ( this ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ*/ Ċ @ get : Requires Api ( 1 7 ) Ċ inline Ġval ĠContext . user Manager : ĠUser Manager ĊĠĠĠ Ġget () Ġ= Ġget System Service OrThrow ( Context . USER _ SERVICE ) Ċ Ċ @ get : Requires Api ( 1 8 ) Ċ inline Ġval ĠContext . bluetooth Manager : ĠBluetooth Manager ? ĊĠĠĠ Ġget () Ġ= Ġget System Service OrNull ( Context . BL U ETO OTH _ SERVICE ) Ċ Ċ @ get : Requires Api ( 1 9 ) Ċ inline Ġval ĠContext . app Ops Manager : ĠApp Ops Manager ? ĊĠĠĠ Ġget () Ġ= Ġget System Service OrNull ( Context . APP _ OPS _ SERVICE ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ*/ Ċ @ get : Requires Api ( 1 9 ) Ċ inline Ġval ĠContext . caption ing Manager : ĠCaption ing Manager ĊĠĠĠ Ġget () Ġ= Ġget System Service OrThrow ( Context . CAP TION ING _ SERVICE ) Ċ Ċ @ get : Requires Api ( 1 9 ) Ċ inline Ġval ĠContext . consumer Ir Manager : ĠConsumer Ir Manager ? ĊĠĠĠ Ġget () Ġ= Ġget System Service OrNull ( Context . CON SUM ER _ IR _ SERVICE ) Ċ Ċ @ get : Requires Api ( 1 9 ) Ċ inline Ġval ĠContext . print Manager : ĠPrint Manager ? ĊĠĠĠ Ġget () Ġ= Ġget System Service OrNull ( Context . PRINT _ SERVICE ) Ċ Ċ @ get : Requires Api ( 2 1 ) Ċ inline Ġval ĠContext . app Widget Manager : ĠApp Widget Manager ? ĊĠĠĠ Ġget () Ġ= Ġget System Service OrNull ( Context . APP WIDGET _ SERVICE ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ*/ Ċ @ get : Requires Api ( 2 1 ) Ċ inline Ġval ĠContext . battery Manager : ĠB attery Manager ĊĠĠĠ Ġget () Ġ= Ġget System Service OrThrow ( Context . B ATTER Y _ SERVICE ) Ċ Ċ @ get : Requires Api ( 2 1 ) Ċ inline Ġval ĠContext . camera Manager : ĠCamera Manager ? ĊĠĠĠ Ġget () Ġ= Ġget System Service OrNull ( Context . CAMERA _ SERVICE ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ*/ Ċ @ get : Requires Api ( 2 1 ) Ċ inline Ġval ĠContext . job Scheduler : ĠJob Scheduler ĊĠĠĠ Ġget () Ġ= Ġget System Service OrThrow ( Context . JOB _ SCHEDUL ER _ SERVICE ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ*/ Ċ @ get : Requires Api ( 2 1 ) Ċ inline Ġval ĠContext . launcher Apps : ĠLaunch er Apps ĊĠĠĠ Ġget () Ġ= Ġget System Service OrThrow ( Context . LA UNCH ER _ APPS _ SERVICE ) Ċ Ċ @ get : Requires Api ( 2 1 ) Ċ inline Ġval ĠContext . media Projection Manager : ĠMedia Projection Manager ? ĊĠĠĠ Ġget () Ġ= Ġget System Service OrNull ( Context . MEDIA _ PRO JECTION _ SERVICE ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ*/ Ċ @ get : Requires Api ( 2 1 ) Ċ inline Ġval ĠContext . media Session Manager : ĠMedia Session Manager ĊĠĠĠ Ġget () Ġ= Ġget System Service OrThrow ( Context . MEDIA _ SESSION _ SERVICE ) Ċ Ċ @ get : Requires Api ( 2 1 ) Ċ inline Ġval ĠContext . re strictions Manager : ĠRe strictions Manager ? ĊĠĠĠ Ġget () Ġ= Ġget System Service OrNull ( Context . RE STRI CTION S _ SERVICE ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ*/ Ċ @ get : Requires Api ( 2 1 ) Ċ inline Ġval ĠContext . tele com Manager : ĠTele com Manager ĊĠĠĠ Ġget () Ġ= Ġget System Service OrThrow ( Context . TELE COM _ SERVICE ) Ċ Ċ @ get : Requires Api ( 2 1 ) Ċ inline Ġval ĠContext . tv Input Manager : ĠT v Input Manager ? ĊĠĠĠ Ġget () Ġ= Ġget System Service OrNull ( Context . TV _ INPUT _ SERVICE ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ*/ Ċ @ get : Requires Api ( 2 2 ) Ċ inline Ġval ĠContext . subscription Manager : ĠSubscription Manager ĊĠĠĠ Ġget () Ġ= Ġget System Service OrThrow ( Context . TELE PHONY _ SUB SCRIPTION _ SERVICE ) Ċ Ċ @ get : Requires Api ( 2 2 ) Ċ inline Ġval ĠContext . usage Stats Manager : ĠUsage Stats Manager ? ĊĠĠĠ Ġget () Ġ= Ġget System Service OrNull ( Context . USAGE _ STATS _ SERVICE ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ*/ Ċ @ get : Requires Api ( 2 3 ) Ċ inline Ġval ĠContext . carrier Config Manager : ĠCar rier Config Manager ĊĠĠĠ Ġget () Ġ= Ġget System Service OrThrow ( Context . CAR RI ER _ CONFIG _ SERVICE ) Ċ Ċ @ get : Requires Api ( 2 3 ) Ċ inline Ġval ĠContext . fingerprint Manager : ĠF ingerprint Manager ? ĊĠĠĠ Ġget () Ġ= Ġget System Service OrNull ( Context . F ING ER PRINT _ SERVICE ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ* Ċ Ġ* ĠRequires Ġ` support - compat ` Ġlibrary Ġversion Ġ 2 3 . 0 . 0 Ġor Ġlater . Ċ Ġ*/ Ċ inline Ġval ĠContext . fingerprint Manager Compat : ĠF ingerprint Manager Compat ĊĠĠĠ Ġget () Ġ= ĠF ingerprint Manager Compat . from ( this ) Ċ Ċ @ get : Requires Api ( 2 3 ) Ċ inline Ġval ĠContext . midi Manager : ĠM idi Manager ? ĊĠĠĠ Ġget () Ġ= Ġget System Service OrNull ( Context . MIDI _ SERVICE ) Ċ Ċ @ get : Requires Api ( 2 3 ) Ċ inline Ġval ĠContext . network Stats Manager : ĠNetwork Stats Manager ? ĊĠĠĠ Ġget () Ġ= Ġget System Service OrNull ( Context . NETWORK _ STATS _ SERVICE ) Ċ Ċ @ get : Requires Api ( 2 4 ) Ċ inline Ġval ĠContext . hardware Properties Manager : ĠHardware Properties Manager ? ĊĠĠĠ Ġget () Ġ= Ġget System Service OrNull ( Context . HARD WARE _ PROPERTIES _ SERVICE ) Ċ Ċ @ get : Requires Api ( 2 4 ) Ċ inline Ġval ĠContext . system Health Manager : ĠSystem Health Manager ? ĊĠĠĠ Ġget () Ġ= Ġget System Service OrNull ( Context . SYSTEM _ HE ALTH _ SERVICE ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ*/ Ċ @ get : Requires Api ( 2 5 ) Ċ inline Ġval ĠContext . shortcut Manager : ĠShort cut Manager ĊĠĠĠ Ġget () Ġ= Ġget System Service OrThrow ( Context . SHORT CUT _ SERVICE ) Ċ Ċ @ get : Requires Api ( 2 6 ) Ċ inline Ġval ĠContext . comp anion Device Manager : ĠComp anion Device Manager ? ĊĠĠĠ Ġget () Ġ= Ġget System Service OrNull ( Context . COMP AN ION _ DEVICE _ SERVICE ) Ċ Ċ @ get : Requires Api ( 2 6 ) Ċ inline Ġval ĠContext . storage Stats Manager : ĠStorage Stats Manager ? ĊĠĠĠ Ġget () Ġ= Ġget System Service OrNull ( Context . STORAGE _ STATS _ SERVICE ) Ċ Ċ /** Ċ Ġ* ĠNever Ġnull . Ċ Ġ*/ Ċ @ get : Requires Api ( 2 6 ) Ċ inline Ġval ĠContext . text Classification Manager : ĠText Classification Manager ĊĠĠĠ Ġget () Ġ= Ġget System Service OrThrow ( Context . TEXT _ CLAS SIF ICATION _ SERVICE ) Ċ Ċ @ get : Requires Api ( 2 6 ) Ċ inline Ġval ĠContext . wifi Aware Manager : ĠW ifi Aware Manager ? ĊĠĠĠ Ġget () Ġ= Ġget System Service OrNull ( Context . WIFI _ AW ARE _ SERVICE ) Ċ Ċ inline Ġfun Ġ< re ified ĠT > ĠContext . getSystem Service OrNull ( name : ĠString ): ĠT ? Ġ= ĊĠĠĠĠĠĠĠ Ġget System Service ( name ) Ġas ĠT ? Ċ Ċ /** Ċ Ġ* Ġ@ throws ĠService NotFoundException ĠWhen Ġservice Ġis Ġnot Ġfound . Ċ Ġ*/ Ċ inline Ġfun Ġ< re ified ĠT > ĠContext . getSystem Service OrThrow ( name : ĠString ): ĠT Ġ= ĊĠĠĠĠĠĠĠ Ġget System Service OrNull < T >( name ) Ġ?: ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġthrow ĠService NotFoundException ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ"${ T :: class . java . simple Name } Ġnot Ġfound .") Ċ Ċ @ Requires Api ( 2 3 ) Ċ inline Ġfun Ġ< re ified ĠT > ĠContext . getSystem Service OrNull (): ĠT ? Ġ= ĊĠĠĠĠĠĠĠ Ġget System Service ( T :: class . java ) Ċ Ċ /** Ċ Ġ* Ġ@ throws ĠService NotFoundException ĠWhen Ġservice Ġis Ġnot Ġfound . Ċ Ġ*/ Ċ @ Requires Api ( 2 3 ) Ċ inline Ġfun Ġ< re ified ĠT > ĠContext . getSystem Service OrThrow (): ĠT Ġ= ĊĠĠĠĠĠĠĠ Ġget System Service OrNull < T >() Ġ?: ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġthrow ĠService NotFoundException ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ"${ T :: class . java . simple Name } Ġnot Ġfound .") Ċ