auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void testVFE5 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.sput_char.d.T_sput_char_17" ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testVFE5 ( ) { try { new dot.junit.opcodes.sput_char.d.T_sput_char_17 ( ) . run ( ) ; fail ( "expected NoSuchFieldError" ) ; } catch ( java.lang.NoSuchFieldError t ) { } }
Source:
void libToLib ( @ javax.annotation.Nonnull java.util.List < java.io.File > in , @ javax.annotation.Nonnull java.io.File out , boolean zipFiles ) throws java.lang.Exception ;

Target:
java.lang.String getLibraryElementsExtension ( ) ;
Source:
native void rsnAllocationElementRead ( long con , long id , int xoff , int yoff , int zoff , int mip , int compIdx , java.lang.Object d , int sizeBytes , int dt ) ;

Target:
native void rsnAllocationRead1D ( long con , long id , int off , int mip , int count , java.lang.Object d , int sizeBytes , int dt , int mSize , boolean usePadding ) ;
Source:
public static boolean isParameterModifier ( int modifier ) { return ( modifier & ( com.android.jack.ir.ast.JModifier.LOCAL_MODIFIER_MASK ) ) == modifier ; }

Target:
public static boolean isParameterModifier ( int modifier ) { return ( modifier & ( com.android.jack.ir.ast.JModifier.PARAMETER_MODIFIER_MASK ) ) == modifier ; }
Source:
public java.lang.String getLine1Number ( ) { com.android.internal.telephony.IccRecords r = mIccRecords.get ( ) ; return r != null ? r.getMsisdnNumber ( ) : "" ; }

Target:
public java.lang.String getLine1Number ( ) { com.android.internal.telephony.uicc.IccRecords r = mIccRecords.get ( ) ; return r != null ? r.getMsisdnNumber ( ) : "" ; }
Source:
public void setWebChromeClient ( android.webkit.WebChromeClient client ) { mContentsClientAdapter.setWebChromeClient ( client ) ; }

Target:
public void setWebChromeClient ( android.webkit.WebChromeClient client ) { mWebSettings.getAwSettings ( ) . setFullscreenSupported ( doesSupportFullscreen ( client ) ) ; mContentsClientAdapter.setWebChromeClient ( client ) ; }
Source:
public void afterCheckFile ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Context context ) { if ( ( context.getPhase ( ) ) == 1 ) { mFileToNames.put ( context.file , mNames ) ; mNames = null ; } }

Target:
public void afterCheckFile ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Context context ) { if ( ( context.getPhase ( ) ) == 1 ) { if ( context.getProject ( ) . getReportIssues ( ) ) { mFileToNames.put ( context.file , mNames ) ; } mNames = null ; } }
Source:
public void test_Constructor ( ) throws java.net.SocketException { new java.net.DatagramSocket ( ) ; }

Target:
public void test_Constructor ( ) throws java.net.SocketException { new java.net.DatagramSocket ( ) . close ( ) ; }
Source:
public static java.lang.CharSequence formatDate ( android.content.Context context , long callDateMillis ) { return com.android.dialer.calllogutils.CallLogDates.toTitleCase ( android.text.format.DateUtils.formatDateTime ( context , callDateMillis , ( ( ( ( android.text.format.DateUtils.FORMAT_SHOW_TIME ) | ( android.text.format.DateUtils.FORMAT_SHOW_DATE ) ) | ( android.text.format.DateUtils.FORMAT_SHOW_WEEKDAY ) ) | ( android.text.format.DateUtils.FORMAT_SHOW_YEAR ) ) ) ) ; }

Target:
public static java.lang.CharSequence formatDate ( android.content.Context context , long timestamp ) { return com.android.dialer.calllogutils.CallLogDates.toTitleCase ( android.text.format.DateUtils.formatDateTime ( context , timestamp , ( ( ( ( android.text.format.DateUtils.FORMAT_SHOW_TIME ) | ( android.text.format.DateUtils.FORMAT_SHOW_DATE ) ) | ( android.text.format.DateUtils.FORMAT_SHOW_WEEKDAY ) ) | ( android.text.format.DateUtils.FORMAT_SHOW_YEAR ) ) ) ) ; }
Source:
static long $opt$ShortToLong ( short a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( long ) ( a ) ) ; }

Target:
static long $opt$noinline$ShortToLong ( short a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( long ) ( a ) ) ; }
Source:
protected java.io.File saveTempFile ( byte [ ] data ) throws java.io.IOException { java.io.File f = java.io.File.createTempFile ( "ddms" , null ) ; saveFile ( data , f ) ; return f ; }

Target:
protected java.io.File saveTempFile ( byte [ ] data , java.lang.String extension ) throws java.io.IOException { java.io.File f = java.io.File.createTempFile ( "ddms" , extension ) ; saveFile ( data , f ) ; return f ; }
Source:
public static void encode ( com.android.tools.rpclib.rpc.Encoder e , com.android.tools.rpclib.rpc.ClassIdInfo o ) throws java.io.IOException { e.string ( o.Name ) ; o.Kind.encode ( e ) ; e.object ( o.Klass ) ; }

Target:
public static void encode ( com.android.tools.rpclib.rpc.Encoder e , com.android.tools.rpclib.rpc.AtomRangeTimer o ) throws java.io.IOException { e.uint64 ( o.FromAtomId ) ; e.uint64 ( o.ToAtomId ) ; e.uint64 ( o.Nanoseconds ) ; }
Source:
public void callSessionConferenceExtendReceived ( com.android.ims.internal.ImsCallSession newSession , com.android.ims.ImsCallProfile profile ) throws android.os.RemoteException { mListener.callSessionConferenceExtendReceived ( ( newSession != null ? newSession.getSession ( ) : null ) , profile ) ; }

Target:
public void callSessionConferenceExtended ( com.android.ims.internal.ImsCallSession newSession , com.android.ims.ImsCallProfile profile ) throws android.os.RemoteException { mListener.callSessionConferenceExtended ( ( newSession != null ? newSession.getSession ( ) : null ) , profile ) ; }
Source:
public void testGetInputState ( ) throws java.lang.Exception { if ( ! ( android.media.tv.cts.Utils.hasTvInputFramework ( getContext ( ) ) ) ) { return ; } assertEquals ( mManager.getInputState ( mStubId ) , TvInputManager.INPUT_STATE_CONNECTED ) ; }

Target:
public void testIsRatingBlocked ( ) { if ( ! ( android.media.tv.cts.Utils.hasTvInputFramework ( getActivity ( ) ) ) ) { return ; } try { mManager.isRatingBlocked ( android.media.tv.cts.TvInputManagerTest.DUMMY_RATING ) ; } catch ( java.lang.Exception e ) { fail ( ) ; } }
Source:
private void agentDisconnect ( ) { if ( mNetworkInfo.isConnected ( ) ) { agentDisconnect ( mNetworkInfo , mNetworkAgent ) ; mNetworkAgent = null ; } }

