auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void testCommit2 ( ) throws java.lang.Exception { assertEquals ( ( "" + "No warnings." ) , lintProject ( "apicheck/classpath=>.classpath" , "apicheck/minsdk4.xml=>AndroidManifest.xml" , "project.properties1=>project.properties" , "bytecode/DialogFragment.class.data=>bin/classes/test/pkg/DialogFragment.class" ) ) ; }

Target:
public void testCommit3 ( ) throws java.lang.Exception { assertEquals ( ( "" + "No warnings." ) , lintProject ( "apicheck/classpath=>.classpath" , "apicheck/minsdk4.xml=>AndroidManifest.xml" , "project.properties19=>project.properties" , "bytecode/CommitTest2.java.txt=>src/test/pkg/CommitTest2.java" , "bytecode/CommitTest2$MyDialogFragment.class.data=>bin/classes/test/pkg/CommitTest2$MyDialogFragment.class" , "bytecode/CommitTest2.class.data=>bin/classes/test/pkg/CommitTest2.class" , "appcompat/Fragment.java.txt=>src/android/support/v4/app/Fragment.java" , "appcompat/DialogFragment.java.txt=>src/android/support/v4/app/DialogFragment.java" , "appcompat/FragmentTransaction.java.txt=>src/android/support/v4/app/FragmentTransaction.java" , "appcompat/FragmentManager.java.txt=>src/android/support/v4/app/FragmentManager.java" ) ) ; }
Source:
public void sendOemRilRequestStringsResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.util.ArrayList < java.lang.String > strings ) { responseStringArrayList ( responseInfo , strings ) ; }

Target:
public void setSimCardPowerResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo ) { responseVoid ( responseInfo ) ; }
Source:
public void setName ( @ javax.annotation.Nonnull java.lang.String name ) { this . name = name ; }

Target:
public void setName ( @ javax.annotation.Nonnull java.lang.String name ) { this . name = com.android.jack.ir.StringInterner.get ( ) . intern ( name ) ; }
Source:
public static void i ( java.lang.String prefix , java.lang.String format , java.lang.Object ... args ) { if ( android.telecom.Log.INFO ) { android.util.Log.i ( android.telecom.Log.TAG , android.telecom.Log.buildMessage ( prefix , format , args ) ) ; } }

Target:
public static void i ( java.lang.String prefix , java.lang.String format , java.lang.Object ... args ) { if ( android.telecom.Log.INFO ) { android.util.Slog.i ( android.telecom.Log.TAG , android.telecom.Log.buildMessage ( prefix , format , args ) ) ; } }
Source:
boolean expectAux ( java.lang.String tag , java.lang.String source , boolean pass , java.lang.String expectedResult ) { return expectAux ( tag , new java.lang.String [ ] { source } , pass , expectedResult ) ; }

Target:
static boolean expectAux ( java.lang.String tag , java.lang.String source , boolean pass , java.lang.String expectedResult ) { return android.icu.dev.test.translit.TransliteratorTest.expectAux ( tag , new java.lang.String [ ] { source } , pass , expectedResult ) ; }
Source:
public static void main ( java.lang.String [ ] args ) { Main.assertEquals ( 499500L , Main.$opt$LargeFrame ( ) ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { long dummy = 0L ; Main.assertEquals ( 124750L , Main.$opt$LargeFrame ( dummy ) ) ; Main.assertEquals ( 499500L , Main.HugeFrame ( dummy ) ) ; }
Source:
public void prepareFullBuild ( org.eclipse.core.resources.IProject project , java.util.List < org.eclipse.core.runtime.IPath > sourceFolders ) { mDeltaVisitor.reset ( ) ; buildCompilationList ( project , sourceFolders ) ; }

Target:
public final void doneVisiting ( org.eclipse.core.resources.IProject project ) { mergeFileModifications ( mDeltaVisitor ) ; mDeltaVisitor.reset ( ) ; saveState ( project ) ; }
Source:
private static boolean isFileResource ( com.android.ide.eclipse.adt.internal.resources.ResourceType type ) { com.android.ide.eclipse.adt.internal.resources.manager.ResourceFolderType [ ] folderTypes = com.android.ide.eclipse.adt.internal.resources.manager.FolderTypeRelationship.getRelatedFolders ( type ) ; for ( com.android.ide.eclipse.adt.internal.resources.manager.ResourceFolderType folderType : folderTypes ) { if ( folderType != ( com.android.ide.eclipse.adt.internal.resources.manager.ResourceFolderType.VALUES ) ) { return true ; } } return false ; }

Target:
private static void displayError ( java.lang.String message ) { org.eclipse.ui.IEditorSite editorSite = com.android.ide.eclipse.adt.internal.editors.xml.Hyperlinks.getEditor ( ) . getEditorSite ( ) ; org.eclipse.jface.action.IStatusLineManager status = editorSite.getActionBars ( ) . getStatusLineManager ( ) ; status.setErrorMessage ( message ) ; }
Source:
public void saveConstraints ( ) { java.lang.String description = mConfiguration.toPersistentString ( ) ; if ( ( description != null ) && ( ! ( description.isEmpty ( ) ) ) ) { com.android.ide.eclipse.adt.AdtPlugin.setFileProperty ( mEditedFile , com.android.ide.eclipse.adt.internal.editors.layout.configuration.ConfigurationChooser.NAME_CONFIG_STATE , description ) ; } }

Target:
public void saveConstraints ( ) { java.lang.String description = mConfiguration.toPersistentString ( ) ; if ( ( description != null ) && ( ! ( description.isEmpty ( ) ) ) ) { com.android.ide.eclipse.adt.internal.editors.layout.configuration.ConfigurationDescription.setDescription ( mEditedFile , description ) ; } }
Source:
public void testEnableCollection002 ( ) { synchronizer.receiveMessage ( JPDADebuggeeSynchronizer.SGNL_READY ) ; long invalidObjectID = 57005 ; enableCollection ( invalidObjectID , JDWPConstants.Error.INVALID_OBJECT ) ; synchronizer.sendMessage ( JPDADebuggeeSynchronizer.SGNL_CONTINUE ) ; }

Target:
public void testEnableCollection_invalid ( ) { synchronizer.receiveMessage ( JPDADebuggeeSynchronizer.SGNL_READY ) ; enableCollection ( JDWPTestConstants.INVALID_OBJECT_ID , JDWPConstants.Error.INVALID_OBJECT ) ; synchronizer.sendMessage ( JPDADebuggeeSynchronizer.SGNL_CONTINUE ) ; }
Source:
public void destroyAppProfiles ( java.lang.String packageName ) throws com.android.internal.os.InstallerConnection.InstallerException { checkLock ( ) ; try { mInstalld.destroyAppProfiles ( packageName ) ; } catch ( android.os.RemoteException | android.os.ServiceSpecificException e ) { throw new com.android.internal.os.InstallerConnection.InstallerException ( e.getMessage ( ) ) ; } }

Target:
public void destroyAppProfiles ( java.lang.String packageName ) throws com.android.internal.os.InstallerConnection.InstallerException { if ( ! ( checkBeforeRemote ( ) ) ) return ; try { mInstalld.destroyAppProfiles ( packageName ) ; } catch ( android.os.RemoteException | android.os.ServiceSpecificException e ) { throw new com.android.internal.os.InstallerConnection.InstallerException ( e.getMessage ( ) ) ; } }
Source:
public static void copy ( java.io.File from , java.nio.charset.Charset charset , java.lang.Appendable to ) throws java.io.IOException { com.google.common.io.CharStreams.copy ( com.google.common.io.Files.newReaderSupplier ( from , charset ) , to ) ; }

Target:
public static void copy ( java.io.File from , java.nio.charset.Charset charset , java.lang.Appendable to ) throws java.io.IOException { com.google.common.io.Files.asCharSource ( from , charset ) . copyTo ( to ) ; }
Source:
public static int EqualFalseLhs ( boolean arg ) { return false != arg ? 3 : 5 ; }

Target:
public static int intConditionEqualZero ( int i ) { return ( i > 42 ) != ( Main.$inline$false ( ) ) ? 13 : 54 ; }
Source:
public boolean appliesTo ( @ com.android.annotations.NonNull com.android.resources.ResourceFolderType folderType ) { return ( folderType == ( com.android.resources.ResourceFolderType.VALUES ) ) || ( folderType == ( com.android.resources.ResourceFolderType.LAYOUT ) ) ; }

Target:
public boolean appliesTo ( @ com.android.annotations.NonNull com.android.resources.ResourceFolderType folderType ) { return ( ( folderType == ( com.android.resources.ResourceFolderType.VALUES ) ) || ( folderType == ( com.android.resources.ResourceFolderType.LAYOUT ) ) ) || ( folderType == ( com.android.resources.ResourceFolderType.XML ) ) ; }
Source:
public void wifiPriorityConnect ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "config" ) org.json.JSONObject config ) throws org.json.JSONException { android.net.wifi.WifiConfiguration wifiConfig = genWifiConfig ( config ) ; com.googlecode.android_scripting.facade.wifi.WifiManagerFacade.WifiActionListener listener = new com.googlecode.android_scripting.facade.wifi.WifiManagerFacade.WifiActionListener ( mEventFacade , "PriorityConnect" ) ; mWifi.connect ( wifiConfig , listener ) ; }

