auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void run ( ) { cutSelectionToClipboard ( new java.util.ArrayList < com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasSelection > ( mSelections ) ) ; }

Target:
public void run ( ) { pasteSelection ( new java.util.ArrayList < com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasSelection > ( mSelections ) ) ; }
Source:
public void setDrawingCacheEnabled ( boolean enabled ) { setFlags ( ( enabled ? android.view.View.DRAWING_CACHE_ENABLED : 0 ) , android.view.View.DRAWING_CACHE_ENABLED ) ; }

Target:
public void setDrawingCacheEnabled ( boolean enabled ) { mCachingFailed = false ; setFlags ( ( enabled ? android.view.View.DRAWING_CACHE_ENABLED : 0 ) , android.view.View.DRAWING_CACHE_ENABLED ) ; }
Source:
protected abstract T doCreateOutput ( @ com.android.annotations.Nullable java.lang.String densityFilter , @ com.android.annotations.Nullable java.lang.String abiFilter ) ;

Target:
protected abstract T doCreateOutput ( com.android.build.OutputFile.OutputType outputType , java.util.Collection < com.android.build.FilterData > filters ) ;
Source:
public static java.lang.String getFolderSegment ( java.lang.String value ) { java.lang.String segment = value.toLowerCase ( ) ; if ( com.android.ide.eclipse.adt.internal.resources.configurations.LanguageQualifier.sLanguagePattern.matcher ( segment ) . matches ( ) ) { return segment ; } return null ; }

Target:
public static java.lang.String getFolderSegment ( java.lang.String value ) { java.lang.String segment = value.toLowerCase ( ) ; if ( com.android.ide.common.resources.configuration.LanguageQualifier.sLanguagePattern.matcher ( segment ) . matches ( ) ) { return segment ; } return null ; }
Source:
private static native void startMethodTracingFd ( java.lang.String traceFileName , java.io.FileDescriptor fd , int bufferSize , int flags ) ;

Target:
private static native void startMethodTracingFilename ( java.lang.String traceFileName , int bufferSize , int flags , boolean samplingEnabled , int intervalUs ) ;
Source:
public java.lang.String getText ( com.android.monkeyrunner.easy.By selector ) { return mHierarchyViewer.getText ( selector ) ; }

Target:
public java.lang.String getText ( com.android.monkeyrunner.easy.By selector ) { com.android.hierarchyviewerlib.device.ViewNode node = selector.findView ( mHierarchyViewer ) ; return mHierarchyViewer.getText ( node ) ; }
Source:
public void onClick ( android.view.View view ) { com.android.dialer.common.LogUtil.i ( "NewVoicemailMediaPlayer.deleteButtonListener" , "delete voicemailUri %s" , voicemailUri.toString ( ) ) ; }

Target:
public final void clickPlayButton ( ) { playButtonListener.onClick ( null ) ; }
Source:
public void testInitialize_nullInterfaceFailure ( ) throws java.lang.Exception { executeAndValidateInitializationSequence ( false , false , true ) ; }

Target:
public void testInitialize_callbackRegistrationFailure ( ) throws java.lang.Exception { executeAndValidateInitializationSequence ( false , false , false , true ) ; }
Source:
public void testCipher_Success ( ) throws java.lang.Exception { for ( java.lang.String provider : libcore.javax.crypto.CipherTest.AES_PROVIDERS ) { testCipher_Success ( provider ) ; } }

Target:
public void testCipher_Success ( ) throws java.lang.Exception { for ( java.lang.String provider : libcore.javax.crypto.CipherTest.AES_PROVIDERS ) { testCipher_Success ( provider ) ; } testCipher_Success_ForAllSupportingProviders_AtLeastOneProviderRequired ( libcore.javax.crypto.CipherTest.DES_CIPHER_TEST_PARAMS ) ; }
Source:
public byte readByte ( ) { byte result = libcore.io.Memory.peekByte ( ( ( address ) + ( position ) ) ) ; ++ ( position ) ; return result ; }

Target:
public byte readByte ( ) { file.checkNotClosed ( ) ; libcore.io.NioBufferIterator.checkReadBounds ( position , length , 1 ) ; byte result = libcore.io.Memory.peekByte ( ( ( address ) + ( position ) ) ) ; ++ ( position ) ; return result ; }
Source:
private void checkEditOK ( ) { final com.android.ide.eclipse.adt.internal.editors.AndroidEditor editor = mNode.getEditor ( ) ; if ( ! ( editor.isEditXmlModelPending ( ) ) ) { throw new java.lang.RuntimeException ( "Error: XML edit call without using INode.editXml!" ) ; } }

Target:
private void checkEditOK ( ) { final com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor editor = mNode.getEditor ( ) ; if ( ! ( editor.isEditXmlModelPending ( ) ) ) { throw new java.lang.RuntimeException ( "Error: XML edit call without using INode.editXml!" ) ; } }
Source:
private void removePreviousDigitIfPossible ( ) { final int currentPosition = mDigits.getSelectionStart ( ) ; if ( currentPosition > 0 ) { mDigits.setSelection ( currentPosition ) ; mDigits.getText ( ) . delete ( ( currentPosition - 1 ) , currentPosition ) ; } }

Target:
private void updateDialAndDeleteButtonStateEnabledAttr ( ) { final boolean notEmpty = ( mDigits.length ( ) ) != 0 ; mDelete.setEnabled ( notEmpty ) ; }
Source:
public void onDevicesChange ( ) { mAvdSelector.refresh ( false ) ; }

Target:
public void onDevicesChanged ( ) { mAvdSelector.refresh ( false ) ; }
Source:
private boolean isSearchVisible ( ) { com.android.dialer.searchfragment.list.NewSearchFragment fragment = getSearchFragment ( ) ; return ( ( fragment != null ) && ( fragment.isAdded ( ) ) ) && ( ! ( fragment.isHidden ( ) ) ) ; }

Target:
private boolean isSearchVisible ( ) { return ( ( ( searchFragment ) != null ) && ( searchFragment.isAdded ( ) ) ) && ( ! ( searchFragment.isHidden ( ) ) ) ; }
Source:
public boolean isReplace ( ) { android.util.Log.w ( com.android.internal.telephony.cdma.SmsMessage.LOG_TAG , "isReplace: is not supported in CDMA mode." ) ; return false ; }

Target:
public boolean isReplace ( ) { android.telephony.Rlog.w ( com.android.internal.telephony.cdma.SmsMessage.LOG_TAG , "isReplace: is not supported in CDMA mode." ) ; return false ; }
Source:
public void unregisterNetworkCallback ( android.app.PendingIntent operation ) { releaseNetworkRequest ( operation ) ; }

Target:
public void unregisterNetworkCallback ( android.app.PendingIntent operation ) { android.net.ConnectivityManager.checkPendingIntentNotNull ( operation ) ; releaseNetworkRequest ( operation ) ; }
Source:
static java.net.InetAddress [ ] getAllByName0 ( java.lang.String host , boolean check ) throws java.net.UnknownHostException { return java.net.InetAddress.getAllByName0 ( host , null , check ) ; }

