auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
static com.android.sched.scheduler.Request createInitialRequest ( ) { com.android.sched.scheduler.Scheduler scheduler = com.android.sched.scheduler.Scheduler.getScheduler ( ) ; com.android.sched.scheduler.Request request = scheduler.createScheduleRequest ( ) ; request.addSchedulables ( scheduler.getAllSchedulable ( ) ) ; return request ; }

Target:
public static com.android.sched.scheduler.Request createInitialRequest ( ) { com.android.sched.scheduler.Scheduler scheduler = com.android.sched.scheduler.Scheduler.getScheduler ( ) ; com.android.sched.scheduler.Request request = scheduler.createScheduleRequest ( ) ; request.addSchedulables ( scheduler.getAllSchedulable ( ) ) ; return request ; }
Source:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) throws java.lang.Exception { if ( type.isExternal ( ) ) { return ; } if ( hasRuntimeAnnotation ( type ) ) { type.addMarker ( MainDexMarker.INSTANCE ) ; } }

Target:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) throws java.lang.Exception { if ( hasRuntimeAnnotation ( type ) ) { type.addMarker ( MainDexMarker.INSTANCE ) ; } }
Source:
private void notifyRegistrantsRilConnectionChanged ( int rilVer ) { mRilVersion = rilVer ; if ( ( mRilConnectedRegistrants ) != null ) { mRilConnectedRegistrants.notifyRegistrants ( new android.os.AsyncResult ( null , new java.lang.Integer ( rilVer ) , null ) ) ; } }

Target:
void notifyRegistrantsRilConnectionChanged ( int rilVer ) { mRilVersion = rilVer ; if ( ( mRilConnectedRegistrants ) != null ) { mRilConnectedRegistrants.notifyRegistrants ( new android.os.AsyncResult ( null , new java.lang.Integer ( rilVer ) , null ) ) ; } }
Source:
public final native void transact ( int code , android.os.HwParcel request , android.os.HwParcel reply , int flags ) ;

Target:
public final native void transact ( int code , android.os.HwParcel request , android.os.HwParcel reply , int flags ) throws android.os.RemoteException ;
Source:
public void testCameraImageCaptureAndRendering ( ) throws java.lang.Exception { if ( cameraAvailable ( ) ) { android.graphics.cts.CameraGpuCtsActivity activity = mActivityRule.launchActivity ( null ) ; activity.waitToFinishRendering ( ) ; activity.finish ( ) ; } }

Target:
public void testCameraImageCaptureAndRendering ( ) throws java.lang.Exception { android.graphics.cts.CameraGpuCtsActivity activity = mActivityRule.launchActivity ( null ) ; activity.waitToFinishRendering ( ) ; activity.finish ( ) ; }
Source:
public void add ( com.android.bluetooth.map.BluetoothMapMessageListingElement element ) { mList.add ( element ) ; if ( element.getReadBool ( ) ) { mHasUnread = true ; } }

Target:
public void add ( com.android.bluetooth.map.BluetoothMapMessageListingElement element ) { mList.add ( element ) ; if ( ! ( element.getReadBool ( ) ) ) { mHasUnread = true ; } }
Source:
private void assertTombstone ( java.lang.String alias ) { assertTrue ( org.conscrypt.TrustedCertificateStore.isUser ( alias ) ) ; java.io.File file = org.conscrypt.TrustedCertificateStoreTest.file ( alias ) ; assertTrue ( file.exists ( ) ) ; assertEquals ( 0 , file.length ( ) ) ; }

Target:
private void assertTombstone ( java.lang.String alias ) { assertTrue ( org.conscrypt.TrustedCertificateStore.isUser ( alias ) ) ; java.io.File file = file ( alias ) ; assertTrue ( file.exists ( ) ) ; assertEquals ( 0 , file.length ( ) ) ; }
Source:
public void runUntilIdle ( ) { assert ( mRunLoopID ) != 0 : "The run loop cannot run once closed" ; nativeRunUntilIdle ( ) ; }

Target:
public void runUntilIdle ( ) { assert ( mRunLoopID ) != 0 : "The run loop cannot run once closed" ; nativeRunUntilIdle ( mRunLoopID ) ; }
Source:
private int getConversationCount ( ) { if ( android.util.Log.isLoggable ( LogTag.WIDGET , Log.VERBOSE ) ) { android.util.Log.v ( com.android.mms.widget.MmsWidgetService.TAG , "getConversationCount" ) ; } synchronized ( com.android.mms.widget.MmsWidgetService.sWidgetLock ) { return java.lang.Math.min ( mConversationCursor.getCount ( ) , com.android.mms.widget.MmsWidgetService.MmsFactory.MAX_CONVERSATIONS_COUNT ) ; } }

Target:
private int getConversationCount ( ) { if ( android.util.Log.isLoggable ( LogTag.WIDGET , Log.VERBOSE ) ) { android.util.Log.v ( com.android.mms.widget.MmsWidgetService.TAG , "getConversationCount" ) ; } return java.lang.Math.min ( mConversationCursor.getCount ( ) , com.android.mms.widget.MmsWidgetService.MmsFactory.MAX_CONVERSATIONS_COUNT ) ; }
Source:
public boolean accept ( java.io.File pathname ) { java.lang.String name = pathname.getName ( ) ; return ! ( ( name.startsWith ( extractedFilePrefix ) ) || ( name.equals ( android.support.multidex.MultiDexExtractor.LOCK_FILENAME ) ) ) ; }

Target:
public boolean accept ( java.io.File pathname ) { return ! ( pathname.getName ( ) . equals ( android.support.multidex.MultiDexExtractor.LOCK_FILENAME ) ) ; }
Source:
final void attach ( android.content.Context context ) { attachBaseContext ( context ) ; mLoadedApk = android.app.ContextImpl.getImpl ( context ) . mPackageInfo ; }

Target:
final void attach ( android.content.Context context ) { attachBaseContext ( context ) ; mLoadedApk = android.app.ContextImpl.getImpl ( context ) . mLoadedApk ; }
Source:
public void finishKey ( android.view.IWindow window ) { if ( com.android.server.WindowManagerService.localLOGV ) android.util.Log.v ( com.android.server.WindowManagerService.TAG , ( "IWindow finishKey called for " + window ) ) ; mKeyWaiter.finishedKey ( this , window , false , com.android.server.WindowManagerService.KeyWaiter.RETURN_NOTHING ) ; }

