auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public org.eclipse.jface.action.IAction getCanvasAction ( java.lang.String canvasActionId ) { if ( ( mCanvasViewer ) != null ) { return mCanvasViewer.getCanvas ( ) . getAction ( canvasActionId ) ; } return null ; }

Target:
com.android.ide.eclipse.adt.internal.editors.layout.gle2.LayoutCanvas getCanvasControl ( ) { if ( ( mCanvasViewer ) != null ) { return mCanvasViewer.getCanvas ( ) ; } return null ; }
Source:
public boolean shouldPlayCallWaitingTone ( int callState ) { return ( ( isDialerRingingEnabled ( ) ) && ( ( translateCallStateForCallWaiting ( callState ) ) == ( com.android.incallui.call.DialerCall.State.CALL_WAITING ) ) ) && ( ! ( inCallTonePlayer.isPlayingTone ( ) ) ) ; }

Target:
public boolean shouldPlayCallWaitingTone ( int callState ) { return ( ( isDialerRingingEnabled ( ) ) && ( ( translateCallStateForCallWaiting ( callState ) ) == ( com.android.incallui.call.state.DialerCallState.CALL_WAITING ) ) ) && ( ! ( inCallTonePlayer.isPlayingTone ( ) ) ) ; }
Source:
public java.lang.String getSettingNameForDevice ( int device ) { java.lang.String name = mVolumeIndexSettingName ; java.lang.String suffix = android.media.AudioSystem.getDeviceName ( device ) ; if ( suffix.isEmpty ( ) ) { return name ; } return ( name + "_" ) + suffix ; }

Target:
public java.lang.String getSettingNameForDevice ( int device ) { java.lang.String name = mVolumeIndexSettingName ; java.lang.String suffix = android.media.AudioSystem.getOutputDeviceName ( device ) ; if ( suffix.isEmpty ( ) ) { return name ; } return ( name + "_" ) + suffix ; }
Source:
public void onHandoverRequested ( com.android.server.telecom.Call call , android.telecom.PhoneAccountHandle handoverTo , int videoState , android.os.Bundle extras ) { }

Target:
public void onHandoverRequested ( com.android.server.telecom.Call call , android.telecom.PhoneAccountHandle handoverTo , int videoState , android.os.Bundle extras , boolean isLegacy ) { }
Source:
protected void onAttachedToWindow ( ) { super . onAttachedToWindow ( ) ; mTemporaryDetach = false ; if ( ( mEditor ) != null ) mEditor.onAttachedToWindow ( ) ; }

Target:
protected void onAttachedToWindow ( ) { super . onAttachedToWindow ( ) ; mTemporaryDetach = false ; if ( ( mEditor ) != null ) mEditor.onAttachedToWindow ( ) ; if ( mPreDrawListenerDetached ) { getViewTreeObserver ( ) . addOnPreDrawListener ( this ) ; mPreDrawListenerDetached = false ; } }
Source:
private static java.lang.String readAsciiString ( java.nio.ByteBuffer buf , int byteCount ) { byte [ ] bytes = new byte [ byteCount ] ; buf.get ( bytes ) ; return new java.lang.String ( bytes , 0 , bytes.length , java.nio.charset.Charsets.US_ASCII ) ; }

Target:
private static java.lang.String readAsciiString ( java.nio.ByteBuffer buf , int byteCount ) { byte [ ] bytes = new byte [ byteCount ] ; buf.get ( bytes ) ; return new java.lang.String ( bytes , 0 , bytes.length , java.nio.charset.StandardCharsets.US_ASCII ) ; }
Source:
synchronized void nScriptBindAllocation ( long script , long alloc , int slot ) { validate ( ) ; rsnScriptBindAllocation ( mContext , script , alloc , slot ) ; }

Target:
native void rsnScriptSetVarVE ( long con , long id , int slot , byte [ ] val , long e , int [ ] dims , boolean mUseInc ) ;
Source:
public boolean imsIsWfcRoamingEnabledByUser ( ) { return com.android.ims.ImsManager.isWfcRoamingEnabledByUser ( mContext ) ; }

Target:
public boolean imsIsWfcRoamingEnabledByUser ( ) { return mImsManager.isWfcEnabledByPlatformForSlot ( ) ; }
Source:
final boolean cas ( long cmp , long val ) { return com.google.common.cache.Striped64.Cell.valueUpdater.compareAndSet ( this , cmp , value ) ; }

Target:
final boolean cas ( long cmp , long val ) { return com.google.common.cache.Striped64.Cell.UNSAFE.compareAndSwapLong ( this , com.google.common.cache.Striped64.Cell.valueOffset , cmp , val ) ; }
Source:
public void onVideoStateChanged ( int videoState ) { setVideoState ( videoState ) ; }

Target:
public void onConnectionEvent ( java.lang.String event , android.os.Bundle extras ) { sendConnectionEvent ( event , extras ) ; }
Source:
public void addEnvVar ( @ javax.annotation.Nonnull java.lang.String key , @ javax.annotation.Nonnull java.lang.String value ) { env.add ( ( ( key + "=" ) + value ) ) ; }

Target:
public void addEnvVar ( @ javax.annotation.Nonnull java.lang.String key , @ javax.annotation.Nonnull java.lang.String value ) { env.put ( key , value ) ; }
Source:
public static int SubNeg1 ( int arg1 , int arg2 ) { return ( - arg1 ) - arg2 ; }

Target:
public static int $noinline$SubNeg1 ( int arg1 , int arg2 ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( - arg1 ) - arg2 ; }
Source:
public abstract java.lang.Iterable < com.android.jack.ir.ast.cfg.JBasicBlock > successors ( ) ;

Target:
public abstract int getElementCount ( ) ;
Source:
private java.lang.String getConferenceString ( boolean canManageConference ) { com.android.incallui.Log.v ( this , ( "canManageConferenceString: " + canManageConference ) ) ; final int resId = ( canManageConference ) ? R.string.card_title_conf_call : R.string.card_title_in_call ; return getView ( ) . getResources ( ) . getString ( resId ) ; }

Target:
public boolean isManageConferenceVisible ( ) { return ( mManageConferenceCallButton.getVisibility ( ) ) == ( android.view.View.VISIBLE ) ; }
Source:
public void remove ( ) { com.google.common.collect.Iterators.checkRemove ( ( ( toRemove ) != null ) ) ; size -= toRemove.getValue ( ) . getAndSet ( 0 ) ; backingEntries.remove ( ) ; toRemove = null ; }

Target:
public void remove ( ) { com.google.common.collect.CollectPreconditions.checkRemove ( ( ( toRemove ) != null ) ) ; size -= toRemove.getValue ( ) . getAndSet ( 0 ) ; backingEntries.remove ( ) ; toRemove = null ; }
Source:
public void verifyParcelWithoutTrustRootCertList ( ) throws java.lang.Exception { android.net.wifi.hotspot2.PasspointConfiguration config = android.net.wifi.hotspot2.PasspointConfigurationTest.createConfig ( ) ; config.trustRootCertList = null ; android.net.wifi.hotspot2.PasspointConfigurationTest.verifyParcel ( config ) ; }

