auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public int hashCode ( ) { int hash = 0 ; for ( org.apache.harmony.lang.annotation.AnnotationMember element : elements ) { hash += element.hashCode ( ) ; } return hash ; }

Target:
public int hashCode ( ) { int hash = 0 ; for ( libcore.reflect.AnnotationMember element : elements ) { hash += element.hashCode ( ) ; } return hash ; }
Source:
public void test_minusYears_long_negative ( ) { java.time.LocalDate t = TEST_2007_07_15.minusYears ( ( - 1 ) ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2008 , 7 , 15 ) ) ; }

Target:
public void test_minusMonths_long_negative ( ) { java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.minusMonths ( ( - 1 ) ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 8 , 15 ) ) ; }
Source:
public void testArguments ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( "src/test/pkg/AppCompatTest.java:5: Warning: Should use getSupportActionBar instead of getActionBar name [AppCompatMethod]\n" + " getActionBar(); // ERROR\n" ) + " ~~~~~~~~~~~~~~\n" ) + "src/test/pkg/AppCompatTest.java:8: Warning: Should use startSupportActionMode instead of startActionMode name [AppCompatMethod]\n" ) + " startActionMode(null); // ERROR\n" ) + " ~~~~~~~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/AppCompatTest.java:11: Warning: Should use supportRequestWindowFeature instead of requestWindowFeature name [AppCompatMethod]\n" ) + " requestWindowFeature(0); // ERROR\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/AppCompatTest.java:14: Warning: Should use setSupportProgressBarVisibility instead of setProgressBarVisibility name [AppCompatMethod]\n" ) + " setProgressBarVisibility(true); // ERROR\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/AppCompatTest.java:15: Warning: Should use setSupportProgressBarIndeterminate instead of setProgressBarIndeterminate name [AppCompatMethod]\n" ) + " setProgressBarIndeterminate(true); // ERROR\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/AppCompatTest.java:16: Warning: Should use setSupportProgressBarIndeterminateVisibility instead of setProgressBarIndeterminateVisibility name [AppCompatMethod]\n" ) + " setProgressBarIndeterminateVisibility(true); // ERROR\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 6 warnings\n" ) ) , lintProject ( "appcompat/AppCompatTest.java.txt=>src/test/pkg/AppCompatTest.java" , "appcompat/IntermediateActivity.java.txt=>src/test/pkg/IntermediateActivity.java" , "appcompat/ActionBarActivity.java.txt=>src/android/support/v7/app/ActionBarActivity.java" , "appcompat/ActionMode.java.txt=>src/android/support/v7/view/ActionMode.java" ) ) ; }

Target:
public void testNoWarningsWithoutAppCompat ( ) throws java.lang.Exception { assertEquals ( "No warnings." , lintProject ( "appcompat/AppCompatTest.java.txt=>src/test/pkg/AppCompatTest.java" , "appcompat/IntermediateActivity.java.txt=>src/test/pkg/IntermediateActivity.java" , "appcompat/ActionBarActivity.java.txt=>src/android/support/v7/app/ActionBarActivity.java" , "appcompat/ActionMode.java.txt=>src/android/support/v7/view/ActionMode.java" ) ) ; }
Source:
public static native int EVP_VerifyInit ( org.conscrypt.NativeRef.EVP_MD_CTX ctx , long evpRef ) ;

Target:
public static native byte [ ] EVP_DigestSignFinal ( org.conscrypt.NativeRef.EVP_MD_CTX ctx ) ;
Source:
public static float BoolCond_FloatVarCst ( boolean cond , float x ) { return cond ? x : 1.0F ; }

Target:
public static float BoolCond_FloatVarCst ( boolean cond , float x ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return cond ? x : 1.0F ; }
Source:
private void assertInvalidRa ( android.net.apf.ApfTest.TestApfFilter apfFilter , android.net.apf.ApfTest.MockIpManagerCallback ipManagerCallback , java.nio.ByteBuffer packet ) throws android.system.ErrnoException , java.io.IOException { ipManagerCallback.resetApfProgramWait ( ) ; apfFilter.pretendPacketReceived ( packet.array ( ) ) ; ipManagerCallback.assertNoProgramUpdate ( ) ; }

Target:
private void assertInvalidRa ( android.net.apf.ApfTest.TestApfFilter apfFilter , android.net.apf.ApfTest.MockIpClientCallback ipClientCallback , java.nio.ByteBuffer packet ) throws android.system.ErrnoException , java.io.IOException { ipClientCallback.resetApfProgramWait ( ) ; apfFilter.pretendPacketReceived ( packet.array ( ) ) ; ipClientCallback.assertNoProgramUpdate ( ) ; }
Source:
public boolean stopService ( android.content.Intent service ) { warnIfCallingFromSystemProcess ( ) ; return stopServiceAsUser ( service , mUser ) ; }

Target:
public android.content.ComponentName startService ( android.content.Intent service ) { warnIfCallingFromSystemProcess ( ) ; return startServiceCommon ( service , mUser ) ; }
Source:
private void removeFromMessageBoxes ( android.net.Uri key , com.google.android.mms.util.PduCacheEntry entry ) { java.util.HashSet < android.net.Uri > msgBox = mThreads.get ( entry.getMessageBox ( ) ) ; if ( msgBox != null ) { msgBox.remove ( key ) ; } }

Target:
private void removeFromMessageBoxes ( android.net.Uri key , com.google.android.mms.util.PduCacheEntry entry ) { java.util.HashSet < android.net.Uri > msgBox = mThreads.get ( java.lang.Long.valueOf ( entry.getMessageBox ( ) ) ) ; if ( msgBox != null ) { msgBox.remove ( key ) ; } }
Source:
public static void updateOriginalByteCount ( int count ) { com.android.dx.dex.cf.CodeStatistics.runningOriginalBytes += count ; }

Target:
public void updateOriginalByteCount ( int count ) { runningOriginalBytes += count ; }
Source:
public com.android.jack.ir.ast.JSsaVariableUseRef getRhs ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JBasicBlock pred ) { com.android.jack.ir.ast.JSsaVariableUseRef ref = rhs.get ( pred ) ; assert ref != null ; return ref ; }

Target:
public com.android.jack.ir.ast.JSsaVariableUseRef [ ] getRhs ( ) { return java.util.Arrays.copyOf ( rhs , rhs.length ) ; }
Source:
public final void testToString ( ) { com.android.ide.eclipse.adt.editors.layout.gscripts.Point p = new com.android.ide.eclipse.adt.editors.layout.gscripts.Point ( 1 , 2 ) ; assertEquals ( "Point [1x2]" , p.toString ( ) ) ; }

Target:
public final void testToString ( ) { com.android.ide.common.api.Point p = new com.android.ide.common.api.Point ( 1 , 2 ) ; assertEquals ( "Point [1x2]" , p.toString ( ) ) ; }
Source:
public com.android.ims.internal.IImsMultiEndpoint getMultiEndpointInterface ( ) { return null ; }