Target:
public void finishKey ( android.view.IWindow window ) { if ( com.android.server.WindowManagerService.localLOGV ) android.util.Slog.v ( com.android.server.WindowManagerService.TAG , ( "IWindow finishKey called for " + window ) ) ; mKeyWaiter.finishedKey ( this , window , false , com.android.server.WindowManagerService.KeyWaiter.RETURN_NOTHING ) ; }
Source:
void putUnchecked ( int pos , int [ ] dst , int srcOffset , int length ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
abstract void putUnchecked ( int pos , int [ ] dst , int srcOffset , int length ) ;
Source:
public java.lang.String getNfcHandoverSelect ( ) { if ( ( com.android.server.wifi.WifiNative.HIDL_P2P_ENABLE ) && ( ( mSupplicantP2pIfaceHal ) != null ) ) { return mSupplicantP2pIfaceHal.getNfcHandoverSelect ( ) ; } else { return doStringCommand ( "NFC_GET_HANDOVER_SEL NDEF P2P-CR" ) ; } }

Target:
public java.lang.String getNfcHandoverSelect ( ) { return mSupplicantP2pIfaceHal.getNfcHandoverSelect ( ) ; }
Source:
public java.lang.String getUrl ( ) { throw new android.webkit.MustOverrideException ( ) ; }

Target:
public abstract java.lang.String getUrl ( ) ;
Source:
public void sendDtmf ( char c , android.os.Message result ) throws android.os.RemoteException { }

Target:
public void sendDtmf ( char c , android.os.Message result ) { this . sendDtmf ( c , result ) ; }
Source:
public static void sort ( byte [ ] a ) { java.util.DualPivotQuicksort.sort ( a ) ; }

Target:
public static void sort ( float [ ] a ) { java.util.DualPivotQuicksort.sort ( a , 0 , ( ( a.length ) - 1 ) , null , 0 , 0 ) ; }
Source:
native void rsnAllocationRead ( int con , int id , float [ ] d ) ;

Target:
native void rsnAllocationRead ( long con , long id , long [ ] d ) ;
Source:
void doQuit ( ) { removeUncleanAccounts ( ) ; if ( ( mHandlerThread ) != null ) { mHandlerThread.quitSafely ( ) ; } quitNow ( ) ; }

Target:
void doQuit ( ) { if ( ( mHandlerThread ) != null ) { mHandlerThread.quitSafely ( ) ; } quitNow ( ) ; }
Source:
public com.android.sdklib.internal.project.ProjectProperties makeReadOnlyCopy ( ) { java.util.HashMap < java.lang.String , java.lang.String > propList = new java.util.HashMap < java.lang.String , java.lang.String > ( ) ; propList.putAll ( mProperties ) ; return new com.android.sdklib.internal.project.ProjectProperties ( mProjectFolder , propList , mType ) ; }

Target:
public com.android.sdklib.internal.project.ProjectProperties makeReadOnlyCopy ( ) { java.util.Map < java.lang.String , java.lang.String > propList = new java.util.HashMap < java.lang.String , java.lang.String > ( mProperties ) ; return new com.android.sdklib.internal.project.ProjectProperties ( mProjectFolder , propList , mType ) ; }
Source:
public static void setEndpointIdentificationAlgorithm ( javax.net.ssl.SSLParameters params , java.lang.String endpointIdentificationAlgorithm ) { params.setEndpointIdentificationAlgorithm ( endpointIdentificationAlgorithm ) ; }

Target:
static void setEndpointIdentificationAlgorithm ( javax.net.ssl.SSLParameters params , java.lang.String endpointIdentificationAlgorithm ) { params.setEndpointIdentificationAlgorithm ( endpointIdentificationAlgorithm ) ; }
Source:
public java.lang.String getProperty ( java.lang.String name ) throws android.os.RemoteException { return null ; }

Target:
public java.lang.String getProperty ( java.lang.String name ) { return this . getProperty ( name ) ; }
Source:
public void tearDown ( ) throws java.lang.Exception { super . tearDown ( ) ; android.support.test.espresso.Espresso.setFailureHandler ( new android.support.test.espresso.base.DefaultFailureHandler ( android.support.test.InstrumentationRegistry.getTargetContext ( ) ) ) ; }

Target:
public void tearDown ( ) throws java.lang.Exception { android.support.test.espresso.Espresso.setFailureHandler ( new android.support.test.espresso.base.DefaultFailureHandler ( android.support.test.InstrumentationRegistry.getTargetContext ( ) ) ) ; }
Source:
public void visitRuntimeInvisibleAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Field field , proguard.classfile.attribute.visitor.RuntimeInvisibleAnnotationsAttribute runtimeInvisibleAnnotationsAttribute ) { if ( ( optionalAttributeVisitor ) != null ) { runtimeInvisibleAnnotationsAttribute.accept ( clazz , field , optionalAttributeVisitor ) ; } }

Target:
public void visitRuntimeInvisibleAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Field field , proguard.classfile.attribute.visitor.RuntimeInvisibleAnnotationsAttribute runtimeInvisibleAnnotationsAttribute ) { if ( ( optionalAttributeVisitor ) != null ) { optionalAttributeVisitor.visitRuntimeInvisibleAnnotationsAttribute ( clazz , field , runtimeInvisibleAnnotationsAttribute ) ; } }
Source:
public com.google.common.base.Joiner useForNull ( java.lang.String nullText ) { com.google.common.base.Preconditions.checkNotNull ( nullText ) ; throw new java.lang.UnsupportedOperationException ( "already specified useForNull" ) ; }

Target:
public com.google.common.base.Joiner useForNull ( java.lang.String nullText ) { throw new java.lang.UnsupportedOperationException ( "already specified useForNull" ) ; }
Source:
public com.android.jack.library.OutputJackLibrary getJackOutputLibrary ( ) { return jackOutputLibrary ; }

Target:
public com.android.jack.library.OutputJackLibrary getJackOutputLibrary ( ) { assert ( jackOutputLibrary ) != null ; return jackOutputLibrary ; }
Source:
protected void onButtonAddonSites ( org.eclipse.swt.events.SelectionEvent e ) { com.android.sdkuilib.internal.repository.AddonSitesDialog d = new com.android.sdkuilib.internal.repository.AddonSitesDialog ( getShell ( ) , mUpdaterData ) ; if ( d.open ( ) ) { loadPackages ( ) ; } }

Target:
protected void onButtonAddonSites ( ) { com.android.sdkuilib.internal.repository.AddonSitesDialog d = new com.android.sdkuilib.internal.repository.AddonSitesDialog ( getShell ( ) , mUpdaterData ) ; if ( d.open ( ) ) { loadPackages ( ) ; } }
Source:
void registerContentObservers ( android.content.Context appContext ) ;

Target:
void registerContentObservers ( ) ;
Source:
public E peekLast ( ) { return elements [ ( ( ( tail ) - 1 ) & ( ( elements.length ) - 1 ) ) ] ; }

