auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void onLoadFinished ( android.content.Loader < android.database.Cursor > loader , android.database.Cursor data ) { updateCallDetailsEntries ( com.android.dialer.calldetails.CallDetailsCursorLoader.toCallDetailsEntries ( data ) ) ; }

Target:
public void onLoadFinished ( android.content.Loader < android.database.Cursor > loader , android.database.Cursor data ) { updateCallDetailsEntries ( com.android.dialer.calldetails.CallDetailsCursorLoader.toCallDetailsEntries ( data ) ) ; activity.loadRttTranscriptAvailability ( ) ; }
Source:
private java.lang.StringBuilder buildCommonResult ( ) { java.lang.StringBuilder output = new java.lang.StringBuilder ( ) ; addCommonStatus ( output ) ; addStatusCode ( output , "1" ) ; addCommonStatus ( output ) ; return output ; }

Target:
public void testTestSuccessMetrics ( ) { java.lang.StringBuilder output = buildCommonResult ( ) ; addStatusKey ( output , "randomKey" , "randomValue" ) ; assertNotNull ( mTestResult.mTestMetrics ) ; assertEquals ( "randomValue" , mTestResult.mTestMetrics.get ( "randomKey" ) ) ; }
Source:
public void onDestroy ( ) { super . onDestroy ( ) ; com.android.internal.telephony.gsm.stk.StkLog.d ( this , "onDestroy" ) ; }

Target:
public void onDestroy ( ) { super . onDestroy ( ) ; com.android.internal.telephony.cat.CatLog.d ( this , "onDestroy" ) ; }
Source:
public java.lang.String toString ( ) { return rowMap ( ) . toString ( ) ; }

Target:
public com.google.common.collect.ImmutableSet < R > rowKeySet ( ) { return rowMap ( ) . keySet ( ) ; }
Source:
public static char intAnd0x1ffffToChar ( int value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( char ) ( value & 131071 ) ) ; }

Target:
public static char $noinline$intAnd0x1ffffToChar ( int value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( char ) ( value & 131071 ) ) ; }
Source:
com.google.common.base.Optional < java.lang.Boolean > supportsUpgrade ( @ android.support.annotation.NonNull android.content.Context context , @ android.support.annotation.Nullable java.lang.String number ) ;

Target:
com.google.common.base.Optional < java.lang.Boolean > supportsUpgrade ( @ android.support.annotation.NonNull android.content.Context context , @ android.support.annotation.Nullable java.lang.String number , @ android.support.annotation.Nullable android.telecom.PhoneAccountHandle phoneAccountHandle ) ;
Source:
public boolean matchesObject ( java.lang.Object argument ) { if ( ! ( argument instanceof android.net.Uri ) ) { return false ; } android.net.Uri actualUri = ( ( android.net.Uri ) ( argument ) ) ; if ( actualUri == ( mUri ) ) return true ; return false ; }

Target:
public boolean matches ( android.net.Uri actualUri ) { return actualUri == ( mUri ) ; }
Source:
private void sendEnableMsg ( boolean quietMode , java.lang.String packageName ) { mHandler.sendMessage ( mHandler.obtainMessage ( com.android.server.BluetoothManagerService.MESSAGE_ENABLE , ( quietMode ? 1 : 0 ) , 0 ) ) ; addActiveLog ( packageName , true ) ; }

Target:
private void sendEnableMsg ( boolean quietMode , java.lang.String packageName ) { mHandler.sendMessage ( mHandler.obtainMessage ( com.android.server.BluetoothManagerService.MESSAGE_ENABLE , ( quietMode ? 1 : 0 ) , 0 ) ) ; addActiveLog ( packageName , true ) ; mLastEnabledTime = android.os.SystemClock.elapsedRealtime ( ) ; }
Source:
public void onCallAudioStateChanged ( java.lang.String activeCallId , android.telecom.CallAudioState audioState ) throws android.os.RemoteException { }

Target:
public void onCallAudioStateChanged ( java.lang.String activeCallId , android.telecom.CallAudioState audioState , android.telecom.Logging.Session.Info info ) throws android.os.RemoteException { }
Source:
private void readCpuDataset ( java.io.BufferedReader br ) throws java.io.IOException { updateDataSet ( com.android.ddmuilib.SysinfoPanel.BugReportParser.readCpuDataset ( br ) ) ; }

Target:
private void readCpuDataset ( java.io.BufferedReader br ) throws java.io.IOException { updateDataSet ( com.android.ddmuilib.SysinfoPanel.BugReportParser.readCpuDataset ( br ) , "" ) ; }
Source:
public boolean acceptInput ( @ org.jetbrains.annotations.NotNull com.intellij.openapi.vfs.VirtualFile file ) { return ( com.intellij.codeInspection.bytecodeAnalysis.BytecodeAnalysisIndex.ourEnabled ) && ( super . acceptInput ( file ) ) ; }

Target:
public boolean acceptInput ( @ org.jetbrains.annotations.NotNull com.intellij.openapi.vfs.VirtualFile file ) { return ( ( com.intellij.codeInspection.bytecodeAnalysis.BytecodeAnalysisIndex.ourEnabled ) && ( super . acceptInput ( file ) ) ) && ( file.getPath ( ) . contains ( "android.jar!/" ) ) ; }
Source:
public void attach ( @ android.annotation.Nullable android.os.Handler handler , @ android.annotation.NonNull android.net.wifi.nan.WifiNanAttachCallback attachCallback , @ android.annotation.NonNull android.net.wifi.nan.WifiNanIdentityChangedListener identityChangedListener ) { attach ( handler , null , attachCallback , identityChangedListener ) ; }

Target:
public void attach ( @ android.annotation.Nullable android.os.Handler handler , @ android.annotation.NonNull android.net.wifi.aware.WifiAwareAttachCallback attachCallback , @ android.annotation.NonNull android.net.wifi.aware.WifiAwareIdentityChangedListener identityChangedListener ) { attach ( handler , null , attachCallback , identityChangedListener ) ; }
Source:
public abstract com.android.tools.lint.detector.api.Location getLocation ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.JavaContext context , @ com.android.annotations.NonNull lombok.ast.Node node ) ;

Target:
public abstract com.intellij.psi.PsiJavaFile parseJavaToPsi ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.JavaContext context ) ;
Source:
public void testVFE7 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.aget_wide.d.T_aget_wide_11" ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testE3 ( ) { loadAndRun ( "dot.junit.opcodes.aget_wide.d.T_aget_wide_1" , java.lang.ArrayIndexOutOfBoundsException.class , new long [ 2 ] , ( - 1 ) ) ; }
Source:
public void test_with_TemporalField_long_invalidField ( ) { TEST_2007_07_15.with ( MockFieldNoValue.INSTANCE , 1 ) ; }

Target:
public void test_with_TemporalField_long_invalidField ( ) { tck.java.time.TCKLocalDate.TEST_2007_07_15.with ( MockFieldNoValue.INSTANCE , 1 ) ; }
Source:
private static void testThread ( int which ) { java.lang.Thread t = new Main.Helper ( which ) ; t.start ( ) ; try { t.join ( ) ; } catch ( java.lang.InterruptedException ex ) { ex.printStackTrace ( ) ; } }