Target:
private void agentDisconnect ( ) { if ( mNetworkInfo.isConnected ( ) ) { mNetworkInfo.setIsAvailable ( false ) ; updateState ( DetailedState.DISCONNECTED , "agentDisconnect" ) ; mNetworkAgent = null ; } }
Source:
public void setDataEnabled ( boolean enable ) { mDcTracker.setDataEnabled ( enable ) ; }

Target:
public void setDataRoamingEnabled ( boolean enable ) { mDcTracker.setDataRoamingEnabledByUser ( enable ) ; }
Source:
private static < T > T checkNonNullArgument ( T arg , java.lang.String format , java.lang.Object ... messageParams ) { com.google.common.base.Preconditions.checkArgument ( ( arg != null ) , format , messageParams ) ; return arg ; }

Target:
static java.lang.Object forLookup ( java.lang.reflect.Type t ) { if ( t instanceof java.lang.reflect.TypeVariable ) { return new com.google.common.reflect.TypeResolver.TypeVariableKey ( ( ( java.lang.reflect.TypeVariable < ? > ) ( t ) ) ) ; } else { return null ; } }
Source:
public void parseLayoutClasses ( org.eclipse.core.runtime.IProgressMonitor monitor ) { parseClasses ( monitor , AndroidConstants.CLASS_VIEW , AndroidConstants.CLASS_VIEWGROUP , AndroidConstants.CLASS_VIEWGROUP_LAYOUTPARAMS ) ; }

Target:
public void parseLayoutClasses ( org.eclipse.core.runtime.IProgressMonitor monitor ) { parseClasses ( monitor , SdkConstants.CLASS_VIEW , SdkConstants.CLASS_VIEWGROUP , SdkConstants.CLASS_VIEWGROUP_LAYOUTPARAMS ) ; }
Source:
public void systemReady ( ) { final android.content.IntentFilter filter = new android.content.IntentFilter ( ) ; filter.addAction ( Intent.ACTION_USER_SWITCHED ) ; filter.addAction ( Intent.ACTION_USER_REMOVED ) ; mContext.registerReceiver ( mBroadcastReceiver , filter ) ; }

Target:
public void systemRunning ( ) { final android.content.IntentFilter filter = new android.content.IntentFilter ( ) ; filter.addAction ( Intent.ACTION_USER_SWITCHED ) ; filter.addAction ( Intent.ACTION_USER_REMOVED ) ; mContext.registerReceiver ( mBroadcastReceiver , filter ) ; }
Source:
public void onCallStateChanged ( com.android.server.telecom.Call call , int oldState , int newState ) { if ( shouldIgnoreCallForAudio ( call ) ) { return ; } com.android.server.telecom.Log.d ( LOG_TAG , "Call state changed for TC@%s: %s -> %s" , call.getId ( ) , com.android.server.telecom.CallState.toString ( oldState ) , com.android.server.telecom.CallState.toString ( newState ) ) ; for ( int i = 0 ; i < ( mCallStateToCalls.size ( ) ) ; i ++ ) { mCallStateToCalls.valueAt ( i ) . remove ( call ) ; } if ( ( mCallStateToCalls.get ( newState ) ) != null ) { mCallStateToCalls.get ( newState ) . add ( call ) ; } updateForegroundCall ( ) ; if ( newState == ( CallState.DISCONNECTED ) ) { playToneForDisconnectedCall ( call ) ; } onCallLeavingState ( call , oldState ) ; onCallEnteringState ( call , newState ) ; }

Target:
public void onCallStateChanged ( com.android.server.telecom.Call call , int oldState , int newState ) { if ( shouldIgnoreCallForAudio ( call ) ) { return ; } android.telecom.Log.d ( LOG_TAG , "Call state changed for TC@%s: %s -> %s" , call.getId ( ) , com.android.server.telecom.CallState.toString ( oldState ) , com.android.server.telecom.CallState.toString ( newState ) ) ; for ( int i = 0 ; i < ( mCallStateToCalls.size ( ) ) ; i ++ ) { mCallStateToCalls.valueAt ( i ) . remove ( call ) ; } if ( ( mCallStateToCalls.get ( newState ) ) != null ) { mCallStateToCalls.get ( newState ) . add ( call ) ; } updateForegroundCall ( ) ; if ( newState == ( CallState.DISCONNECTED ) ) { playToneForDisconnectedCall ( call ) ; } onCallLeavingState ( call , oldState ) ; onCallEnteringState ( call , newState ) ; }
Source:
public void setLayoutParams ( android.view.ViewGroup.LayoutParams params ) { if ( params == null ) { throw new java.lang.NullPointerException ( "params == null" ) ; } mLayoutParams = params ; requestLayout ( ) ; }

Target:
public void setLayoutParams ( android.view.ViewGroup.LayoutParams params ) { if ( params == null ) { throw new java.lang.NullPointerException ( "Layout parameters cannot be null" ) ; } mLayoutParams = params ; requestLayout ( ) ; }
Source:
public void testExtractZipSafely_badZip_dirOutsideTarget ( ) throws java.lang.Exception { java.io.ByteArrayOutputStream baos = new java.io.ByteArrayOutputStream ( ) ; try ( java.util.zip.ZipOutputStream zipOutputStream = new java.util.zip.ZipOutputStream ( baos ) ) { libcore.tzdata.update2.TimeZoneDistroTest.addZipEntry ( zipOutputStream , "../one/" ) ; } doExtractZipFails ( baos ) ; }

Target:
public void testExtractZipSafely_badZip_dirOutsideTarget ( ) throws java.lang.Exception { java.io.ByteArrayOutputStream baos = new java.io.ByteArrayOutputStream ( ) ; try ( java.util.zip.ZipOutputStream zipOutputStream = new java.util.zip.ZipOutputStream ( baos ) ) { libcore.tzdata.shared2.TimeZoneDistroTest.addZipEntry ( zipOutputStream , "../one/" ) ; } doExtractZipFails ( baos ) ; }
Source:
public static boolean isDecodingSupported ( java.lang.String charsetName ) { return org.apache.james.mime4j.util.CharsetUtil.decodingSupported.contains ( charsetName.toLowerCase ( ) ) ; }

Target:
public static boolean isDecodingSupported ( java.lang.String charsetName ) { return org.apache.james.mime4j.util.CharsetUtil.decodingSupported.contains ( charsetName.toLowerCase ( java.util.Locale.US ) ) ; }
Source:
public void setSourceEntries ( @ javax.annotation.Nonnull java.util.List < java.io.File > arg0 ) throws com.android.jack.api.v01.ConfigurationException { }

Target:
public void setSourceEntries ( @ javax.annotation.Nonnull java.util.List < java.io.File > sourceEntries ) { options.setInputSources ( sourceEntries ) ; }
Source:
static float $opt$ByteToFloat ( byte a ) { return ( ( float ) ( a ) ) ; }

Target:
static char $opt$ByteToChar ( byte a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( char ) ( a ) ) ; }
Source:
public void visitProgramClass ( proguard.shrink.ProgramClass programClass ) { if ( ! ( usageMarker.isUsed ( programClass ) ) ) { attributeUsed = false ; } }