Target:
public E peekLast ( ) { @ java.lang.SuppressWarnings ( value = "unchecked" ) E result = ( ( E ) ( elements [ ( ( ( tail ) - 1 ) & ( ( elements.length ) - 1 ) ) ] ) ) ; return result ; }
Source:
protected java.util.Map.Entry < K , V > get ( int index ) { return com.google.common.collect.Maps.immutableEntry ( getKey ( index ) , getValue ( index ) ) ; }

Target:
public V get ( int index ) { return getValue ( index ) ; }
Source:
private int getApiLevel ( java.lang.String target ) { if ( target.startsWith ( "android-" ) ) { return java.lang.Integer.parseInt ( target.substring ( "android-" . length ( ) ) ) ; } throw new java.lang.IllegalArgumentException ( "Android target '%s' is not recognized." ) ; }

Target:
private int getApiLevel ( java.lang.String target ) { if ( target.startsWith ( "android-" ) ) { return java.lang.Integer.parseInt ( target.substring ( "android-" . length ( ) ) ) ; } return - 1 ; }
Source:
public void onAvailable ( android.net.Network network ) { checkExpectedThread ( ) ; handleAvailable ( mCallbackType , network ) ; }

Target:
public void onAvailable ( android.net.Network network ) { handleAvailable ( mCallbackType , network ) ; }
Source:
protected synchronized boolean cleanup ( ) { android.util.Log.i ( com.android.bluetooth.hfp.HeadsetService.TAG , "cleanup" ) ; if ( ! ( mCreated ) ) { android.util.Log.w ( com.android.bluetooth.hfp.HeadsetService.TAG , "cleanup() called before create()" ) ; return true ; } mCreated = false ; return true ; }

Target:
protected synchronized void cleanup ( ) { android.util.Log.i ( com.android.bluetooth.hfp.HeadsetService.TAG , "cleanup" ) ; if ( ! ( mCreated ) ) { android.util.Log.w ( com.android.bluetooth.hfp.HeadsetService.TAG , "cleanup() called before create()" ) ; } mCreated = false ; }
Source:
public static void setUpClass ( ) { com.android.jack.compile.androidtree.dalvik.finalizer.FinalizerTest.class . getClassLoader ( ) . setDefaultAssertionStatus ( true ) ; com.android.jack.compile.androidtree.dalvik.finalizer.FinalizerTest.BOOTCLASSPATH = new java.io.File [ ] { com.android.jack.TestTools.getFromAndroidTree ( "out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/classes.jack" ) } ; }

Target:
public static void setUpClass ( ) { com.android.jack.compile.androidtree.dalvik.finalizer.FinalizerTest.BOOTCLASSPATH = new java.io.File [ ] { com.android.jack.TestTools.getFromAndroidTree ( "out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/classes.jack" ) } ; }
Source:
protected boolean mustTraceOverridingMethod ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod method ) { synchronized ( method ) { com.android.jack.analysis.tracer.BaseTracerMarker marker = method.getMarker ( markerClass ) ; if ( marker != null ) { return marker.mustTraceOverridingMethods ( ) ; } } return false ; }

Target:
protected boolean mustTraceOverridingMethod ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod method ) { com.android.jack.analysis.tracer.BaseTracerMarker marker = method.getMarker ( markerClass ) ; if ( marker != null ) { return marker.mustTraceOverridingMethods ( ) ; } return false ; }
Source:
public void registrationConnectedWithRadioTech ( int imsRadioTech ) { if ( com.android.ims.ImsManager.DBG ) { com.android.ims.ImsManager.log ( ( "registrationConnectedWithRadioTech :: imsRadioTech=" + imsRadioTech ) ) ; } if ( ( mListener ) != null ) { mListener.onImsConnected ( ) ; mListener.onImsConnected ( imsRadioTech ) ; } }