Target:
public void verifyParcelWithoutHomeSP ( ) throws java.lang.Exception { android.net.wifi.hotspot2.PasspointConfiguration config = android.net.wifi.hotspot2.PasspointConfigurationTest.createConfig ( ) ; config.setHomeSp ( null ) ; android.net.wifi.hotspot2.PasspointConfigurationTest.verifyParcel ( config ) ; }
Source:
public static java.io.File getAapt ( ) { return com.android.build.gradle.integration.common.utils.SdkHelper.getAapt ( com.android.sdklib.repository.FullRevision.parseRevision ( "21" ) ) ; }

Target:
public static java.io.File getAapt ( ) { return com.android.build.gradle.integration.common.utils.SdkHelper.getBuildTool ( com.android.sdklib.repository.FullRevision.parseRevision ( "21" ) , BuildToolInfo.PathId.AAPT ) ; }
Source:
native void rsnAllocationData3D ( long con , long id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , byte [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationData3D ( long con , long id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , java.lang.Object d , int sizeBytes , int dt ) ;
Source:
public com.android.sched.vfs.VPath buildFileVPath ( @ javax.annotation.Nonnull com.android.jack.library.FileType fileType , @ javax.annotation.Nonnull com.android.sched.vfs.VPath vpath ) { com.android.sched.vfs.VPath clonedPath = vpath.clone ( ) ; clonedPath.addSuffix ( fileType.getFileExtension ( ) ) ; return clonedPath ; }

Target:
public com.android.sched.vfs.VPath buildFileVPath ( @ javax.annotation.Nonnull com.android.jack.library.FileType fileType , @ javax.annotation.Nonnull com.android.sched.vfs.VPath vpath ) { com.android.sched.vfs.VPath clonedPath = vpath.clone ( ) ; clonedPath.addSuffix ( com.android.jack.library.v0001.InputJackLibraryImpl.getExtension ( fileType ) ) ; return clonedPath ; }
Source:
public void setUp ( ) { mTargetContext = android.support.test.InstrumentationRegistry.getTargetContext ( ) ; mTestDir = mTargetContext.getFilesDir ( ) ; }

Target:
public void setUp ( ) { mTargetContext = android.support.test.InstrumentationRegistry.getTargetContext ( ) ; mTestContext = android.support.test.InstrumentationRegistry.getContext ( ) ; mTestDir = mTargetContext.getFilesDir ( ) ; }
Source:
public javax.swing.Icon getCloudDeviceIcon ( ) { try { return new javax.swing.ImageIcon ( javax.imageio.ImageIO.read ( com.google.gct.testing.CloudConfigurationProviderImpl.class . getResourceAsStream ( "CloudDevice.png" ) ) ) ; } catch ( java.lang.Exception e ) { return null ; } }

Target:
public javax.swing.Icon getCloudDeviceIcon ( ) { return CloudTestingUtils.CLOUD_DEVICE_ICON ; }
Source:
native long rsnIncAllocationCreateTyped ( long con , long incCon , long alloc , long type ) ;

Target:
native long rsnIncAllocationCreateTyped ( long con , long incCon , long alloc , long type , int xBytesSize ) ;
Source:
protected void _initWith ( @ com.android.annotations.NonNull com.android.builder.model.BaseConfig that ) { super . _initWith ( that ) ; shrinkResources = that.isShrinkResources ( ) ; useJack = that.useJack ; }

Target:
protected void _initWith ( @ com.android.annotations.NonNull com.android.builder.model.BaseConfig that ) { super . _initWith ( that ) ; com.android.build.gradle.internal.dsl.BuildType thatBuildType = ( ( com.android.build.gradle.internal.dsl.BuildType ) ( that ) ) ; shrinkResources = thatBuildType.isShrinkResources ( ) ; useJack = thatBuildType.getUseJack ( ) ; }
Source:
public static java.lang.String getOldValue ( @ com.android.annotations.NonNull java.lang.String errorMessage ) { return com.android.tools.lint.detector.api.LintUtils.findSubstring ( errorMessage , "than \"" , "\"" ) ; }

Target:
public static java.lang.String getOldValue ( @ com.android.annotations.NonNull java.lang.String errorMessage , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.TextFormat format ) { errorMessage = format.toText ( errorMessage ) ; return com.android.tools.lint.detector.api.LintUtils.findSubstring ( errorMessage , "than \"" , "\"" ) ; }
Source:
public boolean checkEntry ( java.lang.String name ) ;

Target:
public boolean checkEntry ( java.lang.String archivePath ) throws com.android.sdklib.internal.build.SignedJarBuilder.IZipEntryFilter.ZipAbortException ;
Source:
public void setLineWidth ( float width ) { junit.framework.Assert.assertTrue ( ( width >= 0 ) ) ; mLineWidth = width ; }

Target:
public void setLineWidth ( float width ) { com.android.gallery3d.common.Utils.assertTrue ( ( width >= 0 ) ) ; mLineWidth = width ; }
Source:
public void testRoundTripHashCodeUsingFromString ( ) { com.google.common.hash.HashCode hash1 = com.google.common.hash.Hashing.sha1 ( ) . hashString ( "foo" ) ; com.google.common.hash.HashCode hash2 = com.google.common.hash.HashCode.fromString ( hash1.toString ( ) ) ; assertEquals ( hash1 , hash2 ) ; }

Target:
public void testRoundTripHashCodeUsingFromString ( ) { com.google.common.hash.HashCode hash1 = com.google.common.hash.Hashing.sha1 ( ) . hashString ( "foo" , com.google.common.base.Charsets.US_ASCII ) ; com.google.common.hash.HashCode hash2 = com.google.common.hash.HashCode.fromString ( hash1.toString ( ) ) ; assertEquals ( hash1 , hash2 ) ; }
Source:
public com.android.tools.lint.client.api.IJavaParser getJavaParser ( ) { return null ; }

Target:
public com.android.tools.lint.client.api.JavaParser getJavaParser ( @ com.android.annotations.Nullable com.android.tools.lint.detector.api.Project project ) { return null ; }
Source:
public void testSendMessageQueueAllTxFail ( ) throws java.lang.Exception { com.android.server.wifi.aware.WifiAwareNative.Capabilities cap = com.android.server.wifi.aware.WifiAwareStateManagerTest.getCapabilities ( ) ; testSendMessageQueue ( com.android.server.wifi.aware.WifiAwareStateManagerTest.SendMessageAnswer.OP_QUEUE_OK_SEND_RETX_FAIL , cap , ( ( cap.maxQueuedTransmitMessages ) + 5 ) ) ; }

Target:
public void testSendMessageQueueAllTxSuccess ( ) throws java.lang.Exception { com.android.server.wifi.aware.Capabilities cap = com.android.server.wifi.aware.WifiAwareStateManagerTest.getCapabilities ( ) ; testSendMessageQueue ( com.android.server.wifi.aware.WifiAwareStateManagerTest.SendMessageAnswer.OP_QUEUE_OK_SEND_OK , cap , ( ( cap.maxQueuedTransmitMessages ) + 5 ) ) ; }
Source:
public void mousePressed ( final java.awt.event.MouseEvent e ) { if ( ( ( ( mySingleRowLayout.myLastSingRowLayout ) != null ) && ( ( mySingleRowLayout.myLastSingRowLayout.moreRect ) != null ) ) && ( mySingleRowLayout.myLastSingRowLayout.moreRect.contains ( e.getPoint ( ) ) ) ) { showMorePopup ( e ) ; } }

Target:
public void popupMenuCanceled ( final javax.swing.event.PopupMenuEvent e ) { disposePopupListener ( ) ; }
Source:
public void visitTableSwitchInsn ( int min , int max , org.objectweb.asm.Label dflt , org.objectweb.asm.Label ... labels ) { printer.visitTableSwitchInsn ( min , max , dflt , labels ) ; printTypeOfOperandStackTop ( ) ; super . visitTableSwitchInsn ( min , max , dflt , labels ) ; }

Target:
public void visitTableSwitchInsn ( int min , int max , org.objectweb.asm.Label dflt , org.objectweb.asm.Label ... labels ) { printer.visitTableSwitchInsn ( min , max , dflt , labels ) ; printTypeOfOperandStack ( ) ; super . visitTableSwitchInsn ( min , max , dflt , labels ) ; }
Source:
boolean isValidDialpadNumericChar ( char ch ) ;

Target:
protected com.google.common.base.Optional < java.lang.Character > getDialpadNumericCharacter ( char ch ) { return isValidDialpadAlphabeticChar ( ch ) ? com.google.common.base.Optional.of ( getCharToKeyMap ( ) . get ( ch ) ) : com.google.common.base.Optional.absent ( ) ; }
Source:
public void enter ( ) { if ( com.android.internal.telephony.InboundSmsHandler.DBG ) log ( "entering Idle state" ) ; sendMessageDelayed ( com.android.internal.telephony.InboundSmsHandler.EVENT_RELEASE_WAKELOCK , com.android.internal.telephony.InboundSmsHandler.WAKELOCK_TIMEOUT ) ; }

Target:
public void exit ( ) { if ( com.android.internal.telephony.InboundSmsHandler.DBG ) log ( "exiting Waiting state" ) ; setWakeLockTimeout ( com.android.internal.telephony.InboundSmsHandler.WAKELOCK_TIMEOUT ) ; }
Source:
public boolean hasResources ( com.android.ide.eclipse.adt.internal.resources.ResourceType type ) { update ( ) ; java.util.HashMap < java.lang.String , com.android.ide.common.rendering.api.ResourceValue > list = mResourceItems.get ( type ) ; return ( list != null ) && ( ( list.size ( ) ) > 0 ) ; }

Target:
public boolean hasResources ( com.android.resources.ResourceType type ) { update ( ) ; java.util.HashMap < java.lang.String , com.android.ide.common.rendering.api.ResourceValue > list = mResourceItems.get ( type ) ; return ( list != null ) && ( ( list.size ( ) ) > 0 ) ; }
Source:
java.lang.reflect.Type resolveTypeVariable ( java.lang.reflect.TypeVariable < ? > intermediateVar , com.google.common.reflect.TypeResolver guardedResolver ) { if ( intermediateVar.getGenericDeclaration ( ) . equals ( var.getGenericDeclaration ( ) ) ) { return intermediateVar ; } return unguarded.resolveTypeVariable ( intermediateVar , guardedResolver ) ; }

Target:
public java.lang.reflect.Type resolveInternal ( java.lang.reflect.TypeVariable < ? > intermediateVar , com.google.common.reflect.TypeResolver.TypeTable forDependent ) { if ( intermediateVar.getGenericDeclaration ( ) . equals ( var.getGenericDeclaration ( ) ) ) { return intermediateVar ; } return unguarded.resolveInternal ( intermediateVar , forDependent ) ; }
Source:
int f ( ) { g ( 1 ) ; g ( 2 ) ; return 0 ; }

Target:
int f ( ) throws java.lang.Exception { g ( 1 ) ; g ( 2 ) ; for ( int i = 0 ; i < 10 ; i ++ ) { java.lang.Thread.sleep ( 0 ) ; } return 0 ; }
Source:
public static com.android.build.gradle.integration.common.truth.ModelSubject assertThat ( @ com.android.annotations.NonNull com.android.builder.model.AndroidProject androidProject ) { return com.google.common.truth.Truth.assert_ ( ) . about ( com.android.build.gradle.integration.common.truth.ModelSubjectFactory.factory ( ) ) . that ( androidProject ) ; }

Target:
public static com.android.build.gradle.integration.common.truth.ZipFileSubject assertThatZip ( @ com.android.annotations.NonNull java.io.File file ) { return com.google.common.truth.Truth.assert_ ( ) . about ( ZipFileSubject.Factory.get ( ) ) . that ( file ) ; }
Source:
public byte [ ] getEncodedSignedAttributes ( ) throws java.io.IOException { if ( ( signedAttributeSet ) != null ) { return signedAttributeSet.getEncoded ( ) ; } return null ; }

Target:
public byte [ ] getEncodedSignedAttributes ( ) throws java.io.IOException { if ( ( signedAttributeSet ) != null ) { return signedAttributeSet.getEncoded ( ASN1Encoding.DER ) ; } return null ; }
Source:
char normalizeCharacter ( char ch ) ;

Target:
protected boolean isValidDialpadAlphabeticChar ( char ch ) { return getCharToKeyMap ( ) . containsKey ( ch ) ; }
Source:
public void onClick ( android.content.DialogInterface dialog , int which ) { clearRemainingState ( test ) ; setTestResult ( test , com.android.cts.verifier.managedprovisioning.ByodFlowTestActivity.TestResult.Passed ) ; }

Target:
public void onPass ( ) { clearRemainingState ( mTest ) ; setTestResult ( mTest , com.android.cts.verifier.managedprovisioning.ByodFlowTestActivity.TestResult.Passed ) ; }
Source:
public void run ( ) { onVisibilityChanged ( changedView , visibility ) ; }

Target:
public void run ( ) { onDetachedFromWindow ( ) ; }
Source:
public synchronized void onReceiveValue ( java.lang.String result ) { mActualResult = result ; }

Target:
public synchronized void onReceiveValue ( java.lang.String result ) { mGotResult = true ; mActualResult = result ; }
Source:
java.lang.String formatNsnUsingPattern ( java.lang.String nationalNumber , com.google.i18n.phonenumbers.Phonemetadata.NumberFormat formattingPattern , com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberFormat numberFormat ) { return formatNsnUsingPattern ( nationalNumber , formattingPattern , numberFormat , null ) ; }

Target:
private static boolean descHasData ( com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc desc ) { return ( ( desc.hasExampleNumber ( ) ) || ( com.google.i18n.phonenumbers.PhoneNumberUtil.descHasPossibleNumberData ( desc ) ) ) || ( desc.hasNationalNumberPattern ( ) ) ; }
Source:
public void testDefaultDisconnectedState ( ) { android.util.Log.i ( com.android.bluetooth.mapclient.MapClientStateMachineTest.TAG , "in testDefaultDisconnectedState" ) ; org.junit.Assert.assertEquals ( BluetoothProfile.STATE_CONNECTING , mMceStateMachine.getState ( ) ) ; }

Target:
public void testDefaultConnectingState ( ) { android.util.Log.i ( com.android.bluetooth.mapclient.MapClientStateMachineTest.TAG , "in testDefaultConnectingState" ) ; org.junit.Assert.assertEquals ( BluetoothProfile.STATE_CONNECTING , mMceStateMachine.getState ( ) ) ; }
Source:
public void changeIccLockPassword ( java.lang.String oldPassword , java.lang.String newPassword , android.os.Message onComplete ) ;

Target:
public void changeIccFdnPassword ( java.lang.String oldPassword , java.lang.String newPassword , android.os.Message onComplete ) { sendMessageWithCardAbsentException ( onComplete ) ; }
Source:
public void testPreconditions ( ) { assertNotNull ( mTextView ) ; assertEquals ( 1 , mTextView.size ( ) ) ; assertNotNull ( mTextView.get ( 0 ) ) ; }

Target:
public void tearDown ( ) throws java.lang.Exception { solo.finishOpenedActivities ( ) ; }
Source:
public java.lang.reflect.Type [ ] getGenericParameterTypes ( ) { throw new java.lang.UnsupportedOperationException ( "Executable.getGenericParameterTypes() not implemented" ) ; }

Target:
public java.lang.reflect.Type [ ] getGenericParameterTypes ( ) { return libcore.reflect.Types.getTypeArray ( getMethodOrConstructorGenericInfoInternal ( ) . genericParameterTypes , false ) ; }
Source:
java.util.concurrent.ConcurrentHashMap.HashEntry < K , V > nextEntry ( ) { if ( ( nextEntry ) == null ) throw new java.util.NoSuchElementException ( ) ; lastReturned = nextEntry ; advance ( ) ; return lastReturned ; }

Target:
public final boolean hasMoreElements ( ) { return ( nextEntry ) != null ; }
Source:
public void park ( boolean absolute , long time ) { if ( absolute ) { java.lang.Thread.currentThread ( ) . parkUntil ( time ) ; } else { java.lang.Thread.currentThread ( ) . parkFor ( time ) ; } }

Target:
public void park ( boolean absolute , long time ) { if ( absolute ) { java.lang.Thread.currentThread ( ) . parkUntil$ ( time ) ; } else { java.lang.Thread.currentThread ( ) . parkFor$ ( time ) ; } }
Source:
public void testNPE1 ( ) { dot.junit.opcodes.array_length.d.T_array_length_1 t = new dot.junit.opcodes.array_length.d.T_array_length_1 ( ) ; try { t.run ( null ) ; fail ( "NPE expected" ) ; } catch ( java.lang.NullPointerException npe ) { } }

Target:
public void testNPE1 ( ) { loadAndRun ( "dot.junit.opcodes.array_length.d.T_array_length_1" , java.lang.NullPointerException.class , new java.lang.Object [ ] { null } ) ; }
Source:
private void addRemoteBuildTool ( com.android.sdklib.repository.FullRevision revision ) { com.android.sdklib.repository.descriptors.IPkgDesc d = com.android.sdklib.repository.descriptors.PkgDesc.newBuildTool ( revision ) ; com.android.sdklib.repository.remote.RemotePkgInfo r = new com.android.sdklib.repository.remote.RemotePkgInfo ( d , mSource ) ; mRemotePkgs.put ( d.getType ( ) , r ) ; }

Target:
private void addRemoteBuildTool ( com.android.sdklib.repository.FullRevision revision ) { com.android.sdklib.repository.descriptors.IPkgDesc d = PkgDesc.Builder.newBuildTool ( revision ) . create ( ) ; com.android.sdklib.repository.remote.RemotePkgInfo r = new com.android.sdklib.repository.remote.RemotePkgInfo ( d , mSource ) ; mRemotePkgs.put ( d.getType ( ) , r ) ; }
Source:
public void onClick ( android.view.View v ) { com.android.dialer.precall.PreCall.start ( context , new com.android.dialer.callintent.CallIntentBuilder ( number , CallInitiationType.Type.REGULAR_SEARCH ) ) ; }

Target:
public void onClick ( android.view.View v ) { listener.placeVoiceCall ( number , position ) ; }
Source:
public static < T extends java.lang.Comparable < T > > org.hamcrest.org.hamcrest.Matcher < T > greaterThan ( T value ) { return org.hamcrest.number.OrderingComparisons.greaterThan ( value ) ; }

Target:
public static < T > org.hamcrest.org.hamcrest.Matcher < T > any ( java.lang.Class < T > type ) { return org.hamcrest.core.IsInstanceOf.< T > any ( type ) ; }
Source:
private boolean isDirtyInternal ( com.google.common.collect.ImmutableSet < com.android.dialer.DialerPhoneNumber > phoneNumbers , long lastModified ) { return ( contactsUpdated ( queryPhoneTableForContactIds ( phoneNumbers ) , lastModified ) ) || ( contactsDeleted ( lastModified ) ) ; }

Target:
private boolean isDirtyInternal ( com.google.common.collect.ImmutableSet < com.android.dialer.DialerPhoneNumber > phoneNumbers ) { long lastModified = sharedPreferences.getLong ( com.android.dialer.phonelookup.cp2.Cp2PhoneLookup.PREF_LAST_TIMESTAMP_PROCESSED , 0L ) ; return ( contactsUpdated ( queryPhoneTableForContactIds ( phoneNumbers ) , lastModified ) ) || ( contactsDeleted ( lastModified ) ) ; }
Source:
public static boolean hasVersionCode ( com.android.io.IAbstractFile manifestFile ) throws com.android.io.StreamException , javax.xml.xpath.XPathExpressionException { javax.xml.xpath.XPath xPath = com.android.xml.AndroidXPathFactory.newXPath ( ) ; java.lang.Object result = xPath.evaluate ( ( ( ( ( ( "/" + ( com.android.xml.AndroidManifest.NODE_MANIFEST ) ) + "/@" ) + ( AndroidXPathFactory.DEFAULT_NS_PREFIX ) ) + ":" ) + ( com.android.xml.AndroidManifest.ATTRIBUTE_VERSIONCODE ) ) , new org.xml.sax.InputSource ( manifestFile.getContents ( ) ) , javax.xml.xpath.XPathConstants.NODE ) ; if ( result != null ) { org.w3c.dom.Node node = ( ( org.w3c.dom.Node ) ( result ) ) ; if ( ( node.getNodeValue ( ) . length ( ) ) > 0 ) { return true ; } } return false ; }

Target:
public static boolean hasVersionCode ( com.android.io.IAbstractFile manifestFile ) throws com.android.io.StreamException , javax.xml.xpath.XPathExpressionException { javax.xml.xpath.XPath xPath = com.android.xml.AndroidXPathFactory.newXPath ( ) ; java.io.InputStream is = null ; try { is = manifestFile.getContents ( ) ; java.lang.Object result = xPath.evaluate ( ( ( ( ( ( "/" + ( com.android.xml.AndroidManifest.NODE_MANIFEST ) ) + "/@" ) + ( AndroidXPathFactory.DEFAULT_NS_PREFIX ) ) + ":" ) + ( com.android.xml.AndroidManifest.ATTRIBUTE_VERSIONCODE ) ) , new org.xml.sax.InputSource ( is ) , javax.xml.xpath.XPathConstants.NODE ) ; if ( result != null ) { org.w3c.dom.Node node = ( ( org.w3c.dom.Node ) ( result ) ) ; if ( ! ( node.getNodeValue ( ) . isEmpty ( ) ) ) { return true ; } } } finally { com.google.common.io.Closeables.closeQuietly ( is ) ; } return false ; }
Source:
public org.eclipse.swt.graphics.Image getIcon ( ) { com.android.ide.eclipse.adt.internal.editors.IconFactory factory = com.android.ide.eclipse.adt.internal.editors.IconFactory.getInstance ( ) ; org.eclipse.swt.graphics.Image icon ; icon = factory.getIcon ( getXmlLocalName ( ) , IconFactory.COLOR_RED , IconFactory.SHAPE_CIRCLE ) ; return icon != null ? icon : com.android.ide.eclipse.adt.AdtPlugin.getAndroidLogo ( ) ; }

Target:
public org.eclipse.swt.graphics.Image getIcon ( ) { return com.android.ide.eclipse.adt.internal.editors.IconFactory.getInstance ( ) . getIcon ( com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor.ATTRIBUTE_ICON_FILENAME ) ; }
Source:
public static int min ( int a , int b ) { return a <= b ? a : b ; }

Target:
public static int min ( int a , int b ) { return java.lang.Math.min ( a , b ) ; }
Source:
public boolean isValidOn ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) { return ! ( type.isExternal ( ) ) ; }

Target:
public boolean isValidOn ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) { return type.isToEmit ( ) ; }
Source:
public static void copy ( com.google.common.io.InputSupplier < ? extends java.io.InputStream > from , java.io.File to ) throws java.io.IOException { com.google.common.io.ByteStreams.copy ( from , com.google.common.io.Files.newOutputStreamSupplier ( to ) ) ; }

