auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void write ( java.io.DataOutput out ) throws java.io.IOException { super . write ( out ) ; myOldContent.write ( out ) ; com.intellij.util.io.DataInputOutputUtil.writeTIME ( out , myOldTimestamp ) ; }

Target:
public void write ( java.io.DataOutput out ) throws java.io.IOException { super . write ( out ) ; myOldContent.write ( out ) ; out.writeLong ( myOldTimestamp ) ; }
Source:
public void encode ( @ org.jetbrains.annotations.NotNull com.android.tools.rpclib.binary.Encoder e ) throws java.io.IOException { e.string ( "dummy" ) ; }

Target:
public void encode ( @ org.jetbrains.annotations.NotNull com.android.tools.rpclib.binary.Encoder e ) throws java.io.IOException { e.string ( dummy ) ; }
Source:
protected org.codehaus.groovy.control.CompilationUnit createCompilationUnit ( org.codehaus.groovy.control.CompilerConfiguration config , java.security.CodeSource source ) { return new com.android.ide.eclipse.adt.internal.editors.layout.gre.RulesEngine.GreCompilationUnit ( config , source , this ) ; }

Target:
public void dispose ( ) { clearCache ( ) ; }
Source:
public com.ibm.icu.impl.UResource.ArraySink getOrCreateArraySink ( com.ibm.icu.impl.UResource.Key key , int size ) { return null ; }

Target:
public com.ibm.icu.impl.UResource.TableSink getOrCreateTableSink ( com.ibm.icu.impl.UResource.Key key ) { return null ; }
Source:
public void testV1SignedAttrsMultipleGoodDigests ( ) throws java.lang.Exception { com.android.apksig.ApkVerifierTest.assertVerificationFailure ( verify ( "v1-only-with-signed-attrs-multiple-good-digests.apk" ) , Issue.JAR_SIG_PARSE_EXCEPTION ) ; }

Target:
public void testV1SignedAttrsNotInDerOrder ( ) throws java.lang.Exception { com.android.apksig.ApkVerifierTest.assertVerified ( verify ( "v1-only-with-signed-attrs-wrong-order.apk" ) ) ; com.android.apksig.ApkVerifierTest.assertVerified ( verify ( "v1-only-with-signed-attrs-signerInfo1-wrong-order-signerInfo2-good.apk" ) ) ; }
Source:
public void onMiddlewareReady ( ) { try { callback.onMiddlewareReady ( ) ; } catch ( android.os.RemoteException e ) { onAppCallbackDied ( uid , subscriptionId ) ; } }

Target:
public void binderDied ( ) { onAppCallbackDied ( uid , subscriptionId ) ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { selectContext ( ( ( mContextSwitchCombo.getSelectionIndex ( ) ) - 1 ) ) ; }

Target:
public void modifyText ( org.eclipse.swt.events.ModifyEvent e ) { updateAppliedFilters ( ) ; }
Source:
public void onClick ( android.view.View v ) { com.android.dialer.logging.Logger.get ( context ) . logImpression ( DialerImpression.Type.VVM_CALL_VOICEMAIL_CLICKED ) ; android.content.Intent intent = new android.content.Intent ( android.content.Intent.ACTION_CALL , com.android.dialer.util.CallUtil.getVoicemailUri ( ) ) ; context.startActivity ( intent ) ; }

Target:
public void onClick ( android.view.View v ) { com.android.dialer.logging.Logger.get ( context ) . logImpression ( DialerImpression.Type.VVM_CALL_VOICEMAIL_CLICKED ) ; context.startActivity ( com.android.dialer.callintent.CallIntentBuilder.forVoicemail ( phoneAccountHandle , CallInitiationType.Type.VOICEMAIL_ERROR_MESSAGE ) . build ( ) ) ; }
Source:
protected void finalize ( ) throws java.lang.Throwable { try { org.conscrypt.NativeCrypto.ENGINE_finish ( ctx ) ; org.conscrypt.NativeCrypto.ENGINE_free ( ctx ) ; } finally { super . finalize ( ) ; } }

Target:
protected void finalize ( ) throws java.lang.Throwable { try { if ( ! ( NativeCrypto.isBoringSSL ) ) { org.conscrypt.NativeCrypto.ENGINE_finish ( ctx ) ; org.conscrypt.NativeCrypto.ENGINE_free ( ctx ) ; } } finally { super . finalize ( ) ; } }
Source:
public java.lang.String getCompilerSourceCodeBase ( ) { return null ; }

Target:
public java.lang.String getCompilerSourceCodeBase ( ) { return com.android.jack.Jack.getVersion ( ) . getCodeBase ( ) ; }
Source:
private java.io.File getGradleSettingsFile ( ) { return new java.io.File ( commonRoot , com.android.ide.eclipse.adt.internal.wizards.exportgradle.BuildFileCreator.SETTINGS_FILE ) ; }

Target:
private static void writeRootBuildGradle ( java.io.File buildFile ) { com.android.ide.eclipse.adt.AdtPlugin.writeFile ( buildFile , "// Top-level build file where you can add configuration options common to all sub-projects/modules.\n" ) ; }
Source:
public void onStreamingServicesUpdated ( final java.util.List < android.telephony.mbms.StreamingServiceInfo > services ) { try { callback.onStreamingServicesUpdated ( services ) ; } catch ( android.os.RemoteException e ) { onAppCallbackDied ( uid , subscriptionId ) ; } }

Target:
public void onMiddlewareReady ( ) { try { callback.onMiddlewareReady ( ) ; } catch ( android.os.RemoteException e ) { onAppCallbackDied ( uid , subscriptionId ) ; } }
Source:
public void test_F32_2_SCALE05_20_inRectangle ( ) { testReszie ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inY , Element.DataType.FLOAT_32 , 2 , 0.5F , 2.0F ) ; checkError ( ) ; }

Target:
public void test_F32_2_SCALE05_20_inRectangle ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inY , Element.DataType.FLOAT_32 , 2 , 0.5F , 2.0F ) ; checkError ( ) ; }
Source:
public void testSetDefaultDialerNoWriteSecureSettingsPermission ( ) throws java.lang.Exception { org.mockito.Mockito.doThrow ( new java.lang.SecurityException ( ) ) . when ( mContext ) . enforceCallingOrSelfPermission ( org.mockito.Matchers.eq ( android.Manifest.permission.WRITE_SECURE_SETTINGS ) , org.mockito.Matchers.anyString ( ) ) ; setDefaultDialerFailureTestHelper ( ) ; }