Target:
public void registrationConnectedWithRadioTech ( int imsRadioTech ) { if ( com.android.ims.ImsManager.DBG ) { com.android.ims.ImsManager.log ( ( "registrationConnectedWithRadioTech :: imsRadioTech=" + imsRadioTech ) ) ; } if ( ( mListener ) != null ) { mListener.onImsConnected ( imsRadioTech ) ; } }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent arg0 ) { onBrowseSdCard ( ) ; validatePage ( ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { super . widgetSelected ( e ) ; validatePage ( ) ; }
Source:
public void testConnectFailureDueToNetworkSelectFailure ( ) throws java.lang.Exception { executeAndValidateInitializationSequence ( ) ; setupMocksForConnectSequence ( false ) ; org.mockito.Mockito.when ( mSupplicantStaNetworkMock.select ( ) ) . thenReturn ( false ) ; assertFalse ( mDut.connectToNetwork ( new android.net.wifi.WifiConfiguration ( ) , false ) ) ; }

Target:
public void testConnectFailureDueToNetworkSelectFailure ( ) throws java.lang.Exception { executeAndValidateInitializationSequence ( ) ; setupMocksForConnectSequence ( false ) ; org.mockito.Mockito.when ( mSupplicantStaNetworkMock.select ( ) ) . thenReturn ( false ) ; assertFalse ( mDut.connectToNetwork ( new android.net.wifi.WifiConfiguration ( ) ) ) ; }
Source:
public com.android.util.Pair < com.android.resources.ResourceType , java.lang.String > resolveResourceId ( int id ) { if ( ( mProjectRes ) != null ) { return mProjectRes.resolveResourceValue ( id ) ; } return null ; }

Target:
public com.android.util.Pair < com.android.resources.ResourceType , java.lang.String > resolveResourceId ( int id ) { if ( ( mProjectRes ) != null ) { return mProjectRes.resolveResourceId ( id ) ; } return null ; }
Source:
public void testAccept_NonBlock_NoConnect ( ) throws java.io.IOException { java.net.ServerSocket gotSocket = this . serverChannel.socket ( ) ; gotSocket.bind ( null ) ; this . serverChannel.configureBlocking ( false ) ; assertNull ( this . serverChannel.accept ( ) ) ; }

Target:
public void testAccept_NonBlock_NoConnect ( ) throws java.io.IOException { this . serverChannel.bind ( null ) ; this . serverChannel.configureBlocking ( false ) ; assertNull ( this . serverChannel.accept ( ) ) ; }
Source:
static void multiplyP ( int [ ] x ) { if ( ( org.bouncycastle.crypto.modes.gcm.GCMUtil.shiftRight ( x ) ) != 0 ) { x [ 0 ] ^= org.bouncycastle.crypto.modes.gcm.GCMUtil.E1 ; } }

Target:
public static void multiplyP ( int [ ] x ) { int m = ( org.bouncycastle.crypto.modes.gcm.GCMUtil.shiftRight ( x ) ) > > 8 ; x [ 0 ] ^= m & ( org.bouncycastle.crypto.modes.gcm.GCMUtil.E1 ) ; }
Source:
int getAudioState ( android.bluetooth.BluetoothDevice device ) { return mStateMachine.getAudioState ( device ) ; }

Target:
int getAudioState ( android.bluetooth.BluetoothDevice device ) { return mStateMachine.getAudioState ( ) ; }
Source:
public void addToBlacklist ( java.lang.String bssid ) { enforceChangePermission ( ) ; mWifiStateMachine.addToBlacklist ( bssid ) ; }

Target:
public void addToBlacklist ( java.lang.String bssid ) { }
Source:
public void testCipher_Success ( ) throws java.lang.Exception { for ( java.lang.String provider : libcore.javax.crypto.CipherTest.AES_PROVIDERS ) { testCipher_Success ( provider ) ; } testCipher_Success_ForAllSupportingProviders_AtLeastOneProviderRequired ( libcore.javax.crypto.CipherTest.DES_CIPHER_TEST_PARAMS ) ; }

Target:
public void testCipher_Success ( ) throws java.lang.Exception { for ( java.lang.String provider : libcore.javax.crypto.CipherTest.AES_PROVIDERS ) { testCipher_Success ( provider ) ; } }
Source:
public void onServiceDisconnected ( android.content.ComponentName className ) { if ( android.bluetooth.BluetoothPbap.DBG ) android.bluetooth.BluetoothPbap.log ( "Proxy object disconnected" ) ; mService = null ; if ( ( mServiceListener ) != null ) { mServiceListener.onServiceDisconnected ( ) ; } }

Target:
public void onServiceDisconnected ( android.content.ComponentName className ) { android.bluetooth.BluetoothPbap.log ( "Proxy object disconnected" ) ; mService = null ; if ( ( mServiceListener ) != null ) { mServiceListener.onServiceDisconnected ( ) ; } }
Source:
public void warning ( java.lang.String tag , java.lang.String message ) { }

Target:
public void warning ( java.lang.String tag , java.lang.String message , java.lang.Object data ) { }
Source:
public void test002e ( ) throws java.lang.Exception { java.io.File jackOutput = com.android.jack.test.toolchain.AbstractTestTools.createTempFile ( "jackoutput" , ".zip" ) ; try { runTest002 ( jackOutput , true , "fail" ) ; junit.framework.Assert.fail ( ) ; } catch ( com.android.jack.resource.ResourceImportConflictException e ) { } }

Target:
public void test002e ( ) throws java.lang.Exception { java.io.File jackOutput ; try { jackOutput = runTest002 ( true , "fail" ) ; junit.framework.Assert.fail ( ) ; } catch ( com.android.jack.resource.ResourceImportConflictException e ) { } }
Source:
public void remove ( ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public int size ( ) { return set.size ( ) ; }
Source:
public abstract java.lang.String getAbiType ( ) ;

Target:
public java.lang.String getAbiType ( ) ;
Source:
public static libcore.icu.CollationElementIteratorICU getInstance ( int collatorAddress , java.lang.String source ) { int iteratorAddress = libcore.icu.NativeCollation.getCollationElementIterator ( collatorAddress , source ) ; return new libcore.icu.CollationElementIteratorICU ( iteratorAddress ) ; }

Target:
public static libcore.icu.CollationElementIteratorICU getInstance ( long collatorAddress , java.lang.String source ) { long iteratorAddress = libcore.icu.NativeCollation.getCollationElementIterator ( collatorAddress , source ) ; return new libcore.icu.CollationElementIteratorICU ( iteratorAddress ) ; }
Source:
public void setRemoteAddress ( java.lang.String remoteAddress ) { if ( remoteAddress == null ) { throw new java.lang.IllegalArgumentException ( "remoteAddress may not be null!" ) ; } mRemoteAddress = remoteAddress ; }

Target:
public void setRemoteAddress ( java.lang.String remoteAddress ) { mRemoteAddress = remoteAddress ; }
Source:
public java.lang.Object deleteChild ( java.lang.Object t , int i ) { return deleteChild ( t , i ) ; }

Target:
public java.lang.Object deleteChild ( java.lang.Object t , int i ) { return adaptor.deleteChild ( t , i ) ; }
Source:
private static float calculateWeight ( long startDelta , long endDelta ) { return ( com.android.server.display.AutomaticBrightnessController.weightIntegral ( endDelta ) ) - ( com.android.server.display.AutomaticBrightnessController.weightIntegral ( startDelta ) ) ; }

Target:
private float calculateWeight ( long startDelta , long endDelta ) { return ( weightIntegral ( endDelta ) ) - ( weightIntegral ( startDelta ) ) ; }
Source:
public java.util.Set < com.google.common.collect.Multiset.Entry < E > > entrySet ( ) { java.util.Set < com.google.common.collect.Multiset.Entry < E > > result = entrySet ; return result == null ? entrySet = createEntrySet ( ) : result ; }

Target:
public java.util.Set < com.google.common.collect.Multiset.Entry < E > > entrySet ( ) { java.util.Set < com.google.common.collect.Multiset.Entry < E > > result = entrySet ; if ( result == null ) { entrySet = result = createEntrySet ( ) ; } return result ; }
Source:
public void _test ( com.ibm.icu.text.NumberFormat fmt , double value ) { _test ( fmt , new java.lang.Double ( value ) ) ; }

Target:
private void _test ( com.ibm.icu.text.NumberFormat fmt , double value ) { _test ( fmt , new java.lang.Double ( value ) ) ; }
Source:
public static double ReturnDouble33 ( ) { int imm = Main.$inline$int ( 33 ) ; return ( ( double ) ( imm ) ) ; }

Target:
public static double ReturnDouble33 ( ) { int imm = 33 ; return ( ( double ) ( imm ) ) ; }
Source:
public static < T > org.hamcrest.Matcher < T > anyOf ( java.lang.Iterable < org.hamcrest.Matcher < ? extends T > > matchers ) { return new org.hamcrest.core.AnyOf < T > ( matchers ) ; }

Target:
public static < T > org.hamcrest.core.AnyOf < T > anyOf ( java.lang.Iterable < org.hamcrest.Matcher < ? super T > > matchers ) { return new org.hamcrest.core.AnyOf ( matchers ) ; }
Source:
public static java.util.Locale getDefault ( ) { if ( ( java.util.Locale.defaultLocale ) == null ) { java.util.Locale locale = java.util.Locale.initDefault ( ) ; } return java.util.Locale.defaultLocale ; }

Target:
public static java.util.Locale getDefault ( ) { if ( ( java.util.Locale.defaultLocale ) == null ) { java.util.Locale.initDefault ( ) ; } return java.util.Locale.defaultLocale ; }
Source:
public int getThreadCount ( ) { return 1 ; }

Target:
public java.lang.Integer getThreadCount ( ) { return null ; }
Source:
protected void execute ( org.eclipse.core.runtime.IProgressMonitor monitor ) throws java.lang.reflect.InvocationTargetException { createProjectAsync ( monitor , mainData , testData , null ) ; }

Target:
protected void execute ( org.eclipse.core.runtime.IProgressMonitor monitor ) throws java.lang.reflect.InvocationTargetException { createProjectAsync ( monitor , mainData , testData , null , true ) ; }
Source:
public boolean isTrue ( ) throws android.support.test.uiautomator.UiObjectNotFoundException { return ( gotItButton.exists ( ) ) && ( undoButton.exists ( ) ) ; }

Target:
public boolean isTrue ( ) throws android.support.test.uiautomator.UiObjectNotFoundException { return gotItButton.exists ( ) ; }
Source:
public boolean resetAndStart ( ) { try { dalvik.system.VMDebug.startInstructionCounting ( ) ; dalvik.system.VMDebug.resetInstructionCount ( ) ; } catch ( java.lang.UnsupportedOperationException uoe ) { return false ; } return true ; }

Target:
public boolean resetAndStart ( ) { return false ; }
Source:
public static int $noinline$SubAddConst1 ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( 5 - arg ) + 6 ; }

Target:
public static int $noinline$SubAddConst1 ( int arg ) { return ( 5 - arg ) + 6 ; }
Source:
public synchronized void setDomStorageEnabled ( boolean flag ) { throw new android.webkit.MustOverrideException ( ) ; }

Target:
public abstract void setDomStorageEnabled ( boolean flag ) ;
Source:
public java.lang.String toString ( ) { java.lang.StringBuilder sb = new java.lang.StringBuilder ( ) ; write ( sb , com.android.sdklib.internal.export.ApkData.PROP_OUTPUTNAME , mOutputName ) ; write ( sb , com.android.sdklib.internal.export.ApkData.PROP_BUILDINFO , mBuildInfo ) ; sb.append ( getLogLine ( ) ) ; return sb.toString ( ) ; }

Target:
public java.lang.String toString ( ) { return getLogLine ( ) ; }
Source:
public void setFrom ( java.util.ArrayList < android.text.util.Rfc822Token > from ) { this . mFrom = from ; }

Target:
public void setFrom ( java.util.ArrayList < android.text.util.Rfc822Token > from ) { this . from = from ; }
Source:
public boolean setActiveDevice ( android.bluetooth.BluetoothDevice device ) { if ( ( mService ) == null ) return false ; mService.setActiveDevice ( device ) ; return true ; }

Target:
public boolean setActiveDevice ( android.bluetooth.BluetoothDevice device ) { if ( ( mService ) == null ) return false ; return mService.setActiveDevice ( device ) ; }
Source:
public synchronized void setGroupingUsed ( boolean enabled ) { if ( enabled ) { properties.setGroupingSize ( 3 ) ; } else { properties.setGroupingSize ( ( - 1 ) ) ; properties.setSecondaryGroupingSize ( ( - 1 ) ) ; } refreshFormatter ( ) ; }

Target:
public synchronized void setGroupingUsed ( boolean enabled ) { if ( enabled ) { properties.setGroupingSize ( 3 ) ; } else { properties.setGroupingSize ( 0 ) ; properties.setSecondaryGroupingSize ( 0 ) ; } refreshFormatter ( ) ; }
Source:
public boolean getIccLockEnabled ( ) { synchronized ( mLock ) { java.lang.Boolean retValue = ( ( mUiccApplication ) != null ) ? mUiccApplication.getIccLockEnabled ( ) : true ; return retValue ; } }

Target:
public boolean getIccLockEnabled ( ) { synchronized ( mLock ) { java.lang.Boolean retValue = ( ( mUiccApplication ) != null ) ? mUiccApplication.getIccLockEnabled ( ) : false ; return retValue ; } }
Source:
public void registerCallback ( android.bluetooth.IBluetoothCallback cb ) { com.android.bluetooth.btservice.AdapterService service = getService ( ) ; if ( service == null ) return ; service.registerCallback ( cb ) ; }

Target:
public void registerCallback ( android.bluetooth.IBluetoothCallback cb ) { com.android.bluetooth.btservice.AdapterService service = getService ( ) ; if ( service == null ) { return ; } service.registerCallback ( cb ) ; }
Source:
void getUnchecked ( int pos , int [ ] dst , int dstOffset , int length ) { libcore.io.Memory.peekIntArray ( ix ( pos ) , dst , dstOffset , length , ( ! ( nativeByteOrder ) ) ) ; }

Target:
final void getUnchecked ( int pos , int [ ] dst , int dstOffset , int length ) { libcore.io.Memory.peekIntArray ( ix ( pos ) , dst , dstOffset , length , ( ! ( nativeByteOrder ) ) ) ; }
Source:
private void removeLastLineSeparator ( ) { int newLength = ( mOut.length ( ) ) - ( mLineSeparator.length ( ) ) ; if ( newLength > 0 ) { mOut.setLength ( newLength ) ; } }

Target:
private void removeLastLineSeparator ( ) { int newLength = ( mOut.length ( ) ) - ( mLineSeparator.length ( ) ) ; if ( newLength >= 0 ) { mOut.setLength ( newLength ) ; } }
Source:
public boolean isConnected ( int sessionId , int callServiceType , int callType ) throws android.os.RemoteException { synchronized ( mLock ) { checkBinderConnection ( ) ; return getServiceInterface ( mBinder ) . isConnected ( mSlotId , mSupportedFeature , sessionId , callServiceType , callType ) ; } }

Target:
public boolean isConnected ( int callServiceType , int callType ) throws android.os.RemoteException { synchronized ( mLock ) { checkBinderConnection ( ) ; return getServiceInterface ( mBinder ) . isConnected ( mSlotId , mSupportedFeature , callServiceType , callType ) ; } }
Source:
public int getFeatureState ( ) throws android.os.RemoteException { synchronized ( mLock ) { return this . getFeatureState ( ) ; } }

Target:
public int getFeatureState ( ) throws android.os.RemoteException { synchronized ( mLock ) { try { return this . getFeatureState ( ) ; } catch ( java.lang.Exception e ) { throw new android.os.RemoteException ( e.getMessage ( ) ) ; } } }
Source:
public com.android.tools.lint.client.api.Configuration getConfiguration ( com.android.tools.lint.detector.api.Project project ) { return new com.android.tools.lint.checks.AbstractCheckTest.TestConfiguration ( ) ; }

Target:
protected com.android.tools.lint.checks.AbstractCheckTest.TestConfiguration getConfiguration ( com.android.tools.lint.detector.api.Project project ) { return new com.android.tools.lint.checks.AbstractCheckTest.TestConfiguration ( ) ; }
Source:
void expectCapabilitiesWithout ( int capability , com.android.server.ConnectivityServiceTest.MockNetworkAgent agent ) { com.android.server.ConnectivityServiceTest.CallbackInfo cbi = expectCallback ( com.android.server.ConnectivityServiceTest.CallbackState.NETWORK_CAPABILITIES , agent ) ; android.net.NetworkCapabilities nc = ( ( android.net.NetworkCapabilities ) ( cbi.arg ) ) ; org.junit.Assert.assertFalse ( nc.hasCapability ( capability ) ) ; }

Target:
android.net.NetworkCapabilities expectCapabilitiesWithout ( int capability , com.android.server.ConnectivityServiceTest.MockNetworkAgent agent ) { com.android.server.ConnectivityServiceTest.CallbackInfo cbi = expectCallback ( com.android.server.ConnectivityServiceTest.CallbackState.NETWORK_CAPABILITIES , agent ) ; android.net.NetworkCapabilities nc = ( ( android.net.NetworkCapabilities ) ( cbi.arg ) ) ; org.junit.Assert.assertFalse ( nc.hasCapability ( capability ) ) ; return nc ; }
Source:
public java.lang.Object clone ( ) { try { java.text.DateFormatSymbols other = ( ( java.text.DateFormatSymbols ) ( super . clone ( ) ) ) ; copyMembers ( this , other ) ; return other ; } catch ( java.lang.CloneNotSupportedException e ) { throw new java.lang.InternalError ( ) ; } }

Target:
public java.lang.Object clone ( ) { try { java.text.DateFormatSymbols other = ( ( java.text.DateFormatSymbols ) ( super . clone ( ) ) ) ; copyMembers ( this , other ) ; return other ; } catch ( java.lang.CloneNotSupportedException e ) { throw new java.lang.InternalError ( e ) ; } }
Source:
void loge ( java.lang.String s ) { if ( com.android.internal.telephony.ims.IsimUiccRecords.DBG ) android.util.Log.e ( com.android.internal.telephony.ims.IsimUiccRecords.LOG_TAG , ( "[ISIM] " + s ) ) ; }

Target:
protected void loge ( java.lang.String s ) { if ( com.android.internal.telephony.ims.IsimUiccRecords.DBG ) android.util.Log.e ( com.android.internal.telephony.ims.IsimUiccRecords.LOG_TAG , ( "[ISIM] " + s ) ) ; }
Source:
public static void checkStructureWithJill ( @ javax.annotation.CheckForNull java.io.File [ ] refBootclasspath , @ javax.annotation.CheckForNull java.io.File [ ] refClasspath , @ javax.annotation.Nonnull java.io.File fileOrSourceList , boolean withDebugInfo ) throws java.lang.Exception { com.android.jill.JillTestTools.checkStructureWithJill ( refBootclasspath , refClasspath , fileOrSourceList , withDebugInfo , null , null ) ; }

Target:
public static void checkStructureWithJill ( @ javax.annotation.CheckForNull java.io.File [ ] refClasspath , @ javax.annotation.Nonnull java.io.File fileOrSourceList , boolean withDebugInfo ) throws java.lang.Exception { com.android.jill.JillTestTools.checkStructureWithJill ( refClasspath , fileOrSourceList , withDebugInfo , null , null ) ; }
Source:
public void close ( ) { maybeUnregisterObserverProxy ( ) ; mCursor.deactivate ( ) ; }

Target:
public void close ( ) { maybeUnregisterObserverProxy ( ) ; mCursor.close ( ) ; }
Source:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { java.lang.System.loadLibrary ( args [ 1 ] ) ; Main.testAgentThread ( ) ; java.lang.System.out.println ( "Done" ) ; }

Target:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { Main.testAgentThread ( ) ; java.lang.System.out.println ( "Done" ) ; }
Source:
public java.nio.ByteBuffer put ( long a , byte x ) { libcore.io.Memory.pokeByte ( a , x ) ; return this ; }

Target:
private java.nio.ByteBuffer put ( long a , byte x ) { libcore.io.Memory.pokeByte ( a , x ) ; return this ; }
Source:
public static void assertEquals ( boolean actual , boolean expected ) throws java.lang.AssertionError { if ( actual != expected ) { throw new java.lang.AssertionError ( ( ( ( ( "Actual != Expected (" + actual ) + " != " ) + expected ) + ")" ) ) ; } }

Target:
public static void assertEquals ( boolean expected , boolean actual ) { if ( actual != expected ) { throw new java.lang.AssertionError ( ( ( ( ( "Actual != Expected (" + actual ) + " != " ) + expected ) + ")" ) ) ; } }
Source:
public void testNetdDomain ( ) throws com.android.tradefed.device.DeviceNotAvailableException { assertDomainN ( "u:r:netd:s0" , "/system/bin/netd" , "/system/bin/iptables-restore" , "/system/bin/ip6tables-restore" ) ; HEAD ( "CTS: Add run-test-based JVMTI tests" ) ; }

Target:
public void testNetdDomain ( ) throws com.android.tradefed.device.DeviceNotAvailableException { assertDomainN ( "u:r:netd:s0" , "/system/bin/netd" , "/system/bin/iptables-restore" , "/system/bin/ip6tables-restore" ) ; }
Source:
public static void finalizeAllEnqueued ( ) throws java.lang.InterruptedException { java.lang.ref.FinalizerReference.Sentinel sentinel = new java.lang.ref.FinalizerReference.Sentinel ( ) ; java.lang.ref.FinalizerReference.enqueueSentinelReference ( sentinel ) ; sentinel.awaitFinalization ( ) ; }

Target:
public static void finalizeAllEnqueued ( ) throws java.lang.InterruptedException { java.lang.ref.FinalizerReference.Sentinel sentinel ; do { sentinel = new java.lang.ref.FinalizerReference.Sentinel ( ) ; } while ( ! ( java.lang.ref.FinalizerReference.enqueueSentinelReference ( sentinel ) ) ) ; sentinel.awaitFinalization ( ) ; }
Source:
protected com.android.jack.shrob.shrink.KeepMarker createMarkerFor ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JNode node ) { return KeepMarker.INSTANCE ; }

Target:
protected com.android.jack.shrob.shrink.KeepMarker createMarkerFor ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JNode node ) { return new com.android.jack.shrob.shrink.KeepMarker ( ) ; }
Source:
public void onAddressedPlayerChanged ( android.content.ComponentName receiver ) { setAddressedMediaSessionPackage ( receiver.getPackageName ( ) ) ; }

