auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public android.os.Bundle editProperties ( android.accounts.AccountAuthenticatorResponse r , java.lang.String s ) { android.util.Log.d ( com.google.android.car.pbapsink.Authenticator.TAG , "got call" , new java.lang.Exception ( ) ) ; throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public android.os.Bundle editProperties ( android.accounts.AccountAuthenticatorResponse r , java.lang.String s ) { android.util.Log.d ( com.android.bluetooth.pbapclient.Authenticator.TAG , "got call" , new java.lang.Exception ( ) ) ; throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public void test_de ( ) throws java.lang.Exception { libcore.icu.AlphabeticIndex de = new libcore.icu.AlphabeticIndex ( java.util.Locale.GERMAN ) ; libcore.icu.AlphabeticIndexTest.assertHasLabel ( de , "ßind" , "S" ) ; }

Target:
public void test_de ( ) throws java.lang.Exception { libcore.icu.ImmutableIndex de = libcore.icu.AlphabeticIndexTest.createIndex ( java.util.Locale.GERMAN ) ; libcore.icu.AlphabeticIndexTest.assertHasLabel ( de , "ßind" , "S" ) ; }
Source:
public native libcore.io.StructStatFs statfs ( java.lang.String path ) throws libcore.io.ErrnoException ;

Target:
public native libcore.io.StructStatVfs statvfs ( java.lang.String path ) throws libcore.io.ErrnoException ;
Source:
public void test_U8_3_SCALE05_20_inRectangle ( ) { testReszie ( inX , inY , Element.DataType.UNSIGNED_8 , 3 , 0.5F , 2.0F ) ; }

Target:
public void test_U8_3_SCALE05_20_inRectangle ( ) { testResize ( inX , inY , Element.DataType.UNSIGNED_8 , 3 , 0.5F , 2.0F ) ; }
Source:
public void onBrowsableChannelListChanged ( ) { mMenu.update ( ) ; }

Target:
public void onBrowsableChannelListChanged ( ) { mMenu.update ( ChannelsRow.ID ) ; }
Source:
public void setCallEndTime ( long endTime ) { com.android.server.telecom.Log.d ( com.android.server.telecom.Analytics.TAG , ( ( ( "setting endTime for call " + ( callId ) ) + " to " ) + endTime ) ) ; this . endTime = endTime ; }

Target:
public void setCallEndTime ( long endTime ) { android.telecom.Log.d ( com.android.server.telecom.Analytics.TAG , ( ( ( "setting endTime for call " + ( callId ) ) + " to " ) + endTime ) ) ; this . endTime = endTime ; }
Source:
public void test_dropAnySource_twice_IPv4 ( ) throws java.lang.Exception { test_dropAnySource_twice ( libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv4 ) ; }

Target:
public void test_dropAnySource_twice_IPv4 ( ) throws java.lang.Exception { test_dropAnySource_twice ( ipv4networkInterfaces , libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv4 ) ; }
Source:
public void onAdvertisingSetStarted ( android.bluetooth.le.AdvertisingSet advertisingSet , int status ) { if ( status != ( AdvertisingSetCallback.ADVERTISE_SUCCESS ) ) { postStartFailure ( callback , status ) ; return ; } postStartSuccess ( callback , settings ) ; }

Target:
public void onAdvertisingSetStarted ( android.bluetooth.le.AdvertisingSet advertisingSet , int txPower , int status ) { if ( status != ( AdvertisingSetCallback.ADVERTISE_SUCCESS ) ) { postStartFailure ( callback , status ) ; return ; } postStartSuccess ( callback , settings ) ; }
Source:
boolean process ( java.lang.String countryCode , java.util.List < java.lang.String > timeZoneIds , java.lang.String debugInfo ) throws org.xmlpull.v1.XmlPullParserException ;

Target:
boolean process ( java.lang.String countryIso , java.lang.String defaultTimeZoneId , java.util.List < java.lang.String > timeZoneIds , java.lang.String debugInfo ) throws org.xmlpull.v1.XmlPullParserException ;
Source:
private void expectSetInterfaceQuota ( java.lang.String iface , long quotaBytes ) throws java.lang.Exception { mNetworkManager.setInterfaceQuota ( iface , quotaBytes ) ; org.easymock.EasyMock.expectLastCall ( ) . atLeastOnce ( ) ; }

Target:
private void verifyRemoveInterfaceQuota ( java.lang.String iface ) throws java.lang.Exception { org.mockito.Mockito.verify ( mNetworkManager , org.mockito.Mockito.atLeastOnce ( ) ) . removeInterfaceQuota ( iface ) ; }
Source:
public TestCaseBuilder addCanvasClient ( android.uirendering.cts.testinfrastructure.CanvasClient canvasClient , boolean useHardware ) { }

Target:
public android.uirendering.cts.testinfrastructure.ActivityTestBase.TestCaseBuilder addCanvasClientWithoutUsingPicture ( android.uirendering.cts.testinfrastructure.CanvasClient canvasClient , boolean useHardware ) { return addCanvasClientInternal ( null , canvasClient , useHardware , false ) ; }
Source:
public static void setRcsTestMode ( boolean test ) { com.android.ims.internal.Logger.rcsTestMode = test ; if ( ( android.os.Build.IS_DEBUGGABLE ) || ( com.android.ims.internal.Logger.rcsTestMode ) ) { com.android.ims.internal.Logger.traceLevel = com.android.ims.internal.Logger.DEBUG_LEVEL ; } else { com.android.ims.internal.Logger.traceLevel = com.android.ims.internal.Logger.ERROR_LEVEL ; } }

Target:
public void info ( java.lang.String trace ) { if ( ( isActivated ( ) ) && ( com.android.ims.internal.Logger.INFO ) ) { android.util.Log.i ( com.android.ims.internal.Logger.TAG , ( ( ( "[" + ( mClassName ) ) + "] " ) + trace ) ) ; } }
Source:
public void onCancel ( android.content.DialogInterface dialog ) { if ( ( mResumeMsg ) != null ) { resumeMsg.sendToTarget ( ) ; mResumeMsg = null ; } }

Target:
public void onCancel ( android.content.DialogInterface dialog ) { if ( ( mResumeMsg ) != null ) { resumeMsg.sendToTarget ( ) ; mResumeMsg = null ; } mSavePasswordDialog = null ; }
Source:
public void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; org.mockito.MockitoAnnotations.initMocks ( this ) ; }

Target:
public void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mMokitoHelper.setUp ( getContext ( ) , getClass ( ) ) ; org.mockito.MockitoAnnotations.initMocks ( this ) ; }
Source:
public void test_plus_Period_positiveMonths ( ) { test.java.time.MockSimplePeriod period = test.java.time.MockSimplePeriod.of ( 7 , java.time.temporal.ChronoUnit.MONTHS ) ; java.time.LocalDate t = TEST_2007_07_15.plus ( period ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2008 , 2 , 15 ) ) ; }