Target:
public void wifiConnectByConfig ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "config" ) org.json.JSONObject config ) throws org.json.JSONException { android.net.wifi.WifiConfiguration wifiConfig = genWifiConfig ( config ) ; com.googlecode.android_scripting.facade.wifi.WifiManagerFacade.WifiActionListener listener = new com.googlecode.android_scripting.facade.wifi.WifiManagerFacade.WifiActionListener ( mEventFacade , com.googlecode.android_scripting.facade.wifi.WifiConstants.WIFI_CONNECT_BY_CONFIG_CALLBACK ) ; mWifi.connect ( wifiConfig , listener ) ; }
Source:
public boolean bind ( ) { if ( ( ! ( mIsAutomation ) ) && ( ( mService ) == null ) ) { return mContext.bindService ( mIntent , this , Context.BIND_AUTO_CREATE ) ; } return false ; }

Target:
public boolean bind ( ) { if ( ( ! ( mIsAutomation ) ) && ( ( mService ) == null ) ) { return mContext.bindService ( mIntent , this , Context.BIND_AUTO_CREATE , mUserId ) ; } return false ; }
Source:
private static java.lang.String getCaptivePortalServerHttpsUrl ( android.content.Context context ) { return com.android.server.connectivity.NetworkMonitor.getSetting ( context , Settings.Global.CAPTIVE_PORTAL_HTTPS_URL , com.android.server.connectivity.NetworkMonitor.DEFAULT_HTTPS_URL ) ; }