Target:
public void onAddressedPlayerChanged ( android.content.ComponentName receiver ) { if ( receiver == null ) { setAddressedMediaSessionPackage ( null ) ; return ; } setAddressedMediaSessionPackage ( receiver.getPackageName ( ) ) ; }
Source:
public void setCondition ( boolean condition ) { if ( mConditionIsSet ) { throw new org.apache.tools.ant.BuildException ( "Cannot use both condition and isset attribute" ) ; } mCondition = condition ; mConditionIsSet = true ; }

Target:
public void setCondition ( boolean condition ) { mCondition = condition ; mConditionIsSet = true ; }
Source:
public void setMute ( boolean muted ) throws android.os.RemoteException { }

Target:
public void setMute ( boolean muted ) { this . setMute ( muted ) ; }
Source:
synchronized void nContextDestroy ( ) { validate ( ) ; java.util.concurrent.locks.ReentrantReadWriteLock.WriteLock wlock = mRWLock.writeLock ( ) ; wlock.lock ( ) ; int curCon = mContext ; mContext = 0 ; wlock.unlock ( ) ; rsnContextDestroy ( curCon ) ; }

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:
private static final android.net.Uri getPhoneLookupFilterUri ( ) { return android.provider.ContactsContract.PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI ; }

Target:
private static android.net.Uri getPhoneLookupFilterUri ( ) { return android.provider.ContactsContract.PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI ; }
Source:
private boolean isRequired ( ) { return ( ( ( com.android.compatibility.common.util.PropertyUtil.getFirstApiLevel ( ) ) >= ( android.security.cts.EncryptionTest.MIN_API_LEVEL ) ) && ( ! ( hasLowRAM ( ) ) ) ) && ( ! ( isTelevision ( ) ) ) ; }

