auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void addF64 ( android.support.v8.renderscript.Double2 v ) { mN.addF64 ( new android.support.v8.renderscript.Double2 ( v.x , v.y ) ) ; }

Target:
public void addF64 ( android.support.v8.renderscript.Double2 v ) { mN.addF64 ( new android.support.v8.renderscript.Double2 ( v.x , v.y ) ) ; mPos += 16 ; }
Source:
private void reportConnectionAttemptEnd ( int level2FailureCode , int connectivityFailureCode ) { mWifiMetrics.endConnectionEvent ( level2FailureCode , connectivityFailureCode ) ; switch ( level2FailureCode ) { case WifiMetrics.ConnectionEvent.FAILURE_NONE : case WifiMetrics.ConnectionEvent.FAILURE_REDUNDANT_CONNECTION_ATTEMPT : case WifiMetrics.ConnectionEvent.FAILURE_CONNECT_NETWORK_FAILED : break ; default : mWifiDiagnostics.reportConnectionFailure ( ) ; } }

Target:
private void reportConnectionAttemptStart ( android.net.wifi.WifiConfiguration config , java.lang.String targetBSSID , int roamType ) { mWifiMetrics.startConnectionEvent ( config , targetBSSID , roamType ) ; mWifiDiagnostics.reportConnectionEvent ( WifiDiagnostics.CONNECTION_EVENT_STARTED ) ; }
Source:
public T createOutput ( ) { T data = doCreateOutput ( ) ; outputs.add ( data ) ; return data ; }

Target:
public T createOutput ( @ com.android.annotations.Nullable java.lang.String densityFilter , @ com.android.annotations.Nullable java.lang.String abiFilter ) { T data = doCreateOutput ( densityFilter , abiFilter ) ; outputs.add ( data ) ; return data ; }
Source:
public long getTimeMillis ( ) { return com.android.voicemail.impl.scheduling.BaseTask.sClock.getTimeMillis ( ) ; }