Target:
public void visitSignatureAttribute ( proguard.shrink.Clazz clazz , proguard.shrink.SignatureAttribute signatureAttribute ) { attributeUsed = false ; signatureAttribute.referencedClassesAccept ( this ) ; if ( attributeUsed ) { usageMarker.markAsUsed ( signatureAttribute ) ; markConstant ( clazz , signatureAttribute.u2attributeNameIndex ) ; markConstant ( clazz , signatureAttribute.u2signatureIndex ) ; } }
Source:
public com.google.common.base.Objects.ToStringHelper addValue ( char value ) { addHolder ( ) . builder.append ( value ) ; return this ; }

Target:
public com.google.common.base.Objects.ToStringHelper addValue ( char value ) { return addHolder ( java.lang.String.valueOf ( value ) ) ; }
Source:
public void free ( ) { address = 0 ; }

Target:
public void free ( ) { address = 0 ; freed = true ; }
Source:
protected void run ( ) { super . run ( ) ; mNextButton.setVisibility ( View.GONE ) ; findViewById ( R.id.pass_button ) . setVisibility ( View.VISIBLE ) ; }

Target:
protected void run ( ) { showText ( ) ; succeed ( ) ; }
Source:
protected abstract void addImportedResource ( @ javax.annotation.Nonnull com.android.sched.vfs.InputVFile file , @ javax.annotation.Nonnull com.android.jack.ir.ast.JSession session , @ javax.annotation.Nonnull java.lang.String currentPath ) throws com.android.jack.resource.ResourceImportConflictException ;

Target:
protected abstract void addImportedResource ( @ javax.annotation.Nonnull com.android.sched.vfs.InputVFile file , @ javax.annotation.Nonnull com.android.jack.ir.ast.JSession session , @ javax.annotation.Nonnull java.lang.String currentPath , @ javax.annotation.Nonnull com.android.sched.util.location.Location resourceDirLocation ) throws com.android.jack.resource.ResourceImportConflictException ;
Source:
public long getContext ( ) throws javax.net.ssl.SSLException { long sslCtx = super . getContext ( ) ; org.conscrypt.NativeCrypto.SSL_CTX_add_client_custom_ext ( sslCtx , TEST_EXTENSION_TYPE ) ; return sslCtx ; }

Target:
public static void assertEqualByteArrays ( byte [ ] expected , byte [ ] actual ) { assertEquals ( java.util.Arrays.toString ( expected ) , java.util.Arrays.toString ( actual ) ) ; }
Source:
boolean hasSanityChecks ( ) { return sanityChecks ; }

Target:
public java.util.List < java.io.File > getInputSources ( ) { return ( inputSources ) == null ? java.util.Collections.< java.io.File > emptyList ( ) : inputSources ; }
Source:
public static java.text.BreakIterator getCharacterInstance ( java.util.Locale locale ) { return new java.text.RuleBasedBreakIterator ( libcore.icu.NativeBreakIterator.getCharacterInstance ( locale ) ) ; }

Target:
public static java.text.BreakIterator getLineInstance ( java.util.Locale locale ) { return new java.text.IcuIteratorWrapper ( com.ibm.icu.text.BreakIterator.getLineInstance ( locale ) ) ; }
Source:
public com.android.jack.dx.io.instructions.DecodedInstruction decode ( int opcodeUnit , com.android.jack.dx.io.instructions.CodeInput in ) { int opcode = com.android.jack.dx.io.instructions.InstructionCodec.byte0 ( opcodeUnit ) ; int literal = com.android.jack.dx.io.instructions.InstructionCodec.byte1 ( opcodeUnit ) ; return new com.android.jack.dx.io.instructions.ZeroRegisterDecodedInstruction ( this , opcode , 0 , null , 0 , literal ) ; }

Target:
public com.android.jack.dx.io.instructions.DecodedInstruction decode ( int opcodeUnit , com.android.jack.dx.io.instructions.CodeInput in ) { int opcode = com.android.jack.dx.io.instructions.InstructionCodec.byte0 ( opcodeUnit ) ; int literal = com.android.jack.dx.io.instructions.InstructionCodec.byte1 ( opcodeUnit ) ; return new com.android.jack.dx.io.instructions.ZeroRegisterDecodedInstruction ( this , opcode , 0 , com.android.jack.dx.io.IndexType.NONE , 0 , literal ) ; }
Source:
protected com.android.build.gradle.internal.variant.ApkVariantOutputData doCreateOutput ( ) { return new com.android.build.gradle.internal.variant.ApkVariantOutputData ( this ) ; }

Target:
protected com.android.build.gradle.internal.variant.ApkVariantOutputData doCreateOutput ( @ com.android.annotations.Nullable java.lang.String densityFilter , @ com.android.annotations.Nullable java.lang.String abiFilter ) { return new com.android.build.gradle.internal.variant.ApkVariantOutputData ( densityFilter , abiFilter , this ) ; }
Source:
private void setSummaryText ( java.lang.String preference , java.lang.String text ) { if ( android.text.TextUtils.isEmpty ( text ) ) { text = com.android.settings.deviceinfo.Status.sUnknown ; } if ( ( findPreference ( preference ) ) != null ) { findPreference ( preference ) . setSummary ( text ) ; } }

Target:
private void setSummaryText ( java.lang.String preference , java.lang.String text ) { if ( android.text.TextUtils.isEmpty ( text ) ) { text = sUnknown ; } if ( ( findPreference ( preference ) ) != null ) { findPreference ( preference ) . setSummary ( text ) ; } }
Source:
public static int getExponent ( double d ) { return sun.misc.FpUtils.getExponent ( d ) ; }

Target:
public static int getExponent ( double d ) { return java.lang.Math.getExponent ( d ) ; }
Source:
public void onSessionDestroyed ( ) { android.util.Log.v ( com.android.bluetooth.avrcp.Avrcp.TAG , "MediaController session destroyed" ) ; }

Target:
public void onSessionDestroyed ( ) { android.util.Log.v ( com.android.bluetooth.avrcp.Avrcp.TAG , "MediaController session destroyed" ) ; if ( ( mMediaController ) != null ) { removeMediaController ( mMediaController.getWrappedInstance ( ) ) ; mMediaController.unregisterCallback ( mMediaControllerCb ) ; mMediaController = null ; } }
Source:
protected void fillRandom ( long seed , int fact , int offset , float [ ] inArray , int rStride , int rSkip ) { android.renderscript.cts.RSUtils.genRandom ( seed , 64 , 0 , inArray , rStride , rSkip ) ; }

Target:
protected void fillRandomFloats ( long seed , int fact , int offset , float [ ] inArray ) { android.renderscript.cts.RSUtils.genRandomFloats ( seed , 64 , 0 , inArray ) ; }
Source:
public com.android.ide.eclipse.adt.editors.layout.gscripts.Rect offsetBy ( int x , int y ) { this . x += x ; this . y += y ; return this ; }

