auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public static java.lang.String findAddress ( java.lang.String addr ) { return android.webkit.WebViewCore.nativeFindAddress ( addr ) ; }

Target:
public static java.lang.String findAddress ( java.lang.String addr ) { return android.webkit.WebView.findAddress ( addr , false ) ; }
Source:
private void setSpnFromConfig ( java.lang.String carrier ) { if ( mSpnOverride.containsCarrier ( carrier ) ) { spn = mSpnOverride.getSpn ( carrier ) ; } }

Target:
private void setSpnFromConfig ( java.lang.String carrier ) { if ( mSpnOverride.containsCarrier ( carrier ) ) { setServiceProviderName ( mSpnOverride.getSpn ( carrier ) ) ; mTelephonyManager.setSimOperatorNameForPhone ( mParentApp.getPhoneId ( ) , getServiceProviderName ( ) ) ; } }
Source:
public void test_equals_string_false ( ) { org.testng.Assert.assertEquals ( TEST_07_15.equals ( "2007-07-15" ) , false ) ; }

Target:
public void test_equals_string_false ( ) { org.testng.Assert.assertEquals ( tck.java.time.TCKMonthDay.TEST_07_15.equals ( "2007-07-15" ) , false ) ; }
Source:
private void removeChildCall ( com.android.server.telecom.Call call ) { if ( mChildCalls.remove ( call ) ) { com.android.server.telecom.Log.event ( this , Log.Events.REMOVE_CHILD , call ) ; for ( com.android.server.telecom.Call.Listener l : mListeners ) { l.onChildrenChanged ( this ) ; } } }

Target:
private void removeChildCall ( com.android.server.telecom.Call call ) { if ( mChildCalls.remove ( call ) ) { android.telecom.Log.addEvent ( this , LogUtils.Events.REMOVE_CHILD , call ) ; for ( com.android.server.telecom.Call.Listener l : mListeners ) { l.onChildrenChanged ( this ) ; } } }
Source:
public void breakpointInt ( int param ) { logWriter.println ( ( ( "breakpointInt(param=" + param ) + ")" ) ) ; }

Target:
public void breakpointInt ( int param ) { logWriter.println ( ( ( "breakpointInt(param=" + param ) + ")" ) ) ; synchronizeWithTest ( ) ; }
Source:
void setMetered ( boolean metered ) ;

Target:
public void setMetered ( boolean metered ) { this . mMetered = metered ; }
Source:
public void notifyPackageInstalled ( android.content.pm.PackageInfo pi , int userId ) { if ( userId == ( android.os.UserHandle.USER_ALL ) ) { throw new java.lang.IllegalArgumentException ( "notifyPackageInstalled called with USER_ALL" ) ; } cachePackageCodeLocation ( pi.packageName , pi.applicationInfo.sourceDir , pi.applicationInfo.splitSourceDirs , pi.applicationInfo.dataDir , userId ) ; }

Target:
public void notifyPackageInstalled ( android.content.pm.PackageInfo pi , int userId ) { if ( userId == ( android.os.UserHandle.USER_ALL ) ) { throw new java.lang.IllegalArgumentException ( "notifyPackageInstalled called with USER_ALL" ) ; } cachePackageInfo ( pi , userId ) ; }
Source:
protected int computeVerticalScrollRange ( ) { if ( mDrawHistory ) { return mHistoryHeight ; } else { int height = contentToView ( mContentHeight ) ; if ( mFindIsUp ) { height += android.webkit.WebView.FIND_HEIGHT ; } return height ; } }

Target:
private int getViewHeightWithTitle ( ) { int height = getHeight ( ) ; if ( ( isHorizontalScrollBarEnabled ( ) ) && ( ! ( mOverlayHorizontalScrollbar ) ) ) { height -= getHorizontalScrollbarHeight ( ) ; } return height ; }
Source:
boolean hasSanityChecks ( ) { return sanityChecks ; }

Target:
public void setMultiDexKind ( @ javax.annotation.Nonnull com.android.jack.Options.MultiDexKind multiDexKind ) { this . multiDexKind = multiDexKind ; }
Source:
public void supplyMessenger ( int networkType , android.os.Messenger messenger ) { try { mService.supplyMessenger ( networkType , messenger ) ; } catch ( android.os.RemoteException e ) { } }

Target:
public void releaseNetworkRequest ( android.app.PendingIntent operation ) { checkPendingIntent ( operation ) ; try { mService.releasePendingNetworkRequest ( operation ) ; } catch ( android.os.RemoteException e ) { } }
Source:
public void acknowledgeSms ( int messageRef , int result ) { synchronized ( mLock ) { this . acknowledgeSms ( messageRef , result ) ; } }

Target:
private void acknowledgeSmsReport ( int token , int messageRef , @ android.telephony.ims.internal.SmsImplBase.StatusReportResult int result ) { getSmsImplementation ( ) . acknowledgeSmsReport ( token , messageRef , result ) ; }
Source:
public void autoRoamToNetwork ( int networkId , android.net.wifi.ScanResult scanResult ) { sendMessage ( com.android.server.wifi.WifiStateMachine.CMD_AUTO_ROAM , networkId , 0 , scanResult ) ; }

Target:
public void startConnectToNetwork ( int networkId , java.lang.String bssid ) { synchronized ( mWifiReqCountLock ) { if ( hasConnectionRequests ( ) ) { sendMessage ( com.android.server.wifi.WifiStateMachine.CMD_START_CONNECT , networkId , 0 , bssid ) ; } } }
Source:
public void createTempDir ( ) throws java.lang.Exception { mTempDir = java.io.File.createTempFile ( "timeZoneUpdateTest" , null ) ; assertTrue ( mTempDir.delete ( ) ) ; assertTrue ( mTempDir.mkdir ( ) ) ; }

Target:
public void setDevice ( com.android.tradefed.device.ITestDevice device ) { mDevice = device ; }
Source:
private void setSecondaryCallTypes ( com.android.dialer.calllog.ui.CoalescedAnnotatedCallLogCursorLoader.Row row ) { for ( int callType : row.callTypes ( ) . getTypeList ( ) ) { secondaryCallTypeIconsView.add ( callType ) ; } }

Target:
private void setSecondaryCallTypes ( com.android.dialer.calllog.ui.CoalescedAnnotatedCallLogCursorLoader.Row row ) { secondaryCallTypeIconsView.add ( row.callType ( ) ) ; }
Source:
public int getVersionCode ( @ com.android.annotations.NonNull java.io.File manifestFile ) { try { java.lang.String value = com.android.builder.core.DefaultManifestParser.getStringValue ( manifestFile , "/manifest/@android:versionCode" ) ; if ( value != null ) { return java.lang.Integer.valueOf ( value ) ; } } catch ( java.lang.NumberFormatException ignored ) { } return - 1 ; }