Target:
private static void testThread ( int which ) { java.lang.Thread t = new Main.Helper ( which ) ; t.start ( ) ; try { t.join ( ) ; } catch ( java.lang.InterruptedException ex ) { ex.printStackTrace ( java.lang.System.out ) ; } }
Source:
protected void readResponse ( java.io.InputStream stream ) throws java.io.IOException { android.util.Log.v ( com.android.bluetooth.pbapclient.BluetoothPbapRequest.TAG , "readResponse" ) ; }

Target:
protected void readResponse ( java.io.InputStream stream ) throws java.io.IOException { if ( com.android.bluetooth.pbapclient.BluetoothPbapRequest.DBG ) android.util.Log.v ( com.android.bluetooth.pbapclient.BluetoothPbapRequest.TAG , "readResponse" ) ; }
Source:
public void copy1DRangeTo ( int off , int count , short [ ] d ) { validateIsInt16 ( ) ; copy1DRangeToUnchecked ( off , count , d , Element.DataType.SIGNED_16 , d.length ) ; }

Target:
public void copy1DRangeTo ( int off , int count , short [ ] d ) { validateIsInt16OrFloat16 ( ) ; copy1DRangeToUnchecked ( off , count , d , Element.DataType.SIGNED_16 , d.length ) ; }
Source:
private int decompositionMode_Java_ICU ( int mode ) { switch ( mode ) { case java.text.Collator.CANONICAL_DECOMPOSITION : return libcore.icu.RuleBasedCollatorICU.VALUE_ON ; case java.text.Collator.NO_DECOMPOSITION : return libcore.icu.RuleBasedCollatorICU.VALUE_OFF ; } throw new java.lang.IllegalArgumentException ( ) ; }

Target:
private int decompositionMode_Java_ICU ( int mode ) { switch ( mode ) { case java.text.Collator.CANONICAL_DECOMPOSITION : return libcore.icu.RuleBasedCollatorICU.VALUE_ON ; case java.text.Collator.NO_DECOMPOSITION : return libcore.icu.RuleBasedCollatorICU.VALUE_OFF ; } throw new java.lang.IllegalArgumentException ( ( "Bad mode: " + mode ) ) ; }
Source:
public int getProvisionedValue ( int item ) throws android.os.RemoteException { return ImsConfig.FeatureValueConstants.ON ; }

Target:
public int getConfigInt ( int item ) { replaceConfig ( new com.android.phone.testapps.imstestapp.TestImsConfigImpl.ConfigItem ( item , ImsConfig.FeatureValueConstants.ON ) ) ; return ImsConfig.FeatureValueConstants.ON ; }
Source:
static java.util.Collection < java.lang.reflect.Field > getAllAnnotatedFields ( java.lang.Class < ? extends com.google.devtools.common.options.OptionsBase > optionsClass ) { com.google.devtools.common.options.OptionsData data = com.google.devtools.common.options.OptionsParser.getOptionsDataInternal ( com.google.common.collect.ImmutableList.< java.lang.Class < ? extends com.google.devtools.common.options.OptionsBase > > of ( optionsClass ) ) ; return data.getFieldsForClass ( optionsClass ) ; }

Target:
static com.google.devtools.common.options.OptionsData getOptionsDataInternal ( java.lang.Class < ? extends com.google.devtools.common.options.OptionsBase > optionsClass ) throws com.google.devtools.common.options.OptionsParser.ConstructionException { return com.google.devtools.common.options.OptionsParser.getOptionsDataInternal ( com.google.common.collect.ImmutableList.< java.lang.Class < ? extends com.google.devtools.common.options.OptionsBase > > of ( optionsClass ) ) ; }
Source:
public com.android.ims.ImsCallProfile createCallProfile ( int serviceType , int callType ) throws com.android.ims.ImsException { checkAndThrowExceptionIfServiceUnavailable ( ) ; try { return mMmTelFeatureConnection.createCallProfile ( serviceType , callType ) ; } catch ( android.os.RemoteException e ) { throw new com.android.ims.ImsException ( "createCallProfile()" , e , ImsReasonInfo.CODE_LOCAL_IMS_SERVICE_DOWN ) ; } }

Target:
public android.telephony.ims.ImsCallProfile createCallProfile ( int serviceType , int callType ) throws com.android.ims.ImsException { checkAndThrowExceptionIfServiceUnavailable ( ) ; try { return mMmTelFeatureConnection.createCallProfile ( serviceType , callType ) ; } catch ( android.os.RemoteException e ) { throw new com.android.ims.ImsException ( "createCallProfile()" , e , android.telephony.ims.ImsReasonInfo.CODE_LOCAL_IMS_SERVICE_DOWN ) ; } }
Source:
protected java.util.SortedMap < K , V > standardSubMap ( K fromKey , K toKey ) { return tailMap ( fromKey ) . headMap ( toKey ) ; }

Target:
protected java.util.SortedMap < K , V > standardSubMap ( K fromKey , K toKey ) { com.google.common.base.Preconditions.checkArgument ( ( ( unsafeCompare ( fromKey , toKey ) ) <= 0 ) , "fromKey must be <= toKey" ) ; return tailMap ( fromKey ) . headMap ( toKey ) ; }
Source:
public com.google.common.collect.SortedMultiset < E > headMultiset ( E toElement , com.google.common.collect.BoundType boundType ) { return forwardMultiset ( ) . tailMultiset ( toElement , boundType ) . descendingMultiset ( ) ; }

Target:
public E floor ( E e ) { return com.google.common.collect.SortedMultisets.getElementOrNull ( multiset ( ) . headMultiset ( e , com.google.common.collect.BoundType.CLOSED ) . lastEntry ( ) ) ; }
Source:
public static void test_twoJar_diff_callStaticMethod ( ) throws java.lang.Exception { dalvik.system.DexClassLoaderTest.test_diff_callStaticMethod ( dalvik.system.DexClassLoaderTest.Configuration.TWO_JAR ) ; }

Target:
public void test_twoDex_init ( ) throws java.lang.Exception { java.lang.ClassLoader cl = createLoader ( dex1 , dex2 ) ; java.io.File [ ] files = optimizedDir.listFiles ( dalvik.system.DexClassLoaderTest.DEX_FILE_NAME_FILTER ) ; assertNotNull ( files ) ; assertEquals ( 2 , files.length ) ; }
Source:
public java.lang.reflect.Method getEnclosingMethod ( ) { if ( classNameImpliesTopLevel ( ) ) { return null ; } java.lang.reflect.AccessibleObject result = libcore.reflect.AnnotationAccess.getEnclosingMethodOrConstructor ( this ) ; return result instanceof java.lang.reflect.Method ? ( ( java.lang.reflect.Method ) ( result ) ) : null ; }