Target:
public com.android.ims.internal.IImsEcbm getEcbmInterface ( ) { return null ; }
Source:
public void testInnerClass2 ( ) throws java.lang.Exception { assertEquals ( ( "AndroidManifest.xml:14: Error: Class referenced in the manifest, test.pkg.Foo.Bar, was not found in the project or the libraries [MissingRegistered]\n" + ( ( " <activity\n" + " ^\n" ) + "1 errors, 0 warnings\n" ) ) , lintProject ( "registration/AndroidManifestInner.xml=>AndroidManifest.xml" , "bytecode/.classpath=>.classpath" , "registration/Bar.java.txt=>src/test/pkg/Foo/Bar.java" ) ) ; }

Target:
public void testInnerClassStatic ( ) throws java.lang.Exception { mScopes = null ; assertEquals ( ( "src/test/pkg/Foo.java:8: Warning: This inner class should be static (test.pkg.Foo.Baz) [Instantiatable]\n" + ( ( " public class Baz extends Activity {\n" + " ^\n" ) + "0 errors, 1 warnings\n" ) ) , lintProject ( "registration/AndroidManifest.xml=>AndroidManifest.xml" , "bytecode/.classpath=>.classpath" , "registration/Foo.java.txt=>src/test/pkg/Foo.java" , "registration/Foo.class.data=>bin/classes/test/pkg/Foo.class" , "registration/Foo$Bar.class.data=>bin/classes/test/pkg/Foo$Bar.class" , "registration/Foo$Baz.class.data=>bin/classes/test/pkg/Foo$Baz.class" ) ) ; }
Source:
protected libcore.icu.Transliterator initialValue ( ) { return new libcore.icu.Transliterator ( "el-Upper" ) ; }

Target:
protected com.ibm.icu.text.Transliterator initialValue ( ) { return com.ibm.icu.text.Transliterator.getInstance ( "el-Upper" ) ; }
Source:
public void onStreamStateUpdated ( @ android.telephony.mbms.StreamingService.StreamingState int state , @ android.telephony.mbms.StreamingService.StreamingStateChangeReason int reason ) { }

Target:
public void streamStateUpdated ( @ android.telephony.mbms.StreamingService.StreamingState int state , @ android.telephony.mbms.StreamingService.StreamingStateChangeReason int reason ) throws android.os.RemoteException { }
Source:
public static void computeCbrt ( android.renderscript.cts.TestCbrt.ArgumentsFloatFloat args ) { args.ulf = 2 ; args.ulfRelaxed = 128 ; args.out = ( ( float ) ( java.lang.StrictMath.cbrt ( args.in ) ) ) ; }

Target:
public static void computeMax ( android.renderscript.cts.TestMax.ArgumentsFloatFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( java.lang.Math.max ( args.in , args.in1 ) , 0 , 0 ) ; }
Source:
private void initialization ( java.util.EnumMap enumMap ) { keyType = enumMap.keyType ; keys = enumMap.keys ; enumSize = enumMap.enumSize ; values = enumMap.values.clone ( ) ; hasMapping = enumMap.hasMapping.clone ( ) ; mappingsCount = enumMap.mappingsCount ; }

Target:
private void initialization ( java.util.EnumMap < K , ? extends V > enumMap ) { keyType = enumMap.keyType ; keys = enumMap.keys ; enumSize = enumMap.enumSize ; values = enumMap.values.clone ( ) ; hasMapping = enumMap.hasMapping.clone ( ) ; mappingsCount = enumMap.mappingsCount ; }
Source:
public boolean isRttCall ( ) { if ( android.support.v4.os.BuildCompat.isAtLeastP ( ) ) { return getTelecomCall ( ) . isRttActive ( ) ; } else { return false ; } }

Target:
public boolean isActiveRttCall ( ) { if ( android.support.v4.os.BuildCompat.isAtLeastP ( ) ) { return getTelecomCall ( ) . isRttActive ( ) ; } else { return false ; } }
Source:
private void updateNetworkType ( ) { setSummary ( com.android.settings.deviceinfo.Status.KEY_NETWORK_TYPE , TelephonyProperties.PROPERTY_DATA_NETWORK_TYPE , com.android.settings.deviceinfo.Status.sUnknown ) ; }

Target:
private void updateNetworkType ( ) { setSummary ( com.android.settings.deviceinfo.Status.KEY_NETWORK_TYPE , TelephonyProperties.PROPERTY_DATA_NETWORK_TYPE , sUnknown ) ; }
Source:
public com.android.server.wifi.WifiInfo syncRequestConnectionInfo ( ) { return mWifiInfo ; }

Target:
public android.net.wifi.WifiInfo getWifiInfo ( ) { return mWifiInfo ; }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod node ) { if ( ( node.getAnnotation ( installerAnnotation ) ) != null ) { markIfNecessary ( node ) ; } return false ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod node ) { if ( ! ( node.getAnnotations ( installerAnnotation ) . isEmpty ( ) ) ) { markIfNecessary ( node ) ; } return false ; }
Source:
private void assertVerifiedForEach ( java.lang.String apkFilenamePatternInResources , java.lang.String [ ] args ) throws java.lang.Exception { assertVerifiedForEach ( apkFilenamePatternInResources , args , null ) ; }

Target:
private ApkVerifier.Result verifyForMinSdkVersion ( java.lang.String apkFilenameInResources , int minSdkVersion ) throws com.android.apksig.apk.ApkFormatException , java.io.IOException , java.security.NoSuchAlgorithmException { return verify ( apkFilenameInResources , minSdkVersion , null ) ; }
Source:
native long rsnScriptFieldIDCreate ( long con , long sid , int slot ) ;

Target:
native void rsnScriptForEach ( long con , long incCon , long id , int slot , long ain , long aout , boolean mUseInc ) ;
Source:
public void play ( com.android.server.telecom.RingtoneFactory factory , com.android.server.telecom.Call incomingCall ) { com.android.server.telecom.Log.d ( this , "Posting play." ) ; com.android.internal.os.SomeArgs args = com.android.internal.os.SomeArgs.obtain ( ) ; args.arg1 = factory ; args.arg2 = incomingCall ; postMessage ( com.android.server.telecom.AsyncRingtonePlayer.EVENT_PLAY , true , args ) ; }

