auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
private void expandOrCollapseViewHolder ( com.android.dialer.voicemail.listui.NewVoicemailViewHolder viewHolder ) { if ( ( viewHolder.getViewHolderId ( ) ) == ( currentlyExpandedViewHolderId ) ) { viewHolder.expandViewHolder ( ) ; } else { viewHolder.collapseViewHolder ( ) ; } }

Target:
private boolean isCurrentlyExpandedViewHolderInViewHolderSet ( ) { for ( com.android.dialer.voicemail.listui.NewVoicemailViewHolder viewHolder : newVoicemailViewHolderSet ) { if ( ( viewHolder.getViewHolderId ( ) ) == ( currentlyExpandedViewHolderId ) ) { return true ; } } return false ; }
Source:
public void replaceWith ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JBasicBlock block ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
void addPredecessor ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JBasicBlock predecessor ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public void testVFE5 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.div_long.d.T_div_long_2" ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testE1 ( ) { loadAndRun ( "dot.junit.opcodes.div_long.d.T_div_long_1" , java.lang.ArithmeticException.class , 12345678912345L , 0 ) ; }
Source:
public static void deleteGist ( @ org.jetbrains.annotations.NotNull org.jetbrains.plugins.github.api.GithubAuthData auth , @ org.jetbrains.annotations.NotNull java.lang.String id ) throws java.io.IOException { java.lang.String path = "/gists/" + id ; org.jetbrains.plugins.github.api.GithubApiUtil.deleteRequest ( auth , path ) ; }

Target:
public static void deleteGist ( @ org.jetbrains.annotations.NotNull org.jetbrains.plugins.github.util.GithubAuthData auth , @ org.jetbrains.annotations.NotNull java.lang.String id ) throws java.io.IOException { java.lang.String path = "/gists/" + id ; org.jetbrains.plugins.github.api.GithubApiUtil.deleteRequest ( auth , path ) ; }
Source:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { java.lang.System.out.println ( "thread test starting" ) ; Main.testThreadCapacity ( ) ; Main.testThreadDaemons ( ) ; Main.testSleepZero ( ) ; java.lang.System.out.println ( "thread test done" ) ; }

Target:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { java.lang.System.out.println ( "thread test starting" ) ; Main.testThreadCapacity ( ) ; Main.testThreadDaemons ( ) ; Main.testSleepZero ( ) ; Main.testSetName ( ) ; java.lang.System.out.println ( "thread test done" ) ; }
Source:
java.lang.Boolean getIsRenderscriptDebuggable ( ) ;

Target:
java.lang.Boolean getRenderscriptDebuggable ( ) ;
Source:
public void onDamage ( final int startRow , final int endRow , int startCol , int endCol ) { post ( mDamageRunnable ) ; }

Target:
public void onMoveRect ( int destStartRow , int destEndRow , int destStartCol , int destEndCol , int srcStartRow , int srcEndRow , int srcStartCol , int srcEndCol ) { post ( mDamageRunnable ) ; }
Source:
public final java.lang.String getApplicationProtocol​() { return engine.getApplicationProtocol​(); }

Target:
public final java.lang.String getApplicationProtocol ( ) { return engine.getApplicationProtocol ( ) ; }
Source:
public boolean isLeExtendedAdvertisingSupported ( ) { return false ; }

Target:
public boolean isLe2MPhySupported ( ) { com.android.bluetooth.btservice.AdapterService service = getService ( ) ; if ( service == null ) return false ; return service.isLe2MPhySupported ( ) ; }
Source:
private void readMeminfoDataset ( java.io.BufferedReader br ) throws java.io.IOException { updateDataSet ( com.android.ddmuilib.SysinfoPanel.BugReportParser.readMeminfoDataset ( br ) , "PSS in kB" ) ; }

Target:
private void readMeminfoDataset ( java.io.BufferedReader br ) throws java.io.IOException { updatePieDataSet ( com.android.ddmuilib.SysinfoPanel.BugReportParser.readMeminfoDataset ( br ) , "PSS in kB" ) ; }
Source:
public void handleMessage ( android.os.Message msg ) { if ( ( dcTrackerMock ) == null ) dcTrackerMock = new com.android.internal.telephony.mocks.DcTrackerMock ( ) ; }

Target:
public void onLooperPrepared ( ) { synchronized ( mLock ) { if ( ( dcTrackerMock ) == null ) dcTrackerMock = new com.android.internal.telephony.mocks.DcTrackerMock ( ) ; mLock.notifyAll ( ) ; } }
Source:
public void execute ( java.lang.Runnable command ) { new java.lang.Thread ( command , getServiceName ( ) ) . start ( ) ; }

Target:
public void execute ( java.lang.Runnable command ) { com.google.common.util.concurrent.MoreExecutors.newThread ( serviceName ( ) , command ) . start ( ) ; }
Source:
public void testNonFullscreenActivityPermitted ( ) throws java.lang.Exception { setComponentName ( android.server.cts.ActivityManagerAppConfigurationTests.TRANSLUCENT_CURRENT_PACKAGE ) ; setDeviceRotation ( 0 ) ; launchActivity ( android.server.cts.ActivityManagerAppConfigurationTests.TRANSLUCENT_ACTIVITY ) ; mAmWmState.assertResumedActivity ( "target SDK non-fullscreen activity should be allowed to launch" , android.server.cts.ActivityManagerAppConfigurationTests.TRANSLUCENT_ACTIVITY ) ; assertEquals ( "non-fullscreen activity requested landscape orientation" , 0 , mAmWmState.getWmState ( ) . getLastOrientation ( ) ) ; }

Target:
public void testNonFullscreenActivityPermitted ( ) throws java.lang.Exception { setComponentName ( android.server.cts.ActivityManagerAppConfigurationTests.TRANSLUCENT_SDK_26_PACKAGE ) ; setDeviceRotation ( 0 ) ; launchActivity ( android.server.cts.ActivityManagerAppConfigurationTests.TRANSLUCENT_ACTIVITY ) ; mAmWmState.assertResumedActivity ( "target SDK <= 26 non-fullscreen activity should be allowed to launch" , android.server.cts.ActivityManagerAppConfigurationTests.TRANSLUCENT_ACTIVITY ) ; assertEquals ( "non-fullscreen activity requested landscape orientation" , 0 , mAmWmState.getWmState ( ) . getLastOrientation ( ) ) ; }
Source:
public void getFocusDistances ( float [ ] output ) { if ( ( output == null ) || ( ( output.length ) != 3 ) ) { throw new java.lang.IllegalArgumentException ( "output must be an float array with three elements." ) ; } splitFloat ( get ( android.hardware.Camera.Parameters.KEY_FOCUS_DISTANCES ) , output ) ; }

Target:
public void getFocusDistances ( float [ ] output ) { if ( ( output == null ) || ( ( output.length ) != 3 ) ) { throw new java.lang.IllegalArgumentException ( "output must be a float array with three elements." ) ; } splitFloat ( get ( android.hardware.Camera.Parameters.KEY_FOCUS_DISTANCES ) , output ) ; }
Source:
protected void visitAnnotationName ( int nameIndex ) { }

