auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void dumpShowsPendingConnectionTrace ( ) throws java.lang.Exception { mLastMileLogger.reportConnectionEvent ( com.android.server.wifi.LastMileLoggerTest.FAKE_CONNECTION_ID , BaseWifiDiagnostics.CONNECTION_EVENT_STARTED ) ; android.os.FileUtils.stringToFile ( mTraceDataFile.getPath ( ) , "rdev_connect" ) ; org.junit.Assert.assertTrue ( getDumpString ( ) . contains ( "rdev_connect" ) ) ; }

Target:
public void connectionEventFailedDisablesTracingOnFailureOfFutureConnection ( ) throws java.lang.Exception { mLastMileLogger.reportConnectionEvent ( com.android.server.wifi.LastMileLoggerTest.FAKE_CONNECTION_ID , BaseWifiDiagnostics.CONNECTION_EVENT_STARTED ) ; mLastMileLogger.reportConnectionEvent ( ( ( com.android.server.wifi.LastMileLoggerTest.FAKE_CONNECTION_ID ) + 1 ) , BaseWifiDiagnostics.CONNECTION_EVENT_FAILED ) ; org.junit.Assert.assertEquals ( "0" , libcore.io.IoUtils.readFileAsString ( mTraceEnableFile.getPath ( ) ) ) ; }
Source:
private void doOpenWrite ( int index ) throws java.io.IOException { com.android.tv.tuner.exoplayer.buffer.SampleChunk chunk = mBufferManager.createNewWriteFile ( mIds.get ( index ) , 0 , mSamplePool ) ; mWriteIoStates [ index ] . openWrite ( chunk ) ; }

Target:
private void doOpenWrite ( int index ) throws java.io.IOException { com.android.tv.tuner.exoplayer.buffer.SampleChunk chunk = mBufferManager.createNewWriteFileIfNeeded ( mIds.get ( index ) , 0 , mSamplePool , null , 0 ) ; mWriteIoStates [ index ] . openWrite ( chunk ) ; }
Source:
public android.net.IpSecTransform.Builder setSpi ( @ android.net.IpSecTransform.TransformDirection int direction , android.net.IpSecManager.SecurityParameterIndex spi ) { mConfig.flow [ direction ] . spi = spi.getSpi ( ) ; return this ; }

Target:
public android.net.IpSecTransform buildTransportModeTransform ( java.net.InetAddress remoteAddress ) throws IpSecManager.ResourceUnavailableException , IpSecManager.SpiUnavailableException , java.io.IOException { mConfig.setMode ( android.net.IpSecTransform.MODE_TRANSPORT ) ; mConfig.setRemoteAddress ( remoteAddress.getHostAddress ( ) ) ; return new android.net.IpSecTransform ( mContext , mConfig ) . activate ( ) ; }
Source:
public static float FloatRemainder ( ) { float a ; float b ; float c ; a = 8.0F ; b = 2.5F ; c = a % b ; return c ; }

Target:
public static long LongRemainder ( ) { long a ; long b ; long c ; a = Main.$inline$long ( 8L ) ; b = Main.$inline$long ( 3L ) ; c = a % b ; return c ; }
Source:
public java.util.List < android.location.GnssMeasurementsEvent > getEvents ( ) { return mMeasurementsEvents ; }

Target:
public java.util.List < android.location.GnssMeasurementsEvent > getEvents ( ) { synchronized ( mMeasurementsEvents ) { java.util.List < android.location.GnssMeasurementsEvent > clone = new java.util.ArrayList < > ( ) ; clone.addAll ( mMeasurementsEvents ) ; return clone ; } }
Source:
public com.android.dx.io.MethodId get ( int index ) { com.android.dx.io.DexBuffer.checkBounds ( index , tableOfContents.methodIds.size ) ; return open ( ( ( tableOfContents.methodIds.off ) + ( ( com.android.dx.dex.SizeOf.MEMBER_ID_ITEM ) * index ) ) ) . readMethodId ( ) ; }