Target:
public java.lang.reflect.Constructor < ? > getEnclosingConstructor ( ) { if ( classNameImpliesTopLevel ( ) ) { return null ; } return getEnclosingConstructorNative ( ) ; }
Source:
public void callSessionTerminated ( com.android.ims.internal.IImsCallSession i , android.telephony.ims.ImsReasonInfo imsReasonInfo ) throws android.os.RemoteException { mNewListener.callSessionTerminated ( imsReasonInfo ) ; }

Target:
public void callSessionMergeComplete ( com.android.ims.internal.IImsCallSession iImsCallSession ) throws android.os.RemoteException { mNewListener.callSessionMergeComplete ( iImsCallSession ) ; }
Source:
private boolean httpRequest ( ) throws java.io.IOException { java.net.URL targetURL = new java.net.URL ( "http://www.google.com/generate_204" ) ; java.net.HttpURLConnection urlConnection = null ; try { urlConnection = ( ( java.net.HttpURLConnection ) ( targetURL.openConnection ( ) ) ) ; urlConnection.connect ( ) ; int respCode = urlConnection.getResponseCode ( ) ; return respCode == 204 ; } catch ( java.io.IOException e ) { android.util.Log.e ( com.android.tests.connectivity.uid.ConnectivityTestActivity.TAG , "Checkconnectivity exception: " , e ) ; } return false ; }

Target:
private boolean httpRequest ( ) { java.net.HttpURLConnection urlConnection = null ; try { java.net.URL targetURL = new java.net.URL ( "http://www.google.com/generate_204" ) ; urlConnection = ( ( java.net.HttpURLConnection ) ( targetURL.openConnection ( ) ) ) ; urlConnection.connect ( ) ; int respCode = urlConnection.getResponseCode ( ) ; return respCode == 204 ; } catch ( java.lang.Exception e ) { android.util.Log.e ( com.android.tests.connectivity.uid.ConnectivityTestActivity.TAG , "Checkconnectivity exception: " , e ) ; } return false ; }
Source:
public synchronized int getIndex ( int device ) { java.lang.Integer index = mIndex.get ( device ) ; if ( index == null ) { index = mIndex.get ( AudioSystem.DEVICE_OUT_DEFAULT ) ; } return index.intValue ( ) ; }

Target:
public int getIndex ( int device ) { synchronized ( android.media.AudioService.VolumeStreamState.class ) { java.lang.Integer index = mIndex.get ( device ) ; if ( index == null ) { index = mIndex.get ( AudioSystem.DEVICE_OUT_DEFAULT ) ; } return index.intValue ( ) ; } }
Source:
void die ( ) { looper.quit ( ) ; handlerThread.quit ( ) ; }

Target:
void die ( ) { connectivityServiceMock.die ( ) ; looper.quit ( ) ; handlerThread.quit ( ) ; }
Source:
private boolean addMediaPlayerPackage ( java.lang.String packageName ) { com.android.bluetooth.avrcp.MediaPlayerInfo info = new com.android.bluetooth.avrcp.MediaPlayerInfo ( null , AvrcpConstants.PLAYER_TYPE_AUDIO , AvrcpConstants.PLAYER_SUBTYPE_NONE , getPlayStateBytes ( null ) , getFeatureBitMask ( packageName ) , packageName , getAppLabel ( packageName ) ) ; return addMediaPlayerInfo ( info ) ; }

Target:
private boolean addMediaPlayerPackage ( java.lang.String packageName ) { com.android.bluetooth.avrcp.MediaPlayerInfo info = new com.android.bluetooth.avrcp.MediaPlayerInfo ( null , AvrcpConstants.PLAYER_TYPE_AUDIO , AvrcpConstants.PLAYER_SUBTYPE_NONE , com.android.bluetooth.avrcp.Avrcp.PLAYSTATUS_STOPPED , getFeatureBitMask ( packageName ) , packageName , getAppLabel ( packageName ) ) ; return addMediaPlayerInfo ( info ) ; }
Source:
public final void testTapLink_changeOrientationThenTapBack ( ) throws java.lang.Exception { sUiBot.setScreenOrientation ( UiBot.PORTRAIT ) ; try { saveUiRestoredAfterTappingLinkTest ( android.autofillservice.cts.CustomDescriptionWithLinkTestCase.PostSaveLinkTappedAction.ROTATE_THEN_TAP_BACK_BUTTON ) ; } finally { sUiBot.setScreenOrientation ( UiBot.PORTRAIT ) ; } }

Target:
public final void testTapLink_changeOrientationThenTapBack ( ) throws java.lang.Exception { sUiBot.setScreenOrientation ( UiBot.PORTRAIT ) ; try { android.autofillservice.cts.Helper.runShellCommand ( "wm density 420" ) ; saveUiRestoredAfterTappingLinkTest ( android.autofillservice.cts.CustomDescriptionWithLinkTestCase.PostSaveLinkTappedAction.ROTATE_THEN_TAP_BACK_BUTTON ) ; } finally { android.autofillservice.cts.Helper.runShellCommand ( "wm density reset" ) ; sUiBot.setScreenOrientation ( UiBot.PORTRAIT ) ; } }
Source:
public static java.io.File getReferenceProfile ( java.lang.String packageName ) { return android.os.Environment.buildPath ( android.os.Environment.getDataDirectory ( ) , "misc" , "profiles" , "ref" , packageName ) ; }

Target:
public static java.io.File getProfileSnapshotPath ( java.lang.String packageName , java.lang.String codePath ) { return android.os.Environment.buildPath ( android.os.Environment.buildPath ( android.os.Environment.getDataDirectory ( ) , "misc" , "profiles" , "ref" , packageName , "primary.prof.snapshot" ) ) ; }
Source:
private boolean isPotentialEmergencyNumber ( java.lang.String number ) { com.android.server.telecom.Log.v ( this , "Checking restrictions for number : %s" , com.android.server.telecom.Log.pii ( number ) ) ; return ( number != null ) && ( mPhoneNumberUtilsAdapter.isPotentialLocalEmergencyNumber ( mContext , number ) ) ; }

Target:
private boolean isPotentialEmergencyNumber ( java.lang.String number ) { android.telecom.Log.v ( this , "Checking restrictions for number : %s" , android.telecom.Log.pii ( number ) ) ; return ( number != null ) && ( mPhoneNumberUtilsAdapter.isPotentialLocalEmergencyNumber ( mContext , number ) ) ; }
Source:
public java.util.List < java.lang.String > getCarrierPackageNamesForIntent ( android.content.pm.PackageManager packageManager , android.content.Intent intent ) { com.android.internal.telephony.uicc.UiccCarrierPrivilegeRules carrierPrivilegeRules = getCarrierPrivilegeRules ( ) ; return carrierPrivilegeRules == null ? null : carrierPrivilegeRules.getCarrierPackageNamesForIntent ( packageManager , intent ) ; }

Target:
public java.util.List < java.lang.String > getCarrierPackageNamesForIntent ( android.content.pm.PackageManager packageManager , android.content.Intent intent ) { if ( ( mUiccProfile ) != null ) { return mUiccProfile.getCarrierPackageNamesForIntent ( packageManager , intent ) ; } else { return null ; } }
Source:
private native void gattClientWriteCharacteristicNative ( int conn_id , int service_type , int service_id_inst_id , long service_id_uuid_lsb , long service_id_uuid_msb , int char_id_inst_id , long char_id_uuid_lsb , long char_id_uuid_msb , int write_type , int auth_req , byte [ ] value ) ;