Target:
public static java.net.InetAddress [ ] getAllByName ( java.lang.String host ) throws java.net.UnknownHostException { return java.net.InetAddress.impl.lookupAllHostAddr ( host , java.net.InetAddress.NETID_UNSET ) ; }
Source:
public java.lang.String toString ( ) { return java.lang.String.format ( "%s (%s)" , state , network ) ; }

Target:
public java.lang.String toString ( ) { return java.lang.String.format ( "%s (%s) (%s)" , state , network , arg ) ; }
Source:
public static com.android.jack.dx.rop.code.RopMethod convertToRopMethod ( com.android.jack.dx.ssa.SsaMethod ssaMeth ) { return new com.android.jack.dx.ssa.back.SsaToRop ( ssaMeth ) . convert ( ) ; }

Target:
public static com.android.jack.dx.rop.code.RopMethod convertToRopMethod ( com.android.jack.dx.ssa.SsaMethod ssaMeth , boolean removeRedundantConditionalBranch ) { return new com.android.jack.dx.ssa.back.SsaToRop ( ssaMeth , removeRedundantConditionalBranch ) . convert ( ) ; }
Source:
public java.text.CollationKey getCollationKey ( java.lang.String source ) { return icuColl.getCollationKey ( source ) ; }

Target:
public java.text.CollationKey getCollationKey ( java.lang.String source ) { if ( source == null ) { return null ; } return new libcore.icu.CollationKeyICU ( source , icuColl.getCollationKey ( source ) ) ; }
Source:
public void pauseScan ( ) { mWifiVendorHal.pauseScan ( ) ; }

Target:
public void pauseBgScan ( ) { mWifiVendorHal.pauseBgScan ( ) ; }
Source:
public void testCleanUpSIM ( ) { testInsertSim ( ) ; assertFalse ( mSubscriptionControllerUT.isActiveSubId ( 1 ) ) ; mSubscriptionControllerUT.clearSubInfo ( ) ; assertFalse ( mSubscriptionControllerUT.isActiveSubId ( 0 ) ) ; assertEquals ( SubscriptionManager.SIM_NOT_INSERTED , mSubscriptionControllerUT.getSlotId ( 0 ) ) ; }

Target:
public void testCleanUpSIM ( ) { testInsertSim ( ) ; assertFalse ( mSubscriptionControllerUT.isActiveSubId ( 1 ) ) ; mSubscriptionControllerUT.clearSubInfo ( ) ; assertFalse ( mSubscriptionControllerUT.isActiveSubId ( 0 ) ) ; assertEquals ( SubscriptionManager.SIM_NOT_INSERTED , mSubscriptionControllerUT.getSlotIndex ( 0 ) ) ; }
Source:
public static float signum ( float f ) { return ( f == 0.0F ) || ( sun.misc.FpUtils.isNaN ( f ) ) ? f : sun.misc.FpUtils.copySign ( 1.0F , f ) ; }

Target:
public static boolean isFinite ( float f ) { return java.lang.Float.isFinite ( f ) ; }
Source:
public java.lang.Iterable < com.android.jack.ir.ast.JSsaVariableRef > getRhs ( ) { return rhs ; }

Target:
public com.android.jack.ir.ast.JSsaVariableRef getRhs ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JBasicBlock pred ) { com.android.jack.ir.ast.JSsaVariableRef ref = rhs.get ( pred ) ; assert ref != null ; return ref ; }
Source:
private void keepName ( com.android.jack.ir.ast.JMethod method ) { com.android.jack.ir.ast.JMethodId methodId = method.getMethodId ( ) ; markIfNecessary ( methodId ) ; }

Target:
private void keepName ( com.android.jack.ir.ast.JMethod method ) { com.android.jack.ir.ast.JMethodIdWide methodId = method.getMethodIdWide ( ) ; markIfNecessary ( methodId ) ; }
Source:
public static boolean isFileBasedResourceType ( com.android.resources.ResourceType type ) { com.android.ide.eclipse.adt.internal.resources.manager.ResourceFolderType [ ] folderTypes = com.android.ide.eclipse.adt.internal.resources.manager.FolderTypeRelationship.getRelatedFolders ( type ) ; for ( com.android.ide.eclipse.adt.internal.resources.manager.ResourceFolderType folderType : folderTypes ) { if ( folderType != ( com.android.ide.eclipse.adt.internal.resources.manager.ResourceFolderType.VALUES ) ) { return true ; } } return false ; }

Target:
public static boolean isFileBasedResourceType ( com.android.resources.ResourceType type ) { com.android.resources.ResourceFolderType [ ] folderTypes = com.android.ide.eclipse.adt.internal.resources.manager.FolderTypeRelationship.getRelatedFolders ( type ) ; for ( com.android.resources.ResourceFolderType folderType : folderTypes ) { if ( folderType != ( com.android.resources.ResourceFolderType.VALUES ) ) { return true ; } } return false ; }
Source:
public void setDataRoamingEnabled ( boolean enable ) { mDataConnectionTracker.setDataOnRoamingEnabled ( enable ) ; }

Target:
public void setDataRoamingEnabled ( boolean enable ) { mDcTracker.setDataOnRoamingEnabled ( enable ) ; }
Source:
public static void computeAbs ( android.renderscript.cts.TestAbs.ArgumentsCharUchar args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = ( ( byte ) ( java.lang.StrictMath.abs ( args.inValue ) ) ) ; }

Target:
public static void computeDot ( android.renderscript.cts.TestDot.ArgumentsFloatFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( ( ( args.inLhs ) * ( args.inRhs ) ) ) ; }
Source:
public void write ( @ com.android.annotations.NonNull com.android.builder.profile.ExecutionRecord executionRecord ) { java.lang.String json = gson.toJson ( executionRecord ) ; try { writer.append ( json ) ; writer.append ( "\n" ) ; } catch ( java.io.IOException e ) { e.printStackTrace ( ) ; } }

Target:
public void shutdown ( ) { try { singletonJobContext.getPayload ( ) . close ( ) ; } catch ( java.io.IOException e ) { throw new java.lang.RuntimeException ( e ) ; } }
Source:
public void setWarning ( org.eclipse.core.resources.IResource resource , java.lang.String message ) { com.android.ide.eclipse.adt.internal.project.BaseProjectHelper.markResource ( resource , AndroidConstants.MARKER_PACKAGING , message , IMarker.SEVERITY_WARNING ) ; }

Target:
public void setWarning ( org.eclipse.core.resources.IResource resource , java.lang.String message ) { com.android.ide.eclipse.adt.internal.project.BaseProjectHelper.markResource ( resource , AdtConstants.MARKER_PACKAGING , message , IMarker.SEVERITY_WARNING ) ; }
Source:
public void testConnectsToEmergencyNumber_CL ( ) { assertTrue ( shortInfo.connectsToEmergencyNumber ( "131" , RegionCode.CL ) ) ; assertTrue ( shortInfo.connectsToEmergencyNumber ( "133" , RegionCode.CL ) ) ; }