Target:
public com.android.ide.common.api.Rect offsetBy ( int x , int y ) { this . x += x ; this . y += y ; return this ; }
Source:
public void testSubscribeConfigBuilderNegativeTtl ( ) { new android.net.wifi.nan.SubscribeConfig.Builder ( ) . setTtlSec ( ( - 100 ) ) ; }

Target:
public void testSubscribeConfigBuilderNegativeTtl ( ) { new android.net.wifi.aware.SubscribeConfig.Builder ( ) . setTtlSec ( ( - 100 ) ) ; }
Source:
public void stop ( ) { com.google.gct.login.CancellableServerReceiver localreceiver = receiver ; if ( localreceiver != null ) { try { localreceiver.stop ( ) ; } catch ( java.io.IOException e ) { logErrorAndDisplayDialog ( "Google Login" , e ) ; } } }

Target:
public void stop ( ) { com.google.gct.login.CancellableServerReceiver localreceiver = receiver ; if ( localreceiver != null ) { try { localreceiver.stop ( ) ; } catch ( java.io.IOException e ) { com.google.gct.login.GoogleLogin.logErrorAndDisplayDialog ( "Google Login" , e ) ; } } }
Source:
public void testCase ( ) throws java.lang.Exception { com.android.tools.lint.checks.ButtonDetectorTest.sTestIssue = ButtonDetector.CASE ; assertEquals ( ( "buttonbar-values.xml:10: Warning: The standard Android way to capitalize CANCEL is \"Cancel\" (tip: use @android:string/ok instead)\n" + "buttonbar-values.xml:9: Warning: The standard Android way to capitalize Ok is \"OK\" (tip: use @android:string/ok instead)" ) , lintProject ( "res/layout/buttonbar.xml" , "res/values/buttonbar-values.xml" ) ) ; }

Target:
public void testBack ( ) throws java.lang.Exception { com.android.tools.lint.checks.ButtonDetectorTest.sTestIssue = ButtonDetector.BACKBUTTON ; assertEquals ( ( "res/layout/buttonbar.xml:183: Warning: Back buttons are not standard on Android; see design guide\'s navigation section [BackButton]\n" + ( ( ( " <Button\n" + " ^\n" ) + "0 errors, 1 warnings\n" ) + "" ) ) , lintProject ( "res/layout/buttonbar.xml" , "res/values/buttonbar-values.xml" ) ) ; }
Source:
public boolean retainAll ( java.util.Collection < ? > collection ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public boolean add ( E element ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public static java.text.BreakIterator getLineInstance ( java.util.Locale locale ) { return new java.text.RuleBasedBreakIterator ( libcore.icu.NativeBreakIterator.getLineInstance ( locale ) ) ; }

Target:
public static java.text.BreakIterator getLineInstance ( java.util.Locale locale ) { return new java.text.IcuIteratorWrapper ( com.ibm.icu.text.BreakIterator.getLineInstance ( locale ) ) ; }
Source:
public void onDestroy ( ) { com.android.dialer.common.LogUtil.enterBlock ( "SimulatorConnectionService.onDestroy" ) ; com.android.dialer.simulator.impl.SimulatorConnectionService.instance = null ; super . onDestroy ( ) ; }

Target:
public void onDestroy ( ) { com.android.dialer.common.LogUtil.enterBlock ( "SimulatorConnectionService.onDestroy" ) ; com.android.dialer.simulator.impl.SimulatorConnectionService.instance = null ; simulatorConnectionsBank = null ; super . onDestroy ( ) ; }
Source:
public void test_SSL_SESSION_free ( ) throws java.lang.Exception { try { org.conscrypt.NativeCrypto.SSL_SESSION_free ( org.conscrypt.NativeCryptoTest.NULL ) ; org.junit.Assert.fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }

Target:
public void SSL_SESSION_free_NullArgument ( ) throws java.lang.Exception { org.conscrypt.NativeCrypto.SSL_SESSION_free ( org.conscrypt.NativeCryptoTest.NULL ) ; }
Source:
public void test_U8_1_SCALE20_05_inSqure ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.UNSIGNED_8 , 1 , 2.0F , 0.5F ) ; checkError ( ) ; }

Target:
public void test_U8_1_SCALE20_05_inSquare ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.UNSIGNED_8 , 1 , 2.0F , 0.5F ) ; checkError ( ) ; }
Source:
public void test_F32_2_SCALE20_05_inSqure ( ) { testReszie ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.FLOAT_32 , 2 , 2.0F , 0.5F ) ; checkError ( ) ; }

Target:
public void test_F32_2_SCALE20_05_inSqure ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.FLOAT_32 , 2 , 2.0F , 0.5F ) ; checkError ( ) ; }
Source:
com.android.sched.util.location.Location getVFileLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVDir parent , @ javax.annotation.Nonnull java.lang.String name ) { return vfs.getVFileLocation ( parent , name ) ; }

Target:
com.android.sched.vfs.DeflateFS.DeflateVFile createVFile ( @ javax.annotation.Nonnull com.android.sched.vfs.DeflateFS.DeflateVDir parent , @ javax.annotation.Nonnull java.lang.String name ) throws com.android.sched.util.file.CannotCreateFileException { return new com.android.sched.vfs.DeflateFS.DeflateVFile ( this , vfs.createVFile ( parent.getWrappedDir ( ) , name ) ) ; }
Source:
static com.google.common.collect.ImmutableList < com.android.dialer.phonelookup.PhoneLookup > providePhoneLookupList ( com.android.dialer.phonelookup.cnap.CnapPhoneLookup cnapPhoneLookup , com.android.dialer.phonelookup.cp2.Cp2DefaultDirectoryPhoneLookup cp2DefaultDirectoryPhoneLookup , com.android.dialer.phonelookup.cp2.Cp2ExtendedDirectoryPhoneLookup cp2ExtendedDirectoryPhoneLookup , com.android.dialer.phonelookup.blockednumber.SystemBlockedNumberPhoneLookup systemBlockedNumberPhoneLookup , com.android.dialer.phonelookup.spam.SpamPhoneLookup spamPhoneLookup ) { return com.google.common.collect.ImmutableList.of ( cnapPhoneLookup , cp2DefaultDirectoryPhoneLookup , cp2ExtendedDirectoryPhoneLookup , systemBlockedNumberPhoneLookup , spamPhoneLookup ) ; }

Target:
static com.google.common.collect.ImmutableList < com.android.dialer.phonelookup.PhoneLookup > providePhoneLookupList ( com.android.dialer.phonelookup.cequint.CequintPhoneLookup cequintPhoneLookup , com.android.dialer.phonelookup.cnap.CnapPhoneLookup cnapPhoneLookup , com.android.dialer.phonelookup.cp2.Cp2DefaultDirectoryPhoneLookup cp2DefaultDirectoryPhoneLookup , com.android.dialer.phonelookup.cp2.Cp2ExtendedDirectoryPhoneLookup cp2ExtendedDirectoryPhoneLookup , com.android.dialer.phonelookup.blockednumber.SystemBlockedNumberPhoneLookup systemBlockedNumberPhoneLookup , com.android.dialer.phonelookup.spam.SpamPhoneLookup spamPhoneLookup ) { return com.google.common.collect.ImmutableList.of ( cequintPhoneLookup , cnapPhoneLookup , cp2DefaultDirectoryPhoneLookup , cp2ExtendedDirectoryPhoneLookup , systemBlockedNumberPhoneLookup , spamPhoneLookup ) ; }
Source:
public final short getShort ( int index ) { checkNotFreed ( ) ; checkIndex ( index , SizeOf.SHORT ) ; return this . block.peekShort ( ( ( offset ) + index ) , order ) ; }