Target:
public float readFloat ( ) { checkType ( com.android.dx.io.EncodedValueReader.ENCODED_FLOAT ) ; type = com.android.dx.io.EncodedValueReader.MUST_READ ; return java.lang.Float.intBitsToFloat ( com.android.dx.util.EncodedValueUtils.readUnsignedInt ( in , arg , true ) ) ; }
Source:
private void setInput ( java.lang.Readable input ) { this . input = input ; buffer.limit ( 0 ) ; matcher = delimiter.matcher ( buffer ) ; }

Target:
private void initialize ( java.lang.Readable input ) { this . input = input ; matcher = delimiter.matcher ( "" ) ; matcher.useTransparentBounds ( true ) ; matcher.useAnchoringBounds ( false ) ; }
Source:
public static com.android.ahat.heapdump.AhatSnapshot parseHeapDump ( java.nio.ByteBuffer hprof , com.android.ahat.proguard.ProguardMap map ) throws com.android.ahat.heapdump.HprofFormatException , java.io.IOException { return com.android.ahat.heapdump.Parser.parseHeapDump ( new com.android.ahat.heapdump.Parser.HprofBuffer ( hprof ) , map ) ; }

Target:
public static com.android.ahat.heapdump.AhatSnapshot parseHeapDump ( java.nio.ByteBuffer hprof , com.android.ahat.proguard.ProguardMap map ) throws com.android.ahat.heapdump.HprofFormatException , java.io.IOException { try { return com.android.ahat.heapdump.Parser.parseHeapDump ( new com.android.ahat.heapdump.Parser.HprofBuffer ( hprof ) , map ) ; } catch ( java.nio.BufferUnderflowException e ) { throw new com.android.ahat.heapdump.HprofFormatException ( "Unexpected end of file" , e ) ; } }
Source:
public static long Mul1 ( long arg ) { return arg * 1 ; }

Target:
public static long $noinline$Mul1 ( long arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg * 1 ; }
Source:
public void setListener ( com.android.ims.internal.IImsCallSessionListener listener ) throws android.os.RemoteException { }

Target:
public void setListener ( android.telephony.ims.aidl.IImsCallSessionListener listener ) { this . setListener ( new android.telephony.ims.ImsCallSessionListener ( listener ) ) ; }
Source:
public void generateApkDataEntryInManifest ( @ com.android.annotations.NonNull java.io.File manifestFile ) throws com.android.ide.common.internal.LoggedErrorException , java.io.IOException , java.lang.InterruptedException { java.lang.String content = ( ( ( ( ( ( ( "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" + ( ( "<manifest package=\"\" xmlns:android=\"http://schemas.android.com/apk/res/android\">\n" + " <application>\n" ) + " <meta-data android:name=\"" ) ) + ( com.android.builder.core.BuilderConstants.ANDROID_WEAR ) ) + "\"\n" ) + " android:resource=\"@xml/" ) + ( com.android.builder.core.BuilderConstants.ANDROID_WEAR_MICRO_APK ) ) + "\" />\n" ) + " </application>\n" ) + "</manifest>\n" ; com.google.common.io.Files.write ( content , manifestFile , com.google.common.base.Charsets.UTF_8 ) ; }

Target:
public void generateApkDataEntryInManifest ( int minSdkVersion , @ com.android.annotations.NonNull java.io.File manifestFile ) throws com.android.ide.common.internal.LoggedErrorException , java.io.IOException , java.lang.InterruptedException { java.lang.String content = ( ( ( ( ( ( ( ( ( ( ( "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" + ( "<manifest package=\"\" xmlns:android=\"http://schemas.android.com/apk/res/android\">\n" + " <uses-sdk android:minSdkVersion=\"" ) ) + minSdkVersion ) + "\"/>\n" ) + " <application>\n" ) + " <meta-data android:name=\"" ) + ( com.android.builder.core.BuilderConstants.ANDROID_WEAR ) ) + "\"\n" ) + " android:resource=\"@xml/" ) + ( com.android.builder.core.BuilderConstants.ANDROID_WEAR_MICRO_APK ) ) + "\" />\n" ) + " </application>\n" ) + "</manifest>\n" ; com.google.common.io.Files.write ( content , manifestFile , com.google.common.base.Charsets.UTF_8 ) ; }
Source:
public com.android.volley.toolbox.ImageLoader.ImageContainer get ( java.lang.String requestUrl , final com.android.volley.toolbox.ImageLoader.ImageListener listener ) { return get ( requestUrl , listener , 0 , 0 ) ; }

Target:
public com.android.volley.toolbox.ImageLoader.ImageContainer get ( java.lang.String requestUrl , final com.android.volley.toolbox.ImageLoader.ImageListener listener ) { return get ( requestUrl , listener , 0 , 0 , ScaleType.CENTER_INSIDE ) ; }
Source:
public void sendDtmf ( char c , android.os.Message result ) { logi ( ( "sendDtmf :: code=" + c ) ) ; synchronized ( mLockObj ) { if ( ( mSession ) != null ) { mSession.sendDtmf ( c , result ) ; } } }

Target:
public void stopDtmf ( ) { logi ( "stopDtmf :: " ) ; synchronized ( mLockObj ) { if ( ( mSession ) != null ) { mSession.stopDtmf ( ) ; } } }
Source:
private static native java.lang.String nativeLoad ( java.lang.String filename , java.lang.ClassLoader loader , java.lang.String ldLibraryPath ) ;

Target:
private static native java.lang.String nativeLoad ( java.lang.String filename , java.lang.ClassLoader loader , java.lang.String ldLibraryPath , java.lang.String dexPath ) ;
Source:
public void testFocusedViewInMenu ( ) { mMenuHelper.showMenu ( ) ; mDevice.pressKeyCode ( KeyEvent.KEYCODE_MEDIA_PLAY ) ; assertButtonHasFocus ( com.android.tv.tests.ui.PlayControlsRowViewTest.BUTTON_INDEX_PLAY_PAUSE ) ; mMenuHelper.assertNavigateToRow ( R.string.menu_title_channels ) ; mDevice.pressKeyCode ( KeyEvent.KEYCODE_MEDIA_NEXT ) ; assertButtonHasFocus ( com.android.tv.tests.ui.PlayControlsRowViewTest.BUTTON_INDEX_PLAY_PAUSE ) ; }