Target:
public void play ( com.android.server.telecom.RingtoneFactory factory , com.android.server.telecom.Call incomingCall ) { android.telecom.Log.d ( this , "Posting play." ) ; com.android.internal.os.SomeArgs args = com.android.internal.os.SomeArgs.obtain ( ) ; args.arg1 = factory ; args.arg2 = incomingCall ; postMessage ( com.android.server.telecom.AsyncRingtonePlayer.EVENT_PLAY , true , args ) ; }
Source:
public int getCalculatedPreferredNetworkType ( java.lang.String callingPackage ) { if ( ! ( com.android.internal.telephony.TelephonyPermissions.checkCallingOrSelfReadPhoneState ( mApp , callingPackage , "getCalculatedPreferredNetworkType" ) ) ) { return com.android.internal.telephony.RILConstants.PREFERRED_NETWORK_MODE ; } return com.android.internal.telephony.PhoneFactory.calculatePreferredNetworkType ( mPhone.getContext ( ) , 0 ) ; }

Target:
public int getCalculatedPreferredNetworkType ( java.lang.String callingPackage ) { if ( ! ( com.android.internal.telephony.TelephonyPermissions.checkCallingOrSelfReadPhoneState ( mApp , mPhone.getSubId ( ) , callingPackage , "getCalculatedPreferredNetworkType" ) ) ) { return com.android.internal.telephony.RILConstants.PREFERRED_NETWORK_MODE ; } return com.android.internal.telephony.PhoneFactory.calculatePreferredNetworkType ( mPhone.getContext ( ) , 0 ) ; }
Source:
public void setOutputLibrary ( @ javax.annotation.Nonnull com.android.jack.library.OutputLibrary outputLibrary ) { this . outputLibrary = outputLibrary ; }

Target:
public void setJackOutputLibrary ( @ javax.annotation.Nonnull com.android.jack.library.OutputJackLibrary jackOutputLibrary ) { this . jackOutputLibrary = jackOutputLibrary ; }
Source:
public static long OrIntLong ( ) { int lhs = 10 ; long rhs = 3 ; return lhs | rhs ; }

Target:
public static long OrIntLong ( ) { int lhs = Main.$inline$int ( 10 ) ; long rhs = Main.$inline$long ( 3L ) ; return lhs | rhs ; }
Source:
public void testSelfManagedOutgoing ( ) throws java.lang.Exception { android.telecom.PhoneAccountHandle phoneAccountHandle = mPhoneAccountSelfManaged.getAccountHandle ( ) ; com.android.server.telecom.tests.IdPair ids = startAndMakeActiveOutgoingCall ( "650-555-1212" , phoneAccountHandle , mConnectionServiceFixtureA ) ; assertNull ( mInCallServiceFixtureX.getCall ( ids.mCallId ) ) ; }

Target:
public void testSelfManagedIncoming ( ) throws java.lang.Exception { android.telecom.PhoneAccountHandle phoneAccountHandle = mPhoneAccountSelfManaged.getAccountHandle ( ) ; com.android.server.telecom.tests.IdPair ids = startAndMakeActiveIncomingCall ( "650-555-1212" , phoneAccountHandle , mConnectionServiceFixtureA ) ; org.junit.Assert.assertNull ( mInCallServiceFixtureX.getCall ( ids.mCallId ) ) ; }
Source:
public void setPeriodicAdvertisingEnable ( boolean enable ) { try { gatt.setPeriodicAdvertisingEnable ( this . advertiserId , enable ) ; } catch ( android.os.RemoteException e ) { android.util.Log.e ( android.bluetooth.le.AdvertisingSet.TAG , "remote exception - " , e ) ; } }

Target:
public void setPeriodicAdvertisingEnabled ( boolean enable ) { try { gatt.setPeriodicAdvertisingEnable ( this . advertiserId , enable ) ; } catch ( android.os.RemoteException e ) { android.util.Log.e ( android.bluetooth.le.AdvertisingSet.TAG , "remote exception - " , e ) ; } }
Source:
protected void createFieldEditors ( ) { addField ( new com.android.ide.eclipse.adt.internal.preferences.EditorsPage.DensityFieldEditor ( AdtPrefs.PREFS_MONITOR_DENSITY , "Monitor Density" , getFieldEditorParent ( ) ) ) ; }

Target:
protected void createFieldEditors ( ) { addField ( new com.android.ide.eclipse.adt.internal.preferences.EditorsPage.DensityFieldEditor ( AdtPrefs.PREFS_MONITOR_DENSITY , "Monitor Density" , getFieldEditorParent ( ) ) ) ; addField ( new org.eclipse.jface.preference.BooleanFieldEditor ( AdtPrefs.PREFS_FORMAT_XML , "Automatically format the XML edited by the visual layout editor" , getFieldEditorParent ( ) ) ) ; }
Source:
public java.lang.String test00OpenCV ( ) throws java.lang.Throwable { java.lang.String message = "OpenCV is loaded" ; junit.framework.Assert.assertTrue ( "OpenCV library cannot be loaded." , mOpenCVLoadSuccessful ) ; return message ; }

Target:
public java.lang.String test00OpenCV ( ) throws java.lang.Throwable { java.lang.String message = "OpenCV is loaded" ; junit.framework.Assert.assertTrue ( ( "OpenCV library cannot be loaded. If OpenCV Manager is just installed, " + "please restart this test." ) , mOpenCVLoadSuccessful ) ; return message ; }
Source:
native void rsnScriptSetVarVE ( int con , int id , int slot , byte [ ] val , int e , int [ ] dims ) ;

Target:
native long rsnScriptInvokeIDCreate ( long con , long sid , int slot ) ;
Source:
public void testContextMenu ( ) { com.android.ide.common.layout.LinearLayoutRule rule = new com.android.ide.common.layout.LinearLayoutRule ( ) ; initialize ( rule , "android.widget.LinearLayout" ) ; com.android.ide.common.api.INode node = com.android.ide.common.layout.TestNode.create ( "android.widget.Button" ) . id ( "@+id/Button012" ) ; java.util.List < com.android.ide.common.api.MenuAction > contextMenu = rule.getContextMenu ( node ) ; assertEquals ( 4 , contextMenu.size ( ) ) ; assertEquals ( "Layout Width" , contextMenu.get ( 0 ) . getTitle ( ) ) ; assertEquals ( "Layout Height" , contextMenu.get ( 1 ) . getTitle ( ) ) ; assertEquals ( "Properties" , contextMenu.get ( 2 ) . getTitle ( ) ) ; assertEquals ( "Orientation" , contextMenu.get ( 3 ) . getTitle ( ) ) ; com.android.ide.common.api.MenuAction propertiesMenu = contextMenu.get ( 2 ) ; assertTrue ( propertiesMenu.getClass ( ) . getName ( ) , ( propertiesMenu instanceof com.android.ide.common.api.MenuAction.Group ) ) ; }

