auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public java.util.Iterator < org.gradle.sample.Person > iterator ( ) { return com.google.common.collect.Lists.newArrayList ( new org.gradle.sample.Person ( "fred" ) ) . iterator ( ) ; }

Target:
public java.util.Iterator < com.example.android.multiproject.person.Person > iterator ( ) { return com.google.common.collect.Lists.newArrayList ( new com.example.android.multiproject.person.Person ( "fred" ) ) . iterator ( ) ; }
Source:
public void showMissedCallNotification ( android.telecom.com.android.server.telecom.Call call ) { missedCallsNotified.add ( call ) ; }

Target:
public void showMissedCallNotification ( com.android.server.telecom.tests.CallInfo call ) { missedCallsNotified.add ( call ) ; }
Source:
public void onBindViewHolder ( com.android.dialer.voicemail.listui.NewVoicemailViewHolder viewHolder , int position ) { com.android.dialer.common.LogUtil.i ( "onBindViewHolder" , ( "position" + position ) ) ; cursor.moveToPosition ( position ) ; viewHolder.bind ( cursor ) ; expandOrCollapseViewHolder ( viewHolder ) ; }

Target:
public void onBindViewHolder ( com.android.dialer.voicemail.listui.NewVoicemailViewHolder viewHolder , int position ) { cursor.moveToPosition ( position ) ; viewHolder.bind ( cursor , fragmentManager ) ; expandOrCollapseViewHolder ( viewHolder ) ; }
Source:
public void setOutputFile ( java.io.File out ) { this . out = out ; }

Target:
public void setOutputDir ( java.io.File out ) { this . out = out ; }
Source:
protected void onCreate ( android.os.Bundle savedInstanceState ) { super . onCreate ( savedInstanceState ) ; setPreferenceScreen ( createPreferenceHierarchy ( ) ) ; }

Target:
protected void onCreate ( android.os.Bundle savedInstanceState ) { super . onCreate ( savedInstanceState ) ; android.preference.PreferenceScreen root = getPreferenceManager ( ) . createPreferenceScreen ( this ) ; setPreferenceScreen ( root ) ; populatePreferenceHierarchy ( root ) ; }
Source:
public void onOffloadEvent ( int event ) { mLog.log ( ( "got offload event: " + event ) ) ; }

Target:
public void onStarted ( ) { mLog.log ( "onStarted" ) ; }
Source:
private int readByte ( long offset ) throws java.io.IOException { mFile.seek ( offset ) ; mFile.readFully ( mBuffer , 0 , 1 ) ; return mBuffer [ 0 ] ; }

Target:
private int readByte ( long offset ) throws java.io.IOException { mFile.seek ( offset ) ; mFile.readFully ( mBuffer , 0 , 1 ) ; return ( mBuffer [ 0 ] ) & 255 ; }
Source:
public java.lang.String toString ( ) { return ( ( ( ( ( ( ( "Location [file=" + ( mFile ) ) + ", start=" ) + ( mStart ) ) + ", end=" ) + ( mEnd ) ) + ", message=" ) + ( mMessage ) ) + "]" ; }

Target:
public java.lang.String toString ( ) { return ( ( ( ( ( ( ( "Location [file=" + ( mFile ) ) + ", start=" ) + ( mStart ) ) + ", end=" ) + ( mEnd ) ) + ", message=" ) + ( mMessage ) ) + ']' ; }
Source:
private static boolean isNonBridgeDefaultMethod ( int access ) { return com.google.devtools.build.android.desugar.BitFlags.noneSet ( access , ( ( ( ( org.objectweb.asm.Opcodes.ACC_ABSTRACT ) | ( org.objectweb.asm.Opcodes.ACC_STATIC ) ) | ( org.objectweb.asm.Opcodes.ACC_BRIDGE ) ) | ( org.objectweb.asm.Opcodes.ACC_PRIVATE ) ) ) ; }

Target:
private static boolean isNonBridgeDefaultMethod ( int access ) { return com.google.devtools.build.android.desugar.io.BitFlags.noneSet ( access , ( ( ( ( org.objectweb.asm.Opcodes.ACC_ABSTRACT ) | ( org.objectweb.asm.Opcodes.ACC_STATIC ) ) | ( org.objectweb.asm.Opcodes.ACC_BRIDGE ) ) | ( org.objectweb.asm.Opcodes.ACC_PRIVATE ) ) ) ; }
Source:
private static void test_init ( dalvik.system.DexClassLoaderTest.Configuration config ) { dalvik.system.DexClassLoaderTest.createInstance ( config ) ; int expectedFiles = config.expectedFiles ; int actualFiles = config.optimizedDir.listFiles ( ) . length ; assertEquals ( expectedFiles , actualFiles ) ; }

Target:
public void test_oneDex_constructor ( ) throws java.lang.Exception { createLoaderAndCallMethod ( "test.TestMethods" , "test_constructor" , dex1 ) ; }
Source:
public final android.content.ContentProviderClient acquireContentProviderClient ( java.lang.String name ) { android.content.IContentProvider provider = acquireProvider ( name ) ; if ( provider != null ) { return new android.content.ContentProviderClient ( this , provider , true ) ; } return null ; }

Target:
public final android.content.ContentProviderClient acquireContentProviderClient ( @ android.annotation.NonNull java.lang.String name ) { com.android.internal.util.Preconditions.checkNotNull ( name , "name" ) ; android.content.IContentProvider provider = acquireProvider ( name ) ; if ( provider != null ) { return new android.content.ContentProviderClient ( this , provider , true ) ; } return null ; }
Source:
public void testBaseResourceSetByCount ( ) throws java.lang.Exception { com.android.ide.common.res2.ResourceSet resourceSet = com.android.ide.common.res2.ResourceSetTest.getBaseResourceSet ( ) ; assertEquals ( 24 , resourceSet.size ( ) ) ; }

Target:
public void testBaseResourceSetByCount ( ) throws java.lang.Exception { com.android.ide.common.res2.ResourceSet resourceSet = com.android.ide.common.res2.ResourceSetTest.getBaseResourceSet ( ) ; assertEquals ( 25 , resourceSet.size ( ) ) ; }
Source:
public void onGeolocationPermissionsShowPrompt ( java.lang.String origin , android.webkit.GeolocationPermissions.Callback callback ) { callback.invoke ( origin , true , false ) ; }

Target:
public void onGeolocationPermissionsShowPrompt ( java.lang.String origin , android.webkit.GeolocationPermissions.Callback callback ) { onPermissionRequest ( new org.chromium.webview_shell.WebViewBrowserActivity.GeoPermissionRequest ( origin , callback ) ) ; }
Source:
public void visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface x , @ javax.annotation.Nonnull com.android.sched.transform.TransformRequest transformRequest ) throws java.lang.Exception { visit ( ( ( com.android.jack.ir.ast.JReferenceType ) ( x ) ) , transformRequest ) ; }

