auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void run ( ) { view.requestLayout ( ) ; }

Target:
public void run ( ) { view.requestLayout ( ) ; view.invalidate ( ) ; }
Source:
public void runLogService ( java.lang.String logname , com.android.ddmlib.log.LogReceiver receiver ) throws java.io.IOException { com.android.ddmlib.AdbHelper.runLogService ( AndroidDebugBridge.sSocketAddr , this , logname , receiver ) ; }

Target:
public void runLogService ( java.lang.String logname , com.android.ddmlib.log.LogReceiver receiver ) throws java.io.IOException { com.android.ddmlib.AdbHelper.runLogService ( com.android.ddmlib.AndroidDebugBridge.getSocketAddress ( ) , this , logname , receiver ) ; }
Source:
private int writeShort ( java.io.OutputStream os , int i ) throws java.io.IOException { os.write ( ( i & 255 ) ) ; os.write ( ( ( i > > 8 ) & 255 ) ) ; return i ; }

Target:
static int writeIntAsUint16 ( java.io.OutputStream os , int i ) throws java.io.IOException { os.write ( ( i & 255 ) ) ; os.write ( ( ( i > > 8 ) & 255 ) ) ; return i ; }
Source:
void setUp ( ) { createChannels ( ) ; sendNotifications ( com.android.cts.verifier.notifications.AttentionManagementVerifierActivity.MODE_URI , false , false ) ; status = READY ; delay ( ) ; }

Target:
void setUp ( ) { mNm.setInterruptionFilter ( NotificationManager.INTERRUPTION_FILTER_NONE ) ; createChannels ( ) ; sendNotifications ( com.android.cts.verifier.notifications.AttentionManagementVerifierActivity.MODE_URI , false , false ) ; status = READY ; }
Source:
private void notifyDexLoad ( com.android.server.pm.dex.DexManagerTests.TestData testData , java.util.List < java.lang.String > dexPaths , int loaderUserId ) { mDexManager.notifyDexLoad ( testData.mPackageInfo.applicationInfo , dexPaths , testData.mLoaderIsa , loaderUserId ) ; }

Target:
private void notifyDexLoad ( com.android.server.pm.dex.DexManagerTests.TestData testData , java.util.List < java.lang.String > classLoader , java.util.List < java.lang.String > classPaths , int loaderUserId ) { mDexManager.notifyDexLoad ( testData.mPackageInfo.applicationInfo , classLoader , classPaths , testData.mLoaderIsa , loaderUserId ) ; }
Source:
private static boolean isDalvikAnnotation ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotationLiteral annotation ) { java.lang.String annotationType = com.android.jack.ecj.loader.jast.LoaderUtils.getSignatureFormatter ( ) . getName ( annotation.getType ( ) ) ; return com.android.jack.ecj.loader.jast.AnnotationUtils.dalvikAnnotations.contains ( annotationType ) ; }

Target:
private static boolean isDalvikAnnotation ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotation annotation ) { java.lang.String annotationType = com.android.jack.ecj.loader.jast.LoaderUtils.getSignatureFormatter ( ) . getName ( annotation.getType ( ) ) ; return com.android.jack.ecj.loader.jast.AnnotationUtils.dalvikAnnotations.contains ( annotationType ) ; }
Source:
public void setUp ( ) { mAccountManager = mock ( android.accounts.AccountManager.class ) ; mFuture = mock ( android.accounts.AccountManagerFuture.class ) ; mAccount = new android.accounts.Account ( "coolperson" , "cooltype" ) ; mAuthenticator = new com.android.volley.toolbox.AndroidAuthenticator ( mAccountManager , mAccount , "cooltype" , false ) ; }

Target:
public void setUp ( ) { org.mockito.MockitoAnnotations.initMocks ( this ) ; mAccount = new android.accounts.Account ( "coolperson" , "cooltype" ) ; mAuthenticator = new com.android.volley.toolbox.AndroidAuthenticator ( mAccountManager , mAccount , "cooltype" , false ) ; }
Source:
public TestCaseBuilder addCanvasClient ( java.lang.String debugString , android.uirendering.cts.testinfrastructure.CanvasClient canvasClient , boolean useHardware ) { }

Target:
public android.uirendering.cts.testinfrastructure.ActivityTestBase.TestCaseBuilder addCanvasClient ( java.lang.String debugString , android.uirendering.cts.testinfrastructure.CanvasClient canvasClient , boolean useHardware ) { return addCanvasClientInternal ( debugString , canvasClient , useHardware , false ) . addCanvasClientInternal ( debugString , canvasClient , useHardware , true ) ; }
Source:
public void test3rdPartyTests ( ) throws java.lang.Exception { runGradleTasks ( sdkDir , ndkDir , BasePlugin.GRADLE_TEST_VERSION , new java.io.File ( testDir , "3rdPartyTests" ) , java.util.Collections.< java.lang.String > emptyList ( ) , "clean" , "deviceCheck" ) ; }

Target:
public void test3rdPartyTests ( ) throws java.lang.Exception { runTasksOn ( new java.io.File ( testDir , "3rdPartyTests" ) , BasePlugin.GRADLE_TEST_VERSION , "clean" , "deviceCheck" ) ; }
Source:
public native boolean setPermission ( java.io.File f , int access , boolean enable , boolean owneronly ) ;

Target:
public boolean setPermission ( java.io.File f , int access , boolean enable , boolean owneronly ) { dalvik.system.BlockGuard.getThreadPolicy ( ) . onWriteToDisk ( ) ; return setPermission0 ( f , access , enable , owneronly ) ; }
Source:
public void testMultilineResultParse ( ) throws java.io.IOException { java.lang.String result = com.android.monkeyrunner.adb.AdbMonkeyDeviceTest.getResource ( "multiline_instrument_result.txt" ) ; java.util.Map < java.lang.String , java.lang.Object > convertedResult = com.android.monkeyrunner.adb.AdbMonkeyDevice.convertInstrumentResult ( result ) ; assertEquals ( com.android.monkeyrunner.adb.AdbMonkeyDeviceTest.MULTILINE_RESULT , convertedResult.get ( "stream" ) ) ; }

Target:
public void testMultilineResultParse ( ) throws java.io.IOException { java.lang.String result = com.android.chimpchat.adb.AdbChimpDeviceTest.getResource ( "multiline_instrument_result.txt" ) ; java.util.Map < java.lang.String , java.lang.Object > convertedResult = com.android.chimpchat.adb.AdbChimpDevice.convertInstrumentResult ( result ) ; assertEquals ( com.android.chimpchat.adb.AdbChimpDeviceTest.MULTILINE_RESULT , convertedResult.get ( "stream" ) ) ; }
Source:
public java.util.Collection < ? extends com.android.sched.vfs.InputVElement > list ( ) { return dir.list ( ) ; }