Target:
public void testContextMenu ( ) { com.android.ide.common.layout.LinearLayoutRule rule = new com.android.ide.common.layout.LinearLayoutRule ( ) ; initialize ( rule , "android.widget.LinearLayout" ) ; com.android.ide.common.api.INode node = com.android.ide.common.layout.TestNode.create ( "android.widget.Button" ) . id ( "@+id/Button012" ) ; java.util.List < com.android.ide.common.api.MenuAction > contextMenu = rule.getContextMenu ( node ) ; assertEquals ( 6 , contextMenu.size ( ) ) ; assertNull ( contextMenu.get ( 0 ) ) ; assertEquals ( "Edit ID..." , contextMenu.get ( 1 ) . getTitle ( ) ) ; assertEquals ( "Layout Width" , contextMenu.get ( 2 ) . getTitle ( ) ) ; assertEquals ( "Layout Height" , contextMenu.get ( 3 ) . getTitle ( ) ) ; assertEquals ( "Properties" , contextMenu.get ( 4 ) . getTitle ( ) ) ; assertEquals ( "Orientation" , contextMenu.get ( 5 ) . getTitle ( ) ) ; com.android.ide.common.api.MenuAction propertiesMenu = contextMenu.get ( 4 ) ; assertTrue ( propertiesMenu.getClass ( ) . getName ( ) , ( propertiesMenu instanceof com.android.ide.common.api.MenuAction.Group ) ) ; }
Source:
public java.lang.String apply ( java.lang.reflect.Type from ) { return com.google.common.reflect.Types.toString ( from ) ; }

Target:
public java.lang.String apply ( java.lang.reflect.Type from ) { return com.google.common.reflect.Types.JavaVersion.CURRENT.typeName ( from ) ; }
Source:
public void testGetActivityThemes3 ( ) throws java.lang.Exception { com.android.ide.eclipse.adt.internal.editors.manifest.ManifestInfo info = getManifestInfo ( ( "<manifest xmlns:android=\'http://schemas.android.com/apk/res/android\'\n" + ( ( " package=\'com.android.unittest\'>\n" + " <uses-sdk android:minSdkVersion=\'11\'/>\n" ) + "</manifest>\n" ) ) ) ; java.util.Map < java.lang.String , java.lang.String > map = info.getActivityThemes ( ) ; assertEquals ( map.toString ( ) , 0 , map.size ( ) ) ; assertEquals ( "com.android.unittest" , info.getPackage ( ) ) ; assertEquals ( "Theme.Holo" , com.android.ide.eclipse.adt.internal.resources.ResourceHelper.styleToTheme ( info.getDefaultTheme ( null , com.android.resources.ScreenSize.XLARGE ) ) ) ; assertEquals ( "Theme" , com.android.ide.eclipse.adt.internal.resources.ResourceHelper.styleToTheme ( info.getDefaultTheme ( null , com.android.resources.ScreenSize.NORMAL ) ) ) ; }

Target:
public void testGetActivityThemes3 ( ) throws java.lang.Exception { com.android.ide.eclipse.adt.internal.editors.manifest.ManifestInfo info = getManifestInfo ( ( "<manifest xmlns:android=\'http://schemas.android.com/apk/res/android\'\n" + ( ( " package=\'com.android.unittest\'>\n" + " <uses-sdk android:minSdkVersion=\'11\'/>\n" ) + "</manifest>\n" ) ) ) ; java.util.Map < java.lang.String , java.lang.String > map = info.getActivityThemes ( ) ; assertEquals ( map.toString ( ) , 0 , map.size ( ) ) ; assertEquals ( "com.android.unittest" , info.getPackage ( ) ) ; assertEquals ( "Theme.Holo" , com.android.ide.eclipse.adt.internal.resources.ResourceHelper.styleToTheme ( info.getDefaultTheme ( null , com.android.resources.ScreenLayoutSize.XLARGE ) ) ) ; assertEquals ( "Theme" , com.android.ide.eclipse.adt.internal.resources.ResourceHelper.styleToTheme ( info.getDefaultTheme ( null , com.android.resources.ScreenLayoutSize.NORMAL ) ) ) ; }
Source:
synchronized void nScriptSetVarVE ( long id , int slot , byte [ ] val , long e , int [ ] dims ) { validate ( ) ; rsnScriptSetVarVE ( mContext , id , slot , val , e , dims ) ; }

Target:
native long rsnIncAllocationCreateTyped ( long con , long incCon , long alloc , long type ) ;
Source:
public static native int SSL_do_handshake ( long sslNativePointer , java.io.FileDescriptor fd , org.conscrypt.NativeCrypto.SSLHandshakeCallbacks shc , int timeoutMillis , boolean client_mode , byte [ ] npnProtocols ) throws java.net.SocketTimeoutException , java.security.cert.CertificateException , javax.net.ssl.SSLException ;

Target:
public static native int SSL_do_handshake ( long sslNativePointer , java.io.FileDescriptor fd , org.conscrypt.NativeCrypto.SSLHandshakeCallbacks shc , int timeoutMillis , boolean client_mode , byte [ ] npnProtocols , byte [ ] alpnProtocols ) throws java.net.SocketTimeoutException , java.security.cert.CertificateException , javax.net.ssl.SSLException ;
Source:
public java.lang.Boolean wifiIsNanUsageEnabled ( ) throws android.os.RemoteException { synchronized ( mLock ) { return mMgr.isUsageEnabled ( ) ; } }

Target:
public java.lang.Boolean wifiIsNanAvailable ( ) throws android.os.RemoteException { synchronized ( mLock ) { return mMgr.isAvailable ( ) ; } }
Source:
public android.telecom.DisconnectCause getDisconnectCause ( ) { if ( ( ( state ) == ( com.android.incallui.call.DialerCall.State.DISCONNECTED ) ) || ( ( state ) == ( com.android.incallui.call.DialerCall.State.IDLE ) ) ) { return disconnectCause ; } return new android.telecom.DisconnectCause ( android.telecom.DisconnectCause.UNKNOWN ) ; }

Target:
public android.telecom.DisconnectCause getDisconnectCause ( ) { if ( ( ( state ) == ( com.android.incallui.call.state.DialerCallState.DISCONNECTED ) ) || ( ( state ) == ( com.android.incallui.call.state.DialerCallState.IDLE ) ) ) { return disconnectCause ; } return new android.telecom.DisconnectCause ( android.telecom.DisconnectCause.UNKNOWN ) ; }
Source:
public java.util.Set < K > elementSet ( ) { return multimap ( ) . keySet ( ) ; }

Target:
public java.util.Set < K > elementSet ( ) { return multimap.keySet ( ) ; }
Source:
boolean isSuccessful ( ) { return ( mHttpResponseCode ) == 204 ; }

Target:
boolean isSuccessful ( ) { return ( mHttpResponseCode ) == ( com.android.server.connectivity.NetworkMonitor.CaptivePortalProbeResult.SUCCESS_CODE ) ; }
Source:
public void testE5 ( ) { dot.junit.opcodes.invoke_direct.d.T_invoke_direct_9 t = new dot.junit.opcodes.invoke_direct.d.T_invoke_direct_9 ( ) ; try { assertEquals ( 5 , t.run ( ) ) ; fail ( "expected UnsatisfiedLinkError" ) ; } catch ( java.lang.UnsatisfiedLinkError e ) { } }