Target:
public void test_plus_Period_positiveMonths ( ) { test.java.time.MockSimplePeriod period = test.java.time.MockSimplePeriod.of ( 7 , java.time.temporal.ChronoUnit.MONTHS ) ; java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.plus ( period ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2008 , 2 , 15 ) ) ; }
Source:
public void onCallStartFailed ( com.android.ims.ImsCall imsCall , android.telephony.ims.ImsReasonInfo reasonInfo ) { if ( com.android.internal.telephony.imsphone.ImsPhoneCallTracker.DBG ) log ( ( "mImsUssdListener onCallStartFailed reasonCode=" + ( reasonInfo.getCode ( ) ) ) ) ; onCallTerminated ( imsCall , reasonInfo ) ; }

Target:
public void onSubscriberAssociatedUriChanged ( android.net.Uri [ ] uris ) { if ( com.android.internal.telephony.imsphone.ImsPhoneCallTracker.DBG ) log ( "registrationAssociatedUriChanged" ) ; mPhone.setCurrentSubscriberUris ( uris ) ; }
Source:
public java.lang.String getPropertyCacheOrSync ( java.lang.String name ) throws com.android.ddmlib.AdbCommandRejectedException , com.android.ddmlib.ShellCommandUnresponsiveException , com.android.ddmlib.TimeoutException , java.io.IOException ;

Target:
java.lang.String getPropertySync ( java.lang.String name ) throws com.android.ddmlib.AdbCommandRejectedException , com.android.ddmlib.ShellCommandUnresponsiveException , com.android.ddmlib.TimeoutException , java.io.IOException ;
Source:
public void setNetworkRoaming ( boolean isRoaming ) { int phoneId = android.telephony.TelephonyManager.getDefaultPhone ( ) ; setNetworkRoamingForPhone ( phoneId , isRoaming ) ; }

Target:
public void setNetworkRoaming ( boolean isRoaming ) { int phoneId = getPhoneId ( ) ; setNetworkRoamingForPhone ( phoneId , isRoaming ) ; }
Source:
public boolean getDataEnabled ( ) { return isDataEnabled ( ) ; }

Target:
public void setDataEnabled ( int subId , boolean enable ) { setUserMobileDataEnabled ( subId , enable ) ; }
Source:
public void testTlvInvalidSizeT1L0 ( ) { android.net.wifi.nan.TlvBufferUtils.TlvConstructor tlv10 = new android.net.wifi.nan.TlvBufferUtils.TlvConstructor ( 1 , 0 ) ; }

Target:
public void testTlvInvalidSizeT1L0 ( ) { android.net.wifi.aware.TlvBufferUtils.TlvConstructor tlv10 = new android.net.wifi.aware.TlvBufferUtils.TlvConstructor ( 1 , 0 ) ; }
Source:
public android.net.IpSecTransform buildTransportModeTransform ( java.net.InetAddress remoteAddress ) throws IpSecManager.ResourceUnavailableException , IpSecManager.SpiUnavailableException , java.io.IOException { mConfig.mode = android.net.IpSecTransform.MODE_TRANSPORT ; mConfig.remoteAddress = remoteAddress ; return new android.net.IpSecTransform ( mContext , mConfig ) . activate ( ) ; }

Target:
public android.net.IpSecTransform.Builder setIpv4Encapsulation ( android.net.IpSecManager.UdpEncapsulationSocket localSocket , int remotePort ) { mConfig.setEncapType ( android.net.IpSecTransform.ENCAP_ESPINUDP ) ; mConfig.setEncapSocketResourceId ( localSocket.getResourceId ( ) ) ; mConfig.setEncapRemotePort ( remotePort ) ; return this ; }
Source:
public void onRemoteVideoCapabilityChanged ( boolean capable ) { setRemoteVideoCapable ( capable ) ; }

Target:
public void onCallPullFailed ( android.telecom.Connection externalConnection ) { if ( externalConnection == null ) { return ; } com.android.services.telephony.Log.i ( this , "onCallPullFailed - pull failed; swapping back to call: %s" , externalConnection ) ; sendConnectionEvent ( Connection.EVENT_CALL_PULL_FAILED , null ) ; setOriginalConnection ( externalConnection ) ; setActiveInternal ( ) ; }
Source:
public void testOnSetUpAdapterFailed ( ) throws java.lang.Exception { java.lang.String output = "android.hardware.foo@1.1::IFoo/default" ; doReturn ( output ) . when ( mDevice ) . executeShellCommand ( java.lang.String.format ( LIST_HAL_CMD , TEST_HAL_PACKAGE ) ) ; mCmdUtil.mCmdSuccess = false ; try { mPreparer.setUp ( mDevice , mBuildInfo ) ; } catch ( java.lang.RuntimeException e ) { org.junit.Assert.assertEquals ( "Hal adapter failed." , e.getMessage ( ) ) ; return ; } org.junit.Assert.fail ( ) ; }

Target:
public void testOnSetUpAdapterFailed ( ) throws java.lang.Exception { java.io.File testAdapter = new java.io.File ( mTestDir , ( ( VTS_NATIVE_TEST_DIR ) + ( TEST_HAL_ADAPTER_BINARY ) ) ) ; testAdapter.createNewFile ( ) ; java.lang.String output = "android.hardware.foo@1.1::IFoo/default" ; doReturn ( output ) . when ( mDevice ) . executeShellCommand ( java.lang.String.format ( LIST_HAL_CMD , TEST_HAL_PACKAGE ) ) ; mCmdUtil.mCmdSuccess = false ; try { mPreparer.setUp ( mDevice , mBuildInfo ) ; } catch ( com.android.tradefed.targetprep.TargetSetupError e ) { org.junit.Assert.assertEquals ( "HAL adapter failed." , e.getMessage ( ) ) ; return ; } org.junit.Assert.fail ( ) ; }
Source:
public void addAnnotation ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotationLiteral annotation ) { annotations.addAnnotation ( annotation ) ; }

Target:
public void addAnnotation ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotation annotation ) { annotations.addAnnotation ( annotation ) ; }
Source:
public void setApplicationEnabledSetting ( java.lang.String appPackageName , int newState , int flags , int userId ) { if ( ! ( com.android.server.pm.PackageManagerService.sUserManager.exists ( userId ) ) ) return ; setEnabledSetting ( appPackageName , null , newState , flags , userId ) ; }

Target:
private static boolean isPrivilegedApp ( android.content.pm.PackageParser.Package pkg ) { return ( ( pkg.applicationInfo.flags ) & ( android.content.pm.ApplicationInfo.FLAG_PRIVILEGED ) ) != 0 ; }
Source:
public boolean isRtl ( java.lang.String locale ) { return supports ( Capability.RTL ) ? mBridge.isRtl ( locale ) : false ; }