Target:
public void testFocusedViewInMenu ( ) { mMenuHelper.showMenu ( ) ; mDevice.pressKeyCode ( KeyEvent.KEYCODE_MEDIA_PLAY ) ; assertButtonHasFocus ( com.android.tv.tests.ui.PlayControlsRowViewTest.BUTTON_ID_PLAY_PAUSE ) ; mMenuHelper.assertNavigateToRow ( R.string.menu_title_channels ) ; mDevice.pressKeyCode ( KeyEvent.KEYCODE_MEDIA_NEXT ) ; assertButtonHasFocus ( com.android.tv.tests.ui.PlayControlsRowViewTest.BUTTON_ID_PLAY_PAUSE ) ; }
Source:
public void testDuplicateActivity ( ) throws java.lang.Exception { mEnabled = java.util.Collections.singleton ( ManifestOrderDetector.DUPLICATE_ACTIVITY ) ; assertEquals ( ( "AndroidManifest.xml:16: Error: Duplicate registration for activity com.example.helloworld.HelloWorld [DuplicateActivity]\n" + ( ( ( " <activity android:name=\"com.example.helloworld.HelloWorld\"\n" + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "1 errors, 0 warnings\n" ) + "" ) ) , lintProject ( "duplicate-manifest.xml=>AndroidManifest.xml" , "res/values/strings.xml" ) ) ; }

Target:
public void testDuplicateActivity ( ) throws java.lang.Exception { mEnabled = java.util.Collections.singleton ( ManifestDetector.DUPLICATE_ACTIVITY ) ; assertEquals ( ( "AndroidManifest.xml:16: Error: Duplicate registration for activity com.example.helloworld.HelloWorld [DuplicateActivity]\n" + ( ( ( " <activity android:name=\"com.example.helloworld.HelloWorld\"\n" + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "1 errors, 0 warnings\n" ) + "" ) ) , lintProject ( "duplicate-manifest.xml=>AndroidManifest.xml" , "res/values/strings.xml" ) ) ; }
Source:
public boolean equals ( java.lang.Object qualifier ) { if ( qualifier instanceof com.android.ide.eclipse.adt.internal.resources.configurations.VersionQualifier ) { return ( mVersion ) == ( ( ( com.android.ide.eclipse.adt.internal.resources.configurations.VersionQualifier ) ( qualifier ) ) . mVersion ) ; } return false ; }

Target:
public boolean equals ( java.lang.Object qualifier ) { if ( qualifier instanceof com.android.ide.common.resources.configuration.VersionQualifier ) { return ( mVersion ) == ( ( ( com.android.ide.common.resources.configuration.VersionQualifier ) ( qualifier ) ) . mVersion ) ; } return false ; }
Source:
public android.net.IpSecTransform.Builder setAuthentication ( @ android.net.IpSecTransform.TransformDirection int direction , android.net.IpSecAlgorithm algo ) { mConfig.flow [ direction ] . authentication = algo ; return this ; }

Target:
public android.net.IpSecTransform buildTransportModeTransform ( java.net.InetAddress remoteAddress ) throws IpSecManager.ResourceUnavailableException , IpSecManager.SpiUnavailableException , java.io.IOException { mConfig.setMode ( android.net.IpSecTransform.MODE_TRANSPORT ) ; mConfig.setRemoteAddress ( remoteAddress.getHostAddress ( ) ) ; return new android.net.IpSecTransform ( mContext , mConfig ) . activate ( ) ; }
Source:
public void testConstructor_NullCanonicalName ( ) { try { tests.api.java.nio.charset.CharsetTest.MockCharset c = new tests.api.java.nio.charset.CharsetTest.MockCharset ( null , new java.lang.String [ ] { "mock" } ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }

Target:
public void testConstructor_NullCanonicalName ( ) { try { org.apache.harmony.tests.java.nio.charset.CharsetTest.MockCharset c = new org.apache.harmony.tests.java.nio.charset.CharsetTest.MockCharset ( null , new java.lang.String [ ] { "mock" } ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }
Source:
protected void dump ( java.io.FileDescriptor fd , java.io.PrintWriter writer , java.lang.String [ ] args ) { mProvider.dump ( fd , writer , args ) ; }

Target:
protected void dump ( java.io.FileDescriptor fd , java.io.PrintWriter writer , java.lang.String [ ] args ) { mProvider.dump ( fd , writer , args ) ; mWifiNotificationController.dump ( fd , writer , args ) ; mWifiWakeupController.dump ( fd , writer , args ) ; }
Source:
public void testE2 ( ) { dot.junit.opcodes.aget_short.d.T_aget_short_1 t = new dot.junit.opcodes.aget_short.d.T_aget_short_1 ( ) ; try { t.run ( null , 2 ) ; fail ( "expected NullPointerException" ) ; } catch ( java.lang.NullPointerException aie ) { } }

Target:
public void testE2 ( ) { loadAndRun ( "dot.junit.opcodes.aget_short.d.T_aget_short_1" , java.lang.NullPointerException.class , null , 2 ) ; }
Source:
public void disconnectFromPlayer ( ) { if ( com.android.bluetooth.avrcp.BrowsedMediaPlayer.DEBUG ) android.util.Log.d ( com.android.bluetooth.avrcp.BrowsedMediaPlayer.TAG , "disconnectFromPlayer" ) ; mMediaBrowser.disconnect ( ) ; }

Target:
public void cleanup ( ) { if ( com.android.bluetooth.avrcp.BrowsedMediaPlayer.DEBUG ) android.util.Log.d ( com.android.bluetooth.avrcp.BrowsedMediaPlayer.TAG , "cleanup" ) ; if ( ( mConnState ) != ( com.android.bluetooth.avrcp.BrowsedMediaPlayer.DISCONNECTED ) ) { mMediaBrowser.disconnect ( ) ; } mHmap = null ; mMediaController = null ; mMediaBrowser = null ; }
Source:
public void setModulesToImport ( java.util.Map < java.lang.String , java.io.File > modules ) { mSelectedModules = com.google.common.collect.ImmutableSet.copyOf ( modules.keySet ( ) ) ; }

Target:
public void setModulesToImport ( java.util.Map < java.lang.String , java.io.File > modules ) { mSelectedModules = com.google.common.collect.Maps.newHashMap ( ) ; for ( java.io.File module : modules.values ( ) ) { mSelectedModules.put ( module , null ) ; } }
Source:
public java.lang.String apply ( @ org.jetbrains.annotations.NotNull org.jetbrains.plugins.gradle.settings.GradleSettings settings ) { if ( myServiceDirectoryPathModifiedByUser ) { settings.setServiceDirectoryPath ( com.intellij.openapi.externalSystem.util.ExternalSystemApiUtil.normalizePath ( myServiceDirectoryPathField.getText ( ) ) ) ; } return null ; }

Target:
public java.lang.String apply ( @ org.jetbrains.annotations.NotNull org.jetbrains.plugins.gradle.settings.GradleSettings settings ) { if ( myServiceDirectoryPathModifiedByUser ) { settings.setServiceDirectoryPath ( com.intellij.openapi.externalSystem.util.ExternalSystemApiUtil.normalizePath ( myServiceDirectoryPathField.getText ( ) ) ) ; } settings.setGradleVmOptions ( org.jetbrains.plugins.gradle.service.settings.GradleSystemSettingsControl.trimIfPossible ( myGradleVmOptionsField.getText ( ) ) ) ; return null ; }
Source:
public void onSearchBarClicked ( ) { openSearch ( com.google.common.base.Optional.absent ( ) ) ; }

Target:
public void onSearchBarClicked ( ) { com.android.dialer.logging.Logger.get ( mainActivity ) . logImpression ( DialerImpression.Type.NUI_CLICK_SEARCH_BAR ) ; openSearch ( com.google.common.base.Optional.absent ( ) ) ; }
Source:
public int getSerializedSize ( ) { cachedSize = 0 ; return 0 ; }

Target:
public final int getSerializedSize ( ) { int size = computeSerializedSize ( ) ; cachedSize = size ; return size ; }
Source:
public static final java.util.ResourceBundle getBundle ( java.lang.String baseName , java.util.Locale locale ) { return java.util.ResourceBundle.getBundleImpl ( baseName , locale , java.util.ResourceBundle.getLoader ( dalvik.system.VMStack.getCallingClassLoader ( ) ) , java.util.ResourceBundle.Control.INSTANCE ) ; }

Target:
public static final java.util.ResourceBundle getBundle ( java.lang.String baseName , java.util.Locale locale ) { return java.util.ResourceBundle.getBundleImpl ( baseName , locale , java.util.ResourceBundle.getLoader ( dalvik.system.VMStack.getCallingClassLoader ( ) ) , java.util.ResourceBundle.getDefaultControl ( baseName ) ) ; }
Source:
public void launchFragment ( ) { com.android.settings.SettingsRobolectricTestRunner.startSettingsFragment ( mFragment , Settings.ManageApplicationsActivity.class ) ; }

Target:
public void launchFragment ( ) { com.android.settings.testutils.SettingsRobolectricTestRunner.startSettingsFragment ( mFragment , Settings.ManageApplicationsActivity.class ) ; }
Source:
public void testCaseSensitive ( ) { org.junit.Assert.assertFalse ( new org.jacoco.core.runtime.WildcardMatcher ( "abcdef" ) . matches ( "abcDef" ) ) ; org.junit.Assert.assertFalse ( new org.jacoco.core.runtime.WildcardMatcher ( "ABCDEF" ) . matches ( "AbCDEF" ) ) ; }

Target:
public void testCaseSensitive ( ) { org.junit.Assert.assertFalse ( new org.jacoco.core.matcher.WildcardMatcher ( "abcdef" ) . matches ( "abcDef" ) ) ; org.junit.Assert.assertFalse ( new org.jacoco.core.matcher.WildcardMatcher ( "ABCDEF" ) . matches ( "AbCDEF" ) ) ; }
Source:
public void onCreate ( android.os.Bundle savedInstanceState ) { super . onCreate ( savedInstanceState ) ; setContentView ( R.layout.main ) ; }

Target:
public void onCreate ( android.os.Bundle savedInstanceState ) { super . onCreate ( savedInstanceState ) ; setContentView ( R.layout.basiclib_main ) ; }
Source:
native void rsnAllocationData3D ( int con , int id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , short [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationData3D ( long con , long dstAlloc , int dstXoff , int dstYoff , int dstZoff , int dstMip , int width , int height , int depth , long srcAlloc , int srcXoff , int srcYoff , int srcZoff , int srcMip ) ;
Source:
void expandViewHolder ( ) { transcriptionTextView.setMaxLines ( 999 ) ; isViewHolderExpanded = true ; mediaPlayerView.setVisibility ( View.VISIBLE ) ; }

Target:
void collapseViewHolder ( ) { transcriptionTextView.setMaxLines ( 1 ) ; isViewHolderExpanded = false ; mediaPlayerView.setVisibility ( View.GONE ) ; }
Source:
public void starting ( ) { }

Target:
void call ( com.google.common.util.concurrent.Service.Listener listener ) { listener.terminated ( from ) ; }
Source:
public boolean clearBcb ( ) { if ( com.android.server.RecoverySystemService.DEBUG ) android.util.Slog.d ( com.android.server.RecoverySystemService.TAG , "clearBcb" ) ; return setupOrClearBcb ( false , null ) ; }

Target:
public boolean clearBcb ( ) { if ( com.android.server.RecoverySystemService.DEBUG ) android.util.Slog.d ( com.android.server.RecoverySystemService.TAG , "clearBcb" ) ; synchronized ( com.android.server.RecoverySystemService.sRequestLock ) { return setupOrClearBcb ( false , null ) ; } }
Source:
public static java.lang.String apiToMagic ( int targetApiLevel ) { java.lang.String version ; if ( targetApiLevel >= ( com.android.dx.dex.DexFormat.API_CURRENT ) ) { version = com.android.dx.dex.DexFormat.VERSION_CURRENT ; } else { version = com.android.dx.dex.DexFormat.VERSION_FOR_API_13 ; } return ( ( com.android.dx.dex.DexFormat.MAGIC_PREFIX ) + version ) + ( com.android.dx.dex.DexFormat.MAGIC_SUFFIX ) ; }

Target:
public static java.lang.String apiToMagic ( int targetApiLevel ) { java.lang.String version ; if ( targetApiLevel >= ( com.android.dex.DexFormat.API_CURRENT ) ) { version = com.android.dex.DexFormat.VERSION_CURRENT ; } else { version = com.android.dex.DexFormat.VERSION_FOR_API_13 ; } return ( ( com.android.dex.DexFormat.MAGIC_PREFIX ) + version ) + ( com.android.dex.DexFormat.MAGIC_SUFFIX ) ; }
Source:
public java.lang.String getIccSerialNumber ( ) { return mIccRecords.iccid ; }

Target:
public java.lang.String getIccSerialNumber ( ) { com.android.internal.telephony.IccRecords r = mIccRecords.get ( ) ; return r != null ? r.iccid : "" ; }
Source:
public void setPlaybackStateForRcc ( int rccId , int state , long timeMs , float speed ) { mMediaFocusControl.setPlaybackStateForRcc ( rccId , state , timeMs , speed ) ; }

Target:
static void init ( android.content.Context ctxt ) { android.view.accessibility.AccessibilityManager accessibilityManager = ( ( android.view.accessibility.AccessibilityManager ) ( ctxt.getSystemService ( Context.ACCESSIBILITY_SERVICE ) ) ) ; android.media.AudioService.StreamOverride.updateDefaultStreamOverrideDelay ( accessibilityManager.isTouchExplorationEnabled ( ) ) ; accessibilityManager.addTouchExplorationStateChangeListener ( new android.media.AudioService.StreamOverride ( ) ) ; }
Source:
public void tagAll ( com.google.doclava.ClassInfo [ ] classDocs ) { initialize ( ) ; for ( com.google.doclava.FederatedSite site : federatedSites ) { applyFederation ( site , classDocs ) ; } }

Target:
public void tagAll ( java.util.Collection < com.google.doclava.ClassInfo > classDocs ) { initialize ( ) ; for ( com.google.doclava.FederatedSite site : federatedSites ) { applyFederation ( site , classDocs ) ; } }
Source:
public void testWildcardMatchingSubstring ( ) { assertTrue ( verifier.verifyHostName ( "b.c.d" , "b*.c.d" ) ) ; assertTrue ( verifier.verifyHostName ( "imap.google.com" , "ima*.google.com" ) ) ; }

Target:
public void testWildcardMatchingEmptySubstring ( ) { assertTrue ( verifyWithDomainNamePattern ( "imap.google.com" , "imap*.google.com" ) ) ; }
Source:
private static void $opt$InplaceNegOneInt ( int a ) { a = - a ; Main.expectEquals ( ( - 1 ) , a ) ; }

Target:
private static void $opt$InplaceNegOneLong ( long a ) { a = - a ; Main.assertEquals ( ( - 1L ) , a ) ; }
Source:
public static double DoubleDivision ( ) { double a ; double b ; double c ; a = Main.$inline$double ( 8.0 ) ; b = Main.$inline$double ( 2.5 ) ; c = a / b ; return c ; }

Target:
public static float FloatRemainder ( ) { float a ; float b ; float c ; a = 8.0F ; b = 2.5F ; c = a % b ; return c ; }
Source:
synchronized void nAllocationElementData1D ( int id , int xoff , int mip , int compIdx , byte [ ] d , int sizeBytes ) { validate ( ) ; rsnAllocationElementData1D ( mContext , id , xoff , mip , compIdx , d , sizeBytes ) ; }

Target:
synchronized void nAllocationData1D ( long id , int off , int mip , int count , float [ ] d , int sizeBytes ) { validate ( ) ; rsnAllocationData1D ( mContext , id , off , mip , count , d , sizeBytes ) ; }
Source:
public java.util.List getCertificates ( ) { return java.util.Collections.unmodifiableList ( certificates ) ; }

Target:
public java.util.List < java.security.cert.X509Certificate > getCertificates ( ) { return java.util.Collections.unmodifiableList ( certificates ) ; }
Source:
public void showDropDown ( ) { setupDropDown ( ) ; super . showDropDown ( ) ; }

Target:
void forceFilter ( ) { showDropDown ( ) ; }
Source:
public boolean addOrUpdatePasspointConfiguration ( android.net.wifi.hotspot2.PasspointConfiguration config ) { enforceChangePermission ( ) ; return mPasspointManager.addOrUpdateProvider ( config ) ; }

Target:
public boolean addOrUpdatePasspointConfiguration ( android.net.wifi.hotspot2.PasspointConfiguration config ) { enforceChangePermission ( ) ; mLog.trace ( "addorUpdatePasspointConfiguration uid=%" ) . c ( android.os.Binder.getCallingUid ( ) ) . flush ( ) ; return mPasspointManager.addOrUpdateProvider ( config ) ; }
Source:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAlloc expr ) { performCommonChecks ( expr ) ; otherOrMe ( expr ) ; }

Target:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JCatchBasicBlock block ) { super . endVisit ( block ) ; com.android.jack.ir.ast.cfg.JCatchBasicBlock other = otherOrMe ( block ) ; ensure ( equal ( other.getCatchTypes ( ) , block.getCatchTypes ( ) ) ) ; }
Source:
public org.bouncycastle.math.ec.ECFieldElement divide ( org.bouncycastle.math.ec.ECFieldElement b ) { return new org.bouncycastle.math.ec.ECFieldElement.Fp ( q , modMult ( x , b.toBigInteger ( ) . modInverse ( q ) ) ) ; }

Target:
public org.bouncycastle.math.ec.ECFieldElement negate ( ) { return ( x.signum ( ) ) == 0 ? this : new org.bouncycastle.math.ec.ECFieldElement.Fp ( q , r , q.subtract ( x ) ) ; }
Source:
public void openConnection ( ) { debuggeeWrapper.openConnection ( ) ; logWriter.println ( "Opened transport connection" ) ; debuggeeWrapper.vmMirror.adjustTypeLength ( ) ; logWriter.println ( "Adjusted VM-dependent type lengths" ) ; }

Target:
protected void openConnectionWithoutTypeLength ( ) { debuggeeWrapper.openConnection ( ) ; logWriter.println ( "Opened transport connection" ) ; }
Source:
public void traverse ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JVisitor visitor ) { throw new java.lang.AssertionError ( "JDeadCodeStatement is not usable by JVisitor" ) ; }

Target:
void addPeiBasicBlock ( @ javax.annotation.Nonnull com.android.jack.cfg.PeiBasicBlock block , @ javax.annotation.CheckForNull com.android.jack.ir.ast.JStatement targetStatement , @ javax.annotation.Nonnull java.util.List < com.android.jack.ir.ast.JCatchBlock > catchBlocks ) { assert block != null ; assert catchBlocks != null ; blocksToResolve.add ( new com.android.jack.cfg.ForwardBranchResolver.PeiBasicBlockToResolve ( block , targetStatement , catchBlocks ) ) ; }
Source:
public static void setCleartextTrafficPermitted ( boolean permitted ) { libcore.net.NetworkSecurityPolicy.cleartextTrafficPermitted = permitted ; }

Target:
public static void setInstance ( libcore.net.NetworkSecurityPolicy policy ) { if ( policy == null ) { throw new java.lang.NullPointerException ( "policy == null" ) ; } libcore.net.NetworkSecurityPolicy.instance = policy ; }
Source:
public java.nio.ByteBuffer getByteBuffer ( long offset , int size ) { checkChunkValid ( offset , size ) ; return java.nio.ByteBuffer.wrap ( mArray , ( ( int ) ( offset ) ) , size ) ; }

Target:
public java.nio.ByteBuffer getByteBuffer ( long offset , int size ) { checkChunkValid ( offset , size ) ; return java.nio.ByteBuffer.wrap ( mArray , ( ( int ) ( offset ) ) , size ) . slice ( ) ; }
Source:
public boolean sameItemAs ( java.lang.Package pkg ) { return sameItemAs ( pkg , false ) ; }

Target:
public boolean sameItemAs ( java.lang.Package pkg ) { return sameItemAs ( pkg , PreviewComparison.COMPARE_TYPE ) ; }
Source:
public void testAccept_NonBlock_NoConnect ( ) throws java.io.IOException { this . serverChannel.bind ( null ) ; this . serverChannel.configureBlocking ( false ) ; assertNull ( this . serverChannel.accept ( ) ) ; }

Target:
public void testAccept_NonBlock_NoConnect ( ) throws java.io.IOException { this . serverChannel.socket ( ) . bind ( null ) ; this . serverChannel.configureBlocking ( false ) ; assertNull ( this . serverChannel.accept ( ) ) ; }
Source:
public static float $noinline$floatAddSubSimplifyArg1 ( float x , float y ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } float sum = x + y ; return sum - x ; }

Target:
public static float $noinline$floatSubAddSimplifyRight ( float x , float y ) { float sub = x - y ; return y + sub ; }
Source:
public native void freeMemory ( long address ) ;

Target:
public native double getDouble ( long address ) ;
Source:
void putUnchecked ( int pos , double [ ] dst , int srcOffset , int length ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
abstract void getUnchecked ( int pos , int [ ] dst , int dstOffset , int length ) ;
Source:
public void disableLocationUpdates ( ) { disableLocationUpdates ( android.telephony.TelephonyManager.getDefaultSubscription ( ) ) ; }

Target:
public int getCurrentPhoneType ( ) { return getCurrentPhoneType ( getSubId ( ) ) ; }
Source:
public boolean validate ( @ org.jetbrains.annotations.NotNull org.jetbrains.plugins.gradle.settings.GradleSettings settings ) throws com.intellij.openapi.options.ConfigurationException { return true ; }

Target:
public boolean validate ( @ org.jetbrains.annotations.NotNull org.jetbrains.plugins.gradle.settings.GradleSettings settings ) throws com.intellij.openapi.options.ConfigurationException { return myBuilder.validate ( settings ) ; }
Source:
private static < T > T checkNonNullArgument ( T arg , java.lang.String format , java.lang.Object ... messageParams ) { com.google.common.base.Preconditions.checkArgument ( ( arg != null ) , format , messageParams ) ; return arg ; }

Target:
boolean equalsType ( java.lang.reflect.Type type ) { if ( type instanceof java.lang.reflect.TypeVariable ) { return equalsTypeVariable ( ( ( java.lang.reflect.TypeVariable < ? > ) ( type ) ) ) ; } else { return false ; } }
Source:
public com.android.builder.model.AndroidProject getGradleProjectModel ( ) { return com.android.tools.lint.checks.PrivateResourceDetectorTest.createMockProject ( "1.3.0-alpha2" , 3 ) ; }

Target:
public com.android.builder.model.AndroidProject getGradleProjectModel ( ) { return com.android.tools.lint.checks.PrivateResourceDetectorTest.createMockProject ( Version.ANDROID_GRADLE_PLUGIN_VERSION , Version.BUILDER_MODEL_API_VERSION ) ; }
Source:
public static void main ( java.lang.String [ ] args ) { java.lang.Object o = Main.class ; if ( o instanceof Main ) { java.lang.System.out.println ( ( ( Main ) ( o ) ) ) ; } }

Target:
public static void testInstanceOf ( ) { java.lang.Object o = Main.class ; if ( o instanceof Main ) { java.lang.System.out.println ( ( ( Main ) ( o ) ) ) ; } }
Source:
public void testEquals_Null ( ) { tests.api.java.nio.charset.CharsetTest.MockCharset c1 = new tests.api.java.nio.charset.CharsetTest.MockCharset ( "mock" , null ) ; assertFalse ( c1.equals ( null ) ) ; }

Target:
public void testEquals_Null ( ) { org.apache.harmony.tests.java.nio.charset.CharsetTest.MockCharset c1 = new org.apache.harmony.tests.java.nio.charset.CharsetTest.MockCharset ( "mock" , null ) ; assertFalse ( c1.equals ( null ) ) ; }
Source:
public boolean needEclipseWorkspace ( ) { if ( ( mWorkspaceLocation ) != null ) { return false ; } for ( com.android.tools.gradle.eclipse.EclipseProject project : mProjectMap.values ( ) ) { if ( project.needWorkspaceLocation ( ) ) { return true ; } } return false ; }

Target:
public void reportError ( @ com.android.annotations.Nullable com.android.tools.gradle.eclipse.EclipseProject project , @ com.android.annotations.Nullable java.io.File file , @ com.android.annotations.NonNull java.lang.String message ) { reportError ( project , file , message , true ) ; }
Source:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) throws java.lang.Exception { type.removeMarker ( com.android.jack.shrob.shrink.KeepMarker.class ) ; }

Target:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) throws java.lang.Exception { type.removeMarker ( com.android.jack.shrob.shrink.KeepMarker.class ) ; type.removeMarker ( com.android.jack.analysis.tracer.ExtendingOrImplementingClassMarker.class ) ; }
Source:
public static sun.security.util.Cache newSoftMemoryCache ( int size , int timeout ) { return new sun.security.util.MemoryCache ( true , size , timeout ) ; }

Target:
public static < K , V > sun.security.util.Cache < K , V > newSoftMemoryCache ( int size , int timeout ) { return new sun.security.util.MemoryCache < > ( true , size , timeout ) ; }
Source:
private com.android.ddmuilib.logcat.LogCatViewerFilter getSelectedSavedFilter ( ) { int index = getSelectedSavedFilterIndex ( ) ; return new com.android.ddmuilib.logcat.LogCatViewerFilter ( mLogCatFilters.get ( index ) ) ; }

Target:
private void resetUnreadCountForSelectedFilter ( ) { mLogCatFilters.get ( mCurrentSelectedFilterIndex ) . resetUnreadCount ( ) ; refreshFiltersTable ( ) ; }
Source:
protected boolean cleanup ( ) { if ( ( mStateMachine ) != null ) { mStateMachine.cleanup ( ) ; } com.android.bluetooth.hfp.HeadsetService.clearHeadsetService ( ) ; return true ; }

Target:
void messageFromNative ( com.android.bluetooth.hfp.HeadsetStackEvent stackEvent ) { mStateMachine.sendMessage ( HeadsetStateMachine.STACK_EVENT , stackEvent ) ; }
Source:
public void testIntersectionType001 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( INTERSECTION_TYPE_001 ) . setSourceLevel ( SourceLevel.JAVA_8 ) . addProperty ( Options.LAMBDA_TO_ANONYMOUS_CONVERTER.getName ( ) , java.lang.Boolean.TRUE.toString ( ) ) . compileAndRunTest ( ) ; }

Target:
public void testIntersectionType001 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( INTERSECTION_TYPE_001 ) . setSourceLevel ( SourceLevel.JAVA_8 ) . addProperty ( Options.LAMBDA_TO_ANONYMOUS_CONVERTER.getName ( ) , java.lang.Boolean.TRUE.toString ( ) ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JillBasedToolchain.class ) . compileAndRunTest ( ) ; }
Source:
public java.util.Set < java.lang.String > getApplicableFilters ( @ com.android.annotations.NonNull java.util.Set < java.lang.String > allFilters ) { java.util.Set < java.lang.String > list = super . getApplicableFilters ( allFilters ) ; if ( isEnable ( ) ) { list.add ( null ) ; } return list ; }

Target:
public java.util.Set < java.lang.String > getApplicableFilters ( @ com.android.annotations.NonNull java.util.Set < java.lang.String > allFilters ) { java.util.Set < java.lang.String > list = super . getApplicableFilters ( allFilters ) ; if ( isEnable ( ) ) { list.add ( com.android.build.SplitOutput.NO_FILTER ) ; } return list ; }
Source:
public com.android.server.wifi.hotspot2.PasspointEventHandler makePasspointEventHandler ( com.android.server.wifi.hotspot2.PasspointEventHandler.Callbacks callbacks ) { return new com.android.server.wifi.hotspot2.PasspointEventHandler ( mWifiNative , callbacks ) ; }

Target:
public com.android.server.wifi.WifiConnectivityManager makeWifiConnectivityManager ( android.net.wifi.WifiInfo wifiInfo , boolean hasConnectionRequests ) { return new com.android.server.wifi.WifiConnectivityManager ( mContext , mWifiStateMachine , getWifiScanner ( ) , mWifiConfigManager , wifiInfo , mWifiNetworkSelector , mWifiNetworkScoreCache , mWifiLastResortWatchdog , mWifiMetrics , mWifiStateMachineHandlerThread.getLooper ( ) , mClock , hasConnectionRequests ) ; }
Source:
synchronized void nContextSetPriority ( int p ) { validate ( ) ; rsnContextSetPriority ( mContext , p ) ; }

Target:
synchronized void nContextDestroy ( ) { validate ( ) ; java.util.concurrent.locks.ReentrantReadWriteLock.WriteLock wlock = mRWLock.writeLock ( ) ; wlock.lock ( ) ; long curCon = mContext ; mContext = 0 ; wlock.unlock ( ) ; rsnContextDestroy ( curCon ) ; }
Source:
public boolean unregisterListener ( com.android.sdklib.devices.DeviceManager.DevicesChangeListener listener ) { synchronized ( com.android.sdklib.devices.DeviceManager.sListeners ) { return com.android.sdklib.devices.DeviceManager.sListeners.remove ( listener ) ; } }

Target:
public boolean unregisterListener ( com.android.sdklib.devices.DeviceManager.DevicesChangedListener listener ) { synchronized ( sListeners ) { return sListeners.remove ( listener ) ; } }
Source:
public void copyTo ( short [ ] d ) { validateIsInt16 ( ) ; mRS.validate ( ) ; mRS.nAllocationRead ( getID ( mRS ) , d ) ; }

Target:
public void copy1DRangeTo ( int off , int count , short [ ] d ) { validateIsInt16 ( ) ; copy1DRangeToUnchecked ( off , count , d , Element.DataType.SIGNED_16 , d.length ) ; }
Source:
public void test_getAddress ( ) { android.bluetooth.BluetoothAdapter adapter = android.bluetooth.BluetoothAdapter.getDefaultAdapter ( ) ; enable ( adapter ) ; assertTrue ( android.bluetooth.BluetoothAdapter.checkBluetoothAddress ( adapter.getAddress ( ) ) ) ; }

Target:
public void test_getAddress ( ) { if ( ! ( mHasBluetooth ) ) { return ; } android.bluetooth.BluetoothAdapter adapter = android.bluetooth.BluetoothAdapter.getDefaultAdapter ( ) ; enable ( adapter ) ; assertTrue ( android.bluetooth.BluetoothAdapter.checkBluetoothAddress ( adapter.getAddress ( ) ) ) ; }
Source:
public java.lang.String getDeviceSvn ( ) { android.util.Log.d ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "getDeviceSvn(): return 0" ) ; return "0" ; }