Target:
public void testConnectsToEmergencyNumber_CL ( ) { assertTrue ( com.android.i18n.phonenumbers.ShortNumberInfoTest.shortInfo.connectsToEmergencyNumber ( "131" , RegionCode.CL ) ) ; assertTrue ( com.android.i18n.phonenumbers.ShortNumberInfoTest.shortInfo.connectsToEmergencyNumber ( "133" , RegionCode.CL ) ) ; }
Source:
public native java.lang.Object getObjectVolatile ( java.lang.Object obj , long offset ) ;

Target:
public native void putLongVolatile ( java.lang.Object obj , long offset , long newValue ) ;
Source:
public long [ ] getMatchAnysOis ( ) { return mMatchAnyOis ; }

Target:
public long [ ] getMatchAnyOis ( ) { return mMatchAnyOis ; }
Source:
public void requestIsimAuthentication ( java.lang.String nonce , android.os.Message response ) ;

Target:
void stopNattKeepalive ( int sessionHandle , android.os.Message result ) ;
Source:
public void testQuickFix_withValidApiName ( ) { com.google.gct.intellij.endpoints.validation.ApiNameInspection.MyQuickFix localQuickFix = new com.google.gct.intellij.endpoints.validation.ApiNameInspection ( ) . new com.google.gct.intellij.endpoints.validation.MyQuickFix ( ) ; junit.framework.Assert.assertEquals ( "foo" , localQuickFix.getNameSuggestions ( "foo" ) ) ; }

Target:
public void testQuickFix_withValidApiName ( ) { com.google.gct.idea.appengine.validation.ApiNameInspection.MyQuickFix localQuickFix = new com.google.gct.idea.appengine.validation.ApiNameInspection ( ) . new com.google.gct.idea.appengine.validation.MyQuickFix ( ) ; junit.framework.Assert.assertEquals ( "foo" , localQuickFix.getNameSuggestions ( "foo" ) ) ; }
Source:
public void factory_ofEpochDay_aboveMax ( ) { java.time.LocalDate.ofEpochDay ( ( ( MAX_VALID_EPOCHDAYS ) + 1 ) ) ; }

Target:
public void factory_ofEpochDay_aboveMax ( ) { java.time.LocalDate.ofEpochDay ( ( ( tck.java.time.TCKLocalDate.MAX_VALID_EPOCHDAYS ) + 1 ) ) ; }
Source:
public int available ( ) throws java.io.IOException { return 0 ; }

Target:
public int available ( ) throws java.io.IOException { return ( outputLength ) - ( outputIndex ) ; }
Source:
public void dispatchMediaKeyEvent ( android.view.KeyEvent keyEvent ) { android.media.session.MediaSessionLegacyHelper helper = android.media.session.MediaSessionLegacyHelper.getHelper ( getContext ( ) ) ; helper.sendMediaButtonEvent ( keyEvent , false ) ; }

Target:
public void dispatchMediaKeyEvent ( android.view.KeyEvent keyEvent ) { android.media.session.MediaSessionLegacyHelper helper = android.media.session.MediaSessionLegacyHelper.getHelper ( mApplicationContext ) ; helper.sendMediaButtonEvent ( keyEvent , false ) ; }
Source:
public void copy3DRangeFrom ( int xoff , int yoff , int zoff , int w , int h , int d , short [ ] data ) { validateIsInt16 ( ) ; copy3DRangeFromUnchecked ( xoff , yoff , zoff , w , h , d , data ) ; }

Target:
public void copyTo ( short [ ] d ) { validateIsInt16 ( ) ; copyTo ( d , Element.DataType.SIGNED_16 , d.length ) ; }
Source:
public java.lang.String getLine1Number ( ) { com.android.internal.telephony.IccRecords r = mIccRecords.get ( ) ; return r != null ? r.getMsisdnNumber ( ) : "" ; }

Target:
public java.lang.String getMsisdn ( ) { com.android.internal.telephony.uicc.IccRecords r = mIccRecords.get ( ) ; return r != null ? r.getMsisdnNumber ( ) : "" ; }
Source:
public static native boolean presentInProfile ( java.lang.String profile , java.lang.reflect.Method method ) ;

Target:
public static native boolean profileHasMethod ( boolean hot , java.lang.String profile , java.lang.reflect.Method method ) ;
Source:
public static void computeLog ( android.renderscript.cts.TestLog.ArgumentsFloatFloat args ) { args.ulf = 3 ; args.ulfRelaxed = 16 ; args.out = ( ( float ) ( java.lang.StrictMath.log ( args.in ) ) ) ; }

Target:
public static void computeAcospi ( android.renderscript.cts.TestAcospi.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( ( ( android.renderscript.cts.CoreMathVerifier.acos ( args.inV ) ) / ( ( float ) ( java.lang.Math.PI ) ) ) , 5 , 128 ) ; }
Source:
public static void loop9 ( ) { java.lang.System.out.println ( "Enter" ) ; while ( ( java.lang.Runtime.getRuntime ( ) ) != null ) { boolean incoming = Main.field ; while ( incoming ) { } } }

Target:
public static void loop9 ( ) { java.lang.System.out.println ( "Enter" ) ; while ( Main.$opt$noinline$ensureSideEffects ( ) ) { boolean incoming = Main.field ; while ( incoming ) { } } }
Source:
public boolean setReport ( android.bluetooth.BluetoothDevice device , byte reportType , java.lang.String report ) { com.android.bluetooth.hid.HidService service = getService ( ) ; if ( service == null ) { return false ; } return service.setReport ( device , reportType , report ) ; }

Target:
public boolean setReport ( android.bluetooth.BluetoothDevice device , byte reportType , java.lang.String report ) { com.android.bluetooth.hid.HidHostService service = getService ( ) ; if ( service == null ) { return false ; } return service.setReport ( device , reportType , report ) ; }
Source:
synchronized long nIncAllocationCreateTyped ( long alloc , long type ) { validate ( ) ; return rsnIncAllocationCreateTyped ( mContext , mIncCon , alloc , type ) ; }

Target:
synchronized long nIncAllocationCreateTyped ( long alloc , long type , int xBytesSize ) { validate ( ) ; return rsnIncAllocationCreateTyped ( mContext , mIncCon , alloc , type , xBytesSize ) ; }
Source:
public android.net.wifi.WifiConfiguration getCurrentWifiConfiguration ( ) { if ( ( mLastNetworkId ) == ( android.net.wifi.WifiConfiguration.INVALID_NETWORK_ID ) ) { return null ; } return mWifiConfigManager.getWifiConfiguration ( mLastNetworkId ) ; }

Target:
public android.net.wifi.WifiConfiguration getCurrentWifiConfiguration ( ) { if ( ( mLastNetworkId ) == ( android.net.wifi.WifiConfiguration.INVALID_NETWORK_ID ) ) { return null ; } return mWifiConfigManager.getConfiguredNetwork ( mLastNetworkId ) ; }
Source:
public static com.google.common.io.ByteArrayDataOutput newDataOutput ( int size ) { com.google.common.base.Preconditions.checkArgument ( ( size >= 0 ) , "Invalid size: %s" , size ) ; return new com.google.common.io.ByteStreams.ByteArrayDataOutputStream ( size ) ; }

