auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
private void updateMenuActions ( ) { boolean hasSelection = ! ( mSelections.isEmpty ( ) ) ; mCanvas.updateMenuActions ( hasSelection ) ; }

Target:
private void updateMenuActions ( ) { boolean hasSelection = ! ( mSelections.isEmpty ( ) ) ; mCanvas.updateMenuActionState ( hasSelection ) ; }
Source:
static void inlinedForNull ( java.lang.Iterable < ? > it ) { it.iterator ( ) ; }

Target:
static void inlinedForNull ( java.lang.Iterable < ? > it ) { it.iterator ( ) ; if ( it != null ) { if ( Main.doThrow ) { throw new java.lang.Error ( "" ) ; } } }
Source:
public void setUp ( ) throws java.lang.Exception { android.jvmti.cts.JniBindings.bindAgentJNI ( "android/jvmti/cts/JvmtiTrackingTest" , getClass ( ) . getClassLoader ( ) ) ; android.jvmti.cts.JvmtiTrackingTest.prefetchClassNames ( ) ; }

Target:
public void setUp ( ) throws java.lang.Exception { art.Main.bindAgentJNI ( "android/jvmti/cts/JvmtiTrackingTest" , getClass ( ) . getClassLoader ( ) ) ; android.jvmti.cts.JvmtiTrackingTest.prefetchClassNames ( ) ; }
Source:
public void setLevel ( int level ) { if ( ( level < ( java.util.zip.Deflater.DEFAULT_COMPRESSION ) ) || ( level > ( java.util.zip.Deflater.BEST_COMPRESSION ) ) ) { throw new java.lang.IllegalArgumentException ( ) ; } compressLevel = level ; }