Target:
public java.util.List < java.lang.String > getResult ( ) { return result ; }
Source:
com.android.sched.vfs.ReadZipFS.ZipVFile getVFile ( @ javax.annotation.Nonnull com.android.sched.vfs.ReadZipFS.ZipVDir parent , @ javax.annotation.Nonnull java.lang.String name ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
java.io.OutputStream openWrite ( @ javax.annotation.Nonnull com.android.sched.vfs.ReadZipFS.ZipVFile file , boolean append ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public void setDeviceOrientation ( int rotation ) { mProviderHandler.obtainMessage ( com.android.ims.internal.ImsVideoCallProvider.MSG_SET_DEVICE_ORIENTATION , rotation , 0 ) . sendToTarget ( ) ; }

Target:
public void setDeviceOrientation ( int rotation ) { mProviderHandler.obtainMessage ( android.telephony.ims.ImsVideoCallProvider.MSG_SET_DEVICE_ORIENTATION , rotation , 0 ) . sendToTarget ( ) ; }
Source:
public static native void dumpHprofData ( java.lang.String fileName , java.io.FileDescriptor fd ) throws java.io.IOException ;

Target:
public static void dumpHprofData ( java.lang.String fileName , java.io.FileDescriptor fd ) throws java.io.IOException { dalvik.system.VMDebug.dumpHprofData ( fileName , ( fd != null ? fd.getInt$ ( ) : - 1 ) ) ; }
Source:
public void testIOException ( ) throws java.lang.Exception { assertEquals ( "ApiCallTest6.java:8: Error: Call requires API level 9 (current min is 1): java.io.IOException#<init>" , lintProject ( "apicheck/classpath=>.classpath" , "apicheck/minsdk1.xml=>AndroidManifest.xml" , "apicheck/Intermediate.java.txt=>src/test/pkg/Intermediate.java" , "apicheck/ApiCallTest6.java.txt=>src/test/pkg/ApiCallTest6.java" , "apicheck/ApiCallTest6.class.data=>bin/classes/test/pkg/ApiCallTest6.class" ) ) ; }

Target:
public void testIOException ( ) throws java.lang.Exception { assertEquals ( ( "src/test/pkg/ApiCallTest6.java:8: Error: Call requires API level 9 (current min is 1): java.io.IOException#<init> [NewApi]\n" + ( ( ( " IOException ioException = new IOException(throwable);\n" + " ~~~~~~~~~~~\n" ) + "1 errors, 0 warnings\n" ) + "" ) ) , lintProject ( "apicheck/classpath=>.classpath" , "apicheck/minsdk1.xml=>AndroidManifest.xml" , "apicheck/Intermediate.java.txt=>src/test/pkg/Intermediate.java" , "apicheck/ApiCallTest6.java.txt=>src/test/pkg/ApiCallTest6.java" , "apicheck/ApiCallTest6.class.data=>bin/classes/test/pkg/ApiCallTest6.class" ) ) ; }
Source:
public java.lang.String getSigAlgName ( ) { return org.apache.harmony.security.utils.AlgNameMapper.map2AlgName ( getSigAlgOID ( ) ) ; }

Target:
public java.lang.String getSigAlgName ( ) { java.lang.String oid = getSigAlgOID ( ) ; java.lang.String algName = org.conscrypt.Platform.oidToAlgorithmName ( oid ) ; if ( algName != null ) { return algName ; } return oid ; }
Source:
public void setApplicationEnabledSetting ( java.lang.String appPackageName , int newState , int flags ) { setEnabledSetting ( appPackageName , null , newState , flags ) ; }

Target:
public void setApplicationEnabledSetting ( java.lang.String appPackageName , int newState , int flags , int userId ) { if ( ! ( com.android.server.pm.PackageManagerService.sUserManager.exists ( userId ) ) ) return ; setEnabledSetting ( appPackageName , null , newState , flags , userId ) ; }
Source:
public static int AddNegs1 ( int arg1 , int arg2 ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( - arg1 ) + ( - arg2 ) ; }

Target:
public static int $noinline$AddNegs1 ( int arg1 , int arg2 ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( - arg1 ) + ( - arg2 ) ; }
Source:
public void onDestroy ( ) { android.util.Log.i ( mTag , "onDestroy" ) ; for ( com.android.se.Terminal terminal : mTerminals.values ( ) ) { terminal.closeChannels ( ) ; } }

Target:
public void onDestroy ( ) { android.util.Log.i ( mTag , "onDestroy" ) ; for ( com.android.se.Terminal terminal : mTerminals.values ( ) ) { terminal.closeChannels ( ) ; terminal.close ( ) ; } }
Source:
public void visitCodeAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.CodeAttribute codeAttribute ) { codeAttribute.accept ( clazz , method , attributeVisitor ) ; }

Target:
public void visitMethodParametersAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.MethodParametersAttribute exceptionsAttribute ) { if ( ( exceptionsAttribute.u1parametersCount ) > 0 ) { attributeVisitor.visitMethodParametersAttribute ( clazz , method , exceptionsAttribute ) ; } }
Source:
public static long Sub0 ( long arg ) { return arg - 0 ; }