Target:
public synchronized int getVersionCode ( @ com.android.annotations.NonNull java.io.File manifestFile ) { if ( ( mVersionCode ) == null ) { try { java.lang.String value = com.android.builder.core.DefaultManifestParser.getStringValue ( manifestFile , "/manifest/@android:versionCode" ) ; if ( value != null ) { mVersionCode = com.google.common.base.Optional.of ( java.lang.Integer.valueOf ( value ) ) ; } } catch ( java.lang.NumberFormatException ignored ) { mVersionCode = com.google.common.base.Optional.absent ( ) ; } } return mVersionCode.or ( ( - 1 ) ) ; }
Source:
public void test_with_TemporalField_long_normal ( ) { java.time.LocalDate t = TEST_2007_07_15.with ( java.time.temporal.ChronoField.YEAR , 2008 ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2008 , 7 , 15 ) ) ; }

Target:
public void test_with_TemporalField_long_normal ( ) { java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.with ( java.time.temporal.ChronoField.YEAR , 2008 ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2008 , 7 , 15 ) ) ; }
Source:
public final void test_getServerCertificates ( ) throws java.lang.Exception { java.net.URL url = new java.net.URL ( "https://localhost:55555" ) ; javax.net.ssl.HttpsURLConnection connection = ( ( javax.net.ssl.HttpsURLConnection ) ( url.openConnection ( ) ) ) ; try { connection.getServerCertificates ( ) ; fail ( "IllegalStateException wasn't thrown" ) ; } catch ( java.lang.IllegalStateException expected ) { } javax.net.ssl.HttpsURLConnection con = new tests.api.javax.net.ssl.MyHttpsURLConnection ( new java.net.URL ( "https://www.fortify.net/" ) , "X.508" ) ; try { con.getServerCertificates ( ) ; fail ( "SSLPeerUnverifiedException wasn't thrown" ) ; } catch ( javax.net.ssl.SSLPeerUnverifiedException expected ) { } con = new tests.api.javax.net.ssl.MyHttpsURLConnection ( new java.net.URL ( "https://www.fortify.net/" ) , "X.509" ) ; java.security.cert.Certificate [ ] cert = con.getServerCertificates ( ) ; assertNotNull ( cert ) ; assertEquals ( 1 , cert.length ) ; }

Target:
public final void test_getServerCertificates ( ) throws java.lang.Exception { java.net.URL url = new java.net.URL ( "https://localhost:55555" ) ; javax.net.ssl.HttpsURLConnection connection = ( ( javax.net.ssl.HttpsURLConnection ) ( url.openConnection ( ) ) ) ; try { connection.getServerCertificates ( ) ; fail ( "IllegalStateException wasn't thrown" ) ; } catch ( java.lang.IllegalStateException expected ) { } javax.net.ssl.HttpsURLConnection con = new org.apache.harmony.tests.javax.net.ssl.MyHttpsURLConnection ( new java.net.URL ( "https://www.fortify.net/" ) , "X.508" ) ; try { con.getServerCertificates ( ) ; fail ( "SSLPeerUnverifiedException wasn't thrown" ) ; } catch ( javax.net.ssl.SSLPeerUnverifiedException expected ) { } con = new org.apache.harmony.tests.javax.net.ssl.MyHttpsURLConnection ( new java.net.URL ( "https://www.fortify.net/" ) , "X.509" ) ; java.security.cert.Certificate [ ] cert = con.getServerCertificates ( ) ; assertNotNull ( cert ) ; assertEquals ( 1 , cert.length ) ; }
Source:
public static java.lang.String readFileAsString ( java.lang.String path ) throws java.io.IOException { return libcore.io.IoUtils.readFileAsBytes ( path ) . toString ( Charsets.UTF_8 ) ; }

Target:
public static java.lang.String readFileAsString ( java.lang.String path ) throws java.io.IOException { return libcore.io.IoUtils.readFileAsBytes ( path ) . toString ( java.nio.charset.StandardCharsets.UTF_8 ) ; }
Source:
public void getAllArrayItemsWithFallback ( java.lang.String path , android.icu.impl.ICUResource.ArraySink sink ) throws java.util.MissingResourceException { getAllContainerItemsWithFallback ( path , sink , null ) ; }

Target:
public void getAllArrayItemsWithFallback ( java.lang.String path , android.icu.impl.UResource.ArraySink sink ) throws java.util.MissingResourceException { getAllContainerItemsWithFallback ( path , sink , null ) ; }
Source:
public void run ( ) { mNM.notify ( 1 , notificationWithNumbers ( 1 ) ) ; mNM.cancel ( 1 ) ; }

Target:
public void run ( ) { android.app.Notification n = new android.app.Notification ( R.drawable.icon2 , "tock tock tock" , java.lang.System.currentTimeMillis ( ) ) ; n.setLatestEventInfo ( this , "Persistent #3" , "Notify me!!!" , makeIntent ( ) ) ; mNM.notify ( 3 , n ) ; }
Source:
private void setSpeakerphoneOn ( boolean on ) { if ( ( mAudioManager.isSpeakerphoneOn ( ) ) != on ) { com.android.server.telecom.Log.i ( this , "turning speaker phone %s" , on ) ; mAudioManager.setSpeakerphoneOn ( on ) ; } }

Target:
private void setSpeakerphoneOn ( boolean on ) { if ( ( mAudioManager.isSpeakerphoneOn ( ) ) != on ) { android.telecom.Log.i ( this , "turning speaker phone %s" , on ) ; mAudioManager.setSpeakerphoneOn ( on ) ; } }
Source:
public static native void SSL_free ( int sslNativePointer ) ;

Target:
public static native void SSL_renegotiate ( long sslNativePointer ) throws javax.net.ssl.SSLException ;
Source:
public synchronized boolean setActiveDevice ( android.bluetooth.BluetoothDevice device ) { enforceCallingOrSelfPermission ( com.android.bluetooth.hearingaid.BLUETOOTH_ADMIN_PERM , "Need BLUETOOTH ADMIN permission" ) ; return false ; }

Target:
void setVolume ( int volume ) { mHearingAidNativeInterface.setVolume ( volume ) ; }
Source:
public com.android.build.gradle.tasks.ZipAlign getZipAlign ( ) { return getApkVariantData ( ) . zipAlignTask ; }

Target:
public com.android.build.gradle.tasks.ZipAlign getZipAlign ( ) { com.android.build.gradle.internal.variant.ApkVariantOutputData variantOutputData = getApkVariantData ( ) . getOutputs ( ) . get ( 0 ) ; return variantOutputData.zipAlignTask ; }
Source:
public void run ( ) { flingScroll ( vx , vy ) ; }