Target:
public void setLevel ( int level ) { if ( ( level < ( java.util.zip.Deflater.DEFAULT_COMPRESSION ) ) || ( level > ( java.util.zip.Deflater.BEST_COMPRESSION ) ) ) { throw new java.lang.IllegalArgumentException ( ( "Bad level: " + level ) ) ; } compressLevel = level ; }
Source:
public static void main ( java.lang.String [ ] args ) { Main.rem ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { Main.remInt ( ) ; Main.remLong ( ) ; }
Source:
public boolean retainAll ( java.util.Collection < ? > c ) { return removePredicate ( com.google.common.base.Predicates.not ( com.google.common.base.Predicates.in ( c ) ) ) ; }

Target:
public boolean retainAll ( final java.util.Collection < ? > c ) { return removeFromColumnIf ( com.google.common.collect.Maps.< V > valuePredicateOnEntries ( com.google.common.base.Predicates.not ( com.google.common.base.Predicates.in ( c ) ) ) ) ; }
Source:
public java.lang.String formatValue ( @ javax.annotation.Nonnull com.android.sched.vfs.InputOutputVDir directory ) { return directory.getLocation ( ) . getDescription ( ) ; }

Target:
public java.lang.String formatValue ( @ javax.annotation.Nonnull com.android.sched.vfs.InputOutputVFS directory ) { return directory.getLocation ( ) . getDescription ( ) ; }
Source:
native void rsnAllocationData1D ( long con , long id , int off , int mip , int count , long [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationData1D ( long con , long id , int off , int mip , int count , java.lang.Object d , int sizeBytes , int dt ) ;
Source:
private void sendTrackChangedRsp ( ) { if ( ! ( isBrowseSupported ( getCurrentAddrPlayer ( ) ) ) ) { trackChangeRspForBrowseUnsupported ( ) ; } else { mAddressedMediaPlayer.sendTrackChangeWithId ( mTrackChangedNT , mMediaController ) ; } }

Target:
private void addKeyPending ( android.view.KeyEvent event ) { synchronized ( mPassthroughPending ) { mPassthroughPending.add ( new com.android.bluetooth.avrcp.Avrcp.MediaKeyLog ( java.lang.System.currentTimeMillis ( ) , event ) ) ; } }
Source:
void initDebugBuildTypes ( @ org.gradle.model.Path ( value = "android.buildTypes" ) org.gradle.model.collection.ManagedSet < com.android.build.gradle.managed.BuildType > buildTypes , @ org.gradle.model.Path ( value = "android.signingConfigs" ) org.gradle.model.collection.ManagedSet < com.android.build.gradle.managed.SigningConfig > signingConfigs ) { final com.android.build.gradle.managed.SigningConfig debugSigningConfig = buildTypes.beforeEach ; { com.android.build.gradle.managed.BuildType buildType ; com.android.build.gradle.model.BaseComponentModelPlugin.Rules.initBuildType ( buildType ) ; } buildTypes.afterEach = $missing$ ; com.android.build.gradle.managed.BuildType buildType ; buildType.setSigningConfig ( debugSigningConfig ) ; }

Target:
public void execute ( com.android.build.gradle.managed.BuildType buildType ) { com.android.build.gradle.model.BaseComponentModelPlugin.Rules.initBuildType ( buildType ) ; }
Source:
public static int randomIntInternal ( ) { return java.lang.Math.INSTANCE.nextInt ( ) ; }

Target:
public static int randomIntInternal ( ) { return java.lang.Math.NoImagePreloadHolder.INSTANCE.nextInt ( ) ; }
Source:
public boolean visit ( org.eclipse.jdt.core.dom.TagElement node ) { return visitTagElement ( rewrite , node ) ; }

Target:
public boolean visit ( org.eclipse.jdt.core.dom.TagElement node ) { return visitTagElement ( reporter , rewrite , node ) ; }
Source:
public void setSimPowerState ( boolean powerUp ) { setSimPowerStateForSlot ( getDefaultSim ( ) , powerUp ) ; }

Target:
public void setSimPowerState ( boolean powerUp ) { setSimPowerStateForSlot ( getSlotIndex ( ) , powerUp ) ; }
Source:
public int getExitThreadTime ( ) { return mExitThreadTime ; }

Target:
public long getExitThreadTime ( ) { return com.google.common.primitives.UnsignedInts.toLong ( mExitThreadTime ) ; }
Source:
public void setUp ( ) throws java.lang.Exception { mFilePath = com.android.ide.eclipse.tests.AdtTestData.getInstance ( ) . getTestFilePath ( com.android.ide.eclipse.adt.internal.resources.AttrsXmlParserManifestTest.MOCK_DATA_PATH ) ; mParser = new com.android.ide.eclipse.adt.internal.resources.AttrsXmlParser ( mFilePath ) ; }

Target:
public void setUp ( ) throws java.lang.Exception { mFilePath = com.android.ide.eclipse.tests.AdtTestData.getInstance ( ) . getTestFilePath ( com.android.ide.common.resources.platform.AttrsXmlParserManifestTest.MOCK_DATA_PATH ) ; mParser = new com.android.ide.common.resources.platform.AttrsXmlParser ( mFilePath ) ; }
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; assertTrue ( "LocalTransport should be available." , hasBackupTransport ( android.backup.cts.BackupQuotaTest.LOCAL_TRANSPORT ) ) ; wasBackupEnabled = enableBackup ( true ) ; oldTransport = setBackupTransport ( android.backup.cts.BackupQuotaTest.LOCAL_TRANSPORT ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; localTransportIsPresent = hasBackupTransport ( android.backup.cts.BackupQuotaTest.LOCAL_TRANSPORT ) ; if ( ! ( localTransportIsPresent ) ) { return ; } wasBackupEnabled = enableBackup ( true ) ; oldTransport = setBackupTransport ( android.backup.cts.BackupQuotaTest.LOCAL_TRANSPORT ) ; }
Source:
public java.util.List < android.telephony.CellInfo > getAllCellInfo ( ) { return getServiceStateTracker ( ) . getAllCellInfo ( ) ; }

Target:
public java.util.List < android.telephony.CellInfo > getAllCellInfo ( android.os.WorkSource workSource ) { return getServiceStateTracker ( ) . getAllCellInfo ( workSource ) ; }
Source:
public void encode ( @ org.jetbrains.annotations.NotNull com.android.tools.rpclib.binary.Encoder e ) throws java.io.IOException { com.android.tools.rpclib.rpccore.ObjectFactory.encode ( e , this ) ; }

Target:
public java.lang.String getMessage ( ) { return mMessage ; }
Source:
public int startDataDownload ( com.android.internal.telephony.gsm.SmsMessage smsMessage ) { if ( sendMessage ( obtainMessage ( com.android.internal.telephony.gsm.UsimDataDownloadHandler.EVENT_START_DATA_DOWNLOAD , smsMessage ) ) ) { return android.app.Activity.RESULT_OK ; } else { android.util.Log.e ( com.android.internal.telephony.gsm.UsimDataDownloadHandler.TAG , "startDataDownload failed to send message to start data download." ) ; return android.provider.Telephony.Sms.Intents.RESULT_SMS_GENERIC_ERROR ; } }

Target:
public int startDataDownload ( com.android.internal.telephony.gsm.SmsMessage smsMessage ) { if ( sendMessage ( obtainMessage ( com.android.internal.telephony.gsm.UsimDataDownloadHandler.EVENT_START_DATA_DOWNLOAD , smsMessage ) ) ) { return android.app.Activity.RESULT_OK ; } else { android.telephony.Rlog.e ( com.android.internal.telephony.gsm.UsimDataDownloadHandler.TAG , "startDataDownload failed to send message to start data download." ) ; return android.provider.Telephony.Sms.Intents.RESULT_SMS_GENERIC_ERROR ; } }
Source:
public static void setReporter ( dalvik.system.CloseGuard.Reporter reporter ) { if ( reporter == null ) { throw new java.lang.NullPointerException ( "reporter == null" ) ; } dalvik.system.CloseGuard.REPORTER = reporter ; }

Target:
public static void setReporter ( dalvik.system.CloseGuard.Reporter rep ) { if ( rep == null ) { throw new java.lang.NullPointerException ( "reporter == null" ) ; } dalvik.system.CloseGuard.reporter = rep ; }
Source:
public void setPreferredVoicePrivacy ( boolean enable , android.os.Message result ) { android.util.Log.w ( com.android.internal.telephony.test.SimulatedCommands.LOG_TAG , "CDMA not implemented in SimulatedCommands" ) ; unimplemented ( result ) ; }

Target:
public void setPreferredVoicePrivacy ( boolean enable , android.os.Message result ) { android.telephony.Rlog.w ( com.android.internal.telephony.test.SimulatedCommands.LOG_TAG , "CDMA not implemented in SimulatedCommands" ) ; unimplemented ( result ) ; }
Source:
public static void test_twoJar_diff_getInstanceVariable ( ) throws java.lang.Exception { dalvik.system.DexClassLoaderTest.test_diff_getInstanceVariable ( dalvik.system.DexClassLoaderTest.Configuration.TWO_JAR ) ; }

Target:
public void test_twoDex_simpleUse ( ) throws java.lang.Exception { java.lang.String result = ( ( java.lang.String ) ( createLoaderAndCallMethod ( "test.Test1" , "test" , dex1 , dex2 ) ) ) ; assertSame ( "blort" , result ) ; }
Source:
public abstract long get ( com.android.tools.perflib.vmtrace.MethodInfo info , java.lang.String threadName ) ;

Target:
public abstract long get ( com.android.tools.perflib.vmtrace.MethodInfo info , com.android.tools.perflib.vmtrace.ThreadInfo thread ) ;
Source:
public void test_with_TemporalField_long_invalidValue ( ) { TEST_2007_07_15.with ( java.time.temporal.ChronoField.DAY_OF_WEEK , ( - 1 ) ) ; }

Target:
public void test_with_TemporalField_long_invalidValue ( ) { tck.java.time.TCKLocalDate.TEST_2007_07_15.with ( java.time.temporal.ChronoField.DAY_OF_WEEK , ( - 1 ) ) ; }
Source:
java.lang.ClassLoader getClassLoaderImpl ( ) { java.lang.ClassLoader loader = classLoader ; return loader == null ? java.lang.BootClassLoader.getInstance ( ) : loader ; }

Target:
public java.lang.ClassLoader getClassLoader ( ) { if ( this . isPrimitive ( ) ) { return null ; } final java.lang.ClassLoader loader = classLoader ; return loader == null ? java.lang.BootClassLoader.getInstance ( ) : loader ; }
Source:
public void setApkbasename ( java.lang.String apkbaseName ) { mApkBaseName = apkbaseName ; }

Target:
public void setApkbasename ( java.lang.String apkbaseName ) { java.lang.System.out.println ( ( "WARNNG: Using deprecated 'apkbasename' attribute in AaptExecLoopTask." + "Use 'resourceFilename' (string) instead." ) ) ; mApkBaseName = apkbaseName ; }
Source:
private void checkForComodification ( ) { if ( ( l.getArray ( ) ) != ( expectedArray ) ) throw new java.util.ConcurrentModificationException ( ) ; }

Target:
void checkConcurrentModification ( java.lang.Object [ ] snapshot ) { if ( ( expectedElements ) != snapshot ) { throw new java.util.ConcurrentModificationException ( ) ; } }
Source:
public com.android.sched.util.config.MessageDigestFactory parseString ( @ javax.annotation.Nonnull com.android.sched.util.codec.CodecContext context , @ javax.annotation.Nonnull java.lang.String string ) { return new com.android.sched.util.config.MessageDigestFactory ( codec.parseString ( context , string ) ) ; }

Target:
protected com.android.sched.util.config.MessageDigestFactory convert ( @ javax.annotation.Nonnull java.security.Provider.Service service ) { return new com.android.sched.util.config.MessageDigestFactory ( service ) ; }
Source:
private static void test_callStaticMethod ( dalvik.system.DexClassLoaderTest.Configuration config ) throws java.lang.Exception { dalvik.system.DexClassLoaderTest.createInstanceAndCallStaticMethod ( config , "test.TestMethods" , "test_callStaticMethod" ) ; }

Target:
public void test_oneJar_callStaticMethod ( ) throws java.lang.Exception { createLoaderAndCallMethod ( "test.TestMethods" , "test_callStaticMethod" , jar1 ) ; }
Source:
public void execute ( com.android.build.gradle.managed.BuildType buildType ) { if ( ( buildType.getNdk ( ) . getIsDebuggable ( ) ) == null ) { buildType.getNdk ( ) . setIsDebuggable ( true ) ; } }

Target:
public void execute ( com.android.build.gradle.managed.BuildType buildType ) { if ( ( buildType.getNdk ( ) . getDebuggable ( ) ) == null ) { buildType.getNdk ( ) . setDebuggable ( true ) ; } }
Source:
public com.google.common.base.Objects.ToStringHelper addValue ( int value ) { addHolder ( ) . builder.append ( value ) ; return this ; }

Target:
public com.google.common.base.Objects.ToStringHelper addValue ( int value ) { return addHolder ( java.lang.String.valueOf ( value ) ) ; }
Source:
public void testRegistrationCallbackNoCallbackIfUnknown ( ) throws android.os.RemoteException { mRegBinder.addRegistrationCallback ( mCallback2 ) ; org.mockito.Mockito.verify ( mCallback2 , org.mockito.Mockito.never ( ) ) . onDeregistered ( org.mockito.ArgumentMatchers.any ( com.android.ims.ImsReasonInfo.class ) ) ; }

Target:
public void testRegistrationCallbackNoCallbackIfUnknown ( ) throws android.os.RemoteException { mRegBinder.addRegistrationCallback ( mCallback2 ) ; org.mockito.Mockito.verify ( mCallback2 , org.mockito.Mockito.never ( ) ) . onDeregistered ( org.mockito.ArgumentMatchers.any ( android.telephony.ims.ImsReasonInfo.class ) ) ; }
Source:
public void testContextMenu ( ) { com.android.ide.common.layout.LinearLayoutRule rule = new com.android.ide.common.layout.LinearLayoutRule ( ) ; com.android.ide.common.api.INode node = com.android.ide.common.layout.TestNode.create ( "android.widget.Button" ) . id ( "@+id/Button012" ) ; java.util.List < com.android.ide.common.api.MenuAction > contextMenu = rule.getContextMenu ( node ) ; assertEquals ( 4 , contextMenu.size ( ) ) ; assertEquals ( "Layout Width" , contextMenu.get ( 0 ) . getTitle ( ) ) ; assertEquals ( "Layout Height" , contextMenu.get ( 1 ) . getTitle ( ) ) ; assertEquals ( "Properties" , contextMenu.get ( 2 ) . getTitle ( ) ) ; assertEquals ( "Orientation" , contextMenu.get ( 3 ) . getTitle ( ) ) ; com.android.ide.common.api.MenuAction propertiesMenu = contextMenu.get ( 2 ) ; assertTrue ( propertiesMenu.getClass ( ) . getName ( ) , ( propertiesMenu instanceof com.android.ide.common.api.MenuAction.Group ) ) ; }

Target:
public void testContextMenu ( ) { com.android.ide.common.layout.LinearLayoutRule rule = new com.android.ide.common.layout.LinearLayoutRule ( ) ; initialize ( rule , "android.widget.LinearLayout" ) ; com.android.ide.common.api.INode node = com.android.ide.common.layout.TestNode.create ( "android.widget.Button" ) . id ( "@+id/Button012" ) ; java.util.List < com.android.ide.common.api.MenuAction > contextMenu = rule.getContextMenu ( node ) ; assertEquals ( 4 , contextMenu.size ( ) ) ; assertEquals ( "Layout Width" , contextMenu.get ( 0 ) . getTitle ( ) ) ; assertEquals ( "Layout Height" , contextMenu.get ( 1 ) . getTitle ( ) ) ; assertEquals ( "Properties" , contextMenu.get ( 2 ) . getTitle ( ) ) ; assertEquals ( "Orientation" , contextMenu.get ( 3 ) . getTitle ( ) ) ; com.android.ide.common.api.MenuAction propertiesMenu = contextMenu.get ( 2 ) ; assertTrue ( propertiesMenu.getClass ( ) . getName ( ) , ( propertiesMenu instanceof com.android.ide.common.api.MenuAction.Group ) ) ; }
Source:
public boolean isServiceAvailable ( ) { if ( ( mImsServiceProxy ) == null ) { createImsService ( ) ; } return mImsServiceProxy.isBinderAlive ( ) ; }

Target:
public void connectIfServiceIsAvailable ( ) { if ( ( ( mImsServiceProxy ) == null ) || ( ! ( mImsServiceProxy.isBinderAlive ( ) ) ) ) { createImsService ( ) ; } }
Source:
public static int ShrIntLong ( ) { int lhs = 7 ; long rhs = 2 ; return lhs > > rhs ; }

Target:
public static int ShrIntLong ( ) { int lhs = Main.$inline$int ( 7 ) ; long rhs = Main.$inline$long ( 2L ) ; return lhs > > rhs ; }
Source:
public android.telephony.ModemActivityInfo telephonyGetModemActivityInfo ( ) { android.telephony.ModemActivityInfo info = mTelephonyManager.getModemActivityInfo ( ) ; return info ; }

Target:
public java.lang.Boolean telephonySetRadioPower ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "turnOn" ) boolean turnOn ) { return mTelephonyManager.setRadioPower ( turnOn ) ; }
Source:
public void requestIsimAuthentication ( java.lang.String nonce , android.os.Message response ) ;

Target:
void registerForPhysicalChannelConfiguration ( android.os.Handler h , int what , java.lang.Object obj ) ;
Source:
public java.util.List < java.io.File > getJavaSourceFolders ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Project project ) { return getEclipseClasspath ( project , "src" , "src" , "gen" ) ; }