Target:
public long getTimeMillis ( ) { return com.android.voicemail.impl.scheduling.BaseTask.clock.getTimeMillis ( ) ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { onThemeChange ( ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { selectLocale ( qualifiers ) ; onLocaleChange ( ) ; }
Source:
public static < T > org.hamcrest.Matcher < java.lang.Iterable < ? super T > > hasItem ( T element ) { return org.hamcrest.CoreMatchers.hasItem ( element ) ; }

Target:
public static < T > org.hamcrest.Matcher < java.lang.Iterable < T > > hasItem ( T element ) { return org.junit.internal.matchers.IsCollectionContaining.hasItem ( element ) ; }
Source:
static dalvik.system.DexFile loadDex ( java.lang.String sourcePathName , java.lang.String outputPathName , int flags , java.lang.ClassLoader loader ) throws java.io.IOException { return new dalvik.system.DexFile ( sourcePathName , outputPathName , flags , loader ) ; }

Target:
static dalvik.system.DexFile loadDex ( java.lang.String sourcePathName , java.lang.String outputPathName , int flags , java.lang.ClassLoader loader , dalvik.system.DexPathList [ ] elements ) throws java.io.IOException { return new dalvik.system.DexFile ( sourcePathName , outputPathName , flags , loader , elements ) ; }
Source:
public void run ( ) { com.android.hierarchyviewer.HierarchyViewerApplication.getApp ( ) . startTask ( taskName ) ; task.run ( ) ; com.android.hierarchyviewer.HierarchyViewerApplication.getApp ( ) . endTask ( ) ; }

Target:
public void run ( ) { com.android.hierarchyviewer.HierarchyViewerApplication.getMainWindow ( ) . startTask ( taskName ) ; task.run ( ) ; com.android.hierarchyviewer.HierarchyViewerApplication.getMainWindow ( ) . endTask ( ) ; }
Source:
public void testNullPointerException ( ) throws java.lang.Exception { try { new java.text.RuleBasedCollator ( null ) ; fail ( ( "Constructor RuleBasedCollator(null) " + "should throw NullPointerException" ) ) ; } catch ( java.lang.NullPointerException e ) { } }

Target:
public void testGetAvailableLocales ( ) { assertTrue ( ( ( java.text.Collator.getAvailableLocales ( ) . length ) > 0 ) ) ; }
Source:
protected abstract void restartDataStallAlarm ( ) ;

Target:
protected abstract DctConstants.State getOverallState ( ) ;
Source:
public void setEcjArguments ( @ javax.annotation.Nonnull java.util.List < java.lang.String > ecjArguments ) { this . ecjArguments = ecjArguments ; }

Target:
public void setSanityChecks ( boolean sanityChecks ) { this . sanityChecks = sanityChecks ; }
Source:
public static float FloatDivision ( ) { float a ; float b ; float c ; a = 8.0F ; b = 2.5F ; c = a / b ; return c ; }

Target:
public static float FloatDivision ( ) { float a ; float b ; float c ; a = Main.$inline$float ( 8.0F ) ; b = Main.$inline$float ( 2.5F ) ; c = a / b ; return c ; }
Source:
public static void main ( java.lang.String [ ] args ) { com.android.monkeyrunner.adb.AdbBackend adb = new com.android.monkeyrunner.adb.AdbBackend ( ) ; com.android.monkeyrunner.recorder.MonkeyRecorder.start ( adb.waitForConnection ( ) ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { com.android.monkeyrunner.core.IMonkeyBackend adb = new com.android.monkeyrunner.adb.AdbBackend ( ) ; com.android.monkeyrunner.recorder.MonkeyRecorder.start ( adb.waitForConnection ( ) ) ; }
Source:
public void testOutputFileNameUniquenessInApp ( ) { com.android.build.gradle.model.AndroidProjectTest.ProjectData projectData = getModelForProject ( "basic" ) ; com.android.build.gradle.model.AndroidProjectTest.compareDebugAndReleaseOutput ( projectData ) ; }

Target:
public void testOutputFileNameUniquenessInLib ( ) { com.android.build.gradle.model.AndroidProjectTest.ProjectData projectData = getModelForProject ( com.android.build.gradle.model.AndroidProjectTest.FOLDER_TEST_REGULAR , "libTestDep" ) ; com.android.build.gradle.model.AndroidProjectTest.compareDebugAndReleaseOutput ( projectData ) ; }
Source:
private void doStagefrightTest ( final int rid ) throws java.lang.Exception { doStagefrightTestMediaPlayer ( rid ) ; doStagefrightTestMediaCodec ( rid ) ; }

Target:
private void doStagefrightTest ( final int rid ) throws java.lang.Exception { doStagefrightTestMediaPlayer ( rid ) ; doStagefrightTestMediaCodec ( rid ) ; doStagefrightTestMediaMetadataRetriever ( rid ) ; }
Source:
public com.android.jack.jayce.v0004.NNode newNode ( ) throws com.android.jack.jayce.v0004.io.InvalidTokenException { throw new com.android.jack.jayce.v0004.io.InvalidTokenException ( ( "No node coresponding to token " + ( this . toString ( ) ) ) ) ; }

Target:
public java.lang.Class < ? extends com.android.jack.jayce.v0004.NNode > getNNodeClass ( ) throws com.android.jack.jayce.v0004.io.InvalidTokenException { throw new com.android.jack.jayce.v0004.io.InvalidTokenException ( ( "No node corresponding to token " + ( this . toString ( ) ) ) ) ; }
Source:
public void visitUnknownAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.UnknownAttribute unknownAttribute ) { if ( ( optionalAttributeVisitor ) != null ) { unknownAttribute.accept ( clazz , optionalAttributeVisitor ) ; } }

Target:
public void visitSyntheticAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Field field , proguard.classfile.attribute.visitor.SyntheticAttribute syntheticAttribute ) { if ( ( optionalAttributeVisitor ) != null ) { optionalAttributeVisitor.visitSyntheticAttribute ( clazz , field , syntheticAttribute ) ; } }
Source:
public java.lang.String toString ( ) { return ( ( super . toString ( ) ) + " Reason Code: " ) + ( sun.security.x509.CRLReasonCodeExtension.values [ reasonCode ] ) ; }

Target:
public java.lang.String toString ( ) { return ( ( super . toString ( ) ) + " Reason Code: " ) + ( getReasonCode ( ) ) ; }
Source:
protected void initializeData ( android.icu.util.ULocale loc , android.icu.impl.CalendarData calData ) { super . initializeData ( loc , calData ) ; initializeIsLeapMonth ( ) ; }

Target:
protected void initializeData ( android.icu.util.ULocale loc , android.icu.impl.ICUResourceBundle b , java.lang.String calendarType ) { super . initializeData ( loc , b , calendarType ) ; initializeIsLeapMonth ( ) ; }
Source:
private boolean canDispatchAccessibilityEvent ( android.view.accessibility.AccessibilityEvent event ) { return ( ( event.getEventType ( ) ) != ( android.view.accessibility.AccessibilityEvent.TYPE_WINDOW_CONTENT_CHANGED ) ) || ( ( event.getWindowId ( ) ) == ( mActiveWindowId ) ) ; }

Target:
public void updateEventSourceLocked ( android.view.accessibility.AccessibilityEvent event ) { if ( ( ( event.getEventType ( ) ) & ( com.android.server.accessibility.AccessibilityManagerService.SecurityPolicy.RETRIEVAL_ALLOWING_EVENT_TYPES ) ) == 0 ) { event.setSource ( null ) ; } }
Source:
public static synchronized com.android.internal.telephony.uicc.UiccController getInstance ( ) { if ( ( com.android.internal.telephony.uicc.UiccController.mInstance ) == null ) { throw new java.lang.RuntimeException ( "UiccController.getInstance can't be called before make()" ) ; } return com.android.internal.telephony.uicc.UiccController.mInstance ; }

Target:
public static com.android.internal.telephony.uicc.UiccController getInstance ( ) { synchronized ( com.android.internal.telephony.uicc.UiccController.mLock ) { if ( ( com.android.internal.telephony.uicc.UiccController.mInstance ) == null ) { throw new java.lang.RuntimeException ( "UiccController.getInstance can't be called before make()" ) ; } return com.android.internal.telephony.uicc.UiccController.mInstance ; } }
Source:
public java.util.List < android.view.inputmethod.InputMethodInfo > getEnabledInputMethodList ( ) { try { return mService.getEnabledInputMethodList ( ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }

Target:
public void hideStatusIcon ( android.os.IBinder imeToken ) { try { mService.updateStatusIcon ( imeToken , null , 0 ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
public com.android.layoutlib.api.SceneResult getResult ( ) { assert ( this ) != ( com.android.layoutlib.api.SceneResult.SceneStatus.ERROR_UNKNOWN ) ; return new com.android.layoutlib.api.SceneResult ( this ) ; }

Target:
public com.android.layoutlib.api.SceneResult getResult ( ) { assert ( this ) != ( com.android.layoutlib.api.SceneResult.SceneStatus.ERROR_UNKNOWN ) ; if ( ( mResult ) == null ) { mResult = new com.android.layoutlib.api.SceneResult ( this ) ; } return mResult ; }
Source:
protected void setTwiceP ( org.bouncycastle.math.ec.ECPoint twiceP ) { this . twiceP = twiceP ; }

Target:
public void setTwice ( org.bouncycastle.math.ec.ECPoint twice ) { this . twice = twice ; }
Source:
private boolean hasAcknowledgedFeatures ( ) { if ( isVvm3 ( ) ) { return true ; } return ( preferences.getInt ( com.android.dialer.app.voicemail.error.VoicemailTosMessageCreator.PREF_DIALER_FEATURE_VERSION_ACKNOWLEDGED_KEY , 0 ) ) >= ( com.android.dialer.app.voicemail.error.VoicemailTosMessageCreator.CURRENT_VOICEMAIL_FEATURE_VERSION ) ; }

Target:
private boolean isLegacyVoicemailUser ( ) { return ( preferences.getInt ( VoicemailVersionConstants.PREF_DIALER_FEATURE_VERSION_ACKNOWLEDGED_KEY , 0 ) ) == ( com.android.voicemail.VoicemailVersionConstants.LEGACY_VOICEMAIL_FEATURE_VERSION ) ; }
Source:
public void getFeatureValue ( int feature , int network , com.android.ims.ImsConfigListener listener ) throws android.os.RemoteException { listener.onGetFeatureResponse ( feature , network , ImsConfig.FeatureValueConstants.ON , ImsConfig.OperationStatusConstants.SUCCESS ) ; }

Target:
public void setConfigListener ( com.android.phone.testapps.imstestapp.TestImsConfigImpl.ImsConfigListener listener ) { mListener = listener ; }
Source:
public void setProcessorPath ( @ javax.annotation.Nonnull java.util.List < java.io.File > processorPath ) { options.processorPath = com.google.common.base.Joiner.on ( java.io.File.pathSeparatorChar ) . join ( processorPath ) ; }

Target:
public void setProcessorPath ( @ javax.annotation.Nonnull java.util.List < java.io.File > processorPath ) { options.addProperty ( Options.ANNOTATION_PROCESSOR_PATH.getName ( ) , "true" ) ; options.addProperty ( Options.ANNOTATION_PROCESSOR_PATH_LIST.getName ( ) , com.google.common.base.Joiner.on ( java.io.File.pathSeparatorChar ) . join ( processorPath ) ) ; }
Source:
public java.lang.String toString ( ) { return getSignature ( ) ; }

Target:
public com.android.tools.lint.ResolvedClass getTypeClass ( ) { if ( ! ( mBinding.isPrimitiveType ( ) ) ) { return new com.android.tools.lint.EcjParser.EcjResolvedClass ( mBinding ) ; } return null ; }
Source:
public static native void EVP_SignUpdate ( long ctx , byte [ ] buffer , int offset , int length ) ;

Target:
public static native int EVP_VerifyFinal ( org.conscrypt.OpenSSLDigestContext ctx , byte [ ] signature , int offset , int length , long key ) ;
Source:
public static java.nio.ByteBuffer allocateDirect ( int capacity ) { if ( capacity < 0 ) { throw new java.lang.IllegalArgumentException ( ( "capacity < 0: " + capacity ) ) ; } return new java.nio.ReadWriteDirectByteBuffer ( capacity ) ; }

Target:
public static java.nio.ByteBuffer allocateDirect ( int capacity ) { if ( capacity < 0 ) { throw new java.lang.IllegalArgumentException ( ( "capacity < 0: " + capacity ) ) ; } return new java.nio.DirectByteBuffer ( java.nio.MemoryBlock.allocate ( capacity ) , capacity , 0 , false , null ) ; }
Source:
public int getColumnCount ( ) { return com.android.sched.util.log.stats.ExtendedSample.HEADER.length ; }

Target:
public com.android.sched.util.print.DataView getDataView ( ) { return com.android.sched.util.log.stats.ExtendedSample.DATA_VIEW ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setSuiteName ( java.lang.String value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 2048 ; suiteName_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setSuiteVersionBytes ( com.android.vts.proto.ByteString value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 128 ; suiteVersion_ = value ; onChanged ( ) ; return this ; }
Source:
public static native void SSL_renegotiate ( int sslNativePointer ) throws javax.net.ssl.SSLException ;

Target:
public static native long SSL_new ( long ssl_ctx ) throws javax.net.ssl.SSLException ;
Source:
public void setDataNetworkType ( int type ) { int phoneId = android.telephony.TelephonyManager.getDefaultPhone ( ) ; setDataNetworkTypeForPhone ( phoneId , type ) ; }

Target:
public void setDataNetworkType ( int type ) { int phoneId = getPhoneId ( android.telephony.SubscriptionManager.getDefaultDataSubscriptionId ( ) ) ; setDataNetworkTypeForPhone ( phoneId , type ) ; }
Source:
public void testWithRowShort_ValueDoesNotMatch ( ) { assertFalse ( android.support.test.espresso.matcher.CursorMatchers.withRowShort ( android.support.test.espresso.matcher.CursorMatchersTest.COLUMN_SHORT , ( ( short ) ( - 1 ) ) ) . matches ( cursor ) ) ; }

Target:
public void withRowShort_ValueDoesNotMatch ( ) { junit.framework.TestCase.assertFalse ( android.support.test.espresso.matcher.CursorMatchers.withRowShort ( android.support.test.espresso.matcher.CursorMatchersTest.COLUMN_SHORT , ( ( short ) ( - 1 ) ) ) . matches ( cursor ) ) ; }
Source:
public void requestNetwork ( android.net.NetworkRequest request , android.net.ConnectivityManager.NetworkCallback networkCallback , int timeoutMs , int legacyType ) { sendRequestForNetwork ( request.networkCapabilities , networkCallback , timeoutMs , android.net.ConnectivityManager.REQUEST , legacyType ) ; }

Target:
public void requestNetwork ( android.net.NetworkRequest request , android.net.ConnectivityManager.NetworkCallback networkCallback , int timeoutMs , int legacyType ) { requestNetwork ( request , networkCallback , timeoutMs , legacyType , getDefaultHandler ( ) ) ; }
Source:
public X apply ( java.lang.Exception e ) { throw new java.lang.AssertionError ( "impossible" ) ; }

Target:
public V checkedGet ( long timeout , java.util.concurrent.TimeUnit unit ) throws X { com.google.common.base.Preconditions.checkNotNull ( unit ) ; throw thrown ; }
Source:
public void onLooperPrepared ( ) { mHandler = new android.os.Handler ( ) ; mDcc = com.android.internal.telephony.dataconnection.DcController.makeDcc ( mPhone , mDcTracker , mHandler ) ; setReady ( true ) ; }

Target:
public void onLooperPrepared ( ) { mHandler = new android.os.Handler ( ) ; mDcc = com.android.internal.telephony.dataconnection.DcController.makeDcc ( mPhone , mDcTracker , mDataServiceManager , mHandler ) ; mDcc.start ( ) ; setReady ( true ) ; }
Source:
public boolean print ( @ javax.annotation.Nonnull java.io.PrintStream printer , @ javax.annotation.Nonnull T value ) { java.lang.String str = formatter.formatValue ( value ) ; printer.print ( str ) ; return ( str != null ) && ( ! ( str.isEmpty ( ) ) ) ; }

Target:
public boolean print ( @ javax.annotation.Nonnull java.io.PrintWriter printer , @ javax.annotation.Nonnull T value ) { java.lang.String str = formatter.formatValue ( value ) ; printer.print ( str ) ; return ( str != null ) && ( ! ( str.isEmpty ( ) ) ) ; }
Source:
public java.net.InetAddress [ ] getaddrinfo ( java.lang.String node , libcore.io.StructAddrinfo hints ) throws libcore.io.GaiException { return os.getaddrinfo ( node , hints ) ; }

Target:
public java.net.InetAddress [ ] getaddrinfo ( java.lang.String node , android.system.StructAddrinfo hints ) throws android.system.GaiException { return os.getaddrinfo ( node , hints ) ; }
Source:
public void test_minusWeeks_negative ( ) { java.time.LocalDate t = TEST_2007_07_15.minusWeeks ( ( - 1 ) ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 7 , 22 ) ) ; }

Target:
public void test_minusDays_negative ( ) { java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.minusDays ( ( - 1 ) ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 7 , 16 ) ) ; }
Source:
public static void setSyncAutomatically ( android.accounts.Account account , java.lang.String authority , boolean sync ) { try { android.content.ContentResolver.getContentService ( ) . setSyncAutomatically ( account , authority , sync ) ; } catch ( android.os.RemoteException e ) { } }

Target:
public static void setSyncAutomatically ( android.accounts.Account account , java.lang.String authority , boolean sync ) { android.content.ContentResolver.setSyncAutomaticallyAsUser ( account , authority , sync , android.os.UserHandle.myUserId ( ) ) ; }
Source:
static void constClassAndInvokeStatic ( java.lang.Iterable < ? > it ) { Main.$opt$inline$ignoreClass ( Main.ClassWithClinit7.class ) ; Main.ClassWithClinit7.someStaticMethod ( it ) ; }

Target:
static void constClassAndInvokeStatic ( java.lang.Iterable < ? > it ) { Main.$opt$inline$ignoreClass ( Main.ClassWithClinit7.class ) ; Main.ClassWithClinit7.$noinline$someStaticMethod ( it ) ; }
Source:
public void callSessionConferenceStateUpdated ( com.android.ims.ImsConferenceState state ) throws android.os.RemoteException { mListener.callSessionConferenceStateUpdated ( state ) ; }

Target:
public void callSessionConferenceStateUpdated ( android.telephony.ims.ImsConferenceState state ) { try { mListener.callSessionConferenceStateUpdated ( state ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }
Source:
public void setSmsListener ( android.telephony.ims.aidl.IImsSmsListener listener ) throws com.android.ims.ImsException { try { mMmTelFeatureConnection.setSmsListener ( listener ) ; } catch ( android.os.RemoteException e ) { throw new com.android.ims.ImsException ( "setSmsListener()" , e , ImsReasonInfo.CODE_LOCAL_IMS_SERVICE_DOWN ) ; } }

Target:
public void acknowledgeSms ( int token , int messageRef , int result ) throws com.android.ims.ImsException { try { mMmTelFeatureConnection.acknowledgeSms ( token , messageRef , result ) ; } catch ( android.os.RemoteException e ) { throw new com.android.ims.ImsException ( "acknowledgeSms()" , e , android.telephony.ims.ImsReasonInfo.CODE_LOCAL_IMS_SERVICE_DOWN ) ; } }
Source:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) throws java.lang.Exception { com.android.jack.shrob.obfuscation.annotation.LineNumberRemover.Visitor visitor = new com.android.jack.shrob.obfuscation.annotation.LineNumberRemover.Visitor ( type.getSession ( ) . getSourceInfoFactory ( ) ) ; visitor.accept ( type ) ; }

Target:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) throws java.lang.Exception { com.android.jack.shrob.obfuscation.annotation.LineNumberRemover.Visitor visitor = new com.android.jack.shrob.obfuscation.annotation.LineNumberRemover.Visitor ( com.android.jack.Jack.getSession ( ) . getSourceInfoFactory ( ) ) ; visitor.accept ( type ) ; }
Source:
public boolean tearDownInterfaces ( ) { return mWificondControl.tearDownInterfaces ( ) ; }

Target:
public boolean tearDown ( ) { if ( ! ( mWificondControl.tearDownInterfaces ( ) ) ) { android.util.Log.e ( com.android.server.wifi.WifiNative.TAG , "Failed to teardown interfaces from Wificond" ) ; return false ; } stopHal ( ) ; return true ; }
Source:
public android.net.wifi.nan.SubscribeConfig.Builder setSubscribeType ( @ android.net.wifi.nan.SubscribeConfig.SubscribeTypes int subscribeType ) { if ( ( subscribeType < ( android.net.wifi.nan.SubscribeConfig.SUBSCRIBE_TYPE_PASSIVE ) ) || ( subscribeType > ( android.net.wifi.nan.SubscribeConfig.SUBSCRIBE_TYPE_ACTIVE ) ) ) { throw new java.lang.IllegalArgumentException ( ( "Invalid subscribeType - " + subscribeType ) ) ; } mSubscribeType = subscribeType ; return this ; }

Target:
public android.net.wifi.aware.SubscribeConfig.Builder setSubscribeType ( @ android.net.wifi.aware.SubscribeConfig.SubscribeTypes int subscribeType ) { if ( ( subscribeType < ( android.net.wifi.aware.SubscribeConfig.SUBSCRIBE_TYPE_PASSIVE ) ) || ( subscribeType > ( android.net.wifi.aware.SubscribeConfig.SUBSCRIBE_TYPE_ACTIVE ) ) ) { throw new java.lang.IllegalArgumentException ( ( "Invalid subscribeType - " + subscribeType ) ) ; } mSubscribeType = subscribeType ; return this ; }
Source:
public void setProcessLimit ( int max ) { enforceCallingPermission ( android.Manifest.permission.SET_PROCESS_LIMIT , "setProcessLimit()" ) ; mProcessLimit = max ; }

Target:
public void setProcessLimit ( int max ) { enforceCallingPermission ( android.Manifest.permission.SET_PROCESS_LIMIT , "setProcessLimit()" ) ; synchronized ( this ) { mProcessLimit = ( max < 0 ) ? ProcessList.MAX_HIDDEN_APPS : max ; mProcessLimitOverride = max ; } trimApplications ( ) ; }
Source:
private static java.lang.Class < ? > getClass ( java.lang.String ... klasses ) { for ( java.lang.String klass : klasses ) { try { return java.lang.Class.forName ( klass ) ; } catch ( java.lang.Exception ignored ) { } } return null ; }

Target:
static java.lang.String getCurveName ( java.security.spec.ECParameterSpec spec ) { if ( ( org.conscrypt.Platform.GET_CURVE_NAME_METHOD ) != null ) { try { return ( ( java.lang.String ) ( org.conscrypt.Platform.GET_CURVE_NAME_METHOD.invoke ( spec ) ) ) ; } catch ( java.lang.Exception ignored ) { } } return null ; }
Source:
public void testStringSwedishOverlay ( ) throws java.lang.Throwable { final int resId = com.android.internal.R.string.phoneTypeWork ; setLocale ( "en_US" ) ; assertResource ( resId , "Work" , "Work" ) ; setLocale ( "sv_SE" ) ; assertResource ( resId , "Arbete" , "Jobb" ) ; }

Target:
private void assertResource ( int resId , boolean no , boolean so , boolean mo ) throws java.lang.Throwable { boolean expected = getExpected ( no , so , mo ) ; boolean actual = mResources.getBoolean ( resId ) ; assertEquals ( expected , actual ) ; }
Source:
public void performConference ( com.android.services.telephony.TelephonyConnection otherConnection ) { if ( isImsConnection ( ) ) { super . performConference ( otherConnection ) ; } else { com.android.services.telephony.Log.w ( this , "Non-IMS CDMA Connection attempted to call performConference." ) ; } }

Target:
public void performConference ( com.android.internal.telephony.Connection otherConnection ) { if ( isImsConnection ( ) ) { super . performConference ( otherConnection ) ; } else { com.android.services.telephony.Log.w ( this , "Non-IMS CDMA Connection attempted to call performConference." ) ; } }
Source:
public static int byteToDoubleToInt ( byte value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( int ) ( ( double ) ( value ) ) ) ; }

Target:
public static int $noinline$byteToDoubleToInt ( byte value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( int ) ( ( double ) ( value ) ) ) ; }
Source:
public boolean isGlobalPreferred ( ) { return ( ( scope ) == ( libcore.io.OsConstants.RT_SCOPE_UNIVERSE ) ) && ( ( ( flags ) & ( ( ( libcore.io.OsConstants.IFA_F_DADFAILED ) | ( libcore.io.OsConstants.IFA_F_DEPRECATED ) ) | ( libcore.io.OsConstants.IFA_F_TENTATIVE ) ) ) == 0L ) ; }

Target:
public boolean isGlobalPreferred ( ) { return ( ( scope ) == ( android.system.OsConstants.RT_SCOPE_UNIVERSE ) ) && ( ( ( flags ) & ( ( ( android.system.OsConstants.IFA_F_DADFAILED ) | ( android.system.OsConstants.IFA_F_DEPRECATED ) ) | ( android.system.OsConstants.IFA_F_TENTATIVE ) ) ) == 0L ) ; }
Source:
public void replaceWith ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JBasicBlock block ) { for ( com.android.jack.ir.ast.cfg.JBasicBlock pre : this . getPredecessorsSnapshot ( ) ) { pre.replaceAllSuccessors ( this , block ) ; } }

Target:
public void checkValidity ( ) { throw new com.android.jack.ir.JNodeInternalError ( this , "Placeholder basic block is transient and should not exist during validation" ) ; }
Source:
void setCellInfoListRate ( int rateInMillis , android.os.Message response ) ;

Target:
default void setCellInfoListRate ( int rateInMillis , android.os.Message response , android.os.WorkSource workSource ) { }
Source:
public com.android.manifmerger.ManifestMerger2.Invoker addLibraryManifests ( java.io.File ... files ) { mLibraryFilesBuilder.add ( files ) ; return this ; }

Target:
public com.android.manifmerger.ManifestMerger2.Invoker addLibraryManifest ( java.io.File file ) { mLibraryFilesBuilder.add ( com.android.utils.Pair.of ( file.getName ( ) , file ) ) ; return this ; }
Source:
public void onItemClick ( android.widget.AdapterView parent , android.view.View v , int position , long id ) { mWebViewCore.sendMessage ( EventHub.SINGLE_LISTBOX_CHOICE , ( ( int ) ( id ) ) , 0 ) ; dialog.dismiss ( ) ; }

Target:
public void onItemClick ( android.widget.AdapterView parent , android.view.View v , int position , long id ) { mWebViewCore.sendMessage ( EventHub.SINGLE_LISTBOX_CHOICE , ( ( int ) ( id ) ) , 0 ) ; mListBoxDialog.dismiss ( ) ; mListBoxDialog = null ; }
Source:
public java.lang.String getSubscriberId ( ) { return mIccRecords.getIMSI ( ) ; }

Target:
public java.lang.String getSubscriberId ( ) { com.android.internal.telephony.IccRecords r = mIccRecords.get ( ) ; return r != null ? r.getIMSI ( ) : "" ; }
Source:
public final native void setRate ( int streamID , float rate ) ;

Target:
public final native void setPriority ( int streamID , int priority ) ;
Source:
protected com.android.builder.resources.AssetFile createFileAndItems ( java.io.File file ) { return new com.android.builder.resources.AssetFile ( file , new com.android.builder.resources.AssetItem ( file.getName ( ) ) ) ; }

Target:
protected com.android.builder.resources.AssetFile createFileAndItems ( java.io.File file , com.android.utils.ILogger logger ) { return new com.android.builder.resources.AssetFile ( file , new com.android.builder.resources.AssetItem ( file.getName ( ) ) ) ; }
Source:
public final void readArray ( ) { int size = com.android.dx.util.Leb128Utils.readUnsignedLeb128 ( in ) ; visitArray ( size ) ; for ( int i = 0 ; i < size ; i ++ ) { readValue ( ) ; } }

Target:
public int readAnnotationName ( ) { return com.android.dx.util.Leb128Utils.readUnsignedLeb128 ( in ) ; }
Source:
public void updateExemptPrefixes ( java.util.Set < android.net.IpPrefix > exemptPrefixes ) { if ( ! ( started ( ) ) ) return ; mExemptPrefixes = exemptPrefixes ; }

Target:
public void setLocalPrefixes ( java.util.Set < android.net.IpPrefix > localPrefixes ) { if ( ! ( started ( ) ) ) return ; mExemptPrefixes = localPrefixes ; computeAndPushLocalPrefixes ( ) ; }
Source:
public static java.lang.String getDefaultBootclasspathString ( ) { return com.android.jack.TestTools.getFromAndroidTree ( "toolchain/jack/jack/libs/core-stubs-mini.jack" ) . getAbsolutePath ( ) ; }

Target:
public static java.lang.String getDefaultClasspathString ( ) { return new java.io.File ( com.android.jack.test.TestsProperties.getJackRootDir ( ) , "jack-tests/prebuilts/core-stubs-mini.jack" ) . getAbsolutePath ( ) ; }
Source:
public static void wtf ( java.lang.String prefix , java.lang.Throwable tr , java.lang.String format , java.lang.Object ... args ) { android.util.Log.wtf ( com.android.services.telephony.Log.TAG , com.android.services.telephony.Log.buildMessage ( prefix , format , args ) , tr ) ; }

Target:
public static void e ( java.lang.Object objectPrefix , java.lang.Throwable tr , java.lang.String format , java.lang.Object ... args ) { android.telecom.Log.e ( objectPrefix , tr , format , args ) ; }
Source:
public void onDescriptorRead ( java.lang.String address , int status , int srvcType , int srvcInstId , android.os.ParcelUuid srvcUuid , int charInstId , android.os.ParcelUuid charUuid , int descrInstId , android.os.ParcelUuid descrUuid , byte [ ] value ) throws android.os.RemoteException { }

Target:
public void onCharacteristicRead ( java.lang.String address , int status , int handle , byte [ ] value ) throws android.os.RemoteException { }
Source:
public void onServiceAdded ( int status , android.bluetooth.BluetoothGattService service ) { if ( com.android.cts.verifier.bluetooth.BleServerService.DEBUG ) android.util.Log.d ( com.android.cts.verifier.bluetooth.BleServerService.TAG , "onServiceAdded()" ) ; if ( status == ( android.bluetooth.BluetoothGatt.GATT_SUCCESS ) ) notifyServiceAdded ( ) ; }

Target:
private void notifyAddServiceFail ( ) { if ( com.android.cts.verifier.bluetooth.BleServerService.DEBUG ) { android.util.Log.d ( com.android.cts.verifier.bluetooth.BleServerService.TAG , "notifyAddServiceFail" ) ; } android.content.Intent intent = new android.content.Intent ( com.android.cts.verifier.bluetooth.BleServerService.BLE_ADD_SERVICE_FAIL ) ; sendBroadcast ( intent ) ; }
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 long LongSubtraction ( ) { long a ; long b ; long c ; a = Main.$inline$long ( 6L ) ; b = Main.$inline$long ( 2L ) ; c = a - b ; return c ; }
Source:
private native int setKernelTimezone ( int fd , int minuteswest ) ;

Target:
private native int setKernelTimezone ( long nativeData , int minuteswest ) ;
Source:
public com.google.devtools.build.android.desugar.BytecodeTypeInference.InferredType getElementTypeIfArrayOrThrow ( ) { java.lang.String descriptor = descriptor ( ) ; com.google.common.base.Preconditions.checkState ( ( ( descriptor.charAt ( 0 ) ) == '[' ) , "This type %s is not an array." , this ) ; return com.google.devtools.build.android.desugar.BytecodeTypeInference.InferredType.create ( descriptor.substring ( 1 ) ) ; }

Target:
public com.google.devtools.build.android.desugar.BytecodeTypeInference.InferredType getElementTypeIfArrayOrThrow ( ) { java.lang.String descriptor = descriptor ( ) ; com.google.common.base.Preconditions.checkState ( ( ( descriptor.charAt ( 0 ) ) == '[' ) , "This type %s is not an array." , this ) ; return com.google.devtools.build.android.desugar.BytecodeTypeInference.InferredType.createNonUninitializedType ( descriptor.substring ( 1 ) ) ; }
Source:
public < T > void registerWatcher ( @ javax.annotation.Nonnull java.lang.Class < T > objectClass , @ javax.annotation.Nonnull java.lang.Class < ? extends com.android.sched.util.log.tracer.watcher.ObjectWatcher < ? extends T > > watcherClass ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public < T > void registerWatcher ( @ javax.annotation.Nonnull java.lang.Class < T > objectClass , @ javax.annotation.Nonnull java.lang.Class < ? extends com.android.sched.util.log.tracer.watcher.ObjectWatcher < ? extends T > > watcherClass ) { assert ( config ) == ( com.android.sched.util.config.ThreadConfig.getConfig ( ) ) ; throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public static synchronized java.lang.String [ ] getAvailableIDs ( int offsetMillis ) { return libcore.util.ZoneInfoDB.getAvailableIDs ( offsetMillis ) ; }

Target:
public static synchronized java.lang.String [ ] getAvailableIDs ( int offsetMillis ) { return libcore.util.ZoneInfoDB.getInstance ( ) . getAvailableIDs ( offsetMillis ) ; }
Source:
public void testGetQueryParameterNames ( ) { java.util.Set < java.lang.String > paramNames = android.support.test.espresso.intent.matcher.UriMatchers.getQueryParameterNames ( uri ) ; assertTrue ( paramNames.equals ( com.google.common.collect.Sets.newHashSet ( "q" , "aq" , "oq" , "sourceid" , "ie" ) ) ) ; }

Target:
public void getQueryParameterNamesTesting ( ) { java.util.Set < java.lang.String > paramNames = android.support.test.espresso.intent.matcher.UriMatchers.getQueryParameterNames ( uri ) ; org.junit.Assert.assertTrue ( paramNames.equals ( com.google.common.collect.Sets.newHashSet ( "q" , "aq" , "oq" , "sourceid" , "ie" ) ) ) ; }
Source:
public com.android.apksig.DefaultApkSignerEngine build ( ) throws java.security.InvalidKeyException { return new com.android.apksig.DefaultApkSignerEngine ( mSignerConfigs , mMinSdkVersion , mV1SigningEnabled , mV2SigningEnabled , mOtherSignersSignaturesPreserved , mCreatedBy ) ; }

Target:
public com.android.apksig.DefaultApkSignerEngine build ( ) throws java.security.InvalidKeyException { return new com.android.apksig.DefaultApkSignerEngine ( mSignerConfigs , mMinSdkVersion , mV1SigningEnabled , mV2SigningEnabled , mDebuggableApkPermitted , mOtherSignersSignaturesPreserved , mCreatedBy ) ; }
Source:
private int regCodeToServiceState ( int code ) { switch ( code ) { case android.telephony.ServiceState.RIL_REG_STATE_HOME : case android.telephony.ServiceState.RIL_REG_STATE_ROAMING : return android.telephony.ServiceState.STATE_IN_SERVICE ; default : return android.telephony.ServiceState.STATE_OUT_OF_SERVICE ; } }

Target:
private int regCodeToServiceState ( int code ) { switch ( code ) { case android.telephony.NetworkRegistrationState.REG_STATE_HOME : case android.telephony.NetworkRegistrationState.REG_STATE_ROAMING : return android.telephony.ServiceState.STATE_IN_SERVICE ; default : return android.telephony.ServiceState.STATE_OUT_OF_SERVICE ; } }
Source:
public void testSeccomp ( ) { if ( android.os.cts.OSFeatures.needsSeccompSupport ( ) ) { assertTrue ( ( "Please enable seccomp support " + "in your kernel (CONFIG_SECCOMP_FILTER=y)" ) , android.os.cts.OSFeatures.hasSeccompSupport ( ) ) ; } }

Target:
public void testSeccomp ( ) { if ( android.os.cts.OSFeatures.needsSeccompSupport ( ) ) { assertTrue ( ( "Please enable seccomp support in your kernel " + ( "(CONFIG_SECCOMP_FILTER=y). Please see CTS " + "test javadocs for important details." ) ) , android.os.cts.OSFeatures.hasSeccompSupport ( ) ) ; } }
Source:
public void onPlay ( ) { android.util.Log.d ( com.android.bluetooth.a2dpsink.mbs.A2dpMediaBrowserService.TAG , "onPlay" ) ; mAvrcpCommandQueue.obtainMessage ( com.android.bluetooth.a2dpsink.mbs.A2dpMediaBrowserService.MSG_AVRCP_PASSTHRU , AvrcpControllerService.PASS_THRU_CMD_ID_PLAY ) . sendToTarget ( ) ; }

Target:
public void onPlay ( ) { if ( com.android.bluetooth.a2dpsink.mbs.A2dpMediaBrowserService.DBG ) android.util.Log.d ( com.android.bluetooth.a2dpsink.mbs.A2dpMediaBrowserService.TAG , "onPlay" ) ; mAvrcpCommandQueue.obtainMessage ( com.android.bluetooth.a2dpsink.mbs.A2dpMediaBrowserService.MSG_AVRCP_PASSTHRU , AvrcpControllerService.PASS_THRU_CMD_ID_PLAY ) . sendToTarget ( ) ; }
Source:
public void disableVisualVoicemailSmsFilter ( java.lang.String callingPackage , int subId ) { mAppOps.checkPackage ( android.os.Binder.getCallingUid ( ) , callingPackage ) ; com.android.phone.VisualVoicemailSmsFilterConfig.disableVisualVoicemailSmsFilter ( mPhone.getContext ( ) , callingPackage , subId ) ; }

Target:
public void enableVisualVoicemailSmsFilter ( java.lang.String callingPackage , int subId , android.telephony.VisualVoicemailSmsFilterSettings settings ) { mAppOps.checkPackage ( android.os.Binder.getCallingUid ( ) , callingPackage ) ; com.android.phone.vvm.VisualVoicemailSmsFilterConfig.enableVisualVoicemailSmsFilter ( mPhone.getContext ( ) , callingPackage , subId , settings ) ; }
Source:
public void out ( @ org.gradle.api.Nullable java.lang.String line ) { if ( line != null ) { output.add ( line ) ; } }

Target:
public static java.util.List < java.lang.String > runAndGetOutput ( @ com.android.annotations.NonNull com.android.ide.common.process.ProcessInfo processInfo ) throws com.android.ide.common.process.ProcessException { com.android.ide.common.process.ProcessExecutor executor = new com.android.ide.common.process.DefaultProcessExecutor ( new com.android.utils.StdLogger ( StdLogger.Level.ERROR ) ) ; return com.android.build.gradle.integration.common.utils.ApkHelper.runAndGetOutput ( processInfo , executor ) ; }
Source:
public java.util.List < ? extends com.android.builder.dependency.ManifestDependency > getManifestDependencies ( ) { return dependencies ; }

Target:
public java.util.List < com.android.build.gradle.internal.dependency.ManifestDependencyImpl > getManifestDependenciesForInput ( ) { return dependencies ; }
Source:
public java.util.List < android.telephony.NeighboringCellInfo > getNeighboringCellInfo ( ) { try { return getITelephony ( ) . getNeighboringCellInfo ( mContext.getBasePackageName ( ) ) ; } catch ( android.os.RemoteException ex ) { return null ; } catch ( java.lang.NullPointerException ex ) { return null ; } }

Target:
public java.util.List < android.telephony.NeighboringCellInfo > getNeighboringCellInfo ( ) { try { return getITelephony ( ) . getNeighboringCellInfo ( mContext.getOpPackageName ( ) ) ; } catch ( android.os.RemoteException ex ) { return null ; } catch ( java.lang.NullPointerException ex ) { return null ; } }
Source:
public void stop ( ) { mPacketListener.stop ( ) ; mLog.log ( android.net.ip.ConnectivityPacketTracker.MARK_STOP ) ; }

Target:
public void stop ( ) { mPacketListener.stop ( ) ; mRunning = false ; }
Source:
long getAdjustedCurrentTimeMillis ( long currentElapsedRealtimeMillis ) { long adjustmentMillis = currentElapsedRealtimeMillis - ( getReceivedRealtimeMillis ( ) ) ; return ( getCurrentTimeInMillis ( ) ) + adjustmentMillis ; }

Target:
com.android.internal.telephony.NitzStateMachineTest.Scenario.Builder setCountryIso ( java.lang.String isoCode ) { mCountryIsoCode = isoCode ; return this ; }
Source:
private static boolean isRandomizedEncryption ( java.lang.String algorithm ) { return algorithm.endsWith ( "/PKCS1PADDING" ) ; }

Target:
private static boolean isRandomizedEncryption ( java.lang.String algorithm ) { return ( ( algorithm.endsWith ( "/PKCS1PADDING" ) ) || ( algorithm.endsWith ( "/OAEPPADDING" ) ) ) || ( algorithm.contains ( "/OAEPWITH" ) ) ; }
Source:
public static com.google.devtools.common.options.OptionPriority nextOptionPriority ( com.google.devtools.common.options.OptionPriority priority ) { return new com.google.devtools.common.options.OptionPriority ( priority.priorityCategory , ( ( priority.index ) + 1 ) ) ; }

Target:
static com.google.devtools.common.options.OptionPriority nextOptionPriority ( com.google.devtools.common.options.OptionPriority priority ) { if ( priority.locked ) { return priority ; } return new com.google.devtools.common.options.OptionPriority ( priority.priorityCategory , ( ( priority.index ) + 1 ) , false ) ; }
Source:
void setEmitDebug ( boolean emitDebug ) throws com.android.jack.api.v01.ConfigurationException ;

Target:
void setDebugInfoLevel ( @ javax.annotation.Nonnull com.android.jack.api.v01.DebugInfoLevel debugInfoLevel ) throws com.android.jack.api.v01.ConfigurationException ;
Source:
synchronized void nAllocationData1D ( int id , int off , int mip , int count , byte [ ] d , int sizeBytes ) { validate ( ) ; rsnAllocationData1D ( mContext , id , off , mip , count , d , sizeBytes ) ; }

Target:
synchronized void nAllocationElementData1D ( long id , int xoff , int mip , int compIdx , byte [ ] d , int sizeBytes ) { validate ( ) ; rsnAllocationElementData1D ( mContext , id , xoff , mip , compIdx , d , sizeBytes ) ; }
Source:
public void visitAnyClass ( proguard.classfile.util.Clazz clazz ) { clazz.hierarchyAccept ( true , true , true , false , new proguard.classfile.util.AllMethodVisitor ( new proguard.classfile.util.MemberAccessFilter ( 0 , ( ( ClassConstants.INTERNAL_ACC_PRIVATE ) | ( ClassConstants.INTERNAL_ACC_STATIC ) ) , this ) ) ) ; memberMap.clear ( ) ; }

Target:
public void visitAnyClass ( proguard.classfile.util.Clazz clazz ) { clazz.hierarchyAccept ( true , true , true , false , new proguard.classfile.util.AllMethodVisitor ( new proguard.classfile.util.MemberAccessFilter ( 0 , ( ( ClassConstants.ACC_PRIVATE ) | ( ClassConstants.ACC_STATIC ) ) , this ) ) ) ; memberMap.clear ( ) ; }
Source:
public com.android.dx.io.ProtoId adjust ( com.android.dx.io.ProtoId protoId ) { return new com.android.dx.io.ProtoId ( target , adjustString ( protoId.getShortyIndex ( ) ) , adjustType ( protoId.getReturnTypeIndex ( ) ) , adjustTypeListOffset ( protoId.getParametersOffset ( ) ) ) ; }

Target:
public com.android.dex.ProtoId adjust ( com.android.dex.ProtoId protoId ) { return new com.android.dex.ProtoId ( target , adjustString ( protoId.getShortyIndex ( ) ) , adjustType ( protoId.getReturnTypeIndex ( ) ) , adjustTypeListOffset ( protoId.getParametersOffset ( ) ) ) ; }
Source:
public static final java.lang.CharSequence timeString ( long millis ) { android.text.format.DateUtils.initFormatStrings ( ) ; return android.text.format.DateUtils.sStatusTimeFormat.format ( millis ) ; }

Target:
public static final java.lang.CharSequence timeString ( long millis ) { synchronized ( android.text.format.DateUtils.sLock ) { android.text.format.DateUtils.initFormatStringsLocked ( ) ; return android.text.format.DateUtils.sStatusTimeFormat.format ( millis ) ; } }
Source:
public com.android.sched.vfs.MessageDigestFS.MessageDigestVDir getRootDir ( ) { return new com.android.sched.vfs.MessageDigestFS.MessageDigestVDir ( this , vfs.getRootDir ( ) ) ; }

Target:
public java.lang.String getInfoString ( ) { return vfs.getInfoString ( ) ; }
Source:
public static java.lang.invoke.MethodHandle filterReturnValue ( java.lang.invoke.MethodHandle target , java.lang.invoke.MethodHandle filter ) { java.lang.invoke.MethodType targetType = target.type ( ) ; java.lang.invoke.MethodType filterType = filter.type ( ) ; java.lang.invoke.MethodHandles.filterReturnValueChecks ( targetType , filterType ) ; throw new java.lang.UnsupportedOperationException ( "MethodHandles.filterReturnValue is not implemented" ) ; }

Target:
public static java.lang.invoke.MethodHandle filterReturnValue ( java.lang.invoke.MethodHandle target , java.lang.invoke.MethodHandle filter ) { java.lang.invoke.MethodType targetType = target.type ( ) ; java.lang.invoke.MethodType filterType = filter.type ( ) ; java.lang.invoke.MethodHandles.filterReturnValueChecks ( targetType , filterType ) ; return new java.lang.invoke.Transformers.FilterReturnValue ( target , filter ) ; }
Source:
public void onAlarm ( ) { try { writeBufferedData ( ) ; } catch ( java.io.IOException e ) { android.util.Log.wtf ( com.android.server.wifi.WifiConfigStoreNew.TAG , "Buffered write failed" ) ; } }

Target:
public void onAlarm ( ) { try { writeBufferedData ( ) ; } catch ( java.io.IOException e ) { android.util.Log.wtf ( com.android.server.wifi.WifiConfigStore.TAG , "Buffered write failed" ) ; } }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { super . widgetSelected ( e ) ; validatePage ( ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent arg0 ) { boolean sizeMode = mSdCardSizeRadio.getSelection ( ) ; enableSdCardWidgets ( sizeMode ) ; validatePage ( ) ; }
Source:
public java.io.FileDescriptor [ ] pipe ( ) throws android.system.ErrnoException { return os.pipe ( ) ; }

Target:
public java.io.FileDescriptor [ ] pipe2 ( int flags ) throws android.system.ErrnoException { return os.pipe2 ( flags ) ; }
Source:
public void testInvalidIds ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( ( ( ( ( ( ( ( ( ( "res/layout/invalid_ids.xml:23: Error: ID definitions *must* be of the form @+id/name; try using @+id/menu_Reload [InvalidId]\n" + " android:id=\"@+menu/Reload\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/invalid_ids.xml:31: Error: ID definitions *must* be of the form @+id/name; try using @+id/_id_foo [InvalidId]\n" ) + " android:id=\"@+/id_foo\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/invalid_ids.xml:37: Error: ID definitions *must* be of the form @+id/name; try using @+id/myid_button5 [InvalidId]\n" ) + " android:id=\"@+myid/button5\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/invalid_ids.xml:43: Error: ID definitions *must* be of the form @+id/name; try using @+id/string_whatevs [InvalidId]\n" ) + " android:id=\"@+string/whatevs\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "4 errors, 0 warnings\n" ) ) , lintFiles ( "res/layout/invalid_ids.xml" ) ) ; }

Target:
public void testInvalidIds1 ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( ( ( ( ( ( ( ( ( ( "res/layout/invalid_ids.xml:23: Error: ID definitions *must* be of the form @+id/name; try using @+id/menu_Reload [InvalidId]\n" + " android:id=\"@+menu/Reload\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/invalid_ids.xml:31: Error: ID definitions *must* be of the form @+id/name; try using @+id/_id_foo [InvalidId]\n" ) + " android:id=\"@+/id_foo\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/invalid_ids.xml:37: Error: ID definitions *must* be of the form @+id/name; try using @+id/myid_button5 [InvalidId]\n" ) + " android:id=\"@+myid/button5\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/invalid_ids.xml:43: Error: ID definitions *must* be of the form @+id/name; try using @+id/string_whatevs [InvalidId]\n" ) + " android:id=\"@+string/whatevs\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "4 errors, 0 warnings\n" ) ) , lintFiles ( "res/layout/invalid_ids.xml" ) ) ; }
Source:
public static boolean NotNotBool ( boolean arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ! ( Main.NegateValue ( arg ) ) ; }

Target:
public static boolean $noinline$NotNotBool ( boolean arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ! ( Main.NegateValue ( arg ) ) ; }
Source:
public void testDisableUsage ( ) throws java.lang.Exception { mDut.enableUsage ( ) ; doConnect ( ) ; mDut.disableUsage ( ) ; org.mockito.Mockito.verify ( mNanStateManagerMock ) . disableUsage ( ) ; }

Target:
public void testDisableUsage ( ) throws java.lang.Exception { mDut.enableUsage ( ) ; doConnect ( ) ; mDut.disableUsage ( ) ; org.mockito.Mockito.verify ( mAwareStateManagerMock ) . disableUsage ( ) ; }
Source:
com.android.jack.dx.rop.code.RegisterSpec getOrCreateRegisterSpec ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JParameter parameter ) { return getRegisterSpec ( getRegisterNumber ( parameter ) , parameter , null ) ; }

Target:
com.android.jack.dx.rop.code.RegisterSpec getOrCreateRegisterSpec ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JParameter parameter ) { assert ( parameter.getMarker ( com.android.jack.debug.DebugVariableInfoMarker.class ) ) == null ; return getRegisterSpec ( getRegisterNumber ( parameter ) , parameter , null ) ; }
Source:
public void onRttInitiated ( ) { sendRttInitiationSuccess ( ) ; }

Target:
public void onRttInitiated ( ) { updateConnectionProperties ( ) ; sendRttInitiationSuccess ( ) ; }
Source:
public void getProfile ( java.lang.String callingPackage , java.lang.String iccid , com.android.internal.telephony.euicc.IGetProfileCallback callback ) { checkCallingPackage ( callingPackage ) ; }

Target:
public void getProfile ( java.lang.String callingPackage , java.lang.String cardId , java.lang.String iccid , com.android.internal.telephony.euicc.IGetProfileCallback callback ) { checkCallingPackage ( callingPackage ) ; }