auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
boolean isNumberPossibleForDesc ( java.lang.String nationalNumber , com.google.i18n.phonenumbers.nano.Phonemetadata.PhoneNumberDesc numberDesc ) { java.util.regex.Matcher possibleNumberPatternMatcher = regexCache.getPatternForRegex ( numberDesc.possibleNumberPattern ) . matcher ( nationalNumber ) ; return possibleNumberPatternMatcher.matches ( ) ; }

Target:
boolean isNumberMatchingDesc ( java.lang.String nationalNumber , com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc numberDesc ) { java.util.regex.Matcher nationalNumberPatternMatcher = regexCache.getPatternForRegex ( numberDesc.getNationalNumberPattern ( ) ) . matcher ( nationalNumber ) ; return ( isNumberPossibleForDesc ( nationalNumber , numberDesc ) ) && ( nationalNumberPatternMatcher.matches ( ) ) ; }
Source:
public static final int myPpid ( ) { return Libcore.os.getppid ( ) ; }

Target:
public static final int myPpid ( ) { return android.system.Os.getppid ( ) ; }
Source:
public android.os.Bundle confirmCredentials ( android.accounts.AccountAuthenticatorResponse r , android.accounts.Account account , android.os.Bundle bundle ) throws android.accounts.NetworkErrorException { android.util.Log.d ( com.android.bluetooth.pbapclient.Authenticator.TAG , "got call" , new java.lang.Exception ( ) ) ; return null ; }

Target:
public android.os.Bundle updateCredentials ( android.accounts.AccountAuthenticatorResponse r , android.accounts.Account account , java.lang.String s , android.os.Bundle bundle ) throws android.accounts.NetworkErrorException { if ( com.android.bluetooth.pbapclient.Authenticator.DBG ) android.util.Log.d ( com.android.bluetooth.pbapclient.Authenticator.TAG , "got call" , new java.lang.Exception ( ) ) ; return null ; }
Source:
private static boolean checkUseInstalled ( int flags , android.content.pm.PackageUserState state ) { return ( state.installed ) || ( ( flags & ( PackageManager.GET_UNINSTALLED_PACKAGES ) ) != 0 ) ; }

Target:
private static boolean checkUseInstalledOrBlocked ( int flags , android.content.pm.PackageUserState state ) { return ( ( state.installed ) && ( ! ( state.blocked ) ) ) || ( ( flags & ( PackageManager.GET_UNINSTALLED_PACKAGES ) ) != 0 ) ; }
Source:
public javax.net.ssl.SSLSession getSession ( ) { if ( ( session ) != null ) { return session ; } return SSLSessionImpl.NULL_SESSION ; }

Target:
public javax.net.ssl.SSLSession getSession ( ) { if ( ( session ) != null ) { return session ; } return org.conscrypt.SSLSessionImpl.getNullSession ( ) ; }
Source:
T get ( int key ) { T val = mArray.get ( key ) ; if ( val != null ) { val.checkOwnerOrSystem ( ) ; } return val ; }

Target:
T getAndCheckOwner ( int key ) { T val = mArray.get ( key ) ; if ( val != null ) { val.checkOwnerOrSystem ( ) ; } return val ; }
Source:
private void assertRecorderNotCreated ( ) { if ( ( processRecorder ) != null ) { throw new java.lang.RuntimeException ( "ProcessRecorder already created." ) ; } }

Target:
private void assertRecorderNotCreated ( ) { if ( isInitialized ( ) ) { throw new java.lang.RuntimeException ( "ProcessRecorder already created." ) ; } }
Source:
public void provideConstructorArguments ( java.util.List < org.apache.harmony.jpda.tests.framework.jdwp.Value > constructorArguments ) { }

Target:
public void testNewInstanceString_NoArgConstructor ( ) { runTestNewInstanceString ( "()V" , new org.apache.harmony.jpda.tests.jdwp.ClassType.NoConstructorArgumentProvider ( ) ) ; }
Source:
public static double DoubleDivision ( ) { double a ; double b ; double c ; a = Main.$inline$double ( 8.0 ) ; b = Main.$inline$double ( 2.5 ) ; c = a / b ; return c ; }

Target:
public static int IntDivision ( ) { int a ; int b ; int c ; a = 8 ; b = 3 ; c = a / b ; return c ; }
Source:
private void resetUnreadCountForSelectedFilter ( ) { mLogCatFilters.get ( mCurrentSelectedFilterIndex ) . resetUnreadCount ( ) ; refreshFiltersTable ( ) ; }

Target:
private void resetUnreadCountForAllFilters ( ) { for ( com.android.ddmuilib.logcat.LogCatFilterData fd : mLogCatFilterData.values ( ) ) { fd.resetUnreadCount ( ) ; } refreshFiltersTable ( ) ; }
Source:
public void testAlignedMultilineParameters ( ) throws java.lang.Exception { getCurrentCodeStyleSettings ( ) . ALIGN_MULTILINE_PARAMETERS = true ; getCurrentCodeStyleSettings ( ) . ALIGN_MULTILINE_PARAMETERS_IN_CALLS = true ; doTest ( "void test123(int i, int j)" , "test123asd" ) ; }

Target:
public void testAlignedMultilineParameters ( ) throws java.lang.Exception { com.intellij.psi.codeStyle.CommonCodeStyleSettings javaSettings = getCurrentCodeStyleSettings ( ) . getCommonSettings ( JavaLanguage.INSTANCE ) ; javaSettings.ALIGN_MULTILINE_PARAMETERS = true ; javaSettings.ALIGN_MULTILINE_PARAMETERS_IN_CALLS = true ; doTest ( "void test123(int i, int j)" , "test123asd" ) ; }
Source:
public com.android.layoutlib.api.SceneResult getResult ( ) { return SceneStatus.NOT_IMPLEMENTED.getResult ( ) ; }

Target:
public com.android.layoutlib.api.SceneResult getResult ( ) { return SceneStatus.NOT_IMPLEMENTED.createResult ( ) ; }
Source:
com.google.common.util.concurrent.Service.State stopAndWait ( ) ;

Target:
void awaitRunning ( long timeout , java.util.concurrent.TimeUnit unit ) throws java.util.concurrent.TimeoutException ;
Source:
public void onSelected ( boolean newState ) { rescale ( ( - 1 ) ) ; }

Target:
public void onSelected ( boolean newState ) { mZoomOutButton.setEnabled ( ( ! newState ) ) ; mZoomResetButton.setEnabled ( ( ! newState ) ) ; mZoomInButton.setEnabled ( ( ! newState ) ) ; rescaleToReal ( newState ) ; }
Source:
synchronized int nScriptKernelIDCreate ( int sid , int slot , int sig ) { validate ( ) ; return rsnScriptKernelIDCreate ( mContext , sid , slot , sig ) ; }