Target:
public java.util.Collection < ? extends com.android.sched.vfs.InputVElement > list ( ) { assert ! ( closed ) ; return dir.list ( ) ; }
Source:
public void routeAids ( java.lang.String aid , int route ) { android.os.Message msg = mHandler.obtainMessage ( ) ; msg.what = com.android.nfc.NfcService.MSG_ROUTE_AID ; msg.arg1 = route ; msg.obj = aid ; mHandler.sendMessage ( msg ) ; }

Target:
public void routeAids ( java.lang.String aid , int route , int aidInfo ) { android.os.Message msg = mHandler.obtainMessage ( ) ; msg.what = com.android.nfc.NfcService.MSG_ROUTE_AID ; msg.arg1 = route ; msg.obj = aid ; msg.arg2 = aidInfo ; mHandler.sendMessage ( msg ) ; }
Source:
public static com.android.internal.telephony.NitzData createForTests ( int zoneOffsetMillis , java.lang.Integer dstOffsetMillis , long utcTimeMillis , java.util.TimeZone timeZone ) { return new com.android.internal.telephony.NitzData ( "Test data" , zoneOffsetMillis , dstOffsetMillis , utcTimeMillis , timeZone ) ; }

Target:
public static com.android.internal.telephony.NitzData createForTests ( int zoneOffsetMillis , java.lang.Integer dstOffsetMillis , long utcTimeMillis , java.util.TimeZone emulatorHostTimeZone ) { return new com.android.internal.telephony.NitzData ( "Test data" , zoneOffsetMillis , dstOffsetMillis , utcTimeMillis , emulatorHostTimeZone ) ; }
Source:
public void test12_alias_dup ( ) throws java.lang.Exception { processTestFiles ( ) ; }

Target:
public java.util.Map < java.lang.String , java.lang.Boolean > getFeatures ( ) { return mFeatures ; }
Source:
static java.nio.DoubleBuffer asDoubleBuffer ( java.nio.ByteBuffer byteBuffer ) { java.nio.ByteBuffer slice = byteBuffer.slice ( ) ; slice.order ( byteBuffer.order ( ) ) ; return new java.nio.DoubleToByteBufferAdapter ( slice ) ; }

Target:
static java.nio.DoubleBuffer asDoubleBuffer ( java.nio.ByteBuffer byteBuffer ) { java.nio.ByteBuffer slice = byteBuffer.slice ( ) ; slice.order ( byteBuffer.order ( ) ) ; return new java.nio.ByteBufferAsDoubleBuffer ( slice ) ; }
Source:
public java.util.List < java.lang.String > getCarrierPackageNamesForIntent ( android.content.Intent intent ) { return getCarrierPackageNamesForIntentAndPhone ( intent , android.telephony.TelephonyManager.getDefaultPhone ( ) ) ; }

Target:
public java.util.List < java.lang.String > getCarrierPackageNamesForIntent ( android.content.Intent intent ) { return getCarrierPackageNamesForIntentAndPhone ( intent , getPhoneId ( ) ) ; }
Source:
public void setCurrentUserHandle ( android.os.UserHandle userHandle ) { if ( userHandle == null ) { com.android.server.telecom.Log.d ( this , "setCurrentUserHandle, userHandle = null" ) ; userHandle = java.lang.Process.myUserHandle ( ) ; } com.android.server.telecom.Log.d ( this , "setCurrentUserHandle, %s" , userHandle ) ; mCurrentUserHandle = userHandle ; }

Target:
public void setCurrentUserHandle ( android.os.UserHandle userHandle ) { if ( userHandle == null ) { android.telecom.Log.d ( this , "setCurrentUserHandle, userHandle = null" ) ; userHandle = java.lang.Process.myUserHandle ( ) ; } android.telecom.Log.d ( this , "setCurrentUserHandle, %s" , userHandle ) ; mCurrentUserHandle = userHandle ; }
Source:
public void testHasClassName ( ) { assertTrue ( android.support.test.espresso.intent.matcher.ComponentNameMatchers.hasClassName ( android.support.test.espresso.intent.matcher.ComponentNameMatchersTest.CLS ) . matches ( android.support.test.espresso.intent.matcher.ComponentNameMatchersTest.c ) ) ; assertTrue ( android.support.test.espresso.intent.matcher.ComponentNameMatchers.hasClassName ( org.hamcrest.Matchers.equalTo ( android.support.test.espresso.intent.matcher.ComponentNameMatchersTest.CLS ) ) . matches ( android.support.test.espresso.intent.matcher.ComponentNameMatchersTest.c ) ) ; }

Target:
public void hasClassNameTesting ( ) { org.junit.Assert.assertTrue ( android.support.test.espresso.intent.matcher.ComponentNameMatchers.hasClassName ( android.support.test.espresso.intent.matcher.ComponentNameMatchersTest.CLS ) . matches ( android.support.test.espresso.intent.matcher.ComponentNameMatchersTest.c ) ) ; org.junit.Assert.assertTrue ( android.support.test.espresso.intent.matcher.ComponentNameMatchers.hasClassName ( org.hamcrest.Matchers.equalTo ( android.support.test.espresso.intent.matcher.ComponentNameMatchersTest.CLS ) ) . matches ( android.support.test.espresso.intent.matcher.ComponentNameMatchersTest.c ) ) ; }
Source:
protected void onDestroy ( ) { super . onDestroy ( ) ; mChatService.stop ( ) ; }

Target:
protected void onDestroy ( ) { super . onDestroy ( ) ; mChatService.stop ( ) ; unregisterReceiver ( mPairingActionReceiver ) ; }
Source:
public void testWildcardMatchesChildDomain ( ) { assertFalse ( verifier.verifyHostName ( "a.b.c.d" , "*.c.d" ) ) ; }

Target:
public void testWildcardMatchesChildDomain ( ) { assertFalse ( verifyWithDomainNamePattern ( "a.b.c.d" , "*.c.d" ) ) ; }
Source:
com.google.common.util.concurrent.ListenableFuture < com.google.common.collect.ImmutableMap < com.android.dialer.DialerPhoneNumber , com.android.dialer.phonelookup.PhoneLookupInfo > > bulkUpdate ( com.google.common.collect.ImmutableMap < com.android.dialer.DialerPhoneNumber , com.android.dialer.phonelookup.PhoneLookupInfo > existingInfoMap ) ;

Target:
com.google.common.util.concurrent.ListenableFuture < com.google.common.collect.ImmutableMap < com.android.dialer.DialerPhoneNumber , com.android.dialer.phonelookup.PhoneLookupInfo > > getMostRecentPhoneLookupInfo ( com.google.common.collect.ImmutableMap < com.android.dialer.DialerPhoneNumber , com.android.dialer.phonelookup.PhoneLookupInfo > existingInfoMap ) ;
Source:
public void startJankRecorder ( java.lang.String eventName ) { }