Target:
private boolean isRequired ( ) { return ( ( com.android.compatibility.common.util.PropertyUtil.getFirstApiLevel ( ) ) >= ( android.security.cts.EncryptionTest.MIN_API_LEVEL ) ) && ( ! ( isTelevision ( ) ) ) ; }
Source:
public void incomingCall ( com.android.ims.internal.ImsCallSession c ) throws android.os.RemoteException { notifyIncomingCall ( c ) ; }

Target:
public void incomingCall ( com.android.ims.internal.ImsCallSession c ) throws android.os.RemoteException { notifyIncomingCall ( c , null ) ; }
Source:
public static long LongMultiplication ( ) { long a ; long b ; long c ; a = Main.$inline$long ( 7L ) ; b = Main.$inline$long ( 3L ) ; c = a * b ; return c ; }

Target:
public static long LongMultiplication ( ) { long a ; long b ; long c ; a = 7L ; b = 3L ; c = a * b ; return c ; }
Source:
public static java.lang.String transportNameOf ( int transport ) { if ( ! ( android.net.NetworkCapabilities.isValidTransport ( transport ) ) ) { return "UNKNOWN" ; } return android.net.NetworkCapabilities.TRANSPORT_NAMES [ transport ] ; }

Target:
public static java.lang.String transportNameOf ( int transport ) { if ( ( transport < 0 ) || ( ( android.net.NetworkCapabilities.TRANSPORT_NAMES.length ) <= transport ) ) { return "UNKNOWN" ; } return android.net.NetworkCapabilities.TRANSPORT_NAMES [ transport ] ; }
Source:
public double getDouble ( int i ) { if ( ! ( memoryRef.isAccessible ) ) { throw new java.lang.IllegalStateException ( "buffer is inaccessible" ) ; } return getDouble ( ix ( checkIndex ( i , SizeOf.DOUBLE ) ) ) ; }