Target:
public java.util.List < java.io.File > getJavaSourceFolders ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Project project ) { return getClassPath ( project ) . getSourceFolders ( ) ; }
Source:
public void testEmptySetSerialization ( ) { java.lang.String s = "aced0005737200116a6176612e7574696c2e54726565536574dd98509395ed87" + "5b03000078707077040000000078" ; java.util.TreeSet < java.lang.String > set = new java.util.TreeSet < java.lang.String > ( ) ; new libcore.util.SerializationTester < java.util.TreeSet < java.lang.String > > ( set , s ) . test ( ) ; }

Target:
public void testEmptySetSerialization ( ) { java.lang.String s = "aced0005737200116a6176612e7574696c2e54726565536574dd98509395ed87" + "5b03000078707077040000000078" ; java.util.TreeSet < java.lang.String > set = new java.util.TreeSet < java.lang.String > ( ) ; new libcore.libcore.util.SerializationTester < java.util.TreeSet < java.lang.String > > ( set , s ) . test ( ) ; }
Source:
protected void tearDown ( ) throws java.lang.Exception { super . tearDown ( ) ; }

Target:
protected void tearDown ( ) throws java.lang.Exception { android.hardware.camera2.cts.rs.RenderScriptSingleton.clearContext ( ) ; super . tearDown ( ) ; }
Source:
public void applyPattern ( java.lang.String pat ) { this . pattern = pat ; setLocale ( null , null ) ; patternItems = null ; }