Target:
public void visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface definedClassOrInterface , @ javax.annotation.Nonnull com.android.sched.transform.TransformRequest transformRequest ) throws java.lang.Exception { visit ( ( ( com.android.jack.ir.ast.JReferenceType ) ( definedClassOrInterface ) ) , transformRequest ) ; }
Source:
public void run ( ) { while ( isRunning ( ) ) { try { synchronized ( this ) { wait ( ) ; } dalvik.system.VMRuntime.getRuntime ( ) . trimHeap ( ) ; } catch ( java.lang.InterruptedException ignored ) { } } }

Target:
public void run ( ) { synchronized ( this ) { if ( isRunning ( ) ) { dalvik.system.VMRuntime.getRuntime ( ) . startHeapTaskProcessor ( ) ; } } dalvik.system.VMRuntime.getRuntime ( ) . runHeapTasks ( ) ; }
Source:
public android.net.IpSecManager.SecurityParameterIndex allocateSecurityParameterIndex ( int direction , java.net.InetAddress remoteAddress , int requestedSpi ) throws android.net.IpSecManager.ResourceUnavailableException , android.net.IpSecManager.SpiUnavailableException { if ( requestedSpi == ( android.net.IpSecManager.INVALID_SECURITY_PARAMETER_INDEX ) ) { throw new java.lang.IllegalArgumentException ( "Requested SPI must be a valid (non-zero) SPI" ) ; } return new android.net.IpSecManager.SecurityParameterIndex ( mService , direction , remoteAddress , requestedSpi ) ; }

Target:
public android.net.IpSecManager.SecurityParameterIndex allocateSecurityParameterIndex ( java.net.InetAddress destinationAddress , int requestedSpi ) throws android.net.IpSecManager.ResourceUnavailableException , android.net.IpSecManager.SpiUnavailableException { if ( requestedSpi == ( android.net.IpSecManager.INVALID_SECURITY_PARAMETER_INDEX ) ) { throw new java.lang.IllegalArgumentException ( "Requested SPI must be a valid (non-zero) SPI" ) ; } return new android.net.IpSecManager.SecurityParameterIndex ( mService , destinationAddress , requestedSpi ) ; }
Source:
public void tearDown ( ) throws java.lang.Exception { java.util.Locale.setDefault ( originalLocale ) ; super . tearDown ( ) ; }

Target:
public void tearDown ( ) throws java.lang.Exception { android.text.format.cts.TimeTest.changeJavaAndAndroidLocale ( originalLocale ) ; super . tearDown ( ) ; }
Source:
public com.android.jack.dx.io.instructions.DecodedInstruction decode ( int opcodeUnit , com.android.jack.dx.io.instructions.CodeInput in ) { return new com.android.jack.dx.io.instructions.ZeroRegisterDecodedInstruction ( this , opcodeUnit , 0 , null , 0 , 0L ) ; }

Target:
public com.android.jack.dx.io.instructions.DecodedInstruction decode ( int opcodeUnit , com.android.jack.dx.io.instructions.CodeInput in ) { return new com.android.jack.dx.io.instructions.ZeroRegisterDecodedInstruction ( this , opcodeUnit , 0 , com.android.jack.dx.io.IndexType.NONE , 0 , 0L ) ; }
Source:
public static void assertEquals ( int expected , int actual ) { if ( expected != actual ) throw new java.lang.RuntimeException ( ( ( ( "AssertionFailedError: not equals. Expected " + expected ) + " actual " ) + actual ) ) ; }

Target:
public static void assertEquals ( int expected , int actual ) { if ( expected != actual ) throw new dot.junit.AssertionFailedException ( ( ( ( "not equals. Expected " + expected ) + " actual " ) + actual ) ) ; }
Source:
public void onParentChanged ( com.android.server.telecom.Call call ) { updateCallsManagerState ( ) ; for ( com.android.server.telecom.CallsManager.CallsManagerListener listener : mListeners ) { listener.onIsConferencedChanged ( call ) ; } }

Target:
public void onChildrenChanged ( com.android.server.telecom.Call call ) { updateCanAddCall ( ) ; for ( com.android.server.telecom.CallsManager.CallsManagerListener listener : mListeners ) { listener.onIsConferencedChanged ( call ) ; } }
Source:
public com.google.common.util.concurrent.ListenableFuture < com.google.common.collect.ImmutableMap < com.android.dialer.DialerPhoneNumber , com.android.dialer.phonelookup.PhoneLookupInfo > > bulkUpdate ( com.google.common.collect.ImmutableMap < com.android.dialer.DialerPhoneNumber , com.android.dialer.phonelookup.PhoneLookupInfo > existingInfoMap ) { return com.google.common.util.concurrent.MoreExecutors.newDirectExecutorService ( ) . submit ( ( ) -> bulkUpdateInternal ( existingInfoMap ) ) ; }

Target:
public com.google.common.util.concurrent.ListenableFuture < com.google.common.collect.ImmutableMap < com.android.dialer.DialerPhoneNumber , com.android.dialer.phonelookup.PhoneLookupInfo > > bulkUpdate ( com.google.common.collect.ImmutableMap < com.android.dialer.DialerPhoneNumber , com.android.dialer.phonelookup.PhoneLookupInfo > existingInfoMap ) { return backgroundExecutorService.submit ( ( ) -> bulkUpdateInternal ( existingInfoMap ) ) ; }
Source:
public void setCookie ( java.lang.String url , java.lang.String value , android.webkit.ValueCallback < java.lang.Boolean > callback ) { throw new android.webkit.MustOverrideException ( ) ; }

Target:
public abstract java.lang.String getCookie ( java.lang.String url ) ;
Source:
public static void induceFinalization ( ) { java.lang.System.gc ( ) ; libcore.java.lang.ref.FinalizationTester.enqueueReferences ( ) ; java.lang.System.runFinalization ( ) ; }

Target:
public static void induceFinalization ( ) { java.lang.Runtime.getRuntime ( ) . gc ( ) ; libcore.java.lang.ref.FinalizationTester.enqueueReferences ( ) ; java.lang.System.runFinalization ( ) ; }
Source:
private void riljLog ( java.lang.String msg ) { android.telephony.Rlog.d ( com.android.internal.telephony.RIL.RILJ_LOG_TAG , msg ) ; }

Target:
private void riljLogv ( java.lang.String msg ) { android.telephony.Rlog.v ( com.android.internal.telephony.RIL.RILJ_LOG_TAG , ( msg + ( ( mInstanceId ) != null ? ( " [SUB" + ( mInstanceId ) ) + "]" : "" ) ) ) ; }
Source:
public com.google.common.collect.ImmutableBiMap < V , K > inverse ( ) { return inverse ; }

Target:
com.google.common.collect.ImmutableMapEntry < K , V > getNextInValueBucket ( ) { return nextInValueBucket ; }
Source:
private void addIdleHandler ( ) { android.os.MessageQueue queue = getMainLooper ( ) . myQueue ( ) ; queue.addIdleHandler ( new android.os.MessageQueue.IdleHandler ( ) { public boolean queueIdle ( ) { com.android.camera.ImageManager.ensureOSXCompatibleFolder ( ) ; return false ; } } ) ; }