Target:
public void testSetDefaultDialerNoWriteSecureSettingsPermission ( ) throws java.lang.Exception { org.mockito.Mockito.doThrow ( new java.lang.SecurityException ( ) ) . when ( mContext ) . enforceCallingOrSelfPermission ( org.mockito.Matchers.eq ( android.Manifest.permission.WRITE_SECURE_SETTINGS ) , org.mockito.ArgumentMatchers.nullable ( java.lang.String.class ) ) ; setDefaultDialerFailureTestHelper ( ) ; }
Source:
public byte [ ] getBody ( ) { try { return com.google.mockwebserver.MockResponse.readFullyNoClose ( body ) ; } catch ( java.io.IOException e ) { throw new java.lang.RuntimeException ( e ) ; } }

Target:
public void writeResponse ( java.io.OutputStream out ) throws java.io.IOException { super . writeResponse ( new java.io.ByteArrayInputStream ( body ) , out ) ; }
Source:
public void runTests ( ) throws android.aidl.tests.TestFailException { checkNullHandling ( ) ; checkNullBinderDetection ( ) ; checkNullBinderInListDetection ( ) ; }

Target:
public void runTests ( ) throws android.aidl.tests.TestFailException { checkNullHandling ( ) ; checkNullBinderDetection ( ) ; checkNullBinderInListDetection ( ) ; checkNullInterfaceHandling ( ) ; }
Source:
public static short byteToDoubleToShort ( byte value ) { return ( ( short ) ( ( double ) ( value ) ) ) ; }

Target:
public static short $noinline$byteToDoubleToShort ( byte value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( short ) ( ( double ) ( value ) ) ) ; }
Source:
com.google.common.cache.LocalCache.Strength getKeyStrength ( ) { return com.google.common.base.Objects.firstNonNull ( keyStrength , com.google.common.cache.LocalCache.Strength.STRONG ) ; }

Target:
com.google.common.cache.LocalCache.Strength getKeyStrength ( ) { return com.google.common.base.MoreObjects.firstNonNull ( keyStrength , com.google.common.cache.LocalCache.Strength.STRONG ) ; }
Source:
public void callSessionConferenceExtended ( com.android.ims.internal.ImsCallSession newSession , com.android.ims.ImsCallProfile profile ) throws android.os.RemoteException { mListener.callSessionConferenceExtended ( ( newSession != null ? newSession.getSession ( ) : null ) , profile ) ; }

Target:
public void callSessionConferenceExtended ( com.android.ims.internal.IImsCallSession newSession , com.android.ims.ImsCallProfile profile ) throws android.os.RemoteException { mListener.callSessionConferenceExtended ( newSession , profile ) ; }
Source:
private boolean isRinging ( java.lang.String actionName ) { if ( ( mState ) == ( CallState.RINGING ) ) { return true ; } com.android.server.telecom.Log.i ( this , "Request to %s a non-ringing call %s" , actionName , this ) ; return false ; }

Target:
private boolean isRinging ( java.lang.String actionName ) { if ( ( mState ) == ( CallState.RINGING ) ) { return true ; } android.telecom.Log.i ( this , "Request to %s a non-ringing call %s" , actionName , this ) ; return false ; }
Source:
public static float FloatAddition ( ) { float a ; float b ; float c ; a = Main.$inline$float ( 1.0F ) ; b = Main.$inline$float ( 2.0F ) ; c = a + b ; return c ; }

Target:
public static float FloatSubtraction ( ) { float a ; float b ; float c ; a = 6.0F ; b = 2.0F ; c = a - b ; return c ; }
Source:
public void test_minus_longTemporalUnit_zero ( ) { java.time.LocalTime t = TEST_12_30_40_987654321.minus ( 0 , java.time.temporal.ChronoUnit.MINUTES ) ; org.testng.Assert.assertEquals ( t , TEST_12_30_40_987654321 ) ; }

Target:
public void test_minus_longTemporalUnit_negativeMinutes ( ) { java.time.LocalTime t = tck.java.time.TCKLocalTime.TEST_12_30_40_987654321.minus ( ( - 25 ) , java.time.temporal.ChronoUnit.MINUTES ) ; org.testng.Assert.assertEquals ( t , java.time.LocalTime.of ( 12 , 55 , 40 , 987654321 ) ) ; }
Source:
protected libcore.util.ZoneInfo create ( java.lang.String id ) { libcore.io.BufferIterator it = getBufferIterator ( id ) ; if ( it == null ) { return null ; } return libcore.util.ZoneInfo.makeTimeZone ( id , it ) ; }

Target:
protected libcore.util.ZoneInfo create ( java.lang.String id ) { try { return makeTimeZoneUncached ( id ) ; } catch ( java.io.IOException e ) { throw new java.lang.IllegalStateException ( ( "Unable to load timezone for ID=" + id ) , e ) ; } }
Source:
public void rmPackageDir ( java.lang.String packageDir ) throws com.android.internal.os.InstallerConnection.InstallerException { checkLock ( ) ; try { mInstalld.rmPackageDir ( packageDir ) ; } catch ( android.os.RemoteException | android.os.ServiceSpecificException e ) { throw new com.android.internal.os.InstallerConnection.InstallerException ( e.getMessage ( ) ) ; } }

Target:
public void rmPackageDir ( java.lang.String packageDir ) throws com.android.internal.os.InstallerConnection.InstallerException { if ( ! ( checkBeforeRemote ( ) ) ) return ; try { mInstalld.rmPackageDir ( packageDir ) ; } catch ( android.os.RemoteException | android.os.ServiceSpecificException e ) { throw new com.android.internal.os.InstallerConnection.InstallerException ( e.getMessage ( ) ) ; } }
Source:
public void uriUpdated ( android.net.Uri uri ) { }

Target:
public void streamMethodUpdated ( int methodType ) { }
Source:
private void launchSettingsAppAndFinish ( ) { android.content.Intent launchSettingsIntent = new android.content.Intent ( android.provider.Settings.ACTION_SECURITY_SETTINGS ) ; launchSettingsIntent.setFlags ( Intent.FLAG_ACTIVITY_NEW_TASK ) ; startActivity ( launchSettingsIntent ) ; finish ( ) ; }

Target:
private void launchSecuritySettings ( ) { android.content.Intent launchSettingsIntent = new android.content.Intent ( android.provider.Settings.ACTION_SECURITY_SETTINGS ) ; startActivityForResult ( launchSettingsIntent , com.android.packageinstaller.PackageInstallerActivity.REQUEST_ENABLE_UNKNOWN_SOURCES ) ; }
Source:
public void sendMessageWithSessionInfo ( int message ) { sendMessage ( message , 0 , 0 , android.telecom.Log.createSubsession ( ) ) ; }

Target:
public void sendMessageWithSessionInfo ( int message , int arg , java.lang.String data ) { com.android.internal.os.SomeArgs args = com.android.internal.os.SomeArgs.obtain ( ) ; args.arg1 = android.telecom.Log.createSubsession ( ) ; args.arg2 = data ; sendMessage ( message , arg , 0 , args ) ; }
Source:
public final long getLong ( int index ) { checkIndex ( index , SizeOf.LONG ) ; return this . block.peekLong ( ( ( offset ) + index ) , order ) ; }