Target:
public void applyPattern ( java.lang.String pat ) { this . pattern = pat ; parsePattern ( ) ; setLocale ( null , null ) ; patternItems = null ; }
Source:
private static void printHelpTopicSuppress ( ) { java.lang.System.out.println ( com.android.tools.lint.Main.wrap ( com.android.tools.lint.Main.getSuppressHelp ( ) ) ) ; }

Target:
private static void printHelpTopicSuppress ( ) { java.lang.System.out.println ( com.android.tools.lint.Main.wrap ( TextFormat.RAW.convertTo ( com.android.tools.lint.Main.getSuppressHelp ( ) , TextFormat.TEXT ) ) ) ; }
Source:
public int getItemCount ( ) { return searchCursorManager.getCount ( ) ; }

Target:
public int getItemCount ( ) { if ( ( android.text.TextUtils.isEmpty ( query ) ) && ( ! ( showZeroSuggest ) ) ) { return 0 ; } return searchCursorManager.getCount ( ) ; }
Source:
public void onAudioStateChanged ( android.telecom.CallAudioState audioState ) { if ( ( com.android.incallui.call.CallList.getInstance ( ) . getActiveOrBackgroundCall ( ) ) == null ) { return ; } updateNotification ( com.android.incallui.call.CallList.getInstance ( ) ) ; }

Target:
public void onImageLoadComplete ( java.lang.String callId , com.android.incallui.ContactInfoCache.ContactCacheEntry entry ) { com.android.incallui.call.DialerCall call = com.android.incallui.call.CallList.getInstance ( ) . getCallById ( callId ) ; if ( call != null ) { buildAndSendNotification ( com.android.incallui.call.CallList.getInstance ( ) , call , entry ) ; } }
Source:
public static void main ( java.lang.String [ ] args ) { Main.checkExceptions ( ) ; Main.checkTiming ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { Main.checkExceptions ( ) ; Main.checkTiming ( ) ; Main.checkStaticMethodInvokeAfterFailedClinit ( ) ; }
Source:
public void test_plusDays_normal ( ) { java.time.LocalDate t = TEST_2007_07_15.plusDays ( 1 ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 7 , 16 ) ) ; }

Target:
public void test_plusDays_normal ( ) { java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.plusDays ( 1 ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 7 , 16 ) ) ; }
Source:
public void setSimSlotsMappingResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo ) { responseVoid ( responseInfo ) ; }

Target:
public void setSignalStrengthReportingCriteriaResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo ) { responseVoid ( responseInfo ) ; }
Source:
public android.net.IpSecTransform.Builder setSpi ( @ android.net.IpSecTransform.TransformDirection int direction , android.net.IpSecManager.SecurityParameterIndex spi ) { mConfig.flow [ direction ] . spiResourceId = spi.getResourceId ( ) ; return this ; }

Target:
public android.net.IpSecTransform buildTunnelModeTransform ( java.net.InetAddress localAddress , java.net.InetAddress remoteAddress ) { mConfig.setLocalAddress ( localAddress.getHostAddress ( ) ) ; mConfig.setRemoteAddress ( remoteAddress.getHostAddress ( ) ) ; mConfig.setMode ( android.net.IpSecTransform.MODE_TUNNEL ) ; return new android.net.IpSecTransform ( mContext , mConfig ) ; }
Source:
private void setIPv6AddrGenModeIfSupported ( ) throws android.os.RemoteException { try { mNwService.setIPv6AddrGenMode ( mInterfaceName , mConfiguration.mIPv6AddrGenMode ) ; } catch ( android.os.ServiceSpecificException e ) { if ( ( e.errorCode ) != ( android.system.OsConstants.EOPNOTSUPP ) ) { throw e ; } } }

Target:
private void setIPv6AddrGenModeIfSupported ( ) throws android.os.RemoteException { try { mNwService.setIPv6AddrGenMode ( mInterfaceName , mConfiguration.mIPv6AddrGenMode ) ; } catch ( android.os.ServiceSpecificException e ) { if ( ( e.errorCode ) != ( android.system.OsConstants.EOPNOTSUPP ) ) { logError ( "Unable to set IPv6 addrgen mode: %s" , e ) ; } } }
Source:
public void run ( ) { handleApplicationWtfInner ( callingUid , callingPid , app , tag , crashInfo ) ; }

Target:
public void binderDied ( ) { synchronized ( this ) { notifyAll ( ) ; } }
Source:
private void freeBuffer ( ) { if ( mOwnsNativeParcelObject ) { android.os.Parcel.nativeFreeBuffer ( mNativePtr ) ; } }

Target:
private void destroy ( ) { if ( ( mNativePtr ) != 0 ) { if ( mOwnsNativeParcelObject ) { android.os.Parcel.nativeDestroy ( mNativePtr ) ; } mNativePtr = 0 ; } }
Source:
public final com.android.tools.perflib.heap.StackTrace getStackTraceAtDepth ( int traceSerialNumber , int depth ) { com.android.tools.perflib.heap.StackTrace trace = mTraces.get ( traceSerialNumber ) ; if ( trace != null ) { trace = trace.fromDepth ( depth ) ; } return trace ; }

Target:
public final com.android.tools.perflib.heap.StackTrace getStackTrace ( int traceSerialNumber ) { return mTraces.get ( traceSerialNumber ) ; }
Source:
public java.lang.String create ( @ com.android.annotations.NonNull java.lang.String key ) { try { java.lang.Thread.sleep ( 3000 ) ; } catch ( java.lang.InterruptedException ignored ) { } return key ; }

Target:
public java.lang.String create ( @ com.android.annotations.NonNull java.lang.String key ) { try { mLatch.await ( ) ; } catch ( java.lang.InterruptedException ignored ) { } return key ; }
Source:
public java.util.List < java.lang.String > getApplicableMethodNames ( ) { java.util.List < java.lang.String > values = new java.util.ArrayList < java.lang.String > ( 2 ) ; values.add ( "openFileOutput" ) ; values.add ( "getSharedPreferences" ) ; return values ; }