Target:
public final double getDouble ( int i ) { if ( ! ( memoryRef.isAccessible ) ) { throw new java.lang.IllegalStateException ( "buffer is inaccessible" ) ; } return getDouble ( ix ( checkIndex ( i , SizeOf.DOUBLE ) ) ) ; }
Source:
private static void confirmInterrupted ( java.lang.Thread thread ) throws java.lang.InterruptedException { assertTrue ( java.lang.Thread.interrupted ( ) ) ; thread.join ( ) ; }

Target:
private static void confirmInterrupted ( java.lang.Thread thread ) throws java.lang.InterruptedException { try { assertTrue ( java.lang.Thread.interrupted ( ) ) ; } finally { thread.join ( ) ; } }
Source:
public java.net.ServerSocket createServerSocket ( int port ) throws java.io.IOException { return throwException ( ) ; }

Target:
public java.net.ServerSocket createServerSocket ( ) throws java.io.IOException { return throwException ( ) ; }
Source:
public void testEmptyFamily ( ) { java.util.regex.Pattern.compile ( "\\p{Lower}" ) ; java.lang.String a = "*" ; }

Target:
public void testEmptyFamily ( ) { java.util.regex.Pattern.compile ( "\\p{Lower}" ) ; }
Source:
public java.lang.Object getContent ( ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public java.lang.Object getContent ( ) { return this ; }
Source:
void onSearchCompleted ( int connId , int status ) throws android.os.RemoteException { if ( com.android.bluetooth.gatt.GattService.DBG ) android.util.Log.d ( com.android.bluetooth.gatt.GattService.TAG , ( ( ( "onSearchCompleted() - connId=" + connId ) + ", status=" ) + status ) ) ; gattClientGetGattDbNative ( connId ) ; }

Target:
public void run ( ) { gattClientGetGattDbNative ( connId ) ; }
Source:
public void forceStopPackage ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "packageName" , description = "name of package" ) java.lang.String packageName ) { mActivityManager.restartPackage ( packageName ) ; }

Target:
public void forceStopPackage ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "packageName" , description = "name of package" ) java.lang.String packageName ) { mActivityManager.forceStopPackage ( packageName ) ; }
Source:
public java.util.Set < java.lang.String > getSupportedAbis ( ) { java.util.Set < java.lang.String > filters = mMergedNdkConfig.getAbiFilters ( ) ; if ( filters != null ) { return filters ; } return java.util.Collections.emptySet ( ) ; }

Target:
public java.util.Set < java.lang.String > getSupportedAbis ( ) { return mMergedNdkConfig.getAbiFilters ( ) ; }
Source:
public int getCallingThreadId ( ) { return mCurrentThreadId.get ( ) ; }

Target:
private int getCallingThreadId ( ) { return mCurrentThreadId.get ( ) ; }
Source:
public final java.lang.String getTypeName ( ) { return ( ( ( mType.name ( ) ) + "[" ) + ( mValues.length ) ) + "]" ; }

Target:
public final java.lang.String toString ( ) { return java.lang.String.format ( "%s[%d]@0x08x" , mType.name ( ) , mValues.length , mId ) ; }
Source:
public boolean p2pServDiscCancelReq ( java.lang.String id ) { if ( ( com.android.server.wifi.WifiNative.HIDL_P2P_ENABLE ) && ( ( mSupplicantP2pIfaceHal ) != null ) ) { return mSupplicantP2pIfaceHal.cancelServiceDiscovery ( id ) ; } else { return doBooleanCommand ( ( "P2P_SERV_DISC_CANCEL_REQ " + id ) ) ; } }