Target:
public static long $noinline$Sub0 ( long arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg - 0 ; }
Source:
public static void computeMin ( android.renderscript.cts.TestMin.ArgumentsShortShortShort args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = ( ( short ) ( java.lang.StrictMath.min ( args.inV1 , args.inV2 ) ) ) ; }

Target:
public static void computeClamp ( android.renderscript.cts.TestClamp.ArgumentsUshortUshortUshortUshort args ) { args.out = android.renderscript.cts.CoreMathVerifier.minU16 ( args.inMaxValue , android.renderscript.cts.CoreMathVerifier.maxU16 ( args.inValue , args.inMinValue ) ) ; }
Source:
protected android.graphics.Bitmap captureRenderSpec ( android.uirendering.cts.testinfrastructure.TestCase testCase ) { return takeScreenshot ( runRenderSpec ( testCase ) ) ; HEAD ( android.uirendering.cts.testinfrastructure.Merge ) ; }

Target:
public android.uirendering.cts.testinfrastructure.ActivityTestBase.TestCaseBuilder withScreenshotter ( android.uirendering.cts.testinfrastructure.ActivityTestBase.Screenshotter screenshotter ) { org.junit.Assert.assertNull ( "Screenshotter is already set!" , mScreenshotter ) ; mScreenshotter = screenshotter ; return this ; }
Source:
public abstract boolean handleChangedGeneratedJavaFile ( org.eclipse.core.resources.IFolder currentSourceFolder , org.eclipse.core.resources.IFile file , java.util.List < org.eclipse.core.runtime.IPath > sourceFolders ) ;

