auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
static java.lang.String getBestDateTimePattern ( java.lang.String skeleton , java.lang.String localeName ) { return com.ibm.icu.text.DateTimePatternGenerator.getInstance ( new com.ibm.icu.util.ULocale ( localeName ) ) . getBestPattern ( skeleton ) ; }

Target:
static java.lang.String getBestDateTimePatternNative ( java.lang.String skeleton , java.lang.String localeName ) { return com.ibm.icu.text.DateTimePatternGenerator.getInstance ( new com.ibm.icu.util.ULocale ( localeName ) ) . getBestPattern ( skeleton ) ; }
Source:
private android.content.Intent createActivityIntent ( ) { android.content.Intent intent = new android.content.Intent ( mContext , com.android.cellbroadcastreceiver.CellBroadcastSettings.class ) ; intent.setPackage ( "com.android.cellbroadcastreceiver" ) ; intent.setAction ( "android.intent.action.MAIN" ) ; return intent ; }

Target:
private android.content.Intent createActivityIntent ( ) { android.content.Intent intent = new android.content.Intent ( mContext , com.android.cellbroadcastreceiver.CellBroadcastSettings.class ) ; intent.setPackage ( "com.android.cellbroadcastreceiver" ) ; intent.setAction ( "android.intent.action.MAIN" ) ; intent.addFlags ( Intent.FLAG_ACTIVITY_NEW_TASK ) ; return intent ; }
Source:
private void close ( ) { synchronized ( mLock ) { mWriteHandle.close ( ) ; mPendingActions.clear ( ) ; } mReadHandle.close ( ) ; }

Target:
private void close ( ) { synchronized ( mLock ) { mWriteHandle.close ( ) ; mPendingActions.clear ( ) ; } mWatcher.cancel ( ) ; mWatcher.destroy ( ) ; mReadHandle.close ( ) ; }
Source:
public android.database.Cursor loadInBackground ( ) { android.database.Cursor cursor = super . loadInBackground ( ) ; com.android.dialer.searchfragment.cp2.ContactFilterCursor contactFilterCursor = new com.android.dialer.searchfragment.cp2.ContactFilterCursor ( cursor , query ) ; return com.android.dialer.searchfragment.cp2.SearchContactsCursor.newInstnace ( getContext ( ) , contactFilterCursor ) ; }

Target:
public android.database.Cursor loadInBackground ( ) { android.database.Cursor cursor = super . loadInBackground ( ) ; com.android.dialer.searchfragment.cp2.ContactFilterCursor contactFilterCursor = new com.android.dialer.searchfragment.cp2.ContactFilterCursor ( cursor , query ) ; return com.android.dialer.searchfragment.cp2.SearchContactsCursor.newInstance ( getContext ( ) , contactFilterCursor ) ; }
Source:
private void createContents ( org.eclipse.swt.widgets.Composite parent ) { parent.setLayout ( new org.eclipse.swt.layout.GridLayout ( 1 , false ) ) ; }

Target:
public java.lang.String getPageTitle ( ) { return "Settings" ; }
Source:
public com.android.sched.vfs.VPath getPath ( ) { return new com.android.sched.vfs.VPath ( getNativePath ( ) . getPath ( ) , java.io.File.separatorChar ) ; }

Target:
private java.io.File getNativeFile ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath path , @ javax.annotation.Nonnull java.lang.String name ) { return new java.io.File ( new java.io.File ( dir.getFile ( ) , path.getPathAsString ( java.io.File.separatorChar ) ) , name ) ; }
Source:
private static void disableTraceForRI ( ) { if ( ! ( java.lang.System.getProperty ( "java.vm.name" ) . equals ( "Dalvik" ) ) ) { art.Trace.disableMethodTracing ( java.lang.Thread.currentThread ( ) ) ; } }

Target:
private static void disableTraceForRI ( ) { if ( ! ( java.lang.System.getProperty ( "java.vm.name" ) . equals ( "Dalvik" ) ) ) { art.Trace.disableTracing ( java.lang.Thread.currentThread ( ) ) ; } }
Source:
private com.android.rs.test.Long3 pack_l3 ( long [ ] val ) { assert ( val.length ) == 3 ; return new com.android.rs.test.Long3 ( val [ 0 ] , val [ 1 ] , val [ 2 ] ) ; }

Target:
private android.renderscript.Long3 pack_l3 ( long [ ] val ) { assert ( val.length ) == 3 ; return new android.renderscript.Long3 ( val [ 0 ] , val [ 1 ] , val [ 2 ] ) ; }
Source:
public void writeToParcel ( android.os.Parcel out , int flags ) { out.writeInt ( resultCode ) ; out.writeStrongBinder ( token ) ; out.writeInt ( inputConsumed ) ; out.writeByteArray ( output ) ; }

Target:
public void writeToParcel ( android.os.Parcel out , int flags ) { out.writeInt ( resultCode ) ; out.writeStrongBinder ( token ) ; out.writeLong ( operationHandle ) ; out.writeInt ( inputConsumed ) ; out.writeByteArray ( output ) ; }
Source:
public static int AddNegs1 ( int arg1 , int arg2 ) { return ( - arg1 ) + ( - arg2 ) ; }

Target:
public static int $noinline$AddNegs1 ( int arg1 , int arg2 ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( - arg1 ) + ( - arg2 ) ; }
Source:
private native < A extends java.lang.annotation.Annotation > A getAnnotationNative ( java.lang.Class < A > annotationType ) ;

Target:
public boolean isAnnotationPresent ( java.lang.Class < ? extends java.lang.annotation.Annotation > annotationType ) { if ( annotationType == null ) { throw new java.lang.NullPointerException ( "annotationType == null" ) ; } return libcore.reflect.AnnotationAccess.isDeclaredAnnotationPresent ( this , annotationType ) ; }
Source:
protected org.simpleframework.http.ContentType getContentType ( @ javax.annotation.Nonnull org.simpleframework.http.Request request ) { return new org.simpleframework.http.parse.ContentTypeParser ( request.getValue ( "accept" ) ) ; }

Target:
protected org.simpleframework.http.ContentType getContentType ( @ javax.annotation.Nonnull org.simpleframework.http.Request request ) { java.lang.String accept = request.getValue ( "accept" ) ; return accept != null ? new org.simpleframework.http.parse.ContentTypeParser ( accept ) : null ; }
Source:
public static void checkNotOnMainThread ( ) { if ( com.android.server.telecom.ThreadUtil.isOnMainThread ( ) ) { com.android.server.telecom.Log.wtf ( com.android.server.telecom.ThreadUtil.TAG , new java.lang.IllegalStateException ( ) , "Must not be on the main thread!" ) ; } }

Target:
public static void checkNotOnMainThread ( ) { if ( com.android.server.telecom.ThreadUtil.isOnMainThread ( ) ) { android.telecom.Log.wtf ( com.android.server.telecom.ThreadUtil.TAG , new java.lang.IllegalStateException ( ) , "Must not be on the main thread!" ) ; } }
Source:
java.util.NavigableMap < K , V > map ( ) { return this ; }