Target:
public java.util.List < java.lang.String > getApplicableMethodNames ( ) { java.util.List < java.lang.String > values = new java.util.ArrayList < java.lang.String > ( 3 ) ; values.add ( "openFileOutput" ) ; values.add ( "getSharedPreferences" ) ; values.add ( "getDir" ) ; return values ; }
Source:
private boolean getBooleanArgument ( android.os.Bundle arguments , java.lang.String tag ) { java.lang.String tagString = arguments.getString ( tag ) ; return ( tagString != null ) && ( java.lang.Boolean.parseBoolean ( tagString ) ) ; }

Target:
private boolean getBooleanArgument ( java.lang.String tag ) { java.lang.String tagString = getArguments ( ) . getString ( tag ) ; return ( tagString != null ) && ( java.lang.Boolean.parseBoolean ( tagString ) ) ; }
Source:
public abstract int getDisplayRule ( java.lang.String plmn ) ;

Target:
public abstract int getDisplayRule ( android.telephony.ServiceState serviceState ) ;
Source:
public void setOutgoingCallerIdDisplay ( int commandInterfaceCLIRMode , android.os.Message onComplete ) { mCM.setCLIR ( commandInterfaceCLIRMode , obtainMessage ( com.android.internal.telephony.gsm.EVENT_SET_CLIR_COMPLETE , commandInterfaceCLIRMode , 0 , onComplete ) ) ; }

Target:
public void setOutgoingCallerIdDisplay ( int commandInterfaceCLIRMode , android.os.Message onComplete ) { mCi.setCLIR ( commandInterfaceCLIRMode , obtainMessage ( com.android.internal.telephony.gsm.EVENT_SET_CLIR_COMPLETE , commandInterfaceCLIRMode , 0 , onComplete ) ) ; }
Source:
public void expectNoStartActivityIntent ( int timeoutMs ) { try { assertNull ( "Received unexpected Intent to start activity" , mStartedActivities.poll ( timeoutMs , java.util.concurrent.TimeUnit.MILLISECONDS ) ) ; } catch ( java.lang.InterruptedException e ) { } }

Target:
public void expectNoStartActivityIntent ( int timeoutMs ) { try { org.junit.Assert.assertNull ( "Received unexpected Intent to start activity" , mStartedActivities.poll ( timeoutMs , java.util.concurrent.TimeUnit.MILLISECONDS ) ) ; } catch ( java.lang.InterruptedException e ) { } }
Source:
void tearDown ( ) { deleteChannel ( ) ; }

Target:
void tearDown ( ) { deleteChannel ( ) ; delay ( ) ; }
Source:
public com.google.common.base.CharMatcher precomputed ( ) { return this ; }

Target:
void setBits ( java.util.BitSet table ) { for ( int i = 0 ; i < ( com.google.common.base.CharMatcher.WHITESPACE_TABLE.length ( ) ) ; i ++ ) { table.set ( com.google.common.base.CharMatcher.WHITESPACE_TABLE.charAt ( i ) ) ; } }
Source:
public synchronized java.util.Iterator < java.lang.Object > iterator ( ) { return com.google.common.collect.Iterators.concat ( com.google.common.collect.Iterators.forArray ( java.lang.Long.valueOf ( number ) , java.lang.Long.valueOf ( size ) ) , element.iterator ( ) ) ; }

Target:
public long getSize ( ) { return size ; }
Source:
public int getVersionCode ( @ com.android.annotations.NonNull java.io.File manifestFile ) { javax.xml.xpath.XPath xpath = com.android.xml.AndroidXPathFactory.newXPath ( ) ; try { java.lang.String value = xpath.evaluate ( "/manifest/@android:versionCode" , new org.xml.sax.InputSource ( new java.io.FileInputStream ( manifestFile ) ) ) ; if ( value != null ) { return java.lang.Integer.parseInt ( value ) ; } } catch ( javax.xml.xpath.XPathExpressionException e ) { } catch ( java.io.FileNotFoundException e ) { throw new java.lang.RuntimeException ( e ) ; } catch ( java.lang.NumberFormatException e ) { } return - 1 ; }

Target:
public int getVersionCode ( @ com.android.annotations.NonNull java.io.File manifestFile ) { try { java.lang.String value = com.android.builder.DefaultManifestParser.getStringValue ( manifestFile , "/manifest/@android:versionCode" ) ; if ( value != null ) { return java.lang.Integer.valueOf ( value ) ; } } catch ( java.lang.NumberFormatException ignored ) { } return - 1 ; }
Source:
public static int max ( int a , int b ) { return a >= b ? a : b ; }

Target:
public static int min ( int a , int b ) { return java.lang.Math.min ( a , b ) ; }
Source:
public static PhoneConstants.DataState convertDataState ( int state ) { switch ( state ) { case android.telephony.TelephonyManager.DATA_CONNECTING : return PhoneConstants.DataState.CONNECTING ; case android.telephony.TelephonyManager.DATA_CONNECTED : return PhoneConstants.DataState.CONNECTED ; case android.telephony.TelephonyManager.DATA_SUSPENDED : return PhoneConstants.DataState.SUSPENDED ; default : return PhoneConstants.DataState.DISCONNECTED ; } }

Target:
public void notifyVoiceActivationStateChanged ( com.android.internal.telephony.Phone sender , int activationState ) { try { mRegistry.notifySimActivationStateChangedForPhoneId ( sender.getPhoneId ( ) , sender.getSubId ( ) , PhoneConstants.SIM_ACTIVATION_TYPE_VOICE , activationState ) ; } catch ( android.os.RemoteException ex ) { } }
Source:
public com.android.sched.vfs.OutputVDir getRootOutputVDir ( ) { assert ! ( closed ) ; return root ; }

Target:
synchronized boolean isClosed ( ) { return closed ; }
Source:
private java.lang.String getCallIncomingNumber ( com.android.server.TelephonyRegistry.Record record , int phoneId ) { return record.canReadPhoneState ( ) ? mCallIncomingNumber [ phoneId ] : "" ; }

Target:
private java.lang.String getCallIncomingNumber ( com.android.server.TelephonyRegistry.Record record , int phoneId ) { return record.canReadCallLog ( ) ? mCallIncomingNumber [ phoneId ] : "" ; }
Source:
void setBits ( com.google.common.base.CharMatcher.LookupTable table ) { char c = java.lang.Character.MIN_VALUE ; while ( true ) { if ( matches ( c ) ) { table.set ( c ) ; } if ( ( c ++ ) == ( java.lang.Character.MAX_VALUE ) ) { break ; } } }

Target:
void setBits ( java.util.BitSet table ) { for ( int c = java.lang.Character.MAX_VALUE ; c >= ( java.lang.Character.MIN_VALUE ) ; c -- ) { if ( matches ( ( ( char ) ( c ) ) ) ) { table.set ( c ) ; } } }
Source:
public void testGetProvider ( ) throws java.lang.Exception { createCipher ( ) ; java.security.Provider expectedProvider = java.security.Security.getProvider ( "AndroidKeyStoreBCWorkaround" ) ; assertSame ( expectedProvider , mCipher.getProvider ( ) ) ; }