Target:
public void stopJankRecorder ( java.lang.String eventName ) { com.android.dialer.common.LogUtil.d ( "StubMetrics.startJankRecorder" , "stopped jank recorder for %s" , eventName ) ; }
Source:
boolean disable ( ) { enforceCallingOrSelfPermission ( com.android.bluetooth.btservice.AdapterService.BLUETOOTH_ADMIN_PERM , "Need BLUETOOTH ADMIN permission" ) ; debugLog ( "disable() called..." ) ; android.os.Message m = mAdapterStateMachine.obtainMessage ( AdapterState.BLE_TURN_OFF ) ; mAdapterStateMachine.sendMessage ( m ) ; return true ; }

Target:
boolean disable ( ) { enforceCallingOrSelfPermission ( com.android.bluetooth.btservice.AdapterService.BLUETOOTH_ADMIN_PERM , "Need BLUETOOTH ADMIN permission" ) ; debugLog ( ( "disable() called with mRunningProfiles.size() = " + ( mRunningProfiles.size ( ) ) ) ) ; mAdapterStateMachine.sendMessage ( AdapterState.BLE_TURN_OFF ) ; return true ; }
Source:
public com.android.ide.common.res2.MergingException addFile ( @ com.android.annotations.NonNull java.io.File file ) { mFilePositions.add ( new com.android.ide.common.blame.FilePosition ( file , com.android.ide.common.blame.SourcePosition.UNKNOWN ) ) ; return this ; }

Target:
public com.android.ide.common.res2.MergingException addFile ( @ com.android.annotations.NonNull java.io.File file ) { mFilePositions.add ( new com.android.ide.common.blame.SourceFilePosition ( file , com.android.ide.common.blame.SourcePosition.UNKNOWN ) ) ; return this ; }
Source:
public void onCallStateChanged ( android.content.Context context , int newState ) { }

Target:
public void onCallStateChanged ( android.content.Context context , int newState , android.telecom.PhoneAccountHandle phoneAccountHandle ) { }
Source:
public java.util.List < java.lang.Class < ? extends lombok.ast.Node > > getApplicableNodeTypes ( ) { return java.util.Collections.< java.lang.Class < ? extends lombok.ast.Node > > singletonList ( lombok.ast.MethodDeclaration.class ) ; }

Target:
public java.util.List < java.lang.Class < ? extends com.intellij.psi.PsiElement > > getApplicablePsiTypes ( ) { return java.util.Collections.< java.lang.Class < ? extends com.intellij.psi.PsiElement > > singletonList ( com.intellij.psi.PsiMethod.class ) ; }
Source:
public void stopTethering ( int type ) { throw new java.lang.RuntimeException ( "not implemented" ) ; }

Target:
public int untether ( java.lang.String iface , java.lang.String callerPkg ) { throw new java.lang.RuntimeException ( "not implemented" ) ; }
Source:
protected void dispose ( ) { for ( com.android.ide.eclipse.adt.internal.resources.manager.ResourceFile file : mFiles ) { file.dispose ( ) ; } mFiles.clear ( ) ; }

Target:
protected void dispose ( ) { for ( com.android.ide.common.resources.ResourceFile file : mFiles ) { file.dispose ( ) ; } mFiles.clear ( ) ; }
Source:
static double $opt$ShortToDouble ( short a ) { return ( ( double ) ( a ) ) ; }

Target:
static short $opt$IntToShort ( int a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( short ) ( a ) ) ; }
Source:
public com.android.ims.internal.IImsRegistration getRegistration ( int i ) throws android.os.RemoteException { return null ; }

Target:
public android.telephony.ims.aidl.IImsRegistration getRegistration ( int slotId ) throws android.os.RemoteException { return new android.telephony.ims.stub.ImsRegistrationImplBase ( ) . getBinder ( ) ; }
Source:
public void onServiceDisconnected ( android.content.ComponentName name ) { mWapPushMan = null ; if ( false ) android.util.Log.v ( com.android.internal.telephony.WapPushOverSms.LOG_TAG , "wappush manager disconnected." ) ; rebindWapPushManager ( ) ; }

Target:
public void onServiceDisconnected ( android.content.ComponentName name ) { mWapPushMan = null ; if ( false ) android.telephony.Rlog.v ( com.android.internal.telephony.WapPushOverSms.LOG_TAG , "wappush manager disconnected." ) ; rebindWapPushManager ( ) ; }
Source:
private static dalvik.system.PathClassLoader createSystemServerClassLoader ( java.lang.String systemServerClasspath , int targetSdkVersion ) { java.lang.String librarySearchPath = java.lang.System.getProperty ( "java.library.path" ) ; return com.android.internal.os.PathClassLoaderFactory.createClassLoader ( systemServerClasspath , librarySearchPath , null , java.lang.ClassLoader.getSystemClassLoader ( ) , targetSdkVersion , true ) ; }

Target:
private static dalvik.system.PathClassLoader createSystemServerClassLoader ( java.lang.String systemServerClasspath , int targetSdkVersion ) { java.lang.String libraryPath = java.lang.System.getProperty ( "java.library.path" ) ; return com.android.internal.os.PathClassLoaderFactory.createClassLoader ( systemServerClasspath , libraryPath , libraryPath , java.lang.ClassLoader.getSystemClassLoader ( ) , targetSdkVersion , true ) ; }
Source:
void loadAnnotations ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JParameter loading ) ;

Target:
void loadAnnotations ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JParameter loading , @ javax.annotation.Nonnull com.android.jack.jayce.JayceParameterLoader loader ) ;
Source:
boolean isZipAlign ( ) ;

Target:
boolean isZipAlignEnabled ( ) ;
Source:
public void bool ( boolean v ) throws java.io.IOException { mBuffer [ 0 ] = ( ( byte ) ( ( v ) ? 1 : 0 ) ) ; write ( 1 ) ; }

Target:
public void bool ( boolean v ) throws java.io.IOException { mBuffer [ 0 ] = ( ( byte ) ( ( v ) ? 1 : 0 ) ) ; mOutputStream.write ( mBuffer , 0 , 1 ) ; }
Source:
public static native long SSL_get_mode ( int ssl ) ;

Target:
public static native void BIO_free ( long bioRef ) ;
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { super . widgetSelected ( e ) ; if ( ( mResourceType ) == ( com.android.ide.eclipse.adt.internal.resources.ResourceType.STRING ) ) { createNewString ( ) ; } }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { super . widgetSelected ( e ) ; if ( ( mResourceType ) == ( com.android.resources.ResourceType.STRING ) ) { createNewString ( ) ; } }
Source:
void settingsSecurePutIntForUser ( java.lang.String key , int value , int userId ) ;