Target:
public java.lang.String getDeviceSvn ( ) { android.telephony.Rlog.d ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "getDeviceSvn(): return 0" ) ; return "0" ; }
Source:
public abstract java.lang.annotation.Annotation [ ] [ ] getParameterAnnotations ( ) ;

Target:
private native < T extends java.lang.annotation.Annotation > T getAnnotationNative ( java.lang.Class < T > annotationClass ) ;
Source:
public com.android.sched.util.codec.Formatter < ? > [ ] getFormatters ( ) { return new com.android.sched.util.codec.Formatter < ? > [ ] { new com.android.sched.util.codec.LongCodec ( ) , new com.android.sched.util.codec.ByteFormatter ( ) , new com.android.sched.util.codec.ByteFormatter ( ) } ; }

Target:
public com.android.sched.util.print.DataView getDataView ( ) { return com.android.sched.util.log.stats.ObjectAlloc.DATA_VIEW ; }
Source:
public boolean handleMessage ( android.os.Message me ) { if ( counted ) { fail ( "Called 2x!!!!" ) ; } counted = true ; latch.countDown ( ) ; return true ; }

Target:
public boolean handleMessage ( android.os.Message me ) { if ( counted ) { org.junit.Assert.fail ( "Called 2x!!!!" ) ; } counted = true ; latch.countDown ( ) ; return true ; }
Source:
public java.lang.String getNetworkCountryIsoForPhone ( int phoneId ) { try { com.android.internal.telephony.ITelephony telephony = getITelephony ( ) ; if ( telephony != null ) return "" ; return telephony.getNetworkCountryIsoForPhone ( phoneId ) ; } catch ( android.os.RemoteException ex ) { return "" ; } }