Target:
public boolean isRtl ( java.lang.String locale ) { return ( supports ( Features.RTL ) ) && ( mBridge.isRtl ( locale ) ) ; }
Source:
public com.android.ims.internal.IImsUt getUtInterface ( ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . getUtInterface ( mSlotId , mSupportedFeature ) ; } }

Target:
public com.android.ims.internal.IImsCallSession createCallSession ( int sessionId , com.android.ims.ImsCallProfile profile , com.android.ims.internal.IImsCallSessionListener listener ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . createCallSession ( mSlotId , mSupportedFeature , sessionId , profile , listener ) ; } }
Source:
public static void fail ( java.lang.String message ) { throw new java.lang.RuntimeException ( ( "AssertionFailedError msg:" + message ) ) ; }

Target:
public static void fail ( java.lang.String message ) { dot.junit.DxAbstractMain.fail ( message , null ) ; }
Source:
private void rebootDeviceAndWaitForRestart ( ) throws java.lang.Exception { com.android.timezone.xts.TimeZoneUpdateHostTest.log ( "Rebooting device" ) ; getDevice ( ) . rebootUntilOnline ( ) ; assertTrue ( getDevice ( ) . waitForBootComplete ( com.android.timezone.xts.TimeZoneUpdateHostTest.ALLOWED_BOOT_DELAY ) ) ; }

Target:
private void rebootDeviceAndWaitForRestart ( ) throws java.lang.Exception { com.android.timezone.xts.TimeZoneUpdateHostTest.log ( "Rebooting device" ) ; getDevice ( ) . reboot ( ) ; }
Source:
public void setSourceEntries ( @ javax.annotation.Nonnull java.util.List < java.io.File > sourceEntries ) { options.setInputSources ( sourceEntries ) ; }

Target:
public void setSourceEntries ( @ javax.annotation.Nonnull java.util.Collection < java.io.File > sourceEntries ) { options.setInputSources ( sourceEntries ) ; }
Source:
public synchronized void interrupt ( ) { if ( ( thread ) == null ) { throw new java.lang.IllegalStateException ( "not running" ) ; } thread.interrupt ( ) ; }

Target:
public synchronized void interrupt ( java.lang.Thread thread ) { if ( thread == null ) { throw new java.lang.IllegalStateException ( "not running" ) ; } thread.interrupt ( ) ; }
Source:
private void run ( @ javax.annotation.Nonnull com.android.jack.test.runtime.RuntimeTestInfo rti ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( rti ) . setSourceLevel ( SourceLevel.JAVA_8 ) . addProperty ( Options.ANDROID_MIN_API_LEVEL.getName ( ) , java.lang.String.valueOf ( AndroidApiLevel.ReleasedLevel.N.getLevel ( ) ) ) . compileAndRunTest ( ) ; }

Target:
private void run ( @ javax.annotation.Nonnull com.android.jack.test.runtime.RuntimeTestInfo rti ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( rti ) . setSourceLevel ( SourceLevel.JAVA_8 ) . setAndroidMinApiLevel ( java.lang.String.valueOf ( AndroidApiLevel.ReleasedLevel.N.getLevel ( ) ) ) . compileAndRunTest ( ) ; }
Source:
public void deregisterT3tIdentifier ( java.lang.String systemCode , java.lang.String nfcId2 ) { android.util.Log.d ( com.android.nfc.NfcService.TAG , "request to deregister LF_T3T_IDENTIFIER" ) ; byte [ ] t3tIdentifier = getT3tIdentifierBytes ( systemCode , nfcId2 ) ; sendMessage ( com.android.nfc.NfcService.MSG_DEREGISTER_T3T_IDENTIFIER , t3tIdentifier ) ; }

Target:
public void deregisterT3tIdentifier ( java.lang.String systemCode , java.lang.String nfcId2 , java.lang.String t3tPmm ) { android.util.Log.d ( com.android.nfc.NfcService.TAG , "request to deregister LF_T3T_IDENTIFIER" ) ; byte [ ] t3tIdentifier = getT3tIdentifierBytes ( systemCode , nfcId2 , t3tPmm ) ; sendMessage ( com.android.nfc.NfcService.MSG_DEREGISTER_T3T_IDENTIFIER , t3tIdentifier ) ; }
Source:
com.android.jack.test.toolchain.IToolchain setAnnotationProcessorClass ( @ javax.annotation.Nonnull java.lang.Class < ? extends javax.annotation.processing.Processor > annotationProcessorClass ) ;

Target:
com.android.jack.test.toolchain.IToolchain setAnnotationProcessorClasses ( @ javax.annotation.Nonnull java.util.List < java.lang.String > annotationProcessorClasses ) ;
Source:
public void attachEngine ( android.service.wallpaper.IWallpaperEngine engine ) { mEngine = engine ; }

Target:
public void attachEngine ( android.service.wallpaper.IWallpaperEngine engine ) { mEngine = engine ; if ( ( engine != null ) && ( mDesiredDimensionChanging ) ) { try { engine.setDesiredSize ( mWidth , mHeight ) ; mDesiredDimensionChanging = false ; } catch ( android.os.RemoteException e ) { } } }
Source:
private static org.w3c.dom.Document parse ( java.lang.String xml ) throws java.lang.Exception { return com.android.utils.XmlUtils.parseDocumentSilently ( xml , true ) ; }

Target:
private static org.w3c.dom.Document parse ( java.lang.String xml ) throws java.lang.Exception { org.w3c.dom.Document doc = com.android.utils.XmlUtils.parseDocumentSilently ( xml , true ) ; assertNotNull ( doc ) ; return doc ; }
Source:
public void setPlusSign ( char plus ) { plusSign = plus ; char [ ] plusArray = new char [ ] { plusSign } ; plusString = new java.lang.String ( plusArray ) ; }

Target:
public void setPlusSign ( char plus ) { this . plusSign = plus ; this . plusString = java.lang.String.valueOf ( plus ) ; }
Source:
public void loggedRun ( ) { if ( ( mIsRegistered ) && ( com.android.server.telecom.CreateConnectionTimeout.isCallBeingPlaced ( mCall ) ) ) { com.android.server.telecom.Log.i ( this , "run, call timed out, calling disconnect" ) ; mIsCallTimedOut = true ; mConnectionService.disconnect ( mCall ) ; } }

Target:
public void loggedRun ( ) { if ( ( mIsRegistered ) && ( com.android.server.telecom.CreateConnectionTimeout.isCallBeingPlaced ( mCall ) ) ) { android.telecom.Log.i ( this , "run, call timed out, calling disconnect" ) ; mIsCallTimedOut = true ; mConnectionService.disconnect ( mCall ) ; } }
Source:
public ScriptGroup2.Closure asyncLaunch ( android.renderscript.ScriptGroup2.Builder builder , java.lang.Object in , android.renderscript.Type outputType ) { return builder.addKernel ( getKernelID ( ) , outputType , in ) ; }