Target:
public final long getLong ( int index ) { checkNotFreed ( ) ; checkIndex ( index , SizeOf.LONG ) ; return this . block.peekLong ( ( ( offset ) + index ) , order ) ; }
Source:
public void systemBooted ( ) { if ( ( mKeyguardDelegate ) != null ) { mKeyguardDelegate.onBootCompleted ( ) ; } synchronized ( mLock ) { mSystemBooted = true ; } }

Target:
public void systemBooted ( ) { if ( ( mKeyguardDelegate ) != null ) { mKeyguardDelegate.bindService ( mContext ) ; mKeyguardDelegate.onBootCompleted ( ) ; } synchronized ( mLock ) { mSystemBooted = true ; } wakingUp ( ) ; screenTurningOn ( null ) ; }
Source:
private static int stackDepthToOpenglDepth ( int stackDepth ) { return ( ( com.android.rs.test.BlurStack.MAX_DEPTH ) - stackDepth ) * ( com.android.rs.test.BlurStack.DEPTH_SCALE ) ; }

Target:
private static int stackDepthToOpenglDepth ( int stackDepth ) { return ( ( com.android.rs.refocus.BlurStack.MAX_DEPTH ) - stackDepth ) * ( com.android.rs.refocus.BlurStack.DEPTH_SCALE ) ; }
Source:
public static android.renderscript.RenderScript create ( android.content.Context ctx , int sdkVersion ) { return android.renderscript.RenderScript.create ( ctx , sdkVersion , android.renderscript.RenderScript.ContextType.NORMAL , android.renderscript.RenderScript.CREATE_FLAG_NONE ) ; }

Target:
public static android.renderscript.RenderScript createMultiContext ( android.content.Context ctx , android.renderscript.RenderScript.ContextType ct , int flags , int API_number ) { return android.renderscript.RenderScript.internalCreate ( ctx , API_number , ct , flags ) ; }
Source:
public void enter ( ) { sendNsdStateChangeBroadcast ( true ) ; if ( ( mClients.size ( ) ) > 0 ) { startMDnsDaemon ( ) ; } }

Target:
public void exit ( ) { if ( ( mClients.size ( ) ) > 0 ) { mDaemon.stop ( ) ; } }
Source:
private com.android.sched.vfs.BaseVDir changeVFS ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVDir dir ) { dir.changeVFS ( this ) ; return dir ; }

Target:
com.android.sched.vfs.DeflateFS.DeflateVFile getVFile ( @ javax.annotation.Nonnull com.android.sched.vfs.DeflateFS.DeflateVDir parent , @ javax.annotation.Nonnull java.lang.String name ) throws com.android.sched.util.file.NoSuchFileException , com.android.sched.util.file.NotFileException { return new com.android.sched.vfs.DeflateFS.DeflateVFile ( this , vfs.getVFile ( parent.getWrappedDir ( ) , name ) ) ; }
Source:
public void visitLocalVariableTypeTableAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.CodeAttribute codeAttribute , proguard.classfile.attribute.visitor.LocalVariableTypeTableAttribute localVariableTypeTableAttribute ) { if ( accepted ( clazz , localVariableTypeTableAttribute ) ) { localVariableTypeTableAttribute.accept ( clazz , method , codeAttribute , attributeVisitor ) ; } }

Target:
public void visitRuntimeVisibleAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute ) { if ( accepted ( clazz , runtimeVisibleAnnotationsAttribute ) ) { attributeVisitor.visitRuntimeVisibleAnnotationsAttribute ( clazz , method , runtimeVisibleAnnotationsAttribute ) ; } }
Source:
public void visitBootstrapMethodInfo ( proguard.classfile.constant.visitor.Clazz clazz , proguard.classfile.constant.visitor.BootstrapMethodInfo bootstrapMethodInfo ) { clazz.constantPoolEntryAccept ( bootstrapMethodInfo.u2methodHandleIndex , bootstrapMethodHandleVisitor ) ; }

Target:
public void visitBootstrapMethodInfo ( proguard.classfile.Clazz clazz , proguard.classfile.constant.visitor.BootstrapMethodInfo bootstrapMethodInfo ) { clazz.constantPoolEntryAccept ( bootstrapMethodInfo.u2methodHandleIndex , bootstrapMethodHandleVisitor ) ; }
Source:
private native void gattClientConnectNative ( int clientIf , java.lang.String address , boolean isDirect , int transport , boolean opportunistic , int initiating_phys ) ;

Target:
private native void gattClientConnectNative ( int clientIf , java.lang.String address , boolean isDirect , int transport , boolean opportunistic , int initiatingPhys ) ;
Source:
public boolean onUnbind ( android.content.Intent intent ) { if ( com.android.bluetooth.btservice.ProfileService.DBG ) { log ( "onUnbind" ) ; } return super . onUnbind ( intent ) ; }

Target:
public boolean onUnbind ( android.content.Intent intent ) { if ( com.android.bluetooth.btservice.ProfileService.DBG ) { android.util.Log.d ( mName , "onUnbind" ) ; } return super . onUnbind ( intent ) ; }
Source:
public void onChange ( boolean selfChange ) { super . onChange ( selfChange ) ; synchronized ( mLock ) { if ( ( mUiAutomationService ) == null ) { populateTouchExplorationGrantedAccessibilityServicesLocked ( ) ; unbindAllServicesLocked ( ) ; manageServicesLocked ( ) ; } } }

Target:
private void removeUser ( int userId ) { synchronized ( mLock ) { mUserStates.remove ( userId ) ; } }
Source:
public void onNanDownNotification ( int reason ) { android.os.Message msg = mSm.obtainMessage ( com.android.server.wifi.nan.WifiNanStateManager.MESSAGE_TYPE_NOTIFICATION ) ; msg.arg1 = com.android.server.wifi.nan.WifiNanStateManager.NOTIFICATION_TYPE_NAN_DOWN ; msg.arg2 = reason ; mSm.sendMessage ( msg ) ; }

Target:
public void onAwareDownNotification ( int reason ) { android.os.Message msg = mSm.obtainMessage ( com.android.server.wifi.aware.WifiAwareStateManager.MESSAGE_TYPE_NOTIFICATION ) ; msg.arg1 = com.android.server.wifi.aware.WifiAwareStateManager.NOTIFICATION_TYPE_AWARE_DOWN ; msg.arg2 = reason ; mSm.sendMessage ( msg ) ; }
Source:
public void funnel ( java.lang.CharSequence from , com.google.common.hash.PrimitiveSink into ) { into.putString ( from ) ; }

Target:
public void funnel ( java.lang.CharSequence from , com.google.common.hash.PrimitiveSink into ) { into.putUnencodedChars ( from ) ; }
Source:
public void onAboutMenuSelected ( ) { showRegisteredPage ( Purpose.ABOUT_BOX ) ; }