Target:
public java.lang.String getNetworkCountryIsoForPhone ( int phoneId ) { return android.telephony.TelephonyManager.getTelephonyProperty ( phoneId , TelephonyProperties.PROPERTY_OPERATOR_ISO_COUNTRY , "" ) ; }
Source:
public void draw ( android.graphics.Canvas canvas , int w , int h , android.graphics.ColorFilter filter ) { drawGroupTree ( mRootGroup , android.graphics.drawable.VectorDrawable.VPathRenderer.IDENTITY_MATRIX , canvas , w , h , filter ) ; }

Target:
public void draw ( android.graphics.Canvas canvas , int w , int h , android.graphics.ColorFilter filter ) { drawGroupTree ( mRootGroup , Matrix.IDENTITY_MATRIX , canvas , w , h , filter ) ; }
Source:
public void error ( int errorCode , java.lang.String message ) throws android.os.RemoteException { }

Target:
public void onError ( int errorCode , java.lang.String message ) { }
Source:
public void enter ( ) { mTetherController.notifyInterfaceStateChange ( mIfaceName , this , IControlsTethering.STATE_AVAILABLE , mLastError ) ; }

Target:
private void sendInterfaceState ( int newInterfaceState ) { mTetherController.notifyInterfaceStateChange ( mIfaceName , this , newInterfaceState , mLastError ) ; }
Source:
public void processTerminated ( com.intellij.appengine.actions.ProcessEvent event ) { int exitCode = event.getExitCode ( ) ; if ( exitCode == 0 ) { myCallback.succeeded ( new com.intellij.remoteServer.runtime.deployment.DeploymentRuntime ( ) ) ; } else { myCallback.errorOccurred ( ( "Process terminated with exit code " + exitCode ) ) ; } }