Target:
public ScriptGroup.Closure asyncLaunch ( android.renderscript.ScriptGroup.Builder2 builder , java.lang.Object in , android.renderscript.Type outputType ) { return builder.addKernel ( getKernelID ( ) , outputType , in ) ; }
Source:
public java.lang.Class < java.security.MessageDigest > getInstanciatedClass ( ) { return java.security.MessageDigest.class ; }

Target:
public java.lang.Class < java.security.MessageDigest > getInstantiatedClass ( ) { return java.security.MessageDigest.class ; }
Source:
public boolean isRunning ( ) { return ! ( nextStatus.isEmpty ( ) ) ; }

Target:
protected com.android.tradefed.util.VtsPythonRunnerHelper createVtsPythonRunnerHelper ( ) { return mVtsPythonRunnerHelper ; }
Source:
public void run ( ) { com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode uiNew = uiDoc.appendNewUiChild ( viewDesc ) ; uiNew.setAttributeValue ( LayoutConstants.ANDROID_NS_NAME , XmlnsAttributeDescriptor.XMLNS_URI , SdkConstants.NS_RESOURCES , true ) ; com.android.ide.eclipse.adt.internal.editors.descriptors.DescriptorsUtils.setDefaultLayoutAttributes ( uiNew , false ) ; uiNew.createXmlNode ( ) ; }

Target:
public void run ( ) { com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode uiNew = uiDoc.appendNewUiChild ( viewDesc ) ; uiNew.setAttributeValue ( XmlUtils.ANDROID_NS_NAME , XmlUtils.XMLNS_URI , SdkConstants.NS_RESOURCES , true ) ; com.android.ide.eclipse.adt.internal.editors.descriptors.DescriptorsUtils.setDefaultLayoutAttributes ( uiNew , false ) ; uiNew.createXmlNode ( ) ; }
Source:
public java.lang.String getNetworkCountryIsoForPhone ( int phoneId ) { return android.telephony.TelephonyManager.getTelephonyProperty ( phoneId , TelephonyProperties.PROPERTY_OPERATOR_ISO_COUNTRY , "" ) ; }

Target:
public java.lang.String getNetworkCountryIsoForPhone ( int phoneId ) { try { com.android.internal.telephony.ITelephony telephony = getITelephony ( ) ; if ( telephony != null ) return "" ; return telephony.getNetworkCountryIsoForPhone ( phoneId ) ; } catch ( android.os.RemoteException ex ) { return "" ; } }
Source:
public void mouseMoved ( java.awt.event.MouseEvent event ) { checkLockedRegion ( event.getX ( ) , event.getY ( ) ) ; updateHoverRegion ( event.getX ( ) , event.getY ( ) ) ; repaint ( ) ; }

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 boolean isConnected ( int callSessionType , int callType ) { isConnectedCalled = true ; return true ; }

Target:
public boolean isConnected ( int callSessinType , int callType ) { isConnectedCalled = true ; return true ; }
Source:
public java.lang.Object [ ] getElements ( java.lang.Object inputElement ) { if ( inputElement == ( this ) ) { java.lang.Package [ ] packages = mUpdaterData.getInstalledPackage ( ) ; if ( packages != null ) { return packages ; } } return new java.lang.Object [ 0 ] ; }

Target:
public java.lang.Object [ ] getElements ( java.lang.Object inputElement ) { if ( inputElement == ( this ) ) { java.lang.Package [ ] packages = mUpdaterData.getInstalledPackages ( ) ; if ( packages != null ) { return packages ; } } return new java.lang.Object [ 0 ] ; }
Source:
protected void onStop ( ) { finish ( ) ; super . onStop ( ) ; }

Target:
public void onCreate ( android.os.Bundle icicle ) { super . onCreate ( icicle ) ; mRS = android.renderscript.RenderScript.create ( this ) ; RSTC = new com.android.rs.test.RSTestCore ( this ) ; RSTC.init ( mRS , getResources ( ) ) ; }
Source:
protected void onPostHandleMessage ( android.os.Message msg ) { android.telecom.Log.endSession ( ) ; }

Target:
protected void onPostHandleMessage ( android.os.Message msg ) { android.telecom.Log.endSession ( ) ; if ( ( ( msg.obj ) != null ) && ( ( msg.obj ) instanceof com.android.internal.os.SomeArgs ) ) { ( ( com.android.internal.os.SomeArgs ) ( msg.obj ) ) . recycle ( ) ; } }
Source:
private com.android.ide.eclipse.adt.internal.resources.manager.ResourceFile getFile ( com.android.io.IAbstractFile file ) { if ( ( mFiles ) != null ) { for ( com.android.ide.eclipse.adt.internal.resources.manager.ResourceFile f : mFiles ) { if ( f.getFile ( ) . equals ( file ) ) { return f ; } } } return null ; }

Target:
private com.android.ide.common.resources.ResourceFile getFile ( com.android.io.IAbstractFile file ) { if ( ( mFiles ) != null ) { for ( com.android.ide.common.resources.ResourceFile f : mFiles ) { if ( f.getFile ( ) . equals ( file ) ) { return f ; } } } return null ; }
Source:
public void testLanguageLevelWhenCompilerPluginIsNotSpecified ( ) throws java.lang.Exception { importProject ( ( "<groupId>test</groupId>" + ( "<artifactId>project</artifactId>" + "<version>1</version>" ) ) ) ; assertModules ( "project" ) ; assertNull ( getLanguageLevelForModule ( ) ) ; }

Target:
public void testLanguageLevelWhenCompilerPluginIsNotSpecified ( ) throws java.lang.Exception { importProject ( ( "<groupId>test</groupId>" + ( "<artifactId>project</artifactId>" + "<version>1</version>" ) ) ) ; assertModules ( "project" ) ; assertEquals ( LanguageLevel.JDK_1_5 , getLanguageLevelForModule ( ) ) ; }
Source:
public void testCameraAppDisabled ( ) throws java.lang.Exception { if ( ( testFramework.getApi ( ) ) == 27 ) { return ; } enableSampleDeviceAdmin ( ) ; disableCamera ( ) ; gotoCameraApp ( ) ; org.junit.Assert.assertTrue ( verifyCameraAppDisabled ( ) ) ; }

Target:
public void testCameraAppDisabled ( ) throws java.lang.Exception { final android.support.test.uiautomator.UiDevice device = testFramework.getDevice ( ) ; enableSampleDeviceAdmin ( ) ; disableCamera ( ) ; gotoCameraApp ( ) ; new com.android.devtools.systemimage.uitest.watchers.CameraAccessPermissionsWatcher ( device ) . checkForCondition ( ) ; org.junit.Assert.assertTrue ( verifyCameraAppDisabled ( ) ) ; }
Source:
public static double $noinline$longToIntToDouble ( long value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( double ) ( ( int ) ( value ) ) ) ; }