Target:
private native void gattClientWriteCharacteristicNative ( int conn_id , int handle , int write_type , int auth_req , byte [ ] value ) ;
Source:
public synchronized void close ( ) throws java.io.IOException { if ( ! ( closed ) ) { zipFile.close ( ) ; closed = true ; } }

Target:
public synchronized void close ( ) throws com.android.sched.util.file.CannotCloseInputException { if ( ! ( closed ) ) { try { zipFile.close ( ) ; } catch ( java.io.IOException e ) { throw new com.android.sched.util.file.CannotCloseInputException ( this , e ) ; } closed = true ; } }
Source:
public void testRefactor2 ( ) throws java.lang.Exception { renameType ( com.android.ide.eclipse.adt.internal.refactorings.core.TEST_PROJECT2 , "com.example.refactoringtest.CustomView1" , true , "NewCustomViewName" , ( "CHANGES:\n" + ( ( ( ( ( ( ( ( ( ( ( ( "-------\n" + "* Rename compilation unit \'CustomView1.java\' to \'NewCustomViewName.java\'\n" ) + "\n" ) + "* customviews.xml - /testRefactor2/res/layout/customviews.xml\n" ) + " @@ -9 +9\n" ) + " - <com.example.refactoringtest.CustomView1\n" ) + " + <com.example.refactoringtest.NewCustomViewName\n" ) + "\n" ) + "\n" ) + "* customviews.xml - /testRefactor2/res/layout-land/customviews.xml\n" ) + " @@ -9 +9\n" ) + " - <com.example.refactoringtest.CustomView1\n" ) + " + <com.example.refactoringtest.NewCustomViewName" ) ) ) ; }

Target:
public void testRefactor2 ( ) throws java.lang.Exception { renameType ( com.android.ide.eclipse.adt.internal.refactorings.core.TEST_PROJECT2 , "com.example.refactoringtest.CustomView1" , true , "NewCustomViewName" , ( "CHANGES:\n" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( "-------\n" + "[x] Rename compilation unit \'CustomView1.java\' to \'NewCustomViewName.java\'\n" ) + "\n" ) + "[x] attrs_custom_view.xml - /testRefactor2/res/values/attrs_custom_view.xml\n" ) + " @@ -4 +4\n" ) + " - <declare-styleable name=\"CustomView1\">\n" ) + " + <declare-styleable name=\"NewCustomViewName\">\n" ) + "\n" ) + "\n" ) + "[x] customviews.xml - /testRefactor2/res/layout/customviews.xml\n" ) + " @@ -9 +9\n" ) + " - <com.example.refactoringtest.CustomView1\n" ) + " + <com.example.refactoringtest.NewCustomViewName\n" ) + "\n" ) + "\n" ) + "[x] customviews.xml - /testRefactor2/res/layout-land/customviews.xml\n" ) + " @@ -9 +9\n" ) + " - <com.example.refactoringtest.CustomView1\n" ) + " + <com.example.refactoringtest.NewCustomViewName" ) ) ) ; }
Source:
com.android.sched.util.location.Location getVFileLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVFile file ) { return finalVFS.getVFileLocation ( file ) ; }

Target:
com.android.sched.util.location.Location getVFileLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVFile file ) { return workVFS.getVFileLocation ( file ) ; }
Source:
public void turnOffIms ( ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; getServiceInterface ( mBinder ) . turnOffIms ( mSlotId , mSupportedFeature ) ; } }

Target:
public com.android.ims.internal.IImsMultiEndpoint getMultiEndpointInterface ( ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . getMultiEndpointInterface ( ) ; } }
Source:
synchronized void remove ( android.net.rtp.AudioStream stream ) { java.lang.Integer id = mStreams.remove ( stream ) ; if ( id != null ) { nativeRemove ( id ) ; } }

Target:
synchronized void remove ( android.net.rtp.AudioStream stream ) { java.lang.Long id = mStreams.remove ( stream ) ; if ( id != null ) { nativeRemove ( id ) ; } }
Source:
public void upgradeToVideo ( @ android.support.annotation.NonNull android.content.Context context ) { listener.onImpressionLoggingNeeded ( DialerImpression.Type.LIGHTBRINGER_UPGRADE_REQUESTED ) ; lightbringer.requestUpgrade ( context , call ) ; }

Target:
public void upgradeToVideo ( @ android.support.annotation.NonNull android.content.Context context ) { listener.onImpressionLoggingNeeded ( DialerImpression.Type.LIGHTBRINGER_UPGRADE_REQUESTED ) ; duo.requestUpgrade ( context , call ) ; }
Source:
private boolean getAutoTimeZone ( ) { try { return ( Settings.Global.getInt ( mCr , Settings.Global.AUTO_TIME_ZONE ) ) > 0 ; } catch ( android.provider.Settings snfe ) { return true ; } }

Target:
public boolean getIgnoreNitz ( ) { java.lang.String ignoreNitz = android.os.SystemProperties.get ( "gsm.ignore-nitz" ) ; return ( ignoreNitz != null ) && ( ignoreNitz.equals ( "yes" ) ) ; }
Source:
public void checkValidity ( ) { if ( ! ( ( parent ) instanceof com.android.jack.ir.ast.JMethod ) ) { throw new com.android.jack.ir.InternalCompilerException ( this , "Invalid parent" ) ; } }

Target:
public void checkValidity ( ) { if ( ! ( ( parent ) instanceof com.android.jack.ir.ast.JMethod ) ) { throw new com.android.jack.ir.JNodeInternalError ( this , "Invalid parent" ) ; } }
Source:
public final void setIsVoipAudioMode ( java.lang.String connectionId , boolean isVoip ) { mHandler.obtainMessage ( android.telecom.ConnectionServiceAdapterServant.MSG_SET_IS_VOIP_AUDIO_MODE , ( isVoip ? 1 : 0 ) , 0 , connectionId ) . sendToTarget ( ) ; }

Target:
public final void setIsVoipAudioMode ( java.lang.String connectionId , boolean isVoip , android.telecom.Logging.Session.Info sessionInfo ) { mHandler.obtainMessage ( android.telecom.ConnectionServiceAdapterServant.MSG_SET_IS_VOIP_AUDIO_MODE , ( isVoip ? 1 : 0 ) , 0 , connectionId ) . sendToTarget ( ) ; }
Source:
public void apply ( ) throws com.intellij.openapi.options.ConfigurationException { com.google.gct.intellij.endpoints.synchronization.SampleSyncConfiguration.setUseBuiltInSamples ( builtInSampleRadioButton.isSelected ( ) ) ; }

Target:
public void apply ( ) throws com.intellij.openapi.options.ConfigurationException { com.google.gct.idea.appengine.synchronization.SampleSyncConfiguration.setUseBuiltInSamples ( builtInSampleRadioButton.isSelected ( ) ) ; }
Source:
public com.android.jack.transformations.request.TransformationRequest getRequest ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JNode root ) { com.android.jack.transformations.request.TransformationRequest request = new com.android.jack.transformations.request.TransformationRequest ( root ) ; request.appendAll ( steps ) ; return request ; }