Target:
public java.lang.Boolean call ( ) { return zoomIn ( ) ; }
Source:
public void testVFE5 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.sub_int_2addr.d.T_sub_int_2addr_6" ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testVFE2 ( ) { load ( "dot.junit.opcodes.sub_int_2addr.d.T_sub_int_2addr_2" , java.lang.VerifyError.class ) ; }
Source:
private java.lang.String getCallIncomingNumber ( com.android.server.TelephonyRegistry.Record record , int phoneId ) { return record.canReadPhoneState ? mCallIncomingNumber [ phoneId ] : "" ; }

Target:
private java.lang.String getCallIncomingNumber ( com.android.server.TelephonyRegistry.Record record , int phoneId ) { return record.canReadPhoneState ( ) ? mCallIncomingNumber [ phoneId ] : "" ; }
Source:
public void mark ( int markLimit ) throws java.io.IOException { if ( markLimit < 0 ) { throw new java.lang.IllegalArgumentException ( ) ; } synchronized ( lock ) { checkNotClosed ( ) ; this . markLimit = markLimit ; mark = pos ; } }

Target:
public void mark ( int markLimit ) throws java.io.IOException { if ( markLimit < 0 ) { throw new java.lang.IllegalArgumentException ( ( "markLimit < 0:" + markLimit ) ) ; } synchronized ( lock ) { checkNotClosed ( ) ; this . markLimit = markLimit ; mark = pos ; } }
Source:
static int $opt$LongToInt ( long a ) { return ( ( int ) ( a ) ) ; }

Target:
static short $opt$ByteToShort ( byte a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( short ) ( a ) ) ; }
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mActivity = getActivity ( ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; if ( ( android.hardware.Camera.getNumberOfCameras ( ) ) < 1 ) { return ; } mActivity = getActivity ( ) ; }
Source:
public boolean isProjectDirectory ( @ com.android.annotations.NonNull java.io.File dir ) { return ( com.android.tools.lint.detector.api.LintUtils.isManifestFolder ( dir ) ) || ( com.android.tools.lint.detector.api.Project.isAospFrameworksProject ( dir ) ) ; }

Target:
public boolean isProjectDirectory ( @ com.android.annotations.NonNull java.io.File dir ) { return ( com.android.tools.lint.detector.api.LintUtils.isManifestFolder ( dir ) ) || ( com.android.tools.lint.detector.api.Project.isAospFrameworksRelatedProject ( dir ) ) ; }
Source:
public static com.android.ide.eclipse.adt.internal.resources.ResourceNameValidator create ( boolean allowXmlExtension , java.util.Set < java.lang.String > existing , com.android.resources.ResourceType type ) { boolean isFileType = com.android.ide.eclipse.adt.internal.resources.ResourceNameValidator.isFileBasedResourceType ( type ) ; return new com.android.ide.eclipse.adt.internal.resources.ResourceNameValidator ( allowXmlExtension , existing , isFileType ) ; }

Target:
public static com.android.ide.eclipse.adt.internal.resources.ResourceNameValidator create ( boolean allowXmlExtension , java.util.Set < java.lang.String > existing , com.android.resources.ResourceType type ) { boolean isFileType = com.android.ide.eclipse.adt.internal.resources.ResourceHelper.isFileBasedResourceType ( type ) ; return new com.android.ide.eclipse.adt.internal.resources.ResourceNameValidator ( allowXmlExtension , existing , isFileType ) ; }
Source:
public int size ( ) { return forwardMultiset ( ) . entrySet ( ) . size ( ) ; }

Target:
public java.util.NavigableSet < E > headSet ( E toElement , boolean inclusive ) { return new com.google.common.collect.SortedMultisets.NavigableElementSet < E > ( multiset ( ) . headMultiset ( toElement , com.google.common.collect.BoundType.forBoolean ( inclusive ) ) ) ; }
Source:
public java.lang.String getMccStr ( ) { return mMccStr ; }

Target:
public java.lang.String getMccString ( ) { return mMccStr ; }
Source:
public void actionPerformed ( com.intellij.openapi.actionSystem.AnActionEvent e ) { com.google.gct.testing.CloudTestConfigurationImpl newConfiguration = ( ( selectedConfiguration ) != null ) ? selectedConfiguration.copy ( "Copy of " ) : new com.google.gct.testing.CloudTestConfigurationImpl ( facet ) ; addNewConfiguration ( newConfiguration ) ; }

Target:
public void actionPerformed ( com.intellij.openapi.actionSystem.AnActionEvent e ) { com.google.gct.testing.CloudConfigurationImpl newConfiguration = ( ( selectedConfiguration ) != null ) ? selectedConfiguration.copy ( "Copy of " ) : new com.google.gct.testing.CloudConfigurationImpl ( facet , configurationKind ) ; addNewConfiguration ( newConfiguration ) ; }
Source:
private void handlePassthroughRsp ( int id , int keyState ) { android.util.Log.d ( com.android.bluetooth.avrcpcontroller.AvrcpControllerService.TAG , ( ( ( "passthrough response received as: key: " + id ) + " state: " ) + keyState ) ) ; }

Target:
private void handlePassthroughRsp ( int id , int keyState , byte [ ] address ) { android.util.Log.d ( com.android.bluetooth.avrcpcontroller.AvrcpControllerService.TAG , ( ( ( ( ( "passthrough response received as: key: " + id ) + " state: " ) + keyState ) + "address:" ) + address ) ) ; }
Source:
private static java.lang.String getDateFormatString ( android.content.Context context ) { java.lang.String value = Settings.System.getString ( context.getContentResolver ( ) , Settings.System.DATE_FORMAT ) ; return android.text.format.DateFormat.getDateFormatStringForSetting ( context , value ) ; }

Target:
private static java.lang.String getDateFormatString ( ) { java.text.DateFormat df = java.text.DateFormat.getDateInstance ( java.text.DateFormat.SHORT ) ; if ( df instanceof java.text.SimpleDateFormat ) { return ( ( java.text.SimpleDateFormat ) ( df ) ) . toPattern ( ) ; } throw new java.lang.AssertionError ( "!(df instanceof SimpleDateFormat)" ) ; }
Source:
public java.nio.ByteBuffer recvMessage ( long timeoutMs ) throws android.system.ErrnoException , java.io.InterruptedIOException { return recvMessage ( android.net.netlink.NetlinkSocket.DEFAULT_RECV_BUFSIZE , timeoutMs ) ; }

Target:
public static void connectToKernel ( java.io.FileDescriptor fd ) throws android.system.ErrnoException , java.net.SocketException { android.system.Os.connect ( fd , ( ( java.net.SocketAddress ) ( new android.system.NetlinkSocketAddress ( 0 , 0 ) ) ) ) ; }
Source:
public static long LongSubtraction ( ) { long a ; long b ; long c ; a = 6L ; b = 2L ; c = a - b ; return c ; }

Target:
public static long LongSubtraction ( ) { long a ; long b ; long c ; a = Main.$inline$long ( 6L ) ; b = Main.$inline$long ( 2L ) ; c = a - b ; return c ; }
Source:
public void addListener ( org.eclipse.jface.viewers.ILabelProviderListener listener ) { }