Target:
public void onAboutMenuSelected ( ) { com.android.sdkuilib.internal.repository.AboutDialog ad = new com.android.sdkuilib.internal.repository.AboutDialog ( mShell , mUpdaterData ) ; ad.open ( ) ; }
Source:
public native boolean unwindOtherProcess ( int pid ) ;

Target:
public native boolean unwindOtherProcess ( boolean full_signatures , int pid ) ;
Source:
, @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , method = "ProgressBar" , args = { android.content.Context.class , android.util.AttributeSet.class } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , method = "ProgressBar" , args = { android.content.Context.class , android.util.AttributeSet.class , int . class } ) } ) public void testConstructor ( ) { new android.widget.ProgressBar ( mContext ) ; new android.widget.ProgressBar ( mContext , null ) ; new android.widget.ProgressBar ( mContext , null , com.android.internal.R.attr.progressBarStyle ) ; }

Target:
, @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , method = "ProgressBar" , args = { android.content.Context.class , android.util.AttributeSet.class } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , method = "ProgressBar" , args = { android.content.Context.class , android.util.AttributeSet.class , int . class } ) } ) public void testConstructor ( ) { new android.widget.ProgressBar ( mContext ) ; new android.widget.ProgressBar ( mContext , null ) ; new android.widget.ProgressBar ( mContext , null , android.R.attr.progressBarStyle ) ; }
Source:
public java.lang.String [ ] getPcscfAddress ( java.lang.String apnType , java.lang.String callingPackage ) { if ( ! ( canReadPhoneState ( callingPackage , "getPcscfAddress" ) ) ) { return new java.lang.String [ 0 ] ; } return mPhone.getPcscfAddress ( apnType ) ; }

Target:
public java.lang.String [ ] getPcscfAddress ( java.lang.String apnType , java.lang.String callingPackage ) { if ( ! ( com.android.internal.telephony.TelephonyPermissions.checkCallingOrSelfReadPhoneState ( mApp , callingPackage , "getPcscfAddress" ) ) ) { return new java.lang.String [ 0 ] ; } return mPhone.getPcscfAddress ( apnType ) ; }
Source:
void unSetOnUnsolOemHookRaw ( android.os.Handler h ) ;

Target:
void stopNattKeepalive ( int sessionHandle , android.os.Message result ) ;
Source:
public boolean retainAll ( java.util.Collection < ? > c ) { return removePredicate ( com.google.common.base.Predicates.not ( com.google.common.base.Predicates.in ( c ) ) ) ; }

Target:
public void clear ( ) { removeFromColumnIf ( com.google.common.base.Predicates.alwaysTrue ( ) ) ; }
Source:
public void testHasTransformer_ClassWithTransformerAttribute ( ) { initializePsiClass ( false , true ) ; org.mockito.MockitoAnnotations.initMocks ( this ) ; com.google.gct.intellij.endpoints.validation.EndpointPsiElementVisitor endpointPsiElementVisitor = new com.google.gct.intellij.endpoints.validation.EndpointPsiElementVisitor ( ) ; junit.framework.Assert.assertTrue ( endpointPsiElementVisitor.hasTransformer ( mockPsiClass ) ) ; }

Target:
public void testHasTransformer_ClassWithTransformerAttribute ( ) { initializePsiClass ( false , true ) ; org.mockito.MockitoAnnotations.initMocks ( this ) ; com.google.gct.idea.appengine.validation.EndpointPsiElementVisitor endpointPsiElementVisitor = new com.google.gct.idea.appengine.validation.EndpointPsiElementVisitor ( ) ; junit.framework.Assert.assertTrue ( endpointPsiElementVisitor.hasTransformer ( mockPsiClass ) ) ; }
Source:
public static boolean NotNotBool ( boolean arg ) { return ! ( Main.NegateValue ( arg ) ) ; }

Target:
public static boolean $noinline$NotNotBool ( boolean arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ! ( Main.NegateValue ( arg ) ) ; }
Source:
static < K , V > java.util.SortedMap < K , V > asMap ( java.util.SortedSet < K > set , com.google.common.base.Function < ? super K , V > function ) { return new com.google.common.collect.Maps.SortedAsMapView < K , V > ( set , function ) ; }

Target:
static < K , V > java.util.SortedMap < K , V > asMapSortedIgnoreNavigable ( java.util.SortedSet < K > set , com.google.common.base.Function < ? super K , V > function ) { return new com.google.common.collect.Maps.SortedAsMapView < K , V > ( set , function ) ; }
Source:
public void testWildcardMatchingEmptySubstring ( ) { assertTrue ( verifier.verifyHostName ( "imap.google.com" , "imap*.google.com" ) ) ; }

Target:
public void testWildcardMatchesChildDomain ( ) { assertFalse ( verifyWithDomainNamePattern ( "a.b.c.d" , "*.c.d" ) ) ; }
Source:
public static void copy ( com.google.common.io.InputSupplier < ? extends java.io.InputStream > from , java.io.File to ) throws java.io.IOException { com.google.common.io.ByteStreams.copy ( from , com.google.common.io.Files.newOutputStreamSupplier ( to ) ) ; }

Target:
public boolean processLine ( java.lang.String line ) { result.add ( line ) ; return true ; }
Source:
public int [ ] getSubIdUsingSlotId ( int slotId ) { return getSubId ( slotId ) ; }

Target:
public int [ ] getSubIdUsingSlotIndex ( int slotIndex ) { return getSubId ( slotIndex ) ; }
Source:
public int getAllowScansWithTraffic ( ) { enforceAccessPermission ( ) ; return mWifiStateMachine.getAllowScansWithTraffic ( ) ; }

Target:
public int getAllowScansWithTraffic ( ) { enforceAccessPermission ( ) ; mLog.trace ( "getAllowScansWithTraffic uid=%" ) . c ( android.os.Binder.getCallingUid ( ) ) . flush ( ) ; return mWifiStateMachine.getAllowScansWithTraffic ( ) ; }
Source:
synchronized int getConnectionState ( ) { return ( ( com.android.bluetooth.pbap.PbapStateMachine.PbapStateBase ) ( getCurrentState ( ) ) ) . getConnectionStateInt ( ) ; }

Target:
synchronized int getConnectionState ( ) { com.android.bluetooth.pbap.PbapStateMachine.PbapStateBase state = ( ( com.android.bluetooth.pbap.PbapStateMachine.PbapStateBase ) ( getCurrentState ( ) ) ) ; if ( state == null ) { return android.bluetooth.BluetoothProfile.STATE_DISCONNECTED ; } return state.getConnectionStateInt ( ) ; }
Source:
public void close ( ) throws com.android.jack.library.LibraryIOException { try { baseVFS.close ( ) ; } catch ( java.io.IOException e ) { throw new com.android.jack.library.LibraryIOException ( getLocation ( ) , e ) ; } }