Target:
public static long $noinline$longToIntToLong ( long value ) { return ( ( long ) ( ( int ) ( value ) ) ) ; }
Source:
public org.bouncycastle.pkcs.jcajce.JcePKCSPBEInputDecryptorProviderBuilder setProvider ( java.lang.String providerName ) { this . helper = new org.bouncycastle.jcajce.NamedJcaJceHelper ( providerName ) ; return this ; }

Target:
public org.bouncycastle.pkcs.jcajce.JcePKCSPBEInputDecryptorProviderBuilder setProvider ( java.lang.String providerName ) { this . helper = new org.bouncycastle.jcajce.util.NamedJcaJceHelper ( providerName ) ; return this ; }
Source:
private static native int ofImpl ( int codePoint ) ;

Target:
private static native int unicodeBlockForCodePoint ( int codePoint ) ;
Source:
public final void testPointPoint_Null ( ) { try { new com.android.ide.eclipse.adt.editors.layout.gscripts.Point ( null ) ; } catch ( java.lang.NullPointerException ignore ) { return ; } fail ( "new Point(null) failed to throew NullPointerException" ) ; }

Target:
public final void testPointPoint_Null ( ) { try { new com.android.ide.common.api.Point ( null ) ; } catch ( java.lang.NullPointerException ignore ) { return ; } fail ( "new Point(null) failed to throew NullPointerException" ) ; }
Source:
native void rsnAllocationData3D ( long con , long id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , long [ ] d , int sizeBytes ) ;

Target:
synchronized void nScriptSetVarJ ( long id , int slot , long val , boolean mUseInc ) { validate ( ) ; long curCon = mContext ; if ( mUseInc ) { curCon = mIncCon ; } rsnScriptSetVarJ ( curCon , id , slot , val , mUseInc ) ; }
Source:
public static com.android.builder.profile.Recorder get ( ) { return com.android.builder.profile.ThreadRecorder.recorder.get ( ) ; }

Target:
public < T > T record ( @ com.android.annotations.NonNull com.android.builder.profile.ExecutionType executionType , @ com.android.annotations.NonNull com.android.builder.profile.Block < T > block , com.android.builder.profile.Property ... properties ) { try { return block.call ( ) ; } catch ( java.lang.Exception e ) { block.handleException ( e ) ; } return null ; }
Source:
public void supplyPuk ( java.lang.String puk , java.lang.String newPin , android.os.Message onComplete ) { synchronized ( mLock ) { mCi.supplyIccPuk ( puk , newPin , onComplete ) ; } }

Target:
public void changeIccLockPassword ( java.lang.String oldPassword , java.lang.String newPassword , android.os.Message onComplete ) { synchronized ( mLock ) { if ( com.android.internal.telephony.uicc.UiccCardApplication.DBG ) log ( "changeIccLockPassword" ) ; mCi.changeIccPinForApp ( oldPassword , newPassword , mAid , mHandler.obtainMessage ( com.android.internal.telephony.uicc.UiccCardApplication.EVENT_CHANGE_PIN1_DONE , onComplete ) ) ; } }
Source:
public com.android.sdklib.internal.repository.DownloadCache getDownloadCache ( ) { if ( ( mDownloadCache ) == null ) { mDownloadCache = new com.android.sdklib.internal.repository.DownloadCache ( ( mSettingsController.getSettings ( ) . getUseDownloadCache ( ) ? DownloadCache.Strategy.FRESH_CACHE : DownloadCache.Strategy.DIRECT ) ) ; } return mDownloadCache ; }

Target:
public com.android.sdklib.internal.repository.DownloadCache getDownloadCache ( ) { if ( ( mDownloadCache ) == null ) { mDownloadCache = new com.android.sdklib.internal.repository.DownloadCache ( ( getSettingsController ( ) . getSettings ( ) . getUseDownloadCache ( ) ? DownloadCache.Strategy.FRESH_CACHE : DownloadCache.Strategy.DIRECT ) ) ; } return mDownloadCache ; }
Source:
public void freeCache ( java.lang.String uuid , long freeStorageSize ) throws com.android.internal.os.InstallerConnection.InstallerException { mInstaller.execute ( "freecache" , uuid , freeStorageSize ) ; }

Target:
public void freeCache ( java.lang.String uuid , long freeStorageSize ) throws com.android.internal.os.InstallerConnection.InstallerException { checkLock ( ) ; try { mInstalld.freeCache ( uuid , freeStorageSize ) ; } catch ( android.os.RemoteException | android.os.ServiceSpecificException e ) { throw new com.android.internal.os.InstallerConnection.InstallerException ( e.getMessage ( ) ) ; } }
Source:
abstract void socketClose0 ( ) throws java.io.IOException ;

Target:
abstract void socketClose0 ( boolean useDeferredClose ) throws java.io.IOException ;
Source:
public static void computeLog ( android.renderscript.cts.TestLog.ArgumentsFloatFloat args ) { args.ulf = 3 ; args.ulfRelaxed = 16 ; args.out = ( ( float ) ( java.lang.StrictMath.log ( args.in ) ) ) ; }

Target:
public static void computeLog ( android.renderscript.cts.TestLog.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.log ( args.in ) , 3 , 16 ) ; }
Source:
private void setUsbConfig ( java.lang.String config ) { if ( com.android.server.usb.UsbDeviceManager.DEBUG ) android.util.Slog.d ( com.android.server.usb.UsbDeviceManager.TAG , ( ( "setUsbConfig(" + config ) + ")" ) ) ; android.os.SystemProperties.set ( com.android.server.usb.UsbDeviceManager.USB_CONFIG_PROPERTY , config ) ; }

Target:
private void setUsbConfig ( java.lang.String config ) { if ( com.android.server.usb.UsbDeviceManager.DEBUG ) android.util.Slog.d ( com.android.server.usb.UsbDeviceManager.TAG , ( ( "setUsbConfig(" + config ) + ")" ) ) ; android.os.SystemProperties.set ( com.android.server.usb.UsbDeviceManager.UsbHandlerLegacy.USB_CONFIG_PROPERTY , config ) ; }
Source:
public void close ( ) { allocationSite = null ; }

Target:
public void close ( ) { dalvik.system.CloseGuard.currentTracker.close ( allocationSite ) ; allocationSite = null ; }
Source:
public final double readDouble ( ) { return android.os.Parcel.nativeReadDouble ( mNativePtr ) ; }

Target:
public final float readFloat ( ) { return android.os.Parcel.nativeReadFloat ( mNativePtr ) ; }
Source:
public void run ( ) { mActivity.addContentView ( button , new android.widget.LinearLayout.LayoutParams ( WRAP_CONTENT , WRAP_CONTENT ) ) ; }

Target:
public void run ( ) { mActivity.addContentView ( button , new android.widget.LinearLayout.LayoutParams ( WRAP_CONTENT , btnHeight ) ) ; }
Source:
public static < K , V > org.hamcrest.org.hamcrest.Matcher < java.util.Map < K , V > > hasValue ( org.hamcrest.org.hamcrest.Matcher < V > valueMatcher ) { return org.hamcrest.collection.IsMapContaining.hasValue ( valueMatcher ) ; }