Target:
public static com.google.common.io.ByteArrayDataOutput newDataOutput ( int size ) { com.google.common.base.Preconditions.checkArgument ( ( size >= 0 ) , "Invalid size: %s" , size ) ; return com.google.common.io.ByteStreams.newDataOutput ( new java.io.ByteArrayOutputStream ( size ) ) ; }
Source:
public static float FloatDivision ( ) { float a ; float b ; float c ; a = Main.$inline$float ( 8.0F ) ; b = Main.$inline$float ( 2.5F ) ; c = a / b ; return c ; }

Target:
public static float FloatRemainder ( ) { float a ; float b ; float c ; a = 8.0F ; b = 2.5F ; c = a % b ; return c ; }
Source:
public static void main ( java.lang.String [ ] args ) { Main.doTest ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { art.Main.bindAgentJNIForClass ( Main.class ) ; Main.doTest ( ) ; }
Source:
public com.android.sched.util.log.DummyTracer.DummyTracerEvent start ( @ javax.annotation.Nonnull com.android.sched.util.log.EventType type ) { assert ( config ) == ( com.android.sched.util.config.ThreadConfig.getConfig ( ) ) ; return dummyEvent ; }

Target:
public com.android.sched.util.log.DummyTracer.DummyTracerEvent open ( @ javax.annotation.Nonnull com.android.sched.util.log.EventType type ) { assert ( config ) == ( com.android.sched.util.config.ThreadConfig.getConfig ( ) ) ; return dummyEvent ; }
Source:
static void constantIndexingForward6 ( int [ ] array ) { Main.constantIndexing6 ( array ) ; }

Target:
static void constantIndexingForward6 ( int [ ] array ) { Main.assertIsManaged ( ) ; Main.constantIndexing6 ( array ) ; }
Source:
static com.ibm.icu.text.PluralRules.StandardPluralCategories forString ( java.lang.String s ) { com.ibm.icu.text.PluralRules.StandardPluralCategories a ; try { a = com.ibm.icu.text.PluralRules.StandardPluralCategories.valueOf ( s ) ; } catch ( java.lang.Exception e ) { return null ; } return a ; }

Target:
public static final com.ibm.icu.text.PluralRules.StandardPluralCategories getCategory ( java.lang.CharSequence keyword ) { com.ibm.icu.text.PluralRules.StandardPluralCategories cat = com.ibm.icu.text.PluralRules.StandardPluralCategories.getCategoryOrNull ( keyword ) ; if ( cat != null ) { return cat ; } else { throw new java.lang.IllegalArgumentException ( keyword.toString ( ) ) ; } }
Source:
public static < T > org.hamcrest.org.hamcrest.Matcher < T > anything ( java.lang.String description ) { return org.hamcrest.core.IsAnything.anything ( description ) ; }

Target:
public static < T > org.hamcrest.org.hamcrest.Matcher < T > instanceOf ( java.lang.Class < ? > type ) { return org.hamcrest.core.IsInstanceOf.instanceOf ( type ) ; }
Source:
public void setShowOverlay ( boolean value ) { synchronized ( this ) { showOverlay = value ; } }

Target:
public void setShowOverlay ( boolean value ) { synchronized ( this ) { showOverlay = value ; } doRedraw ( ) ; }
Source:
public float getValue ( ) { return mValue ; }

Target:
public float getFloatValue ( ) { return ( ( float ) ( mValue ) ) ; }
Source:
public com.google.common.hash.HashCode hashString ( java.lang.CharSequence input ) { return newHasher ( ) . putString ( input ) . hash ( ) ; }

Target:
public com.google.common.hash.HashCode hashUnencodedChars ( java.lang.CharSequence input ) { return newHasher ( ) . putUnencodedChars ( input ) . hash ( ) ; }
Source:
static android.net.MacAddressTest.AddrTypeTestCase of ( android.net.MacAddress.MacAddressType expected , int ... addr ) { android.net.MacAddressTest.AddrTypeTestCase t = new android.net.MacAddressTest.AddrTypeTestCase ( ) ; t.expected = expected ; t.addr = android.net.MacAddressTest.toByteArray ( addr ) ; return t ; }

Target:
static android.net.MacAddressTest.AddrTypeTestCase of ( int expectedType , int ... addr ) { android.net.MacAddressTest.AddrTypeTestCase t = new android.net.MacAddressTest.AddrTypeTestCase ( ) ; t.expectedType = expectedType ; t.addr = android.net.MacAddressTest.toByteArray ( addr ) ; return t ; }
Source:
private static native void native_drawText ( int nativeCanvas , char [ ] text , int index , int count , float x , float y , int flags , int paint ) ;

Target:
private static native void native_drawText ( long nativeCanvas , char [ ] text , int index , int count , float x , float y , int flags , long nativePaint ) ;
Source:
protected boolean engineVerify ( byte [ ] sigBytes ) throws java.security.SignatureException { return false ; }

Target:
public boolean engineVerify ( byte [ ] sigBytes ) throws java.security.SignatureException { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public java.lang.String getAdapterItemValue ( com.android.ide.common.rendering.api.ResourceReference adapterView , com.android.ide.common.rendering.api.ResourceReference itemRef , int fullPosition , int typePosition , com.android.ide.common.rendering.api.ResourceReference viewRef , java.lang.String viewClass ) { return null ; }

Target:
public java.lang.Object getAdapterItemValue ( com.android.ide.common.rendering.api.ResourceReference adapterView , java.lang.Object adapterCookie , com.android.ide.common.rendering.api.ResourceReference itemRef , int fullPosition , int typePosition , com.android.ide.common.rendering.api.ResourceReference viewRef , com.android.ide.eclipse.tests.functests.layoutRendering.ViewAttribute viewAttribute , java.lang.Object defaultValue ) { return null ; }
Source:
public boolean isMissingGoogleRepository ( ) { return ! ( haveLocalRepository ( "google" ) ) ; }

Target:
public boolean isMissingSupportRepository ( ) { return ! ( haveLocalRepository ( SdkMavenRepository.ANDROID ) ) ; }
Source:
public void play ( ) { mAudioTrack.play ( ) ; }

Target:
public void play ( ) { mStopped = false ; mAudioTrack.play ( ) ; }
Source:
public android.net.IpSecTransform.Builder setUnderlyingNetwork ( android.net.Network net ) { mConfig.network = net ; return this ; }

Target:
public android.net.IpSecTransform buildTunnelModeTransform ( java.net.InetAddress localAddress , java.net.InetAddress remoteAddress ) { mConfig.setLocalAddress ( localAddress.getHostAddress ( ) ) ; mConfig.setRemoteAddress ( remoteAddress.getHostAddress ( ) ) ; mConfig.setMode ( android.net.IpSecTransform.MODE_TUNNEL ) ; return new android.net.IpSecTransform ( mContext , mConfig ) ; }
Source:
static void log ( java.lang.Throwable t ) { java.lang.System.logW ( "Error converting session." , t ) ; }

Target:
static void log ( java.lang.Throwable t ) { new java.lang.Exception ( "Error converting session" , t ) . printStackTrace ( ) ; }
Source:
public void run ( ) { setOverScrollMode ( mode ) ; }

Target:
public java.lang.Boolean call ( ) { return performAccessibilityAction ( action , arguments ) ; }
Source:
public void sendMsgParamsDecoded ( com.android.internal.telephony.gsm.stk.ResultCode resCode , com.android.internal.telephony.gsm.stk.CommandParams cmdParams ) { android.os.Message msg = obtainMessage ( com.android.internal.telephony.gsm.stk.RilMessageDecoder.CMD_PARAMS_READY ) ; msg.arg1 = resCode.value ( ) ; msg.obj = cmdParams ; sendMessage ( msg ) ; }

Target:
public void sendMsgParamsDecoded ( com.android.internal.telephony.cat.ResultCode resCode , com.android.internal.telephony.cat.CommandParams cmdParams ) { android.os.Message msg = obtainMessage ( com.android.internal.telephony.cat.RilMessageDecoder.CMD_PARAMS_READY ) ; msg.arg1 = resCode.value ( ) ; msg.obj = cmdParams ; sendMessage ( msg ) ; }
Source:
public boolean inBootloader ( ) { try { if ( ( com.nxp.id.jcopx.util.SystemInfo.getExternalState ( SystemInfo.SYSTEMINFO_SCENARIO_0 ) ) == ( ( byte ) ( 0 ) ) ) { return false ; } return true ; } catch ( javacard.framework.ISOException e ) { return false ; } }

Target:
public boolean inBootloader ( ) { try { switch ( com.nxp.id.jcopx.util.SystemInfo.getExternalState ( SystemInfo.SYSTEMINFO_SCENARIO_0 ) ) { case com.android.verifiedboot.storage.GlobalStateImpl.BOOTLOADER_HIGH : return true ; case com.android.verifiedboot.storage.GlobalStateImpl.BOOTLOADER_LOW : case com.android.verifiedboot.storage.GlobalStateImpl.BOOTLOADER_UNDEFINED : default : return false ; } } catch ( javacard.framework.ISOException e ) { return false ; } }
Source:
public void test_RSA_size_null_key_Failure ( ) throws java.lang.Exception { try { org.conscrypt.NativeCrypto.RSA_size ( null ) ; fail ( "Expecting null pointer exception for RSA_size with null key" ) ; } catch ( java.lang.NullPointerException expected ) { } }

Target:
public void test_RSA_size_null_key_Failure ( ) throws java.lang.Exception { try { org.conscrypt.NativeCrypto.RSA_size ( null ) ; org.junit.Assert.fail ( "Expecting null pointer exception for RSA_size with null key" ) ; } catch ( java.lang.NullPointerException expected ) { } }
Source:
public android.content.res.Configuration getConfiguration ( ) { android.content.res.Configuration ci ; synchronized ( this ) { ci = new android.content.res.Configuration ( mConfiguration ) ; } return ci ; }

Target:
public android.content.res.Configuration getConfiguration ( ) { android.content.res.Configuration ci ; synchronized ( this ) { ci = new android.content.res.Configuration ( mConfiguration ) ; ci.userSetLocale = false ; } return ci ; }
Source:
public android.bluetooth.BluetoothDevice getRemoteDevice ( ) { return mRemoteDevice ; }

Target:
public static android.bluetooth.BluetoothDevice getRemoteDevice ( ) { return com.android.bluetooth.map.BluetoothMapService.mRemoteDevice ; }
Source:
static java.lang.String getProperty ( @ com.android.annotations.Nullable java.util.Properties props , @ com.android.annotations.NonNull java.lang.String propKey , @ com.android.annotations.Nullable java.lang.String defaultValue ) { if ( props == null ) { return defaultValue ; } return props.getProperty ( propKey , defaultValue ) ; }

Target:
static java.lang.String getProperty ( @ com.android.annotations.Nullable java.util.Properties props , @ com.android.annotations.NonNull java.lang.String propKey , @ com.android.annotations.Nullable java.lang.String defaultValue ) { return com.android.sdklib.internal.repository.packages.PackageParserUtils.getProperty ( props , propKey , defaultValue ) ; }
Source:
private int readBytes ( byte [ ] b , int off , int len ) throws java.io.IOException { return libcore.io.IoBridge.read ( fd , b , off , len ) ; }

Target:
private int readBytes ( byte [ ] b , int off , int len ) throws java.io.IOException { ioTracker.trackIo ( len , IoTracker.Mode.READ ) ; return libcore.io.IoBridge.read ( fd , b , off , len ) ; }
Source:
public void tearDown ( ) throws java.lang.Exception { deleteDir ( mFakeSdk ) ; }

Target:
private void tearDownSdk ( ) { deleteDir ( mFakeSdk ) ; }
Source:
public int adjustType ( int typeIndex ) { return typeIndex == ( com.android.dx.io.ClassDef.NO_INDEX ) ? com.android.dx.io.ClassDef.NO_INDEX : ( typeIds [ typeIndex ] ) & 65535 ; }

Target:
public int adjustType ( int typeIndex ) { return typeIndex == ( com.android.dex.ClassDef.NO_INDEX ) ? com.android.dex.ClassDef.NO_INDEX : ( typeIds [ typeIndex ] ) & 65535 ; }
Source:
private void decCallbackHandlerRefCount ( ) { synchronized ( android.net.ConnectivityManager.sCallbackRefCount ) { if ( ( android.net.ConnectivityManager.sCallbackRefCount.decrementAndGet ( ) ) == 0 ) { android.net.ConnectivityManager.sCallbackHandler.obtainMessage ( android.net.ConnectivityManager.CALLBACK_EXIT ) . sendToTarget ( ) ; android.net.ConnectivityManager.sCallbackHandler = null ; } } }

Target:
private android.net.NetworkRequest sendRequestForNetwork ( android.net.NetworkCapabilities need , android.net.ConnectivityManager.NetworkCallback callback , int timeoutMs , int action , int legacyType ) { return sendRequestForNetwork ( need , callback , getHandler ( ) , timeoutMs , action , legacyType ) ; }
Source:
private static android.net.wifi.hotspot2.pps.HomeSP createHomeSp ( ) { android.net.wifi.hotspot2.pps.HomeSP homeSp = new android.net.wifi.hotspot2.pps.HomeSP ( ) ; homeSp.fqdn = "fqdn" ; homeSp.friendlyName = "friendly name" ; homeSp.roamingConsortiumOIs = new long [ ] { 85 , 102 } ; return homeSp ; }

Target:
private static android.net.wifi.hotspot2.pps.HomeSP createHomeSp ( ) { android.net.wifi.hotspot2.pps.HomeSP homeSp = new android.net.wifi.hotspot2.pps.HomeSP ( ) ; homeSp.setFqdn ( "fqdn" ) ; homeSp.setFriendlyName ( "friendly name" ) ; homeSp.setRoamingConsortiumOIs ( new long [ ] { 85 , 102 } ) ; return homeSp ; }
Source:
public void setHs20 ( boolean hs20 ) { if ( hs20 ) { doBooleanCommand ( "SET HS20 1" ) ; } else { doBooleanCommand ( "SET HS20 0" ) ; } }

Target:
public boolean setBluetoothCoexistenceScanMode ( boolean setCoexScanMode ) { if ( com.android.server.wifi.WifiNative.HIDL_SUP_ENABLE ) { return mSupplicantStaIfaceHal.setBtCoexistenceScanModeEnabled ( setCoexScanMode ) ; } else { if ( setCoexScanMode ) { return doBooleanCommand ( "DRIVER BTCOEXSCAN-START" ) ; } else { return doBooleanCommand ( "DRIVER BTCOEXSCAN-STOP" ) ; } } }
Source:
void notifyListenerResponseReceived ( com.android.volley.Response < ? > response ) { synchronized ( mLock ) { if ( ( mRequestCompleteListener ) != null ) { mRequestCompleteListener.onResponseReceived ( this , response ) ; } } }

Target:
void notifyListenerResponseNotUsable ( ) { com.android.volley.Request.NetworkRequestCompleteListener listener ; synchronized ( mLock ) { listener = mRequestCompleteListener ; } if ( listener != null ) { listener.onNoUsableResponseReceived ( this ) ; } }
Source:
void reloadFromDatabase ( com.android.server.telecom.TelecomSystem.SyncRoot lock , com.android.server.telecom.CallsManager callsManager , com.android.server.telecom.ContactsAsyncHelper contactsAsyncHelper , com.android.server.telecom.CallerInfoAsyncQueryFactory callerInfoAsyncQueryFactory , android.os.UserHandle userHandle ) ;

Target:
void reloadAfterBootComplete ( com.android.server.telecom.CallerInfoLookupHelper callerInfoLookupHelper , com.android.server.telecom.MissedCallNotifier.CallInfoFactory callInfoFactory ) ;
Source:
void parseClassSignature ( ) { parseOptFormalTypeParameters ( ) ; this . superclassType = parseClassTypeSignature ( ) ; interfaceTypes = new org.apache.harmony.luni.lang.reflect.ListOfTypes ( 16 ) ; while ( ( symbol ) > 0 ) { interfaceTypes.add ( parseClassTypeSignature ( ) ) ; } }

Target:
void parseClassSignature ( ) { parseOptFormalTypeParameters ( ) ; this . superclassType = parseClassTypeSignature ( ) ; interfaceTypes = new libcore.reflect.ListOfTypes ( 16 ) ; while ( ( symbol ) > 0 ) { interfaceTypes.add ( parseClassTypeSignature ( ) ) ; } }
Source:
public void testEnded ( com.android.ddmlib.testrunner.TestIdentifier test ) { mExecution.getListener ( ) . notifyTestEnded ( new com.android.ide.eclipse.adt.internal.launch.junit.runtime.TestCaseReference ( test ) ) ; }

Target:
public void testEnded ( com.android.ddmlib.testrunner.TestIdentifier test , java.util.Map < java.lang.String , java.lang.String > ignoredTestMetrics ) { mExecution.getListener ( ) . notifyTestEnded ( new com.android.ide.eclipse.adt.internal.launch.junit.runtime.TestCaseReference ( test ) ) ; }
Source:
public void disableScoring ( ) { if ( ( mNetworkScorerAppManager.isCallerActiveScorer ( getCallingUid ( ) ) ) || ( isCallerSystemUid ( ) ) ) { } else { throw new java.lang.SecurityException ( "Caller is neither the active scorer nor the scorer manager." ) ; } }

Target:
public boolean isCallerActiveScorer ( int callingUid ) { synchronized ( mServiceConnectionLock ) { return ( ( mServiceConnection ) != null ) && ( ( mServiceConnection.mScoringAppUid ) == callingUid ) ; } }
Source:
public static void printUsage ( @ javax.annotation.Nonnull com.android.jack.Options options ) { org.kohsuke.args4j.CmdLineParser parser = new org.kohsuke.args4j.CmdLineParser ( options ) ; java.lang.System.out.print ( "Main: " ) ; parser.printSingleLineUsage ( java.lang.System.out ) ; java.lang.System.out.println ( ) ; parser.printUsage ( java.lang.System.out ) ; }

Target:
public static void printUsage ( @ javax.annotation.Nonnull com.android.jack.Options options ) { org.kohsuke.args4j.CmdLineParser parser = new org.kohsuke.args4j.CmdLineParser ( options ) ; java.lang.System.out.print ( "Main: " ) ; parser.printSingleLineUsage ( java.lang.System.out ) ; java.lang.System.out.println ( ) ; com.android.jack.CommandLine.printSubUsage ( java.lang.System.out ) ; }
Source:
public K lowerKey ( K key ) { return getNearKey ( key , m.LT ) ; }

Target:
public K lowerKey ( K key ) { return getNearKey ( key , java.util.concurrent.ConcurrentSkipListMap.LT ) ; }
Source:
public final byte[] getAlpnSelectedProtocol() { return org.conscrypt.SSLUtils.toProtocolBytes(getApplicationProtocol​()); }

Target:
public final byte [ ] getAlpnSelectedProtocol ( ) { return org.conscrypt.SSLUtils.toProtocolBytes ( getApplicationProtocol ( ) ) ; }
Source:
public void setHs20 ( boolean hs20 ) { if ( hs20 ) { doBooleanCommand ( "SET HS20 1" ) ; } else { doBooleanCommand ( "SET HS20 0" ) ; } }

Target:
public boolean simIdentityResponse ( int id , java.lang.String response ) { if ( com.android.server.wifi.WifiNative.HIDL_SUP_ENABLE ) { return mSupplicantStaIfaceHal.sendCurrentNetworkEapIdentityResponse ( response ) ; } else { return doBooleanCommand ( ( ( ( "CTRL-RSP-IDENTITY-" + id ) + ":" ) + response ) ) ; } }
Source:
public void enter ( ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "Enter AudioOn: " + ( getCurrentMessage ( ) . what ) ) ) ; mAudioManager.setStreamSolo ( AudioManager.STREAM_BLUETOOTH_SCO , true ) ; broadcastAudioState ( mCurrentDevice , BluetoothHeadsetClient.STATE_AUDIO_CONNECTED , BluetoothHeadsetClient.STATE_AUDIO_CONNECTING ) ; }