Target:
public boolean isUndeploySupported ( ) { return false ; }
Source:
void addClient ( com.android.ddmlib.Client client ) { synchronized ( mClients ) { mClients.add ( client ) ; } }

Target:
void clearClientList ( ) { synchronized ( mClients ) { mClients.clear ( ) ; } clearClientInfo ( ) ; }
Source:
public void setDisplayOrder ( int displayOrder ) { mDisplayOrder = displayOrder ; final android.content.SharedPreferences.Editor editor = mPreferences.edit ( ) ; editor.putInt ( com.android.contacts.common.preference.ContactsPreferences.DISPLAY_ORDER_KEY , displayOrder ) ; com.android.dialer.strictmode.DialerStrictMode.bypass ( editor :: commit ) ; }

Target:
public void setDisplayOrder ( int displayOrder ) { mDisplayOrder = displayOrder ; final android.content.SharedPreferences.Editor editor = mPreferences.edit ( ) ; editor.putInt ( com.android.contacts.common.preference.ContactsPreferences.DISPLAY_ORDER_KEY , displayOrder ) ; com.android.dialer.strictmode.StrictModeUtils.bypass ( editor :: commit ) ; }
Source:
public void onFailedOutgoingCall ( com.android.server.telecom.Call call , android.telecom.DisconnectCause disconnectCause ) { com.android.server.telecom.Log.v ( this , "onFailedOutgoingCall, call: %s" , call ) ; markCallAsRemoved ( call ) ; }