Target:
public static < K , V > org.hamcrest.org.hamcrest.Matcher < java.util.Map < ? extends K , ? extends V > > aMapWithSize ( int size ) { return org.hamcrest.collection.IsMapWithSize.< K , V > aMapWithSize ( size ) ; }
Source:
private void createOrUpdateAll ( android.content.Context context ) { createOrUpdateChannel ( context , com.android.server.telecom.ui.NotificationChannelManager.CHANNEL_ID_MISSED_CALLS ) ; createOrUpdateChannel ( context , com.android.server.telecom.ui.NotificationChannelManager.CHANNEL_ID_INCOMING_CALLS ) ; }

Target:
private void createOrUpdateAll ( android.content.Context context ) { createOrUpdateChannel ( context , com.android.server.telecom.ui.NotificationChannelManager.CHANNEL_ID_MISSED_CALLS ) ; createOrUpdateChannel ( context , com.android.server.telecom.ui.NotificationChannelManager.CHANNEL_ID_INCOMING_CALLS ) ; createOrUpdateChannel ( context , com.android.server.telecom.ui.NotificationChannelManager.CHANNEL_ID_CALL_BLOCKING ) ; }
Source:
private static void tagClasses ( art.Test913.Verifier v ) { art.Test913.setTag ( art.Test913.A.class , 1000 ) ; art.Test913.setTag ( art.Test913.B.class , 1001 ) ; v.add ( "1001@0" , "1000@0" ) ; art.Test913.setTag ( art.Test913.C.class , 1002 ) ; v.add ( "1002@0" , "1001@0" ) ; v.add ( "1002@0" , "2001@0" ) ; art.Test913.setTag ( art.Test913.I1.class , 2000 ) ; art.Test913.setTag ( art.Test913.I2.class , 2001 ) ; v.add ( "2001@0" , "2000@0" ) ; }

Target:
private static void tagClasses ( art.Test913.Verifier v ) { art.Test913.setTag ( art.Test913.A.class , 1000 ) ; art.Test913.registerClass ( 1000 , art.Test913.A.class ) ; art.Test913.setTag ( art.Test913.B.class , 1001 ) ; art.Test913.registerClass ( 1001 , art.Test913.B.class ) ; v.add ( "1001@0" , "1000@0" ) ; art.Test913.setTag ( art.Test913.C.class , 1002 ) ; art.Test913.registerClass ( 1002 , art.Test913.C.class ) ; v.add ( "1002@0" , "1001@0" ) ; v.add ( "1002@0" , "2001@0" ) ; art.Test913.setTag ( art.Test913.I1.class , 2000 ) ; art.Test913.registerClass ( 2000 , art.Test913.I1.class ) ; art.Test913.setTag ( art.Test913.I2.class , 2001 ) ; art.Test913.registerClass ( 2001 , art.Test913.I2.class ) ; v.add ( "2001@0" , "2000@0" ) ; }
Source:
protected void onNewIntent ( android.content.Intent intent ) { super . onNewIntent ( intent ) ; activePeer.onNewIntent ( intent ) ; }

Target:
protected void onNewIntent ( android.content.Intent intent ) { super . onNewIntent ( intent ) ; setIntent ( intent ) ; activePeer.onNewIntent ( intent ) ; }
Source:
public java.util.List < android.bluetooth.BluetoothDevice > getDevicesMatchingConnectionStates ( int [ ] states ) { com.android.bluetooth.hearingaid.HearingAidService service = getService ( ) ; if ( service == null ) { return new java.util.ArrayList < android.bluetooth.BluetoothDevice > ( 0 ) ; } return service.getDevicesMatchingConnectionStates ( states ) ; }

Target:
public java.util.List < android.bluetooth.BluetoothDevice > getConnectedDevices ( ) { com.android.bluetooth.hearingaid.HearingAidService service = getService ( ) ; if ( service == null ) { return new java.util.ArrayList < > ( ) ; } return service.getConnectedDevices ( ) ; }
Source:
public vogar.commands.VmCommandBuilder env ( java.lang.String key , java.lang.String value ) { this . env.put ( key , value ) ; return this ; }

Target:
public vogar.commands.VmCommandBuilder workingDirectory ( java.io.File workingDirectory ) { this . workingDirectory = workingDirectory ; return this ; }
Source:
public void onCommand ( java.lang.String command , android.os.Bundle args , android.os.ResultReceiver cb ) { android.util.Log.d ( com.android.bluetooth.a2dpsink.mbs.A2dpMediaBrowserService.TAG , ( ( ( "onCommand command=" + command ) + " args=" ) + args ) ) ; }

Target:
public void onFastForward ( ) { android.util.Log.d ( com.android.bluetooth.a2dpsink.mbs.A2dpMediaBrowserService.TAG , "onFastForward" ) ; mAvrcpCommandQueue.obtainMessage ( com.android.bluetooth.a2dpsink.mbs.A2dpMediaBrowserService.MSG_AVRCP_PASSTHRU , AvrcpControllerService.PASS_THRU_CMD_ID_FF ) . sendToTarget ( ) ; }
Source:
private static libcore.io.MemoryMappedFile mapData ( ) { try { java.lang.String path = ( java.lang.System.getenv ( "ANDROID_ROOT" ) ) + "/usr/share/zoneinfo/tzdata" ; return libcore.io.MemoryMappedFile.mmapRO ( path ) ; } catch ( libcore.io.ErrnoException errnoException ) { throw new java.lang.AssertionError ( errnoException ) ; } }

Target:
private static libcore.io.MemoryMappedFile mapData ( java.lang.String directory ) { try { return libcore.io.MemoryMappedFile.mmapRO ( ( directory + "tzdata" ) ) ; } catch ( libcore.io.ErrnoException errnoException ) { return null ; } }
Source:
public java.util.Map < java.lang.String , java.util.Map < java.lang.String , com.android.layoutlib.api.ResourceValue > > getFrameworkResources ( ) { return mFrameworkResources ; }

Target:
public java.util.Map < java.lang.String , java.util.Map < java.lang.String , com.android.ide.common.rendering.api.ResourceValue > > getFrameworkResources ( ) { return mFrameworkResources ; }
Source:
public static void computeMin ( android.renderscript.cts.TestMin.ArgumentsUlongUlongUlong args ) { args.out = android.renderscript.cts.CoreMathVerifier.minU64 ( args.inV1 , args.inV2 ) ; }

Target:
public static void computeMin ( android.renderscript.cts.TestMin.ArgumentsUlongUlongUlong args ) { args.out = android.renderscript.cts.CoreMathVerifier.minU64 ( args.inA , args.inB ) ; }
Source:
public void breakpointLong ( long param ) { logWriter.println ( ( ( "breakpointLong(param=" + param ) + ")" ) ) ; }