Target:
public void enter ( ) { if ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.DBG ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "Enter AudioOn: " + ( getCurrentMessage ( ) . what ) ) ) ; } broadcastAudioState ( mCurrentDevice , BluetoothHeadsetClient.STATE_AUDIO_CONNECTED , BluetoothHeadsetClient.STATE_AUDIO_CONNECTING ) ; }
Source:
public java.util.Collection < V > remove ( java.lang.Object key ) { return containsKey ( key ) ? multimap ( ) . removeAll ( key ) : null ; }

Target:
public java.util.Collection < V > get ( java.lang.Object key ) { return containsKey ( key ) ? multimap.get ( ( ( K ) ( key ) ) ) : null ; }
Source:
public void setup ( ) { put ( "Signature.NEWALG" , libcore.java.security.ProviderTest.MockSpi.class . getName ( ) ) ; put ( "Alg.Alias.Signature.OID.1.2.9999.9999.9999" , "NEWALG" ) ; }

Target:
public void setup ( ) { put ( "Signature.FOO" , libcore.java.security.ProviderTest.MockSpi.class . getName ( ) ) ; put ( "Alg.Alias.Signature.OID.1.2.840.113549.1.1.5" , "FOO" ) ; }
Source:
public void uint16 ( int v ) throws java.io.IOException { int16 ( ( ( short ) ( v & 65535 ) ) ) ; }