Target:
public final short getShort ( int index ) { checkIsAccessible ( ) ; checkIndex ( index , SizeOf.SHORT ) ; return this . block.peekShort ( ( ( offset ) + index ) , order ) ; }
Source:
abstract boolean isValid ( ) ;

Target:
public abstract java.lang.String getQualifiedClassName ( ) ;
Source:
public void addI64 ( long v ) { mN.addI64 ( v ) ; }

Target:
public void addI64 ( long v ) { mN.addI64 ( v ) ; mPos += 8 ; }
Source:
protected void onDestroy ( ) { super . onDestroy ( ) ; if ( ( mPreferenceManager ) != null ) { mPreferenceManager.dispatchActivityDestroy ( ) ; } }

Target:
protected void onDestroy ( ) { mHandler.removeMessages ( android.preference.PreferenceActivity.MSG_BIND_PREFERENCES ) ; mHandler.removeMessages ( android.preference.PreferenceActivity.MSG_BUILD_HEADERS ) ; super . onDestroy ( ) ; if ( ( mPreferenceManager ) != null ) { mPreferenceManager.dispatchActivityDestroy ( ) ; } }
Source:
private void doSelectionChanged ( com.android.ddmlib.IDevice selectedDevice ) { mCaptureAction.setEnabled ( ( selectedDevice != null ) ) ; mViewUiAutomatorHierarchyAction.setEnabled ( ( selectedDevice != null ) ) ; }

Target:
private void doSelectionChanged ( com.android.ddmlib.IDevice selectedDevice ) { boolean validDevice = selectedDevice != null ; mCaptureAction.setEnabled ( validDevice ) ; mViewUiAutomatorHierarchyAction.setEnabled ( validDevice ) ; mSystraceAction.setEnabled ( validDevice ) ; }
Source:
public boolean hasUnsupportedCritical ( ) { if ( ( critical ) == null ) { makeOidsLists ( ) ; } return hasUnsupported ; }

Target:
public java.util.Set < java.lang.String > getNonCriticalExtensions ( ) { java.util.Set < java.lang.String > resultNoncritical = noncritical ; if ( resultNoncritical == null ) { makeOidsLists ( ) ; resultNoncritical = noncritical ; } return resultNoncritical ; }
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; final com.android.tests.basic.Main a = getActivity ( ) ; assertNotNull ( a ) ; mTextView = ( ( android.widget.TextView ) ( a.findViewById ( R.id.dateText ) ) ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mainActivity = getActivity ( ) ; assertNotNull ( mainActivity ) ; mTextView = ( ( android.widget.TextView ) ( mainActivity.findViewById ( R.id.dateText ) ) ) ; }
Source:
public com.google.common.primitives.UnsignedInteger add ( com.google.common.primitives.UnsignedInteger val ) { com.google.common.base.Preconditions.checkNotNull ( val ) ; return com.google.common.primitives.UnsignedInteger.asUnsigned ( ( ( this . value ) + ( val.value ) ) ) ; }

Target:
public com.google.common.primitives.UnsignedInteger plus ( com.google.common.primitives.UnsignedInteger val ) { return com.google.common.primitives.UnsignedInteger.fromIntBits ( ( ( this . value ) + ( com.google.common.base.Preconditions.checkNotNull ( val ) . value ) ) ) ; }
Source:
private static com.android.tools.lint.client.api.JavaParser.ResolvedAnnotation findIntRange ( @ com.android.annotations.NonNull java.lang.Iterable < com.android.tools.lint.client.api.JavaParser.ResolvedAnnotation > annotations ) { for ( com.android.tools.lint.client.api.JavaParser.ResolvedAnnotation annotation : annotations ) { if ( com.android.tools.lint.checks.SupportAnnotationDetector.INT_RANGE_ANNOTATION.equals ( annotation.getName ( ) ) ) { return annotation ; } } return null ; }

Target:
private static com.intellij.psi.PsiAnnotation findIntRange ( @ com.android.annotations.NonNull com.intellij.psi.PsiAnnotation [ ] annotations ) { for ( com.intellij.psi.PsiAnnotation annotation : annotations ) { if ( com.android.tools.lint.checks.SupportAnnotationDetector.INT_RANGE_ANNOTATION.equals ( annotation.getQualifiedName ( ) ) ) { return annotation ; } } return null ; }
Source:
private java.io.File getIncMergeRoot ( java.lang.String name ) throws java.io.IOException { java.io.File root = getCanonicalRoot ( "incMergeData" ) ; return new java.io.File ( root , name ) ; }

Target:
private java.io.File getIncMergeRoot ( java.lang.String name ) throws java.io.IOException { java.io.File root = com.android.builder.TestUtils.getCanonicalRoot ( "incMergeData" ) ; return new java.io.File ( root , name ) ; }
Source:
public static int getTPLayerLengthForPDU ( java.lang.String pdu ) { android.util.Log.w ( com.android.internal.telephony.cdma.SmsMessage.LOG_TAG , "getTPLayerLengthForPDU: is not supported in CDMA mode." ) ; return 0 ; }

Target:
public static int getTPLayerLengthForPDU ( java.lang.String pdu ) { android.telephony.Rlog.w ( com.android.internal.telephony.cdma.SmsMessage.LOG_TAG , "getTPLayerLengthForPDU: is not supported in CDMA mode." ) ; return 0 ; }
Source:
protected void clean ( org.eclipse.core.runtime.IProgressMonitor monitor ) throws org.eclipse.core.runtime.CoreException { super . clean ( monitor ) ; org.eclipse.core.resources.IProject project = getProject ( ) ; removeMarkersFromProject ( project , AndroidConstants.MARKER_AAPT_COMPILE ) ; removeMarkersFromProject ( project , AndroidConstants.MARKER_PACKAGING ) ; }

Target:
protected void clean ( org.eclipse.core.runtime.IProgressMonitor monitor ) throws org.eclipse.core.runtime.CoreException { super . clean ( monitor ) ; org.eclipse.core.resources.IProject project = getProject ( ) ; removeMarkersFromProject ( project , AndroidConstants.MARKER_AAPT_PACKAGE ) ; removeMarkersFromProject ( project , AndroidConstants.MARKER_PACKAGING ) ; }
Source:
public boolean accept ( java.io.File f ) { return ( f.isDirectory ( ) ) || ( f.getName ( ) . toLowerCase ( ) . endsWith ( ".png" ) ) ; }