Target:
public void close ( ) throws com.android.jack.library.LibraryIOException { try { inputVFS.close ( ) ; } catch ( java.io.IOException e ) { throw new com.android.jack.library.LibraryIOException ( getLocation ( ) , e ) ; } }
Source:
public void a_attachNullAgent ( ) throws java.lang.Exception { android.os.Debug.attachJvmtiAgent ( null , null ) ; }

Target:
public void a_attachNullAgent ( ) throws java.lang.Exception { android.os.Debug.attachJvmtiAgent ( null , null , classLoader ) ; }
Source:
public void testExistingIUserA ( ) { int userSetting = com.android.internal.content.PackageHelper.APP_INSTALL_AUTO ; int iFlags = PackageManager.INSTALL_INTERNAL ; setExistingXUserX ( userSetting , iFlags , PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY ) ; }

Target:
public void testExistingIUserA ( ) { int userSetting = com.android.internal.content.PackageHelper.APP_INSTALL_AUTO ; int iFlags = android.content.pm.PackageManager.INSTALL_INTERNAL ; setExistingXUserX ( userSetting , iFlags , PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY ) ; }
Source:
private static boolean onTheHour ( java.util.Calendar c ) { return ( ( c.get ( java.util.Calendar.MINUTE ) ) == 0 ) && ( ( c.get ( java.util.Calendar.SECOND ) ) == 0 ) ; }

Target:
private static boolean onTheHour ( com.ibm.icu.util.Calendar c ) { return ( ( c.get ( Calendar.MINUTE ) ) == 0 ) && ( ( c.get ( Calendar.SECOND ) ) == 0 ) ; }
Source:
public static com.android.ide.eclipse.hierarchyviewer.HierarchyViewerPlugin getDefault ( ) { return com.android.ide.eclipse.hierarchyviewer.HierarchyViewerPlugin.plugin ; }

Target:
public static com.android.ide.eclipse.hierarchyviewer.HierarchyViewerPlugin getPlugin ( ) { return com.android.ide.eclipse.hierarchyviewer.HierarchyViewerPlugin.plugin ; }
Source:
public final boolean hasArray ( ) { return ( ( hb ) != null ) && ( ! ( isReadOnly ( ) ) ) ; }

Target:
public final boolean hasArray ( ) { return ( ( hb ) != null ) && ( ! ( isReadOnly ) ) ; }
Source:
private synchronized boolean isActiveDevice ( android.bluetooth.BluetoothDevice device ) { return ( device != null ) && ( java.util.Objects.equals ( device , mActiveDevice ) ) ; }

Target:
private boolean isActiveDevice ( android.bluetooth.BluetoothDevice device ) { synchronized ( mStateMachines ) { return ( device != null ) && ( java.util.Objects.equals ( device , mActiveDevice ) ) ; } }
Source:
boolean acceptIncomingConnect ( android.bluetooth.BluetoothDevice device ) { return false ; }

Target:
synchronized android.os.Looper getStateMachinesThreadLooper ( ) { return mStateMachinesThread.getLooper ( ) ; }
Source:
public void setFile ( org.eclipse.core.resources.IFile file ) { mEditedFile = file ; initializeConfiguration ( ) ; }

Target:
public void setFile ( org.eclipse.core.resources.IFile file ) { mEditedFile = file ; ensureInitialized ( ) ; }
Source:
private java.lang.String makeString ( int val ) { return new java.lang.String ( ( "Deep" + val ) ) ; }