Target:
public void int16 ( short v ) throws java.io.IOException { intv ( v ) ; }
Source:
public synchronized void setPolicyDataEnabled ( boolean enabled ) { boolean prevDataEnabled = isDataEnabled ( ) ; mPolicyDataEnabled = enabled ; if ( prevDataEnabled != ( isDataEnabled ( ) ) ) { notifyDataEnabledChanged ( ( ! prevDataEnabled ) , com.android.internal.telephony.dataconnection.DataEnabledSettings.REASON_POLICY_DATA_ENABLED ) ; } }

Target:
public synchronized void setPolicyDataEnabled ( boolean enabled ) { localLog ( "PolicyDataEnabled" , enabled ) ; boolean prevDataEnabled = isDataEnabled ( ) ; mPolicyDataEnabled = enabled ; if ( prevDataEnabled != ( isDataEnabled ( ) ) ) { notifyDataEnabledChanged ( ( ! prevDataEnabled ) , com.android.internal.telephony.dataconnection.DataEnabledSettings.REASON_POLICY_DATA_ENABLED ) ; } }
Source:
public static java.lang.Object evaluate ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.JavaContext context , @ com.android.annotations.NonNull lombok.ast.Node node ) { return new com.android.tools.lint.detector.api.ConstantEvaluator ( context ) . evaluate ( node ) ; }