Target:
public void settingsSecurePutIntForUser ( java.lang.String key , int value , int userId ) { Settings.Secure.putIntForUser ( mContext.getContentResolver ( ) , key , value , userId ) ; }
Source:
public void testVFE16 ( ) { try { new dot.junit.opcodes.iget_wide.d.T_iget_wide_5 ( ) . run ( ) ; fail ( "expected a IncompatibleClassChangeError exception" ) ; } catch ( java.lang.IncompatibleClassChangeError e ) { } }

Target:
public void testVFE5 ( ) { loadAndRun ( "dot.junit.opcodes.iget_wide.d.T_iget_wide_7" , java.lang.NoClassDefFoundError.class ) ; }
Source:
private void checkOpenAndConnected ( ) throws java.net.SocketException { if ( ! ( channel.isOpen ( ) ) ) { throw new java.net.SocketException ( "Socket is closed" ) ; } if ( ! ( channel.isConnected ( ) ) ) { throw new java.net.SocketException ( "Socket is not connected" ) ; } }

Target:
public java.io.InputStream getInputStream ( ) throws java.io.IOException { return new java.nio.SocketChannelImpl.BlockingCheckInputStream ( super . getInputStream ( ) , channel ) ; }
Source:
public com.android.sdklib.internal.androidTarget.IOptionalLibrary [ ] getOptionalLibraries ( ) { return mOptionalLibraries ; }

Target:
public java.util.List < com.android.sdklib.internal.androidTarget.OptionalLibrary > getAdditionalLibraries ( ) { return mOptionalLibraries ; }
Source:
public static void computeClamp ( android.renderscript.cts.TestClamp.ArgumentsIntIntIntInt args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = java.lang.StrictMath.min ( args.inMaxValue , java.lang.StrictMath.max ( args.inValue , args.inMinValue ) ) ; }

Target:
public static void computeAbs ( android.renderscript.cts.TestAbs.ArgumentsShortUshort args ) { args.out = ( ( short ) ( java.lang.Math.abs ( args.inValue ) ) ) ; }
Source:
public void tearDown ( ) throws java.lang.IllegalAccessException , java.lang.NoSuchMethodException , java.lang.reflect.InvocationTargetException { com.android.bluetooth.TestUtils.clearAdapterService ( mMockAdapterService ) ; mMockAdapterService = null ; mProfiles = null ; }

Target:
public void tearDown ( ) throws java.lang.IllegalAccessException , java.lang.NoSuchMethodException , java.lang.reflect.InvocationTargetException { mMockAdapterService.cleanupNative ( ) ; com.android.bluetooth.TestUtils.clearAdapterService ( mMockAdapterService ) ; mMockAdapterService = null ; mProfiles = null ; }
Source:
public void onReceive ( android.content.Context context , android.content.Intent intent ) { accept ( java.lang.Integer.valueOf ( getResultCode ( ) ) ) ; }

Target:
public void onCreate ( ) { super . onCreate ( ) ; android.util.Log.d ( com.android.cts.verifier.notifications.MockListener.TAG , "created" ) ; mTestPackages.add ( "com.android.cts.verifier" ) ; mTestPackages.add ( "com.android.cts.robot" ) ; }
Source:
public static void setAppLayerName ( java.lang.String name , java.lang.String layer ) { com.android.graphics.benchmark.metric.GraphicsBenchmarkMetricCollector.mAppLayerName = name ; com.android.graphics.benchmark.metric.GraphicsBenchmarkMetricCollector.mTargetLayer = layer ; }

Target:
public static void setAppLayerName ( com.android.graphics.benchmark.ApkInfo apk ) { com.android.graphics.benchmark.metric.GraphicsBenchmarkMetricCollector.mTestApk = apk ; }
Source:
public void onFailedUnknownCall ( com.android.server.telecom.Call call ) { com.android.server.telecom.Log.i ( this , "onFailedUnknownCall for call %s" , call ) ; setCallState ( call , CallState.DISCONNECTED , "failed unknown call" ) ; call.removeListener ( this ) ; }

Target:
public void onFailedUnknownCall ( com.android.server.telecom.Call call ) { android.telecom.Log.i ( this , "onFailedUnknownCall for call %s" , call ) ; setCallState ( call , CallState.DISCONNECTED , "failed unknown call" ) ; call.removeListener ( this ) ; }
Source:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JControlFlowGraph cfg ) { assert ( cfg.getMarker ( com.android.jack.transformations.ssa.SsaBasicBlockSplitterMarker.class ) ) == null ; edgeSplit ( cfg ) ; cfg.addMarker ( SsaBasicBlockSplitterMarker.INSTANCE ) ; }

Target:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JControlFlowGraph cfg ) { assert ( cfg.getMarker ( com.android.jack.transformations.ssa.SsaBasicBlockSplitterMarker.class ) ) == null ; removeExceptionHandlingContext ( cfg ) ; edgeSplit ( cfg ) ; cfg.addMarker ( SsaBasicBlockSplitterMarker.INSTANCE ) ; }
Source:
public void testBridge001 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( BRIDGE001 ) . setSourceLevel ( SourceLevel.JAVA_8 ) . compileAndRunTest ( ) ; }

Target:
public void testBridge001 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( BRIDGE001 ) . setSourceLevel ( SourceLevel.JAVA_8 ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JackApiV01.class ) . compileAndRunTest ( ) ; }
Source:
public java.lang.String toString ( ) { return java.lang.String.format ( "%1$s|%2$s|%3$s|%4$s|%5$s" , mAnyDensity , mResizeable , mSmallScreens , mNormalScreens , mLargeScreens ) ; }

Target:
public java.lang.String getEncodedValues ( ) { return java.lang.String.format ( "%1$s|%2$s|%3$s|%4$s|%5$s" , mAnyDensity , mResizeable , mSmallScreens , mNormalScreens , mLargeScreens ) ; }
Source:
public android.telephony.mbms.DownloadRequest build ( ) { return new android.telephony.mbms.DownloadRequest ( fileServiceId , source , subscriptionId , appIntent , version ) ; }

Target:
public android.telephony.mbms.DownloadRequest build ( ) { return new android.telephony.mbms.DownloadRequest ( fileServiceId , source , destination , subscriptionId , appIntent , version ) ; }
Source:
public com.google.common.base.CharMatcher precomputed ( ) { return this ; }