Target:
public void testVFE4 ( ) { load ( "dot.junit.opcodes.invoke_direct.d.T_invoke_direct_6" , java.lang.VerifyError.class ) ; }
Source:
public java.util.List < com.android.builder.AndroidDependency > getDependencies ( ) { return dependencies ; }

Target:
public java.util.List < ? extends com.android.builder.dependency.ManifestDependency > getManifestDependencies ( ) { return dependencies ; }
Source:
public com.google.common.base.Objects.ToStringHelper add ( java.lang.String name , long value ) { checkNameAndAppend ( name ) . append ( value ) ; return this ; }

Target:
public com.google.common.base.Objects.ToStringHelper add ( java.lang.String name , @ javax.annotation.Nullable java.lang.Object value ) { return addHolder ( name , value ) ; }
Source:
public void testInnerClassPublic ( ) throws java.lang.Exception { assertEquals ( ( "src/test/pkg/Foo/Bar.java:6: Warning: The default constructor must be public [Instantiatable]\n" + ( ( " private Bar() {\n" + " ^\n" ) + "0 errors, 1 warnings\n" ) ) , lintProject ( "registration/AndroidManifestInner.xml=>AndroidManifest.xml" , "bytecode/.classpath=>.classpath" , "registration/Bar.java.txt=>src/test/pkg/Foo/Bar.java" , "registration/Bar.class.data=>bin/classes/test/pkg/Foo/Bar.class" ) ) ; }

Target:
public void testInnerClassPublic ( ) throws java.lang.Exception { mScopes = null ; assertEquals ( ( "src/test/pkg/Foo/Bar.java:6: Warning: The default constructor must be public [Instantiatable]\n" + ( ( " private Bar() {\n" + " ^\n" ) + "0 errors, 1 warnings\n" ) ) , lintProject ( "registration/AndroidManifestInner.xml=>AndroidManifest.xml" , "bytecode/.classpath=>.classpath" , "registration/Bar.java.txt=>src/test/pkg/Foo/Bar.java" , "registration/Bar.class.data=>bin/classes/test/pkg/Foo/Bar.class" ) ) ; }
Source:
public com.android.sdkuilib.ui.GridLayoutBuilder columnsEqual ( ) { com.android.sdkuilib.ui.GridLayoutBuilder.mGL.makeColumnsEqualWidth = true ; return this ; }

Target:
public com.android.sdkuilib.ui.GridLayoutBuilder columnsEqual ( ) { mGL.makeColumnsEqualWidth = true ; return this ; }
Source:
public void visitCodeAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.CodeAttribute codeAttribute ) { if ( ( requiredAttributeVisitor ) != null ) { codeAttribute.accept ( clazz , method , requiredAttributeVisitor ) ; } }

Target:
public void visitMethodParametersAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.MethodParametersAttribute exceptionsAttribute ) { if ( ( optionalAttributeVisitor ) != null ) { optionalAttributeVisitor.visitMethodParametersAttribute ( clazz , method , exceptionsAttribute ) ; } }
Source:
public static com.android.tv.dvr.ScheduledRecording createTestRecordingWithPriorityAndPeriod ( long channelId , long priority , long startTime , long endTime ) { return com.android.tv.dvr.ScheduledRecording.builder ( com.android.tv.testing.dvr.RecordingTestUtils.INPUT_ID , com.android.tv.testing.dvr.RecordingTestUtils.CHANNEL_ID , startTime , endTime ) . setChannelId ( channelId ) . setPriority ( priority ) . build ( ) ; }

Target:
public static com.android.tv.dvr.data.ScheduledRecording createTestRecordingWithPriorityAndPeriod ( long channelId , long priority , long startTime , long endTime ) { return com.android.tv.dvr.data.ScheduledRecording.builder ( com.android.tv.testing.dvr.RecordingTestUtils.INPUT_ID , com.android.tv.testing.dvr.RecordingTestUtils.CHANNEL_ID , startTime , endTime ) . setChannelId ( channelId ) . setPriority ( priority ) . build ( ) ; }
Source:
public void onDestroy ( ) { mScreenStateObserver.destroy ( ) ; mWindowManager.setMagnificationCallbacks ( null ) ; }

Target:
public void onDestroy ( ) { if ( ( mMagnificationController ) != null ) { mMagnificationController.cancelAnimation ( ) ; } mScreenStateObserver.destroy ( ) ; mWindowManager.setMagnificationCallbacks ( null ) ; }
Source:
public void testJar ( ) throws java.lang.Exception { assertEquals ( ( "GetterTest.java:47: Warning: Calling getter method getFoo1() on self is slower than field access (mFoo1)\n" + ( ( ( "GetterTest.java:48: Warning: Calling getter method getFoo2() on self is slower than field access (mFoo2)\n" + "GetterTest.java:52: Warning: Calling getter method isBar1() on self is slower than field access (mBar1)\n" ) + "GetterTest.java:54: Warning: Calling getter method getFoo1() on self is slower than field access (mFoo1)\n" ) + "GetterTest.java:55: Warning: Calling getter method getFoo2() on self is slower than field access (mFoo2)" ) ) , lintProject ( "bytecode/classpath-jar=>.classpath" , "bytecode/AndroidManifest.xml=>AndroidManifest.xml" , "bytecode/GetterTest.java.txt=>src/test/bytecode/GetterTest.java" , "bytecode/GetterTest.jar.data=>bin/classes.jar" ) ) ; }

Target:
public void testLibraries ( ) throws java.lang.Exception { assertEquals ( "No warnings." , lintProject ( "bytecode/classpath-lib=>.classpath" , "apicheck/minsdk1.xml=>AndroidManifest.xml" , "bytecode/GetterTest.java.txt=>src/test/bytecode/GetterTest.java" , "bytecode/GetterTest.jar.data=>libs/library.jar" ) ) ; }
Source:
public static java.lang.String getManifestPackage ( @ com.android.annotations.NonNull java.io.File manifestFile ) { return com.android.builder.core.VariantConfiguration.sManifestParser.getPackage ( manifestFile ) ; }

Target:
public static java.lang.String getManifestPackage ( @ com.android.annotations.NonNull java.io.File manifestFile ) { return new com.android.builder.core.DefaultManifestParser ( ) . getPackage ( manifestFile ) ; }
Source:
public void run ( ) { addJavascriptInterface ( obj , interfaceName ) ; }