Target:
public boolean p2pServDiscCancelReq ( java.lang.String id ) { return mSupplicantP2pIfaceHal.cancelServiceDiscovery ( id ) ; }
Source:
private void init ( org.apache.harmony.xnet.provider.jsse.SSLParametersImpl sslParameters ) throws java.io.IOException { init ( sslParameters , org.apache.harmony.xnet.provider.jsse.NativeCrypto.getDefaultProtocols ( ) , org.apache.harmony.xnet.provider.jsse.NativeCrypto.getDefaultCipherSuites ( ) , org.apache.harmony.xnet.provider.jsse.NativeCrypto.getDefaultCompressionMethods ( ) ) ; }

Target:
private void init ( org.apache.harmony.xnet.provider.jsse.SSLParametersImpl sslParameters ) throws java.io.IOException { init ( sslParameters , org.apache.harmony.xnet.provider.jsse.NativeCrypto.getDefaultProtocols ( ) , org.apache.harmony.xnet.provider.jsse.NativeCrypto.getDefaultCipherSuites ( ) ) ; }
Source:
private java.nio.channels.DatagramChannel createReceiverChannel ( ) throws java.lang.Exception { java.nio.channels.DatagramChannel dc = java.nio.channels.DatagramChannel.open ( ) ; dc.bind ( null ) ; libcore.java.nio.channels.DatagramChannelMulticastTest.configureChannelForReceiving ( dc ) ; return dc ; }

Target:
private static java.nio.channels.DatagramChannel createReceiverChannel ( ) throws java.lang.Exception { java.nio.channels.DatagramChannel dc = java.nio.channels.DatagramChannel.open ( ) ; libcore.java.nio.channels.DatagramChannelMulticastTest.configureChannelForReceiving ( dc ) ; dc.bind ( null ) ; return dc ; }
Source:
public void testOk ( ) throws java.lang.Exception { assertEquals ( "No warnings." , lintProject ( xml ( "AndroidManifest.xml" , ( "" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" + "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + " package=\"com.example.helloworld\" >\n" ) + "\n" ) + " <application\n" ) + " android:allowBackup=\"true\"\n" ) + " android:icon=\"@mipmap/ic_launcher\"\n" ) + " android:label=\"@string/app_name\"\n" ) + " android:theme=\"@style/AppTheme\" >\n" ) + " <activity\n" ) + " android:name=\".FullscreenActivity\"\n" ) + " android:configChanges=\"orientation|keyboardHidden|screenSize\"\n" ) + " android:label=\"@string/title_activity_fullscreen\"\n" ) + " android:theme=\"@style/FullscreenTheme\" >\n" ) + " <intent-filter android:label=\"@string/title_activity_fullscreen\">\n" ) + " <action android:name=\"android.intent.action.VIEW\" />\n" ) + " <!-- Accepts URIs that begin with \"http://example.com/gizmos” -->\n" ) + " <data android:scheme=\"http\"\n" ) + " android:host=\"example.com\"\n" ) + " android:pathPrefix=\"/gizmos\" />\n" ) + " <category android:name=\"android.intent.category.DEFAULT\" />\n" ) + " <category android:name=\"android.intent.category.BROWSABLE\" />\n" ) + " </intent-filter>\n" ) + " </activity>\n" ) + " </application>\n" ) + "\n" ) + "</manifest>\n" ) ) ) ) ) ; }

Target:
public void testOk ( ) throws java.lang.Exception { assertEquals ( "No warnings." , lintProject ( xml ( "AndroidManifest.xml" , ( "" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" + "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + " package=\"com.example.helloworld\" >\n" ) + "\n" ) + " <application\n" ) + " android:allowBackup=\"true\"\n" ) + " android:icon=\"@mipmap/ic_launcher\"\n" ) + " android:label=\"@string/app_name\"\n" ) + " android:theme=\"@style/AppTheme\" >\n" ) + " <activity\n" ) + " android:name=\".FullscreenActivity\"\n" ) + " android:configChanges=\"orientation|keyboardHidden|screenSize\"\n" ) + " android:label=\"@string/title_activity_fullscreen\"\n" ) + " android:theme=\"@style/FullscreenTheme\" >\n" ) + " <intent-filter android:label=\"@string/title_activity_fullscreen\">\n" ) + " <action android:name=\"android.intent.action.VIEW\" />\n" ) + " <data android:scheme=\"http\"\n" ) + " android:host=\"example.com\"\n" ) + " android:pathPrefix=\"/gizmos\" />\n" ) + " <category android:name=\"android.intent.category.DEFAULT\" />\n" ) + " <category android:name=\"android.intent.category.BROWSABLE\" />\n" ) + " </intent-filter>\n" ) + " </activity>\n" ) + " </application>\n" ) + "\n" ) + "</manifest>\n" ) ) ) ) ) ; }
Source:
void addOptionInstance ( com.google.devtools.common.options.ParsedOptionDescription parsedOption , com.google.devtools.common.options.OptionDefinition implicitDependant , com.google.devtools.common.options.OptionDefinition expandedFrom , java.util.List < java.lang.String > warnings ) throws com.google.devtools.common.options.OptionsParsingException { }

Target:
void addOptionInstance ( com.google.devtools.common.options.ParsedOptionDescription parsedOption , java.util.List < java.lang.String > warnings ) throws com.google.devtools.common.options.OptionsParsingException { }
Source:
private void handleRemovedCall ( com.android.server.telecom.ConnectionServiceFocusManager.CallFocus call ) { android.telecom.Log.d ( this , "handleRemovedCall %s" , call ) ; mCalls.remove ( call ) ; if ( call.equals ( mCurrentFocusCall ) ) { updateCurrentFocusCall ( ) ; } }

Target:
private void handleRemovedCall ( com.android.server.telecom.ConnectionServiceFocusManager.CallFocus call ) { mCalls.remove ( call ) ; if ( call.equals ( mCurrentFocusCall ) ) { updateCurrentFocusCall ( ) ; } }
Source:
public void run ( ) { mCallback.onConnectionUpdated ( this , interval , latency , timeout , status ) ; }

Target:
public void run ( ) { if ( ( mCallback ) != null ) { mCallback.onConnectionUpdated ( this , interval , latency , timeout , status ) ; } }
Source:
public void run ( ) { if ( changed || ( ( mITreeViewer.getInput ( ) ) != ( mDiffLogic.getCategories ( isSortByApi ( ) ) ) ) ) { refreshViewerInput ( ) ; } }

Target:
public void run ( ) { if ( changed || ( ( mITreeViewer.getInput ( ) ) != ( mDiffLogic.getCategories ( ) ) ) ) { refreshViewerInput ( ) ; } }
Source:
void setEchoSuppressionEnabled ( boolean enabled ) ;

Target:
void setEchoSuppressionEnabled ( ) ;