Target:
public void testGetProvider ( ) throws java.lang.Exception { createCipher ( ) ; java.security.Provider expectedProvider = java.security.Security.getProvider ( android.keystore.cts.BlockCipherTestBase.EXPECTED_PROVIDER_NAME ) ; assertSame ( expectedProvider , mCipher.getProvider ( ) ) ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent event ) { updateButtonStates ( ) ; }

Target:
public void widgetDisposed ( org.eclipse.swt.events.DisposeEvent event ) { disposeTableResources ( table.getData ( "disposeResources" ) ) ; }
Source:
public static android.icu.impl.ICUResourceBundle getICUSupplementalData ( ) { android.icu.impl.ICUResourceBundle suppData = ( ( android.icu.impl.ICUResourceBundle ) ( android.icu.util.UResourceBundle.getBundleInstance ( ICUResourceBundle.ICU_BASE_NAME , "supplementalData" , ICUResourceBundle.ICU_DATA_CLASS_LOADER ) ) ) ; return suppData ; }

Target:
public static android.icu.impl.ICUResourceBundle getICUSupplementalData ( ) { android.icu.impl.ICUResourceBundle suppData = ( ( android.icu.impl.ICUResourceBundle ) ( android.icu.util.UResourceBundle.getBundleInstance ( ICUData.ICU_BASE_NAME , "supplementalData" , ICUResourceBundle.ICU_DATA_CLASS_LOADER ) ) ) ; return suppData ; }
Source:
java.util.Collection < ? extends com.android.sched.vfs.BaseVElement > list ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVDir dir ) { return vfs.list ( dir ) ; }

Target:
java.util.Collection < ? extends com.android.sched.vfs.BaseVElement > list ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVDir dir ) { java.util.Collection < ? extends com.android.sched.vfs.BaseVElement > elements = vfs.list ( dir ) ; for ( com.android.sched.vfs.BaseVElement element : elements ) { element.changeVFS ( this ) ; } return elements ; }
Source:
java.lang.Integer read ( com.android.dx.io.DexBuffer.Section in , com.android.dx.merge.IndexMap indexMap , int index ) { int stringIndex = in.readInt ( ) ; return indexMap.adjustString ( stringIndex ) ; }

Target:
java.lang.Integer read ( com.android.dex.Dex.Section in , com.android.dx.merge.IndexMap indexMap , int index ) { int stringIndex = in.readInt ( ) ; return indexMap.adjustString ( stringIndex ) ; }
Source:
private int updateEfForIccType ( int efid ) { if ( efid == ( IccConstants.EF_ADN ) ) { if ( phone.getIccCard ( ) . isApplicationOnIcc ( AppType.APPTYPE_USIM ) ) { return IccConstants.EF_PBR ; } } return efid ; }

Target:
private int updateEfForIccType ( int efid ) { if ( efid == ( IccConstants.EF_ADN ) ) { if ( ( phone.getCurrentUiccAppType ( ) ) == ( com.android.internal.telephony.IccCardApplicationStatus.AppType.APPTYPE_USIM ) ) { return IccConstants.EF_PBR ; } } return efid ; }
Source:
public void onTosAccepted ( android.content.Context context ) { com.android.dialer.common.LogUtil.i ( "VoicemailClientImpl.onTosAccepted" , "try backfilling voicemail transcriptions" ) ; com.android.voicemail.impl.transcribe.TranscriptionBackfillService.scheduleTask ( context ) ; }

Target:
public void onTosAccepted ( android.content.Context context , android.telecom.PhoneAccountHandle account ) { com.android.dialer.common.LogUtil.i ( "VoicemailClientImpl.onTosAccepted" , "try backfilling voicemail transcriptions" ) ; com.android.voicemail.impl.transcribe.TranscriptionBackfillService.scheduleTask ( context , account ) ; }
Source:
public void setUp ( ) { TEST_07_15 = java.time.MonthDay.of ( 7 , 15 ) ; }

Target:
public static void setUp ( ) { tck.java.time.TCKMonthDay.TEST_07_15 = java.time.MonthDay.of ( 7 , 15 ) ; }
Source:
public void notifyDisconnect ( com.android.internal.telephony.Connection cn ) { mDisconnectRegistrants.notifyResult ( cn ) ; }

Target:
public void notifyDisconnect ( com.android.internal.telephony.Connection cn ) { mDisconnectRegistrants.notifyResult ( cn ) ; mNotifier.notifyDisconnectCause ( cn.getDisconnectCause ( ) , cn.getPreciseDisconnectCause ( ) ) ; }
Source:
public com.android.ide.common.rendering.api.Result getViewParent ( java.lang.Object viewObject ) { if ( ( mBridge ) != null ) { return mBridge.getViewParent ( viewObject ) ; } return com.android.ide.common.rendering.api.Result.Status.NOT_IMPLEMENTED.createResult ( ) ; }

Target:
public com.android.ide.common.rendering.api.Result getViewParent ( java.lang.Object viewObject ) { if ( ( mBridge ) != null ) { com.android.ide.common.rendering.api.Result r = mBridge.getViewParent ( viewObject ) ; if ( r.isSuccess ( ) ) { return r ; } } return getViewParentWithReflection ( viewObject ) ; }
Source:
private void reset ( ) { org.conscrypt.NativeCrypto.EVP_CipherInit_ex ( cipherCtx.getContext ( ) , 0 , null , null , encrypting ) ; calledUpdate = false ; }

Target:
private void reset ( ) { org.conscrypt.NativeCrypto.EVP_CipherInit_ex ( cipherCtx.getContext ( ) , 0 , encodedKey , iv , encrypting ) ; calledUpdate = false ; }
Source:
public void onScheduledRecordingAdded ( com.android.tv.dvr.ScheduledRecording ... scheduledRecordings ) { super . onScheduledRecordingAdded ( scheduledRecordings ) ; if ( ( getRowsAdapter ( ) . size ( ) ) > 0 ) { hideEmptyMessage ( ) ; } }

Target:
public void onScheduledRecordingAdded ( com.android.tv.dvr.data.ScheduledRecording ... scheduledRecordings ) { super . onScheduledRecordingAdded ( scheduledRecordings ) ; if ( ( getRowsAdapter ( ) . size ( ) ) > 0 ) { hideEmptyMessage ( ) ; } }
Source:
private void updateConfiguration ( ) { mConfig = new com.android.server.connectivity.Tethering.TetheringConfiguration ( mContext ) ; }

Target:
private void updateConfiguration ( ) { mConfig = new com.android.server.connectivity.tethering.TetheringConfiguration ( mContext ) ; }
Source:
public static void main ( java.lang.String [ ] args ) throws java.lang.Throwable { Main.FindAccessorTester.main ( ) ; Main.InvokeExactTester.main ( ) ; Main.InvokeTester.main ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) throws java.lang.Throwable { Main.FindAccessorTester.main ( ) ; Main.InvokeExactTester.main ( ) ; Main.InvokeTester.main ( ) ; Main.UnreflectTester.main ( ) ; }
Source:
boolean isBridge ( ) { return ( ( accessFlags ) & ( java.lang.reflect.Modifier.BRIDGE ) ) != 0 ; }