Target:
public void controlMoved ( org.eclipse.swt.events.ControlEvent e ) { }
Source:
public void visitLineNumberTableAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.CodeAttribute codeAttribute , proguard.classfile.attribute.visitor.LineNumberTableAttribute lineNumberTableAttribute ) { if ( ( optionalAttributeVisitor ) != null ) { lineNumberTableAttribute.accept ( clazz , method , codeAttribute , optionalAttributeVisitor ) ; } }

Target:
public void visitStackMapTableAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.CodeAttribute codeAttribute , proguard.classfile.attribute.visitor.StackMapTableAttribute stackMapTableAttribute ) { if ( ( optionalAttributeVisitor ) != null ) { optionalAttributeVisitor.visitStackMapTableAttribute ( clazz , method , codeAttribute , stackMapTableAttribute ) ; } }
Source:
public void onClick ( android.view.View v ) { setTestResultAndFinish ( false ) ; }

Target:
public void onClick ( android.view.View v ) { getPassButton ( ) . setEnabled ( true ) ; mSetDefaultDialerButton.setEnabled ( false ) ; mRestoreDefaultDialerImage.setImageDrawable ( getDrawable ( R.drawable.fs_warning ) ) ; }
Source:
public int getCategory ( ) { switch ( basicType ) { case com.android.jack.dx.rop.type.Type.BT_LONG : case com.android.jack.dx.rop.type.Type.BT_DOUBLE : { return 2 ; } } return 1 ; }

Target:
public int getCategory ( ) { switch ( basicType ) { case com.android.jack.dx.rop.type.Type.BT_CLOSURE : case com.android.jack.dx.rop.type.Type.BT_LONG : case com.android.jack.dx.rop.type.Type.BT_DOUBLE : { return 2 ; } } return 1 ; }
Source:
public void testVP8EncodeDecodeVideoFromBufferToSurfaceQCIF ( ) throws java.lang.Throwable { setParameters ( 176 , 144 , 1000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_VP8 ) ; android.media.cts.EncodeDecodeTest.BufferToSurfaceWrapper.runTest ( this ) ; }

Target:
public void testEncodeDecodeVideoFromBufferToSurface720p ( ) throws java.lang.Throwable { setParameters ( 1280 , 720 , 6000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_AVC , true , true ) ; android.media.cts.EncodeDecodeTest.BufferToSurfaceWrapper.runTest ( this ) ; }
Source:
public com.google.common.collect.Multiset.Entry < E > lastEntry ( ) { return delegate ( ) . lastEntry ( ) ; }

Target:
public boolean apply ( com.google.common.collect.Multiset.Entry < E > entry ) { return predicate.apply ( entry.getElement ( ) ) ; }
Source:
private static void lazyInitInteropDatabase ( ) { if ( ( com.android.bluetooth.util.Interop.entries ) != null ) return ; com.android.bluetooth.util.Interop.entries = new java.util.ArrayList < com.android.bluetooth.util.Interop.Entry > ( ) ; com.android.bluetooth.util.Interop.entries.add ( new com.android.bluetooth.util.Interop.Entry ( com.android.bluetooth.util.Interop.INTEROP_MAP_ASCIIONLY , "00:26:e8" ) ) ; }

Target:
private static void lazyInitInteropDatabase ( ) { if ( ( com.android.bluetooth.util.Interop.sEntries ) != null ) return ; com.android.bluetooth.util.Interop.sEntries = new java.util.ArrayList < com.android.bluetooth.util.Interop.Entry > ( ) ; com.android.bluetooth.util.Interop.sEntries.add ( new com.android.bluetooth.util.Interop.Entry ( com.android.bluetooth.util.Interop.INTEROP_MAP_ASCIIONLY , "00:26:e8" ) ) ; }
Source:
public void run ( ) { mNM.notify ( 1 , notificationWithNumbers ( 1 ) ) ; }

Target:
public void run ( ) { mNM.notify ( 1 , notificationWithNumbers ( 1 ) ) ; mNM.notify ( 2 , notificationWithNumbers ( 2 ) ) ; mNM.cancel ( 2 ) ; }
Source:
public void testStringsToLengthPrefixedBytesEmptyArray ( ) { try { android.net.SSLCertificateSocketFactory.toLengthPrefixedList ( ) ; fail ( ) ; } catch ( java.lang.IllegalArgumentException expected ) { } }

Target:
public void testStringsToLengthPrefixedBytesEmptyArray ( ) { try { android.net.SSLCertificateSocketFactory.toLengthPrefixedList ( ) ; org.junit.Assert.fail ( ) ; } catch ( java.lang.IllegalArgumentException expected ) { } }
Source:
public void run ( ) { vibrate ( ) ; android.os.SystemClock.sleep ( 250 ) ; android.util.Slog.d ( com.android.systemui.statusbar.phone.PhoneStatusBar.TAG , "startTracing" ) ; android.os.Debug.startMethodTracing ( "/data/statusbar-traces/trace" ) ; mHandler.postDelayed ( mStopTracing , 10000 ) ; }

Target:
public void onClick ( android.view.View v ) { startActivityDismissingKeyguard ( new android.content.Intent ( android.content.Intent.ACTION_QUICK_CLOCK ) , true ) ; }
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 finalVFS.getVFileLocation ( parent , name ) ; }

Target:
com.android.sched.util.location.Location getVFileLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVDir parent , @ javax.annotation.Nonnull java.lang.String name ) { return workVFS.getVFileLocation ( parent , name ) ; }
Source:
public void setDataEnabled ( int subId , boolean enable ) { setUserMobileDataEnabled ( subId , enable ) ; }

Target:
public void setDataEnabled ( boolean enable ) { setDataEnabled ( getSubId ( android.telephony.SubscriptionManager.getDefaultDataSubscriptionId ( ) ) , enable ) ; }
Source:
public void clearAll ( ) { mNetworkCapabilities = mTransportTypes = 0 ; mLinkUpBandwidthKbps = mLinkDownBandwidthKbps = android.net.NetworkCapabilities.LINK_BANDWIDTH_UNSPECIFIED ; mNetworkSpecifier = null ; mSignalStrength = android.net.NetworkCapabilities.SIGNAL_STRENGTH_UNSPECIFIED ; }

Target:
public void clearAll ( ) { mNetworkCapabilities = mTransportTypes = 0 ; mLinkUpBandwidthKbps = mLinkDownBandwidthKbps = android.net.NetworkCapabilities.LINK_BANDWIDTH_UNSPECIFIED ; mNetworkSpecifier = null ; mSignalStrength = android.net.NetworkCapabilities.SIGNAL_STRENGTH_UNSPECIFIED ; mUids = null ; }
Source:
int viewToContent ( int x ) { return java.lang.Math.round ( ( x * ( mInvActualScale ) ) ) ; }