Target:
public static java.lang.Object evaluate ( @ com.android.annotations.Nullable com.android.tools.lint.detector.api.JavaContext context , @ com.android.annotations.NonNull com.intellij.psi.PsiElement node ) { return new com.android.tools.lint.detector.api.ConstantEvaluator ( context ) . evaluate ( node ) ; }
Source:
private boolean restartHwPnoScan ( ) { mHwPnoDebouncer.forceStopPnoScan ( ) ; return mHwPnoDebouncer.startPnoScan ( mHwPnoDebouncerListener ) ; }

Target:
private boolean restartHwPnoScan ( com.android.server.wifi.WifiNative.PnoSettings pnoSettings ) { mHwPnoDebouncer.forceStopPnoScan ( ) ; return mHwPnoDebouncer.startPnoScan ( pnoSettings , mHwPnoDebouncerListener ) ; }
Source:
private static java.lang.String [ ] getVersionNameStrings ( android.content.Context context ) { return com.android.cts.verifier.Version.getPackageInfo ( context ) . versionName.split ( " " ) ; }

Target:
static java.lang.String getVersionName ( android.content.Context context ) { return com.android.cts.verifier.Version.getPackageInfo ( context ) . versionName ; }
Source:
public void setLocalPatternChars ( java.lang.String newLocalPatternChars ) { localPatternChars = newLocalPatternChars.toString ( ) ; }

Target:
public void setLocalPatternChars ( java.lang.String newLocalPatternChars ) { localPatternChars = newLocalPatternChars.toString ( ) ; cachedHashCode = 0 ; }
Source:
static void writeIntArray ( java.io.ByteArrayOutputStream baos , int [ ] array ) { for ( int value : array ) { libcore.util.ZoneInfoTestHelper.writeInt ( baos , value ) ; } }