Target:
com.android.ide.eclipse.adt.internal.build.NonJavaFileBundle getBundle ( org.eclipse.core.resources.IFile file ) { return mFiles.get ( file ) ; }
Source:
public byte [ ] getApfProgram ( ) { assertTrue ( mGotApfProgram.block ( android.net.apf.ApfTest.TIMEOUT_MS ) ) ; return mLastApfProgram ; }

Target:
public byte [ ] getApfProgram ( ) { org.junit.Assert.assertTrue ( mGotApfProgram.block ( android.net.apf.ApfTest.TIMEOUT_MS ) ) ; return mLastApfProgram ; }
Source:
public void accept ( final org.objectweb.asm.MethodVisitor mv ) { mv.visitLdcInsn ( cst ) ; }

Target:
public void accept ( final org.objectweb.asm.MethodVisitor mv ) { mv.visitLdcInsn ( cst ) ; acceptAnnotations ( mv ) ; }
Source:
private static com.android.server.wifi.ScanDetail [ ] getTwcWifiNetworkDescription ( ) { com.android.server.wifi.hotspot2.AnqpCacheTest.NetworkDescription network = new com.android.server.wifi.hotspot2.AnqpCacheTest.NetworkDescription ( com.android.server.wifi.hotspot2.AnqpCacheTest.TWC_SSID , com.android.server.wifi.hotspot2.AnqpCacheTest.TWC_BSSID_PREFIX ) ; return network.mScanDetails ; }