Target:
public void onFailedOutgoingCall ( com.android.server.telecom.Call call , android.telecom.DisconnectCause disconnectCause ) { android.telecom.Log.v ( this , "onFailedOutgoingCall, call: %s" , call ) ; markCallAsRemoved ( call ) ; }
Source:
public void onMerge ( ) { com.android.services.telephony.Log.i ( this , "Merging CDMA conference call." ) ; mCapabilities &= ~ ( android.telecom.PhoneCapabilities.MERGE_CONFERENCE ) ; mCapabilities |= android.telecom.PhoneCapabilities.SWAP_CONFERENCE ; updateCapabilities ( ) ; sendFlash ( ) ; }

Target:
public void onMerge ( ) { com.android.services.telephony.Log.i ( this , "Merging CDMA conference call." ) ; mCapabilities &= ~ ( android.telecom.PhoneCapabilities.MERGE_CONFERENCE ) ; if ( isSwapSupportedAfterMerge ( ) ) { mCapabilities |= android.telecom.PhoneCapabilities.SWAP_CONFERENCE ; } updateCapabilities ( mCapabilities ) ; sendFlash ( ) ; }
Source:
protected static android.widget.RemoteViews createPresentation ( java.lang.String message ) { final android.widget.RemoteViews presentation = new android.widget.RemoteViews ( android.autofillservice.cts.AutoFillServiceTestCase.getContext ( ) . getPackageName ( ) , R.layout.list_item ) ; presentation.setTextViewText ( R.id.text1 , message ) ; return presentation ; }