Target:
public void run ( ) { setPictureListener ( listener ) ; }
Source:
public static com.android.jack.Options buildCommandLineArgs ( @ javax.annotation.CheckForNull java.io.File [ ] bootclasspath , @ javax.annotation.CheckForNull java.io.File [ ] classpath , @ javax.annotation.Nonnull java.io.File fileOrSourcelist ) throws java.io.IOException { return com.android.jack.TestTools.buildCommandLineArgs ( bootclasspath , classpath , new java.io.File [ ] { fileOrSourcelist } ) ; }

Target:
public static com.android.jack.Options buildCommandLineArgs ( @ javax.annotation.Nonnull java.io.File fileOrSourcelist , @ javax.annotation.CheckForNull java.io.File jarjarRules ) throws java.io.IOException { com.android.jack.Options options = com.android.jack.TestTools.buildCommandLineArgs ( null , new java.io.File [ ] { fileOrSourcelist } ) ; options.setJarjarRulesFile ( jarjarRules ) ; return options ; }
Source:
public static native long SSL_do_handshake_bio ( long sslNativePointer , long sourceBioRef , long sinkBioRef , org.conscrypt.NativeCrypto.SSLHandshakeCallbacks shc , boolean client_mode , byte [ ] alpnProtocols ) throws java.net.SocketTimeoutException , java.security.cert.CertificateException , javax.net.ssl.SSLException ;

Target:
public static native int ENGINE_SSL_read_direct ( long sslNativePointer , long address , int length , org.conscrypt.NativeCrypto.SSLHandshakeCallbacks shc ) throws java.io.IOException ;
Source:
public com.android.ide.common.resources.configuration.LanguageQualifier getEffectiveLanguage ( ) { com.android.ide.common.resources.configuration.LanguageQualifier qualifier = getLanguageQualifier ( ) ; if ( qualifier != null ) { return qualifier ; } com.android.ide.common.resources.configuration.LocaleQualifier locale = getLocaleQualifier ( ) ; if ( locale != null ) { return locale.getLanguageQualifier ( ) ; } return null ; }

Target:
public static com.android.ide.common.resources.configuration.FolderConfiguration getConfigForFolder ( @ com.android.annotations.NonNull java.lang.String folderName ) { return com.android.ide.common.resources.configuration.FolderConfiguration.getConfig ( com.android.ide.common.resources.configuration.FolderConfiguration.QUALIFIER_SPLITTER.split ( folderName ) ) ; }
Source:
private void pass ( ) { stop ( ) ; mCb.pass ( ) ; }