Target:
final boolean isBridgeMethodInternal ( ) { return ( ( accessFlags ) & ( java.lang.reflect.Modifier.BRIDGE ) ) != 0 ; }
Source:
private void appendApplicationPort ( java.lang.StringBuilder sb ) { sb.append ( OmtpConstants.SMS_FIELD_SEPARATOR ) ; appendField ( sb , OmtpConstants.APPLICATION_PORT , mApplicationPort ) ; }

Target:
private void appendApplicationPort ( java.lang.StringBuilder sb ) { sb.append ( OmtpConstants.SMS_FIELD_SEPARATOR ) ; appendField ( sb , OmtpConstants.APPLICATION_PORT , applicationPort ) ; }
Source:
public void writeToParcel ( android.os.Parcel dest , int type ) { dest.writeInt ( type ) ; dest.writeString ( mMccStr ) ; dest.writeString ( mMncStr ) ; }

Target:
public void writeToParcel ( android.os.Parcel dest , int type ) { dest.writeInt ( type ) ; dest.writeString ( mMccStr ) ; dest.writeString ( mMncStr ) ; dest.writeString ( mAlphaLong ) ; dest.writeString ( mAlphaShort ) ; }
Source:
public java.util.SortedSet < K > keySet ( ) { return ( ( java.util.SortedSet < K > ) ( super . keySet ( ) ) ) ; }

Target:
public java.util.NavigableSet < K > keySet ( ) { return ( ( java.util.NavigableSet < K > ) ( super . keySet ( ) ) ) ; }
Source:
public void visitRuntimeVisibleAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute ) { if ( accepted ( clazz , runtimeVisibleAnnotationsAttribute ) ) { runtimeVisibleAnnotationsAttribute.accept ( clazz , attributeVisitor ) ; } }

Target:
public void visitRuntimeVisibleAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute ) { if ( accepted ( clazz , runtimeVisibleAnnotationsAttribute ) ) { attributeVisitor.visitRuntimeVisibleAnnotationsAttribute ( clazz , method , runtimeVisibleAnnotationsAttribute ) ; } }
Source:
public void TestOpen ( ) { android.icu.util.UResourceBundle bundle = ( ( android.icu.util.UResourceBundle ) ( android.icu.util.UResourceBundle.getBundleInstance ( ICUResourceBundle.ICU_COLLATION_BASE_NAME , "en_US_POSIX" ) ) ) ; if ( bundle == null ) { errln ( "could not load the stream" ) ; } }

Target:
public void TestOpen ( ) { android.icu.util.UResourceBundle bundle = ( ( android.icu.util.UResourceBundle ) ( android.icu.util.UResourceBundle.getBundleInstance ( ICUData.ICU_COLLATION_BASE_NAME , "en_US_POSIX" ) ) ) ; if ( bundle == null ) { errln ( "could not load the stream" ) ; } }
Source:
public void testNotExistingPackate ( ) { notifyDexLoad ( mDoesNotExist , mDoesNotExist.getBaseAndSplitDexPaths ( ) , mUser0 ) ; assertNoUseInfo ( mDoesNotExist ) ; }

Target:
public void testNotExistingPackage ( ) { notifyDexLoad ( mDoesNotExist , mDoesNotExist.getBaseAndSplitDexPaths ( ) , mUser0 ) ; assertNoUseInfo ( mDoesNotExist ) ; }
Source:
public void testCallStateExceptionWithErrCode ( ) { mCallStateException = new com.android.internal.telephony.CallStateException ( mCallStateException.ERROR_DISCONNECTED , "sanity test with err code" ) ; org.junit.Assert.assertEquals ( "sanity test with err code" , mCallStateException.getMessage ( ) ) ; org.junit.Assert.assertEquals ( mCallStateException.ERROR_DISCONNECTED , mCallStateException.getError ( ) ) ; }

Target:
public void testCallStateExceptionWithErrCode ( ) { mCallStateException = new com.android.internal.telephony.CallStateException ( mCallStateException.ERROR_OUT_OF_SERVICE , "sanity test with err code" ) ; org.junit.Assert.assertEquals ( "sanity test with err code" , mCallStateException.getMessage ( ) ) ; org.junit.Assert.assertEquals ( mCallStateException.ERROR_OUT_OF_SERVICE , mCallStateException.getError ( ) ) ; }
Source:
private static native java.lang.Object openDexFileNative ( java.lang.String sourceName , java.lang.String outputName , int flags ) ;

Target:
private static native java.lang.Object openDexFileNative ( java.lang.String sourceName , java.lang.String outputName , int flags , java.lang.ClassLoader loader ) ;
Source:
private char getEllipsisChar ( android.text.TextUtils.TruncateAt method ) { return method == ( TextUtils.TruncateAt.END_SMALL ) ? android.text.Layout.ELLIPSIS_TWO_DOTS [ 0 ] : android.text.Layout.ELLIPSIS_NORMAL [ 0 ] ; }

Target:
private char getEllipsisChar ( android.text.TextUtils.TruncateAt method ) { return method == ( TextUtils.TruncateAt.END_SMALL ) ? TextUtils.ELLIPSIS_TWO_DOTS [ 0 ] : TextUtils.ELLIPSIS_NORMAL [ 0 ] ; }
Source:
public void visitRuntimeInvisibleAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.RuntimeInvisibleAnnotationsAttribute runtimeInvisibleAnnotationsAttribute ) { if ( accepted ( clazz , runtimeInvisibleAnnotationsAttribute ) ) { runtimeInvisibleAnnotationsAttribute.accept ( clazz , attributeVisitor ) ; } }

Target:
public void visitRuntimeVisibleAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute ) { if ( accepted ( clazz , runtimeVisibleAnnotationsAttribute ) ) { attributeVisitor.visitRuntimeVisibleAnnotationsAttribute ( clazz , method , runtimeVisibleAnnotationsAttribute ) ; } }
Source:
public void testConstructor ( ) { javax.security.cert.X509Certificate cert = new tests.api.javax.security.cert.X509CertificateTest.MyCertificate ( ) ; }

Target:
public void testConstructor ( ) { javax.security.cert.X509Certificate cert = new org.apache.harmony.tests.javax.security.cert.X509CertificateTest.MyCertificate ( ) ; }
Source:
public boolean isDone ( ) { return mDone ; }

Target:
public boolean isDone ( ) { return ( ( mDone ) && ( ! ( mInProgress ) ) ) && ( ( mActualTestRuns ) >= ( mExpectedTestRuns ) ) ; }
Source:
static android.security.cts.ReadElf read ( java.io.File file ) throws java.io.IOException { return new android.security.cts.ReadElf ( file ) ; }