Target:
public void breakpointLong ( long param ) { logWriter.println ( ( ( "breakpointLong(param=" + param ) + ")" ) ) ; synchronizeWithTest ( ) ; }
Source:
public void testCommit2 ( ) throws java.lang.Exception { assertEquals ( ( "" + "No warnings." ) , lintProject ( "apicheck/classpath=>.classpath" , "apicheck/minsdk4.xml=>AndroidManifest.xml" , "project.properties1=>project.properties" , "bytecode/DialogFragment.class.data=>bin/classes/test/pkg/DialogFragment.class" ) ) ; }

Target:
public void testCommit2 ( ) throws java.lang.Exception { assertEquals ( ( "" + "No warnings." ) , lintProject ( "apicheck/classpath=>.classpath" , "apicheck/minsdk4.xml=>AndroidManifest.xml" , "project.properties19=>project.properties" , "bytecode/DialogFragment.class.data=>bin/classes/test/pkg/DialogFragment.class" , "appcompat/Fragment.java.txt=>src/android/support/v4/app/Fragment.java" , "appcompat/DialogFragment.java.txt=>src/android/support/v4/app/DialogFragment.java" , "appcompat/FragmentTransaction.java.txt=>src/android/support/v4/app/FragmentTransaction.java" , "appcompat/FragmentManager.java.txt=>src/android/support/v4/app/FragmentManager.java" ) ) ; }
Source:
protected void finalize ( ) { if ( mPartialWakeLock.isHeld ( ) ) { android.util.Log.e ( com.android.internal.telephony.cdma.CdmaConnection.LOG_TAG , "[CdmaConn] UNEXPECTED; mPartialWakeLock is held when finalizing." ) ; } releaseWakeLock ( ) ; }

Target:
protected void finalize ( ) { if ( mPartialWakeLock.isHeld ( ) ) { android.telephony.Rlog.e ( com.android.internal.telephony.cdma.CdmaConnection.LOG_TAG , "[CdmaConn] UNEXPECTED; mPartialWakeLock is held when finalizing." ) ; } releaseWakeLock ( ) ; }
Source:
public void setClientSize ( int clientSize ) { mClientSize = clientSize ; resizeScrollbar ( ) ; }

Target:
public void setClientSize ( int clientSize ) { mClientSize = clientSize ; mScrollbar.setPageIncrement ( clientSize ) ; resizeScrollbar ( ) ; }
Source:
private com.android.jack.ir.ast.JAnnotation getJAnnotation ( @ javax.annotation.Nonnull java.lang.Class < ? extends java.lang.annotation.Annotation > clazz ) { java.lang.String signature = com.android.jack.util.NamingTools.getTypeSignatureName ( clazz.getName ( ) ) ; return com.android.jack.Jack.getSession ( ) . getPhantomLookup ( ) . getAnnotation ( signature ) ; }

Target:
private com.android.jack.ir.ast.JAnnotationType getJAnnotationType ( @ javax.annotation.Nonnull java.lang.Class < ? extends java.lang.annotation.Annotation > clazz ) { java.lang.String signature = com.android.jack.util.NamingTools.getTypeSignatureName ( clazz.getName ( ) ) ; return com.android.jack.Jack.getSession ( ) . getPhantomLookup ( ) . getAnnotationType ( signature ) ; }
Source:
public com.android.builder.AaptRunner getAaptRunner ( ) { return new com.android.builder.AaptRunner ( mSdkParser.getAapt ( ) . getAbsolutePath ( ) , mCmdLineRunner ) ; }

Target:
public com.android.builder.AaptRunner getAaptRunner ( ) { return new com.android.builder.AaptRunner ( mBuildTools.getPath ( BuildToolInfo.PathId.AAPT ) , mCmdLineRunner ) ; }
Source:
public void removeTypeToEmit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) { boolean removed = typesToEmit.remove ( type ) ; assert removed ; }

Target:
public void removeTypeToEmit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) { boolean removed = typesToEmit.remove ( type ) ; assert removed ; type.setToEmit ( false ) ; }
Source:
public void visitRuntimeInvisibleAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.RuntimeInvisibleAnnotationsAttribute runtimeInvisibleAnnotationsAttribute ) { if ( ( runtimeInvisibleAnnotationsAttribute.u2annotationsCount ) > 0 ) { runtimeInvisibleAnnotationsAttribute.accept ( clazz , attributeVisitor ) ; } }