Target:
public void addAndGetEntry ( ) throws java.lang.Exception { mCache.addEntry ( com.android.server.wifi.hotspot2.AnqpCacheTest.ENTRY_KEY , null ) ; com.android.server.wifi.hotspot2.ANQPData data = mCache.getEntry ( com.android.server.wifi.hotspot2.AnqpCacheTest.ENTRY_KEY ) ; org.junit.Assert.assertNotNull ( data ) ; org.junit.Assert.assertTrue ( data.getElements ( ) . isEmpty ( ) ) ; }
Source:
public com.android.dx.io.ClassData readClassData ( com.android.dx.io.ClassDef classDef ) { int offset = classDef.getClassDataOffset ( ) ; if ( offset == 0 ) { throw new java.lang.IllegalArgumentException ( "offset == 0" ) ; } return open ( offset ) . readClassData ( ) ; }

Target:
public com.android.dex.ClassData readClassData ( com.android.dex.ClassDef classDef ) { int offset = classDef.getClassDataOffset ( ) ; if ( offset == 0 ) { throw new java.lang.IllegalArgumentException ( "offset == 0" ) ; } return open ( offset ) . readClassData ( ) ; }
Source:
public void startTimer ( java.lang.String timerEventName ) { }

Target:
public void startTimer ( java.lang.String timerEventName ) { namedEvents.put ( timerEventName , new com.android.dialer.metrics.StubMetrics.StubTimerEvent ( ) ) ; }
Source:
public boolean onPreferenceClick ( android.support.v7.preference.Preference preference ) { com.android.traceur.AtraceUtils.atraceDumpAndSendInBackground ( getContext ( ) , com.android.traceur.Receiver.getActiveTags ( getContext ( ) , mPrefs , true ) ) ; return true ; }

Target:
public boolean onPreferenceClick ( android.support.v7.preference.Preference preference ) { com.android.traceur.AtraceUtils.atraceDumpAndSend ( getContext ( ) ) ; return true ; }
Source:
public void getMuteResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , boolean var2 ) { }

Target:
public void sendUssdResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo ) { responseVoid ( responseInfo ) ; }
Source:
protected com.android.internal.telephony.Connection dialInternal ( java.lang.String dialString , com.android.internal.telephony.UUSInfo uusInfo , int videoState , android.os.Bundle intentExtras ) throws com.android.internal.telephony.CallStateException { return null ; }