Target:
int contentToViewX ( int x ) { return contentToViewDimension ( x ) ; }
Source:
public static com.android.jack.dx.rop.code.Rop opInvokeLambda ( com.android.jack.dx.rop.type.TypeList sources ) { return new com.android.jack.dx.rop.code.Rop ( RegOps.INVOKE_LAMBDA , sources , com.android.jack.dx.rop.type.StdTypeList.THROWABLE ) ; }

Target:
public static com.android.jack.dx.rop.code.Rop opBoxLambda ( com.android.jack.dx.rop.type.TypeBearer type , com.android.jack.dx.rop.type.TypeList sources ) { return new com.android.jack.dx.rop.code.Rop ( RegOps.BOX_LAMBDA , type.getType ( ) , sources , "box-lambda" ) ; }
Source:
protected void onResume ( ) { super . onResume ( ) ; updateEnableFDN ( ) ; }

Target:
protected void onResume ( ) { super . onResume ( ) ; mPhone = com.android.internal.telephony.PhoneFactory.getDefaultPhone ( ) ; updateEnableFDN ( ) ; }
Source:
public void setDevicePassword ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "password" ) java.lang.String password ) { mLockPatternUtils.setLockScreenDisabled ( false , android.os.UserHandle.myUserId ( ) ) ; mLockPatternUtils.setCredentialRequiredToDecrypt ( true ) ; mLockPatternUtils.saveLockPassword ( password , null , DevicePolicyManager.PASSWORD_QUALITY_NUMERIC , android.os.UserHandle.myUserId ( ) ) ; }

Target:
public void setDevicePassword ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "password" ) java.lang.String password , @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "previousPassword" ) java.lang.String previousPassword ) { mLockPatternUtils.setLockScreenDisabled ( false , android.os.UserHandle.myUserId ( ) ) ; mLockPatternUtils.setCredentialRequiredToDecrypt ( true ) ; mLockPatternUtils.saveLockPassword ( password , previousPassword , DevicePolicyManager.PASSWORD_QUALITY_NUMERIC , android.os.UserHandle.myUserId ( ) ) ; }
Source:
private com.android.dx.merge.IndexMap getIndexMap ( com.android.dx.io.DexBuffer dexBuffer ) { if ( dexBuffer == ( dexA ) ) { return aIndexMap ; } else if ( dexBuffer == ( dexB ) ) { return bIndexMap ; } else { throw new java.lang.IllegalArgumentException ( ) ; } }

Target:
private com.android.dx.merge.IndexMap getIndexMap ( com.android.dex.Dex dex ) { if ( dex == ( dexA ) ) { return aIndexMap ; } else if ( dex == ( dexB ) ) { return bIndexMap ; } else { throw new java.lang.IllegalArgumentException ( ) ; } }
Source:
public void setTrace ( @ com.android.annotations.NonNull com.android.tools.perflib.vmtrace.VmTraceData traceData , @ com.android.annotations.NonNull java.lang.String threadName ) { mTraceData = traceData ; displayThread ( threadName ) ; }

Target:
public void setTrace ( @ com.android.annotations.NonNull com.android.tools.perflib.vmtrace.VmTraceData traceData , @ com.android.annotations.NonNull java.lang.String threadName , com.android.tools.perflib.vmtrace.ClockType renderClockType ) { mTraceData = traceData ; displayThread ( threadName ) ; }
Source:
public void onClick ( android.view.View v ) { hideCling ( ) ; }

Target:
public boolean onTouch ( android.view.View v , android.view.MotionEvent event ) { checkUserAutohide ( v , event ) ; return false ; }
Source:
public boolean rejectIncomingConnect ( android.bluetooth.BluetoothDevice device ) { com.android.bluetooth.hfpclient.HeadsetClientService service = getService ( ) ; if ( service == null ) { return false ; } return service.rejectIncomingConnect ( device ) ; }

Target:
public void setAudioRouteAllowed ( android.bluetooth.BluetoothDevice device , boolean allowed ) { android.util.Log.e ( com.android.bluetooth.hfpclient.HeadsetClientService.TAG , "setAudioRouteAllowed API not supported" ) ; }
Source:
public static com.android.jack.Options buildCommandLineArgs ( @ javax.annotation.Nonnull java.io.File fileOrSourcelist , @ javax.annotation.CheckForNull java.io.File jarjarRules ) throws java.io.IOException { com.android.jack.Options options = com.android.jack.TestTools.buildCommandLineArgs ( null , null , new java.io.File [ ] { fileOrSourcelist } ) ; options.jarjarRulesFile = jarjarRules ; return options ; }

Target:
public static com.android.jack.Options buildCommandLineArgs ( @ javax.annotation.CheckForNull java.io.File [ ] classpath , @ javax.annotation.Nonnull java.io.File fileOrSourcelist ) throws java.io.IOException { return com.android.jack.TestTools.buildCommandLineArgs ( classpath , new java.io.File [ ] { fileOrSourcelist } ) ; }
Source:
private static void assertForbiddenRequestHeaderValue ( java.lang.String value ) throws java.lang.Exception { java.net.URL url = new java.net.URL ( "http://www.google.com/" ) ; java.net.HttpURLConnection urlConnection = ( ( java.net.HttpURLConnection ) ( url.openConnection ( ) ) ) ; try { urlConnection.addRequestProperty ( "key" , value ) ; fail ( "Expected exception" ) ; } catch ( java.lang.IllegalArgumentException expected ) { } }

Target:
private static void assertForbiddenRequestHeaderValue ( java.lang.String value ) throws java.lang.Exception { java.net.URL url = new java.net.URL ( "http://www.google.com/" ) ; java.net.HttpURLConnection urlConnection = ( ( java.net.HttpURLConnection ) ( url.openConnection ( ) ) ) ; try { urlConnection.addRequestProperty ( "key" , value ) ; org.junit.Assert.fail ( "Expected exception" ) ; } catch ( java.lang.IllegalArgumentException expected ) { } }
Source:
public void testUserPrefOffUserE ( ) { int userSetting = com.android.internal.content.PackageHelper.APP_INSTALL_EXTERNAL ; int iloc = PackageInfo.INSTALL_LOCATION_UNSPECIFIED ; setUserX ( false , userSetting , iloc ) ; }

Target:
public void testUserPrefOffA ( ) { int userSetting = com.android.internal.content.PackageHelper.APP_INSTALL_AUTO ; int iloc = android.content.pm.PackageInfo.INSTALL_LOCATION_UNSPECIFIED ; setUserX ( false , userSetting , iloc ) ; }
Source:
public void turnOnIms ( int slotId , int featureType , int sessionId ) throws android.os.RemoteException { synchronized ( mFeatures ) { android.telephony.ims.feature.MMTelFeature feature = resolveMMTelFeature ( slotId , featureType ) ; if ( feature != null ) { feature.turnOnIms ( sessionId ) ; } } }