Target:
public boolean accept ( java.io.File f ) { return ( f.isDirectory ( ) ) || ( f.getName ( ) . toLowerCase ( java.util.Locale.US ) . endsWith ( ".png" ) ) ; }
Source:
private void sortClassElements ( ) { programClassPool.classesAccept ( new proguard.classfile.editor.ClassElementSorter ( ) ) ; }

Target:
private void sortClassElements ( ) { programClassPool.classesAccept ( new proguard.ClassElementSorter ( ) ) ; }
Source:
public void onAccessibilityStateChanged ( boolean enable ) { mDetailView.setFocusable ( enable ) ; mChannelHeaderView.setFocusable ( enable ) ; }

Target:
public void onAccessibilityStateChanged ( boolean enable ) { enable &= ! ( com.android.tv.common.TvCommonUtils.isRunningInTest ( ) ) ; mDetailView.setFocusable ( enable ) ; mChannelHeaderView.setFocusable ( enable ) ; }
Source:
private void onGetImageError ( java.lang.String cacheKey , com.android.volley.VolleyError error ) { com.android.volley.toolbox.ImageLoader.BatchedImageRequest request = mInFlightRequests.remove ( cacheKey ) ; if ( request != null ) { batchResponse ( cacheKey , request , error ) ; } }

Target:
private void onGetImageError ( java.lang.String cacheKey , com.android.volley.VolleyError error ) { com.android.volley.toolbox.ImageLoader.BatchedImageRequest request = mInFlightRequests.remove ( cacheKey ) ; request.setError ( error ) ; if ( request != null ) { batchResponse ( cacheKey , request ) ; } }
Source:
public static long Mul1 ( long arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg * 1 ; }

Target:
public static long $noinline$Mul1 ( long arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg * 1 ; }
Source:
private void dispose ( ) { mUpdaterData.getSources ( ) . saveUserSources ( mUpdaterData.getSdkLog ( ) ) ; }

Target:
private void dispose ( ) { mUpdaterData.getSources ( ) . saveUserAddons ( mUpdaterData.getSdkLog ( ) ) ; }
Source:
public android.telephony.VisualVoicemailSmsFilterSettings getActiveVisualVoicemailSmsFilterSettings ( int subId ) { enforceReadPrivilegedPermission ( ) ; return com.android.phone.VisualVoicemailSmsFilterConfig.getActiveVisualVoicemailSmsFilterSettings ( mPhone.getContext ( ) , subId ) ; }

Target:
public android.telephony.VisualVoicemailSmsFilterSettings getActiveVisualVoicemailSmsFilterSettings ( int subId ) { enforceReadPrivilegedPermission ( ) ; return com.android.phone.vvm.VisualVoicemailSmsFilterConfig.getActiveVisualVoicemailSmsFilterSettings ( mPhone.getContext ( ) , subId ) ; }
Source:
public void test009 ( ) throws java.lang.Exception { com.android.jack.test.toolchain.IToolchain toolchain = com.android.jack.test.toolchain.AbstractTestTools.getCandidateToolchain ( ) ; toolchain.srcToExe ( com.android.jack.test.toolchain.AbstractTestTools.getClasspathAsString ( toolchain.getDefaultBootClasspath ( ) ) , com.android.jack.test.toolchain.AbstractTestTools.createTempDir ( ) , false , com.android.jack.test.toolchain.AbstractTestTools.getTestRootDir ( "com.android.jack.bridge.test009" ) ) ; }

Target:
public void test009 ( ) throws java.lang.Exception { com.android.jack.test.toolchain.IToolchain toolchain = com.android.jack.test.toolchain.AbstractTestTools.getCandidateToolchain ( ) ; toolchain.addToClasspath ( toolchain.getDefaultBootClasspath ( ) ) . srcToExe ( com.android.jack.test.toolchain.AbstractTestTools.createTempDir ( ) , false , com.android.jack.test.toolchain.AbstractTestTools.getTestRootDir ( "com.android.jack.bridge.test009" ) ) ; }
Source:
private com.android.server.wifi.WifiStateMachinePrime createWifiStateMachinePrime ( ) { when ( mWifiInjector.makeWificond ( ) ) . thenReturn ( null ) ; return new com.android.server.wifi.WifiStateMachinePrime ( mWifiInjector , mLooper.getLooper ( ) ) ; }

Target:
private com.android.server.wifi.WifiStateMachinePrime createWifiStateMachinePrime ( ) { when ( mWifiInjector.makeWificond ( ) ) . thenReturn ( null ) ; return new com.android.server.wifi.WifiStateMachinePrime ( mWifiInjector , mLooper.getLooper ( ) , mNMService ) ; }
Source:
public boolean hasRecoverableError ( ) { if ( ( status ) != null ) { return ( status.getCode ( ) ) == ( Status.Code.UNAVAILABLE ) ; } return false ; }

Target:
public boolean hasRecoverableError ( ) { if ( ( status ) != null ) { return ( status.getCode ( ) ) == ( io.grpc.Status.Code.UNAVAILABLE ) ; } return false ; }
Source:
public java.util.Map < java.lang.String , java.lang.String > getDefaultViewPropertyValues ( java.lang.Object viewObject ) { return null ; }

Target:
public java.util.Map < java.lang.String , java.lang.String > getDefaultProperties ( java.lang.Object viewObject ) { return null ; }
Source:
public void addPhiOperand ( com.android.dx.ssa.RegisterSpec registerSpec , com.android.dx.ssa.SsaBasicBlock predBlock ) { operands.add ( new com.android.dx.ssa.PhiInsn.Operand ( registerSpec , predBlock.getIndex ( ) , predBlock.getRopLabel ( ) ) ) ; sources = null ; }