Target:
private void pass ( ) { if ( ! ( isTestOutcomeSet ) ) { stop ( ) ; mCb.pass ( ) ; isTestOutcomeSet = true ; } }
Source:
public void showStatusIcon ( android.os.IBinder imeToken , java.lang.String packageName , int iconId ) { try { mService.updateStatusIcon ( imeToken , packageName , iconId ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }

Target:
public java.util.List < android.view.inputmethod.InputMethodInfo > getEnabledInputMethodList ( ) { try { return mService.getEnabledInputMethodList ( ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
java.util.Collection < ? extends com.android.sched.vfs.BaseVElement > list ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVDir dir ) { java.util.Collection < ? extends com.android.sched.vfs.BaseVElement > elements = vfs.list ( dir ) ; for ( com.android.sched.vfs.BaseVElement element : elements ) { element.changeVFS ( this ) ; } return elements ; }

Target:
com.android.sched.util.location.Location getVFileLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.DeflateFS.DeflateVDir parent , @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) { return vfs.getVFileLocation ( parent.getWrappedDir ( ) , path ) ; }
Source:
public void setData ( java.lang.Object data ) { mData = data ; }

Target:
public com.android.layoutlib.api.SceneResult getCopyWithData ( java.lang.Object data ) { com.android.layoutlib.api.SceneResult r = new com.android.layoutlib.api.SceneResult ( this ) ; r.mData = data ; return r ; }
Source:
public void test_equals_null_false ( ) { org.testng.Assert.assertEquals ( TEST_11_30_59_500_PONE.equals ( null ) , false ) ; }

Target:
public void test_equals_null_false ( ) { org.testng.Assert.assertEquals ( tck.java.time.TCKOffsetTime.TEST_11_30_59_500_PONE.equals ( null ) , false ) ; }
Source:
private void checkUpdateCheckSuccessful ( com.android.server.timezone.PackageVersions packageVersions ) { mFakeIntentHelper.assertReliabilityTriggeringDisabled ( ) ; checkPackageStorageStatus ( PackageStatus.CHECK_COMPLETED_SUCCESS , packageVersions ) ; org.junit.Assert.assertEquals ( 0 , mPackageTracker.getCheckFailureCountForTests ( ) ) ; }

Target:
private void checkUpdateCheckFailed ( com.android.server.timezone.PackageVersions packageVersions ) { mFakeIntentHelper.assertReliabilityTriggerScheduled ( ) ; checkPackageStorageStatus ( PackageStatus.CHECK_COMPLETED_FAILURE , packageVersions ) ; }
Source:
private void createCarriersTable ( android.database.sqlite.SQLiteDatabase db , java.lang.String tableName ) { if ( com.android.providers.telephony.TelephonyProvider.DBG ) com.android.providers.telephony.TelephonyProvider.log ( ( "dbh.createCarriersTable: " + tableName ) ) ; db.execSQL ( com.android.providers.telephony.TelephonyProvider.CREATE_CARRIERS_TABLE_STRING ) ; if ( com.android.providers.telephony.TelephonyProvider.DBG ) com.android.providers.telephony.TelephonyProvider.log ( "dbh.createCarriersTable:-" ) ; }

Target:
private void createCarriersTable ( android.database.sqlite.SQLiteDatabase db , java.lang.String tableName ) { if ( com.android.providers.telephony.TelephonyProvider.DBG ) com.android.providers.telephony.TelephonyProvider.log ( ( "dbh.createCarriersTable: " + tableName ) ) ; db.execSQL ( com.android.providers.telephony.TelephonyProvider.getStringForCarrierTableCreation ( tableName ) ) ; if ( com.android.providers.telephony.TelephonyProvider.DBG ) com.android.providers.telephony.TelephonyProvider.log ( "dbh.createCarriersTable:-" ) ; }
Source:
public void setMonth ( int i ) { throw new java.lang.IllegalArgumentException ( ) ; }

Target:
public void setMonth ( int i ) { throw new java.lang.IllegalArgumentException ( "unimplemented" ) ; }
Source:
private void doRedraw ( ) { org.eclipse.swt.widgets.Display.getDefault ( ) . asyncExec ( new java.lang.Runnable ( ) { public void run ( ) { canvas.redraw ( ) ; } } ) ; }

Target:
public void imageChanged ( ) { org.eclipse.swt.widgets.Display.getDefault ( ) . syncExec ( new java.lang.Runnable ( ) { public void run ( ) { synchronized ( this ) { loadImage ( ) ; } } } ) ; doRedraw ( ) ; }
Source:
public void test_with_TemporalField_null ( ) { TEST_11_30_59_500_PONE.with ( ( ( java.time.temporal.TemporalField ) ( null ) ) , 0 ) ; }

Target:
public void test_with_TemporalField_null ( ) { tck.java.time.TCKOffsetTime.TEST_11_30_59_500_PONE.with ( ( ( java.time.temporal.TemporalField ) ( null ) ) , 0 ) ; }
Source:
public void carrierActionSetRadioEnabled ( boolean enabled ) { if ( ( mDcTracker ) != null ) { mDcTracker.carrierActionSetRadioEnabled ( enabled ) ; } }

Target:
public void carrierActionSetMeteredApnsEnabled ( boolean enabled ) { mCarrierActionAgent.carrierActionSetMeteredApnsEnabled ( enabled ) ; }
Source:
protected void log ( java.lang.String msg ) { android.telephony.Rlog.d ( com.android.internal.telephony.imsphone.ImsPhoneCallTracker.LOG_TAG , ( "[ImsPhoneCallTracker] " + msg ) ) ; }

Target:
protected void log ( java.lang.String msg ) { android.telephony.Rlog.d ( com.android.internal.telephony.imsphone.ImsPhoneCallTracker.LOG_TAG , ( ( ( "[" + ( mPhone.getPhoneId ( ) ) ) + "] " ) + msg ) ) ; }
Source:
public void addClass ( com.google.doclava.ClassInfo cl ) { mClasses.put ( cl.name ( ) , cl ) ; }

Target:
public void addClass ( com.google.doclava.ClassInfo cls ) { cls.setPackage ( this ) ; mClasses.put ( cls.name ( ) , cls ) ; }
Source:
public void testLogF32 ( ) { script_f32 = new android.renderscript.cts.ScriptC_log_f32 ( mRS , mRes , R.raw.log_f32 ) ; doF32 ( 4014 , 3 ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; script_f32 = new android.renderscript.cts.ScriptC_log_f32 ( mRS ) ; }
Source:
public void run ( ) { mClipboardSupport.pasteSelection ( mSelectionManager.getSnapshot ( ) ) ; updateMenuActionState ( ) ; }

Target:
public void run ( ) { mClipboardSupport.copySelectionToClipboard ( mSelectionManager.getSnapshot ( ) ) ; updateMenuActionState ( ) ; }
Source:
protected final void visit ( org.eclipse.jdt.core.dom.Javadoc javadoc , final org.eclipse.jdt.core.dom.rewrite.ASTRewrite rewrite ) { javadoc.accept ( new org.eclipse.jdt.core.dom.ASTVisitor ( true ) { @ java.lang.Override public boolean visit ( org.eclipse.jdt.core.dom.TagElement node ) { return visitTagElement ( rewrite , node ) ; } } ) ; }

Target:
protected final void visit ( final com.google.currysrc.api.process.Reporter reporter , org.eclipse.jdt.core.dom.Javadoc javadoc , final org.eclipse.jdt.core.dom.rewrite.ASTRewrite rewrite ) { javadoc.accept ( new org.eclipse.jdt.core.dom.ASTVisitor ( true ) { @ java.lang.Override public boolean visit ( org.eclipse.jdt.core.dom.TagElement node ) { return visitTagElement ( reporter , rewrite , node ) ; } } ) ; }
Source:
public static java.lang.Object deserializeHex ( java.lang.String hex ) throws java.io.IOException , java.lang.ClassNotFoundException { return libcore.util.SerializationTester.deserialize ( libcore.util.HexEncoding.decode ( hex ) ) ; }

Target:
public static java.lang.Object deserializeHex ( java.lang.String hex ) throws java.io.IOException , java.lang.ClassNotFoundException { return libcore.util.SerializationTester.deserialize ( libcore.util.SerializationTester.hexDecode ( hex ) ) ; }
Source:
private int resolveAccessibilityWindowId ( int accessibilityWindowId ) { if ( accessibilityWindowId == ( android.view.accessibility.AccessibilityNodeInfo.ACTIVE_WINDOW_ID ) ) { return mSecurityPolicy.mActiveWindowId ; } return accessibilityWindowId ; }

Target:
private int resolveAccessibilityWindowIdLocked ( int accessibilityWindowId ) { if ( accessibilityWindowId == ( android.view.accessibility.AccessibilityNodeInfo.ACTIVE_WINDOW_ID ) ) { return mSecurityPolicy.mActiveWindowId ; } return accessibilityWindowId ; }
Source:
public void test_block_filtersAsExpected_anyBind_ipv4 ( ) throws java.lang.Exception { java.net.InetAddress ipv4LocalAddress = libcore.java.nio.channels.DatagramChannelMulticastTest.getLocalIpv4Address ( ipv4NetworkInterface ) ; test_block_filtersAsExpected ( ipv4LocalAddress , libcore.java.nio.channels.DatagramChannelMulticastTest.WILDCARD_IPv4 , libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv4 , ipv4NetworkInterface ) ; }

Target:
public void test_block_filtersAsExpected_anyBind_ipv4 ( ) throws java.lang.Exception { if ( ! ( supportsMulticast ) ) { return ; } java.net.InetAddress ipv4LocalAddress = libcore.java.nio.channels.DatagramChannelMulticastTest.getLocalIpv4Address ( ipv4NetworkInterface ) ; test_block_filtersAsExpected ( ipv4LocalAddress , libcore.java.nio.channels.DatagramChannelMulticastTest.WILDCARD_IPv4 , libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv4 , ipv4NetworkInterface ) ; }
Source:
public static native int SSL_write_BIO ( long sslNativePointer , byte [ ] source , int length , long sinkBioRef , org.conscrypt.NativeCrypto.SSLHandshakeCallbacks shc ) throws java.io.IOException ;

Target:
public static native void SSL_configure_alpn ( long sslNativePointer , boolean clientMode , byte [ ] alpnProtocols ) throws java.io.IOException ;
Source:
public static final java.lang.String getDefaultAlgorithm ( ) { return java.security.Security.getProperty ( javax.net.ssl.KeyManagerFactory.PROPERTY_NAME ) ; }

Target:
public static final java.lang.String getDefaultAlgorithm ( ) { java.lang.String algorithm = java.security.Security.getProperty ( javax.net.ssl.KeyManagerFactory.PROPERTY_NAME ) ; return algorithm != null ? algorithm : javax.net.ssl.KeyManagerFactory.DEFAULT_PROPERTY ; }
Source:
public boolean isDataConnectivityPossible ( java.lang.String apnType ) { return ( ( mDcTracker ) != null ) && ( mDcTracker.isDataPossible ( apnType ) ) ; }

Target:
public boolean isDataAllowed ( ) { return ( ( mDcTracker ) != null ) && ( mDcTracker.isDataAllowed ( null ) ) ; }
Source:
public native void setDouble ( java.lang.Object object , double value ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
public double getDouble ( java.lang.Object object ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException { return getDouble ( object , isAccessible ( ) ) ; }
Source:
native void rsnAllocationData3D ( long con , long id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , long [ ] d , int sizeBytes ) ;

Target:
synchronized void nScriptSetVarF ( long id , int slot , float val , boolean mUseInc ) { validate ( ) ; long curCon = mContext ; if ( mUseInc ) { curCon = mIncCon ; } rsnScriptSetVarF ( curCon , id , slot , val , mUseInc ) ; }
Source:
public void setCallProfile ( com.android.ims.ImsCallProfile profile ) { synchronized ( mLockObj ) { mCallProfile = profile ; trackVideoStateHistory ( mCallProfile ) ; } }

Target:
public void setCallProfile ( android.telephony.ims.ImsCallProfile profile ) { synchronized ( mLockObj ) { mCallProfile = profile ; trackVideoStateHistory ( mCallProfile ) ; } }
Source:
public void getNameMultiFlavor ( ) { org.junit.Assert.assertEquals ( "flavor1Flavor2" , new com.android.build.gradle.internal.ProductFlavorCombo ( f1 , f2 ) . getName ( ) ) ; }

Target:
public void getNameMultiFlavor ( ) { org.junit.Assert.assertEquals ( "flavor1Flavor2" , new com.android.build.gradle.internal.ProductFlavorCombo < com.android.build.gradle.internal.dsl.CoreProductFlavor > ( f1 , f2 ) . getName ( ) ) ; }
Source:
public void test_null_id ( ) throws java.lang.Exception { try { libcore.icu.Transliterator t = new libcore.icu.Transliterator ( null ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }

Target:
public void test_null_id ( ) throws java.lang.Exception { try { android.icu.text.Transliterator t = android.icu.text.Transliterator.getInstance ( null ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }
Source:
public boolean preferenceTreeClick ( android.preference.Preference preference ) { log ( "preferenceTreeClick: return false" ) ; return false ; }

Target:
public boolean preferenceTreeClick ( android.preference.Preference preference ) { if ( ( preference == ( mButtonAutoSelect ) ) || ( preference == ( mButtonOperatorSelection ) ) ) { return true ; } else { log ( "preferenceTreeClick: return false" ) ; return false ; } }
Source:
public static native void EVP_VerifyUpdate ( int ctx , byte [ ] buffer , int offset , int length ) ;

Target:
public static native int EVP_SignFinal ( long ctx , byte [ ] signature , int offset , long key ) ;
Source:
native void rsnScriptForEach ( long con , long id , int slot , long [ ] ains , long aout , byte [ ] params , int [ ] limits ) ;

Target:
native void rsnScriptForEachMultiClipped ( long con , long id , int slot , long [ ] ains , long aout , byte [ ] params , int xstart , int xend , int ystart , int yend , int zstart , int zend ) ;
Source:
public void testKeyPairGenerator_Initialize_KeySizeAndSecureRandom_Failure ( ) throws java.lang.Exception { try { mGenerator.initialize ( 1024 , new java.security.SecureRandom ( ) ) ; fail ( "KeyPairGenerator should not support setting the key size" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }

Target:
public void testKeyPairGenerator_Initialize_KeySizeAndSecureRandom_Encrypted_Failure ( ) throws java.lang.Exception { setupPassword ( ) ; try { mGenerator.initialize ( 1024 , new java.security.SecureRandom ( ) ) ; fail ( "KeyPairGenerator should not support setting the key size" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }
Source:
public java.lang.String getPackageConfigurationName ( ) { if ( name.equals ( SourceSet.MAIN_SOURCE_SET_NAME ) ) { return "package" ; } else { return java.lang.String.format ( "%sPackage" , name ) ; } }

Target:
public java.lang.String getPackageConfigurationName ( ) { if ( name.equals ( SourceSet.MAIN_SOURCE_SET_NAME ) ) { return "apk" ; } else { return java.lang.String.format ( "%sApk" , name ) ; } }
Source:
public void setZoom ( float value ) { mProviderHandler.obtainMessage ( com.android.ims.internal.ImsVideoCallProvider.MSG_SET_ZOOM , value ) . sendToTarget ( ) ; }

Target:
public void setZoom ( float value ) { mProviderHandler.obtainMessage ( android.telephony.ims.ImsVideoCallProvider.MSG_SET_ZOOM , value ) . sendToTarget ( ) ; }
Source:
void startAppProblemLocked ( com.android.server.am.ProcessRecord app ) { skipCurrentReceiverLocked ( app ) ; }

Target:
void startAppProblemLocked ( com.android.server.am.ProcessRecord app ) { app.errorReportReceiver = getErrorReportReceiver ( app ) ; skipCurrentReceiverLocked ( app ) ; }
Source:
public void onReject ( ) { com.android.services.telephony.Log.v ( this , "onReject" ) ; if ( isValidRingingCall ( ) ) { hangup ( android.telephony.DisconnectCause.INCOMING_REJECTED ) ; } super . onReject ( ) ; }

Target:
public void onAbort ( ) { com.android.services.telephony.Log.v ( this , "onAbort" ) ; mHandler.obtainMessage ( com.android.services.telephony.TelephonyConnection.MSG_HANGUP , android.telephony.DisconnectCause.LOCAL ) . sendToTarget ( ) ; }
Source:
native void rsnScriptForEach ( long con , long id , int slot , long ain , long aout , byte [ ] params ) ;

Target:
native void rsnScriptForEachClipped ( long con , long incCon , long id , int slot , long ain , long aout , byte [ ] params , int xstart , int xend , int ystart , int yend , int zstart , int zend , boolean mUseInc ) ;
Source:
private void checkReadPermission ( ) { int status = getContext ( ) . checkCallingOrSelfPermission ( "android.permission.READ_PRIVILEGED_PHONE_STATE" ) ; if ( status == ( android.content.pm.PackageManager.PERMISSION_GRANTED ) ) { return ; } throw new java.lang.SecurityException ( "No permission to read Carrier Identification provider" ) ; }

Target:
private void checkReadPermission ( ) { int status = getContext ( ) . checkCallingOrSelfPermission ( "android.permission.READ_PRIVILEGED_PHONE_STATE" ) ; if ( status == ( android.content.pm.PackageManager.PERMISSION_GRANTED ) ) { return ; } throw new java.lang.SecurityException ( "No permission to read CarrierId provider" ) ; }
Source:
public void cancelPostDial ( ) { }

Target:
public void cancelPostDial ( ) { if ( com.android.internal.telephony.sip.SipConnectionBase.DBG ) log ( "cancelPostDial: ignore" ) ; }