checks if the app has been installed on the system . concode_field_sep String mPackageName concode_elem_sep long DEFAULT_MS_BETWEEN_RUNS concode_elem_sep long DEFAULT_MS_MAXIMUM_WAITING_TIME concode_elem_sep long mTimestampStarted concode_elem_sep Observer mObserver concode_elem_sep long mMsMaximumWaitingTime concode_elem_sep Handler mHandler concode_elem_sep PackageManager mPackageManager concode_elem_sep long mMsBetweenRuns concode_elem_sep boolean mIsRunning concode_field_sep void cancel concode_elem_sep boolean isRunning concode_elem_sep void setTimingForTests concode_elem_sep void start concode_elem_sep void run concode_elem_sep void onInstallFinished
boolean function ( PackageManager arg0 , String arg1 ) { List < PackageInfo > loc0 = arg0 . getInstalledPackages ( 0 ) ; for ( int loc1 = 0 ; loc1 < loc0 . size ( ) ; loc1 ++ ) { if ( TextUtils . equals ( loc0 . get ( loc1 ) . arg1 , arg1 ) ) return true ; } return false ; }