Target:
public void addAnnotate ( @ javax.annotation.Nonnull com.android.jack.preprocessor.AddAnnotationStep toAdd ) { steps.add ( toAdd ) ; }
Source:
private boolean isScoAcceptable ( ) { return ( mVoiceRecognitionStarted ) || ( isInCall ( ) ) ; }

Target:
private boolean isScoAcceptable ( ) { return ( mAudioRouteAllowed ) && ( ( mVoiceRecognitionStarted ) || ( isInCall ( ) ) ) ; }
Source:
private static native boolean isBoundaryImpl ( int address , int offset ) ;

Target:
private static native int firstImpl ( int address , java.lang.String text ) ;
Source:
private static int julianDay ( java.util.TimeZone tz , long time ) { long utcMs = time + ( tz.getOffset ( time ) ) ; return ( ( int ) ( utcMs / ( libcore.icu.DateIntervalFormat.DAY_IN_MS ) ) ) + ( libcore.icu.DateIntervalFormat.EPOCH_JULIAN_DAY ) ; }

Target:
static java.util.TimeZone icuTimeZone ( java.util.TimeZone tz ) { com.ibm.icu.impl.JavaTimeZone javaTimeZone = new com.ibm.icu.impl.JavaTimeZone ( tz , null ) ; javaTimeZone.freeze ( ) ; return javaTimeZone ; }
Source:
public int getHighestPriorityQualifier ( int startIndex ) { for ( int i = startIndex ; i < ( com.android.ide.eclipse.adt.internal.resources.configurations.FolderConfiguration.INDEX_COUNT ) ; i ++ ) { if ( ( mQualifiers [ i ] ) != null ) { return i ; } } return - 1 ; }

Target:
public int getHighestPriorityQualifier ( int startIndex ) { for ( int i = startIndex ; i < ( com.android.ide.common.resources.configuration.FolderConfiguration.INDEX_COUNT ) ; i ++ ) { if ( ( mQualifiers [ i ] ) != null ) { return i ; } } return - 1 ; }
Source:
private static com.google.devtools.build.android.desugar.proto.DesugarDeps.Type wrapType ( java.lang.String name ) { return com.google.devtools.build.android.desugar.proto.DesugarDeps.Type.newBuilder ( ) . setBinaryName ( name ) . build ( ) ; }

Target:
private static DesugarDeps.Type wrapType ( java.lang.String name ) { return DesugarDeps.Type.newBuilder ( ) . setBinaryName ( name ) . build ( ) ; }
Source:
public void testMethodParametersAlignmentAfterMethodNameChange ( ) { getCurrentCodeStyleSettings ( ) . ALIGN_MULTILINE_PARAMETERS = true ; getCurrentCodeStyleSettings ( ) . ALIGN_MULTILINE_PARAMETERS_IN_CALLS = true ; doTest ( null , "test123asd" , null , new com.intellij.refactoring.SimpleParameterGen ( ) , new com.intellij.refactoring.SimpleExceptionsGen ( ) , false ) ; }

Target:
public void testMethodParametersAlignmentAfterMethodNameChange ( ) { getJavaSettings ( ) . ALIGN_MULTILINE_PARAMETERS = true ; getJavaSettings ( ) . ALIGN_MULTILINE_PARAMETERS_IN_CALLS = true ; doTest ( null , "test123asd" , null , new com.intellij.refactoring.SimpleParameterGen ( ) , new com.intellij.refactoring.SimpleExceptionsGen ( ) , false ) ; }
Source:
public void testInstall_unsuccessfulFirstUpdate_olderVersionThanSystem ( ) throws java.lang.Exception { libcore.tzdata.update2.TimeZoneBundle bundle = libcore.tzdata.update2.TimeZoneBundleInstallerTest.createValidTimeZoneBundle ( libcore.tzdata.update2.TimeZoneBundleInstallerTest.OLDER_RULES_VERSION , 1 ) ; assertEquals ( TimeZoneBundleInstaller.INSTALL_FAIL_RULES_TOO_OLD , installer.installWithErrorCode ( bundle.getBytes ( ) ) ) ; assertNoContentInstalled ( ) ; }

Target:
public void testInstall_unsuccessfulFirstUpdate_olderVersionThanSystem ( ) throws java.lang.Exception { libcore.tzdata.update2.TimeZoneDistro distro = libcore.tzdata.update2.TimeZoneBundleInstallerTest.createValidTimeZoneDistro ( libcore.tzdata.update2.TimeZoneBundleInstallerTest.OLDER_RULES_VERSION , 1 ) ; assertEquals ( TimeZoneBundleInstaller.INSTALL_FAIL_RULES_TOO_OLD , installer.installWithErrorCode ( distro.getBytes ( ) ) ) ; assertNoContentInstalled ( ) ; }
Source:
public boolean setWfdDeviceInfo ( java.lang.String hex ) { return doBooleanCommand ( ( "WFD_SUBELEM_SET 0 " + hex ) ) ; }

Target:
public boolean setWfdDeviceInfo ( java.lang.String hex ) { if ( ( com.android.server.wifi.WifiNative.HIDL_P2P_ENABLE ) && ( ( mSupplicantP2pIfaceHal ) != null ) ) { return mSupplicantP2pIfaceHal.setWfdDeviceInfo ( hex ) ; } else { return doBooleanCommand ( ( "WFD_SUBELEM_SET 0 " + hex ) ) ; } }
Source:
native void rsnScriptSetVarI ( int con , int id , int slot , int val ) ;

Target:
native void rsnScriptForEach ( long con , long id , int slot , long ain , long aout , byte [ ] params ) ;
Source:
public com.android.layoutlib.api.SceneResult getCopyWithData ( java.lang.Object data ) { com.android.layoutlib.api.SceneResult r = new com.android.layoutlib.api.SceneResult ( this ) ; r.mData = data ; return r ; }

Target:
public com.android.ide.common.rendering.api.Result getCopyWithData ( java.lang.Object data ) { com.android.ide.common.rendering.api.Result r = new com.android.ide.common.rendering.api.Result ( this ) ; r.mData = data ; return r ; }
Source:
void cleanup ( ) { com.android.bluetooth.btservice.RemoteDevices.mAdapterService.unregisterReceiver ( mReceiver ) ; reset ( ) ; }

Target:
void cleanup ( ) { com.android.bluetooth.btservice.RemoteDevices.sAdapterService.unregisterReceiver ( mReceiver ) ; reset ( ) ; }
Source:
public static int getAdvertisingEventType ( com.android.bluetooth.gatt.AdvertiseClient client ) { android.bluetooth.le.AdvertiseSettings settings = client.settings ; if ( settings.isConnectable ( ) ) { return com.android.bluetooth.gatt.AdvertiseHelper.ADVERTISING_EVENT_TYPE_CONNECTABLE ; } return ( client.scanResponse ) == null ? com.android.bluetooth.gatt.AdvertiseHelper.ADVERTISING_EVENT_TYPE_NON_CONNECTABLE : com.android.bluetooth.gatt.AdvertiseHelper.ADVERTISING_EVENT_TYPE_SCANNABLE ; }