Target:
synchronized void nScriptSetVarJ ( long id , int slot , long val ) { validate ( ) ; rsnScriptSetVarJ ( mContext , id , slot , val ) ; }
Source:
public static int IntMatCond_IntVarVar ( int a , int b , int x , int y ) { int result = ( a > b ) ? x : y ; return result + ( a > b ? 0 : 1 ) ; }

Target:
public static long IntNonmatCond_LongVarVar ( int a , int b , long x , long y ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return a > b ? x : y ; }
Source:
public void setSmsListener ( com.android.ims.internal.IImsSmsListener listener ) { getSmsImplementation ( ) . registerSmsListener ( listener ) ; }

Target:
private void setSmsListener ( android.telephony.ims.aidl.IImsSmsListener listener ) { getSmsImplementation ( ) . registerSmsListener ( listener ) ; }
Source:
public void testUnescapeStringShouldPreserveWhitespace ( ) throws java.lang.Exception { assertEquals ( "at end " , com.android.ide.common.resources.ValueResourceParser.unescapeResourceString ( "\"at end \"" , false , true ) ) ; assertEquals ( " at begin" , com.android.ide.common.resources.ValueResourceParser.unescapeResourceString ( "\" at begin\"" , false , true ) ) ; }

Target:
public void testUnescapeStringShouldPreserveWhitespace ( ) throws java.lang.Exception { assertEquals ( "at end " , com.android.ide.common.res2.ValueXmlHelper.unescapeResourceString ( "\"at end \"" , false , true ) ) ; assertEquals ( " at begin" , com.android.ide.common.res2.ValueXmlHelper.unescapeResourceString ( "\" at begin\"" , false , true ) ) ; }
Source:
public java.io.File getOutputFile ( ) { return getVariantData ( ) . getOutputFile ( ) ; }