Target:
public void turnOffIms ( int slotId , int featureType ) throws android.os.RemoteException { synchronized ( mFeatures ) { android.telephony.ims.feature.MMTelFeature feature = resolveMMTelFeature ( slotId , featureType ) ; if ( feature != null ) { feature.turnOffIms ( ) ; } } }
Source:
public void nullString ( ) throws java.io.IOException { com.android.ahat.TestDump dump = com.android.ahat.TestDump.getTestDump ( ) ; com.android.tools.perflib.heap.Instance obj = ( ( com.android.tools.perflib.heap.Instance ) ( dump.getDumpedThing ( "nullString" ) ) ) ; org.junit.Assert.assertNull ( com.android.ahat.InstanceUtils.asString ( obj ) ) ; }

Target:
public void asStringNull ( ) throws java.io.IOException { com.android.ahat.TestDump dump = com.android.ahat.TestDump.getTestDump ( ) ; com.android.tools.perflib.heap.Instance obj = ( ( com.android.tools.perflib.heap.Instance ) ( dump.getDumpedThing ( "nullString" ) ) ) ; org.junit.Assert.assertNull ( com.android.ahat.InstanceUtils.asString ( obj ) ) ; }
Source:
public java.lang.Object getData ( @ org.jetbrains.annotations.NonNls java.lang.String dataId ) { if ( PlatformDataKeys.HELP_ID.is ( dataId ) ) { return "reference.dialogs.diff.folder" ; } return null ; }

Target:
public java.lang.Object getData ( @ org.jetbrains.annotations.NonNls java.lang.String dataId ) { if ( PlatformDataKeys.HELP_ID.is ( dataId ) ) { return "reference.dialogs.diff.folder" ; } return myDirDiffPanel.getData ( dataId ) ; }
Source:
public int startStreaming ( java.lang.String appName , int subId , java.lang.String serviceId , android.telephony.mbms.IStreamingServiceCallback listener ) throws android.os.RemoteException { return 0 ; }

Target:
public int startStreaming ( java.lang.String appName , int subscriptionId , java.lang.String serviceId , android.telephony.mbms.IStreamingServiceCallback listener ) throws android.os.RemoteException { return 0 ; }
Source:
java.io.File getTestedApk ( int density , @ com.android.annotations.NonNull java.util.List < java.lang.String > abis ) ;

Target:
com.google.common.collect.ImmutableList < java.io.File > getTestedApks ( int density , @ com.android.annotations.NonNull java.util.List < java.lang.String > abis ) ;
Source:
public void visitClassConstant ( proguard.classfile.visitor.Clazz clazz , proguard.classfile.constant.ClassConstant classConstant ) { proguard.classfile.visitor.Clazz referencedClass = classConstant.referencedClass ; if ( ( referencedClass == null ) || ( ! ( referencedClass.extendsOrImplements ( implementedClass ) ) ) ) { constantVisitor.visitClassConstant ( clazz , classConstant ) ; } }

Target:
public void visitClassConstant ( proguard.classfile.Clazz clazz , proguard.classfile.constant.ClassConstant classConstant ) { proguard.classfile.Clazz referencedClass = classConstant.referencedClass ; if ( ( referencedClass == null ) || ( ! ( referencedClass.extendsOrImplements ( implementedClass ) ) ) ) { constantVisitor.visitClassConstant ( clazz , classConstant ) ; } }
Source:
public void test_groupWithoutJoinWIthSource ( ) throws java.lang.Exception { setup ( false ) ; assertEquals ( libcore.java.nio.channels.MembershipKeyTest.MULTICAST_ADDRESS , key.group ( ) ) ; }

Target:
public void test_groupWithoutJoinWIthSource ( ) throws java.lang.Exception { init ( false ) ; assertEquals ( libcore.java.nio.channels.MembershipKeyTest.MULTICAST_ADDRESS , key.group ( ) ) ; }
Source:
public boolean containsDevice ( com.android.ddmlib.IDevice device ) { synchronized ( mDeviceMap ) { return mDeviceMap.containsKey ( device ) ; } }

Target:
public void addDevice ( com.android.hierarchyviewerlib.device.IHvDevice hvDevice ) { synchronized ( mDeviceMap ) { com.android.hierarchyviewerlib.models.DeviceSelectionModel.DeviceInfo info = new com.android.hierarchyviewerlib.models.DeviceSelectionModel.DeviceInfo ( hvDevice.getWindows ( ) ) ; mDeviceMap.put ( hvDevice , info ) ; } notifyDeviceConnected ( hvDevice ) ; }
Source:
public void addObj ( android.support.v8.renderscript.BaseObj obj ) { if ( obj != null ) { mN.addObj ( obj.getNObj ( ) ) ; } else { mN.addObj ( null ) ; } }

Target:
public void addObj ( android.support.v8.renderscript.BaseObj obj ) { if ( obj != null ) { mN.addObj ( obj.getNObj ( ) ) ; } else { mN.addObj ( null ) ; } mPos += 4 ; }
Source:
public void conference ( java.lang.String conferenceCallId , java.lang.String callId ) throws android.os.RemoteException { mConnectionServiceDelegateAdapter.conference ( conferenceCallId , callId ) ; }

Target:
public void conference ( java.lang.String conferenceCallId , java.lang.String callId , android.telecom.Logging.Session.Info info ) throws android.os.RemoteException { mConnectionServiceDelegateAdapter.conference ( conferenceCallId , callId , info ) ; }
Source:
public void test_joinAnySource_multiple_joins_IPv4 ( ) throws java.lang.Exception { test_joinAnySource_multiple_joins ( libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv4 ) ; }

Target:
public void test_joinAnySource_multiple_joins_IPv4 ( ) throws java.lang.Exception { test_joinAnySource_multiple_joins ( libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv4 , ipv4NetworkInterface ) ; }
Source:
public static java.lang.invoke.MethodHandle invoker ( java.lang.invoke.MethodType type ) { throw new java.lang.UnsupportedOperationException ( "MethodHandles.invoker is not implemented" ) ; }

Target:
public static java.lang.invoke.MethodHandle invoker ( java.lang.invoke.MethodType type ) { return new java.lang.invoke.Transformers.Invoker ( type , false ) ; }
Source:
public int updateCLIR ( int clirMode ) throws android.os.RemoteException { return - 1 ; }

Target:
public int updateColp ( boolean enable ) { return - 1 ; }
Source:
public void notifyIncomingRing ( ) { if ( com.android.internal.telephony.imsphone.ImsPhone.DBG ) android.telephony.Rlog.d ( com.android.internal.telephony.imsphone.ImsPhone.LOG_TAG , "notifyIncomingRing" ) ; android.os.AsyncResult ar = new android.os.AsyncResult ( null , null , null ) ; sendMessage ( obtainMessage ( com.android.internal.telephony.imsphone.EVENT_CALL_RING , ar ) ) ; }