Target:
public static android.os.cts.ReadElf read ( java.io.File file ) throws java.io.IOException { return new android.os.cts.ReadElf ( file ) ; }
Source:
public int queryCallBarringForServiceClass ( int cbType , int serviceClass ) throws android.os.RemoteException { return - 1 ; }

Target:
public int queryColr ( ) { return - 1 ; }
Source:
private void riljLog ( java.lang.String msg ) { android.util.Log.d ( com.android.internal.telephony.RIL.LOG_TAG , msg ) ; }

Target:
private void riljLogv ( java.lang.String msg ) { android.telephony.Rlog.v ( com.android.internal.telephony.RIL.LOG_TAG , msg ) ; }
Source:
public void addError ( junit.framework.Test test , java.lang.Throwable error ) { java.lang.System.out.println ( java.lang.String.format ( "failure:%s" , stringify ( error ) ) ) ; }

Target:
public void addFailure ( junit.framework.Test test , junit.framework.AssertionFailedError error ) { java.lang.System.out.println ( java.lang.String.format ( "failure:%s" , com.android.compatibility.dalvik.DalvikTestRunner.DalvikTestListener.stringify ( error ) ) ) ; }
Source:
public void contextInitialized ( javax.servlet.ServletContextEvent servletContextEvent ) { com.googlecode.objectify.ObjectifyFactory objectifyFactory = com.googlecode.objectify.ObjectifyService.factory ( ) ; objectifyFactory.register ( com.android.vts.entity.TestSuiteFileEntity.class ) ; objectifyFactory.register ( com.android.vts.entity.TestSuiteResultEntity.class ) ; objectifyFactory.begin ( ) ; com.android.vts.config.ObjectifyListener.logger.log ( java.util.logging.Level.INFO , "Value Initialized from context." ) ; }

Target:
public void contextInitialized ( javax.servlet.ServletContextEvent servletContextEvent ) { com.googlecode.objectify.ObjectifyService.init ( ) ; com.googlecode.objectify.ObjectifyService.register ( com.android.vts.entity.TestSuiteFileEntity.class ) ; com.googlecode.objectify.ObjectifyService.register ( com.android.vts.entity.TestSuiteResultEntity.class ) ; com.googlecode.objectify.ObjectifyService.begin ( ) ; com.android.vts.config.ObjectifyListener.logger.log ( java.util.logging.Level.INFO , "Value Initialized from context." ) ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearTarget ( ) { bitField0_ = ( bitField0_ ) & ( ~ 4 ) ; target_ = com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.getDefaultInstance ( ) . getTarget ( ) ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearBranch ( ) { bitField0_ = ( bitField0_ ) & ( ~ 4 ) ; branch_ = com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.getDefaultInstance ( ) . getBranch ( ) ; onChanged ( ) ; return this ; }
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; e = new com.android.ide.eclipse.adt.internal.editors.layout.gle2.SimpleElement ( "android.view.LinearLayout" , "android.view.FrameLayout" , new com.android.ide.eclipse.adt.editors.layout.gscripts.Rect ( 10 , 5 , 60 , 40 ) ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; e = new com.android.ide.eclipse.adt.internal.editors.layout.gle2.SimpleElement ( "android.view.LinearLayout" , "android.view.FrameLayout" , new com.android.ide.eclipse.adt.editors.layout.gscripts.Rect ( 10 , 5 , 60 , 40 ) , new com.android.ide.eclipse.adt.editors.layout.gscripts.Rect ( 0 , 0 , 320 , 480 ) ) ; }
Source:
public com.android.jack.ir.ast.JAnnotationLiteral getAnnotation ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotation 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 ) { return annotations.getAnnotation ( annotationType ) ; }
Source:
public boolean removeAllNetworks ( ) { if ( ! ( doBooleanCommand ( "REMOVE_NETWORK all" ) ) ) { android.util.Log.e ( com.android.server.wifi.WifiNative.TAG , "Remove all networks in wpa_supplicant failed" ) ; return false ; } return true ; }

Target:
public boolean removeAllNetworks ( ) { if ( com.android.server.wifi.WifiNative.HIDL_SUP_ENABLE ) { return mSupplicantStaIfaceHal.removeAllNetworks ( ) ; } else { if ( ! ( doBooleanCommand ( "REMOVE_NETWORK all" ) ) ) { android.util.Log.e ( com.android.server.wifi.WifiNative.TAG , "Remove all networks in wpa_supplicant failed" ) ; return false ; } return true ; } }
Source:
synchronized long nScriptIntrinsicCreate ( int id , long eid ) { validate ( ) ; return rsnScriptIntrinsicCreate ( mContext , id , eid ) ; }

Target:
synchronized long nIncAllocationCreateTyped ( long alloc , long type ) { validate ( ) ; return rsnIncAllocationCreateTyped ( mContext , mIncCon , alloc , type ) ; }
Source:
public void testUnixDomainSocket_abstract_name ( ) throws java.lang.Exception { byte [ ] path = "/abstract_name_unix_socket" . getBytes ( "UTF-8" ) ; path [ 0 ] = 0 ; checkUnixDomainSocket ( new java.net.InetUnixAddress ( path ) , true ) ; }

Target:
public void testUnixDomainSocket_unnamed ( ) throws java.lang.Exception { final java.io.FileDescriptor fd = Libcore.os.socket ( libcore.io.AF_UNIX , libcore.io.SOCK_STREAM , 0 ) ; checkNoSockName ( fd ) ; Libcore.os.close ( fd ) ; }
Source:
public static final native void joinThreadPool ( ) ;

Target:
public static final void joinThreadPool ( ) { com.android.internal.os.BinderInternal.joinThreadPool ( ) ; }
Source:
public void testGetSystemService ( ) { assertNull ( mContextWrapper.getSystemService ( "invalid" ) ) ; assertNotNull ( mContextWrapper.getSystemService ( "window" ) ) ; }

Target:
public void testGetSystemService ( ) { assertNull ( mContextWrapper.getSystemService ( "invalid" ) ) ; assertNotNull ( mContextWrapper.getSystemService ( Context.WINDOW_SERVICE ) ) ; }
Source:
public void delete ( @ javax.annotation.Nonnull com.android.jack.library.FileType fileType , @ javax.annotation.Nonnull com.android.sched.vfs.VPath typePath ) throws com.android.sched.util.file.CannotDeleteFileException { vfs.getRootInputOutputVDir ( ) . delete ( fileType.buildFileVPath ( typePath ) ) ; }

Target:
public void delete ( @ javax.annotation.Nonnull com.android.jack.library.FileType fileType , @ javax.annotation.Nonnull com.android.sched.vfs.VPath typePath ) throws com.android.sched.util.file.CannotDeleteFileException { assert ! ( isClosed ( ) ) ; vfs.getRootInputOutputVDir ( ) . delete ( fileType.buildFileVPath ( typePath ) ) ; }