Target:
private java.lang.String makeString ( int val ) { try { return new java.lang.String ( ( "Deep" + val ) ) ; } catch ( java.lang.OutOfMemoryError e ) { return null ; } }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { super . widgetSelected ( e ) ; reloadSkinCombo ( ) ; reloadAbiTypeCombo ( ) ; validatePage ( ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { super . widgetSelected ( e ) ; reloadSkinCombo ( ) ; reloadTagAbiCombo ( ) ; validatePage ( ) ; }
Source:
public void test_ENGINE_by_id_Failure ( ) throws java.lang.Exception { org.apache.harmony.xnet.provider.jsse.NativeCrypto.ENGINE_load_dynamic ( ) ; try { int engine = org.apache.harmony.xnet.provider.jsse.NativeCrypto.ENGINE_by_id ( "non-existent" ) ; fail ( "Shouldn't load non-existent engine" ) ; } catch ( java.lang.RuntimeException e ) { } }

Target:
public void test_ENGINE_by_id_Failure ( ) throws java.lang.Exception { org.apache.harmony.xnet.provider.jsse.NativeCrypto.ENGINE_load_dynamic ( ) ; int engine = org.apache.harmony.xnet.provider.jsse.NativeCrypto.ENGINE_by_id ( "non-existent" ) ; if ( engine != 0 ) { org.apache.harmony.xnet.provider.jsse.NativeCrypto.ENGINE_finish ( engine ) ; fail ( "should not acquire reference to non-existent engine" ) ; } }
Source:
protected byte [ ] engineGetEncoded ( ) throws java.io.IOException { }

Target:
protected byte [ ] engineGetEncoded ( ) throws java.io.IOException { return gcmParams.getEncoded ( ) ; }
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mDevice = getDevice ( ) ; HEAD ( 2 ) ; android.wm.cts.a1541 Merge ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mDevice = getDevice ( ) ; if ( ! ( supportsDragAndDrop ( ) ) ) { return ; } mSourcePackageName = android.wm.cts.CrossAppDragAndDropTests.SOURCE_PACKAGE_NAME ; mTargetPackageName = android.wm.cts.CrossAppDragAndDropTests.TARGET_PACKAGE_NAME ; }
Source:
public void notifyCallForwardingIndicator ( ) { android.util.Log.e ( com.android.internal.telephony.PhoneBase.LOG_TAG , "Error! This function should never be executed, inactive CDMAPhone." ) ; }

Target:
public void requestIsimAuthentication ( java.lang.String nonce , android.os.Message result ) { android.telephony.Rlog.e ( com.android.internal.telephony.PhoneBase.LOG_TAG , "requestIsimAuthentication() is only supported on LTE devices" ) ; }
Source:
public abstract com.google.common.collect.ImmutableMap < R , V > column ( C columnKey ) ;

Target:
abstract com.google.common.collect.ImmutableSet < com.google.common.collect.Table.Cell < R , C , V > > createCellSet ( ) ;
Source:
public final void testIdentityScopeString ( ) { is = new org.apache.harmony.security.tests.support.IdentityScopeStub ( "Aleksei Semenov" ) ; assertNotNull ( is ) ; assertEquals ( "Aleksei Semenov" , is.getName ( ) ) ; }

Target:
public final void testIdentityScopeString ( ) { is = new org.apache.harmony.security.tests.support.IdentityScopeStub ( "Sergio Giro" ) ; assertNotNull ( is ) ; assertEquals ( "Sergio Giro" , is.getName ( ) ) ; }
Source:
public void breakpointDouble ( double param ) { logWriter.println ( ( ( "breakpointDouble(param=" + param ) + ")" ) ) ; }

Target:
public void breakpointDouble ( double param ) { logWriter.println ( ( ( "breakpointDouble(param=" + param ) + ")" ) ) ; synchronizeWithTest ( ) ; }
Source:
private boolean hasTestRunnerLibrary ( com.android.sdklib.xml.ManifestData manifestData ) { for ( com.android.sdklib.xml.ManifestData.UsesLibrary lib : manifestData.getUsesLibraries ( ) ) { if ( AndroidConstants.LIBRARY_TEST_RUNNER.equals ( lib.getName ( ) ) ) { return true ; } } return false ; }

Target:
private boolean hasTestRunnerLibrary ( com.android.sdklib.xml.ManifestData manifestData ) { for ( com.android.sdklib.xml.ManifestData.UsesLibrary lib : manifestData.getUsesLibraries ( ) ) { if ( AdtConstants.LIBRARY_TEST_RUNNER.equals ( lib.getName ( ) ) ) { return true ; } } return false ; }
Source:
public void updateConnectStatus ( ) { getPassButton ( ) . setEnabled ( true ) ; }

Target:
public void updateConnectStatus ( ) { getPassButton ( ) . setEnabled ( ( ( mOutputDevInfo ) != null ) ) ; }
Source:
public void execute ( java.lang.Runnable command ) { new java.lang.Thread ( command , ( ( ( getServiceName ( ) ) + " " ) + state ) ) . start ( ) ; }

Target:
public void execute ( java.lang.Runnable command ) { com.google.common.util.concurrent.MoreExecutors.newThread ( threadNameSupplier.get ( ) , command ) . start ( ) ; }
Source:
public void evaluate ( ) throws java.lang.Throwable { child.run ( ) ; }

Target:
public void evaluate ( ) throws java.lang.Throwable { runWithTimeout ( child ) ; }
Source:
public java.lang.String formatValue ( @ javax.annotation.Nonnull com.android.sched.util.config.DefaultFactory < T > factory ) { return getName ( factory.getInstanciatedClass ( ) ) ; }

Target:
public java.lang.String formatValue ( @ javax.annotation.Nonnull com.android.sched.util.config.DefaultFactory < T > factory ) { return getName ( factory.getInstantiatedClass ( ) ) ; }
Source:
private static int getDefaultSubscription ( ) { return android.telephony.SubscriptionManager.getDefaultSubscriptionId ( ) ; }

Target:
private int getSubId ( int preferredSubId ) { if ( android.telephony.SubscriptionManager.isUsableSubIdValue ( mSubId ) ) { return mSubId ; } return preferredSubId ; }
Source:
private static synchronized void setPbapClientService ( com.android.bluetooth.pbapclient.PbapClientService instance ) { if ( com.android.bluetooth.pbapclient.PbapClientService.DBG ) { android.util.Log.d ( com.android.bluetooth.pbapclient.PbapClientService.TAG , ( "setPbapClientService(): set to: " + instance ) ) ; } com.android.bluetooth.pbapclient.PbapClientService.sPbapClientService = instance ; }

Target:
private static synchronized void setPbapClientService ( com.android.bluetooth.pbapclient.PbapClientService instance ) { if ( com.android.bluetooth.pbapclient.PbapClientService.VDBG ) { android.util.Log.v ( com.android.bluetooth.pbapclient.PbapClientService.TAG , ( "setPbapClientService(): set to: " + instance ) ) ; } com.android.bluetooth.pbapclient.PbapClientService.sPbapClientService = instance ; }
Source:
public void tesAnswerToRestNullString ( ) { com.android.internal.telephony.uicc.AnswerToReset atr = com.android.internal.telephony.uicc.AnswerToReset.parseAtr ( null ) ; org.junit.Assert.assertNull ( atr ) ; }

Target:
public void testAnswerToRestNullString ( ) { com.android.internal.telephony.uicc.AnswerToReset atr = com.android.internal.telephony.uicc.AnswerToReset.parseAtr ( null ) ; org.junit.Assert.assertNull ( atr ) ; }
Source:
void stop ( ) { if ( com.android.bluetooth.mapclient.MnsService.VDBG ) android.util.Log.v ( com.android.bluetooth.mapclient.MnsService.TAG , "stop()" ) ; mShutdown = true ; if ( ( com.android.bluetooth.mapclient.MnsService.mServerSockets ) != null ) { com.android.bluetooth.mapclient.MnsService.mServerSockets.shutdown ( false ) ; com.android.bluetooth.mapclient.MnsService.mServerSockets = null ; } }

Target:
void stop ( ) { if ( com.android.bluetooth.mapclient.MnsService.VDBG ) android.util.Log.v ( com.android.bluetooth.mapclient.MnsService.TAG , "stop()" ) ; mShutdown = true ; cleanUpSdpRecord ( ) ; if ( ( com.android.bluetooth.mapclient.MnsService.mServerSockets ) != null ) { com.android.bluetooth.mapclient.MnsService.mServerSockets.shutdown ( false ) ; com.android.bluetooth.mapclient.MnsService.mServerSockets = null ; } }
Source:
private final native void native_setup ( android.mtp.MtpDatabase database , boolean usePtp ) ;

Target:
private final native void native_setup ( android.mtp.MtpDatabase database , boolean usePtp , java.lang.String deviceInfoManufacturer , java.lang.String deviceInfoModel , java.lang.String deviceInfoDeviceVersion , java.lang.String deviceInfoSerialNumber ) ;
Source:
public void testSize ( ) { java.util.concurrent.CopyOnWriteArraySet empty = new java.util.concurrent.CopyOnWriteArraySet ( ) ; java.util.concurrent.CopyOnWriteArraySet full = jsr166.CopyOnWriteArraySetTest.populatedSet ( 3 ) ; assertEquals ( 3 , full.size ( ) ) ; assertEquals ( 0 , empty.size ( ) ) ; }

Target:
public void testSize ( ) { java.util.Collection empty = new java.util.concurrent.CopyOnWriteArraySet ( ) ; java.util.Collection full = jsr166.CopyOnWriteArraySetTest.populatedSet ( 3 ) ; assertEquals ( 3 , full.size ( ) ) ; assertEquals ( 0 , empty.size ( ) ) ; }
Source:
public boolean containsAll ( java.util.Collection < ? > collection ) { for ( java.lang.Object element : collection ) { if ( ! ( contains ( element ) ) ) { return false ; } } return true ; }

Target:
public boolean containsAll ( java.util.Collection < ? > collection ) { return com.google.common.collect.Collections2.containsAllImpl ( this , collection ) ; }
Source:
public void createNativeBuildTypes ( org.gradle.nativeplatform.BuildTypeContainer nativeBuildTypes , @ org.gradle.model.Path ( value = "android.buildTypes" ) org.gradle.model.collection.ManagedSet < com.android.builder.model.BuildType > androidBuildTypes ) { for ( com.android.builder.model.BuildType buildType : androidBuildTypes ) { nativeBuildTypes.maybeCreate ( buildType.getName ( ) ) ; } }

Target:
public void createNativeBuildTypes ( org.gradle.nativeplatform.BuildTypeContainer nativeBuildTypes , @ org.gradle.model.Path ( value = "android.buildTypes" ) org.gradle.model.ModelMap < com.android.builder.model.BuildType > androidBuildTypes ) { for ( com.android.builder.model.BuildType buildType : androidBuildTypes.values ( ) ) { nativeBuildTypes.maybeCreate ( buildType.getName ( ) ) ; } }
Source:
public void test_compatibilitySerialization_inClass_Complex_Harmony ( ) throws java.lang.Exception { assertTrue ( tests.util.SerializationTester.assertCompabilityEquals ( new org.apache.harmony.tests.java.lang.MockEnum2 ( ) , "serialization/org/apache/harmony/luni/tests/java/lang/EnumTest.harmony.ser" ) ) ; }

Target:
public void test_compatibilitySerialization_inClass_Complex_Harmony ( ) throws java.lang.Exception { assertTrue ( tests.util.SerializationTester.assertCompabilityEquals ( new org.apache.harmony.tests.java.lang.MockEnum2 ( ) , "serialization/org/apache/harmony/tests/java/lang/EnumTest.harmony.ser" ) ) ; }
Source:
public int modifyPasspointManagementObject ( java.lang.String fqdn , java.util.List < android.net.wifi.PasspointManagementObjectDefinition > mos ) { try { return mService.modifyPasspointManagementObject ( fqdn , mos ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }

Target:
public boolean addOrUpdatePasspointConfiguration ( android.net.wifi.hotspot2.PasspointConfiguration config ) { try { return mService.addOrUpdatePasspointConfiguration ( config ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
public static java.lang.String getOsAbsoluteTraceview ( ) { return ( ( com.android.ide.eclipse.adt.AdtPlugin.getOsSdkFolder ( ) ) + ( com.android.sdklib.SdkConstants.OS_SDK_TOOLS_FOLDER ) ) + ( AndroidConstants.FN_TRACEVIEW ) ; }

Target:
public static java.lang.String getOsAbsoluteTraceview ( ) { return ( ( com.android.ide.eclipse.adt.AdtPlugin.getOsSdkFolder ( ) ) + ( com.android.sdklib.SdkConstants.OS_SDK_TOOLS_FOLDER ) ) + ( AdtConstants.FN_TRACEVIEW ) ; }
Source:
public boolean getPolicyMetered ( android.net.NetworkTemplate template ) { final android.net.NetworkPolicy policy = getPolicy ( template ) ; if ( policy != null ) { return policy.metered ; } else { return false ; } }

Target:
public long getPolicyLimitBytes ( android.net.NetworkTemplate template ) { final android.net.NetworkPolicy policy = getPolicy ( template ) ; return policy != null ? policy.limitBytes : android.net.NetworkPolicy.LIMIT_DISABLED ; }
Source:
public com.android.internal.telephony.Connection dial ( java.lang.String dialString , com.android.internal.telephony.UUSInfo uusInfo , int videoState , android.os.Bundle intentExtras ) throws com.android.internal.telephony.CallStateException { return dialInternal ( dialString , videoState , intentExtras , null ) ; }

Target:
public com.android.internal.telephony.imsphone.ImsPhone.ImsDialArgs.Builder setRttTextStream ( com.android.internal.telephony.Connection.RttTextStream s ) { mRttTextStream = s ; return this ; }
Source:
public void addBuildConfigField ( @ com.android.annotations.NonNull com.android.builder.model.ClassField field ) { mBuildConfigFields.add ( field ) ; }

Target:
public void addBuildConfigField ( @ com.android.annotations.NonNull com.android.builder.model.ClassField field ) { mBuildConfigFields.put ( field.getName ( ) , field ) ; }
Source:
public com.android.jack.test.toolchain.JackBasedToolchain addResource ( @ javax.annotation.Nonnull java.io.File resource ) { resImport.add ( resource ) ; return this ; }

Target:
public com.android.jack.test.toolchain.JackBasedToolchain addResourceDir ( @ javax.annotation.Nonnull java.io.File resourceDir ) { resImport.add ( resourceDir ) ; return this ; }
Source:
public java.util.List < com.android.tools.lint.client.api.JavaParser.ResolvedAnnotation > getAnnotations ( @ com.android.annotations.NonNull com.android.tools.lint.client.api.JavaParser.ResolvedClass cls ) { com.android.tools.lint.ExternalAnnotationRepository.ClassInfo c = findClass ( cls ) ; if ( c == null ) { return null ; } return c.annotations ; }

Target:
public java.util.Collection < com.intellij.psi.PsiAnnotation > getAnnotations ( @ com.android.annotations.NonNull org.eclipse.jdt.internal.compiler.lookup.PackageBinding pkg ) { com.android.tools.lint.ExternalAnnotationRepository.ClassInfo c = findPackage ( pkg ) ; if ( c == null ) { return null ; } return c.psiAnnotations ; }
Source:
public static float computeFloat ( ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return 4.0F ; }

Target:
public static float $noinline$computeFloat ( ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return 4.0F ; }
Source:
com.android.sched.util.location.Location getVFileLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVDir parent , @ javax.annotation.Nonnull java.lang.String name ) { return vfs.getVFileLocation ( parent , name ) ; }

Target:
long getLastModified ( @ javax.annotation.Nonnull com.android.sched.vfs.DeflateFS.DeflateVFile file ) { return vfs.getLastModified ( file.getWrappedFile ( ) ) ; }
Source:
public void testExceptionTrace ( ) throws java.io.IOException { java.lang.String expected = " -> android/os/Debug.startMethodTracing: (Ljava/lang/String;)V -> android/os/Debug.startMethodTracing: (Ljava/lang/String;II)V -> dalvik/system/VMDebug.startMethodTracing: (Ljava/lang/String;II)V\n" + ( ( " -> com/test/android/traceview/Exceptions.foo: ()V -> com/test/android/traceview/Exceptions.bar: ()V -> com/test/android/traceview/Exceptions.baz: ()V -> java/lang/RuntimeException.<init>: ()V -> java/lang/Exception.<init>: ()V -> java/lang/Throwable.<init>: ()V -> java/util/Collections.emptyList: ()Ljava/util/List;\n" + " -> java/lang/Throwable.fillInStackTrace: ()Ljava/lang/Throwable; -> java/lang/Throwable.nativeFillInStackTrace: ()Ljava/lang/Object;\n" ) + " -> android/os/Debug.stopMethodTracing: ()V -> dalvik/system/VMDebug.stopMethodTracing: ()V" ) ; testTrace ( "/exception.trace" , "AsyncTask #1" , expected ) ; }

Target:
public void testExceptionTrace ( ) throws java.io.IOException { java.lang.String expected = " -> AsyncTask #1.: -> android/os/Debug.startMethodTracing: (Ljava/lang/String;)V -> android/os/Debug.startMethodTracing: (Ljava/lang/String;II)V -> dalvik/system/VMDebug.startMethodTracing: (Ljava/lang/String;II)V\n" + ( ( " -> com/test/android/traceview/Exceptions.foo: ()V -> com/test/android/traceview/Exceptions.bar: ()V -> com/test/android/traceview/Exceptions.baz: ()V -> java/lang/RuntimeException.<init>: ()V -> java/lang/Exception.<init>: ()V -> java/lang/Throwable.<init>: ()V -> java/util/Collections.emptyList: ()Ljava/util/List;\n" + " -> java/lang/Throwable.fillInStackTrace: ()Ljava/lang/Throwable; -> java/lang/Throwable.nativeFillInStackTrace: ()Ljava/lang/Object;\n" ) + " -> android/os/Debug.stopMethodTracing: ()V -> dalvik/system/VMDebug.stopMethodTracing: ()V" ) ; testTrace ( "/exception.trace" , "AsyncTask #1" , expected ) ; }
Source:
com.google.common.collect.ImmutableMap < java.lang.String , com.android.manifmerger.ActionRecorder.DecisionTreeRecord > getAllRecords ( ) { return new com.google.common.collect.ImmutableMap.Builder < java.lang.String , com.android.manifmerger.ActionRecorder.DecisionTreeRecord > ( ) . putAll ( mRecords ) . build ( ) ; }

Target:
com.android.manifmerger.ActionRecorder build ( ) { return new com.android.manifmerger.ActionRecorder ( new com.google.common.collect.ImmutableMap.Builder < java.lang.String , com.android.manifmerger.ActionRecorder.DecisionTreeRecord > ( ) . putAll ( mRecords ) . build ( ) ) ; }
Source:
private void addChild ( com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo child , int index ) { if ( index < 0 ) { index = mChildren.size ( ) ; } mChildren.add ( index , child ) ; }

Target:
private void addChildAt ( int index , com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo child ) { mChildren.add ( index , child ) ; }
Source:
private static boolean isLingerSocket ( java.io.FileDescriptor fd ) throws libcore.io.ErrnoException { libcore.io.StructLinger linger = Libcore.os.getsockoptLinger ( fd , libcore.io.SOL_SOCKET , libcore.io.SO_LINGER ) ; return ( linger.isOn ( ) ) && ( ( linger.l_linger ) > 0 ) ; }

Target:
private static boolean isLingerSocket ( java.io.FileDescriptor fd ) throws android.system.ErrnoException { android.system.StructLinger linger = Libcore.os.getsockoptLinger ( fd , libcore.io.SOL_SOCKET , libcore.io.SO_LINGER ) ; return ( linger.isOn ( ) ) && ( ( linger.l_linger ) > 0 ) ; }
Source:
native boolean testSetElementAt ( ) ;

Target:
native boolean test1DCopy ( java.lang.String path ) ;
Source:
public void onRemovingChildren ( @ com.android.annotations.NonNull java.util.List < com.android.ide.common.api.INode > deleted , @ com.android.annotations.NonNull com.android.ide.common.api.INode parent ) { }

Target:
public void onRemovingChildren ( @ com.android.annotations.NonNull java.util.List < com.android.ide.common.api.INode > deleted , @ com.android.annotations.NonNull com.android.ide.common.api.INode parent , boolean moved ) { }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setSuitePlanBytes ( com.android.vts.proto.ByteString value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 32 ; suitePlan_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setBuildIdBytes ( com.android.vts.proto.ByteString value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 32 ; buildId_ = value ; onChanged ( ) ; return this ; }
Source:
private void validateConnection ( ) throws java.io.IOException { ensureOpen ( ) ; if ( ( mPrivateInput ) == null ) { startProcessing ( ) ; } }

Target:
private void validateConnection ( ) throws java.io.IOException { ensureOpen ( ) ; if ( ( ( mPrivateInput ) == null ) || ( ( mReplyHeader.responseCode ) == ( - 1 ) ) ) { startProcessing ( ) ; } }
Source:
protected java.util.Collection < ? extends com.android.jack.server.HasVersion > getVersionnedElements ( ) { return java.util.Collections.singleton ( jackServer ) ; }

Target:
protected java.util.Collection < ? extends com.android.jack.server.HasVersion > getVersionedElements ( ) { return java.util.Collections.singleton ( jackServer ) ; }
Source:
public void visitEnumConstantElementValue ( proguard.classfile.util.Clazz clazz , proguard.classfile.util.Annotation annotation , proguard.classfile.util.EnumConstantElementValue enumConstantElementValue ) { initializeElementValue ( clazz , annotation , enumConstantElementValue ) ; enumConstantElementValue.referencedClasses = findReferencedClasses ( clazz.getName ( ) , clazz.getString ( enumConstantElementValue.u2typeNameIndex ) ) ; }

Target:
public void visitAnnotation ( proguard.classfile.util.Clazz clazz , proguard.classfile.util.Annotation annotation ) { annotation.referencedClasses = findReferencedClasses ( clazz.getName ( ) , annotation.getType ( clazz ) ) ; annotation.elementValuesAccept ( clazz , this ) ; }
Source:
public java.io.File getCCompiler ( com.android.build.gradle.internal.core.Abi abi ) { java.lang.String compiler = ( ( toolchain ) == ( com.android.build.gradle.internal.core.Toolchain.CLANG ) ) ? "clang" : ( abi.getGccPrefix ( ) ) + "-gcc" ; return new java.io.File ( getToolchainPath ( abi ) , ( "bin/" + compiler ) ) ; }

Target:
public java.lang.String getGccToolchainVersion ( com.android.build.gradle.internal.core.Abi abi ) { return ( ( toolchain ) == ( com.android.build.gradle.internal.core.Toolchain.GCC ) ) && ( ! ( toolchainVersion.isEmpty ( ) ) ) ? toolchainVersion : getDefaultToolchainVersion ( Toolchain.GCC , abi ) . toString ( ) ; }
Source:
public static void computeLdexp ( android.renderscript.cts.TestLdexp.ArgumentsFloatIntFloat args ) { args.ulf = 4 ; args.ulfRelaxed = 12 ; args.out = ( ( float ) ( ( args.inX ) * ( java.lang.StrictMath.pow ( 2.0 , args.inY ) ) ) ) ; }

Target:
public static void computePowr ( android.renderscript.cts.TestPowr.ArgumentsFloatFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.pow ( args.inX , args.inY ) , 16 , 128 ) ; }