Target:
static void writeIntArray ( java.io.ByteArrayOutputStream baos , int [ ] array ) { for ( int value : array ) { libcore.tzdata.testing.ZoneInfoTestHelper.writeInt ( baos , value ) ; } }
Source:
public void registerSuggestionSpansForNotification ( android.text.style.SuggestionSpan [ ] spans ) { try { mService.registerSuggestionSpansForNotification ( spans ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }

Target:
public void registerSuggestionSpansForNotification ( android.text.style.SuggestionSpan [ ] spans ) { try { mService.registerSuggestionSpansForNotification ( spans ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
public boolean handleUssdRequest ( java.lang.String ussdRequest , android.os.ResultReceiver wrappedCallback ) { try { dialInternal ( ussdRequest , null , VideoProfile.STATE_AUDIO_ONLY , null , wrappedCallback ) ; return true ; } catch ( java.lang.Exception e ) { logd ( ( "exception" + e ) ) ; return false ; } }

Target:
public void setTTYMode ( int ttyMode , android.os.Message onComplete ) { if ( ( mImsPhone ) != null ) { mImsPhone.setTTYMode ( ttyMode , onComplete ) ; } }
Source:
public com.android.incallui.videotech.VideoTech getVideoTech ( ) { if ( ( videoTech ) == null ) { videoTech = videoTechManager.getVideoTech ( ) ; if ( ( selectedAvailableVideoTechType ) == com.android.dialer.logging.ContactLookupResult.com.android.dialer.logging.VideoTech.Type ) { selectedAvailableVideoTechType = videoTech.getVideoTechType ( ) ; } } return videoTech ; }

Target:
public com.android.incallui.videotech.VideoTech getVideoTech ( ) { if ( ( videoTech ) == null ) { videoTech = videoTechManager.getVideoTech ( getAccountHandle ( ) ) ; if ( ( selectedAvailableVideoTechType ) == com.android.dialer.logging.ContactLookupResult.com.android.dialer.logging.VideoTech.Type ) { selectedAvailableVideoTechType = videoTech.getVideoTechType ( ) ; } } return videoTech ; }
Source:
public void test_with_TemporalField_long_null ( ) { TEST_2007_07_15.with ( ( ( java.time.temporal.TemporalField ) ( null ) ) , 1 ) ; }

Target:
public void test_with_TemporalField_long_null ( ) { tck.java.time.TCKLocalDate.TEST_2007_07_15.with ( ( ( java.time.temporal.TemporalField ) ( null ) ) , 1 ) ; }
Source:
public int compareTo ( com.android.sdklib.internal.repository.Package other ) { int s1 = this . sortingScore ( ) ; int s2 = other.sortingScore ( ) ; return s1 - s2 ; }

Target:
public int compareTo ( com.android.sdklib.internal.repository.Package other ) { java.lang.String s1 = this . comparisonKey ( ) ; java.lang.String s2 = other.comparisonKey ( ) ; return s1.compareTo ( s2 ) ; }
Source:
public void validateConfigWithoutSubscriptionUpdate ( ) throws java.lang.Exception { android.net.wifi.hotspot2.PasspointConfiguration config = android.net.wifi.hotspot2.PasspointConfigurationTest.createConfig ( ) ; config.subscriptionUpdate = null ; org.junit.Assert.assertTrue ( config.validate ( ) ) ; }

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:
private static native boolean native_setConcat ( int native_object , int a , int b ) ;

Target:
private static native boolean native_setConcat ( long native_object , long native_a , long native_b ) ;
Source:
void unregisterTimeout ( ) { com.android.server.telecom.Log.d ( this , "unregisterTimeout" ) ; mIsRegistered = false ; mHandler.removeCallbacksAndMessages ( null ) ; cancel ( ) ; }

Target:
void unregisterTimeout ( ) { android.telecom.Log.d ( this , "unregisterTimeout" ) ; mIsRegistered = false ; mHandler.removeCallbacksAndMessages ( null ) ; cancel ( ) ; }
Source:
public void test_withDayOfYear_illegal ( ) { TEST_2007_07_15.withDayOfYear ( 367 ) ; }

Target:
public void test_plus_Period_timeNotAllowed ( ) { test.java.time.MockSimplePeriod period = test.java.time.MockSimplePeriod.of ( 7 , java.time.temporal.ChronoUnit.HOURS ) ; tck.java.time.TCKLocalDate.TEST_2007_07_15.plus ( period ) ; }
Source:
public void onAddFavoriteClicked ( ) { }

Target:
public void onAddFavoriteClicked ( ) { startActivity ( new android.content.Intent ( getContext ( ) , com.android.dialer.speeddial.AddFavoriteActivity.class ) ) ; }
Source:
public void close ( ) { mSpi = android.net.IpSecManager.INVALID_SECURITY_PARAMETER_INDEX ; mCloseGuard.close ( ) ; }

Target:
public android.net.IpSecManager.SecurityParameterIndex reserveSecurityParameterIndex ( int direction , java.net.InetAddress remoteAddress , int requestedSpi ) throws android.net.IpSecManager.ResourceUnavailableException , android.net.IpSecManager.SpiUnavailableException { if ( requestedSpi == ( android.net.IpSecManager.INVALID_SECURITY_PARAMETER_INDEX ) ) { throw new java.lang.IllegalArgumentException ( "Requested SPI must be a valid (non-zero) SPI" ) ; } return new android.net.IpSecManager.SecurityParameterIndex ( mService , direction , remoteAddress , requestedSpi ) ; }
Source:
public java.lang.String getDescription ( ) { if ( getVariantConfiguration ( ) . hasFlavors ( ) ) { return java.lang.String.format ( "%s build for flavor %s" , getCapitalizedBuildTypeName ( ) , getFlavoredName ( true ) ) ; } else { return java.lang.String.format ( "%s build" , getCapitalizedBuildTypeName ( ) ) ; } }

Target:
public java.lang.String getDescription ( ) { if ( getVariantConfiguration ( ) . hasFlavors ( ) ) { return java.lang.String.format ( "%s build for flavor %s" , getCapitalizedBuildTypeName ( ) , getCapitalizedFlavorName ( ) ) ; } else { return java.lang.String.format ( "%s build" , getCapitalizedBuildTypeName ( ) ) ; } }
Source:
private byte [ ] encodeSignedLeb ( int value ) { com.android.dx.util.ByteArrayAnnotatedOutput out = new com.android.dx.util.ByteArrayAnnotatedOutput ( 5 ) ; com.android.dx.util.Leb128Utils.writeSignedLeb128 ( out , value ) ; return out.toByteArray ( ) ; }

Target:
private byte [ ] encodeSignedLeb ( int value ) { com.android.dx.util.ByteArrayAnnotatedOutput out = new com.android.dx.util.ByteArrayAnnotatedOutput ( 5 ) ; com.android.dex.Leb128.writeSignedLeb128 ( out , value ) ; return out.toByteArray ( ) ; }
Source:
public void handleEvent ( org.eclipse.swt.widgets.Event event ) { scrollScrollbar ( ) ; }

Target:
protected org.eclipse.swt.widgets.Composite createChildContainer ( org.eclipse.swt.widgets.Composite parent ) { org.eclipse.swt.widgets.Composite composite = super . createChildContainer ( parent ) ; if ( mPaletteMode.isPreview ( ) ) { composite.setBackground ( mBackground ) ; } addMenu ( composite ) ; return composite ; }
Source:
public void test_getLong_TemporalField ( ) { org.testng.Assert.assertEquals ( TEST_07_15.getLong ( java.time.temporal.ChronoField.DAY_OF_MONTH ) , 15 ) ; org.testng.Assert.assertEquals ( TEST_07_15.getLong ( java.time.temporal.ChronoField.MONTH_OF_YEAR ) , 7 ) ; }

Target:
public void test_getLong_TemporalField ( ) { org.testng.Assert.assertEquals ( tck.java.time.TCKMonthDay.TEST_07_15.getLong ( java.time.temporal.ChronoField.DAY_OF_MONTH ) , 15 ) ; org.testng.Assert.assertEquals ( tck.java.time.TCKMonthDay.TEST_07_15.getLong ( java.time.temporal.ChronoField.MONTH_OF_YEAR ) , 7 ) ; }
Source:
void registerLanguage ( org.gradle.platform.base.LanguageTypeBuilder < com.android.build.gradle.model.AndroidLanguageSourceSet > builder ) { builder.setLanguageName ( "android" ) ; builder.defaultImplementation ( com.android.build.gradle.model.AndroidLanguageSourceSet ) ; }

Target:
public void registerLanguage ( org.gradle.platform.base.LanguageTypeBuilder < com.android.build.gradle.model.AndroidLanguageSourceSet > builder ) { builder.setLanguageName ( "android" ) ; builder.defaultImplementation ( com.android.build.gradle.model.AndroidLanguageSourceSet.class ) ; }
Source:
public void run ( ) { com.android.hierarchyviewerlib.HierarchyViewerDirector.getDirector ( ) . setPixelPerfectAutoRefresh ( com.android.hierarchyviewerlib.actions.PixelPerfectAutoRefreshAction.action.isChecked ( ) ) ; }

Target:
public void run ( ) { com.android.hierarchyviewerlib.HierarchyViewerDirector.getDirector ( ) . setPixelPerfectAutoRefresh ( com.android.hierarchyviewerlib.actions.PixelPerfectAutoRefreshAction.sAction.isChecked ( ) ) ; }
Source:
public void stkCallControlAlphaNotify ( int var1 , java.lang.String var2 ) { }

Target:
public void stkCallControlAlphaNotify ( int indicationType , java.lang.String var2 ) { }
Source:
public boolean apply ( java.util.Map.Entry < K , V > input ) { return keyPredicate.apply ( input.getKey ( ) ) ; }

Target:
public java.util.SortedSet < E > headSet ( E toElement ) { return com.google.common.collect.Maps.removeOnlySortedSet ( super . headSet ( toElement ) ) ; }