Target:
static int smear ( int hashCode ) { return ( com.google.common.base.SmallCharMatcher.C2 ) * ( java.lang.Integer.rotateLeft ( ( hashCode * ( com.google.common.base.SmallCharMatcher.C1 ) ) , 15 ) ) ; }
Source:
public void testRipple ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( ( ( ( "res/drawable/ripple.xml:1: Error: <ripple> requires API level 21 (current min is 14) [NewApi]\n" + "<ripple\n" ) + "^\n" ) + "res/drawable/ripple.xml:4: Warning: Attribute \"tintMode\" is only used in API level 21 and higher (current min is 14) [UnusedAttribute]\n" ) + " android:tintMode=\"src_over\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "1 errors, 1 warnings\n" ) ) , lintProject ( "apicheck/minsdk14.xml=>AndroidManifest.xml" , "apicheck/ripple.xml=>res/drawable/ripple.xml" ) ) ; }

Target:
public void testRipple ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( ( ( ( "res/drawable/ripple.xml:1: Error: <ripple> requires API level 21 (current min is 14) [NewApi]\n" + "<ripple\n" ) + "^\n" ) + "res/drawable/ripple.xml:4: Warning: Attribute tintMode is only used in API level 21 and higher (current min is 14) [UnusedAttribute]\n" ) + " android:tintMode=\"src_over\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "1 errors, 1 warnings\n" ) ) , lintProject ( "apicheck/minsdk14.xml=>AndroidManifest.xml" , "apicheck/ripple.xml=>res/drawable/ripple.xml" ) ) ; }
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 ) ) ; continueSearch ( connId , status ) ; }

Target:
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 ) ; }
Source:
public com.google.common.base.Objects.ToStringHelper addValue ( boolean value ) { addHolder ( ) . builder.append ( value ) ; return this ; }

Target:
public com.google.common.base.Objects.ToStringHelper addValue ( boolean value ) { return addHolder ( java.lang.String.valueOf ( value ) ) ; }
Source:
public java.lang.Void call ( ) throws java.lang.Exception { try { server.startHandshake ( ) ; fail ( ) ; } catch ( javax.net.ssl.SSLHandshakeException expected ) { } return null ; }

Target:
public java.lang.Void call ( ) throws java.lang.Exception { try { server.startHandshake ( ) ; fail ( ) ; } catch ( javax.net.ssl.SSLException expected ) { } return null ; }
Source:
private void handleSetVPMessage ( ) { mPhone.getEnhancedVoicePrivacy ( android.os.Message.obtain ( mGetOptionComplete , com.android.phone.CallFeaturesSetting.EVENT_ENHANCED_VP_EXECUTED ) ) ; }

Target:
private void handleSetVPMessage ( ) { mPhone.getEnhancedVoicePrivacy ( android.os.Message.obtain ( mQueryVoicePrivacyComplete , com.android.phone.CallFeaturesSetting.EVENT_ENHANCED_VP_EXECUTED ) ) ; android.provider.Settings.System.putInt ( mPhone.getContext ( ) . getContentResolver ( ) , android.provider.Settings.System.ENHANCED_VOICE_PRIVACY_ENABLED , com.android.phone.CallFeaturesSetting.preferredVPMode ) ; }
Source:
public void testEncode_String_NullEncoder ( ) { tests.api.java.nio.charset.CharsetTest.MockCharset2 c = new tests.api.java.nio.charset.CharsetTest.MockCharset2 ( "mock2" , null ) ; try { c.encode ( "hehe" ) ; fail ( "Should throw NullPointerException!" ) ; } catch ( java.lang.NullPointerException e ) { } }

Target:
public void testForName_IllegalName ( ) { try { java.nio.charset.Charset.forName ( " ///#$$" ) ; fail ( ) ; } catch ( java.nio.charset.IllegalCharsetNameException expected ) { } }
Source:
public void test_EUC_JP_replacement_character ( ) throws java.lang.Exception { assertEncodes ( java.nio.charset.Charset.forName ( "EUC-JP" ) , "�" , 244 , 254 ) ; }

Target:
public void test_EUC_JP_replacement_character ( ) throws java.lang.Exception { assertEncodes ( java.nio.charset.Charset.forName ( "EUC-JP" ) , " � " , ' ' , 244 , 254 , ' ' ) ; assertDecodes ( java.nio.charset.Charset.forName ( "EUC-JP" ) , " � " , ' ' , 244 , 254 , ' ' ) ; }
Source:
private void assertNoTombstone ( java.lang.String alias ) { assertTrue ( org.conscrypt.TrustedCertificateStore.isUser ( alias ) ) ; assertFalse ( org.conscrypt.TrustedCertificateStoreTest.file ( alias ) . exists ( ) ) ; }

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:
private static native java.lang.String nativeGetString ( int obj , int idx ) ;

Target:
private static native int nativeGetSize ( long obj ) ;
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 registrationProgressing ( ) { if ( com.android.ims.ImsManager.DBG ) { com.android.ims.ImsManager.log ( "registrationProgressing ::" ) ; } if ( ( mListener ) != null ) { mListener.onImsProgressing ( ServiceState.RIL_RADIO_TECHNOLOGY_UNKNOWN ) ; } }
Source:
public com.android.build.gradle.api.GroupableProductFlavor previous ( ) { return immutableObjectProvider.getProductFlavor ( baseIterator.previous ( ) ) ; }

Target:
public com.android.builder.model.ProductFlavor previous ( ) { return immutableObjectProvider.getProductFlavor ( baseIterator.previous ( ) ) ; }
Source:
public void test_minus_longTemporalUnit_negativeMinutes ( ) { java.time.LocalTime t = TEST_12_30_40_987654321.minus ( ( - 25 ) , java.time.temporal.ChronoUnit.MINUTES ) ; org.testng.Assert.assertEquals ( t , java.time.LocalTime.of ( 12 , 55 , 40 , 987654321 ) ) ; }

Target:
public void test_minus_longTemporalUnit_zero ( ) { java.time.LocalTime t = tck.java.time.TCKLocalTime.TEST_12_30_40_987654321.minus ( 0 , java.time.temporal.ChronoUnit.MINUTES ) ; org.testng.Assert.assertEquals ( t , tck.java.time.TCKLocalTime.TEST_12_30_40_987654321 ) ; }
Source:
synchronized void reportConnectionEvent ( byte event ) { mLastMileLogger.reportConnectionEvent ( event ) ; if ( event == ( CONNECTION_EVENT_FAILED ) ) { mPacketFatesForLastFailure = fetchPacketFates ( ) ; } }

Target:
synchronized void reportConnectionEvent ( long connectionId , byte event ) { mLastMileLogger.reportConnectionEvent ( connectionId , event ) ; if ( event == ( CONNECTION_EVENT_FAILED ) ) { mPacketFatesForLastFailure = fetchPacketFates ( ) ; } }
Source:
private void printProblem ( @ javax.annotation.Nonnull com.android.jack.reporting.Reportable.ProblemLevel problemLevel , @ javax.annotation.Nonnull java.lang.String message ) { printProblem ( problemLevel , message , null , ( - 1 ) , ( - 1 ) , ( - 1 ) , ( - 1 ) ) ; }