Target:
public void visitRuntimeVisibleAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute ) { if ( ( runtimeVisibleAnnotationsAttribute.u2annotationsCount ) > 0 ) { attributeVisitor.visitRuntimeVisibleAnnotationsAttribute ( clazz , method , runtimeVisibleAnnotationsAttribute ) ; } }
Source:
public native double getDouble ( java.lang.Object object ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
public short getShort ( java.lang.Object object ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException { return getShort ( object , isAccessible ( ) ) ; }
Source:
public static com.android.ide.eclipse.adt.internal.resources.ResourceDeltaKind getResourceDeltaKind ( int kind ) { switch ( kind ) { case org.eclipse.core.resources.IResourceDelta.ADDED : return ResourceDeltaKind.ADDED ; case org.eclipse.core.resources.IResourceDelta.REMOVED : return ResourceDeltaKind.REMOVED ; case org.eclipse.core.resources.IResourceDelta.CHANGED : return ResourceDeltaKind.CHANGED ; } return null ; }

Target:
public static com.android.ide.common.resources.ResourceDeltaKind getResourceDeltaKind ( int kind ) { switch ( kind ) { case org.eclipse.core.resources.IResourceDelta.ADDED : return com.android.ide.common.resources.ResourceDeltaKind.ADDED ; case org.eclipse.core.resources.IResourceDelta.REMOVED : return com.android.ide.common.resources.ResourceDeltaKind.REMOVED ; case org.eclipse.core.resources.IResourceDelta.CHANGED : return com.android.ide.common.resources.ResourceDeltaKind.CHANGED ; } return null ; }
Source:
public void testQuote ( ) { org.junit.Assert.assertFalse ( new org.jacoco.core.matcher.WildcardMatcher ( "rst.xyz" ) . apply ( "rstAxyz" ) ) ; org.junit.Assert.assertTrue ( new org.jacoco.core.matcher.WildcardMatcher ( "(x)+" ) . apply ( "(x)+" ) ) ; }

Target:
public void testQuote ( ) { org.junit.Assert.assertFalse ( new org.jacoco.core.matcher.WildcardMatcher ( "rst.xyz" ) . matches ( "rstAxyz" ) ) ; org.junit.Assert.assertTrue ( new org.jacoco.core.matcher.WildcardMatcher ( "(x)+" ) . matches ( "(x)+" ) ) ; }
Source:
public abstract byte [ ] getEncoded ( java.lang.String encoding ) throws java.security.cert.CertificateEncodingException ;

Target:
public abstract byte [ ] getEncoded ( java.lang.String charsetName ) throws java.security.cert.CertificateEncodingException ;
Source:
synchronized void nScriptSetVarV ( int id , int slot , byte [ ] val ) { validate ( ) ; rsnScriptSetVarV ( mContext , id , slot , val ) ; }

Target:
synchronized void nScriptSetVarVE ( long id , int slot , byte [ ] val , long e , int [ ] dims ) { validate ( ) ; rsnScriptSetVarVE ( mContext , id , slot , val , e , dims ) ; }
Source:
public static void startExternalSession ( android.telecom.Logging.Session.Info sessionInfo , java.lang.String shortMethodName ) { android.telecom.Log.getSessionManager ( ) . startExternalSession ( sessionInfo , shortMethodName ) ; }

Target:
public static void startSession ( android.telecom.Logging.Session.Info info , java.lang.String shortMethodName ) { android.telecom.Log.getSessionManager ( ) . startSession ( info , shortMethodName , null ) ; }
Source:
public void testEventNorm ( ) throws java.lang.Throwable { android.hardware.cts.helpers.sensorTestOperations.VerifyNormOperation operation = new android.hardware.cts.helpers.sensorTestOperations.VerifyNormOperation ( this . getContext ( ) , mSensorType , mSamplingRateInUs , mReferenceValue , mThreshold ) ; operation.execute ( ) ; }

Target:
public void testEventNorm ( ) throws java.lang.Throwable { android.hardware.cts.helpers.sensorTestOperations.VerifyMagnitudeOperation operation = new android.hardware.cts.helpers.sensorTestOperations.VerifyMagnitudeOperation ( this . getContext ( ) , mSensorType , mSamplingRateInUs , mReferenceValue , mThreshold ) ; operation.execute ( ) ; }
Source:
public static void main ( java.lang.String [ ] args ) { StackWalk2 st = new StackWalk2 ( ) ; st.f ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { java.lang.System.loadLibrary ( args [ 0 ] ) ; StackWalk2 st = new StackWalk2 ( ) ; st.f ( ) ; }
Source:
public static java.lang.String getDebugKeystore ( ) throws com.android.builder.packaging.PackagerException { try { return com.android.sdklib.internal.build.DebugKeyProvider.getDefaultKeyStoreOsPath ( ) ; } catch ( java.lang.Exception e ) { throw new com.android.builder.packaging.PackagerException ( e , e.getMessage ( ) ) ; } }

Target:
public static java.lang.String getDebugKeystore ( ) throws com.android.builder.packaging.PackagerException { try { return com.android.builder.internal.signing.DebugKeyProvider.getDefaultKeyStoreOsPath ( ) ; } catch ( java.lang.Exception e ) { throw new com.android.builder.packaging.PackagerException ( e , e.getMessage ( ) ) ; } }
Source:
public java.io.File getSdkJar ( java.lang.String jarPath ) { final java.lang.String fullJarPath = ( mySdkPath ) + jarPath ; java.io.File sdkJar = new java.io.File ( com.intellij.openapi.util.io.FileUtil.toSystemDependentName ( fullJarPath ) ) ; if ( sdkJar.exists ( ) ) { return sdkJar ; } return null ; }

Target:
public java.io.File getSdkFile ( java.lang.String filePath ) { final java.lang.String fullJarPath = ( mySdkPath ) + filePath ; java.io.File sdkJar = new java.io.File ( com.intellij.openapi.util.io.FileUtil.toSystemDependentName ( fullJarPath ) ) ; if ( sdkJar.exists ( ) ) { return sdkJar ; } return null ; }
Source:
private void assertNoUseInfo ( com.android.server.pm.dex.DexManagerTests.TestData testData ) { org.junit.Assert.assertFalse ( mDexManager.hasInfoOnPackage ( testData.mPackageInfo.packageName ) ) ; }

Target:
private com.android.server.pm.dex.PackageDexUsage.PackageUseInfo getPackageUseInfo ( com.android.server.pm.dex.DexManagerTests.TestData testData ) { org.junit.Assert.assertTrue ( mDexManager.hasInfoOnPackage ( testData.getPackageName ( ) ) ) ; return mDexManager.getPackageUseInfoOrDefault ( testData.getPackageName ( ) ) ; }
Source:
public static void computeHypot ( android.renderscript.cts.TestHypot.ArgumentsFloatFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( 4 , 4 , false ) ; args.out = android.renderscript.cts.CoreMathVerifier.hypot ( args.inX , args.inY , t ) ; }

Target:
public static void computeHypot ( android.renderscript.cts.TestHypot.ArgumentsFloatFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( 4 , 4 , false ) ; args.out = android.renderscript.cts.CoreMathVerifier.hypot ( args.inA , args.inB , t ) ; }
Source:
public static int openContentUriForRead ( android.content.Context context , java.lang.String uriString ) { android.os.ParcelFileDescriptor pfd = org.chromium.base.ContentUriUtils.getParcelFileDescriptor ( context , uriString ) ; if ( pfd != null ) { return pfd.detachFd ( ) ; } return - 1 ; }

Target:
public static int openContentUriForRead ( android.content.Context context , java.lang.String uriString ) { android.content.res.AssetFileDescriptor afd = org.chromium.base.ContentUriUtils.getAssetFileDescriptor ( context , uriString ) ; if ( afd != null ) { return afd.getParcelFileDescriptor ( ) . detachFd ( ) ; } return - 1 ; }
Source:
void getNeighboringCids ( android.os.Message response ) ;

Target:
default void getNeighboringCids ( android.os.Message response , android.os.WorkSource workSource ) { }
Source:
public void testMD5 ( ) throws java.lang.Exception { org.conscrypt.ChainStrengthAnalyzerTest.assertBad ( org.conscrypt.ChainStrengthAnalyzerTest.MD5_PEM , "Weak hash check did not fail as expected" ) ; }

Target:
public void testMD5 ( ) throws java.lang.Exception { org.conscrypt.ChainStrengthAnalyzerTest.assertBad ( org.conscrypt.ChainStrengthAnalyzerTest.MD5_RSA_PEM , "Weak hash check did not fail as expected" ) ; }
Source:
void stateLogI ( java.lang.String msg ) { logi ( ( ( ( getName ( ) ) + ": " ) + msg ) ) ; }

Target:
void stateLogD ( java.lang.String msg ) { log ( ( ( ( ( ( getName ( ) ) + ": currentDevice=" ) + ( mDevice ) ) + ", msg=" ) + msg ) ) ; }
Source:
abstract com.google.common.collect.SortedMultiset < E > multiset ( ) ;

Target:
final com.google.common.collect.SortedMultiset < E > multiset ( ) { return multiset ; }
Source:
public void testVFE7 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.aput_boolean.d.T_aput_boolean_9" ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testE3 ( ) { loadAndRun ( "dot.junit.opcodes.aput_boolean.d.T_aput_boolean_1" , java.lang.ArrayIndexOutOfBoundsException.class , new boolean [ 2 ] , ( - 1 ) , true ) ; }