Target:
public void notifyIncomingRing ( ) { if ( com.android.internal.telephony.imsphone.ImsPhone.DBG ) logd ( "notifyIncomingRing" ) ; android.os.AsyncResult ar = new android.os.AsyncResult ( null , null , null ) ; sendMessage ( obtainMessage ( com.android.internal.telephony.imsphone.EVENT_CALL_RING , ar ) ) ; }
Source:
public void test_Constructor ( ) throws java.io.IOException { java.net.MulticastSocket s = new java.net.MulticastSocket ( ) ; assertTrue ( s.getReuseAddress ( ) ) ; }

Target:
public void test_Constructor ( ) throws java.io.IOException { java.net.MulticastSocket s = new java.net.MulticastSocket ( ) ; assertTrue ( s.getReuseAddress ( ) ) ; s.close ( ) ; }
Source:
public static java.util.List < com.tonicsystems.jarjar.PatternElement > parse ( java.io.File file ) throws java.io.IOException { return com.tonicsystems.jarjar.RulesFileParser.parse ( new java.io.FileReader ( file ) ) ; }

Target:
public static java.util.List < com.tonicsystems.jarjar.PatternElement > parse ( com.android.sched.util.file.InputStreamFile file ) throws java.io.IOException { return com.tonicsystems.jarjar.RulesFileParser.parse ( new java.io.InputStreamReader ( file.getInputStream ( ) ) ) ; }
Source:
private int contentToView ( int x ) { return java.lang.Math.round ( ( x * ( mActualScale ) ) ) ; }

Target:
int contentToViewDimension ( int d ) { return java.lang.Math.round ( ( d * ( mActualScale ) ) ) ; }
Source:
public static long AddNeg1 ( long arg1 , long arg2 ) { return ( - arg1 ) + arg2 ; }

Target:
public static long $noinline$AddNeg1 ( long arg1 , long arg2 ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( - arg1 ) + arg2 ; }
Source:
native void rsnAllocationData2D ( int con , int id , int xoff , int yoff , int mip , int face , int w , int h , byte [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationData2D ( int con , int id , int xoff , int yoff , int mip , int face , int w , int h , java.lang.Object d , int sizeBytes , int dt ) ;
Source:
public static void assertNull ( java.lang.Object object ) { junit.framework.Assert.assertNull ( null , object ) ; }

Target:
public static void assertNull ( java.lang.Object object ) { java.lang.String message = "Expected: <null> but was: " + ( java.lang.String.valueOf ( object ) ) ; junit.framework.Assert.assertNull ( message , object ) ; }
Source:
public void mouseReleased ( java.awt.event.MouseEvent event ) { endDrawingLine ( ) ; }

Target:
public void mouseReleased ( java.awt.event.MouseEvent event ) { int x = imageXCoordinate ( event.getX ( ) ) ; int y = imageYCoordinate ( event.getY ( ) ) ; endDrawingLine ( ) ; endEditingRegion ( x , y ) ; resetDrawMode ( ) ; }
Source:
public void retrieveNotificationList ( java.lang.String callingPackage , @ android.telephony.euicc.EuiccNotification.Event int events , com.android.internal.telephony.euicc.IRetrieveNotificationListCallback callback ) { checkCallingPackage ( callingPackage ) ; }

Target:
public void onResult ( android.telephony.euicc.EuiccNotification [ ] result ) { try { callback.onComplete ( EuiccCardManager.RESULT_OK , result ) ; } catch ( android.os.RemoteException exception ) { throw exception.rethrowFromSystemServer ( ) ; } }
Source:
public boolean isMatchFor ( com.android.ide.eclipse.adt.internal.resources.configurations.ResourceQualifier qualifier ) { if ( qualifier instanceof com.android.ide.eclipse.adt.internal.resources.configurations.VersionQualifier ) { return ( mVersion ) <= ( ( ( com.android.ide.eclipse.adt.internal.resources.configurations.VersionQualifier ) ( qualifier ) ) . mVersion ) ; } return false ; }

Target:
public boolean isMatchFor ( com.android.ide.common.resources.configuration.ResourceQualifier qualifier ) { if ( qualifier instanceof com.android.ide.common.resources.configuration.VersionQualifier ) { return ( mVersion ) <= ( ( ( com.android.ide.common.resources.configuration.VersionQualifier ) ( qualifier ) ) . mVersion ) ; } return false ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setPassedTestCaseCount ( int value ) { bitField0_ |= 4096 ; passedTestCaseCount_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setBuildSystemFingerprint ( java.lang.String value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 4096 ; buildSystemFingerprint_ = value ; onChanged ( ) ; return this ; }
Source:
public boolean isPageComplete ( ) { return isCurrentPage ( ) ; }

Target:
public boolean isPageComplete ( ) { return mShown ; }
Source:
public boolean removeAvd ( com.android.sdklib.internal.avd.AvdManager.AvdInfo avdInfo ) { synchronized ( mAllAvdList ) { if ( mAllAvdList.remove ( avdInfo ) ) { mValidAvdList = mBrokenAvdList = null ; return true ; } } return false ; }

Target:
private void replaceAvd ( com.android.sdklib.internal.avd.AvdInfo oldAvd , com.android.sdklib.internal.avd.AvdInfo newAvd ) { synchronized ( mAllAvdList ) { mAllAvdList.remove ( oldAvd ) ; mAllAvdList.add ( newAvd ) ; mValidAvdList = mBrokenAvdList = null ; } }
Source:
public void testKeyStore_DeleteEntry_EmptyStore_Failure ( ) throws java.lang.Exception { mKeyStore.load ( null , null ) ; try { mKeyStore.deleteEntry ( android.security.AndroidKeyStoreTest.TEST_ALIAS_1 ) ; fail ( "Should throw KeyStoreException with non-existent alias" ) ; } catch ( java.security.KeyStoreException success ) { } }

Target:
public void testKeyStore_DeleteEntry_EmptyStore_Success ( ) throws java.lang.Exception { mKeyStore.load ( null , null ) ; mKeyStore.deleteEntry ( android.security.AndroidKeyStoreTest.TEST_ALIAS_1 ) ; }
Source:
public void test_U8_3_SCALE05_05_inSqure ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.UNSIGNED_8 , 3 , 0.5F , 0.5F ) ; checkError ( ) ; }

Target:
public void test_U8_3_SCALE05_05_inSquare ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.UNSIGNED_8 , 3 , 0.5F , 0.5F ) ; checkError ( ) ; }
Source:
protected GsmAlphabet.TextEncodingDetails calculateLength ( java.lang.CharSequence messageBody , boolean use7bitOnly ) { return com.android.internal.telephony.cdma.SmsMessage.calculateLength ( messageBody , use7bitOnly , false ) ; }