Target:
protected com.android.internal.telephony.Connection dialInternal ( java.lang.String dialString , com.android.internal.telephony.DialArgs dialArgs ) throws com.android.internal.telephony.CallStateException { return null ; }
Source:
public void breakpointObject ( java.lang.Object param ) { logWriter.println ( ( ( "breakpointObject(param=\"" + param ) + "\")" ) ) ; }

Target:
public void breakpointObject ( java.lang.Object param ) { logWriter.println ( ( ( "breakpointObject(param=\"" + param ) + "\")" ) ) ; synchronizeWithTest ( ) ; }
Source:
public V2 apply ( java.util.Map.Entry < K , V1 > entry ) { return transformer.transformEntry ( entry.getKey ( ) , entry.getValue ( ) ) ; }

Target:
java.util.Iterator < java.util.Map.Entry < K , V2 > > entryIterator ( ) { return com.google.common.collect.Iterators.transform ( fromMultimap.entries ( ) . iterator ( ) , com.google.common.collect.Maps.< K , V1 , V2 > asEntryToEntryFunction ( transformer ) ) ; }
Source:
public void testApiTargetAnnotation ( ) throws java.lang.Exception { assertEquals ( ( "ApiTargetTest.java:13: Error: Class requires API level 8 (current min is 1): org.w3c.dom.DOMErrorHandler\n" + ( "ApiTargetTest.java:25: Error: Class requires API level 8 (current min is 4): org.w3c.dom.DOMErrorHandler\n" + "ApiTargetTest.java:39: Error: Class requires API level 8 (current min is 7): org.w3c.dom.DOMErrorHandler" ) ) , lintProject ( "apicheck/classpath=>.classpath" , "apicheck/minsdk1.xml=>AndroidManifest.xml" , "apicheck/ApiTargetTest.java.txt=>src/foo/bar/ApiTargetTest.java" , "apicheck/ApiTargetTest.class.data=>bin/classes/foo/bar/ApiTargetTest.class" , "apicheck/ApiTargetTest$LocalClass.class.data=>bin/classes/foo/bar/ApiTargetTest$LocalClass.class" ) ) ; }

Target:
public void testApiTargetAnnotation ( ) throws java.lang.Exception { assertEquals ( ( "src/foo/bar/ApiTargetTest.java:13: Error: Class requires API level 8 (current min is 1): org.w3c.dom.DOMErrorHandler [NewApi]\n" + ( ( ( ( ( ( ( ( ( " Class<?> clz = DOMErrorHandler.class; // API 8\n" + " ~~~~~~~~~~~~~~~\n" ) + "src/foo/bar/ApiTargetTest.java:25: Error: Class requires API level 8 (current min is 4): org.w3c.dom.DOMErrorHandler [NewApi]\n" ) + " Class<?> clz = DOMErrorHandler.class; // API 8\n" ) + " ~~~~~~~~~~~~~~~\n" ) + "src/foo/bar/ApiTargetTest.java:39: Error: Class requires API level 8 (current min is 7): org.w3c.dom.DOMErrorHandler [NewApi]\n" ) + " Class<?> clz = DOMErrorHandler.class; // API 8\n" ) + " ~~~~~~~~~~~~~~~\n" ) + "3 errors, 0 warnings\n" ) + "" ) ) , lintProject ( "apicheck/classpath=>.classpath" , "apicheck/minsdk1.xml=>AndroidManifest.xml" , "apicheck/ApiTargetTest.java.txt=>src/foo/bar/ApiTargetTest.java" , "apicheck/ApiTargetTest.class.data=>bin/classes/foo/bar/ApiTargetTest.class" , "apicheck/ApiTargetTest$LocalClass.class.data=>bin/classes/foo/bar/ApiTargetTest$LocalClass.class" ) ) ; }
Source:
public static void computeDegrees ( android.renderscript.cts.TestDegrees.ArgumentsFloatFloat args ) { args.ulf = 3 ; args.ulfRelaxed = 3 ; args.out = ( ( float ) ( ( ( double ) ( args.inValue ) ) * ( 180.0 / ( java.lang.StrictMath.PI ) ) ) ) ; }

Target:
public static void computeRadians ( android.renderscript.cts.TestRadians.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( ( ( args.inValue ) * ( ( float ) ( ( java.lang.Math.PI ) / 180.0 ) ) ) ) ; }
Source:
public void test_until_TemporalUnit_nullEnd ( ) { TEST_2008_06.until ( null , java.time.temporal.ChronoUnit.DAYS ) ; }

Target:
public void test_until_TemporalUnit_nullEnd ( ) { tck.java.time.TCKYearMonth.TEST_2008_06.until ( null , java.time.temporal.ChronoUnit.DAYS ) ; }
Source:
private static android.icu.text.MeasureFormat.FormatWidth fromFormatWidthOrdinal ( int ordinal ) { android.icu.text.MeasureFormat.FormatWidth [ ] values = android.icu.text.MeasureFormat.FormatWidth.values ( ) ; if ( ( ordinal < 0 ) || ( ordinal >= ( values.length ) ) ) { return android.icu.text.MeasureFormat.FormatWidth.WIDE ; } return values [ ordinal ] ; }

Target:
private static android.icu.text.MeasureFormat.FormatWidth fromFormatWidthOrdinal ( int ordinal ) { android.icu.text.MeasureFormat.FormatWidth [ ] values = android.icu.text.MeasureFormat.FormatWidth.values ( ) ; if ( ( ordinal < 0 ) || ( ordinal >= ( values.length ) ) ) { return android.icu.text.MeasureFormat.FormatWidth.SHORT ; } return values [ ordinal ] ; }
Source:
public void setAudioRoute ( java.lang.String callId , int audioRoute , android.telecom.Logging.Session.Info sessionInfo ) { if ( hasConnection ( callId ) ) { } }

Target:
public void setAudioRoute ( java.lang.String callId , int audioRoute , java.lang.String bluetoothAddress , android.telecom.Logging.Session.Info sessionInfo ) { if ( hasConnection ( callId ) ) { } }
Source:
public void testKeyStore_GetProvider_Success ( ) throws java.lang.Exception { assertEquals ( AndroidKeyStoreProvider.PROVIDER_NAME , mKeyStore.getProvider ( ) . getName ( ) ) ; }

Target:
public void testKeyStore_GetProvider_Encrypted_Success ( ) throws java.lang.Exception { assertEquals ( AndroidKeyStoreProvider.PROVIDER_NAME , mKeyStore.getProvider ( ) . getName ( ) ) ; setupPassword ( ) ; assertEquals ( AndroidKeyStoreProvider.PROVIDER_NAME , mKeyStore.getProvider ( ) . getName ( ) ) ; }
Source:
public void start ( java.lang.String title , com.android.sdklib.internal.repository.ITask task ) { new com.android.sdkuilib.internal.repository.UpdateNoWindow.ConsoleTask ( title , task ) ; }