Target:
public static int getAdvertisingEventProperties ( com.android.bluetooth.gatt.AdvertiseClient client ) { android.bluetooth.le.AdvertiseSettings settings = client.settings ; if ( settings.isConnectable ( ) ) { return com.android.bluetooth.gatt.AdvertiseHelper.ADVERTISING_EVENT_TYPE_LEGACY_CONNECTABLE ; } return ( client.scanResponse ) == null ? com.android.bluetooth.gatt.AdvertiseHelper.ADVERTISING_EVENT_TYPE_LEGACY_NON_CONNECTABLE : com.android.bluetooth.gatt.AdvertiseHelper.ADVERTISING_EVENT_TYPE_LEGACY_SCANNABLE ; }
Source:
public void onCallStateChanged ( com.android.server.telecom.Call call , int oldState , int newState ) { updateCall ( call ) ; }

Target:
public void onConnectionServiceChanged ( com.android.server.telecom.Call call , com.android.server.telecom.ConnectionServiceWrapper oldService , com.android.server.telecom.ConnectionServiceWrapper newService ) { if ( call.isSelfManaged ( ) ) { android.telecom.Log.i ( this , "onConnectionServiceChanged: skipped self-managed %s" , call ) ; return ; } updateCall ( call ) ; }
Source:
private java.lang.StringBuilder buildCommonResult ( ) { java.lang.StringBuilder output = new java.lang.StringBuilder ( ) ; addCommonStatus ( output ) ; addStatusCode ( output , "1" ) ; addCommonStatus ( output ) ; return output ; }

Target:
private java.lang.StringBuilder buildCommonResult ( ) { java.lang.StringBuilder output = new java.lang.StringBuilder ( ) ; addCommonStatus ( output ) ; addStartCode ( output ) ; addCommonStatus ( output ) ; return output ; }
Source:
public com.android.tools.lint.client.api.JavaParser getJavaParser ( @ com.android.annotations.Nullable com.android.tools.lint.detector.api.Project project ) { if ( ( mJavaParser ) == null ) { mJavaParser = new com.android.ide.eclipse.adt.internal.lint.EclipseLintClient.EclipseJavaParser ( ) ; } return mJavaParser ; }

Target:
public com.android.tools.lint.client.api.IJavaParser getJavaParser ( ) { if ( ( mJavaParser ) == null ) { mJavaParser = new com.android.ide.eclipse.adt.internal.lint.EclipseLintClient.EclipseJavaParser ( ) ; } return mJavaParser ; }
Source:
public void sendCallEvent ( java.lang.String event , android.os.Bundle extras ) { mInCallAdapter.sendCallEvent ( mTelecomCallId , event , extras ) ; }

Target:
public void sendCallEvent ( java.lang.String event , android.os.Bundle extras ) { mInCallAdapter.sendCallEvent ( mTelecomCallId , event , mTargetSdkVersion , extras ) ; }
Source:
static int $opt$FloatToInt ( float a ) { return ( ( int ) ( a ) ) ; }

Target:
static byte $opt$CharToByte ( char a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( byte ) ( a ) ) ; }
Source:
void apply ( org.gradle.api.Project project ) { project.plugins.apply ( com.android.build.gradle.model.BaseComponentModelPlugin ) ; project.tasks.create ( "assembleDefault" ) ; project.plugins.apply ( com.android.build.gradle.model.AndroidComponentModelTestPlugin ) ; }

Target:
public void apply ( org.gradle.api.Project project ) { project.getPluginManager ( ) . apply ( com.android.build.gradle.model.BaseComponentModelPlugin.class ) ; project.getTasks ( ) . create ( "assembleDefault" ) ; project.getPluginManager ( ) . apply ( com.android.build.gradle.model.AndroidComponentModelTestPlugin.class ) ; }
Source:
public static int copyNativeBinariesIfNeededLI ( java.io.File apkFile , java.io.File sharedLibraryDir ) { final java.lang.String cpuAbi = android.os.Build.CPU_ABI ; final java.lang.String cpuAbi2 = android.os.Build.CPU_ABI2 ; return com.android.internal.content.NativeLibraryHelper.nativeCopyNativeBinaries ( apkFile.getPath ( ) , sharedLibraryDir.getPath ( ) , cpuAbi , cpuAbi2 ) ; }

Target:
public static int copyNativeBinariesIfNeededLI ( com.android.internal.content.NativeLibraryHelper.ApkHandle handle , java.io.File sharedLibraryDir , java.lang.String abi ) { return com.android.internal.content.NativeLibraryHelper.nativeCopyNativeBinaries ( handle.apkHandle , sharedLibraryDir.getPath ( ) , abi ) ; }
Source:
public com.google.common.base.CharMatcher precomputed ( ) { return this ; }

Target:
public com.google.common.base.CharMatcher and ( com.google.common.base.CharMatcher other ) { com.google.common.base.Preconditions.checkNotNull ( other ) ; return this ; }
Source:
void setJarJarConfigFile ( @ javax.annotation.Nonnull java.io.File jarjarConfigFile ) throws com.android.jack.api.v01.ConfigurationException ;

Target:
void setJarJarConfigFiles ( @ javax.annotation.Nonnull java.util.List < java.io.File > jarjarConfigFiles ) throws com.android.jack.api.v01.ConfigurationException ;
Source:
public void callSessionMayHandover ( com.android.ims.internal.IImsCallSession i , int srcAccessTech , int targetAccessTech ) throws android.os.RemoteException { mNewListener.callSessionMayHandover ( srcAccessTech , targetAccessTech ) ; }

Target:
public void callSessionUpdateFailed ( com.android.ims.internal.IImsCallSession i , android.telephony.ims.ImsReasonInfo imsReasonInfo ) throws android.os.RemoteException { mNewListener.callSessionUpdateFailed ( imsReasonInfo ) ; }
Source:
public void run ( ) { java.lang.Object ref = wimp.get ( ) ; if ( ref != null ) { s [ 0 ] = ref.toString ( ) ; } }

Target:
public void run ( ) { Main.FinalizerTest ref = wimp.get ( ) ; if ( ref != null ) { s [ 0 ] = ref.toString ( ) ; } }
Source:
void setUp ( ) { createChannels ( ) ; sendNotifications ( ( ( com.android.cts.verifier.notifications.AttentionManagementVerifierActivity.SEND_B ) | ( com.android.cts.verifier.notifications.AttentionManagementVerifierActivity.SEND_C ) ) , com.android.cts.verifier.notifications.AttentionManagementVerifierActivity.MODE_URI , false , true ) ; status = READY ; delay ( 15000 ) ; }