Target:
private void addIdleHandler ( ) { android.os.MessageQueue queue = android.os.Looper.myQueue ( ) ; queue.addIdleHandler ( new android.os.MessageQueue.IdleHandler ( ) { public boolean queueIdle ( ) { com.android.camera.ImageManager.ensureOSXCompatibleFolder ( ) ; return false ; } } ) ; }
Source:
protected final com.android.tv.dvr.RecordedProgram fromCursor ( android.database.Cursor c ) { return com.android.tv.dvr.RecordedProgram.fromCursor ( c ) ; }

Target:
protected final com.android.tv.dvr.data.RecordedProgram fromCursor ( android.database.Cursor c ) { return com.android.tv.dvr.data.RecordedProgram.fromCursor ( c ) ; }
Source:
public V load ( java.lang.Object key ) { return computingSupplier.get ( ) ; }

Target:
public V load ( java.lang.Object key ) { com.google.common.base.Preconditions.checkNotNull ( key ) ; return computingSupplier.get ( ) ; }
Source:
public static com.android.sdkuilib.internal.repository.SettingsController createSettingsController ( com.android.utils.ILogger sdkLog ) { java.util.Properties props = new java.util.Properties ( ) ; com.android.sdkuilib.internal.repository.SettingsController.Settings settings = new com.android.sdkuilib.internal.repository.SettingsController.Settings ( props ) { } ; com.android.sdkuilib.internal.repository.MockUpdaterData.MockSettingsController controller = new com.android.sdkuilib.internal.repository.MockUpdaterData.MockSettingsController ( sdkLog , settings ) ; controller.setProperties ( props ) ; return controller ; }