Target:
protected com.android.internal.telephony.GsmAlphabet.TextEncodingDetails calculateLength ( java.lang.CharSequence messageBody , boolean use7bitOnly ) { return com.android.internal.telephony.util.SMSDispatcherUtil.calculateLengthCdma ( messageBody , use7bitOnly ) ; }
Source:
protected boolean getCompressionYTilde ( ) { return this . getAffineYCoord ( ) . testBitZero ( ) ; }

Target:
protected org.bouncycastle.math.ec.ECPoint detach ( ) { return new org.bouncycastle.math.ec.ECPoint.Fp ( null , this . getAffineXCoord ( ) , this . getAffineYCoord ( ) ) ; }
Source:
private native < A extends java.lang.annotation.Annotation > A getDeclaredAnnotation ( java.lang.Class < A > annotationClass ) ;

Target:
public < T extends java.lang.annotation.Annotation > T [ ] getDeclaredAnnotationsByType ( java.lang.Class < T > annotationClass ) { return libcore.reflect.AnnotatedElements.getDeclaredAnnotationsByType ( this , annotationClass ) ; }
Source:
public void setVoiceMessageWaiting ( int line , int countWaiting ) { mIccRecords.setVoiceMessageWaiting ( line , countWaiting ) ; }

Target:
public com.android.internal.telephony.gsm.UsimServiceTable getUsimServiceTable ( ) { com.android.internal.telephony.IccRecords r = mIccRecords.get ( ) ; return r != null ? r.getUsimServiceTable ( ) : null ; }
Source:
public void onFailure ( ) { com.android.server.telecom.Log.d ( this , "Failed simService %s" , currentSimService.getComponentName ( ) ) ; noRemoteServices ( callback ) ; }

Target:
public void onFailure ( ) { android.telecom.Log.d ( this , "Failed simService %s" , currentSimService.getComponentName ( ) ) ; noRemoteServices ( callback ) ; }
Source:
public void testWithR ( ) throws java.lang.Exception { assertEquals ( ( "res/layout/encoding2.xml:1: Error: iso-latin-1: Not using UTF-8 as the file encoding. This can lead to subtle bugs with non-ascii characters [EnforceUTF8]\n" + ( ( "<?xml version=\"1.0\" encoding=\"iso-latin-1\"?>\n" + " ~~~~~~~~~~~\n" ) + "1 errors, 0 warnings\n" ) ) , lintProject ( "res/layout/encoding2.xml" ) ) ; }

Target:
public void testWithWindowsCarriageReturn ( ) throws java.lang.Exception { assertEquals ( ( "res/layout/encoding2.xml:1: Error: iso-latin-1: Not using UTF-8 as the file encoding. This can lead to subtle bugs with non-ascii characters [EnforceUTF8]\n" + ( ( "<?xml version=\"1.0\" encoding=\"iso-latin-1\"?>\n" + " ~~~~~~~~~~~\n" ) + "1 errors, 0 warnings\n" ) ) , lintProject ( "res/layout/encoding2.xml" ) ) ; }
Source:
public int migrate ( java.lang.String name , int targetUid ) throws android.os.RemoteException ;

Target:
public int duplicate ( java.lang.String srcKey , int srcUid , java.lang.String destKey , int destUid ) throws android.os.RemoteException ;
Source:
private java.io.File getStateFile ( ) { return new java.io.File ( getIncrementalFolder ( ) , "state.json" ) ; }

Target:
private void finalizeMerge ( com.android.ide.common.res2.PreprocessResourcesMerger merger ) throws com.android.ide.common.res2.MergingException { com.android.ide.common.res2.PreprocessResourcesWriter writer = new com.android.ide.common.res2.PreprocessResourcesWriter ( getOutputResDirectory ( ) ) ; merger.mergeData ( writer , true ) ; merger.writeBlobTo ( getIncrementalFolder ( ) , writer ) ; }
Source:
int truncate ( java.io.FileDescriptor fd , long size ) throws java.io.IOException { return sun.nio.ch.FileDispatcherImpl.truncate0 ( fd , size ) ; }

Target:
int truncate ( java.io.FileDescriptor fd , long size ) throws java.io.IOException { dalvik.system.BlockGuard.getThreadPolicy ( ) . onWriteToDisk ( ) ; return sun.nio.ch.FileDispatcherImpl.truncate0 ( fd , size ) ; }
Source:
public void testUnusedShowDividers ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( "res/layout/divider.xml:9: Warning: Attribute \"showDividers\" is only used in API level 11 and higher (current min is 1) [UnusedAttribute]\n" + " android:showDividers=\"middle\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 1 warnings\n" ) ) , lintProject ( "apicheck/minsdk1.xml=>AndroidManifest.xml" , "apicheck/divider.xml=>res/layout/divider.xml" ) ) ; }

Target:
public void testUnusedAttributes ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( "res/layout/divider.xml:9: Warning: Attribute \"showDividers\" is only used in API level 11 and higher (current min is 4) [UnusedAttribute]\n" + " android:showDividers=\"middle\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 1 warnings\n" ) ) , lintProject ( "apicheck/minsdk4.xml=>AndroidManifest.xml" , "res/layout/labelfor.xml" , "res/layout/edit_textview.xml" , "apicheck/divider.xml=>res/layout/divider.xml" ) ) ; }
Source:
public static com.android.dialer.common.concurrent.AsyncTaskExecutor createThreadPoolExecutor ( ) { synchronized ( com.android.dialer.common.concurrent.AsyncTaskExecutors.class ) { if ( ( com.android.dialer.common.concurrent.AsyncTaskExecutors.mInjectedAsyncTaskExecutorFactory ) != null ) { return com.android.dialer.common.concurrent.AsyncTaskExecutors.mInjectedAsyncTaskExecutorFactory.createAsyncTaskExeuctor ( ) ; } return new com.android.dialer.common.concurrent.AsyncTaskExecutors.SimpleAsyncTaskExecutor ( android.os.AsyncTask.THREAD_POOL_EXECUTOR ) ; } }

Target:
public static com.android.dialer.common.concurrent.AsyncTaskExecutor createThreadPoolExecutor ( ) { synchronized ( com.android.dialer.common.concurrent.AsyncTaskExecutors.class ) { if ( ( com.android.dialer.common.concurrent.AsyncTaskExecutors.injectedAsyncTaskExecutorFactory ) != null ) { return com.android.dialer.common.concurrent.AsyncTaskExecutors.injectedAsyncTaskExecutorFactory.createAsyncTaskExeuctor ( ) ; } return new com.android.dialer.common.concurrent.AsyncTaskExecutors.SimpleAsyncTaskExecutor ( android.os.AsyncTask.THREAD_POOL_EXECUTOR ) ; } }