Target:
public java.util.Collection < V > values ( ) { return new com.google.common.collect.Maps.Values < K , V > ( this ) ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setBranchBytes ( com.android.vts.proto.ByteString value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 4 ; branch_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearBootSuccess ( ) { bitField0_ = ( bitField0_ ) & ( ~ 4 ) ; bootSuccess_ = true ; onChanged ( ) ; return this ; }
Source:
public void setUp ( ) throws java.lang.Exception { mDelivery = new com.android.volley.utils.ImmediateResponseDelivery ( ) ; }

Target:
public void setUp ( ) throws java.lang.Exception { mDelivery = new com.android.volley.utils.ImmediateResponseDelivery ( ) ; org.mockito.MockitoAnnotations.initMocks ( this ) ; }
Source:
public com.android.server.wifi.WifiConnectivityManager makeWifiConnectivityManager ( android.net.wifi.WifiInfo wifiInfo , boolean hasConnectionRequests ) { return new com.android.server.wifi.WifiConnectivityManager ( mContext , mWifiStateMachine , getWifiScanner ( ) , mWifiConfigManager , wifiInfo , mWifiNetworkSelector , mWifiLastResortWatchdog , mWifiMetrics , mWifiStateMachineHandlerThread.getLooper ( ) , mClock , hasConnectionRequests ) ; }

Target:
public com.android.server.wifi.WifiConnectivityManager makeWifiConnectivityManager ( android.net.wifi.WifiInfo wifiInfo , boolean hasConnectionRequests ) { return new com.android.server.wifi.WifiConnectivityManager ( mContext , mWifiStateMachine , getWifiScanner ( ) , mWifiConfigManager , wifiInfo , mWifiNetworkSelector , mWifiNetworkScoreCache , mWifiLastResortWatchdog , mWifiMetrics , mWifiStateMachineHandlerThread.getLooper ( ) , mClock , hasConnectionRequests ) ; }
Source:
public final boolean isPrivate ( ) { return ( ( org.jetbrains.asm4.Opcodes.ACC_PRIVATE ) & ( access ) ) != 0 ; }

Target:
public final boolean isPrivate ( ) { return ( ( org.jetbrains.org.objectweb.asm.Opcodes.ACC_PRIVATE ) & ( access ) ) != 0 ; }
Source:
public static float ReturnFloat34 ( ) { long imm = 34L ; return ( ( float ) ( imm ) ) ; }

Target:
public static float ReturnFloat33 ( ) { int imm = Main.$inline$int ( 33 ) ; return ( ( float ) ( imm ) ) ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { toggle.getCallback ( ) . action ( toggle , toggle.getId ( ) , button.getSelection ( ) ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { toggle.getCallback ( ) . action ( toggle , toggle.getId ( ) , button.getSelection ( ) ) ; updateSelection ( ) ; }
Source:
public void TestDangiFormat ( ) { com.ibm.icu.text.DateFormat fmt = com.ibm.icu.text.DateFormat.getDateInstance ( DateFormat.MEDIUM , new com.ibm.icu.util.ULocale ( "en@calendar=dangi" ) ) ; java.lang.String calType = fmt.getCalendar ( ) . getType ( ) ; assertEquals ( "Incorrect calendar type used by the date format instance" , "dangi" , calType ) ; com.ibm.icu.util.GregorianCalendar gcal = new com.ibm.icu.util.GregorianCalendar ( ) ; gcal.set ( 2013 , Calendar.MARCH , 1 , 0 , 0 , 0 ) ; java.util.Date d = gcal.getTime ( ) ; java.lang.String dangiDateStr = fmt.format ( d ) ; assertEquals ( "Bad date format" , "Mo1 20, gui-si" , dangiDateStr ) ; }

Target:
public void TestDangiFormat ( ) { com.ibm.icu.text.DateFormat fmt = com.ibm.icu.text.DateFormat.getDateInstance ( DateFormat.MEDIUM , new com.ibm.icu.util.ULocale ( "en@calendar=dangi" ) ) ; java.lang.String calType = fmt.getCalendar ( ) . getType ( ) ; assertEquals ( "Incorrect calendar type used by the date format instance" , "dangi" , calType ) ; com.ibm.icu.util.GregorianCalendar gcal = new com.ibm.icu.util.GregorianCalendar ( ) ; gcal.set ( 2013 , Calendar.MARCH , 1 , 0 , 0 , 0 ) ; java.util.Date d = gcal.getTime ( ) ; java.lang.String dangiDateStr = fmt.format ( d ) ; assertEquals ( "Bad date format" , "Mo1 20, 2013" , dangiDateStr ) ; }
Source:
public int hashCode ( ) { assert false : "hashCode not designed" ; return 42 ; }

Target:
public int hashCode ( ) { return ( ( pluralCountToCurrencyUnitPattern.hashCode ( ) ) ^ ( pluralRules.hashCode ( ) ) ) ^ ( ulocale.hashCode ( ) ) ; }
Source:
public com.android.ahat.heapdump.Value get ( int index ) { java.lang.Object obj = values [ index ] ; return obj == null ? null : new com.android.ahat.heapdump.Value ( obj ) ; }

Target:
public com.android.ahat.heapdump.Value get ( int index ) { return com.android.ahat.heapdump.Value.pack ( values [ index ] ) ; }
Source:
public void consume ( org.jetbrains.plugins.github.GithubAuthData authData ) throws java.io.IOException { reposRef.set ( org.jetbrains.plugins.github.GithubApiUtil.getDetailedRepoInfo ( authData , userAndRepo.getUser ( ) , userAndRepo.getRepository ( ) ) ) ; }

Target:
public void consume ( org.jetbrains.plugins.github.util.GithubAuthData authData ) throws java.io.IOException { reposRef.set ( org.jetbrains.plugins.github.GithubApiUtil.getDetailedRepoInfo ( authData , userAndRepo.getUser ( ) , userAndRepo.getRepository ( ) ) ) ; }
Source:
public static void computeHypot ( android.renderscript.cts.TestHypot.ArgumentsFloatFloatFloat args ) { args.ulf = 4 ; args.ulfRelaxed = 4 ; args.out = ( ( float ) ( java.lang.StrictMath.hypot ( args.inX , args.inY ) ) ) ; }

Target:
public static void computeNextafter ( android.renderscript.cts.TestNextafter.ArgumentsFloatFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( java.lang.Math.nextAfter ( args.inX , args.inY ) , 0 , 0 ) ; }
Source:
public void testPackageOverridePackageFromFlavor ( ) { mFlavorConfig.setPackageName ( "foo.bar" ) ; com.android.builder.core.VariantConfiguration variant = getVariant ( ) ; assertEquals ( "foo.bar" , variant.getPackageOverride ( ) ) ; }

Target:
public void testPackageOverridePackageFromFlavor ( ) { mFlavorConfig.setApplicationId ( "foo.bar" ) ; com.android.builder.core.VariantConfiguration variant = getVariant ( ) ; assertEquals ( "foo.bar" , variant.getIdOverride ( ) ) ; }
Source:
protected void init ( ) throws java.lang.Exception { if ( ( android.icu.dev.test.calendar.HolidayTest.cal ) == null ) { android.icu.dev.test.calendar.HolidayTest.cal = new android.icu.util.GregorianCalendar ( 1 , 0 , 1 ) ; android.icu.dev.test.calendar.HolidayTest.longTimeAgo = android.icu.dev.test.calendar.HolidayTest.cal.getTime ( ) ; android.icu.dev.test.calendar.HolidayTest.now = new java.util.Date ( ) ; } }

Target:
public void init ( ) throws java.lang.Exception { if ( ( cal ) == null ) { cal = new android.icu.util.GregorianCalendar ( 1 , 0 , 1 ) ; longTimeAgo = cal.getTime ( ) ; now = new java.util.Date ( ) ; } }
Source:
public com.android.sched.vfs.InputOutputVDir getRootInputOutputVDir ( ) { assert ! ( closed ) ; return root ; }

Target:
public com.android.sched.vfs.InputOutputVDir getRootInputOutputVDir ( ) { assert ! ( isClosed ( ) ) ; return root ; }
Source:
public static java.lang.Integer getTargetSdkVersion ( com.android.io.IAbstractFile manifestFile ) throws com.android.io.StreamException , javax.xml.xpath.XPathExpressionException { javax.xml.xpath.XPath xPath = com.android.xml.AndroidXPathFactory.newXPath ( ) ; java.lang.String result = xPath.evaluate ( ( ( ( ( ( ( ( "/" + ( com.android.xml.AndroidManifest.NODE_MANIFEST ) ) + "/" ) + ( com.android.xml.AndroidManifest.NODE_USES_SDK ) ) + "/@" ) + ( AndroidXPathFactory.DEFAULT_NS_PREFIX ) ) + ":" ) + ( com.android.xml.AndroidManifest.ATTRIBUTE_TARGET_SDK_VERSION ) ) , new org.xml.sax.InputSource ( manifestFile.getContents ( ) ) ) ; try { return java.lang.Integer.valueOf ( result ) ; } catch ( java.lang.NumberFormatException e ) { return ( result.length ( ) ) > 0 ? - 1 : null ; } }

Target:
public static java.lang.Integer getTargetSdkVersion ( com.android.io.IAbstractFile manifestFile ) throws com.android.io.StreamException , javax.xml.xpath.XPathExpressionException { java.lang.String result = com.android.xml.AndroidManifest.getStringValue ( manifestFile , ( ( ( ( ( ( ( "/" + ( com.android.xml.AndroidManifest.NODE_MANIFEST ) ) + "/" ) + ( com.android.xml.AndroidManifest.NODE_USES_SDK ) ) + "/@" ) + ( AndroidXPathFactory.DEFAULT_NS_PREFIX ) ) + ":" ) + ( com.android.xml.AndroidManifest.ATTRIBUTE_TARGET_SDK_VERSION ) ) ) ; try { return java.lang.Integer.valueOf ( result ) ; } catch ( java.lang.NumberFormatException e ) { return ! ( result.isEmpty ( ) ) ? - 1 : null ; } }
Source:
public < T > com.android.sched.util.config.AsapConfigBuilder set ( @ javax.annotation.Nonnull com.android.sched.util.config.id.ObjectId < T > objectId , @ javax.annotation.Nonnull T value , @ javax.annotation.Nonnull com.android.sched.util.location.Location location ) { instances.put ( objectId , value ) ; locationsByKeyId.put ( objectId , location ) ; return this ; }

Target:
public < T > com.android.sched.util.config.AsapConfigBuilder set ( @ javax.annotation.Nonnull com.android.sched.util.config.id.ObjectId < T > objectId , @ javax.annotation.Nonnull T value , @ javax.annotation.Nonnull com.android.sched.util.location.Location location ) { instances.put ( objectId , value ) ; valueLocationsByKeyId.put ( objectId , location ) ; return this ; }
Source:
public void testKeyPairGenerator_Initialize_KeySize_Failure ( ) throws java.lang.Exception { try { mGenerator.initialize ( 1024 ) ; fail ( "KeyPairGenerator should not support setting the key size" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }

Target:
public void testKeyPairGenerator_Initialize_KeySize_Encrypted_Failure ( ) throws java.lang.Exception { setupPassword ( ) ; try { mGenerator.initialize ( 1024 ) ; fail ( "KeyPairGenerator should not support setting the key size" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }
Source:
public static int NotEqualTrueLhs ( boolean arg ) { return true == arg ? 3 : 5 ; }

Target:
public static char intAnd0x1ffffToChar ( int value ) { return ( ( char ) ( value & 131071 ) ) ; }
Source:
public proguard.evaluation.value.IntegerValue subtractFrom ( proguard.evaluation.value.SpecificIntegerValue other ) { return this . equals ( other ) ? SpecificValueFactory.INTEGER_VALUE_0 : new proguard.evaluation.value.CompositeIntegerValue ( other , CompositeIntegerValue.SUBTRACT , this ) ; }

Target:
public proguard.evaluation.value.IntegerValue subtractFrom ( proguard.evaluation.value.SpecificIntegerValue other ) { return this . equals ( other ) ? ParticularValueFactory.INTEGER_VALUE_0 : new proguard.evaluation.value.CompositeIntegerValue ( other , CompositeIntegerValue.SUBTRACT , this ) ; }
Source:
com.android.sched.util.location.Location getVFileLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVDir parent , @ javax.annotation.Nonnull java.lang.String name ) { return vfs.getVFileLocation ( parent , name ) ; }

Target:
com.android.sched.util.location.Location getVDirLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVDir parent , @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) { return vfs.getVDirLocation ( parent.getWrappedDir ( ) , path ) ; }
Source:
public void middlewareReady ( ) throws android.os.RemoteException { }

Target:
public void onMiddlewareReady ( ) { }
Source:
public java.lang.String getRules ( ) { return icuColl.getRules ( ) ; }

Target:
public java.lang.String getRules ( ) { return collAsICU ( ) . getRules ( ) ; }
Source:
private void logi ( java.lang.String s ) { android.telephony.Rlog.i ( com.android.internal.telephony.GsmCdmaPhone.LOG_TAG , ( "[GsmCdmaPhone] " + s ) ) ; }

Target:
private void logi ( java.lang.String s ) { android.telephony.Rlog.i ( com.android.internal.telephony.GsmCdmaPhone.LOG_TAG , ( ( ( "[" + ( mPhoneId ) ) + "] " ) + s ) ) ; }
Source:
private com.android.draw9patch.ui.ImageViewer.UpdateRegionInfo getHorizontalPatchTop ( int x ) { return getContainingPatch ( patchInfo.horizontalPatchMarkers , x , com.android.draw9patch.ui.ImageViewer.UpdateRegion.TOP_PATCH ) ; }

Target:
private void updateDrawMode ( java.awt.event.MouseEvent event ) { if ( event.isShiftDown ( ) ) { currentMode = com.android.draw9patch.ui.ImageViewer.DrawMode.ERASE ; } else if ( event.isControlDown ( ) ) { currentMode = com.android.draw9patch.ui.ImageViewer.DrawMode.LAYOUT_BOUND ; } else { currentMode = com.android.draw9patch.ui.ImageViewer.DrawMode.PATCH ; } }
Source:
public java.lang.String apply ( @ com.android.annotations.Nullable com.android.build.gradle.managed.ManagedString managedString ) { return managedString == null ? null : managedString.getValue ( ) ; }

Target:
public java.util.Set < java.lang.String > getAbiFilters ( ) { return ndkConfig.getAbiFilters ( ) ; }
Source:
public void scheduleTrimMemory ( int level ) { queueOrSendMessage ( android.app.ActivityThread.H.TRIM_MEMORY , null , level ) ; }

Target:
public void scheduleTrimMemory ( int level ) { sendMessage ( android.app.ActivityThread.H.TRIM_MEMORY , null , level ) ; }
Source:
boolean expectAux ( java.lang.String tag , java.lang.String source , java.lang.String result , boolean pass , java.lang.String expectedResult ) { return expectAux ( tag , new java.lang.String [ ] { source , result } , pass , expectedResult ) ; }

Target:
static boolean expectAux ( java.lang.String tag , java.lang.String source , java.lang.String result , java.lang.String expectedResult ) { return com.ibm.icu.dev.test.translit.TransliteratorTest.expectAux ( tag , new java.lang.String [ ] { source , result } , result.equals ( expectedResult ) , expectedResult ) ; }
Source:
public android.telephony.ims.internal.stub.SmsImplBase getSmsImplementation ( ) { return new android.telephony.ims.internal.stub.SmsImplBase ( ) ; }

Target:
protected android.telephony.ims.stub.ImsSmsImplBase getSmsImplementation ( ) { return new android.telephony.ims.stub.ImsSmsImplBase ( ) ; }
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mTestResult = new com.android.ddmlib.testrunner.InstrumentationResultParserTest.VerifyingTestResult ( ) ; mParser = new com.android.ddmlib.testrunner.InstrumentationResultParser ( mTestResult ) ; }

Target:
private void assertCommonAttributes ( ) { assertEquals ( com.android.ddmlib.testrunner.InstrumentationResultParserTest.RUN_NAME , mTestResult.mTestRunName ) ; assertEquals ( com.android.ddmlib.testrunner.InstrumentationResultParserTest.CLASS_NAME , mTestResult.mSuiteName ) ; assertEquals ( 1 , mTestResult.mTestCount ) ; assertEquals ( com.android.ddmlib.testrunner.InstrumentationResultParserTest.TEST_NAME , mTestResult.mTestName ) ; }
Source:
public void testStringsToNpnBytesEmptyByteArray ( ) { try { android.net.SSLCertificateSocketFactory.toNpnProtocolsList ( new byte [ 0 ] ) ; fail ( ) ; } catch ( java.lang.IllegalArgumentException expected ) { } }

Target:
public void testStringsToLengthPrefixedBytesEmptyByteArray ( ) { try { android.net.SSLCertificateSocketFactory.toLengthPrefixedList ( new byte [ 0 ] ) ; fail ( ) ; } catch ( java.lang.IllegalArgumentException expected ) { } }
Source:
public int compare ( com.android.ahat.Site.ObjectsInfo a , com.android.ahat.Site.ObjectsInfo b ) { return a.heap.getName ( ) . compareTo ( b.heap.getName ( ) ) ; }

Target:
public int compare ( com.android.ahat.heapdump.NativeAllocation a , com.android.ahat.heapdump.NativeAllocation b ) { return a.heap.getName ( ) . compareTo ( b.heap.getName ( ) ) ; }
Source:
public boolean delKey ( java.lang.String key ) { return delKey ( android.security.KeyStore.getKeyBytes ( key ) ) ; }

Target:
public byte [ ] sign ( java.lang.String key , byte [ ] data ) { try { return mBinder.sign ( key , data ) ; } catch ( android.os.RemoteException e ) { android.util.Log.w ( android.security.KeyStore.TAG , "Cannot connect to keystore" , e ) ; return null ; } }
Source:
public void run ( ) { getContentResolver ( ) . update ( lockUri , values , null , null ) ; }

Target:
public void run ( ) { if ( ( mTempMmsUri ) == null ) { return ; } android.content.Intent intent = new android.content.Intent ( this , com.android.mms.ui.SlideshowEditActivity.class ) ; intent.setData ( mTempMmsUri ) ; startActivityForResult ( intent , com.android.mms.ui.ComposeMessageActivity.REQUEST_CODE_CREATE_SLIDESHOW ) ; }
Source:
public static void testSendSafetyInfoAlert ( android.app.Activity activity , int serialNumber ) { android.telephony.SmsCbMessage cbMessage = com.android.cellbroadcastreceiver.tests.SendGsmCmasMessages.createCmasSmsMessage ( 911 , serialNumber , "en" , com.android.cellbroadcastreceiver.tests.SendGsmCmasMessages.SAFETY_INFO , SmsCbCmasInfo.CMAS_SEVERITY_UNKNOWN , SmsCbCmasInfo.CMAS_URGENCY_UNKNOWN , SmsCbCmasInfo.CMAS_CERTAINTY_UNKNOWN , SmsCbMessage.MESSAGE_PRIORITY_NORMAL ) ; com.android.cellbroadcastreceiver.tests.SendGsmCmasMessages.sendBroadcast ( activity , cbMessage ) ; }

Target:
public static void testSendPublicSafetyMessagesAlert ( android.app.Activity activity , int serialNumber ) { android.telephony.SmsCbMessage cbMessage = com.android.cellbroadcastreceiver.tests.SendGsmCmasMessages.createCmasSmsMessage ( 911 , serialNumber , "en" , com.android.cellbroadcastreceiver.tests.SendGsmCmasMessages.PUBLIC_SAFETY_MESSAGE , SmsCbCmasInfo.CMAS_SEVERITY_UNKNOWN , SmsCbCmasInfo.CMAS_URGENCY_UNKNOWN , SmsCbCmasInfo.CMAS_CERTAINTY_UNKNOWN , SmsCbMessage.MESSAGE_PRIORITY_NORMAL ) ; com.android.cellbroadcastreceiver.tests.SendGsmCmasMessages.sendBroadcast ( activity , cbMessage ) ; }
Source:
public void updateAll ( java.util.ArrayList < java.lang.String > pkgFilter , boolean includeAll , boolean dryMode , java.lang.String acceptLicense ) { mUpdaterData.updateOrInstallAll_NoGUI ( pkgFilter , includeAll , dryMode , acceptLicense ) ; }

Target:
public void updateAll ( java.util.ArrayList < java.lang.String > pkgFilter , boolean includeAll , boolean dryMode , java.lang.String acceptLicense , boolean includeDependencies ) { mUpdaterData.updateOrInstallAll_NoGUI ( pkgFilter , includeAll , dryMode , acceptLicense , includeDependencies ) ; }
Source:
public static java.io.File createTempFile ( @ javax.annotation.Nonnull java.lang.String prefix , @ javax.annotation.Nonnull java.lang.String suffix ) throws java.io.IOException { java.io.File tmp = java.io.File.createTempFile ( prefix , suffix ) ; tmp.deleteOnExit ( ) ; return tmp ; }

Target:
public static java.io.File createTempFile ( @ javax.annotation.Nonnull java.lang.String prefix , @ javax.annotation.Nonnull java.lang.String suffix ) throws com.android.sched.util.file.CannotChangePermissionException , com.android.sched.util.file.CannotCreateFileException { java.io.File tmp = com.android.sched.util.file.Files.createTempFile ( ( ( com.android.jack.test.toolchain.AbstractTestTools.TMP_PREFIX ) + prefix ) , suffix ) ; tmp.deleteOnExit ( ) ; return tmp ; }
Source:
public void testAospServiceContexts ( ) throws java.lang.Exception { deviceSvcFile = java.io.File.createTempFile ( "service_contexts" , ".tmp" ) ; deviceSvcFile.deleteOnExit ( ) ; mDevice.pullFile ( "/plat_service_contexts" , deviceSvcFile ) ; aospSvcFile = copyResourceToTempFile ( "/plat_service_contexts" ) ; assertFileStartsWith ( aospSvcFile , deviceSvcFile ) ; }

Target:
public void testAospServiceContexts ( ) throws java.lang.Exception { deviceSvcFile = java.io.File.createTempFile ( "service_contexts" , ".tmp" ) ; deviceSvcFile.deleteOnExit ( ) ; mDevice.pullFile ( "/plat_service_contexts" , deviceSvcFile ) ; aospSvcFile = copyResourceToTempFile ( "/plat_service_contexts" ) ; assertFileEquals ( aospSvcFile , deviceSvcFile ) ; }
Source:
public void handleMessage ( android.os.Message msg ) { android.widget.Toast.makeText ( this , getString ( R.string.message_queued ) , Toast.LENGTH_SHORT ) . show ( ) ; }

Target:
public void handleMessage ( android.os.Message msg ) { android.widget.Toast.makeText ( this , getString ( msg.what ) , Toast.LENGTH_SHORT ) . show ( ) ; }
Source:
public com.android.sdklib.IAndroidTarget loadTarget ( com.android.ide.eclipse.adt.internal.project.ProjectState state ) { com.android.sdklib.IAndroidTarget target = null ; java.lang.String hash = state.getTargetHashString ( ) ; if ( hash != null ) { state.setTarget ( ( target = getTargetFromHashString ( hash ) ) ) ; } return target ; }

Target:
public com.android.sdklib.IAndroidTarget loadTarget ( com.android.ide.eclipse.adt.internal.sdk.ProjectState state ) { com.android.sdklib.IAndroidTarget target = null ; java.lang.String hash = state.getTargetHashString ( ) ; if ( hash != null ) { state.setTarget ( ( target = getTargetFromHashString ( hash ) ) ) ; } return target ; }
Source:
public void test_Constructor ( ) { try { tests.api.javax.net.ssl.SSLServerSocketFactoryTest.MockSSLServerSocketFactory ssf = new tests.api.javax.net.ssl.SSLServerSocketFactoryTest.MockSSLServerSocketFactory ( ) ; } catch ( java.lang.Exception e ) { fail ( ( "Unexpected exception " + ( e.toString ( ) ) ) ) ; } }

Target:
public void test_Constructor ( ) { try { org.apache.harmony.tests.javax.net.ssl.SSLServerSocketFactoryTest.MockSSLServerSocketFactory ssf = new org.apache.harmony.tests.javax.net.ssl.SSLServerSocketFactoryTest.MockSSLServerSocketFactory ( ) ; } catch ( java.lang.Exception e ) { fail ( ( "Unexpected exception " + ( e.toString ( ) ) ) ) ; } }
Source:
public boolean setWifiEnabled ( boolean enabled ) { try { return mService.setWifiEnabled ( enabled ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }

Target:
public boolean pingSupplicant ( ) { return isWifiEnabled ( ) ; }
Source:
public void testEncodeDecodeVideoFromBufferToBufferQVGA ( ) throws java.lang.Exception { setParameters ( 320 , 240 , 2000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_AVC ) ; encodeDecodeVideoFromBuffer ( false ) ; }

Target:
public void testVP8EncodeDecodeVideoFromSurfaceToSurfaceQVGA ( ) throws java.lang.Throwable { setParameters ( 320 , 240 , 2000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_VP8 , true , false ) ; android.media.cts.EncodeDecodeTest.SurfaceToSurfaceWrapper.runTest ( this ) ; }
Source:
public void onVideoProviderChanged ( com.android.services.telephony.VideoProvider videoProvider ) { setVideoProvider ( videoProvider ) ; }

Target:
public void onCallPullFailed ( android.telecom.Connection externalConnection ) { if ( externalConnection == null ) { return ; } com.android.services.telephony.Log.i ( this , "onCallPullFailed - pull failed; swapping back to call: %s" , externalConnection ) ; sendConnectionEvent ( Connection.EVENT_CALL_PULL_FAILED , null ) ; setOriginalConnection ( externalConnection ) ; setActiveInternal ( ) ; }
Source:
public boolean isNetworkRoaming ( ) { return isNetworkRoaming ( android.telephony.TelephonyManager.getDefaultSubscription ( ) ) ; }

Target:
private int getPhoneTypeFromProperty ( ) { return getPhoneTypeFromProperty ( getPhoneId ( ) ) ; }
Source:
public boolean hasUnderline ( ) { return true ; }

Target:
public int getToolbarInset ( ) { return 1 ; }
Source:
public java.lang.invoke.MethodHandle bindTo ( java.lang.Object x ) { x = type.leadingReferenceParameter ( ) . cast ( x ) ; throw new java.lang.UnsupportedOperationException ( "bindTo(Object)" ) ; }

Target:
public java.lang.invoke.MethodHandle bindTo ( java.lang.Object x ) { x = type.leadingReferenceParameter ( ) . cast ( x ) ; return new java.lang.invoke.Transformers.BindTo ( this , x ) ; }
Source:
public int getDeviceMode ( android.bluetooth.BluetoothDevice device ) { return 0 ; }

Target:
public long getHiSyncId ( android.bluetooth.BluetoothDevice device ) { com.android.bluetooth.hearingaid.HearingAidService service = getService ( ) ; if ( service == null ) { return android.bluetooth.BluetoothHearingAid.HI_SYNC_ID_INVALID ; } return service.getHiSyncId ( device ) ; }
Source:
public void testError ( ) { try { com.android.tools.lint.client.api.JarFileIssueRegistry.get ( new java.io.File ( "bogus" ) ) ; fail ( "Expected exception for bogus path" ) ; } catch ( java.lang.Throwable t ) { } }

Target:
public void testError ( ) { try { com.android.tools.lint.client.api.JarFileIssueRegistry.get ( new com.android.tools.lint.client.api.TestLintClient ( ) , new java.io.File ( "bogus" ) ) ; fail ( "Expected exception for bogus path" ) ; } catch ( java.lang.Throwable t ) { } }
Source:
java.util.Map < K , V > map ( ) { return this ; }

Target:
java.util.Collection < V > createValues ( ) { return new com.google.common.collect.Maps.Values < K , V > ( this ) ; }
Source:
public void unplug ( long batteryUptime , long batteryRealtime ) { mUnpluggedWakeups = mWakeups ; }

Target:
public void unplug ( long elapsedRealtime , long batteryUptime , long batteryRealtime ) { mUnpluggedWakeups = mWakeups ; }
Source:
public static void computeAsinpi ( android.renderscript.cts.TestAsinpi.ArgumentsFloatFloat args ) { args.ulf = 4 ; args.ulfRelaxed = 128 ; args.out = ( ( float ) ( ( java.lang.StrictMath.asin ( args.in ) ) / ( java.lang.StrictMath.PI ) ) ) ; }

Target:
public static void computeAsinpi ( android.renderscript.cts.TestAsinpi.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( ( ( android.renderscript.cts.CoreMathVerifier.asin ( args.inV ) ) / ( ( float ) ( java.lang.Math.PI ) ) ) , 5 , 128 ) ; }
Source:
private int getSlotIdFromPhoneId ( int phoneId ) { return phoneId ; }

Target:
private int getSlotIdFromPhoneId ( int phoneId ) { return mPhoneIdToSlotId [ phoneId ] ; }
Source:
public void dumpShowsFailureTrace ( ) throws java.lang.Exception { mLastMileLogger.reportConnectionEvent ( BaseWifiDiagnostics.CONNECTION_EVENT_STARTED ) ; android.os.FileUtils.stringToFile ( mTraceDataFile.getPath ( ) , "rdev_connect" ) ; mLastMileLogger.reportConnectionEvent ( BaseWifiDiagnostics.CONNECTION_EVENT_FAILED ) ; org.junit.Assert.assertTrue ( getDumpString ( ) . contains ( "rdev_connect" ) ) ; }

Target:
public void connectionEventFailedDoesNotCrashOnRepeatedCalls ( ) throws java.lang.Exception { mLastMileLogger.reportConnectionEvent ( com.android.server.wifi.LastMileLoggerTest.FAKE_CONNECTION_ID , BaseWifiDiagnostics.CONNECTION_EVENT_FAILED ) ; mLastMileLogger.reportConnectionEvent ( com.android.server.wifi.LastMileLoggerTest.FAKE_CONNECTION_ID , BaseWifiDiagnostics.CONNECTION_EVENT_FAILED ) ; }
Source:
public < T > T newProxy ( T target , java.lang.Class < T > interfaceType , long timeoutDuration , java.util.concurrent.TimeUnit timeoutUnit ) { return target ; }

Target:
public < T > T newProxy ( T target , java.lang.Class < T > interfaceType , long timeoutDuration , java.util.concurrent.TimeUnit timeoutUnit ) { com.google.common.base.Preconditions.checkNotNull ( target ) ; com.google.common.base.Preconditions.checkNotNull ( interfaceType ) ; com.google.common.base.Preconditions.checkNotNull ( timeoutUnit ) ; return target ; }
Source:
protected void onResume ( ) { super . onResume ( ) ; updateUi ( ) ; initSleepPolicyPreference ( ) ; refreshMacAddress ( ) ; }

Target:
protected void onResume ( ) { super . onResume ( ) ; updateUi ( ) ; initSleepPolicyPreference ( ) ; refreshWifiInfo ( ) ; }
Source:
private native void open ( java.lang.String name , boolean append ) throws java.io.FileNotFoundException ;

Target:
private native void open0 ( java.lang.String name , boolean append ) throws java.io.FileNotFoundException ;
Source:
void addSigningConfig ( com.android.build.gradle.internal.dsl.SigningConfigDsl signingConfigDsl ) { signingConfigs [ signingConfigDsl.name ] = signingConfigDsl ; }

Target:
public void addSigningConfig ( @ com.android.annotations.NonNull com.android.build.gradle.internal.dsl.SigningConfigDsl signingConfigDsl ) { signingConfigs.put ( signingConfigDsl.getName ( ) , signingConfigDsl ) ; }
Source:
public native boolean setReadOnly ( java.io.File f ) ;

Target:
private native boolean setReadOnly0 ( java.io.File f ) ;
Source:
public void testCookieStoreAddAcceptsConflictingUri ( ) throws java.net.URISyntaxException { java.net.CookieStore cookieStore = new java.net.CookieManager ( ) . getCookieStore ( ) ; java.net.HttpCookie cookieA = new java.net.HttpCookie ( "a" , "android" ) ; cookieA.setDomain ( ".android.com" ) ; cookieA.setPath ( "/source/" ) ; cookieStore.add ( new java.net.URI ( "http://google.com/source/" ) , cookieA ) ; assertEquals ( java.util.Arrays.asList ( cookieA ) , cookieStore.getCookies ( ) ) ; }

Target:
public void testCookieStoreAddAcceptsConflictingUri ( ) throws java.net.URISyntaxException { java.net.CookieStore cookieStore = new java.net.CookieManager ( ) . getCookieStore ( ) ; java.net.HttpCookie cookieA = libcore.java.net.CookiesTest.createCookie ( "a" , "android" , ".android.com" , "/source/" ) ; cookieStore.add ( new java.net.URI ( "http://google.com/source/" ) , cookieA ) ; assertEquals ( java.util.Arrays.asList ( cookieA ) , cookieStore.getCookies ( ) ) ; }
Source:
public static java.util.List < java.lang.String > readLines ( java.io.File file , java.nio.charset.Charset charset ) throws java.io.IOException { return com.google.common.io.CharStreams.readLines ( com.google.common.io.Files.newReaderSupplier ( file , charset ) ) ; }

Target:
public static com.google.common.base.Predicate < java.io.File > isFile ( ) { return com.google.common.io.Files.FilePredicate.IS_FILE ; }
Source:
public void getUpdatePackageFile_throwsErrorIfStreaming ( ) throws java.lang.Exception { com.example.android.systemupdatersample.UpdateConfig config = com.example.android.systemupdatersample.UpdateConfig.fromJson ( com.example.android.systemupdatersample.UpdateConfigTest.JSON_STREAMING ) ; thrown.expect ( java.lang.RuntimeException.class ) ; config.getUpdatePackageFile ( ) ; }

Target:
public void getUpdatePackageFile_throwsErrorIfStreaming ( ) throws java.lang.Exception { com.example.android.systemupdatersample.UpdateConfig config = com.example.android.systemupdatersample.UpdateConfig.fromJson ( mJsonStreaming001 ) ; thrown.expect ( java.lang.RuntimeException.class ) ; config.getUpdatePackageFile ( ) ; }
Source:
public static void computeMax ( android.renderscript.cts.TestMax.ArgumentsFloatFloatFloat args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = ( ( float ) ( java.lang.StrictMath.max ( args.in , args.in1 ) ) ) ; }

Target:
public static void computeClamp ( android.renderscript.cts.TestClamp.ArgumentsIntIntIntInt args ) { args.out = android.renderscript.cts.CoreMathVerifier.minI32 ( args.inMaxValue , android.renderscript.cts.CoreMathVerifier.maxI32 ( args.inValue , args.inMinValue ) ) ; }
Source:
public void dump ( ) { this . fRData.dump ( ) ; }

Target:
public void dump ( java.io.PrintStream out ) { if ( out == null ) { out = java.lang.System.out ; } this . fRData.dump ( out ) ; }
Source:
public void testVFE8 ( ) { try { dot.junit.opcodes.filled_new_array.d.T_filled_new_array_10 T = new dot.junit.opcodes.filled_new_array.d.T_filled_new_array_10 ( ) ; T.run ( ) ; fail ( "expected a NoClassDefFoundError exception" ) ; } catch ( java.lang.NoClassDefFoundError t ) { } }

Target:
public void testVFE4 ( ) { load ( "dot.junit.opcodes.filled_new_array.d.T_filled_new_array_6" , java.lang.VerifyError.class ) ; }
Source:
public static void initialize ( ) { if ( org.chromium.base.metrics.RecordHistogram.sIsDisabledForTests ) return ; org.chromium.base.metrics.RecordHistogram.nativeInitialize ( ) ; }

Target:
public static void initialize ( ) { if ( ( org.chromium.base.metrics.RecordHistogram.sDisabledBy ) != null ) return ; org.chromium.base.metrics.RecordHistogram.nativeInitialize ( ) ; }
Source:
public void run ( ) { if ( myDisposed ) { result.setRejected ( ) ; } else { removeDeferred ( ) . notifyWhenDone ( result ) ; } }

Target:
public com.intellij.ui.tabs.impl.ActionCallback run ( ) { return executeSelectionChange ( info , requestFocus ) ; }
Source:
public static com.android.server.wifi.ScanResults createWithNoIE ( int id , int ... freqs ) { return new com.android.server.wifi.ScanResults ( id , ( - 1 ) , com.android.server.wifi.ScanResults.generateNativeResults ( false , id , freqs ) ) ; }

Target:
public static com.android.server.wifi.ScanResults createWithNoIE ( int id , int ... freqs ) { return com.android.server.wifi.ScanResults.create ( id , com.android.server.wifi.ScanResults.generateNativeResults ( false , id , freqs ) ) ; }
Source:
protected void engineInit ( int opmode , java.security.Key key , java.security.AlgorithmParameters params , java.security.SecureRandom random ) throws java.security.InvalidAlgorithmParameterException , java.security.InvalidKeyException { checkKeyType ( key ) ; }

Target:
protected void engineInit ( int opmode , java.security.Key key , java.security.spec.AlgorithmParameterSpec params , java.security.SecureRandom random ) throws java.security.InvalidAlgorithmParameterException , java.security.InvalidKeyException { checkKeyType ( key ) ; checkAlgorithmParameterSpec ( params ) ; }
Source:
public void setUp ( com.android.tradefed.device.ITestDevice device , com.android.tradefed.build.IBuildInfo buildInfo ) throws com.android.tradefed.device.DeviceNotAvailableException , com.android.tradefed.targetprep.BuildError , com.android.tradefed.targetprep.TargetSetupError { startVirtualenv ( buildInfo ) ; setLocalPypiPath ( ) ; installDeps ( buildInfo ) ; }

Target:
public void setUp ( com.android.tradefed.device.ITestDevice device , com.android.tradefed.build.IBuildInfo buildInfo ) throws com.android.tradefed.device.DeviceNotAvailableException , com.android.tradefed.targetprep.BuildError , com.android.tradefed.targetprep.TargetSetupError { mBuildInfo = buildInfo ; startVirtualenv ( buildInfo ) ; setLocalPypiPath ( ) ; installDeps ( buildInfo ) ; }
Source:
public void onHostCardEmulationData ( byte [ ] data ) { if ( ( mCardEmulationManager ) != null ) { mCardEmulationManager.onHostCardEmulationData ( data ) ; } }

Target:
public void onHostCardEmulationData ( int technology , byte [ ] data ) { if ( ( mCardEmulationManager ) != null ) { mCardEmulationManager.onHostCardEmulationData ( technology , data ) ; } }
Source:
void execute ( com.android.build.gradle.ndk.internal.List < java.lang.String > args ) { args.removeAll ( "-Xlinker" ) ; }

Target:
public void execute ( java.util.List < java.lang.String > args ) { args.removeAll ( java.util.Collections.singleton ( "-Xlinker" ) ) ; }
Source:
public void onListenerConnected ( ) { super . onListenerConnected ( ) ; mDND = getCurrentInterruptionFilter ( ) ; android.util.Log.d ( com.android.cts.verifier.notifications.MockListener.TAG , ( "initial value of CurrentInterruptionFilter is " + ( mDND ) ) ) ; }

Target:
public void onListenerConnected ( ) { super . onListenerConnected ( ) ; mDND = getCurrentInterruptionFilter ( ) ; android.util.Log.d ( com.android.cts.verifier.notifications.MockListener.TAG , ( "initial value of CurrentInterruptionFilter is " + ( mDND ) ) ) ; com.android.cts.verifier.notifications.MockListener.sNotificationListenerInstance = this ; isConnected = true ; }
Source:
public int getMinSdk ( ) { return mProject.getDefaultConfig ( ) . getProductFlavor ( ) . getMinSdkVersion ( ) ; }

Target:
public int getMinSdk ( ) { int minSdk = mProject.getDefaultConfig ( ) . getProductFlavor ( ) . getMinSdkVersion ( ) ; if ( minSdk != ( - 1 ) ) { return minSdk ; } return mMinSdk ; }
Source:
public android.telephony.VisualVoicemailSmsFilterSettings getSystemVisualVoicemailSmsFilterSettings ( java.lang.String packageName , int subId ) { enforceReadPrivilegedPermission ( ) ; return com.android.phone.VisualVoicemailSmsFilterConfig.getVisualVoicemailSmsFilterSettings ( mPhone.getContext ( ) , packageName , subId ) ; }

Target:
public android.telephony.VisualVoicemailSmsFilterSettings getActiveVisualVoicemailSmsFilterSettings ( int subId ) { enforceReadPrivilegedPermission ( ) ; return com.android.phone.VisualVoicemailSmsFilterConfig.getActiveVisualVoicemailSmsFilterSettings ( mPhone.getContext ( ) , subId ) ; }
Source:
public java.lang.String getStringFormTarget ( ) { return ( ( enumTypeLocater.getStringFormTarget ( ) ) + "#" ) + ( constantName ) ; }

Target:
public java.lang.String getStringFormTarget ( ) { return ( ( typeLocator.getStringFormTarget ( ) ) + "#" ) + ( constantName ) ; }
Source:
public static java.util.Collection ipSecConfigs ( ) { return java.util.Arrays.asList ( new java.lang.Object [ ] [ ] { new java.lang.Object [ ] { "8.8.4.4" } , new java.lang.Object [ ] { "2601::10" } } ) ; }

Target:
public static java.util.Collection ipSecConfigs ( ) { return java.util.Arrays.asList ( new java.lang.Object [ ] [ ] { new java.lang.Object [ ] { "1.2.3.4" , "8.8.4.4" } , new java.lang.Object [ ] { "2601::2" , "2601::10" } } ) ; }
Source:
public static com.android.util.Pair < com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo , java.util.List < org.eclipse.swt.graphics.Rectangle > > create ( com.android.ide.common.rendering.api.ViewInfo root ) { return new com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo.Builder ( ) . create ( root ) ; }

Target:
public static com.android.util.Pair < com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo , java.util.List < org.eclipse.swt.graphics.Rectangle > > create ( com.android.ide.common.rendering.api.ViewInfo root , boolean layoutlib5 ) { return new com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo.Builder ( layoutlib5 ) . create ( root ) ; }
Source:
public java.util.Iterator < com.android.jack.ir.ast.JDefinedClassOrInterface > sortAndPrepare ( java.util.Collection < com.android.jack.ir.ast.JDefinedClassOrInterface > types ) { return types.iterator ( ) ; }

Target:
public java.util.Iterator < com.android.jack.ir.ast.JDefinedClassOrInterface > sortAndNumber ( java.util.Collection < com.android.jack.ir.ast.JDefinedClassOrInterface > types ) { return types.iterator ( ) ; }
Source:
void putUnchecked ( int pos , double [ ] dst , int srcOffset , int length ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
abstract void getUnchecked ( int pos , double [ ] dst , int dstOffset , int length ) ;
Source:
void setScale ( double scale ) { mHScale.setScale ( scale ) ; mVScale.setScale ( scale ) ; redraw ( ) ; }

Target:
void setScale ( double scale , boolean redraw ) { mHScale.setScale ( scale ) ; mVScale.setScale ( scale ) ; if ( redraw ) { redraw ( ) ; } }
Source:
private static boolean isAEAD ( java.lang.String algorithm ) { return ( "GCM" . equals ( algorithm ) ) || ( algorithm.contains ( "/GCM/" ) ) ; }

Target:
private static boolean isAEAD ( java.lang.String algorithm ) { return ( ( "GCM" . equals ( algorithm ) ) || ( algorithm.contains ( "/GCM/" ) ) ) || ( algorithm.equals ( "CHACHA20" ) ) ; }
Source:
public void test_twoDex_simpleUse ( ) throws java.lang.Exception { dalvik.system.DexClassLoaderTest.test_simpleUse ( dalvik.system.DexClassLoaderTest.Configuration.TWO_DEX ) ; }

Target:
public void test_twoDex_simpleUse ( ) throws java.lang.Exception { java.lang.String result = ( ( java.lang.String ) ( createLoaderAndCallMethod ( "test.Test1" , "test" , dex1 , dex2 ) ) ) ; assertSame ( "blort" , result ) ; }
Source:
public void onClick ( android.content.DialogInterface dialog , int which ) { com.android.dialer.logging.Logger.get ( context ) . logImpression ( DialerImpression.Type.VOICEMAIL_VVM3_TOS_DECLINE_CHANGE_PIN_SHOWN ) ; android.content.Intent intent = new android.content.Intent ( android.telephony.TelephonyManager.ACTION_CONFIGURE_VOICEMAIL ) ; context.startActivity ( intent ) ; }

Target:
public void onClick ( android.content.DialogInterface dialog , int which ) { com.android.dialer.logging.Logger.get ( context ) . logImpression ( DialerImpression.Type.VOICEMAIL_VVM3_TOS_DECLINE_CHANGE_PIN_SHOWN ) ; android.content.Intent intent = new android.content.Intent ( android.telephony.TelephonyManager.ACTION_CONFIGURE_VOICEMAIL ) ; intent.putExtra ( TelephonyManager.EXTRA_PHONE_ACCOUNT_HANDLE , phoneAccountHandle ) ; context.startActivity ( intent ) ; }
Source:
public void dispose ( ) { if ( com.android.internal.telephony.cdma.RuimRecords.DBG ) log ( ( "Disposing RuimRecords " + ( this ) ) ) ; mCi.unregisterForOffOrNotAvailable ( this ) ; mCi.unregisterForIccRefresh ( this ) ; super . dispose ( ) ; }

Target:
public void dispose ( ) { if ( com.android.internal.telephony.cdma.RuimRecords.DBG ) log ( ( "Disposing RuimRecords " + ( this ) ) ) ; mCi.unregisterForIccRefresh ( this ) ; mParentApp.unregisterForReady ( this ) ; resetRecords ( ) ; super . dispose ( ) ; }
Source:
public void testCameraAppDisabled ( ) throws java.lang.Exception { enableSampleDeviceAdmin ( ) ; disableCamera ( ) ; gotoCameraApp ( ) ; org.junit.Assert.assertTrue ( verifyCameraAppDisabled ( ) ) ; }

Target:
public void testCameraAppDisabled ( ) throws java.lang.Exception { if ( ( testFramework.getApi ( ) ) == 27 ) { return ; } enableSampleDeviceAdmin ( ) ; disableCamera ( ) ; gotoCameraApp ( ) ; org.junit.Assert.assertTrue ( verifyCameraAppDisabled ( ) ) ; }
Source:
public com.android.tools.lint.client.api.IDomParser getDomParser ( ) { return new com.android.tools.lint.LintCliXmlParser ( ) ; }

Target:
public com.android.tools.lint.client.api.XmlParser getXmlParser ( ) { return new com.android.tools.lint.LintCliXmlParser ( ) ; }
Source:
void stopProfileServices ( ) { java.lang.Class [ ] supportedProfileServices = com.android.bluetooth.btservice.Config.getSupportedProfiles ( ) ; if ( ( mRunningProfiles.size ( ) ) == 0 ) { debugLog ( "stopProfileServices() - No profiles services to stop or already stopped." ) ; return ; } setAllProfileServiceStates ( supportedProfileServices , BluetoothAdapter.STATE_OFF ) ; }

Target:
private void stopGattProfileService ( ) { mAdapterProperties.onBleDisable ( ) ; if ( ( mRunningProfiles.size ( ) ) == 0 ) { debugLog ( "stopGattProfileService() - No profiles services to stop." ) ; mAdapterStateMachine.sendMessage ( AdapterState.BLE_STOPPED ) ; } setProfileServiceState ( com.android.bluetooth.gatt.GattService.class , BluetoothAdapter.STATE_OFF ) ; }
Source:
public final long getLong ( int index ) { checkNotFreed ( ) ; checkIndex ( index , SizeOf.LONG ) ; return this . block.peekLong ( ( ( offset ) + index ) , order ) ; }

Target:
public final long getLong ( int index ) { checkIsAccessible ( ) ; checkIndex ( index , SizeOf.LONG ) ; return this . block.peekLong ( ( ( offset ) + index ) , order ) ; }
Source:
public void setVar ( int index , boolean v ) { mRS.nScriptSetVarI ( getID ( mRS ) , index , ( v ? 1 : 0 ) ) ; }

Target:
public void setVar ( int index , boolean v ) { mRS.nScriptSetVarI ( getID ( mRS ) , index , ( v ? 1 : 0 ) , mUseIncSupp ) ; }
Source:
public abstract com.android.dialer.precall.PreCall bindPreCall ( com.android.dialer.precall.impl.PreCallImpl simulator ) ;

Target:
public abstract com.android.dialer.precall.PreCall to ( com.android.dialer.precall.impl.PreCallImpl impl ) ;