Target:
public static com.android.sdkuilib.internal.repository.SettingsController createSettingsController ( com.android.utils.ILogger sdkLog ) { java.util.Properties props = new java.util.Properties ( ) ; com.android.sdkuilib.internal.repository.SettingsController.Settings settings = new com.android.sdkuilib.internal.repository.SettingsController.Settings ( props ) { } ; com.android.sdkuilib.internal.repository.MockSwtUpdaterData.MockSettingsController controller = new com.android.sdkuilib.internal.repository.MockSwtUpdaterData.MockSettingsController ( sdkLog , settings ) ; controller.setProperties ( props ) ; return controller ; }
Source:
public void testBrokenOrder ( ) throws java.lang.Exception { assertEquals ( ( "AndroidManifest.xml:16: Warning: <uses-sdk> tag appears after <application> tag [ManifestOrder]\n" + ( ( ( ( ( ( " <uses-sdk android:minSdkVersion=\"Froyo\" />\n" + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "AndroidManifest.xml:16: Warning: <uses-sdk> tag should specify a target API level (the highest verified version; when running on later versions, compatibility behaviors may be enabled) with android:targetSdkVersion=\"?\" [UsesMinSdkAttributes]\n" ) + " <uses-sdk android:minSdkVersion=\"Froyo\" />\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 2 warnings\n" ) + "" ) ) , lintProject ( "broken-manifest.xml=>AndroidManifest.xml" , "res/values/strings.xml" ) ) ; }

Target:
public void testBrokenOrder ( ) throws java.lang.Exception { mEnabled = java.util.Collections.singleton ( ManifestOrderDetector.ORDER ) ; assertEquals ( ( "AndroidManifest.xml:16: Warning: <uses-sdk> tag appears after <application> tag [ManifestOrder]\n" + ( ( ( " <uses-sdk android:minSdkVersion=\"Froyo\" />\n" + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 1 warnings\n" ) + "" ) ) , lintProject ( "broken-manifest.xml=>AndroidManifest.xml" , "res/values/strings.xml" ) ) ; }
Source:
public abstract com.android.dialer.voicemail.model.VoicemailEntry.Builder setName ( @ android.support.annotation.Nullable java.lang.String name ) ;

Target:
public abstract com.android.dialer.voicemail.model.VoicemailEntry.Builder setNumberAttributes ( com.android.dialer.NumberAttributes numberAttributes ) ;
Source:
abstract void doSetRate ( double permitsPerSecond , double stableIntervalMicros ) ;

Target:
abstract void doSetRate ( double permitsPerSecond , long nowMicros ) ;
Source:
public org.chromium.mojo.system.Watcher getWatcher ( ) ;

Target:
public org.chromium.mojo.system.AsyncWaiter getDefaultAsyncWaiter ( ) ;
Source:
void tearDown ( ) { mNm.cancelAll ( ) ; deleteChannels ( ) ; com.android.cts.verifier.notifications.MockListener.resetListenerData ( mContext ) ; delay ( ) ; }

Target:
void tearDown ( ) { mNm.cancelAll ( ) ; deleteChannels ( ) ; com.android.cts.verifier.notifications.MockListener.getInstance ( ) . resetData ( ) ; }
Source:
public int screenToLayout ( int pixels ) { fail ( "Not supported in tests yet" ) ; return 0 ; }

Target:
public java.lang.Object getViewObject ( @ com.android.annotations.NonNull com.android.ide.common.api.INode node ) { fail ( "Not supported in tests yet" ) ; return null ; }
Source:
protected void runTest ( ) throws java.lang.Throwable { try { runTasksOnProject ( projectName , gradleVersion , "clean" , "deviceCheck" ) ; } finally { } }

Target:
protected void runTest ( ) throws java.lang.Throwable { try { runTasksOnProject ( projectName , gradleVersion , "clean" , "connectedCheck" ) ; } finally { } }
Source:
protected com.google.common.collect.Multiset < E > delegate ( ) { return forwardMultiset ( ) ; }

Target:
public java.util.NavigableSet < E > descendingSet ( ) { return new com.google.common.collect.SortedMultisets.NavigableElementSet < E > ( multiset ( ) . descendingMultiset ( ) ) ; }
Source:
private native long loadNativeCode ( java.lang.String path , java.lang.String funcname , android.os.MessageQueue queue , java.lang.String internalDataPath , java.lang.String obbPath , java.lang.String externalDataPath , int sdkVersion , android.content.res.AssetManager assetMgr , byte [ ] savedState ) ;

Target:
private native long loadNativeCode ( java.lang.String path , java.lang.String funcname , android.os.MessageQueue queue , java.lang.String internalDataPath , java.lang.String obbPath , java.lang.String externalDataPath , int sdkVersion , android.content.res.AssetManager assetMgr , byte [ ] savedState , java.lang.ClassLoader classLoader , java.lang.String libraryPath , java.lang.String isolationPath ) ;
Source:
public com.android.jack.ir.ast.JAnnotationLiteral getAnnotation ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotation annotationType ) { loader.ensureAnnotation ( this , annotationType ) ; return annotations.getAnnotation ( annotationType ) ; }

Target:
public java.util.List < com.android.jack.ir.ast.JAnnotationLiteral > getAnnotations ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotation annotationType ) { loader.ensureAnnotation ( this , annotationType ) ; return annotations.getAnnotation ( annotationType ) ; }
Source:
public boolean matchesPossibleNumber ( java.lang.String nationalNumber , com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc numberDesc ) { java.util.regex.Matcher possibleNumberPatternMatcher = regexCache.getPatternForRegex ( numberDesc.getPossibleNumberPattern ( ) ) . matcher ( nationalNumber ) ; return possibleNumberPatternMatcher.matches ( ) ; }

Target:
public boolean matchesPossibleNumber ( java.lang.String nationalNumber , com.google.i18n.phonenumbers.nano.Phonemetadata.PhoneNumberDesc numberDesc ) { java.util.regex.Matcher possibleNumberPatternMatcher = regexCache.getPatternForRegex ( numberDesc.possibleNumberPattern ) . matcher ( nationalNumber ) ; return possibleNumberPatternMatcher.matches ( ) ; }
Source:
public static com.android.assetstudiolib.vectordrawable.VdPreview.Size createSizeFromScale ( float imageScale ) { return new com.android.assetstudiolib.vectordrawable.VdPreview.Size ( false , 0 , imageScale ) ; }

Target:
public static com.android.assetstudiolib.vectordrawable.VdPreview.TargetSize createSizeFromScale ( float imageScale ) { return new com.android.assetstudiolib.vectordrawable.VdPreview.TargetSize ( false , 0 , imageScale ) ; }
Source:
public static < T > org.hamcrest.org.hamcrest.Matcher < T > not ( T value ) { return org.hamcrest.core.IsNot.not ( value ) ; }

Target:
public static < T > org.hamcrest.org.hamcrest.Matcher < T > not ( T value ) { return org.hamcrest.core.IsNot.< T > not ( value ) ; }
Source:
public void startKeepaliveResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , android.hardware.radio.V1_1.KeepaliveStatus keepaliveStatus ) { throw new java.lang.UnsupportedOperationException ( "startKeepaliveResponse not implemented" ) ; }

Target:
public void setSignalStrengthReportingCriteriaResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo ) { responseVoid ( responseInfo ) ; }
Source:
public java.lang.Class < ? > getReturnType ( ) { com.android.dex.Dex dex = declaringClassOfOverriddenMethod.getDex ( ) ; int returnTypeIndex = dex.returnTypeIndexFromMethodIndex ( dexMethodIndex ) ; return declaringClassOfOverriddenMethod.getDexCacheType ( dex , returnTypeIndex ) ; }

Target:
public int getParameterCount ( ) { return super . getParameterCount ( ) ; }
Source:
public void onShown ( android.os.IBinder windowToken ) { waitForKeyguardWindowDrawn ( windowToken , screenOnListener ) ; }

Target:
public void onShown ( android.os.IBinder windowToken ) { if ( com.android.internal.policy.impl.PhoneWindowManager.DEBUG_WAKEUP ) android.util.Slog.d ( com.android.internal.policy.impl.PhoneWindowManager.TAG , "mKeyguardDelegate.ShowListener.onShown." ) ; mHandler.sendEmptyMessage ( com.android.internal.policy.impl.PhoneWindowManager.MSG_KEYGUARD_DRAWN_COMPLETE ) ; }
Source:
public void test_withNanoOfSecond_nanoTooLow ( ) { TEST_12_30_40_987654321.withNano ( ( - 1 ) ) ; }

Target:
public void test_withHour_hourTooLow ( ) { tck.java.time.TCKLocalTime.TEST_12_30_40_987654321.withHour ( ( - 1 ) ) ; }
Source:
void openRead ( com.android.tv.tuner.exoplayer.buffer.SampleChunk chunk ) throws java.io.IOException { if ( ( mChunk ) != null ) { mChunk.closeRead ( ) ; } chunk.openRead ( ) ; reset ( chunk ) ; }

Target:
private void reset ( com.android.tv.tuner.exoplayer.buffer.SampleChunk chunk , long offset ) { mChunk = chunk ; mCurrentOffset = offset ; }
Source:
public void interrupt ( ) { mIsInterrupted = true ; if ( com.android.bluetooth.opp.BluetoothOppService.D ) { android.util.Log.d ( com.android.bluetooth.opp.BluetoothOppService.TAG , ( "Interrupted :" + ( mIsInterrupted ) ) ) ; } super . interrupt ( ) ; }

Target:
public void interrupt ( ) { mIsInterrupted = true ; if ( com.android.bluetooth.opp.BluetoothOppService.D ) { android.util.Log.d ( com.android.bluetooth.opp.BluetoothOppService.TAG , "OPP UpdateThread interrupted " ) ; } super . interrupt ( ) ; }
Source:
void startRunningVoiceLocked ( ) { if ( ! ( mRunningVoice ) ) { mRunningVoice = true ; comeOutOfSleepIfNeededLocked ( ) ; } }

Target:
void startRunningVoiceLocked ( ) { if ( ! ( mRunningVoice ) ) { mRunningVoice = true ; updateSleepIfNeededLocked ( ) ; } }
Source:
public android.telephony.ServiceState getServiceState ( ) { return mSST.ss ; }

Target:
public android.telephony.CellLocation getCellLocation ( ) { return mSST.getCellLocation ( ) ; }
Source:
public java.lang.String getDigest ( ) { if ( ! ( containsFileType ( FileType.DEX ) ) ) { return null ; } else { return getSectionVFS ( FileType.DEX ) . getDigest ( ) ; } }

Target:
public java.lang.String getDigest ( ) { if ( ! ( containsFileType ( FileType.PREBUILT ) ) ) { return null ; } else { return getSectionVFS ( FileType.PREBUILT ) . getDigest ( ) ; } }
Source:
public com.android.ide.eclipse.adt.internal.editors.layout.gre.NodeProxy create ( com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo canvasViewInfo ) { return create ( canvasViewInfo.getUiViewKey ( ) , canvasViewInfo.getAbsRect ( ) ) ; }

Target:
public com.android.ide.eclipse.adt.internal.editors.layout.gre.NodeProxy create ( com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo canvasViewInfo ) { return create ( canvasViewInfo.getUiViewNode ( ) , canvasViewInfo.getAbsRect ( ) ) ; }
Source:
public com.android.sched.util.config.GatherConfigBuilder setDebug ( ) { builder.setDebug ( ) ; return this ; }

Target:
public com.android.sched.util.codec.CodecContext getCodecContext ( ) { return builder.getCodecContext ( ) ; }
Source:
public boolean lock ( ) { try { return ( mBinder.lock ( ) ) == ( android.security.KeyStore.NO_ERROR ) ; } catch ( android.os.RemoteException e ) { android.util.Log.w ( android.security.KeyStore.TAG , "Cannot connect to keystore" , e ) ; return false ; } }

Target:
public android.security.KeyStore.State state ( ) { return state ( android.os.UserHandle.myUserId ( ) ) ; }
Source:
native void rsnScriptSetVarD ( long con , long id , int slot , double val ) ;

Target:
native void rsnScriptInvokeV ( long con , long id , int slot , byte [ ] params , boolean mUseInc ) ;
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; getProject ( ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; com.android.ide.eclipse.adt.internal.preferences.AdtPrefs.getPrefs ( ) . setPaletteModes ( "ICON_TEXT" ) ; getProject ( ) ; }
Source:
public void setWindowManager ( com.android.server.wm.WindowManagerService wm ) { mWindowManager = wm ; mStackSupervisor.setWindowManager ( wm ) ; }

Target:
public void setWindowManager ( com.android.server.wm.WindowManagerService wm ) { mWindowManager = wm ; mStackSupervisor.setWindowManager ( wm ) ; mActivityStarter.setWindowManager ( wm ) ; }
Source:
public static final com.android.hierarchyviewer.HierarchyViewerApplication getApp ( ) { return com.android.hierarchyviewer.HierarchyViewerApplication.mApp ; }

Target:
public static final com.android.hierarchyviewer.HierarchyViewerApplication getMainWindow ( ) { return com.android.hierarchyviewer.HierarchyViewerApplication.sMainWindow ; }
Source:
public java.lang.String toString ( ) { return toPersistentString ( ) ; }

Target:
public java.lang.String toString ( ) { return com.google.common.base.Objects.toStringHelper ( this . getClass ( ) ) . add ( "display" , getDisplayName ( ) ) . add ( "persistent" , toPersistentString ( ) ) . toString ( ) ; }
Source:
public native float getFloat ( java.lang.Object object ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
private native long getLong ( java.lang.Object object , boolean accessible ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;
Source:
public void test_F32_1_SCALE20_20_inSqure ( ) { testReszie ( inX , inX , Element.DataType.FLOAT_32 , 1 , 2.0F , 2.0F ) ; }

Target:
public void test_F32_1_SCALE20_20_inSqure ( ) { testResize ( inX , inX , Element.DataType.FLOAT_32 , 1 , 2.0F , 2.0F ) ; }
Source:
public void testContentProvider1 ( ) throws java.lang.Exception { assertEquals ( ( "AndroidManifest.xml:14: Warning: Exported content providers can provide access to potentially sensitive data\n" + "AndroidManifest.xml:20: Warning: Exported content providers can provide access to potentially sensitive data" ) , lintProject ( "exportprovider1.xml=>AndroidManifest.xml" , "res/values/strings.xml" ) ) ; }

Target:
public void testContentProvider1 ( ) throws java.lang.Exception { assertEquals ( ( "AndroidManifest.xml:14: Warning: Exported content providers can provide access to potentially sensitive data [ExportedContentProvider]\n" + ( ( ( ( ( ( " <provider\n" + " ^\n" ) + "AndroidManifest.xml:20: Warning: Exported content providers can provide access to potentially sensitive data [ExportedContentProvider]\n" ) + " <provider\n" ) + " ^\n" ) + "0 errors, 2 warnings\n" ) + "" ) ) , lintProject ( "exportprovider1.xml=>AndroidManifest.xml" , "res/values/strings.xml" ) ) ; }
Source:
public void setType ( com.ibm.icu.util.IslamicCalendar.CalculationType type ) { cType = type ; if ( ( cType ) == ( com.ibm.icu.util.IslamicCalendar.CalculationType.ISLAMIC_CIVIL ) ) civil = true ; else civil = false ; }

Target:
public void setCalculationType ( com.ibm.icu.util.IslamicCalendar.CalculationType type ) { cType = type ; if ( ( cType ) == ( com.ibm.icu.util.IslamicCalendar.CalculationType.ISLAMIC_CIVIL ) ) civil = true ; else civil = false ; }
Source:
public java.lang.String getKeyAttributeName ( ) { return mAttributeName ; }

Target:
public com.google.common.collect.ImmutableList < java.lang.String > getKeyAttributesNames ( ) { return com.google.common.collect.ImmutableList.of ( mAttributeName ) ; }
Source:
public void cdmaSubscriptionSourceChanged ( int var1 , int var2 ) { }

Target:
public void cdmaPrlChanged ( int indicationType , int var2 ) { }
Source:
public void testLamba010 ( ) throws java.lang.Exception { run ( LAMBDA010 ) ; }

Target:
public void testLamba010 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( LAMBDA010 ) . setSourceLevel ( SourceLevel.JAVA_8 ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JackApiV01.class ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.LegacyNoDesugarToolchain.class ) . setWithDebugInfos ( true ) . compileAndRunTest ( ) ; }
Source:
public void onRtlPropertiesChanged ( int layoutDirection ) { super . onRtlPropertiesChanged ( layoutDirection ) ; mTextDir = getTextDirectionHeuristic ( ) ; }

Target:
public void onRtlPropertiesChanged ( int layoutDirection ) { super . onRtlPropertiesChanged ( layoutDirection ) ; mTextDir = getTextDirectionHeuristic ( ) ; if ( ( mLayout ) != null ) { checkForRelayout ( ) ; } }
Source:
void setRunFailureError ( java.lang.String errorMessage ) { mRunFailureError = errorMessage ; }

Target:
public void testRunFailed ( java.lang.String errorMessage ) { mRunFailureError = errorMessage ; }
Source:
public void testClear ( ) { java.util.concurrent.CopyOnWriteArraySet full = jsr166.CopyOnWriteArraySetTest.populatedSet ( 3 ) ; full.clear ( ) ; assertEquals ( 0 , full.size ( ) ) ; }

Target:
public void testAdd3 ( ) { java.util.Set full = jsr166.CopyOnWriteArraySetTest.populatedSet ( 3 ) ; full.add ( three ) ; assertTrue ( full.contains ( three ) ) ; }
Source:
public void setUp ( ) throws java.lang.Exception { mInboundSmsTracker = new com.android.internal.telephony.InboundSmsTracker ( com.android.internal.telephony.InboundSmsTrackerTest.FAKE_PDU , com.android.internal.telephony.InboundSmsTrackerTest.FAKE_TIMESTAMP , com.android.internal.telephony.InboundSmsTrackerTest.FAKE_DEST_PORT , false , com.android.internal.telephony.InboundSmsTrackerTest.FAKE_ADDRESS , com.android.internal.telephony.InboundSmsTrackerTest.FAKE_REFERENCE_NUMBER , com.android.internal.telephony.InboundSmsTrackerTest.FAKE_SEQUENCE_NUMBER , com.android.internal.telephony.InboundSmsTrackerTest.FAKE_MESSAGE_COUNT , false , com.android.internal.telephony.InboundSmsTrackerTest.FAKE_MESSAGE_BODY ) ; }

Target:
public void setUp ( ) throws java.lang.Exception { mInboundSmsTracker = new com.android.internal.telephony.InboundSmsTracker ( com.android.internal.telephony.InboundSmsTrackerTest.FAKE_PDU , com.android.internal.telephony.InboundSmsTrackerTest.FAKE_TIMESTAMP , com.android.internal.telephony.InboundSmsTrackerTest.FAKE_DEST_PORT , false , com.android.internal.telephony.InboundSmsTrackerTest.FAKE_ADDRESS , com.android.internal.telephony.InboundSmsTrackerTest.FAKE_DISPLAY_ADDRESS , com.android.internal.telephony.InboundSmsTrackerTest.FAKE_REFERENCE_NUMBER , com.android.internal.telephony.InboundSmsTrackerTest.FAKE_SEQUENCE_NUMBER , com.android.internal.telephony.InboundSmsTrackerTest.FAKE_MESSAGE_COUNT , false , com.android.internal.telephony.InboundSmsTrackerTest.FAKE_MESSAGE_BODY ) ; }
Source:
public void writeTrackInfoFile ( java.lang.String trackId , android.media.MediaFormat format , boolean isAudio ) { }

Target:
public void writeTrackInfoFiles ( java.util.List < com.android.tv.tuner.exoplayer.buffer.BufferManager.TrackFormat > formatList , boolean isAudio ) { }
Source:
public static final java.util.logging.Logger getGlobal ( ) { return java.util.logging.Logger.global ; }

Target:
public static final java.util.logging.Logger getGlobal ( ) { java.util.logging.LogManager.getLogManager ( ) ; return java.util.logging.Logger.global ; }
Source:
public void testKeyStore_GetEntry_Nonexistent_NullParams_Failure ( ) throws java.lang.Exception { mKeyStore.load ( null , null ) ; assertNull ( "A non-existent entry should return null" , mKeyStore.getEntry ( android.security.AndroidKeyStoreTest.TEST_ALIAS_1 , null ) ) ; }

Target:
public void testKeyStore_GetEntry_Nonexistent_NullParams_Unencrypted_Failure ( ) throws java.lang.Exception { mKeyStore.load ( null , null ) ; assertNull ( "A non-existent entry should return null" , mKeyStore.getEntry ( android.security.AndroidKeyStoreTest.TEST_ALIAS_1 , null ) ) ; }
Source:
public void enter ( ) { maybeLogEvaluationResult ( NetworkEvent.NETWORK_VALIDATED ) ; mConnectivityServiceHandler.sendMessage ( obtainMessage ( com.android.server.connectivity.NetworkMonitor.EVENT_NETWORK_TESTED , com.android.server.connectivity.NetworkMonitor.NETWORK_TEST_RESULT_VALID , mNetworkAgentInfo.network.netId , null ) ) ; }

Target:
public void enter ( ) { maybeLogEvaluationResult ( networkEventType ( validationStage ( ) , com.android.server.connectivity.NetworkMonitor.EvaluationResult.VALIDATED ) ) ; mConnectivityServiceHandler.sendMessage ( obtainMessage ( com.android.server.connectivity.NetworkMonitor.EVENT_NETWORK_TESTED , com.android.server.connectivity.NetworkMonitor.NETWORK_TEST_RESULT_VALID , mNetworkAgentInfo.network.netId , null ) ) ; ( mValidations ) ++ ; }
Source:
public java.util.Iterator < com.android.jack.ir.ast.JMethod > adapt ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface declaredType ) throws java.lang.Exception { return new java.util.ArrayList < com.android.jack.ir.ast.JMethod > ( declaredType.getMethods ( ) ) . iterator ( ) ; }

Target:
public java.util.Iterator < com.android.jack.ir.ast.JMethod > adapt ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface declaredType ) throws java.lang.Exception { return declaredType.getCallables ( ) . iterator ( ) ; }
Source:
public void reset ( int size ) { super . reset ( size ) ; producerStack.reset ( size ) ; }

Target:
public void reset ( int size ) { super . reset ( size ) ; producerStack.reset ( size ) ; actualProducerStack.reset ( size ) ; }
Source:
public boolean matchesPossibleNumber ( java.lang.String nationalNumber , com.google.i18n.phonenumbers.nano.Phonemetadata.PhoneNumberDesc numberDesc ) { java.util.regex.Matcher possibleNumberPatternMatcher = regexCache.getPatternForRegex ( numberDesc.possibleNumberPattern ) . matcher ( nationalNumber ) ; return possibleNumberPatternMatcher.matches ( ) ; }

Target:
public boolean matchesPossibleNumber ( java.lang.String nationalNumber , com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc numberDesc ) { java.util.regex.Matcher possibleNumberPatternMatcher = regexCache.getPatternForRegex ( numberDesc.getPossibleNumberPattern ( ) ) . matcher ( nationalNumber ) ; return possibleNumberPatternMatcher.matches ( ) ; }
Source:
public void onUpgrade ( android.database.sqlite.SQLiteDatabase db , int oldVersion , int newVersion ) { }

Target:
public void onUpgrade ( android.database.sqlite.SQLiteDatabase db , int oldVersion , int newVersion ) { if ( ( oldVersion == 1 ) && ( newVersion == 2 ) ) { db.execSQL ( com.android.dialer.calllog.database.AnnotatedCallLogDatabaseHelper.ALTER_TABLE_SQL_ADD_CALL_MAPPING_ID_COLUMN ) ; db.execSQL ( com.android.dialer.calllog.database.AnnotatedCallLogDatabaseHelper.UPDATE_CALL_MAPPING_ID_COLUMN ) ; } }
Source:
public void run ( ) { mListView.setDivider ( d ) ; }

Target:
public void run ( ) { mListView.setDivider ( d ) ; drawWaiter.registerDrawCompleteCallback ( mListView ) ; }
Source:
public void openFileChooser ( android.webkit.ValueCallback < android.net.Uri > uploadMsg , java.lang.String acceptType ) { mUploadHandler = new com.android.browser.UploadHandler ( this ) ; mUploadHandler.openFileChooser ( uploadMsg , acceptType ) ; }

Target:
public void openFileChooser ( android.webkit.ValueCallback < android.net.Uri > uploadMsg , java.lang.String acceptType , java.lang.String capture ) { mUploadHandler = new com.android.browser.UploadHandler ( this ) ; mUploadHandler.openFileChooser ( uploadMsg , acceptType , capture ) ; }
Source:
private boolean isRangeInvokeInst ( dexfuzz.rawdex.Opcode opcode ) { return dexfuzz.rawdex.Opcode.isBetween ( opcode , Opcode.INVOKE_VIRTUAL , Opcode.INVOKE_INTERFACE ) ; }

Target:
private boolean isRangeInvokeInst ( dexfuzz.rawdex.Opcode opcode ) { return dexfuzz.rawdex.Opcode.isBetween ( opcode , Opcode.INVOKE_VIRTUAL_RANGE , Opcode.INVOKE_INTERFACE_RANGE ) ; }
Source:
public void update ( ) { updateAll ( ) ; }

Target:
public void onPreselected ( ) { updateControls ( true ) ; }
Source:
public void mousePressed ( java.awt.event.MouseEvent e ) { if ( isOverLink ( e.getX ( ) , e.getY ( ) ) ) { com.intellij.ide.BrowserUtil.browse ( "https://console.developers.google.com/project" ) ; } }

Target:
public void mousePressed ( java.awt.event.MouseEvent e ) { if ( isOverLink ( e.getX ( ) , e.getY ( ) ) ) { com.intellij.ide.BrowserUtil.browse ( "https://console.developers.google.com/project" ) ; com.android.tools.idea.stats.UsageTracker.getInstance ( ) . trackEvent ( GctTracking.CATEGORY , GctTracking.PROJECT_SELECTION , "create.new.project" , null ) ; } }
Source:
public void test_minusMinutes_noChange_oneDay_equal ( ) { java.time.LocalTime t = TEST_12_30_40_987654321.minusMinutes ( ( 24 * 60 ) ) ; org.testng.Assert.assertEquals ( t , TEST_12_30_40_987654321 ) ; }

Target:
public void test_minusMinutes_noChange_oneDay_equal ( ) { java.time.LocalTime t = tck.java.time.TCKLocalTime.TEST_12_30_40_987654321.minusMinutes ( ( 24 * 60 ) ) ; org.testng.Assert.assertEquals ( t , tck.java.time.TCKLocalTime.TEST_12_30_40_987654321 ) ; }
Source:
public android.content.Intent getIntent ( android.content.Context context ) { android.content.Intent intent = new android.content.Intent ( com.android.dialer.duo.DuoConstants.DUO_INVITE_ACTION ) . setPackage ( DuoConstants.PACKAGE_NAME ) . setData ( android.net.Uri.fromParts ( PhoneAccount.SCHEME_TEL , number , null ) ) ; return intent ; }

Target:
public android.content.Intent getIntent ( android.content.Context context ) { return com.android.dialer.duo.DuoComponent.get ( context ) . getDuo ( ) . getInviteIntent ( number ) . orNull ( ) ; }
Source:
BRANCH ( com.android.cts.verifier.managedprovisioning.c4d480 Merge ) { }

Target:
private void setAllowNonMarket ( boolean allow ) { mDevicePolicyManager.setSecureSetting ( mAdminReceiverComponent , android.provider.Settings.Secure.INSTALL_NON_MARKET_APPS , ( allow ? "1" : "0" ) ) ; }
Source:
public void run ( org.eclipse.jface.action.IAction action ) { if ( ! ( com.android.ide.eclipse.adt.internal.actions.SdkManagerAction.openAdtSdkManager ( ) ) ) { com.android.ide.eclipse.adt.AdtPlugin.displayError ( "Android SDK" , "Location of the Android SDK has not been setup in the preferences." ) ; } }

Target:
public void run ( org.eclipse.jface.action.IAction action ) { if ( ! ( com.android.ide.eclipse.adt.internal.actions.SdkManagerAction.openExternalSdkManager ( ) ) ) { if ( com.android.ide.eclipse.adt.AdtPlugin.getDefault ( ) . checkSdkLocationAndId ( ) ) { com.android.ide.eclipse.adt.AdtPlugin.displayError ( "Android SDK" , "Failed to run the Android SDK Manager. Check the Android Console View for details." ) ; } } }
Source:
public void removeData ( int i ) { if ( i > ( available ) ) { throw new org.bouncycastle.crypto.tls.TlsRuntimeException ( ( ( ( "Cannot remove " + i ) + " bytes, only got " ) + ( available ) ) ) ; } available -= i ; skipped += i ; }

Target:
public void removeData ( int i ) { if ( i > ( available ) ) { throw new java.lang.IllegalStateException ( ( ( ( "Cannot remove " + i ) + " bytes, only got " ) + ( available ) ) ) ; } available -= i ; skipped += i ; }
Source:
public int [ ] getServiceFeatures ( ) { return mFeatures.stream ( ) . mapToInt ( ( i ) -> i ) . toArray ( ) ; }

Target:
public java.util.Set < android.telephony.ims.stub.ImsFeatureConfiguration.FeatureSlotPair > getServiceFeatures ( ) { return new android.util.ArraySet ( mFeatures ) ; }
Source:
public java.util.List < java.lang.Object > getProguardFiles ( ) { return java.util.Collections.emptyList ( ) ; }

Target:
public java.util.List < java.io.File > getProguardFiles ( ) { return mProguardFiles ; }
Source:
public void test_RSA_public_decrypt_null_key_Failure ( ) throws java.lang.Exception { try { org.conscrypt.NativeCrypto.RSA_public_decrypt ( 0 , new byte [ 0 ] , new byte [ 0 ] , null , 0 ) ; org.junit.Assert.fail ( "Expecting null pointer exception for RSA_public decrypt with null key" ) ; } catch ( java.lang.NullPointerException expected ) { } }

Target:
public void test_RSA_public_decrypt_NullArgumentFailure ( ) throws java.lang.Exception { org.conscrypt.NativeCrypto.RSA_public_decrypt ( 0 , new byte [ 0 ] , new byte [ 0 ] , null , 0 ) ; }
Source:
private void startTimeOut ( ) { cancelTimeOut ( ) ; mTimeoutHandler.sendMessageDelayed ( mTimeoutHandler.obtainMessage ( com.android.stk.StkInputActivity.MSG_ID_TIMEOUT ) , StkApp.UI_TIMEOUT ) ; }

Target:
private void startTimeOut ( ) { int duration = com.android.stk.StkApp.calculateDurationInMilis ( mStkInput.duration ) ; if ( duration <= 0 ) { duration = StkApp.UI_TIMEOUT ; } cancelTimeOut ( ) ; mTimeoutHandler.sendMessageDelayed ( mTimeoutHandler.obtainMessage ( com.android.stk.StkInputActivity.MSG_ID_TIMEOUT ) , duration ) ; }
Source:
public void run ( ) { onDetachedFromWindow ( ) ; }

Target:
public java.lang.Boolean call ( ) { return onKeyUp ( keyCode , event ) ; }
Source:
private static com.intellij.psi.PsiElement [ ] convertToPsiElements ( @ org.jetbrains.annotations.NotNull java.util.List < com.intellij.psi.SmartPsiElementPointer < com.intellij.psi.PsiElement > > primary ) { return com.intellij.util.containers.ContainerUtil.map2Array ( primary , com.intellij.psi.PsiElement.class , com.intellij.usages.UsageInfoToUsageConverter.TargetElementsDescriptor.SMARTPOINTER_TO_ELEMENT_MAPPER ) ; }

Target:
private static com.intellij.psi.PsiElement [ ] convertToPsiElements ( @ org.jetbrains.annotations.NotNull java.util.List < com.intellij.psi.SmartPsiElementPointer < com.intellij.psi.PsiElement > > primary ) { return com.intellij.util.containers.ContainerUtil.toArray ( com.intellij.util.containers.ContainerUtil.mapNotNull ( primary , com.intellij.usages.UsageInfoToUsageConverter.TargetElementsDescriptor.SMARTPOINTER_TO_ELEMENT_MAPPER ) , PsiElement.ARRAY_FACTORY ) ; }
Source:
private int convertToAudioStreamVolume ( int volume ) { return ( ( int ) ( java.lang.Math.round ( ( ( ( ( double ) ( volume ) ) * ( mAudioStreamMax ) ) / ( com.android.bluetooth.avrcp.Avrcp.AVRCP_MAX_VOL ) ) ) ) ) ; }

Target:
private int convertToAudioStreamVolume ( int volume ) { return ( ( int ) ( java.lang.Math.floor ( ( ( ( ( double ) ( volume ) ) * ( mAudioStreamMax ) ) / ( com.android.bluetooth.avrcp.Avrcp.AVRCP_MAX_VOL ) ) ) ) ) ; }
Source:
public void onChannelListUpdated ( ) { if ( com.android.tv.data.epg.EpgFetcher.DEBUG ) android.util.Log.d ( com.android.tv.data.epg.EpgFetcher.TAG , "ChannelDataManager.onChannelListUpdated()" ) ; handleChannelChanged ( ) ; }

Target:
public void onChannelListUpdated ( ) { if ( com.android.tv.data.epg.EpgFetcher.DEBUG ) android.util.Log.d ( com.android.tv.data.epg.EpgFetcher.TAG , "ChannelDataManager.onChannelListUpdated()" ) ; if ( ! ( mScanningChannels ) ) { handleChannelChanged ( ) ; } }
Source:
public void deviceChanged ( com.android.ddmlib.IDevice device , int changeMask ) ;

Target:
void deviceDisconnected ( com.android.ddmlib.IDevice device ) ;
Source:
public android.content.Intent getIntent ( @ android.support.annotation.NonNull android.content.Context context , @ android.support.annotation.NonNull java.lang.String number ) { com.android.dialer.common.Assert.isMainThread ( ) ; com.android.dialer.common.Assert.isNotNull ( context ) ; com.android.dialer.common.Assert.isNotNull ( number ) ; return null ; }

Target:
public com.google.common.base.Optional < android.content.Intent > getCallIntent ( @ android.support.annotation.NonNull java.lang.String number ) { com.android.dialer.common.Assert.isMainThread ( ) ; com.android.dialer.common.Assert.isNotNull ( number ) ; return com.google.common.base.Optional.absent ( ) ; }
Source:
public java.lang.Object [ ] toArray ( ) { return elements.toArray ( ) ; }

Target:
public com.google.common.collect.UnmodifiableIterator < E > descendingIterator ( ) { return elements.reverse ( ) . iterator ( ) ; }
Source:
public void onClick ( android.content.DialogInterface dialog , int which ) { if ( which == ( android.content.DialogInterface.BUTTON_POSITIVE ) ) { mPhone.setDataRoamingEnabled ( true ) ; mOkClicked = true ; } else { mButtonDataRoam.setChecked ( false ) ; } }

Target:
public void onPositiveButtonClick ( android.app.DialogFragment dialog ) { mPhone.setDataRoamingEnabled ( true ) ; mButtonDataRoam.setChecked ( true ) ; }
Source:
private long sumInclusiveTimes ( @ com.android.annotations.NonNull java.util.List < com.android.tools.perflib.vmtrace.Call > callees , com.android.tools.perflib.vmtrace.ClockType clockType ) { long sum = 0 ; for ( com.android.tools.perflib.vmtrace.Call c : callees ) { sum += c.getInclusiveTime ( clockType ) ; } return sum ; }

Target:
private long sumInclusiveTimes ( @ com.android.annotations.NonNull java.util.List < com.android.tools.perflib.vmtrace.Call > callees , com.android.tools.perflib.vmtrace.ClockType clockType ) { long sum = 0 ; for ( com.android.tools.perflib.vmtrace.Call c : callees ) { sum += c.getInclusiveTime ( clockType , java.util.concurrent.TimeUnit.MICROSECONDS ) ; } return sum ; }
Source:
private void tryChangeSimLockState ( ) { android.os.Message callback = android.os.Message.obtain ( mHandler , com.android.settings.SimLockSettings.ENABLE_SIM_PIN_COMPLETE ) ; mPhone.getSimCard ( ) . setSimLockEnabled ( mToState , mPin , callback ) ; }

Target:
private void tryChangeIccLockState ( ) { android.os.Message callback = android.os.Message.obtain ( mHandler , com.android.settings.IccLockSettings.ENABLE_ICC_PIN_COMPLETE ) ; mPhone.getIccCard ( ) . setIccLockEnabled ( mToState , mPin , callback ) ; }
Source:
private void configureStageInstallExpectation ( com.android.timezone.distro.TimeZoneDistro expected , int resultCode ) throws java.lang.Exception { org.mockito.Mockito.when ( mMockTimeZoneDistroInstaller.stageInstallWithErrorCode ( org.mockito.Matchers.eq ( expected ) ) ) . thenReturn ( resultCode ) ; }

Target:
private void configureStageInstallExpectation ( int resultCode ) throws java.lang.Exception { org.mockito.Mockito.when ( mMockTimeZoneDistroInstaller.stageInstallWithErrorCode ( org.mockito.ArgumentMatchers.any ( com.android.timezone.distro.TimeZoneDistro.class ) ) ) . thenReturn ( resultCode ) ; }
Source:
public static android.support.v4.util.SimpleArrayMap < java.lang.Character , java.lang.Character > getCharToKeyMap ( @ android.support.annotation.NonNull android.content.Context context ) { return com.android.dialer.dialpadview.DialpadCharMappings.CHAR_TO_KEY_MAPS.get ( com.android.dialer.compat.CompatUtils.getLocale ( context ) . getISO3Language ( ) ) ; }

Target:
public static android.support.v4.util.SimpleArrayMap < java.lang.Character , java.lang.Character > getCharToKeyMap ( @ android.support.annotation.NonNull android.content.Context context ) { return com.android.dialer.dialpadview.DialpadCharMappings.CHAR_TO_KEY_MAPS.get ( com.android.dialer.i18n.LocaleUtils.getLocale ( context ) . getISO3Language ( ) ) ; }
Source:
public java.net.InetAddress getInetAddress ( ) { if ( ! ( isBound ( ) ) ) { return null ; } return impl.getInetAddress ( ) ; }

Target:
public java.net.InetAddress getInetAddress ( ) { if ( ! ( isBound ( ) ) ) { return null ; } return localAddress ; }
Source:
public static java.lang.String [ ] getDefaultProtocols ( ) { return new java.lang.String [ ] { org.conscrypt.NativeCrypto.SUPPORTED_PROTOCOL_SSLV3 , org.conscrypt.NativeCrypto.SUPPORTED_PROTOCOL_TLSV1 } ; }

Target:
public static java.lang.String [ ] getDefaultProtocols ( ) { return new java.lang.String [ ] { org.conscrypt.NativeCrypto.SUPPORTED_PROTOCOL_SSLV3 , org.conscrypt.NativeCrypto.SUPPORTED_PROTOCOL_TLSV1 , org.conscrypt.NativeCrypto.SUPPORTED_PROTOCOL_TLSV1_1 , org.conscrypt.NativeCrypto.SUPPORTED_PROTOCOL_TLSV1_2 } ; }