Target:
public java.io.File getOutputFile ( ) { return getVariantData ( ) . getOutputs ( ) . get ( 0 ) . getOutputFile ( ) ; }
Source:
public static boolean isSyncActive ( android.accounts.Account account , java.lang.String authority ) { try { return android.content.ContentResolver.getContentService ( ) . isSyncActive ( account , authority ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( "the ContentService should always be reachable" , e ) ; } }

Target:
public static android.content.SyncAdapterType [ ] getSyncAdapterTypesAsUser ( int userId ) { try { return android.content.ContentResolver.getContentService ( ) . getSyncAdapterTypesAsUser ( userId ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( "the ContentService should always be reachable" , e ) ; } }
Source:
public long getMobileTcpBytesSent ( int which ) { return getTcpBytes ( android.os.NetStat.getMobileTxBytes ( ) , mMobileDataTx , which ) ; }

Target:
public long getMobileTcpBytesSent ( int which ) { return getTcpBytes ( android.net.TrafficStats.getMobileTxBytes ( ) , mMobileDataTx , which ) ; }
Source:
public void onStopRtt ( ) { }

Target:
public void onStopRtt ( ) { com.android.services.telephony.Log.i ( this , "Stopping RTT currently not supported. Doing nothing." ) ; }
Source:
public int hashCode ( ) { int primeNum = 31 ; return ( ( mSignalStrength ) * primeNum ) + ( ( mBitErrorRate ) * primeNum ) ; }

Target:
public int hashCode ( ) { return java.util.Objects.hash ( mSignalStrength , mBitErrorRate ) ; }
Source:
public com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode appendNewUiChild ( com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor descriptor ) { com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode ui_node ; ui_node = descriptor.createUiNode ( ) ; mUiChildren.add ( ui_node ) ; ui_node.setUiParent ( this ) ; ui_node.invokeUiUpdateListeners ( UiUpdateState.CREATED ) ; return ui_node ; }

Target:
public com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode appendNewUiChild ( com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor descriptor ) { com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode uiNode ; uiNode = descriptor.createUiNode ( ) ; mUiChildren.add ( uiNode ) ; uiNode.setUiParent ( this ) ; uiNode.invokeUiUpdateListeners ( UiUpdateState.CREATED ) ; return uiNode ; }
Source:
public boolean getAudioRouteAllowed ( ) { com.android.bluetooth.hfpclient.HeadsetClientService service = getService ( ) ; if ( service != null ) { return service.getAudioRouteAllowed ( ) ; } return false ; }

Target:
public boolean getAudioRouteAllowed ( android.bluetooth.BluetoothDevice device ) { android.util.Log.e ( com.android.bluetooth.hfpclient.HeadsetClientService.TAG , "getAudioRouteAllowed API not supported" ) ; return false ; }
Source:
public void addU32 ( android.support.v8.renderscript.Long3 v ) { mN.addU32 ( new android.support.v8.renderscript.Long3 ( v.x , v.y , v.z ) ) ; }

Target:
public void addU32 ( android.support.v8.renderscript.Long3 v ) { mN.addU32 ( new android.support.v8.renderscript.Long3 ( v.x , v.y , v.z ) ) ; mPos += 12 ; }
Source:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { Main.parseAndRun ( args ) ; }

Target:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { java.lang.System.loadLibrary ( args [ 0 ] ) ; Main.parseAndRun ( args ) ; }
Source:
public void testResourceType ( ) { for ( com.android.ide.eclipse.adt.internal.resources.ResourceType type : com.android.ide.eclipse.adt.internal.resources.ResourceType.values ( ) ) { assertTrue ( type.getDisplayName ( ) , ( ( com.android.ide.eclipse.adt.internal.resources.manager.FolderTypeRelationship.getRelatedFolders ( type ) . length ) > 0 ) ) ; } }

Target:
public void testResourceType ( ) { for ( com.android.resources.ResourceType type : com.android.resources.ResourceType.values ( ) ) { assertTrue ( type.getDisplayName ( ) , ( ( com.android.ide.eclipse.adt.internal.resources.manager.FolderTypeRelationship.getRelatedFolders ( type ) . length ) > 0 ) ) ; } }
Source:
protected void unserialize ( java.nio.ByteBuffer bytes ) { m_index_ = new char [ m_dataOffset_ ] ; for ( int i = 0 ; i < ( m_dataOffset_ ) ; i ++ ) { m_index_ [ i ] = bytes.getChar ( ) ; } }

Target:
protected void unserialize ( java.nio.ByteBuffer bytes ) { m_index_ = com.ibm.icu.impl.ICUBinary.getChars ( bytes , m_dataOffset_ , 0 ) ; }
Source:
private static com.android.internal.util.ProcFileReader buildReader ( java.lang.String string , int bufferSize ) throws java.io.IOException { return new com.android.internal.util.ProcFileReader ( new java.io.ByteArrayInputStream ( string.getBytes ( Charsets.US_ASCII ) ) , bufferSize ) ; }

Target:
private static com.android.internal.util.ProcFileReader buildReader ( java.lang.String string , int bufferSize ) throws java.io.IOException { return new com.android.internal.util.ProcFileReader ( new java.io.ByteArrayInputStream ( string.getBytes ( java.nio.charset.StandardCharsets.US_ASCII ) ) , bufferSize ) ; }
Source:
public double nextDouble ( ) { return ( ( ( ( long ) ( next ( 26 ) ) ) << 27 ) + ( next ( 27 ) ) ) / ( ( double ) ( 1L << 53 ) ) ; }

Target:
public double nextDouble ( ) { return ( ( ( ( long ) ( next ( 26 ) ) ) << 27 ) + ( next ( 27 ) ) ) * ( java.util.Random.DOUBLE_UNIT ) ; }
Source:
public static int SubAliasNeg ( int arg ) { return 0 - arg ; }

Target:
public static int $noinline$SubAliasNeg ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return 0 - arg ; }
Source:
public static com.android.dialer.duo.Duo.ReachabilityData create ( java.lang.String number , boolean videoCallable , boolean supportsUpgrade ) { return new com.android.dialer.duo.AutoValue_Duo_ReachabilityData ( number , videoCallable , supportsUpgrade ) ; }

Target:
public static com.android.dialer.duo.Duo.ReachabilityData create ( com.android.dialer.duo.Duo.ReachabilityData.Status status , java.lang.String number , boolean audioCallable , boolean videoCallable , boolean supportsUpgrade ) { return new com.android.dialer.duo.AutoValue_Duo_ReachabilityData ( status , number , audioCallable , videoCallable , supportsUpgrade ) ; }
Source:
private void bindAndInitialize ( ) throws android.telephony.mbms.MbmsInitializationException { try { mService.initialize ( mDownloadAppName , mSubId , mCallback ) ; } catch ( android.os.RemoteException e ) { throw new android.telephony.mbms.MbmsInitializationException ( 0 ) ; } }

Target:
private void bindAndInitialize ( ) throws android.telephony.mbms.MbmsException { try { mService.initialize ( mDownloadAppName , mSubId , mCallback ) ; } catch ( android.os.RemoteException e ) { throw new android.telephony.mbms.MbmsException ( 0 ) ; } }
Source:
public void onConnectionSuspended ( ) { mConnState = com.android.bluetooth.avrcp.BrowsedMediaPlayer.SUSPENDED ; android.util.Log.e ( com.android.bluetooth.avrcp.BrowsedMediaPlayer.TAG , ( "mediaBrowser SUSPENDED connection with " + ( mPackageName ) ) ) ; }

Target:
public void onConnectionSuspended ( ) { mBrowser = null ; mConnState = com.android.bluetooth.avrcp.BrowsedMediaPlayer.SUSPENDED ; android.util.Log.e ( com.android.bluetooth.avrcp.BrowsedMediaPlayer.TAG , ( "mediaBrowser SUSPENDED connection with " + ( mPackageName ) ) ) ; }
Source:
public boolean onBar4Setup ( android.widget.SeekBar b , android.widget.TextView t ) { b.setMax ( 128 ) ; b.setProgress ( 128 ) ; t.setText ( "Out White" ) ; return true ; }

Target:
public boolean onBar4Setup ( android.widget.SeekBar b , android.widget.TextView t ) { b.setMax ( 128 ) ; b.setProgress ( 128 ) ; t.setText ( "In White" ) ; return true ; }
Source:
synchronized void nAllocationElementData1D ( long id , int xoff , int mip , int compIdx , byte [ ] d , int sizeBytes ) { validate ( ) ; rsnAllocationElementData1D ( mContext , id , xoff , mip , compIdx , d , sizeBytes ) ; }

Target:
native void rsnAllocationElementData ( long con , long id , int xoff , int yoff , int zoff , int mip , int compIdx , byte [ ] d , int sizeBytes ) ;
Source:
K getKey ( int index ) { return keyToIndex ( ) . keySet ( ) . asList ( ) . get ( index ) ; }

Target:
public com.google.common.collect.Table.Cell < R , C , V > get ( int index ) { return getCell ( index ) ; }
Source:
public void testNoUsesSdkPresenceInMain ( ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { java.lang.String main = "" + ( ( ( ( ( ( "<manifest\n" + " xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + " package=\"com.example.lib3\">\n" ) + "\n" ) + " <application android:label=\"@string/lib_name\" />\n" ) + "\n" ) + "</manifest>" ) ; java.lang.String library = "" + ( ( ( ( ( ( ( ( "<manifest\n" + " xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + " xmlns:acme=\"http://acme.org/schemas\"\n" ) + " package=\"com.example.lib3\">\n" ) + "\n" ) + " <activity android:name=\"activityOne\" />\n" ) + " <uses-sdk android:minSdkVersion=\"3\"/>\n" ) + "\n" ) + "</manifest>" ) ; com.android.manifmerger.XmlDocument mainDocument = com.android.manifmerger.TestUtils.xmlDocumentFromString ( new com.android.manifmerger.TestUtils.TestSourceLocation ( getClass ( ) , "main" ) , main ) ; com.android.manifmerger.XmlDocument libraryDocument = com.android.manifmerger.TestUtils.xmlDocumentFromString ( new com.android.manifmerger.TestUtils.TestSourceLocation ( getClass ( ) , "library" ) , library ) ; com.android.manifmerger.MergingReport.Builder mergingReportBuilder = new com.android.manifmerger.MergingReport.Builder ( mLogger ) ; com.google.common.base.Optional < com.android.manifmerger.XmlDocument > mergedDocument = mainDocument.merge ( libraryDocument , mergingReportBuilder ) ; assertFalse ( mergedDocument.isPresent ( ) ) ; }

Target:
public void testNoUsesSdkPresenceInMain ( ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { java.lang.String main = "" + ( ( ( ( ( ( "<manifest\n" + " xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + " package=\"com.example.lib3\">\n" ) + "\n" ) + " <application android:label=\"@string/lib_name\" />\n" ) + "\n" ) + "</manifest>" ) ; java.lang.String library = "" + ( ( ( ( ( ( ( ( "<manifest\n" + " xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + " xmlns:acme=\"http://acme.org/schemas\"\n" ) + " package=\"com.example.lib3\">\n" ) + "\n" ) + " <activity android:name=\"activityOne\" />\n" ) + " <uses-sdk android:minSdkVersion=\"3\"/>\n" ) + "\n" ) + "</manifest>" ) ; com.android.manifmerger.XmlDocument mainDocument = com.android.manifmerger.TestUtils.xmlDocumentFromString ( new com.android.manifmerger.TestUtils.TestSourceLocation ( getClass ( ) , "main" ) , main ) ; com.android.manifmerger.XmlDocument libraryDocument = com.android.manifmerger.TestUtils.xmlLibraryFromString ( new com.android.manifmerger.TestUtils.TestSourceLocation ( getClass ( ) , "library" ) , library ) ; com.android.manifmerger.MergingReport.Builder mergingReportBuilder = new com.android.manifmerger.MergingReport.Builder ( mLogger ) ; com.google.common.base.Optional < com.android.manifmerger.XmlDocument > mergedDocument = mainDocument.merge ( libraryDocument , mergingReportBuilder ) ; assertFalse ( mergedDocument.isPresent ( ) ) ; }
Source:
public void timeReadNetworkStatsDetailJava ( int reps ) throws java.lang.Exception { for ( int i = 0 ; i < reps ; i ++ ) { com.android.internal.net.NetworkStatsFactory.javaReadNetworkStatsDetail ( mStats , NetworkStats.UID_ALL ) ; } }

Target:
public void timeReadNetworkStatsDetailJava ( int reps ) throws java.lang.Exception { for ( int i = 0 ; i < reps ; i ++ ) { com.android.internal.net.NetworkStatsFactory.javaReadNetworkStatsDetail ( mStats , NetworkStats.UID_ALL , new java.lang.String [ 0 ] , 999 ) ; } }
Source:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface x ) { endVisit ( ( ( com.android.jack.ir.ast.JReferenceType ) ( x ) ) ) ; }

Target:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface definedClassOrInterface ) { endVisit ( ( ( com.android.jack.ir.ast.JReferenceType ) ( definedClassOrInterface ) ) ) ; }
Source:
public void registerObject ( @ javax.annotation.Nonnull java.lang.Object object , @ javax.annotation.Nonnegative long size , int count ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public void registerObject ( @ javax.annotation.Nonnull java.lang.Object object , @ javax.annotation.Nonnegative long size , int count ) { assert ( config ) == ( com.android.sched.util.config.ThreadConfig.getConfig ( ) ) ; throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public com.android.sched.vfs.InputOutputVDir getRootInputOutputVDir ( ) { return root ; }

Target:
public com.android.sched.vfs.OutputVDir getRootOutputVDir ( ) { assert ! ( closed ) ; return root ; }
Source:
public static native int EVP_VerifyFinal ( int ctx , byte [ ] signature , int offset , int length , int key ) ;

Target:
public static native void EVP_VerifyUpdate ( long ctx , byte [ ] buffer , int offset , int length ) ;
Source:
static void logToDb ( android.database.sqlite.SQLiteDatabase db , java.lang.String message ) { db.execSQL ( "INSERT INTO log (time,message) VALUES (strftime('%Y-%m-%d %H:%M:%f','now'),?);" , new java.lang.String [ ] { message } ) ; db.execSQL ( ( "DELETE FROM log WHERE rowid IN" + " (SELECT rowid FROM log ORDER BY time DESC LIMIT 500,-1);" ) ) ; }

Target:
static void logToDb ( android.database.sqlite.SQLiteDatabase db , java.lang.String message ) { db.execSQL ( "INSERT INTO log (time,message) VALUES (strftime('%Y-%m-%d %H:%M:%f','now'),?);" , new java.lang.String [ ] { message } ) ; db.execSQL ( ( "DELETE FROM log WHERE rowid IN" + " (SELECT rowid FROM log ORDER BY rowid DESC LIMIT 500,-1);" ) ) ; }
Source:
private void handleClearItemSelected ( ) { android.content.ContentResolver resolver = getContentResolver ( ) ; resolver.delete ( TestResultsProvider.RESULTS_CONTENT_URI , "1" , null ) ; android.widget.Toast.makeText ( this , R.string.test_results_cleared , Toast.LENGTH_SHORT ) . show ( ) ; }

Target:
private void handleClearItemSelected ( ) { mAdapter.clearTestResults ( ) ; android.widget.Toast.makeText ( this , R.string.test_results_cleared , Toast.LENGTH_SHORT ) . show ( ) ; }
Source:
public java.lang.String getIccSimChallengeResponse ( int appType , java.lang.String data ) { return getIccSimChallengeResponse ( android.telephony.TelephonyManager.getDefaultSubscription ( ) , appType , data ) ; }

Target:
public boolean iccCloseLogicalChannel ( int channel ) { return iccCloseLogicalChannel ( getSubId ( ) , channel ) ; }
Source:
protected boolean mustBeRemoved ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) { return ( ! ( type.isExternal ( ) ) ) && ( ! ( ( ( com.android.jack.ir.ast.JNode ) ( type ) ) . containsMarker ( com.android.jack.shrob.shrink.KeepMarker.class ) ) ) ; }

Target:
protected boolean mustBeRemoved ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) { return ( type.isToEmit ( ) ) && ( ! ( ( ( com.android.jack.ir.ast.JNode ) ( type ) ) . containsMarker ( com.android.jack.shrob.shrink.KeepMarker.class ) ) ) ; }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JParameterRef parameterRef ) { expression = new com.android.jack.ir.ast.JParameterRef ( parameterRef.getSourceInfo ( ) , getNewParameter ( parameterRef.getParameter ( ) ) ) ; return false ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JParameterRef parameterRef ) { com.android.jack.ir.ast.JParameter parameter = parameterRef.getParameter ( ) ; assert ( parameter.getEnclosingMethod ( ) ) == ( targetMethod ) ; expression = parameter.makeRef ( parameterRef.getSourceInfo ( ) ) ; return false ; }
Source:
public void testEncodeDecodeVideoFromBufferToBufferQCIF ( ) throws java.lang.Exception { setParameters ( 176 , 144 , 1000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_AVC ) ; encodeDecodeVideoFromBuffer ( false ) ; }

Target:
public void testEncodeDecodeVideoFromSurfaceToSurface720p ( ) throws java.lang.Throwable { setParameters ( 1280 , 720 , 6000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_AVC , true , false ) ; android.media.cts.EncodeDecodeTest.SurfaceToSurfaceWrapper.runTest ( this ) ; }
Source:
synchronized void nScriptSetVarI ( long id , int slot , int val ) { validate ( ) ; rsnScriptSetVarI ( mContext , id , slot , val ) ; }

Target:
synchronized void nScriptSetVarD ( long id , int slot , double val , boolean mUseInc ) { validate ( ) ; long curCon = mContext ; if ( mUseInc ) { curCon = mIncCon ; } rsnScriptSetVarD ( curCon , id , slot , val , mUseInc ) ; }
Source:
public void setup ( ) { put ( "Signature.FOO" , MockSignatureSpi.AllKeyTypes.class . getName ( ) ) ; }

Target:
public void setup ( ) { put ( "Signature.FOO" , MockSignatureSpi.AllKeyTypes.class . getName ( ) ) ; put ( "Signature.FOO SupportedKeyClasses" , "None" ) ; }
Source:
boolean isNumberGeographical ( com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber ) { com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType numberType = getNumberType ( phoneNumber ) ; return ( numberType == ( com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType.FIXED_LINE ) ) || ( numberType == ( com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType.FIXED_LINE_OR_MOBILE ) ) ; }

Target:
public boolean isNumberGeographical ( com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber ) { return isNumberGeographical ( getNumberType ( phoneNumber ) , phoneNumber.getCountryCode ( ) ) ; }
Source:
public void setStrength ( int value ) { icuColl.setStrength ( strength_Java_ICU ( value ) ) ; }

Target:
public void setStrength ( int value ) { if ( value == ( java.text.Collator.IDENTICAL ) ) { value = java.text.com.ibm.icu.text.Collator ; } icuColl.setStrength ( value ) ; }
Source:
public V2 getValue ( ) { return transformer.transformEntry ( entry.getKey ( ) , entry.getValue ( ) ) ; }

Target:
public java.util.Iterator < java.util.Map.Entry < K , V2 > > iterator ( ) { return com.google.common.collect.Iterators.transform ( fromMap.entrySet ( ) . iterator ( ) , com.google.common.collect.Maps.< K , V1 , V2 > asEntryToEntryFunction ( transformer ) ) ; }
Source:
public void queryCdmaRoamingPreference ( android.os.Message response ) { android.util.Log.w ( com.android.internal.telephony.test.SimulatedCommands.LOG_TAG , "CDMA not implemented in SimulatedCommands" ) ; unimplemented ( response ) ; }

Target:
public void queryCdmaRoamingPreference ( android.os.Message response ) { android.telephony.Rlog.w ( com.android.internal.telephony.test.SimulatedCommands.LOG_TAG , "CDMA not implemented in SimulatedCommands" ) ; unimplemented ( response ) ; }
Source:
public boolean isAvailable ( ) { enforceAccessPermission ( ) ; return mTracker.isTrackingInterface ( ) ; }

Target:
public boolean isAvailable ( java.lang.String iface ) { enforceAccessPermission ( ) ; if ( mTracker.isRestrictedInterface ( iface ) ) { enforceUseRestrictedNetworksPermission ( ) ; } return mTracker.isTrackingInterface ( iface ) ; }
Source:
public void onMetadataChanged ( android.media.MediaMetadata metadata ) { android.util.Log.v ( com.android.bluetooth.avrcp.Avrcp.TAG , "MediaController metadata changed" ) ; updateMetadata ( metadata ) ; }

Target:
public void onMetadataChanged ( android.media.MediaMetadata metadata ) { android.util.Log.v ( com.android.bluetooth.avrcp.Avrcp.TAG , "MediaController metadata changed" ) ; updateCurrentMediaState ( ) ; }
Source:
public java.lang.Object clone ( ) { int cloneAddr = libcore.icu.NativeBreakIterator.cloneImpl ( this . address ) ; libcore.icu.NativeBreakIterator clone = new libcore.icu.NativeBreakIterator ( cloneAddr , this . type ) ; clone.charIter = this . charIter ; return clone ; }

Target:
public java.lang.Object clone ( ) { int cloneAddr = libcore.icu.NativeBreakIterator.cloneImpl ( this . address ) ; libcore.icu.NativeBreakIterator clone = new libcore.icu.NativeBreakIterator ( cloneAddr , this . type ) ; clone.string = this . string ; clone.charIterator = this . charIterator ; return clone ; }
Source:
public void testCtor0 ( ) throws java.lang.Exception { android.text.format.Time t = new android.text.format.Time ( android.text.format.Time.TIMEZONE_UTC ) ; assertEquals ( Time.TIMEZONE_UTC , t.timezone ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; originalLocale = java.util.Locale.getDefault ( ) ; }
Source:
private boolean getSecureBoolean ( java.lang.String name , boolean def ) { final int defInt = ( def ) ? 1 : 0 ; return ( Settings.Secure.getInt ( mResolver , name , defInt ) ) != 0 ; }

Target:
private boolean getGlobalBoolean ( java.lang.String name , boolean def ) { final int defInt = ( def ) ? 1 : 0 ; return ( Settings.Global.getInt ( mResolver , name , defInt ) ) != 0 ; }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JNullLiteral expr ) { return visitNonThrowingPrimitiveRValue ( expr ) ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JNullLiteral expr ) { return visitNonThrowingTriviaRValue ( expr ) ; }
Source:
public void testResourceFolderType ( ) { for ( com.android.ide.eclipse.adt.internal.resources.manager.ResourceFolderType type : com.android.ide.eclipse.adt.internal.resources.manager.ResourceFolderType.values ( ) ) { assertTrue ( type.getName ( ) , ( ( com.android.ide.eclipse.adt.internal.resources.manager.FolderTypeRelationship.getRelatedResourceTypes ( type ) . length ) > 0 ) ) ; } }

Target:
public void testResourceFolderType ( ) { for ( com.android.resources.ResourceFolderType type : com.android.resources.ResourceFolderType.values ( ) ) { assertTrue ( type.getName ( ) , ( ( com.android.ide.eclipse.adt.internal.resources.manager.FolderTypeRelationship.getRelatedResourceTypes ( type ) . length ) > 0 ) ) ; } }
Source:
public static < V > com.google.common.util.concurrent.ListenableFuture < V > immediateFuture ( @ javax.annotation.Nullable V value ) { com.google.common.util.concurrent.SettableFuture < V > future = com.google.common.util.concurrent.SettableFuture.create ( ) ; future.set ( value ) ; return future ; }

Target:
public static < V > com.google.common.util.concurrent.ListenableFuture < V > immediateFuture ( @ javax.annotation.Nullable V value ) { return new com.google.common.util.concurrent.Futures.ImmediateSuccessfulFuture < V > ( value ) ; }
Source:
public static native boolean EC_POINT_cmp ( long groupRef , long pointRef1 , long pointRef2 ) ;

Target:
public static native boolean EC_POINT_cmp ( org.conscrypt.NativeRef.EC_GROUP groupRef , org.conscrypt.NativeRef.EC_POINT pointRef1 , org.conscrypt.NativeRef.EC_POINT pointRef2 ) ;
Source:
public android.net.NetworkStatsHistory getHistoryForNetwork ( android.net.NetworkTemplate template , int fields ) { @ com.android.server.net.NetworkStatsAccess.Level int accessLevel = checkAccessLevel ( mCallingPackage ) ; return internalGetHistoryForNetwork ( template , fields , accessLevel ) ; }

Target:
public android.net.NetworkStatsHistory getHistoryForNetwork ( android.net.NetworkTemplate template , int fields ) { return internalGetHistoryForNetwork ( template , flags , fields , mAccessLevel , mCallingUid ) ; }
Source:
protected void setEnabledProtocols ( java.lang.String [ ] protocols ) { enabledProtocols = org.conscrypt.NativeCrypto.checkEnabledProtocols ( protocols ) ; }

Target:
protected void setEnabledProtocols ( java.lang.String [ ] protocols ) { enabledProtocols = org.conscrypt.NativeCrypto.checkEnabledProtocols ( protocols ) . clone ( ) ; }
Source:
public void test_EmptyMap_merge ( ) { try { java.util.Collections.emptyMap ( ) . merge ( 1 , 5.0 , ( k , v ) -> 5.0 ) ; fail ( ) ; } catch ( java.lang.UnsupportedOperationException expected ) { } }

Target:
public void test_EmptyMap_computeIfPresent ( ) { try { java.util.Collections.emptyMap ( ) . computeIfPresent ( 1 , ( k , v ) -> 5.0 ) ; fail ( ) ; } catch ( java.lang.UnsupportedOperationException expected ) { } }
Source:
private void setKeyFromKey16 ( int keyOffset , android.icu.impl.ICUResource.Key key ) { if ( keyOffset < ( localKeyLimit ) ) { key.setBytes ( keyBytes , keyOffset ) ; } else { key.setBytes ( poolBundleReader.keyBytes , ( keyOffset - ( localKeyLimit ) ) ) ; } }

Target:
private void setKeyFromKey16 ( int keyOffset , android.icu.impl.UResource.Key key ) { if ( keyOffset < ( localKeyLimit ) ) { key.setBytes ( keyBytes , keyOffset ) ; } else { key.setBytes ( poolBundleReader.keyBytes , ( keyOffset - ( localKeyLimit ) ) ) ; } }
Source:
public void testEqualsNull ( ) { android.net.LinkProperties source = new android.net.LinkProperties ( ) ; android.net.LinkProperties target = new android.net.LinkProperties ( ) ; assertFalse ( ( source == target ) ) ; assertLinkPropertiesEqual ( source , target ) ; }

Target:
public void testEqualsNull ( ) { android.net.LinkProperties source = new android.net.LinkProperties ( ) ; android.net.LinkProperties target = new android.net.LinkProperties ( ) ; org.junit.Assert.assertFalse ( ( source == target ) ) ; assertLinkPropertiesEqual ( source , target ) ; }
Source:
public void postUpdateSlider ( int volume , int lastAudibleVolume , boolean mute ) { final int arg2 = lastAudibleVolume * ( mute ? - 1 : 1 ) ; obtainMessage ( android.preference.SeekBarVolumizer.H.UPDATE_SLIDER , volume , arg2 ) . sendToTarget ( ) ; }

Target:
public void postUpdateSlider ( int volume , int lastAudibleVolume , boolean mute ) { obtainMessage ( android.preference.SeekBarVolumizer.H.UPDATE_SLIDER , volume , lastAudibleVolume , new java.lang.Boolean ( mute ) ) . sendToTarget ( ) ; }
Source:
static < T > T [ ] clone ( T [ ] array ) { return array.clone ( ) ; }

Target:
static < E > java.util.Set < E > newSetFromMap ( java.util.Map < E , java.lang.Boolean > map ) { return java.util.Collections.newSetFromMap ( map ) ; }
Source:
public boolean acceptIncomingConnect ( android.bluetooth.BluetoothDevice device ) { com.android.bluetooth.hfp.HeadsetService service = getService ( ) ; if ( service == null ) { return false ; } return service.acceptIncomingConnect ( device ) ; }

Target:
public android.bluetooth.BluetoothDevice getActiveDevice ( ) { com.android.bluetooth.hfp.HeadsetService service = getService ( ) ; if ( service == null ) { return null ; } return service.getActiveDevice ( ) ; }
Source:
public void dup ( ) { super . dup ( ) ; producerPop ( ) ; producerPush ( ) ; producerPush ( ) ; }

Target:
public void removeTop ( int index ) { super . removeTop ( index ) ; producerStack.removeTop ( index ) ; actualProducerStack.removeTop ( index ) ; }
Source:
public static void assertEquals ( long expected , long actual ) { if ( expected != actual ) throw new java.lang.RuntimeException ( ( ( ( "AssertionFailedError: not equals. Expected " + expected ) + " actual " ) + actual ) ) ; }

Target:
public static void assertEquals ( long expected , long actual ) { if ( expected != actual ) throw new dot.junit.AssertionFailedException ( ( ( ( "not equals. Expected " + expected ) + " actual " ) + actual ) ) ; }
Source:
public boolean appliesTo ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Context context , @ com.android.annotations.NonNull java.io.File file ) { return true ; }

Target:
public int [ ] getApplicableAsmNodeTypes ( ) { return new int [ ] { org.objectweb.asm.tree.AbstractInsnNode.METHOD_INSN } ; }
Source:
public static void main ( java.lang.String [ ] args ) throws java.lang.Throwable { Main.TestUninitializedCallSite ( ) ; Main.TestLinkerMethodMinimalArguments ( ) ; Main.TestLinkerMethodMultipleArgumentTypes ( ) ; Main.TestInvokeCustomWithConcurrentThreads ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) throws java.lang.Throwable { Main.TestUninitializedCallSite ( ) ; Main.TestLinkerMethodMinimalArguments ( ) ; Main.TestLinkerMethodMultipleArgumentTypes ( ) ; TestLinkerUnrelatedBSM.test ( ) ; Main.TestInvokeCustomWithConcurrentThreads ( ) ; }
Source:
public void disconnect ( int timeOut ) throws com.android.ddmlib.TimeoutException { java.lang.System.out.println ( java.lang.String.format ( "DISCONNECTED(%S) CALLED" , name ) ) ; disconnectCalled = true ; }

Target:
public void disconnect ( int timeOut , com.android.utils.ILogger logger ) throws com.android.ddmlib.TimeoutException { logger.info ( "DISCONNECTED(%S) CALLED" , name ) ; disconnectCalled = true ; }
Source:
public boolean delete ( java.io.File f ) { cache.clear ( ) ; javaHomePrefixCache.clear ( ) ; return delete0 ( f ) ; }

Target:
public boolean delete ( java.io.File f ) { cache.clear ( ) ; javaHomePrefixCache.clear ( ) ; dalvik.system.BlockGuard.getThreadPolicy ( ) . onWriteToDisk ( ) ; return delete0 ( f ) ; }
Source:
public boolean ping ( ) { java.lang.String pong = doStringCommand ( "PING" ) ; return ( pong != null ) && ( pong.equals ( "PONG" ) ) ; }

Target:
public void setWificondControl ( com.android.server.wifi.WificondControl wificondControl ) { mWificondControl = wificondControl ; }
Source:
public com.google.common.base.Objects.ToStringHelper addValue ( float value ) { addHolder ( ) . builder.append ( value ) ; return this ; }

Target:
public com.google.common.base.Objects.ToStringHelper addValue ( float value ) { return addHolder ( java.lang.String.valueOf ( value ) ) ; }
Source:
public void onAccept ( java.net.InetSocketAddress remoteAddress , boolean updateSocketState ) { onBind ( updateSocketState ) ; onConnect ( remoteAddress , java.nio.SocketChannelImpl.SOCKET_STATUS_CONNECTED , updateSocketState ) ; }

Target:
public void onAccept ( java.net.InetSocketAddress remoteAddress , boolean updateSocketState ) { onBind ( updateSocketState ) ; onConnectStatusChanged ( remoteAddress , java.nio.SocketChannelImpl.SOCKET_STATUS_CONNECTED , updateSocketState ) ; }
Source:
public void testVFE8 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.aget_short.d.T_aget_short_8" ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testE1 ( ) { loadAndRun ( "dot.junit.opcodes.aget_short.d.T_aget_short_1" , java.lang.ArrayIndexOutOfBoundsException.class , new short [ 2 ] , 2 ) ; }
Source:
private void onDeviceProvisionedChange ( ) { if ( getDataEnabled ( ) ) { mDataEnabledSettings.setUserDataEnabled ( true ) ; reevaluateDataConnections ( ) ; onTrySetupData ( Phone.REASON_DATA_ENABLED ) ; } else { mDataEnabledSettings.setUserDataEnabled ( false ) ; onCleanUpAllConnections ( Phone.REASON_DATA_SPECIFIC_DISABLED ) ; } }

Target:
private void onDeviceProvisionedChange ( ) { if ( isDataEnabled ( ) ) { reevaluateDataConnections ( ) ; onTrySetupData ( Phone.REASON_DATA_ENABLED ) ; } else { onCleanUpAllConnections ( Phone.REASON_DATA_SPECIFIC_DISABLED ) ; } }
Source:
protected void visitField ( int type , int index ) { }

Target:
public int readField ( ) { checkType ( com.android.dx.io.EncodedValueReader.ENCODED_FIELD ) ; type = com.android.dx.io.EncodedValueReader.MUST_READ ; return com.android.dx.util.EncodedValueUtils.readUnsignedInt ( in , arg , false ) ; }
Source:
public static junit.framework.Test suite ( ) { junit.framework.TestSuite suite = new junit.framework.TestSuite ( ) ; com.android.ide.eclipse.tests.UnitTests.UnitTestCollector collector = new com.android.ide.eclipse.tests.UnitTests.UnitTestCollector ( ) ; collector.addTestCases ( suite , com.android.ide.eclipse.tests.AndroidTestPlugin.getDefault ( ) , com.android.ide.eclipse.tests.UnitTests.TEST_PACKAGE ) ; return suite ; }

Target:
public static junit.framework.Test suite ( ) { junit.framework.TestSuite suite = new junit.framework.TestSuite ( ) ; com.android.ide.eclipse.tests.UnitTests.UnitTestCollector collector = new com.android.ide.eclipse.tests.UnitTests.UnitTestCollector ( ) ; collector.addTestCases ( suite , com.android.ide.eclipse.adt.AdtPlugin.getDefault ( ) , com.android.ide.eclipse.tests.UnitTests.TEST_PACKAGE ) ; return suite ; }
Source:
protected native void join ( java.net.InetAddress inetaddr , java.net.NetworkInterface netIf ) throws java.io.IOException ;

Target:
protected void join ( java.net.InetAddress inetaddr , java.net.NetworkInterface netIf ) throws java.io.IOException { if ( isClosed ( ) ) { throw new java.net.SocketException ( "Socket closed" ) ; } libcore.io.IoBridge.setSocketOption ( fd , libcore.io.IoBridge.JAVA_MCAST_JOIN_GROUP , java.net.PlainDatagramSocketImpl.makeGroupReq ( inetaddr , netIf ) ) ; }
Source:
protected void fillRtTestInfos ( ) { rtTestInfos.add ( CONCAT001 ) ; rtTestInfos.add ( CONCAT002 ) ; rtTestInfos.add ( CONCAT003 ) ; }

Target:
protected void fillRtTestInfos ( ) { rtTestInfos.add ( CONCAT001 ) ; rtTestInfos.add ( CONCAT002 ) ; rtTestInfos.add ( CONCAT003 ) ; rtTestInfos.add ( CONCAT004 ) ; }
Source:
public com.android.sched.util.log.EventType getType ( ) { return com.android.sched.util.log.tracer.TracerEventType.NOTYPE ; }

Target:
public com.android.sched.util.log.EventType getType ( ) { return com.android.sched.util.log.tracer.TracerEventType.SINGLETON ; }
Source:
public android.support.test.uiautomator.UiObject2 getLoginButton ( android.autofillservice.cts.UiBot uiBot ) { return getLabel ( uiBot , "Login" ) ; }

Target:
public android.support.test.uiautomator.UiObject2 getLoginButton ( android.autofillservice.cts.UiBot uiBot ) { return uiBot.assertShownByContentDescription ( "Login" ) ; }
Source:
public java.util.List < ? extends com.android.jack.library.InputLibrary > getImportedLibrary ( ) { return importedLibrariesFromCommandLine ; }

Target:
public java.util.List < ? extends com.android.jack.library.InputLibrary > getImportedLibraries ( ) { return importedLibrariesFromCommandLine ; }
Source:
public void modifyText ( org.eclipse.swt.events.ModifyEvent e ) { onProjectFieldUpdated ( ) ; }

Target:
public void reload ( ) { if ( ( mProject ) != null ) { changeProject ( mProject ) ; } }
Source:
public void verifyParcelWithoutPolicyUpdate ( ) throws java.lang.Exception { android.net.wifi.hotspot2.pps.Policy policy = android.net.wifi.hotspot2.pps.PolicyTest.createPolicy ( ) ; policy.policyUpdate = null ; android.net.wifi.hotspot2.pps.PolicyTest.verifyParcel ( policy ) ; }

Target:
public void validatePolicyWithoutPolicyUpdate ( ) throws java.lang.Exception { android.net.wifi.hotspot2.pps.Policy policy = android.net.wifi.hotspot2.pps.PolicyTest.createPolicy ( ) ; policy.setPolicyUpdate ( null ) ; org.junit.Assert.assertFalse ( policy.validate ( ) ) ; }
Source:
public static void tearDown ( ) { synchronized ( android.telecom.cts.CtsConnectionService.sLock ) { android.telecom.cts.CtsConnectionService.sConnectionService = null ; } }

Target:
public static void tearDown ( ) { synchronized ( android.telecom.cts.CtsConnectionService.sLock ) { android.telecom.cts.CtsConnectionService.sTelecomConnectionService = null ; android.telecom.cts.CtsConnectionService.sConnectionService = null ; } }
Source:
public static android.os.ZygoteProcess getProcess ( ) { synchronized ( android.webkit.WebViewZygote.sLock ) { if ( ( android.webkit.WebViewZygote.sZygote ) != null ) return android.webkit.WebViewZygote.sZygote ; android.webkit.WebViewZygote.waitForServiceStartAndConnect ( ) ; return android.webkit.WebViewZygote.sZygote ; } }

Target:
public static android.os.ZygoteProcess getProcess ( ) { synchronized ( android.webkit.WebViewZygote.sLock ) { if ( ( android.webkit.WebViewZygote.sZygote ) != null ) return android.webkit.WebViewZygote.sZygote ; android.webkit.WebViewZygote.connectToZygoteIfNeededLocked ( ) ; return android.webkit.WebViewZygote.sZygote ; } }
Source:
public static void initFromFile ( java.lang.String file ) { char [ ] buffer = org.chromium.base.CommandLine.readUtf8FileFully ( file , ( 8 * 1024 ) ) ; org.chromium.base.CommandLine.init ( ( buffer == null ? null : org.chromium.base.CommandLine.tokenizeQuotedAruments ( buffer ) ) ) ; }

Target:
public static void initFromFile ( java.lang.String file ) { char [ ] buffer = org.chromium.base.CommandLine.readUtf8FileFullyCrashIfTooBig ( file , ( 16 * 1024 ) ) ; org.chromium.base.CommandLine.init ( ( buffer == null ? null : org.chromium.base.CommandLine.tokenizeQuotedAruments ( buffer ) ) ) ; }
Source:
public void onDisconnect ( final javax.obex.HeaderSet request , javax.obex.HeaderSet reply ) { if ( VDBG ) android.util.Log.v ( com.android.bluetooth.mapclient.MnsObexServer.TAG , "onDisconnect" ) ; }

Target:
public void onDisconnect ( final javax.obex.HeaderSet request , javax.obex.HeaderSet reply ) { if ( com.android.bluetooth.mapclient.MnsObexServer.VDBG ) android.util.Log.v ( com.android.bluetooth.mapclient.MnsObexServer.TAG , "onDisconnect" ) ; }
Source:
private void checkUpdateCheckFailed ( com.android.server.timezone.PackageVersions packageVersions ) { mFakeIntentHelper.assertReliabilityTriggeringEnabled ( ) ; checkPackageStorageStatus ( PackageStatus.CHECK_COMPLETED_FAILURE , packageVersions ) ; }

Target:
private void checkUpdateCheckTriggered ( com.android.server.timezone.PackageVersions packageVersions ) { mFakeIntentHelper.assertUpdateTriggered ( ) ; mFakeIntentHelper.assertReliabilityTriggerScheduled ( ) ; checkPackageStorageStatus ( PackageStatus.CHECK_STARTED , packageVersions ) ; }
Source:
public void startSmartDialUpdateThread ( ) { if ( com.android.dialer.util.PermissionsUtil.hasContactsReadPermissions ( mContext ) ) { new com.android.dialer.database.DialerDatabaseHelper.SmartDialUpdateAsyncTask ( ) . execute ( ) ; } }

Target:
public void startSmartDialUpdateThread ( ) { if ( com.android.dialer.util.PermissionsUtil.hasContactsReadPermissions ( mContext ) ) { com.android.dialer.common.concurrent.DialerExecutorComponent.get ( mContext ) . dialerExecutorFactory ( ) . createNonUiTaskBuilder ( new com.android.dialer.database.DialerDatabaseHelper.UpdateSmartDialWorker ( ) ) . build ( ) . executeParallel ( null ) ; } }
Source:
public static void setUpClass ( ) { com.android.jill.Main.class . getClassLoader ( ) . setDefaultAssertionStatus ( true ) ; }

Target:
public static void setUpClass ( ) { com.android.jill.Core.class . getClassLoader ( ) . setDefaultAssertionStatus ( true ) ; }
Source:
com.android.sched.vfs.BaseVDir createVDir ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVDir parent , @ javax.annotation.Nonnull java.lang.String name ) throws com.android.sched.util.file.CannotCreateFileException { return changeVFS ( vfs.createVDir ( parent , name ) ) ; }

Target:
com.android.sched.vfs.MessageDigestFS.MessageDigestVDir getVDir ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVDir parent , @ javax.annotation.Nonnull java.lang.String name ) throws com.android.sched.util.file.NoSuchFileException , com.android.sched.util.file.NotDirectoryException { return new com.android.sched.vfs.MessageDigestFS.MessageDigestVDir ( this , parent.getWrappedDir ( ) . getVDir ( name ) ) ; }
Source:
public void deactivateDataCall ( int cid , boolean reasonRadioShutDown , boolean isHandover , android.telephony.data.IDataServiceCallback callback ) { mHandler.obtainMessage ( android.telephony.data.DataService.DATA_SERVICE_REQUEST_DEACTIVATE_DATA_CALL , mSlotId , 0 , new android.telephony.data.DataService.DeactivateDataCallRequest ( cid , reasonRadioShutDown , isHandover , callback ) ) . sendToTarget ( ) ; }

Target:
public void deactivateDataCall ( int cid , int reason , android.telephony.data.IDataServiceCallback callback ) { mHandler.obtainMessage ( android.telephony.data.DataService.DATA_SERVICE_REQUEST_DEACTIVATE_DATA_CALL , mSlotId , 0 , new android.telephony.data.DataService.DeactivateDataCallRequest ( cid , reason , callback ) ) . sendToTarget ( ) ; }
Source:
public void logVerbose ( java.lang.String format , java.lang.Object ... args ) { mLog.printf ( format , args ) ; }

Target:
public void logVerbose ( java.lang.String format , java.lang.Object ... args ) { mLog.verbose ( format , args ) ; }
Source:
static float $opt$IntToFloat ( int a ) { return ( ( float ) ( a ) ) ; }

Target:
static long $opt$CharToLong ( int a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( long ) ( a ) ) ; }
Source:
private static void setStatusBarIcon ( android.content.Context context , boolean enabled ) { android.content.Intent ttyModeChanged = new android.content.Intent ( android.telephony.cdma.TtyIntent.TTY_ENABLED_CHANGE_ACTION ) ; ttyModeChanged.putExtra ( "ttyEnabled" , enabled ) ; context.sendBroadcast ( ttyModeChanged ) ; }

Target:
private static void setStatusBarIcon ( android.content.Context context , boolean enabled ) { android.content.Intent ttyModeChanged = new android.content.Intent ( com.android.internal.telephony.cdma.TtyIntent.TTY_ENABLED_CHANGE_ACTION ) ; ttyModeChanged.putExtra ( "ttyEnabled" , enabled ) ; context.sendBroadcast ( ttyModeChanged ) ; }
Source:
public void testMediaserverDomain ( ) throws java.io.FileNotFoundException { assertDomainN ( "u:r:mediaserver:s0" , "/system/bin/mediaserver" ) ; }

Target:
public void testMediaserverDomain ( ) throws java.io.FileNotFoundException { assertDomainN ( "u:r:mediaserver:s0" , "media.log" , "/system/bin/mediaserver" ) ; }
Source:
public static native byte [ ] SSL_get_tls_channel_id ( int ssl ) throws javax.net.ssl.SSLException ;

Target:
public static native void SSL_enable_tls_channel_id ( long ssl ) throws javax.net.ssl.SSLException ;