Target:
public void start ( java.lang.String title , com.android.sdklib.internal.repository.ITask task ) { new com.android.sdkuilib.internal.repository.SdkUpdaterNoWindow.ConsoleTask ( title , task ) ; }
Source:
public void setPowerSave ( boolean enabled ) { if ( enabled ) { doBooleanCommand ( "SET ps 1" ) ; } else { doBooleanCommand ( "SET ps 0" ) ; } }

Target:
public void setPowerSave ( boolean enabled ) { if ( com.android.server.wifi.WifiNative.HIDL_SUP_ENABLE ) { mSupplicantStaIfaceHal.setPowerSave ( enabled ) ; } else { if ( enabled ) { doBooleanCommand ( "SET ps 1" ) ; } else { doBooleanCommand ( "SET ps 0" ) ; } } }
Source:
public void run ( ) { finish ( ) ; }

Target:
public void onTextChanged ( java.lang.CharSequence arg0 , int arg1 , int arg2 , int arg3 ) { setButtonEnabled ( ) ; }
Source:
public void visitSyntheticAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Field field , proguard.classfile.attribute.visitor.SyntheticAttribute syntheticAttribute ) { if ( accepted ( clazz , syntheticAttribute ) ) { syntheticAttribute.accept ( clazz , field , attributeVisitor ) ; } }

Target:
public void visitEnclosingMethodAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.EnclosingMethodAttribute enclosingMethodAttribute ) { if ( accepted ( clazz , enclosingMethodAttribute ) ) { attributeVisitor.visitEnclosingMethodAttribute ( clazz , enclosingMethodAttribute ) ; } }
Source:
public int [ ] blend ( int [ ] src , int [ ] dst ) { return src ; }

Target:
public int [ ] blend ( int [ ] src , int [ ] dst , int [ ] result ) { java.lang.System.arraycopy ( src , 0 , result , 0 , 4 ) ; return result ; }
Source:
private void showSpamFullDialog ( ) { logCallImpression ( DialerImpression.Type.SPAM_AFTER_CALL_NOTIFICATION_SHOW_SPAM_DIALOG ) ; com.android.incallui.spam.SpamNotificationActivity.FirstTimeSpamCallDialogFragment.newInstance ( getCallInfo ( ) ) . show ( getSupportFragmentManager ( ) , com.android.incallui.spam.SpamNotificationActivity.FirstTimeSpamCallDialogFragment.TAG ) ; }

Target:
private void showSpamFullDialog ( ) { logCallImpression ( DialerImpression.Type.SPAM_AFTER_CALL_NOTIFICATION_SHOW_SPAM_DIALOG ) ; com.android.incallui.spam.SpamNotificationActivity.FirstTimeSpamCallDialogFragment.newInstance ( getCallInfo ( ) ) . show ( getFragmentManager ( ) , com.android.incallui.spam.SpamNotificationActivity.FirstTimeSpamCallDialogFragment.TAG ) ; }
Source:
private void logValidationProbe ( long durationMs , int probeType , int probeResult ) { mMetricsLog.log ( new android.net.metrics.ValidationProbeEvent ( mNetId , durationMs , probeType , probeResult ) ) ; }

Target:
private void logValidationProbe ( long durationMs , int probeType , int probeResult ) { probeType = android.net.metrics.ValidationProbeEvent.makeProbeType ( probeType , validationStage ( ) . isFirstValidation ) ; mMetricsLog.log ( new android.net.metrics.ValidationProbeEvent ( mNetId , durationMs , probeType , probeResult ) ) ; }
Source:
public synchronized void setLength ( int length ) { setLengthOnly ( length ) ; this . capacity = length ; }

Target:
public void setReceivedLength ( int length ) { this . length = length ; }
Source:
public void run ( ) { mScrollView.fling ( ( - 2000 ) ) ; }

Target:
public void run ( ) { mScrollView.fling ( ( - velocityX ) ) ; }
Source:
public void callSessionHandover ( int srcAccessTech , int targetAccessTech , com.android.ims.ImsReasonInfo reasonInfo ) throws android.os.RemoteException { mListener.callSessionHandover ( srcAccessTech , targetAccessTech , reasonInfo ) ; }

Target:
public void callSessionConferenceExtended ( android.telephony.ims.stub.ImsCallSessionImplBase newSession , android.telephony.ims.ImsCallProfile profile ) { try { mListener.callSessionConferenceExtended ( ( newSession != null ? newSession.getServiceImpl ( ) : null ) , profile ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }
Source:
public void closeUdpEncapsulationSocket ( int resourceId ) throws android.os.RemoteException { releaseManagedResource ( mUdpSocketRecords , resourceId , "UdpEncapsulationSocket" ) ; }

Target:
public void releaseSecurityParameterIndex ( int resourceId ) throws android.os.RemoteException { releaseKernelResource ( mSpiRecords , resourceId , "SecurityParameterIndex" ) ; }
Source:
public void testDisconnect ( ) throws java.lang.Exception { int clientId = doConnect ( ) ; mDut.disconnect ( clientId , mBinderMock ) ; org.mockito.Mockito.verify ( mNanStateManagerMock ) . disconnect ( clientId ) ; validateInternalStateCleanedUp ( clientId ) ; }

Target:
public void testDisconnect ( ) throws java.lang.Exception { int clientId = doConnect ( ) ; mDut.disconnect ( clientId , mBinderMock ) ; org.mockito.Mockito.verify ( mAwareStateManagerMock ) . disconnect ( clientId ) ; validateInternalStateCleanedUp ( clientId ) ; }
Source:
public static com.google.gct.intellij.endpoints.util.PsiClass findClass ( com.google.gct.intellij.endpoints.util.PsiElement element ) { return element instanceof com.google.gct.intellij.endpoints.util.PsiClass ? ( ( com.google.gct.intellij.endpoints.util.PsiClass ) ( element ) ) : com.intellij.psi.util.PsiTreeUtil.getParentOfType ( element , com.google.gct.intellij.endpoints.util.PsiClass.class ) ; }

Target:
public static com.google.gct.idea.appengine.util.PsiClass findClass ( com.google.gct.idea.appengine.util.PsiElement element ) { return element instanceof com.google.gct.idea.appengine.util.PsiClass ? ( ( com.google.gct.idea.appengine.util.PsiClass ) ( element ) ) : com.intellij.psi.util.PsiTreeUtil.getParentOfType ( element , com.google.gct.idea.appengine.util.PsiClass.class ) ; }
Source:
public static double DoubleRemainder ( ) { 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 IntRemainder ( ) { int a ; int b ; int c ; a = 8 ; b = 3 ; c = a % b ; return c ; }