Target:
public com.android.dex.MethodId get ( int index ) { com.android.dex.Dex.checkBounds ( index , tableOfContents.methodIds.size ) ; return open ( ( ( tableOfContents.methodIds.off ) + ( ( SizeOf.MEMBER_ID_ITEM ) * index ) ) ) . readMethodId ( ) ; }
Source:
public void testDecode_NullByteBuffer ( ) { tests.api.java.nio.charset.CharsetTest.MockCharset c = new tests.api.java.nio.charset.CharsetTest.MockCharset ( "mock" , null ) ; try { c.decode ( null ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }

Target:
public void testDecode_NullByteBuffer ( ) { org.apache.harmony.tests.java.nio.charset.CharsetTest.MockCharset c = new org.apache.harmony.tests.java.nio.charset.CharsetTest.MockCharset ( "mock" , null ) ; try { c.decode ( null ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }
Source:
public java.lang.String insnArgString ( com.android.jack.dx.dex.code.DalvInsn insn ) { com.android.jack.dx.rop.code.RegisterSpecList regs = com.android.jack.dx.dex.code.form.Form35c.explicitize ( insn.getRegisters ( ) ) ; return ( ( regListString ( regs ) ) + ", " ) + ( cstString ( insn ) ) ; }

Target:
public java.lang.String insnArgString ( com.android.jack.dx.dex.code.DalvInsn insn ) { com.android.jack.dx.rop.code.RegisterSpecList regs = com.android.jack.dx.dex.code.form.Form35c.explicitize ( insn.getRegisters ( ) ) ; return ( ( regListString ( regs ) ) + ", " ) + ( cstString ( ( ( com.android.jack.dx.dex.code.CstInsn ) ( insn ) ) ) ) ; }
Source:
public static void main ( java.lang.String [ ] args ) { Main.Special special = new Main.Special ( ) ; special.callInner ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { Main.Special special = new Main.Special ( ) ; special.callInner ( ) ; java.lang.System.out.println ( "done" ) ; }
Source:
public static int EqualTrueLhs ( boolean arg ) { return true != arg ? 3 : 5 ; }

Target:
public static int booleanFieldEqualZero ( ) { return ( Main.booleanField ) != ( Main.$inline$false ( ) ) ? 13 : 54 ; }
Source:
protected void tearDown ( ) { cleanUpDir ( dalvik.system.DexClassLoaderTest.DEFAULT_OPTIMIZED_DIR ) ; cleanUpDir ( dalvik.system.DexClassLoaderTest.INIT1_OPTIMIZED_DIR ) ; cleanUpDir ( dalvik.system.DexClassLoaderTest.INIT2_OPTIMIZED_DIR ) ; }

Target:
public void test_oneJar_init ( ) throws java.lang.Exception { java.lang.ClassLoader cl = createLoader ( jar1 ) ; java.io.File [ ] files = optimizedDir.listFiles ( dalvik.system.DexClassLoaderTest.DEX_FILE_NAME_FILTER ) ; assertNotNull ( files ) ; assertEquals ( 1 , files.length ) ; }
Source:
void resetFreeTmpRegister ( ) { for ( com.android.jack.ir.ast.JType type : typeToNextPosFreeRegister.keySet ( ) ) { typeToNextPosFreeRegister.put ( type , java.lang.Integer.valueOf ( 0 ) ) ; } }

Target:
void resetFreeTmpRegister ( ) { for ( com.android.jack.dx.rop.type.Type type : typeToNextPosFreeRegister.keySet ( ) ) { typeToNextPosFreeRegister.put ( type , java.lang.Integer.valueOf ( 0 ) ) ; } }
Source:
native void rsnAllocationData2D ( long con , long id , int xoff , int yoff , int mip , int face , int w , int h , short [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationRead ( long con , long id , java.lang.Object d , int dt ) ;
Source:
void sendEmergencyCallbackModeChange ( ) { android.content.Intent intent = new android.content.Intent ( com.android.internal.telephony.TelephonyIntents.ACTION_EMERGENCY_CALLBACK_MODE_CHANGED ) ; intent.putExtra ( PhoneConstants.PHONE_IN_ECM_STATE , mIsPhoneInEcmState ) ; android.app.ActivityManagerNative.broadcastStickyIntent ( intent , null , UserHandle.USER_ALL ) ; if ( com.android.internal.telephony.cdma.CDMAPhone.DBG ) android.util.Log.d ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "sendEmergencyCallbackModeChange" ) ; }

Target:
void sendEmergencyCallbackModeChange ( ) { android.content.Intent intent = new android.content.Intent ( com.android.internal.telephony.TelephonyIntents.ACTION_EMERGENCY_CALLBACK_MODE_CHANGED ) ; intent.putExtra ( PhoneConstants.PHONE_IN_ECM_STATE , mIsPhoneInEcmState ) ; android.app.ActivityManagerNative.broadcastStickyIntent ( intent , null , UserHandle.USER_ALL ) ; if ( com.android.internal.telephony.cdma.CDMAPhone.DBG ) android.telephony.Rlog.d ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "sendEmergencyCallbackModeChange" ) ; }
Source:
public void test_minusSeconds_noChange_equal ( ) { java.time.LocalTime t = TEST_12_30_40_987654321.minusSeconds ( 0 ) ; org.testng.Assert.assertEquals ( t , TEST_12_30_40_987654321 ) ; }

Target:
public void test_minusSeconds_noChange_equal ( ) { java.time.LocalTime t = tck.java.time.TCKLocalTime.TEST_12_30_40_987654321.minusSeconds ( 0 ) ; org.testng.Assert.assertEquals ( t , tck.java.time.TCKLocalTime.TEST_12_30_40_987654321 ) ; }
Source:
private java.lang.Class < ? > getDexCacheType ( com.android.dex.Dex dex , int dexTypeIndex ) { java.lang.Class < ? > resolvedType = dexCacheResolvedTypes [ dexTypeIndex ] ; if ( resolvedType == null ) { resolvedType = declaringClass.getDexCacheType ( dex , dexTypeIndex ) ; } return resolvedType ; }

Target:
java.lang.Class < ? > getReturnType ( ) { java.lang.Class < ? > declClass = getDeclaringClass ( ) ; com.android.dex.Dex dex = declClass.getDex ( ) ; int returnTypeIndex = dex.returnTypeIndexFromMethodIndex ( dexMethodIndex ) ; return declClass.getDexCacheType ( dex , returnTypeIndex ) ; }
Source:
public android.net.NetworkStats getSummaryForNetwork ( android.net.NetworkTemplate template , long start , long end ) { @ com.android.server.net.NetworkStatsAccess.Level int accessLevel = checkAccessLevel ( mCallingPackage ) ; return internalGetSummaryForNetwork ( template , start , end , accessLevel ) ; }

Target:
public android.net.NetworkStats getSummaryForNetwork ( android.net.NetworkTemplate template , long start , long end ) { return internalGetSummaryForNetwork ( template , flags , start , end , mAccessLevel , mCallingUid ) ; }
Source:
public libcore.tzdata.update2.tools.TimeZoneDistroBuilder setIcuData ( java.io.File icuDataFile ) throws java.io.IOException { return setIcuData ( libcore.tzdata.update2.tools.TimeZoneDistroBuilder.readFileAsByteArray ( icuDataFile ) ) ; }

Target:
public libcore.tzdata.update2.tools.TimeZoneDistroBuilder setIcuDataFile ( java.io.File icuDataFile ) throws java.io.IOException { return setIcuDataFile ( libcore.tzdata.update2.tools.TimeZoneDistroBuilder.readFileAsByteArray ( icuDataFile ) ) ; }
Source:
public void copy3DRangeFrom ( int xoff , int yoff , int zoff , int w , int h , int d , float [ ] data ) { validateIsFloat32 ( ) ; copy3DRangeFromUnchecked ( xoff , yoff , zoff , w , h , d , data ) ; }

Target:
public void copyTo ( float [ ] d ) { validateIsFloat32 ( ) ; copyTo ( d , Element.DataType.FLOAT_32 , d.length ) ; }
Source:
boolean stopGattProfileService ( ) { debugLog ( "stopGattProfileService()" ) ; java.lang.Class [ ] supportedProfileServices = com.android.bluetooth.btservice.Config.getSupportedProfiles ( ) ; setGattProfileServiceState ( supportedProfileServices , BluetoothAdapter.STATE_OFF ) ; return true ; }

Target:
boolean stopGattProfileService ( ) { setProfileServiceState ( com.android.bluetooth.gatt.GattService.class , BluetoothAdapter.STATE_OFF ) ; return true ; }
Source:
public void visitRuntimeVisibleParameterAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.RuntimeVisibleParameterAnnotationsAttribute runtimeVisibleParameterAnnotationsAttribute ) { if ( ( optionalAttributeVisitor ) != null ) { runtimeVisibleParameterAnnotationsAttribute.accept ( clazz , method , optionalAttributeVisitor ) ; } }

Target:
public void visitRuntimeInvisibleTypeAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.RuntimeInvisibleTypeAnnotationsAttribute runtimeInvisibleTypeAnnotationsAttribute ) { if ( ( optionalAttributeVisitor ) != null ) { optionalAttributeVisitor.visitRuntimeInvisibleTypeAnnotationsAttribute ( clazz , method , runtimeInvisibleTypeAnnotationsAttribute ) ; } }
Source:
public void visitIntInsn ( int opcode , int operand ) { printer.visitIntInsn ( opcode , operand ) ; printTypeOfOperandStack ( ) ; super . visitIntInsn ( opcode , operand ) ; }

Target:
public void visitInsn ( int opcode ) { printer.visitInsn ( opcode ) ; printTypeOfOperandStackTop ( ) ; super . visitInsn ( opcode ) ; }
Source:
public com.android.tools.lint.client.api.JavaParser getJavaParser ( @ com.android.annotations.Nullable com.android.tools.lint.detector.api.Project project ) { return new com.android.ide.eclipse.adt.internal.lint.EclipseLintClient ( null , null , null , false ) . getJavaParser ( project ) ; }

Target:
public com.android.tools.lint.client.api.IJavaParser getJavaParser ( ) { return new com.android.ide.eclipse.adt.internal.lint.EclipseLintClient ( null , null , null , false ) . getJavaParser ( ) ; }
Source:
public static double ReturnDouble34 ( ) { long imm = Main.$inline$long ( 34L ) ; return ( ( double ) ( imm ) ) ; }

Target:
public static int ReturnIntMax ( ) { float imm = 1.0E34F ; return ( ( int ) ( imm ) ) ; }
Source:
public void signalStrengthUpdated ( android.telephony.SignalStrength signalStrength ) { }

Target:
public void broadcastSignalStrengthUpdated ( int signalStrength ) { }
Source:
public java.lang.String getFullName ( ) { if ( ( densityFilter ) == null ) { return variantData.getVariantConfiguration ( ) . computeFullNameWithSplits ( com.android.build.gradle.internal.variant.BaseVariantOutputData.UNIVERSAL ) ; } return variantData.getVariantConfiguration ( ) . computeFullNameWithSplits ( densityFilter ) ; }

Target:
public java.lang.String getDirName ( ) { return variantData.getVariantConfiguration ( ) . computeDirNameWithSplits ( densityFilter , abiFilter ) ; }
Source:
private static com.android.tools.perflib.heap.StackFrame [ ] getStackFrames ( com.android.tools.perflib.heap.StackTrace stack ) { return null ; }

Target:
private static com.android.tools.perflib.heap.StackFrame [ ] getStackFrames ( com.android.tools.perflib.heap.StackTrace stack ) { return stack.getFrames ( ) ; }
Source:
public void testVFE7 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.aget_char.d.T_aget_char_9" ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testE3 ( ) { loadAndRun ( "dot.junit.opcodes.aget_char.d.T_aget_char_1" , java.lang.ArrayIndexOutOfBoundsException.class , new char [ 2 ] , ( - 1 ) ) ; }
Source:
public com.android.sched.util.log.EventType getDynamicEventType ( @ javax.annotation.Nonnull java.lang.String name ) { return com.android.sched.util.log.tracer.TracerEventType.NOTYPE ; }

Target:
public com.android.sched.util.log.EventType getDynamicEventType ( @ javax.annotation.Nonnull java.lang.String name ) { assert ( config ) == ( com.android.sched.util.config.ThreadConfig.getConfig ( ) ) ; return com.android.sched.util.log.tracer.TracerEventType.NOTYPE ; }
Source:
public java.util.Collection < com.android.build.FilterData > getFilters ( ) { return com.google.common.collect.ImmutableList.of ( FilterData.Builder.build ( filterType.name ( ) , filter ) ) ; }

Target:
public java.util.Collection < com.android.build.FilterData > getFilters ( ) { return com.google.common.collect.ImmutableList.of ( com.android.ide.common.build.SplitOutputMatcherTest.FakeFilterData.Builder.build ( filterType.name ( ) , filter ) ) ; }
Source:
public java.lang.Object [ ] getTestObjects ( ) { com.ibm.icu.text.TimeZoneFormat tzfmt = com.ibm.icu.text.TimeZoneFormat.getInstance ( ULocale.ENGLISH ) . cloneAsThawed ( ) ; tzfmt.setGMTPattern ( com.ibm.icu.dev.test.serializable.FormatTests.TimeZoneFormatHandler.CUSTOM_GMT_PATTERN ) ; return new java.lang.Object [ ] { tzfmt } ; }

Target:
public java.lang.Object [ ] getTestObjects ( ) { com.ibm.icu.text.TimeZoneFormat tzfmt = com.ibm.icu.text.TimeZoneFormat.getInstance ( ULocale.ENGLISH ) . cloneAsThawed ( ) ; tzfmt.setGMTPattern ( com.ibm.icu.dev.test.serializable.FormatHandler.TimeZoneFormatHandler.CUSTOM_GMT_PATTERN ) ; return new java.lang.Object [ ] { tzfmt } ; }
Source:
void sendMediaKeyEvent ( int event , int state ) { if ( com.android.bluetooth.avrcp.AvrcpTargetService.DEBUG ) android.util.Log.d ( com.android.bluetooth.avrcp.AvrcpTargetService.TAG , ( ( ( "getMediaKeyEvent: event=" + event ) + " state=" ) + state ) ) ; mMediaPlayerList.sendMediaKeyEvent ( event , state ) ; }

Target:
void sendMediaKeyEvent ( int event , boolean pushed ) { if ( com.android.bluetooth.avrcp.AvrcpTargetService.DEBUG ) android.util.Log.d ( com.android.bluetooth.avrcp.AvrcpTargetService.TAG , ( ( ( "getMediaKeyEvent: event=" + event ) + " pushed=" ) + pushed ) ) ; mMediaPlayerList.sendMediaKeyEvent ( event , pushed ) ; }
Source:
public void test_dropSourceSpecific_twice_IPv4 ( ) throws java.lang.Exception { test_dropSourceSpecific_twice ( libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv4 , libcore.java.nio.channels.DatagramChannelMulticastTest.UNICAST_IPv4_1 ) ; }

Target:
public void test_joinSourceSpecific_anyBind_IPv4 ( ) throws java.lang.Exception { for ( java.net.NetworkInterface networkInterface : ipv4networkInterfaces ) { java.net.InetAddress ipv4LocalAddress = libcore.java.nio.channels.DatagramChannelMulticastTest.getLocalIpv4Address ( networkInterface ) ; test_joinSourceSpecific ( networkInterface , ipv4LocalAddress , libcore.java.nio.channels.DatagramChannelMulticastTest.WILDCARD_IPv4 , libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv4 , libcore.java.nio.channels.DatagramChannelMulticastTest.UNICAST_IPv4_1 ) ; } }
Source:
private static int getServiceId ( android.content.Intent incomingCallIntent ) { if ( incomingCallIntent == null ) { return - 1 ; } return incomingCallIntent.getIntExtra ( com.android.ims.ImsManager.EXTRA_SERVICE_ID , ( - 1 ) ) ; }

Target:
private static int getImsSessionId ( android.content.Intent incomingCallIntent ) { if ( incomingCallIntent == null ) { return - 1 ; } return incomingCallIntent.getIntExtra ( com.android.ims.ImsManager.EXTRA_SERVICE_ID , ( - 1 ) ) ; }
Source:
public boolean hasIccCard ( ) { return hasIccCard ( getDefaultSim ( ) ) ; }

Target:
public int getVoiceNetworkType ( ) { return getVoiceNetworkType ( getSubId ( ) ) ; }
Source:
public static void Print5 ( ) { ManyMethods.Printer.Print ( ManyMethods.Strings.msg3 ) ; }

Target:
public static void Print11 ( ) { ManyMethods.Printer.Print ( ManyMethods.Strings.msg11 ) ; }
Source:
public void testTlvItInvalidSizeT3L1 ( ) { final byte [ ] dummy = new byte [ ] { 0 , 1 , 2 } ; final int dummyLength = 3 ; android.net.wifi.nan.TlvBufferUtils.TlvIterable tlvIt10 = new android.net.wifi.nan.TlvBufferUtils.TlvIterable ( 3 , 1 , dummy ) ; }

Target:
public void testTlvItInvalidSizeT3L1 ( ) { final byte [ ] dummy = new byte [ ] { 0 , 1 , 2 } ; final int dummyLength = 3 ; android.net.wifi.aware.TlvBufferUtils.TlvIterable tlvIt10 = new android.net.wifi.aware.TlvBufferUtils.TlvIterable ( 3 , 1 , dummy ) ; }
Source:
synchronized void nContextSendMessage ( int id , int [ ] data ) { validate ( ) ; rsnContextSendMessage ( mContext , id , data ) ; }

Target:
synchronized void nContextFinish ( ) { validate ( ) ; rsnContextFinish ( mContext ) ; }
Source:
public com.android.build.gradle.internal.dependency.LibraryDependencyImpl getNonTransitiveRepresentation ( ) { return new com.android.build.gradle.internal.dependency.LibraryDependencyImpl ( getBundle ( ) , getBundleFolder ( ) , java.util.Collections.< com.android.builder.dependency.LibraryDependency > emptyList ( ) , getName ( ) , variantName , getProject ( ) , requestedCoordinates , resolvedCoordinates ) ; }

Target:
public com.android.build.gradle.internal.dependency.LibraryDependencyImpl getNonTransitiveRepresentation ( ) { return new com.android.build.gradle.internal.dependency.LibraryDependencyImpl ( getBundle ( ) , getBundleFolder ( ) , java.util.Collections.< com.android.builder.dependency.LibraryDependency > emptyList ( ) , getName ( ) , variantName , getProject ( ) , requestedCoordinates , resolvedCoordinates , isOptional ) ; }
Source:
public static final com.google.protobuf.nano.MessageNano mergeFrom ( com.google.protobuf.nano.MessageNano msg , final byte [ ] data ) throws com.google.protobuf.nano.InvalidProtocolBufferNanoException { return com.google.protobuf.nano.MessageNano.mergeFrom ( msg , data , 0 , data.length ) ; }

Target:
public static final < T extends com.google.protobuf.nano.MessageNano > T mergeFrom ( T msg , final byte [ ] data ) throws com.google.protobuf.nano.InvalidProtocolBufferNanoException { return com.google.protobuf.nano.MessageNano.mergeFrom ( msg , data , 0 , data.length ) ; }
Source:
public void onAttachmentChanged ( ) { runOnUiThread ( new java.lang.Runnable ( ) { public void run ( ) { drawBottomPanel ( ) ; updateSendButtonState ( ) ; drawTopPanel ( isSubjectEditorVisible ( ) ) ; } } ) ; }

Target:
public void onMessageSent ( ) { runOnUiThread ( new java.lang.Runnable ( ) { @ java.lang.Override public void run ( ) { if ( com.android.mms.LogTag.VERBOSE ) { com.android.mms.ui.ComposeMessageActivity.log ( "onMessageSent" ) ; } startMsgListQuery ( ) ; updateThreadIdIfRunning ( ) ; } } ) ; }
Source:
public int hashCode ( ) { return cellSet ( ) . hashCode ( ) ; }

Target:
public boolean containsValue ( @ javax.annotation.Nullable java.lang.Object value ) { return values ( ) . contains ( value ) ; }
Source:
public static com.android.tools.perflib.heap.Instance findObject ( @ com.android.annotations.NonNull com.android.tools.perflib.heap.Snapshot snapshot , java.lang.String id ) { long id2 = java.lang.Long.parseLong ( id , 16 ) ; return snapshot.findReference ( id2 ) ; }

Target:
public static com.android.tools.perflib.heap.Instance findObject ( @ com.android.annotations.NonNull com.android.tools.perflib.heap.Snapshot snapshot , java.lang.String id ) { long id2 = java.lang.Long.parseLong ( id , 16 ) ; return snapshot.findInstance ( id2 ) ; }
Source:
public java.lang.reflect.TypeVariable < java.lang.reflect.Method > [ ] getTypeParameters ( ) { java.lang.reflect.GenericInfo info = getMethodOrConstructorGenericInfo ( ) ; return ( ( java.lang.reflect.TypeVariable < java.lang.reflect.Method > [ ] ) ( info.formalTypeParameters.clone ( ) ) ) ; }

Target:
public java.lang.reflect.TypeVariable < java.lang.reflect.Method > [ ] getTypeParameters ( ) { java.lang.reflect.GenericInfo info = getMethodOrConstructorGenericInfoInternal ( ) ; return ( ( java.lang.reflect.TypeVariable < java.lang.reflect.Method > [ ] ) ( info.formalTypeParameters.clone ( ) ) ) ; }
Source:
public static void main ( java.lang.String [ ] args ) { java.lang.System.out.println ( "tests beginning" ) ; Main.testHugeArray ( ) ; Main.testOomeLarge ( ) ; Main.testOomeSmall ( ) ; java.lang.System.out.println ( "tests succeeded" ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { java.lang.System.out.println ( "tests beginning" ) ; Main.testHugeArray ( ) ; Main.testOomeLarge ( ) ; Main.testOomeSmall ( ) ; Main.testOomeToCharArray ( ) ; java.lang.System.out.println ( "tests succeeded" ) ; }
Source:
public static void test_twoDex_diff_constructor ( ) throws java.lang.Exception { dalvik.system.DexClassLoaderTest.test_diff_constructor ( dalvik.system.DexClassLoaderTest.Configuration.TWO_DEX ) ; }

Target:
public void test_twoDex_diff_constructor ( ) throws java.lang.Exception { createLoaderAndCallMethod ( "test.TestMethods" , "test_diff_constructor" , dex1 , dex2 ) ; }
Source:
public void testUsesFeatureUnknownFeature ( ) { int retCode = PackageManager.INSTALL_SUCCEEDED ; installFromRawResource ( "install.apk" , R.raw.install_uses_feature , 0 , true , false , retCode , PackageInfo.INSTALL_LOCATION_UNSPECIFIED ) ; }

Target:
public void testUsesFeatureUnknownFeature ( ) { int retCode = android.content.pm.PackageManager.INSTALL_SUCCEEDED ; installFromRawResource ( "install.apk" , R.raw.install_uses_feature , 0 , true , false , retCode , PackageInfo.INSTALL_LOCATION_UNSPECIFIED ) ; }
Source:
public void replaceAllSuccessors ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JBasicBlock what , @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JBasicBlock with ) { throw new java.lang.AssertionError ( ) ; }

Target:
public void replaceAllSuccessors ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JBasicBlock what , @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JBasicBlock with ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public void test_joinAnySource_multicastLoopOption_IPv4 ( ) throws java.lang.Exception { test_joinAnySource_multicastLoopOption ( libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv4 ) ; }

Target:
public void test_joinAnySource_multicastLoopOption_IPv6 ( ) throws java.lang.Exception { test_joinAnySource_multicastLoopOption ( ipv6networkInterfaces , libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv6 ) ; }
Source:
public void setSystemProperty ( java.lang.String property , java.lang.String value ) { if ( getUnitTestMode ( ) ) { return ; } android.os.SystemProperties.set ( property , value ) ; }

Target:
public void setSystemProperty ( java.lang.String property , java.lang.String value ) { if ( getUnitTestMode ( ) ) { return ; } android.telephony.TelephonyManager.setTelephonyProperty ( mPhoneId , property , value ) ; }
Source:
public boolean isEmpty ( ) { return multimap ( ) . isEmpty ( ) ; }

Target:
public boolean isEmpty ( ) { return multimap.isEmpty ( ) ; }
Source:
synchronized void nContextSetPriority ( int p ) { validate ( ) ; rsnContextSetPriority ( mContext , p ) ; }

Target:
synchronized void nContextSendMessage ( int id , int [ ] data ) { validate ( ) ; rsnContextSendMessage ( mContext , id , data ) ; }
Source:
protected void doRevert ( java.io.File toFile , java.io.File backupFile ) throws java.io.IOException { if ( ( ! ( toFile.exists ( ) ) ) || ( isModified ( toFile ) ) ) { com.intellij.updater.Utils.copy ( backupFile , toFile ) ; } }

Target:
protected void doRevert ( java.io.File toFile , java.io.File backupFile ) throws java.io.IOException { if ( ( ! ( toFile.exists ( ) ) ) || ( isModified ( toFile ) ) ) { com.intellij.updater.Utils.mirror ( backupFile , toFile ) ; } }
Source:
public void callSessionHandoverFailed ( int srcAccessTech , int targetAccessTech , com.android.ims.ImsReasonInfo reasonInfo ) throws android.os.RemoteException { mListener.callSessionHandoverFailed ( srcAccessTech , targetAccessTech , reasonInfo ) ; }

Target:
public void callSessionHandover ( int srcAccessTech , int targetAccessTech , android.telephony.ims.ImsReasonInfo reasonInfo ) { try { mListener.callSessionHandover ( srcAccessTech , targetAccessTech , reasonInfo ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }
Source:
public void testAesCbcHmacSha1Tcp6 ( ) throws java.lang.Exception { android.net.IpSecAlgorithm crypt = new android.net.IpSecAlgorithm ( android.net.IpSecAlgorithm.CRYPT_AES_CBC , android.net.cts.IpSecManagerTest.CRYPT_KEY ) ; android.net.IpSecAlgorithm auth = new android.net.IpSecAlgorithm ( android.net.IpSecAlgorithm.AUTH_HMAC_SHA1 , getAuthKey ( 256 ) , 128 ) ; checkTransform ( android.system.OsConstants.IPPROTO_TCP , android.net.cts.IpSecManagerTest.IPV6_LOOPBACK , crypt , auth ) ; }

Target:
public void testAesCbcHmacSha1Tcp6 ( ) throws java.lang.Exception { android.net.IpSecAlgorithm crypt = new android.net.IpSecAlgorithm ( android.net.IpSecAlgorithm.CRYPT_AES_CBC , android.net.cts.IpSecManagerTest.CRYPT_KEY ) ; android.net.IpSecAlgorithm auth = new android.net.IpSecAlgorithm ( android.net.IpSecAlgorithm.AUTH_HMAC_SHA1 , getAuthKey ( 160 ) , 96 ) ; checkTransform ( android.system.OsConstants.IPPROTO_TCP , android.net.cts.IpSecManagerTest.IPV6_LOOPBACK , crypt , auth ) ; }
Source:
static com.google.i18n.phonenumbers.PhoneNumberUtil initializePhoneUtilForTesting ( ) { com.google.i18n.phonenumbers.PhoneNumberUtil phoneUtil = new com.google.i18n.phonenumbers.PhoneNumberUtil ( com.google.i18n.phonenumbers.TestMetadataTestCase.TEST_META_DATA_FILE_PREFIX , PhoneNumberUtil.DEFAULT_METADATA_LOADER , com.google.i18n.phonenumbers.CountryCodeToRegionCodeMapForTesting.getCountryCodeToRegionCodeMap ( ) ) ; com.google.i18n.phonenumbers.PhoneNumberUtil.setInstance ( phoneUtil ) ; return phoneUtil ; }

Target:
static com.google.i18n.phonenumbers.PhoneNumberUtil initializePhoneUtilForTesting ( ) { com.google.i18n.phonenumbers.PhoneNumberUtil phoneUtil = new com.google.i18n.phonenumbers.PhoneNumberUtil ( new com.google.i18n.phonenumbers.MultiFileMetadataSourceImpl ( com.google.i18n.phonenumbers.TestMetadataTestCase.TEST_META_DATA_FILE_PREFIX , PhoneNumberUtil.DEFAULT_METADATA_LOADER ) , com.google.i18n.phonenumbers.CountryCodeToRegionCodeMapForTesting.getCountryCodeToRegionCodeMap ( ) ) ; com.google.i18n.phonenumbers.PhoneNumberUtil.setInstance ( phoneUtil ) ; return phoneUtil ; }
Source:
public void removeRegistrationListener ( com.android.ims.internal.IImsRegistrationListener listener ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; getServiceInterface ( mBinder ) . removeRegistrationListener ( mSlotId , mSupportedFeature , listener ) ; } }

Target:
public void addRegistrationListener ( com.android.ims.internal.IImsRegistrationListener listener ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; getServiceInterface ( mBinder ) . addRegistrationListener ( mSlotId , mSupportedFeature , listener ) ; } }
Source:
public void test_getInstance_provider1 ( ) throws java.lang.Exception { test_getInstance ( java.security.Security.getProviders ( ) [ 1 ] ) ; }

Target:
public void test_getInstance_provider0 ( ) throws java.lang.Exception { test_getInstance ( 0 ) ; }
Source:
void selectDeviceConfig ( @ com.android.annotations.Nullable com.android.ide.eclipse.adt.internal.sdk.LayoutDevice.DeviceConfig config ) { mOrientationCombo.setData ( config ) ; com.android.ide.eclipse.adt.internal.sdk.LayoutDevice.DeviceConfig nextConfig = getNextDeviceConfig ( config ) ; mOrientationCombo.setImage ( getOrientationIcon ( getOrientation ( nextConfig ) , ( nextConfig != config ) ) ) ; }

Target:
void selectDeviceState ( @ com.android.annotations.Nullable com.android.sdklib.devices.State state ) { mOrientationCombo.setData ( state ) ; com.android.sdklib.devices.State nextState = getNextDeviceState ( state ) ; mOrientationCombo.setImage ( getOrientationIcon ( getOrientation ( state ) , ( nextState != state ) ) ) ; }
Source:
public static float FloatSubtraction ( ) { float a ; float b ; float c ; a = Main.$inline$float ( 6.0F ) ; b = Main.$inline$float ( 2.0F ) ; c = a - b ; return c ; }

Target:
public static float FloatMultiplication ( ) { float a ; float b ; float c ; a = 7.0F ; b = 3.0F ; c = a * b ; return c ; }
Source:
private final native int readAsset ( int asset , byte [ ] b , int off , int len ) ;

Target:
private final native void destroyAsset ( long asset ) ;
Source:
public java.util.Set < ? extends java.lang.Class < ? extends java.lang.annotation.Annotation > > annotations ( ) { return com.google.common.collect.ImmutableSet.of ( com.android.dialer.rootcomponentgenerator.annotation.IncludeInDialerRoot.class , com.android.dialer.rootcomponentgenerator.annotation.InstallIn.class ) ; }

Target:
public java.util.Set < ? extends java.lang.Class < ? extends java.lang.annotation.Annotation > > annotations ( ) { return com.google.common.collect.ImmutableSet.of ( com.android.dialer.inject.IncludeInDialerRoot.class , com.android.dialer.inject.InstallIn.class ) ; }
Source:
public static long min ( long a , long b ) { return a <= b ? a : b ; }

Target:
public static long abs ( long a ) { return java.lang.Math.abs ( a ) ; }
Source:
public abstract java.lang.String name ( ) ;

Target:
public abstract java.lang.String photoUri ( ) ;
Source:
private void notifyCreateConnectionComplete ( final java.lang.String callId ) { android.telecom.Log.i ( this , "notifyCreateConnectionComplete %s" , callId ) ; onCreateConnectionComplete ( findConnectionForAction ( callId , "notifyCreateConnectionComplete" ) ) ; }

Target:
private void notifyCreateConnectionComplete ( final java.lang.String callId ) { android.telecom.Log.i ( this , "notifyCreateConnectionComplete %s" , callId ) ; if ( callId == null ) { android.telecom.Log.w ( this , "notifyCreateConnectionComplete: callId is null." ) ; return ; } onCreateConnectionComplete ( findConnectionForAction ( callId , "notifyCreateConnectionComplete" ) ) ; }
Source:
public void onSearchQueryUpdated ( java.lang.String query ) { com.android.dialer.searchfragment.list.NewSearchFragment fragment = getSearchFragment ( ) ; if ( fragment != null ) { fragment.setQuery ( query , CallInitiationType.Type.REGULAR_SEARCH ) ; } }

Target:
public void onSearchQueryUpdated ( java.lang.String query ) { if ( ( searchFragment ) != null ) { searchFragment.setQuery ( query , CallInitiationType.Type.REGULAR_SEARCH ) ; } }
Source:
public void setViewport ( com.android.hierarchyviewerlib.ui.util.DrawableViewNode.Rectangle viewport ) { synchronized ( this ) { this . viewport = viewport ; } notifyViewportChanged ( ) ; }

Target:
public void setViewport ( com.android.hierarchyviewerlib.ui.util.DrawableViewNode.Rectangle viewport ) { synchronized ( this ) { this . mViewport = viewport ; } notifyViewportChanged ( ) ; }
Source:
private native void nativeResetFocus ( ) ;

Target:
private native boolean nativeCursorIsPlugin ( ) ;
Source:
private void failDueToMissingException ( ) throws java.lang.AssertionError { org.junit.Assert.fail ( missingExceptionMessage ( ) ) ; }

Target:
public void expect ( org.hamcrest.Matcher < ? > matcher ) { if ( ( fMatcher ) == null ) fMatcher = ( ( org.hamcrest.Matcher < java.lang.Object > ) ( matcher ) ) ; else fMatcher = org.junit.matchers.JUnitMatchers.both ( fMatcher ) . and ( matcher ) ; }
Source:
public void callSessionUpdateFailed ( com.android.ims.ImsReasonInfo reasonInfo ) throws android.os.RemoteException { mListener.callSessionUpdateFailed ( reasonInfo ) ; }

Target:
public void callSessionRemoveParticipantsRequestFailed ( android.telephony.ims.ImsReasonInfo reasonInfo ) { try { mListener.callSessionInviteParticipantsRequestFailed ( reasonInfo ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }
Source:
public void notifySuppSvcNotification ( com.android.internal.telephony.gsm.SuppServiceNotification suppSvc ) { android.telephony.Rlog.d ( com.android.internal.telephony.imsphone.ImsPhone.LOG_TAG , ( "notifySuppSvcNotification: suppSvc = " + suppSvc ) ) ; android.os.AsyncResult ar = new android.os.AsyncResult ( null , suppSvc , null ) ; mSsnRegistrants.notifyRegistrants ( ar ) ; }

Target:
public void notifySuppSvcNotification ( com.android.internal.telephony.gsm.SuppServiceNotification suppSvc ) { logd ( ( "notifySuppSvcNotification: suppSvc = " + suppSvc ) ) ; android.os.AsyncResult ar = new android.os.AsyncResult ( null , suppSvc , null ) ; mSsnRegistrants.notifyRegistrants ( ar ) ; }
Source:
public final native android.os.HwBlob readEmbeddedBuffer ( long parentHandle , long offset , boolean nullable ) ;

Target:
public final native android.os.HwBlob readEmbeddedBuffer ( long expectedSize , long parentHandle , long offset , boolean nullable ) ;
Source:
public static void setUp ( ) throws java.lang.Exception { com.google.security.wycheproof.TestUtil.installOnlyThisProvider ( new org.bouncycastle.jce.provider.BouncyCastleProvider ( ) ) ; }

Target:
public static void setUp ( ) throws java.lang.Exception { com.google.security.wycheproof.TestUtil.installOnlyThisProvider ( new com.android.org.bouncycastle.jce.provider.BouncyCastleProvider ( ) ) ; }
Source:
public void tearDown ( ) { mA2dpStateMachine.doQuit ( ) ; mHandlerThread.quit ( ) ; }

Target:
public void tearDown ( ) throws java.lang.Exception { if ( ! ( mTargetContext.getResources ( ) . getBoolean ( R.bool.profile_supported_a2dp ) ) ) { return ; } mA2dpStateMachine.doQuit ( ) ; mHandlerThread.quit ( ) ; com.android.bluetooth.TestUtils.clearAdapterService ( mAdapterService ) ; }
Source:
public com.android.tools.perflib.heap.Instance getReferredInstance ( ) { if ( ( mType ) == ( RootType.SYSTEM_CLASS ) ) { return mHeap.mSnapshot.findClass ( mId ) ; } else { return mHeap.mSnapshot.findReference ( mId ) ; } }

Target:
public com.android.tools.perflib.heap.Instance getReferredInstance ( ) { if ( ( mType ) == ( RootType.SYSTEM_CLASS ) ) { return mHeap.mSnapshot.findClass ( mId ) ; } else { return mHeap.mSnapshot.findInstance ( mId ) ; } }
Source:
public long getLastModified ( ) { return file.getLastModified ( ) ; }

Target:
public com.android.sched.vfs.VPath getPathFromRoot ( ) { return file.getPathFromRoot ( ) ; }
Source:
public static android.content.Intent getShowTabIntent ( android.content.Context context , @ com.android.dialer.main.impl.bottomnav.BottomNavBar.TabIndex int tabIndex ) { if ( com.android.dialer.configprovider.ConfigProviderBindings.get ( context ) . getBoolean ( "nui_peer_enabled" , false ) ) { return null ; } return com.android.dialer.main.impl.OldMainActivityPeer.getShowTabIntent ( context , tabIndex ) ; }

Target:
public static android.content.Intent getShowTabIntent ( android.content.Context context , @ com.android.dialer.main.impl.bottomnav.BottomNavBar.TabIndex int tabIndex ) { if ( com.android.dialer.calllog.config.CallLogConfigComponent.get ( context ) . callLogConfig ( ) . isNewPeerEnabled ( ) ) { return null ; } return com.android.dialer.main.impl.OldMainActivityPeer.getShowTabIntent ( context , tabIndex ) ; }
Source:
protected java.lang.Void doInBackground ( java.lang.Void ... params ) { com.android.traceur.AtraceUtils.atraceDumpAndSend ( context , tags , Receiver.BUFFER_SIZE_KB ) ; return null ; }

Target:
protected java.lang.Void doInBackground ( java.lang.Void ... params ) { com.android.traceur.AtraceUtils.atraceDump ( mFile ) ; return null ; }
Source:
native void rsnScriptSetVarV ( long con , long id , int slot , byte [ ] val ) ;

Target:
native void rsnScriptSetVarVE ( long con , long id , int slot , byte [ ] val , long e , int [ ] dims , boolean mUseInc ) ;
Source:
java.lang.reflect.Type [ ] getGenericExceptionTypes ( ) { return libcore.reflect.Types.getTypeArray ( getMethodOrConstructorGenericInfo ( ) . genericExceptionTypes , false ) ; }

Target:
public < T extends java.lang.annotation.Annotation > T getAnnotation ( java.lang.Class < T > annotationClass ) { if ( annotationClass == null ) { throw new java.lang.NullPointerException ( "annotationClass == null" ) ; } return getAnnotationNative ( annotationClass ) ; }
Source:
public void init ( org.eclipse.ui.IWorkbench workbench , org.eclipse.jface.viewers.IStructuredSelection selection ) { setHelpAvailable ( false ) ; org.eclipse.jface.resource.ImageDescriptor desc = com.android.ide.eclipse.adt.AdtPlugin.getImageDescriptor ( com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectWizard.PROJECT_LOGO_LARGE ) ; setDefaultPageImageDescriptor ( desc ) ; }

Target:
public void init ( org.eclipse.ui.IWorkbench workbench , org.eclipse.jface.viewers.IStructuredSelection selection ) { setHelpAvailable ( false ) ; org.eclipse.jface.resource.ImageDescriptor desc = com.android.ide.eclipse.adt.AdtPlugin.getImageDescriptor ( com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectWizard.PROJECT_LOGO_LARGE ) ; setDefaultPageImageDescriptor ( desc ) ; com.android.ide.eclipse.adt.AdtPlugin.getDefault ( ) . refreshSdk ( ) ; }
Source:
public boolean configureInbandRingingEnabledUsingBsir ( boolean value ) { return configureInbandRingingEnabledUsingBsirNative ( value ) ; }

Target:
public boolean sendBsir ( android.bluetooth.BluetoothDevice device , boolean value ) { return sendBsirNative ( value , com.android.bluetooth.Utils.getByteAddress ( device ) ) ; }
Source:
public java.util.Collection < com.android.tools.perflib.heap.Instance > getInstances ( ) { return mInstances ; }

Target:
public java.util.List < com.android.tools.perflib.heap.Instance > getHeapInstances ( int heapId ) { java.util.List < com.android.tools.perflib.heap.Instance > result = mInstances.get ( heapId ) ; return result == null ? new java.util.ArrayList < com.android.tools.perflib.heap.Instance > ( 0 ) : result ; }
Source:
public void enableAdverisingSet ( int advertiserId , boolean enable , int timeout ) { com.android.bluetooth.gatt.GattService service = getService ( ) ; if ( service == null ) return ; }

Target:
public void enableAdvertisingSet ( int advertiserId , boolean enable , int timeout ) { com.android.bluetooth.gatt.GattService service = getService ( ) ; if ( service == null ) return ; service.enableAdvertisingSet ( advertiserId , enable , timeout ) ; }
Source:
private synchronized void onSetProtocol ( byte protocol ) { if ( com.android.bluetooth.hid.HidDeviceService.DBG ) { android.util.Log.d ( com.android.bluetooth.hid.HidDeviceService.TAG , ( "onSetProtocol(): protocol=" + protocol ) ) ; } android.os.Message msg = mHandler.obtainMessage ( com.android.bluetooth.hid.HidDeviceService.MESSAGE_SET_PROTOCOL ) ; msg.arg1 = protocol ; mHandler.sendMessage ( msg ) ; }

Target:
synchronized void onSetProtocolFromNative ( byte protocol ) { if ( com.android.bluetooth.hid.HidDeviceService.DBG ) { android.util.Log.d ( com.android.bluetooth.hid.HidDeviceService.TAG , ( "onSetProtocol(): protocol=" + protocol ) ) ; } android.os.Message msg = mHandler.obtainMessage ( com.android.bluetooth.hid.HidDeviceService.MESSAGE_SET_PROTOCOL ) ; msg.arg1 = protocol ; mHandler.sendMessage ( msg ) ; }
Source:
java.util.List < java.lang.String > getBuildConfig ( ) ;

Target:
java.util.List < com.android.builder.model.ClassField > getBuildConfigFields ( ) ;
Source:
public void notifyStatusIndicator ( ) { }

Target:
public void run ( ) { myButton.updateUi ( ) ; }
Source:
public void streamStateUpdated ( int state ) { }

Target:
public void streamStateUpdated ( @ android.telephony.mbms.StreamingService.StreamingState int state , @ android.telephony.mbms.StreamingService.StreamingStateChangeReason int reason ) { }
Source:
public native boolean setLastModifiedTime ( java.io.File f , long time ) ;

Target:
private native boolean setPermission0 ( java.io.File f , int access , boolean enable , boolean owneronly ) ;
Source:
void Bar ( ) { throw new java.lang.RuntimeException ( ) ; }

Target:
void $noinline$Bar ( ) { throw new java.lang.RuntimeException ( ) ; }
Source:
public void proceedAfterWaitChar ( ) { if ( ( postDialState ) != ( PostDialState.WAIT ) ) { android.util.Log.w ( com.android.internal.telephony.gsm.GsmConnection.LOG_TAG , ( ( "GsmConnection.proceedAfterWaitChar(): Expected " + "getPostDialState() to be WAIT but was " ) + ( postDialState ) ) ) ; return ; } setPostDialState ( PostDialState.STARTED ) ; processNextPostDialChar ( ) ; }

Target:
public void proceedAfterWaitChar ( ) { if ( ( postDialState ) != ( PostDialState.WAIT ) ) { android.telephony.Rlog.w ( com.android.internal.telephony.gsm.GsmConnection.LOG_TAG , ( ( "GsmConnection.proceedAfterWaitChar(): Expected " + "getPostDialState() to be WAIT but was " ) + ( postDialState ) ) ) ; return ; } setPostDialState ( PostDialState.STARTED ) ; processNextPostDialChar ( ) ; }
Source:
protected org.eclipse.swt.graphics.Point getInitialSize ( ) { if ( ( com.android.sdkuilib.internal.repository.UpdateChooserDialog.sLastSize ) != null ) { return com.android.sdkuilib.internal.repository.UpdateChooserDialog.sLastSize ; } else { return new org.eclipse.swt.graphics.Point ( 740 , 370 ) ; } }

Target:
protected org.eclipse.swt.graphics.Point getInitialSize ( ) { if ( ( com.android.sdkuilib.internal.repository.SdkUpdaterChooserDialog.sLastSize ) != null ) { return com.android.sdkuilib.internal.repository.SdkUpdaterChooserDialog.sLastSize ; } else { return new org.eclipse.swt.graphics.Point ( 740 , 370 ) ; } }
Source:
private void removeTransportModeTransform ( android.os.ParcelFileDescriptor pfd , android.net.IpSecTransform transform ) { }

Target:
public void applyTunnelModeTransform ( android.net.Network net , android.net.IpSecTransform transform ) { }
Source:
public static void writeUint24 ( int i , java.io.OutputStream output ) throws java.io.IOException { output.write ( ( i > > 16 ) ) ; output.write ( ( i > > 8 ) ) ; output.write ( i ) ; }

Target:
public static void writeUint16 ( int i , java.io.OutputStream output ) throws java.io.IOException { output.write ( ( i > > > 8 ) ) ; output.write ( i ) ; }
Source:
boolean hasClient ( int pid ) { synchronized ( mClients ) { for ( com.android.ddmlib.Client client : mClients ) { if ( ( client.getClientData ( ) . getPid ( ) ) == pid ) { return true ; } } } return false ; }

Target:
private void removeClientInfo ( com.android.ddmlib.Client client ) { int pid = client.getClientData ( ) . getPid ( ) ; mClientInfo.remove ( java.lang.Integer.valueOf ( pid ) ) ; }
Source:
public void testTestStarted ( ) { java.lang.StringBuilder output = buildCommonResult ( ) ; addStartCode ( output ) ; injectTestString ( output.toString ( ) ) ; assertCommonAttributes ( ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mMockListener = org.easymock.EasyMock.createStrictMock ( com.android.ddmlib.testrunner.ITestRunListener.class ) ; mParser = new com.android.ddmlib.testrunner.InstrumentationResultParser ( com.android.ddmlib.testrunner.InstrumentationResultParserTest.RUN_NAME , mMockListener ) ; }
Source:
public static boolean $noinline$EqualBoolVsIntConst ( boolean arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( arg ? 0 : 1 ) != 2 ; }

Target:
public static boolean $noinline$EqualBoolVsIntConst ( boolean arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( arg ? Main.$inline$ReturnArg ( 0 ) : Main.$inline$ReturnArg ( 1 ) ) != 2 ; }
Source:
protected boolean assertFalse ( java.lang.String message , boolean condition ) { return handleAssert ( ( ! condition ) , message , "false" , null ) ; }

Target:
protected static boolean assertFalse ( java.lang.String message , boolean condition ) { return android.icu.dev.test.TestFmwk.handleAssert ( ( ! condition ) , message , "false" , null ) ; }
Source:
private com.android.jack.ir.ast.JParameter getNewParameter ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JParameter oldParameter ) { for ( com.android.jack.ir.ast.JParameter newParameter : targetMethod.getParams ( ) ) { if ( newParameter.getName ( ) . equals ( oldParameter.getName ( ) ) ) { return newParameter ; } } throw new java.lang.AssertionError ( ) ; }

Target:
public com.android.jack.ir.ast.JMethod getTargetMethod ( ) { return targetMethod ; }
Source:
static boolean isSupportingHiddenMenu ( android.content.Context context ) { return context.getPackageManager ( ) . hasSystemFeature ( com.android.dialer.oem.MotorolaUtils.HIDDEN_MENU_FEATURE ) ; }

Target:
static boolean isSupportingHiddenMenu ( android.content.Context context ) { return ( context.getPackageManager ( ) . hasSystemFeature ( com.android.dialer.oem.MotorolaUtils.HIDDEN_MENU_FEATURE ) ) && ( context.getResources ( ) . getBoolean ( R.bool.motorola_hidden_menu_enabled ) ) ; }
Source:
public java.lang.String telephonyGetNetworkOperator ( ) { return telephonyGetNetworkOperatorForSubscription ( android.telephony.SubscriptionManager.getDefaultSubId ( ) ) ; }

Target:
public java.lang.String telephonyGetDataNetworkType ( ) { return telephonyGetDataNetworkTypeForSubscription ( android.telephony.SubscriptionManager.getDefaultDataSubscriptionId ( ) ) ; }
Source:
public static void run ( ) throws java.lang.Exception { art.Test944.doTest ( ) ; java.lang.System.out.println ( "Passed" ) ; }

Target:
public static void run ( ) throws java.lang.Exception { art.Redefinition.setTestConfiguration ( Redefinition.Config.COMMON_REDEFINE ) ; art.Test944.doTest ( ) ; java.lang.System.out.println ( "Passed" ) ; }
Source:
public void testConstructor_EndBeforeStart_Failure ( ) throws java.lang.Exception { try { new android.security.KeyPairGeneratorSpec ( getContext ( ) , android.security.KeyPairGeneratorSpecTest.TEST_ALIAS_1 , android.security.KeyPairGeneratorSpecTest.TEST_DN_1 , android.security.KeyPairGeneratorSpecTest.SERIAL_1 , android.security.KeyPairGeneratorSpecTest.NOW_PLUS_10_YEARS , android.security.KeyPairGeneratorSpecTest.NOW , 0 ) ; fail ( "Should throw IllegalArgumentException when end is before start" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }

Target:
public void testConstructor_NullStartDate_Failure ( ) throws java.lang.Exception { try { new android.security.KeyPairGeneratorSpec ( getContext ( ) , android.security.KeyPairGeneratorSpecTest.TEST_ALIAS_1 , "RSA" , 1024 , null , android.security.KeyPairGeneratorSpecTest.TEST_DN_1 , android.security.KeyPairGeneratorSpecTest.SERIAL_1 , null , android.security.KeyPairGeneratorSpecTest.NOW_PLUS_10_YEARS , 0 ) ; fail ( "Should throw IllegalArgumentException when startDate is null" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }
Source:
public java.lang.reflect.Type [ ] getGenericParameterTypes ( ) { return libcore.reflect.Types.getTypeArray ( getMethodOrConstructorGenericInfo ( ) . genericParameterTypes , false ) ; }

Target:
public java.lang.Class < ? > getReturnType ( ) { return getMethodReturnTypeInternal ( ) ; }