Target:
void setUp ( ) { delayTime = 15000 ; createChannels ( ) ; sendNotifications ( com.android.cts.verifier.notifications.AttentionManagementVerifierActivity.SEND_B , com.android.cts.verifier.notifications.AttentionManagementVerifierActivity.MODE_URI , false , true ) ; sleep ( 1000 ) ; sendNotifications ( com.android.cts.verifier.notifications.AttentionManagementVerifierActivity.SEND_C , com.android.cts.verifier.notifications.AttentionManagementVerifierActivity.MODE_URI , false , true ) ; status = READY_AFTER_LONG_DELAY ; }
Source:
static boolean triggerArrayOOM ( ) { Main.ArrayMemEater.blowup ( new char [ 128 * 1024 ] [ ] ) ; return Main.ArrayMemEater.sawOome ; }

Target:
static boolean triggerArrayOOM ( char [ ] [ ] holder ) { Main.ArrayMemEater.blowup ( holder ) ; return Main.ArrayMemEater.sawOome ; }
Source:
public void test_ConstructorLjava_io_OutputStream ( ) throws java.io.IOException { new java.util.zip.InflaterOutputStream ( os ) ; try { new java.util.zip.InflaterOutputStream ( null ) ; fail ( "Should throw NullPointerException" ) ; } catch ( java.lang.NullPointerException e ) { } }

Target:
public void test_ConstructorLjava_io_OutputStream ( ) throws java.io.IOException { new java.util.zip.InflaterOutputStream ( os ) . close ( ) ; try { new java.util.zip.InflaterOutputStream ( null ) ; fail ( "Should throw NullPointerException" ) ; } catch ( java.lang.NullPointerException e ) { } }
Source:
protected void finalize ( ) throws java.lang.Throwable { try { if ( ( this . bignum ) != 0 ) { java.math.NativeBN.BN_free ( this . bignum ) ; this . bignum = 0 ; } } finally { super . finalize ( ) ; } }

Target:
private void makeValid ( ) { if ( ( this . bignum ) == 0 ) { this . bignum = java.math.NativeBN.BN_new ( ) ; java.math.BigInt.registry.registerNativeAllocation ( this , this . bignum ) ; } }
Source:
public void onAudioRouteChanged ( android.telecom.Connection c , int audioRoute ) { }

Target:
public void onAudioRouteChanged ( android.telecom.Connection c , int audioRoute , java.lang.String bluetoothAddress ) { }
Source:
public com.android.ims.internal.IImsMultiEndpoint getMultiEndpointInterface ( ) throws android.os.RemoteException { synchronized ( mLock ) { return this . getMultiEndpoint ( ) ; } }

Target:
public com.android.ims.internal.IImsMultiEndpoint getMultiEndpointInterface ( ) throws android.os.RemoteException { synchronized ( mLock ) { android.telephony.ims.stub.ImsMultiEndpointImplBase multiEndPoint = this . getMultiEndpoint ( ) ; return multiEndPoint != null ? multiEndPoint.getIImsMultiEndpoint ( ) : null ; } }
Source:
public boolean dispatchKeyEvent ( android.view.KeyEvent event ) { return mBlockEvents ; }

Target:
public boolean dispatchKeyShortcutEvent ( android.view.KeyEvent event ) { return mBlockEvents ; }
Source:
private org.apache.harmony.dalvik.ddmc.Chunk handleHPGC ( org.apache.harmony.dalvik.ddmc.Chunk request ) { if ( false ) android.util.Log.d ( "ddm-heap" , "Heap GC request" ) ; java.lang.System.gc ( ) ; return null ; }

Target:
private org.apache.harmony.dalvik.ddmc.Chunk handleHPGC ( org.apache.harmony.dalvik.ddmc.Chunk request ) { if ( false ) android.util.Log.d ( "ddm-heap" , "Heap GC request" ) ; java.lang.Runtime.getRuntime ( ) . gc ( ) ; return null ; }
Source:
public void visitNoArgs ( int opcode , int offset , int length , com.android.dx.rop.type.Type type ) { observer.parsed ( bytes , offset , length , header ( offset ) ) ; }

Target:
public void visitInvalid ( int opcode , int offset , int length ) { observer.parsed ( bytes , offset , length , header ( offset ) ) ; }
Source:
public void run ( ) { onWindowFocusChanged ( hasWindowFocus ) ; }

Target:
public java.lang.Boolean call ( ) { return onKeyUp ( keyCode , event ) ; }
Source:
public void test_U8_2_SCALE20_05_inSqure ( ) { testReszie ( inX , inX , Element.DataType.UNSIGNED_8 , 2 , 2.0F , 0.5F ) ; }

Target:
public void test_U8_2_SCALE20_05_inSqure ( ) { testResize ( inX , inX , Element.DataType.UNSIGNED_8 , 2 , 2.0F , 0.5F ) ; }
Source:
private boolean isMultiWindowOnPhone ( ) { return ( com.android.contacts.common.compat.MultiWindowCompat.isInMultiWindowMode ( this ) ) && ( com.android.contacts.util.PhoneCapabilityTester.isPhone ( this ) ) ; }

Target:
private boolean isMultiWindowOnPhone ( ) { return ( com.android.contacts.compat.MultiWindowCompat.isInMultiWindowMode ( this ) ) && ( com.android.contacts.util.PhoneCapabilityTester.isPhone ( this ) ) ; }
Source:
private javax.security.auth.x500.X500Principal localhost ( ) { try { return new javax.security.auth.x500.X500Principal ( ( "CN=" + ( java.net.InetAddress.getLocalHost ( ) . getHostName ( ) ) ) ) ; } catch ( java.net.UnknownHostException e ) { throw new java.lang.RuntimeException ( e ) ; } }

Target:
private javax.security.auth.x500.X500Principal localhost ( ) { return new javax.security.auth.x500.X500Principal ( ( "CN=" + ( libcore.java.security.TestKeyStore.LOCAL_HOST_NAME ) ) ) ; }
Source:
public void addGeneratedSourceFolders ( @ com.android.annotations.NonNull org.gradle.api.Task task , @ com.android.annotations.NonNull java.io.File ... sourceFolders ) { getVariantData ( ) . addGeneratedSourceFolders ( task , sourceFolders ) ; }

Target:
public void addJavaSourceFoldersToModel ( @ com.android.annotations.NonNull java.io.File ... generatedSourceFolders ) { getVariantData ( ) . addJavaSourceFoldersToModel ( generatedSourceFolders ) ; }
Source:
public static java.lang.String getToolsFolder2 ( ) { return com.android.ide.eclipse.ddms.DdmsPlugin.sToolsFolder ; }

Target:
public static java.lang.String getToolsFolder ( ) { return com.android.ide.eclipse.ddms.DdmsPlugin.sToolsFolder ; }
Source:
private static native void nativeDrawBitmapMesh ( int nCanvas , int nBitmap , int meshWidth , int meshHeight , float [ ] verts , int vertOffset , int [ ] colors , int colorOffset , int nPaint ) ;

Target:
private static native void nativeDrawBitmapMesh ( long nativeCanvas , long nativeBitmap , int meshWidth , int meshHeight , float [ ] verts , int vertOffset , int [ ] colors , int colorOffset , long nativePaint ) ;
Source:
public void consumerProguardFiles ( java.lang.Object ... proguardFileArray ) { consumerProguardFiles.addAll ( project.files ( proguardFileArray ) . files ) ; }