Target:
private void printFilteredProblem ( @ javax.annotation.Nonnull com.android.jack.reporting.Reportable.ProblemLevel problemLevel , @ javax.annotation.Nonnull java.lang.String message ) { printFilteredProblem ( problemLevel , message , null , ( - 1 ) , ( - 1 ) , ( - 1 ) , ( - 1 ) ) ; }
Source:
static org.bouncycastle.asn1.ASN1Encodable extractParameters ( java.security.AlgorithmParameters params ) throws org.bouncycastle.cms.CMSException { try { return org.bouncycastle.jcajce.JcaJceUtils.extractParameters ( params ) ; } catch ( java.io.IOException e ) { throw new org.bouncycastle.cms.CMSException ( ( "cannot extract parameters: " + ( e.getMessage ( ) ) ) , e ) ; } }

Target:
static org.bouncycastle.asn1.ASN1Encodable extractParameters ( java.security.AlgorithmParameters params ) throws org.bouncycastle.cms.CMSException { try { return org.bouncycastle.jcajce.util.JcaJceUtils.extractParameters ( params ) ; } catch ( java.io.IOException e ) { throw new org.bouncycastle.cms.CMSException ( ( "cannot extract parameters: " + ( e.getMessage ( ) ) ) , e ) ; } }
Source:
private java.nio.ByteBuffer getBuffer ( long page ) { return getBuffer ( page , true ) ; }

Target:
private java.nio.ByteBuffer getBuffer ( long page ) { return getBufferWrapper ( page , true ) . getCachedBuffer ( ) ; }
Source:
public void setup ( ) { put ( "Signature.FOO" , libcore.java.security.ProviderTest.MockSpi.class . getName ( ) ) ; put ( "Signature.FOO SupportedKeyFormats" , new libcore.javax.crypto.MockKey ( ) . getFormat ( ) ) ; }