Target:
protected android.widget.RemoteViews createPresentation ( java.lang.String message ) { final android.widget.RemoteViews presentation = new android.widget.RemoteViews ( android.autofillservice.cts.Helper.getContext ( ) . getPackageName ( ) , R.layout.list_item ) ; presentation.setTextViewText ( R.id.text1 , message ) ; return presentation ; }
Source:
public com.android.ims.internal.IImsMultiEndpoint getMultiEndpointInterface ( ) throws android.os.RemoteException { return mCompatFeature.getMultiEndpointInterface ( ) ; }

Target:
public int getFeatureState ( ) { try { return mCompatFeature.getFeatureState ( ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e.getMessage ( ) ) ; } }
Source:
void disableBluetoothIfNeeded ( ) { if ( ! ( mBluetoothEnabledByNfc ) ) return ; if ( ! ( mBluetoothHeadsetConnected ) ) { mBluetoothAdapter.disable ( ) ; mBluetoothEnabledByNfc = false ; } }

Target:
void disableBluetoothIfNeeded ( ) { if ( ! ( mBluetoothEnabledByNfc ) ) return ; if ( hasConnectedBluetoothDevices ( ) ) return ; if ( ! ( mBluetoothHeadsetConnected ) ) { mBluetoothAdapter.disable ( ) ; mBluetoothEnabledByNfc = false ; } }
Source:
private java.lang.String getChargingFunctions ( ) { java.lang.String func = android.os.SystemProperties.get ( com.android.server.usb.UsbDeviceManager.getPersistProp ( true ) , UsbManager.USB_FUNCTION_NONE ) ; if ( android.hardware.usb.UsbManager.containsFunction ( func , UsbManager.USB_FUNCTION_ADB ) ) { return android.hardware.usb.UsbManager.USB_FUNCTION_ADB ; } else { return android.hardware.usb.UsbManager.USB_FUNCTION_MTP ; } }

Target:
protected java.lang.String getChargingFunctions ( ) { if ( mAdbEnabled ) { return android.hardware.usb.UsbManager.USB_FUNCTION_ADB ; } else { return android.hardware.usb.UsbManager.USB_FUNCTION_MTP ; } }
Source:
protected void beforeDebuggeeStart ( org.apache.harmony.jpda.tests.jdwp.share.JDWPUnitDebuggeeWrapper debuggeeWrapper ) { settings.setListenConnectorKind ( ) ; logWriter.println ( "LISTEN connector kind" ) ; super . beforeDebuggeeStart ( debuggeeWrapper ) ; }

Target:
protected void beforeConnectionSetUp ( ) { settings.setListenConnectorKind ( ) ; logWriter.println ( "LISTEN connector kind" ) ; super . beforeConnectionSetUp ( ) ; }
Source:
protected boolean mustBeRemoved ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) { return ( type.isToEmit ( ) ) && ( ! ( ( ( com.android.jack.ir.ast.JNode ) ( type ) ) . containsMarker ( com.android.jack.shrob.shrink.KeepMarker.class ) ) ) ; }

Target:
protected boolean mustBeRemoved ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) { return ( ! ( isTypeFromClasspath ( type ) ) ) && ( ! ( ( ( com.android.jack.ir.ast.JNode ) ( type ) ) . containsMarker ( com.android.jack.shrob.shrink.KeepMarker.class ) ) ) ; }
Source:
public android.os.IBinder onBind ( android.content.Intent arg0 ) { throw new java.lang.UnsupportedOperationException ( "Cannot bind to Bluetooth OPP Service" ) ; }

Target:
protected com.android.bluetooth.btservice.ProfileService.IProfileServiceBinder initBinder ( ) { return null ; }
Source:
public int getClassIndex ( ) { if ( ( classIndex ) < 0 ) { throw new java.lang.RuntimeException ( "class index not yet set" ) ; } return classIndex ; }

Target:
public int getClassIndex ( ) { if ( ( classIndex ) < 0 ) { throw new java.lang.IllegalStateException ( "class index not yet set" ) ; } return classIndex ; }
Source:
public void setUserData ( java.lang.Object userdata ) { this . userData = userdata ; }

Target:
public void setUserData ( java.lang.Object userdata ) { mUserData = userdata ; }