Target:
public static java.lang.String getCaptivePortalServerHttpUrl ( android.content.Context context ) { return com.android.server.connectivity.NetworkMonitor.getCaptivePortalServerHttpUrl ( com.android.server.connectivity.NetworkMonitor.NetworkMonitorSettings.DEFAULT , context ) ; }
Source:
public void testConstructor_NullEndDate_Failure ( ) throws java.lang.Exception { try { new android.security.AndroidKeyPairGeneratorSpec ( getContext ( ) , android.security.AndroidKeyPairGeneratorSpecTest.TEST_ALIAS_1 , android.security.AndroidKeyPairGeneratorSpecTest.TEST_DN_1 , android.security.AndroidKeyPairGeneratorSpecTest.SERIAL_1 , android.security.AndroidKeyPairGeneratorSpecTest.NOW , null ) ; fail ( "Should throw IllegalArgumentException when keystoreAlias is null" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }

Target:
public void testConstructor_EndBeforeStart_Failure ( ) throws java.lang.Exception { try { new android.security.AndroidKeyPairGeneratorSpec ( getContext ( ) , android.security.AndroidKeyPairGeneratorSpecTest.TEST_ALIAS_1 , android.security.AndroidKeyPairGeneratorSpecTest.TEST_DN_1 , android.security.AndroidKeyPairGeneratorSpecTest.SERIAL_1 , android.security.AndroidKeyPairGeneratorSpecTest.NOW_PLUS_10_YEARS , android.security.AndroidKeyPairGeneratorSpecTest.NOW , 0 ) ; fail ( "Should throw IllegalArgumentException when end is before start" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }
Source:
public boolean isHalStarted ( ) { return ( com.android.server.wifi.WifiNative.sWifiHalHandle ) != 0 ; }

Target:
public boolean isHalStarted ( ) { if ( com.android.server.wifi.WifiNative.HIDL_VENDOR_ENABLE ) { return mWifiVendorHal.isHalStarted ( ) ; } else { return ( com.android.server.wifi.WifiNative.sWifiHalHandle ) != 0 ; } }
Source:
private void recordFeatureAcknowledgement ( ) { preferences.edit ( ) . putInt ( com.android.dialer.app.voicemail.error.VoicemailTosMessageCreator.PREF_DIALER_FEATURE_VERSION_ACKNOWLEDGED_KEY , com.android.dialer.app.voicemail.error.VoicemailTosMessageCreator.CURRENT_VOICEMAIL_FEATURE_VERSION ) . apply ( ) ; }

Target:
private void recordFeatureAcknowledgement ( ) { preferences.edit ( ) . putInt ( VoicemailVersionConstants.PREF_DIALER_FEATURE_VERSION_ACKNOWLEDGED_KEY , VoicemailVersionConstants.CURRENT_VOICEMAIL_FEATURE_VERSION ) . apply ( ) ; }
Source:
public void testVFE8 ( ) { try { dot.junit.opcodes.filled_new_array.d.T_filled_new_array_10 T = new dot.junit.opcodes.filled_new_array.d.T_filled_new_array_10 ( ) ; T.run ( ) ; fail ( "expected a NoClassDefFoundError exception" ) ; } catch ( java.lang.NoClassDefFoundError t ) { } }

Target:
public void testVFE8 ( ) { loadAndRun ( "dot.junit.opcodes.filled_new_array.d.T_filled_new_array_10" , java.lang.NoClassDefFoundError.class ) ; }
Source:
protected abstract org.bouncycastle.crypto.DSA createDSAImpl ( ) ;

Target:
protected abstract org.bouncycastle.crypto.DSA createDSAImpl ( short hashAlgorithm ) ;
Source:
public void onPackageSizeChanged ( java.lang.String packageName ) { }

Target:
public java.util.List < android.provider.SearchIndexableResource > getXmlResourcesToIndex ( android.content.Context context , boolean enabled ) { android.provider.SearchIndexableResource sir = new android.provider.SearchIndexableResource ( context ) ; sir.xmlResId = R.xml.advanced_apps ; return java.util.Arrays.asList ( sir ) ; }
Source:
private void waitForObserverToIdle ( ) { mHandler.sendMessage ( mHandler.obtainMessage ( ( - 1 ) ) ) ; mObserverHandlerThread.waitForIdle ( com.android.server.net.NetworkStatsObserversTest.WAIT_TIMEOUT ) ; }

Target:
private void waitForObserverToIdle ( ) { com.android.server.net.NetworkStatsObserversTest.waitForIdleLooper ( mObserverHandlerThread.getLooper ( ) , com.android.server.net.NetworkStatsObserversTest.WAIT_TIMEOUT_MS ) ; com.android.server.net.NetworkStatsObserversTest.waitForIdleLooper ( mHandler.getLooper ( ) , com.android.server.net.NetworkStatsObserversTest.WAIT_TIMEOUT_MS ) ; }
Source:
void onNewFrame ( java.awt.image.BufferedImage image ) ;

Target:
void onNewFrame ( com.android.layoutlib.api.LayoutScene scene ) ;
Source:
public final void clear ( ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public final void putAll ( java.util.Map < ? extends K , ? extends V > map ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public boolean isSplitDensity ( ) { return mSplitDensity ; }

Target:
synchronized void setLocaleFilters ( java.util.Map < java.lang.String , java.lang.String > localeFilters ) { mLocaleFilters.clear ( ) ; mLocaleFilters.putAll ( localeFilters ) ; mSoftVariantMap = null ; }
Source:
private void update ( ) { if ( ( isTouched ( ) ) == true ) { mResourceItems.clear ( ) ; parseFile ( ) ; resetTouch ( ) ; mResourceTypeList = null ; } }

Target:
protected void update ( ) { getFolder ( ) . getRepository ( ) . removeFile ( mResourceTypeList , this ) ; mResourceItems.clear ( ) ; parseFile ( ) ; mResourceTypeList = java.util.Collections.unmodifiableCollection ( mResourceItems.keySet ( ) ) ; updateResourceItems ( ) ; }
Source:
public boolean hasLibraries ( ) { return ! ( mDirectLibraries.isEmpty ( ) ) ; }

Target:
public boolean isForTesting ( ) { return isForTesting ; }
Source:
public void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; getActivity ( ) ; }

Target:
public void setUp ( ) throws java.lang.Exception { activity = rule.getActivity ( ) ; }
Source:
public void testViewAbsent_AndThatsWhatIWant ( ) { try { android.support.test.espresso.assertion.ViewAssertions.matches ( nullViewMatcher ) . check ( absentView , presentException ) ; } catch ( android.support.test.espresso.NoMatchingViewException expected ) { return ; } fail ( "should not accept, view not present." ) ; }

Target:
public void viewAbsent_AndThatsWhatIWant ( ) { expectedException.expect ( android.support.test.espresso.NoMatchingViewException.class ) ; android.support.test.espresso.assertion.ViewAssertions.matches ( nullViewMatcher ) . check ( absentView , presentException ) ; }
Source:
short getType ( ) { return msg_type ; }

Target:
short getMsgType ( ) { return msg_type ; }
Source:
public void test_IsoFields_week_based_year ( ) { java.util.Locale locale = java.util.Locale.US ; java.lang.String name = java.time.temporal.IsoFields.WEEK_OF_WEEK_BASED_YEAR.getDisplayName ( locale ) ; org.testng.Assert.assertEquals ( name , "Week" ) ; }

Target:
public void test_IsoFields_week_based_year ( ) { java.util.Locale locale = java.util.Locale.US ; java.lang.String name = java.time.temporal.IsoFields.WEEK_OF_WEEK_BASED_YEAR.getDisplayName ( locale ) ; org.testng.Assert.assertEquals ( name , "week" ) ; }
Source:
public static java.lang.String getXmlString ( com.android.resources.ResourceType type , com.android.ide.eclipse.adt.internal.resources.manager.ResourceItem resourceItem , boolean system ) { if ( ( type == ( com.android.resources.ResourceType.ID ) ) && ( resourceItem.isDeclaredInline ( ) ) ) { return ( ( ( system ? "@android:" : "@+" ) + ( type.getName ( ) ) ) + "/" ) + ( resourceItem.getName ( ) ) ; } return ( ( ( system ? "@android:" : "@" ) + ( type.getName ( ) ) ) + "/" ) + ( resourceItem.getName ( ) ) ; }

Target:
public static com.android.ide.common.resources.ResourceDeltaKind getResourceDeltaKind ( int kind ) { switch ( kind ) { case org.eclipse.core.resources.IResourceDelta.ADDED : return com.android.ide.common.resources.ResourceDeltaKind.ADDED ; case org.eclipse.core.resources.IResourceDelta.REMOVED : return com.android.ide.common.resources.ResourceDeltaKind.REMOVED ; case org.eclipse.core.resources.IResourceDelta.CHANGED : return com.android.ide.common.resources.ResourceDeltaKind.CHANGED ; } return null ; }
Source:
public void onSurfaceCreated ( javax.microedition.khronos.opengles.GL10 unused , javax.microedition.khronos.egl.EGLConfig config ) { android.opengl.GLES20.glClearColor ( 0.2F , 0.2F , 0.2F , 1.0F ) ; mSphere = new com.android.graphics.benchmark.example.Sphere ( 0.05F , 36 ) ; }

Target:
public void onSurfaceCreated ( javax.microedition.khronos.opengles.GL10 unused , javax.microedition.khronos.egl.EGLConfig config ) { android.opengl.GLES20.glClearColor ( 0.2F , 0.2F , 0.2F , 1.0F ) ; mSphere = new com.android.game.qualification.example.Sphere ( 0.05F , 36 ) ; }
Source:
public proguard.evaluation.value.InstructionOffsetValue instructionOffsetValue ( ) { throw new java.lang.IllegalArgumentException ( ( ( "Value is not an instruction offset value [" + ( this . getClass ( ) . getName ( ) ) ) + "]" ) ) ; }

Target:
public proguard.evaluation.value.InstructionOffsetValue instructionOffsetValue ( ) { throw new java.lang.IllegalArgumentException ( ( ( ( ( "Value \"" + ( this . toString ( ) ) ) + "\" is not an instruction offset value [" ) + ( this . getClass ( ) . getName ( ) ) ) + "]" ) ) ; }
Source:
public java.lang.annotation.Annotation [ ] getAnnotations ( ) { return java.lang.Package.NO_ANNOTATIONS ; }

Target:
public java.lang.annotation.Annotation [ ] getAnnotations ( ) { try { java.lang.Class < ? > c = java.lang.Class.forName ( ( ( getName ( ) ) + ".package-info" ) ) ; return c.getAnnotations ( ) ; } catch ( java.lang.Exception ex ) { return java.lang.Package.NO_ANNOTATIONS ; } }
Source:
public boolean isPermissionEnforced ( java.lang.String permission ) { final boolean enforcedDefault = isPermissionEnforcedDefault ( permission ) ; synchronized ( mPackages ) { return isPermissionEnforcedLocked ( permission , enforcedDefault ) ; } }

Target:
public void addPreferredActivity ( android.content.IntentFilter filter , int match , android.content.ComponentName [ ] set , android.content.ComponentName activity , int userId ) { addPreferredActivityInternal ( filter , match , set , activity , true , userId ) ; }
Source:
public void removeImsFeatureStatusCallback ( com.android.ims.internal.IImsFeatureStatusCallback c ) { if ( c == null ) { return ; } synchronized ( mStatusCallbacks ) { mStatusCallbacks.remove ( c ) ; } }

Target:
public void removeImsFeatureStatusCallback ( @ android.annotation.NonNull com.android.ims.internal.IImsFeatureStatusCallback c ) { synchronized ( mLock ) { mStatusCallbacks.remove ( c ) ; } }
Source:
private java.lang.String refreshCacheForUser ( int userId ) { java.lang.String currentDefaultDialer = mDefaultDialerManagerAdapter.getDefaultDialerApplication ( mContext , userId ) ; synchronized ( mLock ) { mCurrentDefaultDialerPerUser.put ( userId , currentDefaultDialer ) ; } return currentDefaultDialer ; }

Target:
public boolean setDefaultDialer ( java.lang.String packageName , int userId ) { return mDefaultDialerManagerAdapter.setDefaultDialerApplication ( mContext , packageName , userId ) ; }
Source:
public static < K , V > org.hamcrest.Matcher < java.util.Map < K , V > > hasKey ( K key ) { return org.hamcrest.collection.IsMapContaining.hasKey ( org.hamcrest.collection.IsMapContaining.equalTo ( key ) ) ; }

Target:
public static < K > org.hamcrest.Matcher < java.util.Map < ? extends K , ? > > hasKey ( org.hamcrest.Matcher < ? super K > keyMatcher ) { return new org.hamcrest.collection.IsMapContaining < K , java.lang.Object > ( keyMatcher , org.hamcrest.collection.IsMapContaining.anything ( ) ) ; }
Source:
private void repositionNavigationBar ( ) { if ( ( mNavigationBarView ) == null ) return ; prepareNavigationBarView ( ) ; mWindowManager.updateViewLayout ( mNavigationBarView , getNavigationBarLayoutParams ( ) ) ; }

Target:
private void repositionNavigationBar ( ) { if ( ( ( mNavigationBarView ) == null ) || ( ! ( mNavigationBarView.isAttachedToWindow ( ) ) ) ) return ; prepareNavigationBarView ( ) ; mWindowManager.updateViewLayout ( mNavigationBarView , getNavigationBarLayoutParams ( ) ) ; }
Source:
public final java.lang.String getType ( int columnIdx ) { if ( ( getFormatters ( ) [ columnIdx ] ) instanceof com.android.sched.util.codec.ToStringFormatter ) { return "string" ; } else { return "number" ; } }

Target:
public final java.lang.String getType ( int columnIdx ) { if ( ( getDataView ( ) . getDataTypes ( ) [ columnIdx ] ) == ( com.android.sched.util.print.DataType.STRING ) ) { return "string" ; } else { return "number" ; } }
Source:
private void launch ( org.eclipse.core.resources.IProject project , java.lang.String mode ) { org.eclipse.debug.core.ILaunchConfiguration config = com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.getLaunchConfig ( project ) ; if ( config != null ) { org.eclipse.debug.ui.DebugUITools.launch ( config , mode ) ; } }

Target:
private void launch ( org.eclipse.core.resources.IProject project , java.lang.String mode ) { org.eclipse.debug.core.ILaunchConfiguration config = com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.getLaunchConfig ( project , LaunchConfigDelegate.ANDROID_LAUNCH_TYPE_ID ) ; if ( config != null ) { org.eclipse.debug.ui.DebugUITools.launch ( config , mode ) ; } }
Source:
public static int IntRemainder ( ) { int a ; int b ; int c ; a = 8 ; b = 3 ; c = a % b ; return c ; }

Target:
public static double DoubleRemainder ( ) { double a ; double b ; double c ; a = Main.$inline$double ( 8.0 ) ; b = Main.$inline$double ( 2.5 ) ; c = a % b ; return c ; }
Source:
public org.eclipse.swt.graphics.Image getColumnImage ( java.lang.Object element , int columnIndex ) { if ( element instanceof com.android.ide.eclipse.adt.internal.resources.configurations.ResourceQualifier ) { return com.android.ide.eclipse.adt.internal.resources.ResourceHelper.getIcon ( ( ( com.android.ide.eclipse.adt.internal.resources.configurations.ResourceQualifier ) ( element ) ) . getClass ( ) ) ; } return null ; }

Target:
public org.eclipse.swt.graphics.Image getColumnImage ( java.lang.Object element , int columnIndex ) { if ( element instanceof com.android.ide.common.resources.configuration.ResourceQualifier ) { return com.android.ide.eclipse.adt.internal.resources.ResourceHelper.getIcon ( ( ( com.android.ide.common.resources.configuration.ResourceQualifier ) ( element ) ) . getClass ( ) ) ; } return null ; }
Source:
public static < T > org.hamcrest.Matcher < T > notNullValue ( @ java.lang.SuppressWarnings ( value = "unused" ) java.lang.Class < T > type ) { return org.hamcrest.core.IsNull.notNullValue ( ) ; }

Target:
public static < T > org.hamcrest.Matcher < T > notNullValue ( java.lang.Class < T > type ) { return org.hamcrest.core.IsNot.not ( org.hamcrest.core.IsNull.nullValue ( type ) ) ; }
Source:
public void mouseMove ( org.eclipse.swt.events.MouseEvent e ) { if ( ( e.stateMask ) != 0 ) { handleMouseEvent ( e ) ; } }

Target:
public void mouseUp ( org.eclipse.swt.events.MouseEvent e ) { handleMouseEvent ( e ) ; }
Source:
public ScriptGroup2.Closure prepInit ( android.renderscript.ScriptGroup2.Builder b ) { cInit = b.addInvoke ( s.getInvokeID_prepareShadows ( ) , 50.0F ) ; return cInit ; }

Target:
public ScriptGroup.Closure prepInit ( android.renderscript.ScriptGroup.Builder2 b ) { cInit = b.addInvoke ( s.getInvokeID_prepareShadows ( ) , 50.0F ) ; return cInit ; }
Source:
private void updateEmergencyCallState ( ) { mIsEmergencyCall = com.android.incallui.util.TelecomCallUtil.isEmergencyCall ( mTelecomCall ) ; }

Target:
private void updateEmergencyCallState ( ) { mIsEmergencyCall = com.android.dialer.telecom.TelecomCallUtil.isEmergencyCall ( mTelecomCall ) ; }
Source:
public static native java.lang.String getDisplayLanguageNative ( java.lang.String languageCode , java.lang.String locale ) ;

Target:
private static native java.lang.String getDisplayVariantNative ( java.lang.String targetLanguageTag , java.lang.String languageTag ) ;
Source:
public void writeOnImsCallHoldFailed ( int phoneId , com.android.ims.internal.ImsCallSession session , com.android.ims.ImsReasonInfo reasonInfo ) { }

Target:
public void writeOnImsCallProgressing ( int phoneId , android.telephony.ims.ImsCallSession session ) { }
Source:
public com.google.common.util.concurrent.ListenableFuture < com.google.common.collect.ImmutableMap < com.android.dialer.DialerPhoneNumber , com.android.dialer.phonelookup.PhoneLookupInfo > > getMostRecentPhoneLookupInfo ( com.google.common.collect.ImmutableMap < com.android.dialer.DialerPhoneNumber , com.android.dialer.phonelookup.PhoneLookupInfo > existingInfoMap ) { return backgroundExecutorService.submit ( ( ) -> getMostRecentPhoneLookupInfoInternal ( existingInfoMap ) ) ; }

Target:
public com.google.common.util.concurrent.ListenableFuture < com.google.common.collect.ImmutableMap < com.android.dialer.DialerPhoneNumber , com.android.dialer.phonelookup.PhoneLookupInfo.Cp2Info > > getMostRecentInfo ( com.google.common.collect.ImmutableMap < com.android.dialer.DialerPhoneNumber , com.android.dialer.phonelookup.PhoneLookupInfo.Cp2Info > existingInfoMap ) { return backgroundExecutorService.submit ( ( ) -> getMostRecentInfoInternal ( existingInfoMap ) ) ; }
Source:
public static int presentationToOIR ( int presentation ) { switch ( presentation ) { case com.android.internal.telephony.PhoneConstants.PRESENTATION_RESTRICTED : return com.android.ims.ImsCallProfile.OIR_PRESENTATION_RESTRICTED ; case com.android.internal.telephony.PhoneConstants.PRESENTATION_ALLOWED : return com.android.ims.ImsCallProfile.OIR_PRESENTATION_NOT_RESTRICTED ; case com.android.internal.telephony.PhoneConstants.PRESENTATION_PAYPHONE : return com.android.ims.ImsCallProfile.OIR_PRESENTATION_PAYPHONE ; case com.android.internal.telephony.PhoneConstants.PRESENTATION_UNKNOWN : return com.android.ims.ImsCallProfile.OIR_PRESENTATION_UNKNOWN ; default : return com.android.ims.ImsCallProfile.OIR_DEFAULT ; } }

Target:
public static int presentationToOIR ( int presentation ) { switch ( presentation ) { case com.android.internal.telephony.PhoneConstants.PRESENTATION_RESTRICTED : return android.telephony.ims.ImsCallProfile.OIR_PRESENTATION_RESTRICTED ; case com.android.internal.telephony.PhoneConstants.PRESENTATION_ALLOWED : return android.telephony.ims.ImsCallProfile.OIR_PRESENTATION_NOT_RESTRICTED ; case com.android.internal.telephony.PhoneConstants.PRESENTATION_PAYPHONE : return android.telephony.ims.ImsCallProfile.OIR_PRESENTATION_PAYPHONE ; case com.android.internal.telephony.PhoneConstants.PRESENTATION_UNKNOWN : return android.telephony.ims.ImsCallProfile.OIR_PRESENTATION_UNKNOWN ; default : return android.telephony.ims.ImsCallProfile.OIR_DEFAULT ; } }
Source:
public java.lang.String toString ( ) { return ( "Project [dir=" + ( mDir ) ) + "]" ; }

Target:
public java.lang.String toString ( ) { return ( "Project [dir=" + ( mDir ) ) + ']' ; }
Source:
public void callSessionStarted ( com.android.ims.internal.IImsCallSession i , android.telephony.ims.ImsCallProfile imsCallProfile ) throws android.os.RemoteException { mNewListener.callSessionInitiated ( imsCallProfile ) ; }

Target:
public void callSessionRttModifyResponseReceived ( int status ) throws android.os.RemoteException { mNewListener.callSessionRttModifyResponseReceived ( status ) ; }
Source:
public int readAnnotation ( ) { checkType ( com.android.dx.io.EncodedValueReader.ENCODED_ANNOTATION ) ; type = com.android.dx.io.EncodedValueReader.MUST_READ ; annotationType = com.android.dx.util.Leb128Utils.readUnsignedLeb128 ( in ) ; return com.android.dx.util.Leb128Utils.readUnsignedLeb128 ( in ) ; }

Target:
public int readAnnotation ( ) { checkType ( com.android.dex.EncodedValueReader.ENCODED_ANNOTATION ) ; type = com.android.dex.EncodedValueReader.MUST_READ ; annotationType = com.android.dex.Leb128.readUnsignedLeb128 ( in ) ; return com.android.dex.Leb128.readUnsignedLeb128 ( in ) ; }
Source:
public android.icu.impl.UResource.ArraySink getOrCreateArraySink ( android.icu.impl.UResource.Key key , int size ) { return null ; }

Target:
public abstract void put ( android.icu.impl.UResource.Key key , android.icu.impl.UResource.Value value , boolean noFallback ) ;
Source:
static com.android.internal.telephony.gsm.GsmMmiCode newFromUssdUserInput ( java.lang.String ussdMessge , com.android.internal.telephony.gsm.GSMPhone phone ) { com.android.internal.telephony.gsm.GsmMmiCode ret = new com.android.internal.telephony.gsm.GsmMmiCode ( phone ) ; ret.message = ussdMessge ; ret.state = State.PENDING ; ret.isPendingUSSD = true ; return ret ; }

Target:
static com.android.internal.telephony.gsm.GsmMmiCode newFromUssdUserInput ( java.lang.String ussdMessge , com.android.internal.telephony.gsm.GSMPhone phone , com.android.internal.telephony.uicc.UiccCardApplication app ) { com.android.internal.telephony.gsm.GsmMmiCode ret = new com.android.internal.telephony.gsm.GsmMmiCode ( phone , app ) ; ret.message = ussdMessge ; ret.state = State.PENDING ; ret.isPendingUSSD = true ; return ret ; }
Source:
public final void testGetParentBounds ( ) { assertEquals ( new com.android.ide.eclipse.adt.editors.layout.gscripts.Rect ( 0 , 0 , 320 , 480 ) , e.getParentBounds ( ) ) ; }

Target:
public final void testGetParentBounds ( ) { assertEquals ( new com.android.ide.common.api.Rect ( 0 , 0 , 320 , 480 ) , e.getParentBounds ( ) ) ; }
Source:
public void callSessionMergeComplete ( com.android.ims.internal.IImsCallSession iImsCallSession ) throws android.os.RemoteException { mNewListener.callSessionMergeComplete ( iImsCallSession ) ; }

Target:
public void callSessionConferenceStateUpdated ( com.android.ims.internal.IImsCallSession i , android.telephony.ims.ImsConferenceState imsConferenceState ) throws android.os.RemoteException { mNewListener.callSessionConferenceStateUpdated ( imsConferenceState ) ; }
Source:
public android.telephony.ims.internal.aidl.IImsRegistration getRegistration ( int slotId ) throws android.os.RemoteException { android.telephony.ims.internal.stub.ImsRegistrationImplBase r = this . getRegistration ( slotId ) ; return r != null ? r.getBinder ( ) : null ; }

Target:
public com.android.ims.internal.IImsRegistration getRegistration ( int slotId ) throws android.os.RemoteException { android.telephony.ims.stub.ImsRegistrationImplBase r = this . getRegistration ( slotId ) ; return r != null ? r.getBinder ( ) : null ; }
Source:
public com.google.mockwebserver.SocketPolicy peekSocketPolicy ( ) { return delegates.getFirst ( ) . peekSocketPolicy ( ) ; }

Target:
public com.google.mockwebserver.MockResponse peek ( ) { return delegates.getFirst ( ) . peek ( ) ; }
Source:
public static void computeHalfRsqrt ( android.renderscript.cts.TestHalfRsqrt.ArgumentsFloatFloat args ) { args.ulf = 128000 ; args.ulfRelaxed = 128000 ; args.out = ( ( float ) ( java.lang.StrictMath.pow ( args.inV , ( - 0.5 ) ) ) ) ; }

Target:
public static void computeAbs ( android.renderscript.cts.TestAbs.ArgumentsCharUchar args ) { args.out = ( ( byte ) ( java.lang.Math.abs ( args.inValue ) ) ) ; }
Source:
public com.google.devtools.common.options.Converter < ? > getConverter ( java.lang.reflect.Field field ) { return converters.get ( field ) ; }

Target:
public com.google.devtools.common.options.Converter < ? > getConverter ( com.google.devtools.common.options.OptionDefinition optionDefinition ) { return converters.get ( optionDefinition ) ; }
Source:
public abstract void srcToExe ( @ javax.annotation.CheckForNull java.lang.String classpath , @ javax.annotation.Nonnull java.io.File out , boolean zipFile , @ javax.annotation.Nonnull java.io.File ... sources ) throws java.lang.Exception ;

Target:
public final void libToExe ( @ javax.annotation.Nonnull java.util.List < java.io.File > in , @ javax.annotation.Nonnull java.io.File out , boolean zipFile ) throws java.lang.Exception { libToExe ( in.toArray ( new java.io.File [ in.size ( ) ] ) , out , zipFile ) ; }
Source:
public java.util.List < android.telephony.ims.internal.feature.CapabilityChangeRequest.CapabilityPair > getCapabilitiesToEnable ( ) { return new java.util.ArrayList < > ( mCapabilitiesToEnable ) ; }

Target:
public java.util.List < android.telephony.ims.feature.CapabilityChangeRequest.CapabilityPair > getCapabilitiesToEnable ( ) { return new java.util.ArrayList < > ( mCapabilitiesToEnable ) ; }
Source:
private void onDeviceProvisionedChange ( ) { if ( getDataEnabled ( ) ) { mDataEnabledSettings.setUserDataEnabled ( true ) ; reevaluateDataConnections ( ) ; onTrySetupData ( Phone.REASON_DATA_ENABLED ) ; } else { mDataEnabledSettings.setUserDataEnabled ( false ) ; onCleanUpAllConnections ( Phone.REASON_DATA_SPECIFIC_DISABLED ) ; } }

Target:
public boolean getDataEnabled ( ) { if ( mDataEnabledSettings.isProvisioning ( ) ) { return mDataEnabledSettings.isProvisioningDataEnabled ( ) ; } else { return mDataEnabledSettings.isUserDataEnabled ( ) ; } }
Source:
public void run ( ) { com.google.common.eventbus.AsyncEventBus.super . dispatch ( event , handler ) ; }

Target:
public void run ( ) { com.google.common.eventbus.AsyncEventBus.super . dispatch ( event , subscriber ) ; }
Source:
public boolean hasNext ( ) { return delegate.hasNext ( ) ; }

Target:
public java.util.ListIterator < T > listIterator ( final int index ) { return new com.google.common.collect.TransformedListIterator < F , T > ( fromList.listIterator ( index ) ) { @ java.lang.Override T transform ( F from ) { return function.apply ( from ) ; } } ; }
Source:
public void testGetView_present ( ) { android.support.test.espresso.ViewFinder finder = new android.support.test.espresso.base.ViewFinderImpl ( org.hamcrest.Matchers.sameInstance ( nestedChild ) , testViewProvider ) ; org.hamcrest.MatcherAssert.assertThat ( finder.getView ( ) , org.hamcrest.Matchers.sameInstance ( nestedChild ) ) ; }

Target:
public void getViewPresent ( ) { android.support.test.espresso.ViewFinder finder = new android.support.test.espresso.base.ViewFinderImpl ( org.hamcrest.Matchers.sameInstance ( nestedChild ) , testViewProvider ) ; org.hamcrest.MatcherAssert.assertThat ( finder.getView ( ) , org.hamcrest.Matchers.sameInstance ( nestedChild ) ) ; }
Source:
public final void setRate ( int streamID , float rate ) { }

Target:
public final void setLoop ( int streamID , int loop ) { }
Source:
public static native byte [ ] SSL_get_ocsp_response ( long ssl ) ;

Target:
public static native void SSL_set_reject_peer_renegotiations ( long sslNativePointer , boolean renegotiationRejected ) throws javax.net.ssl.SSLException ;
Source:
private static com.android.build.SplitOutput getOutput ( int densityFilter , java.lang.String abiFilter ) { com.android.resources.Density densityEnum = com.android.resources.Density.getEnum ( densityFilter ) ; return new com.android.ide.common.build.SplitOutputMatcherTest.FakeSplitOutput ( densityEnum.getResourceValue ( ) , abiFilter ) ; }

Target:
private static com.android.build.SplitOutput getOutput ( int densityFilter , java.lang.String abiFilter , int versionCode ) { com.android.resources.Density densityEnum = com.android.resources.Density.getEnum ( densityFilter ) ; return new com.android.ide.common.build.SplitOutputMatcherTest.FakeSplitOutput ( densityEnum.getResourceValue ( ) , abiFilter , versionCode ) ; }
Source:
public native short getShort ( java.lang.Object obj , long offset ) ;

Target:
public native char getChar ( java.lang.Object obj , long offset ) ;
Source:
public static com.android.sdklib.repository.descriptors.IPkgDesc newPlatformTool ( @ com.android.annotations.NonNull final com.android.sdklib.repository.FullRevision revision ) { return new com.android.sdklib.repository.descriptors.PkgDesc ( ) { @ java.lang.Override public com.android.sdklib.repository.descriptors.PkgType getType ( ) { return PkgType.PKG_PLATFORM_TOOLS ; } @ java.lang.Override public com.android.sdklib.repository.FullRevision getFullRevision ( ) { return revision ; } } ; }

Target:
public boolean isUpdateFor ( @ com.android.annotations.NonNull com.android.sdklib.repository.descriptors.IPkgDesc existingDesc ) { return isGenericUpdateFor ( existingDesc ) ; }
Source:
public synchronized void removeTrue ( ) { ( this . numTrue ) -- ; ( this . total ) -- ; }

Target:
public synchronized void removeTrue ( ) { ( this . trueCount ) -- ; ( this . total ) -- ; }
Source:
public int answer ( java.lang.String permName , int uid ) throws java.lang.Exception { if ( ( uid == ( com.android.server.wifi.WifiConfigManagerTest.TEST_CREATOR_UID ) ) || ( uid == ( com.android.server.wifi.WifiConfigManagerTest.TEST_UPDATE_UID ) ) ) { return android.content.pm.PackageManager.PERMISSION_GRANTED ; } return android.content.pm.PackageManager.PERMISSION_DENIED ; }

Target:
public int answer ( java.lang.String permName , int uid ) throws java.lang.Exception { if ( ( ( uid == ( com.android.server.wifi.WifiConfigManagerTest.TEST_CREATOR_UID ) ) || ( uid == ( com.android.server.wifi.WifiConfigManagerTest.TEST_UPDATE_UID ) ) ) || ( uid == ( com.android.server.wifi.WifiConfigManagerTest.TEST_SYSUI_UID ) ) ) { return android.content.pm.PackageManager.PERMISSION_GRANTED ; } return android.content.pm.PackageManager.PERMISSION_DENIED ; }
Source:
public java.lang.reflect.Type getGenericComponentType ( ) { try { return ( ( org.apache.harmony.luni.lang.reflect.ImplForType ) ( componentType ) ) . getResolvedType ( ) ; } catch ( java.lang.ClassCastException e ) { return componentType ; } }

Target:
public java.lang.reflect.Type getGenericComponentType ( ) { try { return ( ( libcore.reflect.ParameterizedTypeImpl ) ( componentType ) ) . getResolvedType ( ) ; } catch ( java.lang.ClassCastException e ) { return componentType ; } }
Source:
native void rsnScriptInvoke ( long con , long id , int slot ) ;

Target:
native void rsnScriptInvoke ( long con , long id , int slot , boolean mUseInc ) ;
Source:
public void onVideoCallProviderChanged ( com.android.server.telecom.Call call ) { updateCall ( call , true ) ; }

Target:
public void onConnectionPropertiesChanged ( com.android.server.telecom.Call call , boolean didRttChange ) { updateCall ( call , false , didRttChange ) ; }
Source:
public int [ ] getRelevantUids ( ) { return getUidComplete ( ) . getRelevantUids ( checkAccessLevel ( mCallingPackage ) ) ; }

Target:
public android.net.NetworkStats getSummaryForNetwork ( android.net.NetworkTemplate template , long start , long end ) { return internalGetSummaryForNetwork ( template , flags , start , end , mAccessLevel , mCallingUid ) ; }
Source:
static float $opt$CharToFloat ( char a ) { return ( ( float ) ( a ) ) ; }

Target:
static float $opt$CharToFloat ( char a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( float ) ( a ) ) ; }
Source:
public void visitJumpInsn ( int opcode , org.objectweb.asm.Label label ) { printer.visitJumpInsn ( opcode , label ) ; printTypeOfOperandStackTop ( ) ; super . visitJumpInsn ( opcode , label ) ; }

Target:
public void visitLdcInsn ( java.lang.Object cst ) { printer.visitLdcInsn ( cst ) ; printTypeOfOperandStack ( ) ; super . visitLdcInsn ( cst ) ; }
Source:
public void scheduleConfigurationChanged ( android.content.res.Configuration config ) { updatePendingConfiguration ( config ) ; queueOrSendMessage ( android.app.ActivityThread.H.CONFIGURATION_CHANGED , config ) ; }

Target:
public void scheduleConfigurationChanged ( android.content.res.Configuration config ) { updatePendingConfiguration ( config ) ; sendMessage ( android.app.ActivityThread.H.CONFIGURATION_CHANGED , config ) ; }
Source:
public final void init ( int opmode , java.security.Key key , java.security.SecureRandom random ) throws java.security.InvalidKeyException { checkMode ( opmode ) ; spiImpl.engineInit ( opmode , key , random ) ; mode = opmode ; }

Target:
public final void init ( int opmode , java.security.Key key , java.security.AlgorithmParameters params , java.security.SecureRandom random ) throws java.security.InvalidAlgorithmParameterException , java.security.InvalidKeyException { checkMode ( opmode ) ; getSpi ( key ) . engineInit ( opmode , key , params , random ) ; mode = opmode ; }
Source:
void updateNowPlayingList ( java.util.List < android.media.session.MediaSession.QueueItem > queue ) { mNowPlayingList = queue ; }

Target:
void updateNowPlayingList ( @ android.annotation.Nullable com.android.bluetooth.avrcp.MediaController mediaController ) { getNowPlayingList ( mediaController ) ; }
Source:
public void requestIsimAuthentication ( java.lang.String nonce , android.os.Message response ) { unimplemented ( response ) ; }

Target:
public void invokeOemRilRequestStrings ( java.lang.String [ ] strings , android.os.Message response ) { if ( response != null ) { android.os.AsyncResult.forMessage ( response ) . result = strings ; response.sendToTarget ( ) ; } }
Source:
public void testMissingSerialVersionUid ( ) throws java.lang.Exception { java.lang.String s = "aced00057372002f6c6962636f72652e6a6176612e696f2e53657269616c697a6174696f6e54657" + "374244669656c64734368616e6765643bcfb934e310fa1c02000149000161787000000003" ; try { libcore.util.SerializationTester.deserializeHex ( s ) ; fail ( ) ; } catch ( java.io.InvalidClassException expected ) { } }

Target:
public void testMissingSerialVersionUid ( ) throws java.lang.Exception { java.lang.String s = "aced00057372002f6c6962636f72652e6a6176612e696f2e53657269616c697a6174696f6e54657" + "374244669656c64734368616e6765643bcfb934e310fa1c02000149000161787000000003" ; try { libcore.libcore.util.SerializationTester.deserializeHex ( s ) ; fail ( ) ; } catch ( java.io.InvalidClassException expected ) { } }
Source:
public void addEnum ( com.google.doclava.ClassInfo cls ) { this . mEnumsMap.put ( cls.name ( ) , cls ) ; }

Target:
public void addEnum ( com.google.doclava.ClassInfo cls ) { cls.setPackage ( this ) ; this . mEnumsMap.put ( cls.name ( ) , cls ) ; }
Source:
protected native int getTimeToLive ( ) throws java.io.IOException ;

Target:
protected int getTimeToLive ( ) throws java.io.IOException { return ( ( java.lang.Integer ) ( libcore.io.IoBridge.getSocketOption ( fd , libcore.io.IoBridge.JAVA_IP_MULTICAST_TTL ) ) ) ; }
Source:
static int $opt$NegInt ( int a ) { return - a ; }

Target:
private static double $opt$noinline$NegDouble ( double a ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return - a ; }
Source:
public void copy1DRangeFrom ( int off , int count , float [ ] d ) { validateIsFloat32 ( ) ; copy1DRangeFromUnchecked ( off , count , d ) ; }

Target:
public void copy1DRangeFromUnchecked ( int off , int count , java.lang.Object array ) { copy1DRangeFromUnchecked ( off , count , array , validateObjectIsPrimitiveArray ( array , false ) , java.lang.reflect.Array.getLength ( array ) ) ; }
Source:
public native void setInt ( java.lang.Object object , int value ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
public float getFloat ( java.lang.Object object ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException { return getFloat ( object , isAccessible ( ) ) ; }
Source:
public boolean isVoicemailDonationEnabled ( ) { return com.android.dialer.configprovider.ConfigProviderBindings.get ( context ) . getBoolean ( "voicemail_transcription_donation_enabled" , false ) ; }

Target:
public boolean isVoicemailDonationAvailable ( ) { return com.android.dialer.configprovider.ConfigProviderBindings.get ( context ) . getBoolean ( "voicemail_transcription_donation_available" , false ) ; }
Source:
public void validateValidConfig ( ) throws java.lang.Exception { android.net.wifi.hotspot2.PasspointConfiguration config = new android.net.wifi.hotspot2.PasspointConfiguration ( ) ; config.homeSp = android.net.wifi.hotspot2.PasspointConfigurationTest.createHomeSp ( ) ; config.credential = android.net.wifi.hotspot2.PasspointConfigurationTest.createCredential ( ) ; org.junit.Assert.assertTrue ( config.validate ( ) ) ; }

Target:
public void validateConfigWithoutPolicy ( ) throws java.lang.Exception { android.net.wifi.hotspot2.PasspointConfiguration config = android.net.wifi.hotspot2.PasspointConfigurationTest.createConfig ( ) ; config.policy = null ; org.junit.Assert.assertTrue ( config.validate ( ) ) ; }
Source:
public com.android.ims.internal.IImsEcbm getEcbmInterface ( int sessionId ) throws android.os.RemoteException { checkBinderConnection ( ) ; return getServiceInterface ( mBinder ) . getEcbmInterface ( sessionId ) ; }

Target:
public void setUiTTYMode ( int uiTtyMode , android.os.Message onComplete ) throws android.os.RemoteException { checkBinderConnection ( ) ; getServiceInterface ( mBinder ) . setUiTTYMode ( android.telephony.ims.ImsServiceProxyCompat.SERVICE_ID , uiTtyMode , onComplete ) ; }
Source:
public java.lang.Boolean ipSecGetTransformStatus ( java.lang.String id ) { android.net.IpSecTransform transform = com.googlecode.android_scripting.facade.IpSecManagerFacade.mTransformHashMap.get ( id ) ; if ( transform == null ) { com.googlecode.android_scripting.Log.e ( "IpSec: Transform does not exist for the requested id" ) ; return false ; } return true ; }

Target:
public java.lang.Boolean ipSecGetTransformStatus ( java.lang.String id ) { android.net.IpSecTransform transform = com.googlecode.android_scripting.facade.IpSecManagerFacade.sTransformHashMap.get ( id ) ; if ( transform == null ) { com.googlecode.android_scripting.Log.e ( "IpSec: Transform does not exist for the requested id" ) ; return false ; } return true ; }
Source:
public native char getChar ( java.lang.Object object ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
private native char getChar ( java.lang.Object object , boolean accessible ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;
Source:
public static int IntSubtraction ( ) { int a ; int b ; int c ; a = 6 ; b = 2 ; c = a - b ; return c ; }

Target:
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 ; }
Source:
public void testPackageUseInfoNotFound ( ) { org.junit.Assert.assertNull ( getPackageUseInfo ( mFooUser0 ) ) ; }

Target:
public void testPackageUseInfoNotFound ( ) { assertNoUseInfo ( mFooUser0 ) ; }
Source:
public final int getAccessFlags ( ) { return artMethod.getAccessFlags ( ) ; }

Target:
java.lang.Class < ? > getDeclaringClass ( ) { return declaringClass ; }
Source:
public void close ( ) throws java.io.IOException { if ( ( java.net.ResponseCache.getDefault ( ) ) == ( this . delegate ) ) { java.net.ResponseCache.setDefault ( null ) ; } delegate.close ( ) ; }

Target:
public void delete ( ) throws java.io.IOException { if ( ( java.net.ResponseCache.getDefault ( ) ) == ( this ) ) { java.net.ResponseCache.setDefault ( null ) ; } delegate.delete ( ) ; }
Source:
public static native byte [ ] i2d_RSAPublicKey ( int rsa ) ;

Target:
public static native byte [ ] [ ] get_RSA_public_params ( long rsa ) ;
Source:
public void onReceiveValue ( java.lang.String savedName ) { assertEquals ( expectName , savedName ) ; saving.release ( ) ; }

Target:
public boolean check ( ) { return android.webkit.WebViewDatabase.getInstance ( getActivity ( ) ) . hasFormData ( ) ; }
Source:
public static java.nio.IntBuffer allocate ( int capacity ) { if ( capacity < 0 ) { throw new java.lang.IllegalArgumentException ( ( "capacity < 0: " + capacity ) ) ; } return new java.nio.ReadWriteIntArrayBuffer ( capacity ) ; }

Target:
public static java.nio.IntBuffer allocate ( int capacity ) { if ( capacity < 0 ) { throw new java.lang.IllegalArgumentException ( ( "capacity < 0: " + capacity ) ) ; } return new java.nio.IntArrayBuffer ( new int [ capacity ] ) ; }