Target:
public void addPhiOperand ( com.android.dx.rop.code.RegisterSpec registerSpec , com.android.dx.ssa.SsaBasicBlock predBlock ) { operands.add ( new com.android.dx.ssa.PhiInsn.Operand ( registerSpec , predBlock.getIndex ( ) , predBlock.getRopLabel ( ) ) ) ; sources = null ; }
Source:
protected void setUp ( ) throws java.lang.Exception { mSysKeyStore = android.security.SystemKeyStore.getInstance ( ) ; try { mSysKeyStore.deleteKey ( android.security.tests.SystemKeyStoreTest.keyName ) ; mSysKeyStore.deleteKey ( android.security.tests.SystemKeyStoreTest.keyName2 ) ; } catch ( java.lang.Exception e ) { } super . setUp ( ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { mSysKeyStore = android.security.SystemKeyStore.getInstance ( ) ; try { mSysKeyStore.deleteKey ( android.security.SystemKeyStoreTest.keyName ) ; mSysKeyStore.deleteKey ( android.security.SystemKeyStoreTest.keyName2 ) ; } catch ( java.lang.Exception e ) { } super . setUp ( ) ; }
Source:
public static void computeMin ( android.renderscript.cts.TestMin.ArgumentsUcharUcharUchar args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = ( ( byte ) ( java.lang.StrictMath.min ( ( ( args.inV1 ) & 255 ) , ( ( args.inV2 ) & 255 ) ) ) ) ; }

Target:
public static void computeMin ( android.renderscript.cts.TestMin.ArgumentsShortShortShort args ) { args.out = android.renderscript.cts.CoreMathVerifier.minI16 ( args.inV1 , args.inV2 ) ; }
Source:
public void addUserDevice ( com.android.sdklib.devices.Device d ) { synchronized ( com.android.sdklib.devices.DeviceManager.lock ) { if ( ( com.android.sdklib.devices.DeviceManager.mUserDevices ) == null ) { getUserDevices ( ) ; } com.android.sdklib.devices.DeviceManager.mUserDevices.add ( d ) ; } }

Target:
public void addUserDevice ( com.android.sdklib.devices.Device d ) { synchronized ( com.android.sdklib.devices.DeviceManager.lock ) { if ( ( com.android.sdklib.devices.DeviceManager.mUserDevices ) == null ) { getUserDevices ( ) ; } com.android.sdklib.devices.DeviceManager.mUserDevices.add ( d ) ; } notifyListeners ( ) ; }
Source:
public long getGlobalAlertBytes ( long def ) { return getSecureLong ( android.provider.Settings.Secure.NETSTATS_GLOBAL_ALERT_BYTES , def ) ; }

Target:
public long getGlobalAlertBytes ( long def ) { return getGlobalLong ( android.provider.Settings.Global.NETSTATS_GLOBAL_ALERT_BYTES , def ) ; }
Source:
public boolean initializeVendorHal ( ) { if ( ! ( com.android.server.wifi.WifiNative.HIDL_ENABLE ) ) { return true ; } return mWifiVendorHal.initialize ( ) ; }

Target:
public boolean initializeVendorHal ( ) { if ( com.android.server.wifi.WifiNative.HIDL_VENDOR_ENABLE ) { return mWifiVendorHal.initialize ( ) ; } else { return true ; } }
Source:
public synchronized void onConnectEvent ( int netId , int latencyMs , java.lang.String ipAddr , int port , int uid ) { com.android.server.connectivity.NetdEventListenerService.maybeVerboseLog ( java.lang.String.format ( "onConnectEvent(%d, %d)" , netId , latencyMs ) ) ; }

Target:
public synchronized void onConnectEvent ( int netId , int error , int latencyMs , java.lang.String ipAddr , int port , int uid ) throws android.os.RemoteException { com.android.server.connectivity.NetdEventListenerService.maybeVerboseLog ( "onConnectEvent(%d, %d, %dms)" , netId , error , latencyMs ) ; }
Source:
public android.webkit.WebBackForwardList call ( ) { return copyBackForwardList ( ) ; }

Target:
public void run ( ) { findNext ( forwards ) ; }
Source:
public java.lang.String getUsage ( ) { return ( "a path to an output directory (" + ( getDetailedUsage ( ) ) ) + ")" ; }

Target:
public java.lang.String getUsage ( ) { return ( "a path to an output directory (" + ( directFSCodec.getDetailedUsage ( ) ) ) + ")" ; }
Source:
public static float FloatSubtraction ( ) { float a ; float b ; float c ; a = 6.0F ; b = 2.0F ; c = a - b ; return c ; }

Target:
public static float FloatAddition ( ) { float a ; float b ; float c ; a = Main.$inline$float ( 1.0F ) ; b = Main.$inline$float ( 2.0F ) ; c = a + b ; return c ; }
Source:
public void testRunFailed ( java.lang.String errorMessage ) { mRunResult.setRunFailureError ( errorMessage ) ; }

Target:
public void testIgnored ( com.android.ddmlib.testrunner.TestIdentifier test ) { mRunResult.testIgnored ( test ) ; }
Source:
private void dispatchTetherConnectionChanged ( java.lang.String upstreamIface ) { mTestedSm.sendMessage ( TetherInterfaceStateMachine.CMD_TETHER_CONNECTION_CHANGED , upstreamIface ) ; mLooper.dispatchAll ( ) ; }

Target:
private void dispatchTetherConnectionChanged ( java.lang.String upstreamIface ) { mTestedSm.sendMessage ( TetherInterfaceStateMachine.CMD_TETHER_CONNECTION_CHANGED , new android.net.util.InterfaceSet ( upstreamIface ) ) ; mLooper.dispatchAll ( ) ; }
Source:
public void tearDown ( ) throws java.lang.Exception { if ( ( mSocket ) != null ) mSocket.close ( ) ; if ( ( mServerSocket ) != null ) mServerSocket.close ( ) ; }

Target:
public void tearDown ( ) throws java.lang.Exception { mNMService.shutdown ( ) ; }
Source:
public java.net.SocketAddress receive ( java.nio.ByteBuffer arg0 ) throws java.io.IOException { return null ; }

Target:
public java.nio.channels.DatagramChannel disconnect ( ) throws java.io.IOException { return null ; }
Source:
public com.android.ide.common.blame.SourcePosition getPosition ( @ com.android.annotations.NonNull org.w3c.dom.Node node , int start , int end ) { com.android.utils.PositionXmlParser.Position p = getPositionHelper ( node , start , end ) ; return p == null ? com.android.ide.common.blame.SourcePosition.UNKNOWN : p.toSourcePosition ( ) ; }

Target:
public static com.android.ide.common.blame.SourcePosition getPosition ( @ com.android.annotations.NonNull org.w3c.dom.Node node , int start , int end ) { com.android.utils.PositionXmlParser.Position p = com.android.utils.PositionXmlParser.getPositionHelper ( node , start , end ) ; return p == null ? com.android.ide.common.blame.SourcePosition.UNKNOWN : p.toSourcePosition ( ) ; }
Source:
synchronized void nScriptSetVarI ( int id , int slot , int val ) { validate ( ) ; rsnScriptSetVarI ( mContext , id , slot , val ) ; }

Target:
synchronized long nAllocationGetType ( long id ) { validate ( ) ; return rsnAllocationGetType ( mContext , id ) ; }
Source:
public void noteBluetoothScanStoppedFromSourceLocked ( android.os.WorkSource ws ) { final int N = ws.size ( ) ; for ( int i = 0 ; i < N ; i ++ ) { noteBluetoothScanStoppedLocked ( ws.get ( i ) ) ; } }

Target:
public void noteBluetoothScanStoppedFromSourceLocked ( android.os.WorkSource ws , boolean isUnoptimized ) { final int N = ws.size ( ) ; for ( int i = 0 ; i < N ; i ++ ) { noteBluetoothScanStoppedLocked ( ws.get ( i ) , isUnoptimized ) ; } }
Source:
public void onChange ( boolean selfChange ) { android.util.Log.d ( com.android.bluetooth.pbap.BluetoothPbapService.TAG , " onChange on contact uri " ) ; if ( BluetoothPbapUtils.sContactsLoaded ) { if ( ! ( mSessionStatusHandler.hasMessages ( com.android.bluetooth.pbap.BluetoothPbapService.CHECK_SECONDARY_VERSION_COUNTER ) ) ) { mSessionStatusHandler.sendMessage ( mSessionStatusHandler.obtainMessage ( com.android.bluetooth.pbap.BluetoothPbapService.CHECK_SECONDARY_VERSION_COUNTER ) ) ; } } }

Target:
public void onChange ( boolean selfChange ) { android.util.Log.d ( com.android.bluetooth.pbap.BluetoothPbapService.TAG , " onChange on contact uri " ) ; if ( mContactsLoaded ) { if ( ! ( mSessionStatusHandler.hasMessages ( com.android.bluetooth.pbap.BluetoothPbapService.CHECK_SECONDARY_VERSION_COUNTER ) ) ) { mSessionStatusHandler.sendMessage ( mSessionStatusHandler.obtainMessage ( com.android.bluetooth.pbap.BluetoothPbapService.CHECK_SECONDARY_VERSION_COUNTER ) ) ; } } }
Source:
protected void installJackOutErr ( com.android.jack.api.v01.Cli01Config jack , com.android.jack.server.type.CommandOutRaw commandOut ) { jack.setStandardError ( commandOut.getErrPrintStream ( ) ) ; jack.setStandardOutput ( commandOut.getPrintOut ( ) ) ; }

Target:
protected void installJackOutErr ( com.android.jack.api.v01.Cli01Config jack , com.android.jack.server.type.CommandOutRaw commandOut ) { jack.setStandardError ( commandOut.getErrPrintStream ( ) ) ; jack.setStandardOutput ( commandOut.getOutPrintStream ( ) ) ; }
Source:
void setAddress ( java.lang.String callId , android.net.Uri address , int presentation ) { for ( com.android.internal.telecom.IConnectionServiceAdapter adapter : mAdapters ) { try { adapter.setAddress ( callId , address , presentation ) ; } catch ( android.os.RemoteException e ) { } } }

Target:
void setStatusHints ( java.lang.String callId , android.telecom.StatusHints statusHints ) { for ( com.android.internal.telecom.IConnectionServiceAdapter adapter : mAdapters ) { try { adapter.setStatusHints ( callId , statusHints , android.telecom.Log.getExternalSession ( ) ) ; } catch ( android.os.RemoteException e ) { } } }
Source:
private boolean isPermissionEnforcedLocked ( java.lang.String permission , boolean enforcedDefault ) { if ( android.Manifest.permission.READ_EXTERNAL_STORAGE.equals ( permission ) ) { if ( ( mSettings.mReadExternalStorageEnforced ) != null ) { return mSettings.mReadExternalStorageEnforced ; } else { return enforcedDefault ; } } else { return true ; } }

Target:
public boolean isPermissionEnforced ( java.lang.String permission ) { return true ; }
Source:
public com.android.ide.common.api.IValidator getResourceValidator ( ) { return null ; }

Target:
public com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPart getEditor ( ) { return mEditor ; }
Source:
public void init ( ) { if ( ( mSmsBroadcastReceiver ) != null ) { mSmsBroadcastReceiver.register ( ) ; } registerPhoneServiceStateListener ( ) ; mInitialized = true ; }

Target:
public void init ( ) { if ( ( mSmsBroadcastReceiver ) != null ) { mSmsBroadcastReceiver.register ( ) ; } if ( ( mCeBroadcastReceiver ) != null ) { mCeBroadcastReceiver.register ( ) ; } registerPhoneServiceStateListener ( ) ; mInitialized = true ; }
Source:
public int getSlotId ( int subId ) { throw new java.lang.RuntimeException ( "not implemented" ) ; }

Target:
public int getSlotIndex ( int subId ) { throw new java.lang.RuntimeException ( "not implemented" ) ; }
Source:
void setBounds ( org.eclipse.swt.graphics.Rectangle bounds ) { mBounds.set ( bounds ) ; }

Target:
void setBounds ( org.eclipse.swt.graphics.Rectangle bounds ) { com.android.ide.eclipse.adt.internal.editors.layout.gle2.SwtUtils.set ( mBounds , bounds ) ; }
Source:
public void requestNetwork ( android.net.NetworkRequest request , android.net.ConnectivityManager.NetworkCallback networkCallback ) { requestNetwork ( request , networkCallback , 0 , inferLegacyTypeForNetworkCapabilities ( request.networkCapabilities ) ) ; }

Target:
public void requestNetwork ( android.net.NetworkRequest request , android.net.ConnectivityManager.NetworkCallback networkCallback , int timeoutMs , int legacyType , android.os.Handler handler ) { android.net.ConnectivityManager.CallbackHandler cbHandler = new android.net.ConnectivityManager.CallbackHandler ( handler ) ; android.net.NetworkCapabilities nc = request.networkCapabilities ; sendRequestForNetwork ( nc , networkCallback , timeoutMs , android.net.ConnectivityManager.REQUEST , legacyType , cbHandler ) ; }
Source:
public static synchronized com.android.internal.telephony.gsm.stk.RilMessageDecoder getInstance ( android.os.Handler caller , com.android.internal.telephony.IccFileHandler fh ) { if ( ( com.android.internal.telephony.gsm.stk.RilMessageDecoder.sInstance ) == null ) { com.android.internal.telephony.gsm.stk.RilMessageDecoder.sInstance = new com.android.internal.telephony.gsm.stk.RilMessageDecoder ( caller , fh ) ; com.android.internal.telephony.gsm.stk.RilMessageDecoder.sInstance.start ( ) ; } return com.android.internal.telephony.gsm.stk.RilMessageDecoder.sInstance ; }

Target:
public static synchronized com.android.internal.telephony.cat.RilMessageDecoder getInstance ( android.os.Handler caller , com.android.internal.telephony.IccFileHandler fh ) { if ( ( com.android.internal.telephony.cat.RilMessageDecoder.sInstance ) == null ) { com.android.internal.telephony.cat.RilMessageDecoder.sInstance = new com.android.internal.telephony.cat.RilMessageDecoder ( caller , fh ) ; com.android.internal.telephony.cat.RilMessageDecoder.sInstance.start ( ) ; } return com.android.internal.telephony.cat.RilMessageDecoder.sInstance ; }
Source:
private void registerService ( ) { com.android.devtools.server.services.ServiceLocator.register ( new com.android.devtools.server.services.TelephonyManagerService ( mContext ) ) ; com.android.devtools.server.services.ServiceLocator.register ( new com.android.devtools.server.services.SmsManagerService ( mContext ) ) ; }

Target:
private void registerService ( ) { com.android.devtools.server.services.ServiceLocator.register ( new com.android.devtools.server.services.TelephonyManagerService ( mContext ) ) ; com.android.devtools.server.services.ServiceLocator.register ( new com.android.devtools.server.services.SmsManagerService ( mContext ) ) ; com.android.devtools.server.services.ServiceLocator.register ( new com.android.devtools.server.services.OrientationManagerService ( mContext , mDevice ) ) ; }