Target:
public void setup ( ) { put ( "Signature.FOO" , libcore.java.security.ProviderTest.MockSpi.class . getName ( ) ) ; put ( "Signature.FOO SupportedKeyClasses" , java.security.interfaces.RSAPrivateKey.class . getName ( ) ) ; }
Source:
public android.telephony.euicc.EuiccInfo getEuiccInfo ( ) { if ( ! ( isEnabled ( ) ) ) { return null ; } try { return getIEuiccController ( ) . getEuiccInfo ( ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }

Target:
public android.telephony.euicc.EuiccInfo getEuiccInfo ( ) { if ( ! ( isEnabled ( ) ) ) { return null ; } try { return android.telephony.euicc.EuiccManager.getIEuiccController ( ) . getEuiccInfo ( ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
public void addU8 ( android.support.v8.renderscript.Short3 v ) { mN.addU8 ( new android.support.v8.renderscript.Short3 ( v.x , v.y , v.z ) ) ; }

Target:
public void addU8 ( android.support.v8.renderscript.Short3 v ) { mN.addU8 ( new android.support.v8.renderscript.Short3 ( v.x , v.y , v.z ) ) ; mPos += 3 ; }
Source:
private void checkNoName ( java.net.SocketAddress sa ) { java.net.InetSocketAddress isa = ( ( java.net.InetSocketAddress ) ( sa ) ) ; assertEquals ( 0 , isa.getAddress ( ) . getAddress ( ) . length ) ; }

Target:
private void checkNoName ( android.system.UnixSocketAddress usa ) { assertEquals ( 0 , usa.getSunPath ( ) . length ) ; }
Source:
public void loadAll ( ) { com.android.ide.eclipse.adt.internal.resources.ResourceType [ ] types = getAvailableResourceTypes ( ) ; for ( com.android.ide.eclipse.adt.internal.resources.ResourceType type : types ) { checkAndUpdate ( type ) ; } }

Target:
public void loadAll ( ) { com.android.resources.ResourceType [ ] types = getAvailableResourceTypes ( ) ; for ( com.android.resources.ResourceType type : types ) { checkAndUpdate ( type ) ; } }
Source:
public void onGetDescriptor ( java.lang.String address , int srvcType , int srvcInstId , android.os.ParcelUuid srvcUuid , int charInstId , android.os.ParcelUuid charUuid , int descrInstId , android.os.ParcelUuid descrUuid ) throws android.os.RemoteException { }

Target:
public void onDescriptorWrite ( java.lang.String address , int status , int handle ) throws android.os.RemoteException { }
Source:
public void sendRttRequest ( ) { setRttStreams ( true ) ; mConnectionService.startRtt ( this , getInCallToCsRttPipeForCs ( ) , getCsToInCallRttPipeForCs ( ) ) ; }

Target:
public void setOriginalCallIntent ( android.content.Intent intent ) { mOriginalCallIntent = intent ; }
Source:
public static int ReturnIntMax ( ) { float imm = 1.0E34F ; return ( ( int ) ( imm ) ) ; }

Target:
public static double ReturnDouble34 ( ) { long imm = Main.$inline$long ( 34L ) ; return ( ( double ) ( imm ) ) ; }
Source:
public void run ( ) { com.google.gct.login.GoogleLogin.getInstance ( ) . logIn ( message ) ; }

Target:
public com.google.api.client.http.HttpRequestFactory createRequestFactory ( java.lang.String message ) { com.google.gct.login.CredentialedUser activeUser = users.getActiveUser ( ) ; if ( activeUser == null ) { return null ; } return activeUser.getGoogleLoginState ( ) . createRequestFactory ( message ) ; }
Source:
private java.lang.String getKey ( java.lang.String hostname , int port ) { return ( ( hostname + ":" ) + ( java.lang.String.valueOf ( port ) ) ) . toLowerCase ( ) ; }

Target:
private java.lang.String getKey ( java.lang.String hostname , int port ) { return ( ( hostname + ":" ) + ( java.lang.String.valueOf ( port ) ) ) . toLowerCase ( java.util.Locale.ENGLISH ) ; }
Source:
private static void log ( java.lang.String s ) { android.telephony.Rlog.w ( android.telephony.CellIdentityWcdma.LOG_TAG , s ) ; }

Target:
public android.telephony.CellIdentityWcdma createFromParcel ( android.os.Parcel in ) { in.readInt ( ) ; return android.telephony.CellIdentityWcdma.createFromParcelBody ( in ) ; }
Source:
synchronized void onDeviceStateChanged ( com.android.bluetooth.hfp.HeadsetDeviceState deviceState ) { broadCastMessageToStateMachines ( HeadsetStateMachine.DEVICE_STATE_CHANGED , deviceState ) ; }

Target:
synchronized void messageFromNative ( com.android.bluetooth.hfp.HeadsetStackEvent stackEvent ) { mStateMachine.sendMessage ( HeadsetStateMachine.STACK_EVENT , stackEvent ) ; }
Source:
public void getClipResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , int var2 ) { }

Target:
public void getClipResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , int status ) { responseInts ( responseInfo , status ) ; }
Source:
public void refreshPlugins ( boolean reloadOpenPages ) { if ( ( mWebViewCore ) != null ) { mWebViewCore.sendMessage ( EventHub.REFRESH_PLUGINS , reloadOpenPages ) ; } }

Target:
public void freeMemory ( ) { mWebViewCore.sendMessage ( EventHub.FREE_MEMORY ) ; }
Source:
public android.net.wifi.nan.PublishConfig.Builder setEnableTerminateNotification ( boolean enable ) { mEnableTerminateNotification = enable ; return this ; }

Target:
public android.net.wifi.nan.PublishConfig.Builder setTerminateNotificationEnabled ( boolean enable ) { mEnableTerminateNotification = enable ; return this ; }
Source:
public static boolean isLowSurrogate ( char ch ) { return ( ch >= ( android.icu.lang.UCharacter.MIN_LOW_SURROGATE ) ) && ( ch <= ( android.icu.lang.UCharacter.MAX_LOW_SURROGATE ) ) ; }

Target:
public static boolean isLowSurrogate ( char ch ) { return java.lang.Character.isLowSurrogate ( ch ) ; }
Source:
public static com.android.bluetooth.opp.BluetoothOppManager getInstance ( android.content.Context context ) { synchronized ( com.android.bluetooth.opp.BluetoothOppManager.INSTANCE_LOCK ) { if ( ( com.android.bluetooth.opp.BluetoothOppManager.INSTANCE ) == null ) { com.android.bluetooth.opp.BluetoothOppManager.INSTANCE = new com.android.bluetooth.opp.BluetoothOppManager ( ) ; } com.android.bluetooth.opp.BluetoothOppManager.INSTANCE.init ( context ) ; return com.android.bluetooth.opp.BluetoothOppManager.INSTANCE ; } }

Target:
public static com.android.bluetooth.opp.BluetoothOppManager getInstance ( android.content.Context context ) { synchronized ( com.android.bluetooth.opp.BluetoothOppManager.INSTANCE_LOCK ) { if ( ( com.android.bluetooth.opp.BluetoothOppManager.sInstance ) == null ) { com.android.bluetooth.opp.BluetoothOppManager.sInstance = new com.android.bluetooth.opp.BluetoothOppManager ( ) ; } com.android.bluetooth.opp.BluetoothOppManager.sInstance.init ( context ) ; return com.android.bluetooth.opp.BluetoothOppManager.sInstance ; } }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setBuildIdBytes ( com.android.vts.proto.ByteString value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 8 ; buildId_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setBuildId ( java.lang.String value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 16 ; buildId_ = value ; onChanged ( ) ; return this ; }
Source:
org.eclipse.core.resources.IProject getProject ( ) { if ( ( mChooseAssetPage ) != null ) { return mChooseAssetPage.getProject ( ) ; } else { return mInitialProject ; } }

Target:
void setProject ( org.eclipse.core.resources.IProject project ) { mInitialProject = project ; mValues.project = project ; }
Source:
public void selectionChanged ( org.eclipse.jface.viewers.SelectionChangedEvent event ) { fireSelectionChanged ( event ) ; }

Target:
public void selectionChanged ( org.eclipse.jface.viewers.SelectionChangedEvent event ) { fireSelectionChanged ( event ) ; firePostSelectionChanged ( event ) ; }
Source:
public java.util.List < java.lang.Character > subList ( int fromIndex , int toIndex ) { com.google.common.base.Preconditions.checkPositionIndexes ( fromIndex , toIndex , size ( ) ) ; return com.google.common.collect.Lists.charactersOf ( sequence.subSequence ( fromIndex , toIndex ) ) ; }

Target:
static < B > java.util.List < java.util.List < B > > cartesianProduct ( java.util.List < ? extends B > ... lists ) { return com.google.common.collect.Lists.cartesianProduct ( java.util.Arrays.asList ( lists ) ) ; }
Source:
public void testSetFeatureAndCheckCallback ( ) throws java.lang.Exception { mTestImsService.setImsFeatureStatusCallback ( mTestStatusCallback ) ; mTestImsService.testSetFeatureState ( ImsFeature.STATE_READY ) ; org.mockito.Mockito.verify ( mTestStatusCallback ) . notifyImsFeatureStatus ( org.mockito.Matchers.eq ( ImsFeature.STATE_READY ) ) ; junit.framework.Assert.assertEquals ( ImsFeature.STATE_READY , mTestImsService.getFeatureState ( ) ) ; }

Target:
public void testSetCallbackAndNotify ( ) throws java.lang.Exception { mTestImsService.addImsFeatureStatusCallback ( mTestStatusCallback ) ; mTestImsService.addImsFeatureStatusCallback ( mTestStatusCallback2 ) ; org.mockito.Mockito.verify ( mTestStatusCallback ) . notifyImsFeatureStatus ( org.mockito.Matchers.eq ( ImsFeature.STATE_NOT_AVAILABLE ) ) ; org.mockito.Mockito.verify ( mTestStatusCallback2 ) . notifyImsFeatureStatus ( org.mockito.Matchers.eq ( ImsFeature.STATE_NOT_AVAILABLE ) ) ; }
Source:
public void onClick ( android.content.DialogInterface dialog , int id ) { android.content.Intent denyIntent = new android.content.Intent ( BluetoothPeripheralHandover.ACTION_DENY_CONNECT ) ; denyIntent.putExtra ( BluetoothDevice.EXTRA_DEVICE , mDevice ) ; sendBroadcast ( denyIntent ) ; this . finish ( ) ; }

Target:
public void onClick ( android.content.DialogInterface dialog , int id ) { android.content.Intent denyIntent = new android.content.Intent ( BluetoothPeripheralHandover.ACTION_DENY_CONNECT ) ; denyIntent.putExtra ( BluetoothDevice.EXTRA_DEVICE , mDevice ) ; sendBroadcast ( denyIntent ) ; this . mAlert = null ; this . finish ( ) ; }
Source:
public void run ( ) { try { shutDown ( ) ; notifyStopped ( ) ; } catch ( java.lang.Throwable t ) { notifyFailed ( t ) ; throw com.google.common.base.Throwables.propagate ( t ) ; } }

Target:
public void run ( ) { try { startUp ( ) ; notifyStarted ( ) ; } catch ( java.lang.Throwable t ) { notifyFailed ( t ) ; throw com.google.common.base.Throwables.propagate ( t ) ; } }
Source:
boolean isNumberGeographical ( com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber ) { com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType numberType = getNumberType ( phoneNumber ) ; return ( numberType == ( com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType.FIXED_LINE ) ) || ( numberType == ( com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType.FIXED_LINE_OR_MOBILE ) ) ; }

Target:
public boolean isNumberGeographical ( com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType numberType , int countryCallingCode ) { return ( ( numberType == ( com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType.FIXED_LINE ) ) || ( numberType == ( com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType.FIXED_LINE_OR_MOBILE ) ) ) || ( ( com.google.i18n.phonenumbers.PhoneNumberUtil.GEO_MOBILE_COUNTRIES.contains ( countryCallingCode ) ) && ( numberType == ( com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType.MOBILE ) ) ) ; }
Source:
private com.android.rs.test.Long2 pack_l2 ( long [ ] val ) { assert ( val.length ) == 2 ; return new com.android.rs.test.Long2 ( val [ 0 ] , val [ 1 ] ) ; }

Target:
private android.renderscript.Long2 pack_l2 ( long [ ] val ) { assert ( val.length ) == 2 ; return new android.renderscript.Long2 ( val [ 0 ] , val [ 1 ] ) ; }
Source:
public void testNameSpecialChars_RFC1779_01 ( ) throws java.lang.Exception { }

Target:
public void testNameSpecialChars_RFC1779_01 ( ) throws java.lang.Exception { java.lang.String dn = "CN=\\\nB" ; javax.security.auth.x500.X500Principal principal = new javax.security.auth.x500.X500Principal ( dn ) ; java.lang.String s = principal.getName ( javax.security.auth.x500.X500Principal.RFC1779 ) ; assertEquals ( "CN=\"\nB\"" , s ) ; }
Source:
public java.lang.String getDescription ( ) { return null ; }

Target:
public java.lang.String getDescription ( ) { return com.google.gct.idea.util.GctBundle.message ( "appengine.wizard.gallery_description" ) ; }
Source:
public static java.lang.String getXmlString ( com.android.resources.ResourceType type , com.android.ide.eclipse.adt.internal.resources.manager.ResourceItem resourceItem , boolean system ) { if ( ( type == ( com.android.resources.ResourceType.ID ) ) && ( resourceItem.isDeclaredInline ( ) ) ) { return ( ( ( system ? "@android:" : "@+" ) + ( type.getName ( ) ) ) + "/" ) + ( resourceItem.getName ( ) ) ; } return ( ( ( system ? "@android:" : "@" ) + ( type.getName ( ) ) ) + "/" ) + ( resourceItem.getName ( ) ) ; }

Target:
public static boolean isValueBasedResourceType ( com.android.resources.ResourceType type ) { java.util.List < com.android.resources.ResourceFolderType > folderTypes = com.android.resources.FolderTypeRelationship.getRelatedFolders ( type ) ; for ( com.android.resources.ResourceFolderType folderType : folderTypes ) { if ( folderType == ( com.android.resources.ResourceFolderType.VALUES ) ) { return true ; } } return false ; }
Source:
private void processIccRecordEvents ( int eventCode ) { switch ( eventCode ) { case SIMRecords.EVENT_CFI : notifyCallForwardingIndicator ( ) ; break ; case SIMRecords.EVENT_MWI : notifyMessageWaitingIndicator ( ) ; break ; } }

Target:
private void processIccRecordEvents ( int eventCode ) { switch ( eventCode ) { case com.android.internal.telephony.IccRecords.EVENT_CFI : notifyCallForwardingIndicator ( ) ; break ; case com.android.internal.telephony.IccRecords.EVENT_MWI : notifyMessageWaitingIndicator ( ) ; break ; } }
Source:
public java.lang.String isValid ( java.lang.String newText ) { if ( invalid.contains ( newText ) ) { return java.lang.String.format ( "Cyclic include, not valid" , newText ) ; } return null ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { java.lang.String fqcn = createNewFragmentClass ( javaProject ) ; if ( fqcn != null ) { returnValue.set ( fqcn ) ; dialogHolder.get ( ) . close ( ) ; } }
Source:
public abstract java.util.List < java.lang.String [ ] > getNavbarLinks ( javax.servlet.http.HttpServletRequest request ) ;

Target:
public abstract com.android.vts.servlet.BaseServlet.PageType getNavParentType ( ) ;
Source:
public android.accounts.Account [ ] getAccounts ( ) { try { return mService.getAccounts ( null ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }

Target:
public android.accounts.AuthenticatorDescription [ ] getAuthenticatorTypes ( ) { try { return mService.getAuthenticatorTypes ( android.os.UserHandle.getCallingUserId ( ) ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }
Source:
public void onComplete ( int resultCode , java.lang.String address ) { callback.onComplete ( resultCode , address ) ; }

Target:
public void onComplete ( int resultCode ) { executor.execute ( ( ) -> callback.onComplete ( resultCode , null ) ) ; }
Source:
public java.nio.file.Path pathFromRepository ( java.nio.file.Path relPath ) { return java.nio.file.Paths.get ( "ojluni/src/main/java" ) . resolve ( relPath ) ; }

Target:
public java.nio.file.Path pathFromRepository ( java.nio.file.Path relPath ) { return java.util.Objects.requireNonNull ( super . pathFromRepository ( relPath ) ) ; }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JParameterRef paramRef ) { buildAssignVariableRef ( destReg , paramRef , sourcePosition ) ; return false ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JLocalRef localRef ) { buildAssignVariableRef ( destReg , localRef , sourcePosition ) ; return false ; }
Source:
public void test_get_TemporalField ( ) { org.testng.Assert.assertEquals ( TEST_07_15.get ( java.time.temporal.ChronoField.DAY_OF_MONTH ) , 15 ) ; org.testng.Assert.assertEquals ( TEST_07_15.get ( java.time.temporal.ChronoField.MONTH_OF_YEAR ) , 7 ) ; }

Target:
public void test_getLong_TemporalField ( ) { org.testng.Assert.assertEquals ( tck.java.time.TCKMonthDay.TEST_07_15.getLong ( java.time.temporal.ChronoField.DAY_OF_MONTH ) , 15 ) ; org.testng.Assert.assertEquals ( tck.java.time.TCKMonthDay.TEST_07_15.getLong ( java.time.temporal.ChronoField.MONTH_OF_YEAR ) , 7 ) ; }
Source:
public void startJankRecorder ( java.lang.String eventName ) { }

Target:
public void startJankRecorder ( java.lang.String eventName ) { com.android.dialer.common.LogUtil.d ( "StubMetrics.startJankRecorder" , "started jank recorder for %s" , eventName ) ; }