Target:
public void testProguardFiles ( java.lang.Object ... proguardFileArray ) { getTestProguardFiles ( ) . addAll ( project.files ( proguardFileArray ) . getFiles ( ) ) ; }
Source:
protected void ensureAll ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JParameter loaded ) { }

Target:
public void ensureAnnotation ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JParameter loaded , @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotationType annotation ) { }
Source:
public int getHeight ( ) { return ( ( int ) ( ( mScale ) * ( mHeight ) ) ) ; }

Target:
int getArea ( ) { return ( mWidth ) * ( mHeight ) ; }
Source:
public void setSupplicantLogLevel ( java.lang.String level ) { doStringCommand ( ( "LOG_LEVEL " + level ) ) ; }

Target:
public void setWifiSupplicantControl ( com.android.server.wifi.WifiSupplicantControl wifiSupplicantControl ) { mWifiSupplicantControl = wifiSupplicantControl ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { com.android.ide.eclipse.adt.internal.launch.DeviceChooserDialog.sUseDeviceForFutureLaunchesValue = mUseDeviceForFutureLaunchesCheckbox.getSelection ( ) ; mResponse.setUseDeviceForFutureLaunches ( com.android.ide.eclipse.adt.internal.launch.DeviceChooserDialog.sUseDeviceForFutureLaunchesValue ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { mUseDeviceForFutureLaunches = mUseDeviceForFutureLaunchesCheckbox.getSelection ( ) ; mResponse.setUseDeviceForFutureLaunches ( mUseDeviceForFutureLaunches ) ; }
Source:
public void run ( ) { com.android.hierarchyviewerlib.ui.util.DrawableViewNode tree = com.android.hierarchyviewerlib.models.TreeViewModel.getModel ( ) . getTree ( ) ; if ( tree != null ) { loadViewRecursive ( tree.viewNode ) ; com.android.hierarchyviewerlib.models.TreeViewModel.getModel ( ) . notifySelectionChanged ( ) ; } }

Target:
public void run ( ) { com.android.hierarchyviewerlib.device.IHvDevice hvDevice = getHvDevice ( selectedNode.viewNode.window.getDevice ( ) ) ; hvDevice.loadProfileData ( selectedNode.viewNode.window , selectedNode.viewNode ) ; com.android.hierarchyviewerlib.models.TreeViewModel.getModel ( ) . notifySelectionChanged ( ) ; }
Source:
public int hashCode ( ) { return ( ( int ) ( ( value ) ^ ( ( value ) > > > 32 ) ) ) ; }

Target:
public int hashCode ( ) { return java.lang.Long.hashCode ( value ) ; }
Source:
public static int IntDivision ( ) { int a ; int b ; int c ; a = Main.$inline$int ( 8 ) ; b = Main.$inline$int ( 3 ) ; c = a / b ; return c ; }

Target:
public static double DoubleDivision ( ) { double a ; double b ; double c ; a = 8.0 ; b = 2.5 ; c = a / b ; return c ; }
Source:
public void getCDMASubscriptionResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.lang.String var2 , java.lang.String var3 , java.lang.String var4 , java.lang.String var5 , java.lang.String var6 ) { }

Target:
public void getCDMASubscriptionResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.lang.String mdn , java.lang.String hSid , java.lang.String hNid , java.lang.String min , java.lang.String prl ) { responseStrings ( responseInfo , mdn , hSid , hNid , min , prl ) ; }
Source:
protected javax.swing.JComponent getHeader ( ) { return com.google.gct.idea.samples.DynamicWizardStep.createWizardStepHeader ( WizardConstants.ANDROID_NPW_HEADER_COLOR , AndroidIcons.Wizards.NewProjectMascotGreen , "Import Sample" ) ; }

Target:
protected javax.swing.JComponent getHeader ( ) { return com.google.gct.idea.samples.DynamicWizardStep.createWizardStepHeader ( WizardConstants.ANDROID_NPW_HEADER_COLOR , AndroidIcons.Wizards.NewProjectMascotGreen , com.google.gct.idea.util.GctBundle.message ( "sample.import.title" ) ) ; }
Source:
private static void installMockNanStateManager ( com.android.server.wifi.nan.WifiNanStateManager nanStateManager ) throws java.lang.Exception { java.lang.reflect.Field field = com.android.server.wifi.nan.WifiNanStateManager.class . getDeclaredField ( "sNanStateManagerSingleton" ) ; field.setAccessible ( true ) ; field.set ( null , nanStateManager ) ; }

Target:
private static void installMockAwareStateManager ( com.android.server.wifi.aware.WifiAwareStateManager awareStateManager ) throws java.lang.Exception { java.lang.reflect.Field field = com.android.server.wifi.aware.WifiAwareStateManager.class . getDeclaredField ( "sAwareStateManagerSingleton" ) ; field.setAccessible ( true ) ; field.set ( null , awareStateManager ) ; }
Source:
public boolean add ( java.util.Map.Entry < K , V > element ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public boolean add ( E element ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
com.android.ahat.heapdump.ReferenceIterator getReferences ( ) { java.util.List < com.android.ahat.heapdump.Reference > refs = java.util.Collections.emptyList ( ) ; return new com.android.ahat.heapdump.ReferenceIterator ( refs ) ; }

Target:
java.lang.Iterable < com.android.ahat.heapdump.Reference > getReferences ( ) { java.util.List < com.android.ahat.heapdump.Reference > refs = java.util.Collections.emptyList ( ) ; return refs ; }
Source:
public void test_until_TemporalUnit_unsupportedUnit ( ) { TEST_2008_06.until ( TEST_2008_06 , java.time.temporal.ChronoUnit.HOURS ) ; }

Target:
public void test_until_TemporalUnit_unsupportedUnit ( ) { tck.java.time.TCKYearMonth.TEST_2008_06.until ( tck.java.time.TCKYearMonth.TEST_2008_06 , java.time.temporal.ChronoUnit.HOURS ) ; }
Source:
private void setupVisualVoicemailPreference ( ) { visualVoicemailPreference.setOnPreferenceChangeListener ( this ) ; visualVoicemailPreference.setChecked ( voicemailClient.isVoicemailEnabled ( getContext ( ) , phoneAccountHandle ) ) ; }

Target:
private void setupVisualVoicemailPreference ( ) { visualVoicemailPreference.setOnPreferenceChangeListener ( this ) ; visualVoicemailPreference.setChecked ( voicemailClient.isVoicemailEnabled ( getContext ( ) , phoneAccountHandle ) ) ; updateVoicemailSummaryMessage ( ) ; }
Source:
public void test_blockWithJoinWithSource ( ) throws java.lang.Exception { setup ( true ) ; try { key.block ( sourceAddress ) ; } catch ( java.lang.IllegalStateException expected ) { } }

Target:
public void test_blockWithJoinWithSource ( ) throws java.lang.Exception { init ( true ) ; try { key.block ( sourceAddress ) ; } catch ( java.lang.IllegalStateException expected ) { } }