auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void setDataEnabled ( boolean enable ) { setDataEnabled ( getSubId ( android.telephony.SubscriptionManager.getDefaultDataSubscriptionId ( ) ) , enable ) ; }

Target:
public void setDataEnabled ( boolean enable ) { setUserMobileDataEnabled ( enable ) ; }
Source:
public static com.android.manifmerger.Actions load ( java.io.InputStream inputStream ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { return com.android.manifmerger.Actions.load ( new com.android.utils.PositionXmlParser ( ) . parse ( inputStream ) ) ; }

Target:
public static com.android.manifmerger.Actions load ( java.io.InputStream inputStream ) throws java.io.IOException { return com.android.manifmerger.Actions.getGsonParser ( ) . fromJson ( new java.io.InputStreamReader ( inputStream ) , com.android.manifmerger.Actions.class ) ; }
Source:
public void copy2DRangeFrom ( int xoff , int yoff , int w , int h , long [ ] data ) { validateIsInt64 ( ) ; copy2DRangeFromUnchecked ( xoff , yoff , w , h , data ) ; }

Target:
public void copy1DRangeFromUnchecked ( int off , int count , float [ ] d ) { copy1DRangeFromUnchecked ( off , count , ( ( java.lang.Object ) ( d ) ) , Element.DataType.FLOAT_32 , d.length ) ; }
Source:
public com.android.ims.internal.IImsCallSession createCallSession ( int sessionId , com.android.ims.ImsCallProfile profile , com.android.ims.internal.IImsCallSessionListener listener ) { return null ; }

Target:
public void endSession ( int sessionId ) { }
Source:
public final com.android.tools.perflib.heap.Instance getInstance ( long id ) { return mInstances.get ( id ) ; }

Target:
public final void addInstance ( long id , com.android.tools.perflib.heap.Instance instance ) { mInstances.put ( id , instance ) ; }
Source:
public com.google.common.collect.ImmutableSortedMap.Builder < K , V > put ( K key , V value ) { entries.add ( com.google.common.collect.ImmutableMap.entryOf ( key , value ) ) ; return this ; }

Target:
public com.google.common.collect.ImmutableSortedMap.Builder < K , V > putAll ( java.util.Map < ? extends K , ? extends V > map ) { super . putAll ( map ) ; return this ; }
Source:
public void xmlParsing_missingCountryCode ( ) throws java.lang.Exception { libcore.util.TimeZoneFinderTest.checkValidateThrowsParserException ( ( "<timezones>\n" + ( ( ( ( ( " <countryzones>\n" + " <country>\n" ) + " <id>Europe/London</id>\n" ) + " </country>\n" ) + " </countryzones>\n" ) + "</timezones>\n" ) ) ) ; }

Target:
public void xmlParsing_missingCountryCode ( ) throws java.lang.Exception { libcore.util.TimeZoneFinderTest.checkValidateThrowsParserException ( ( "<timezones ianaversion=\"2017b\">\n" + ( ( ( ( ( " <countryzones>\n" + " <country>\n" ) + " <id>Europe/London</id>\n" ) + " </country>\n" ) + " </countryzones>\n" ) + "</timezones>\n" ) ) ) ; }
Source:
public void testNetdDomain ( ) throws com.android.tradefed.device.DeviceNotAvailableException { assertDomainOne ( "u:r:netd:s0" , "/system/bin/netd" ) ; }

Target:
public void testNetdDomain ( ) throws com.android.tradefed.device.DeviceNotAvailableException { assertDomainN ( "u:r:netd:s0" , "/system/bin/netd" , "/system/bin/iptables-restore" , "/system/bin/ip6tables-restore" ) ; }
Source:
public libcore.util.ZoneInfoTestHelper.TzDataBuilder clearZicData ( ) { zicData.clear ( ) ; return this ; }

Target:
public libcore.tzdata.testing.ZoneInfoTestHelper.TzDataBuilder clearZicData ( ) { zicData.clear ( ) ; return this ; }
Source:
public void setPlusSign ( char plus ) { plusSign = plus ; char [ ] plusArray = new char [ ] { plusSign } ; plusString = new java.lang.String ( plusArray ) ; }

Target:
public void setMonetaryGroupingSeparator ( char sep ) { this . monetaryGroupingSeparator = sep ; this . monetaryGroupingSeparatorString = java.lang.String.valueOf ( sep ) ; }
Source:
void getCellInfoList ( android.os.Message result ) ;

Target:
default void getCellInfoList ( android.os.Message result , android.os.WorkSource workSource ) { }
Source:
public int first ( ) { return libcore.icu.NativeBreakIterator.firstImpl ( this . address ) ; }

Target:
public int current ( ) { return libcore.icu.NativeBreakIterator.currentImpl ( this . address , this . string ) ; }
Source:
public void finish ( ) { com.android.cts.verifier.managedprovisioning.Utils.requestDeleteManagedProfile ( this ) ; enableComponent ( PackageManager.COMPONENT_ENABLED_STATE_DEFAULT ) ; super . finish ( ) ; }

Target:
public void finish ( ) { mByodFlowTestHelper.tearDown ( ) ; super . finish ( ) ; }
Source:
public int hashCode ( ) { return ( address.hashCode ( ) ) + ( 11 * ( prefixLength ) ) ; }

Target:
public int hashCode ( ) { return ( ( ( address.hashCode ( ) ) + ( 11 * ( prefixLength ) ) ) + ( 19 * ( flags ) ) ) + ( 43 * ( scope ) ) ; }
Source:
native void rsnAllocationData2D ( long con , long id , int xoff , int yoff , int mip , int face , int w , int h , short [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationData3D ( long con , long id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , java.lang.Object d , int sizeBytes , int dt , int mSize , boolean usePadding ) ;
Source:
void setBody ( com.google.mockwebserver.MockResponse response , byte [ ] content , int chunkSize ) { }

Target:
void setBody ( com.google.mockwebserver.MockResponse response , byte [ ] content , int chunkSize ) throws java.io.IOException { response.setChunkedBody ( content , chunkSize ) ; }
Source:
com.android.build.gradle.managed.FilePattern getCFilePattern ( ) ;

Target:
java.util.List < java.lang.String > getLdLibs ( ) ;
Source:
public void startNetworkScan ( android.os.Message result ) { unimplemented ( result ) ; }

Target:
public void startNetworkScan ( android.telephony.NetworkScanRequest nsr , android.os.Message result ) { unimplemented ( result ) ; }
Source:
public void fetchCalls ( ) { callLogQueryHandler.fetchCalls ( callTypeFilter , dateLimit ) ; if ( ! ( isCallLogActivity ) ) { ( ( com.android.dialer.app.list.ListsFragment ) ( getParentFragment ( ) ) ) . updateTabUnreadCounts ( ) ; } }

Target:
public void fetchCalls ( ) { callLogQueryHandler.fetchCalls ( callTypeFilter , dateLimit ) ; if ( ! ( isCallLogActivity ) ) { com.android.dialer.common.FragmentUtils.getParentUnsafe ( this , com.android.dialer.app.calllog.CallLogFragment.CallLogFragmentListener.class ) . updateTabUnreadCounts ( ) ; } }
Source:
public void onClick ( android.view.View v ) { v.announceForAccessibility ( mContext.getString ( R.string.accessibility_notification_dismissed ) ) ; performRemoveNotification ( n , false ) ; }

Target:
public void onClick ( android.view.View v ) { v.announceForAccessibility ( mContext.getString ( R.string.accessibility_notification_dismissed ) ) ; performRemoveNotification ( row.getStatusBarNotification ( ) , false ) ; }
Source:
public com.android.sdkuilib.internal.repository.sdkman2.PackageLoader getPackageLoader ( ) { if ( ( mPackageLoader ) == null ) { mPackageLoader = new com.android.sdkuilib.internal.repository.sdkman2.PackageLoader ( this ) ; } return mPackageLoader ; }

Target:
public com.android.sdkuilib.internal.repository.core.PackageLoader getPackageLoader ( ) { if ( ( mPackageLoader ) == null ) { mPackageLoader = new com.android.sdkuilib.internal.repository.core.PackageLoader ( this ) ; } return mPackageLoader ; }
Source:
public boolean isCompatible ( ) { return ( getOs ( ) . isCompatible ( ) ) && ( getArch ( ) . isCompatible ( ) ) ; }

Target:
public boolean isCompatible ( ) { com.android.sdklib.internal.repository.archives.ArchFilter current = com.android.sdklib.internal.repository.archives.ArchFilter.getCurrent ( ) ; return mArchFilter.isCompatibleWith ( current ) ; }
Source:
protected void onPostExecute ( java.lang.Void result ) { beginTraceSection ( "ResourceExtractor.ExtractTask.onPostExecute" ) ; try { onPostExecuteImpl ( ) ; } finally { endTraceSection ( ) ; } }

Target:
protected void onPostExecute ( java.lang.Void result ) { org.chromium.base.TraceEvent.begin ( "ResourceExtractor.ExtractTask.onPostExecute" ) ; try { onPostExecuteImpl ( ) ; } finally { org.chromium.base.TraceEvent.end ( "ResourceExtractor.ExtractTask.onPostExecute" ) ; } }
Source:
public void setCleartextTrafficPermitted ( boolean permitted ) { libcore.net.NetworkSecurityPolicy.setCleartextTrafficPermitted ( permitted ) ; }

Target:
public void setCleartextTrafficPermitted ( boolean permitted ) { android.security.FrameworkNetworkSecurityPolicy policy = new android.security.FrameworkNetworkSecurityPolicy ( permitted ) ; libcore.net.NetworkSecurityPolicy.setInstance ( policy ) ; }
Source:
private static void setFlagValue ( com.google.devtools.common.options.OptionsParser parser , java.lang.String flagName , java.lang.String flagValue ) throws com.google.devtools.common.options.OptionsParsingException { parser.parseWithSourceFunction ( OptionPriority.INVOCATION_POLICY , com.google.devtools.common.options.InvocationPolicyEnforcer.INVOCATION_POLICY_SOURCE , com.google.common.collect.ImmutableList.of ( java.lang.String.format ( "--%s=%s" , flagName , flagValue ) ) ) ; }

Target:
private static void setFlagValue ( com.google.devtools.common.options.OptionsParser parser , com.google.devtools.common.options.OptionDefinition flag , java.lang.String flagValue ) throws com.google.devtools.common.options.OptionsParsingException { parser.parseWithSourceFunction ( OptionPriority.INVOCATION_POLICY , com.google.devtools.common.options.InvocationPolicyEnforcer.INVOCATION_POLICY_SOURCE , com.google.common.collect.ImmutableList.of ( java.lang.String.format ( "--%s=%s" , flag.getOptionName ( ) , flagValue ) ) ) ; }
Source:
public android.security.KeyStoreParameter build ( ) { return new android.security.KeyStoreParameter ( mFlags , mKeyValidityStart , mKeyValidityForOriginationEnd , mKeyValidityForConsumptionEnd , mPurposes , mPaddings , mDigests , mBlockModes , mUserAuthenticators , mUserAuthenticationValidityDurationSeconds ) ; }

Target:
public android.security.KeyStoreParameter build ( ) { return new android.security.KeyStoreParameter ( mFlags , mKeyValidityStart , mKeyValidityForOriginationEnd , mKeyValidityForConsumptionEnd , mPurposes , mPaddings , mDigests , mBlockModes , mRandomizedEncryptionRequired , mUserAuthenticators , mUserAuthenticationValidityDurationSeconds ) ; }
Source:
public void setClasspath ( @ javax.annotation.Nonnull java.util.List < java.io.File > arg0 ) throws com.android.jack.api.v01.ConfigurationException { }

Target:
public void setClasspath ( @ javax.annotation.Nonnull java.util.List < java.io.File > classpath ) { options.setClasspath ( com.google.common.base.Joiner.on ( java.io.File.pathSeparator ) . join ( classpath ) ) ; }
Source:
public void error ( java.lang.String message ) { com.android.ide.eclipse.adt.AdtPlugin.printErrorToConsole ( mEditedFile.getName ( ) , message ) ; }

Target:
public void error ( java.lang.String tag , java.lang.String message ) { com.android.ide.eclipse.adt.AdtPlugin.printErrorToConsole ( mEditedFile.getName ( ) , message ) ; }
Source:
public int registerStateCallback ( android.telephony.mbms.DownloadRequest downloadRequest , android.telephony.mbms.DownloadStateCallback listener ) throws android.os.RemoteException { return android.telephony.mbms.MbmsErrors.SUCCESS ; }

Target:
public int registerStateCallback ( android.telephony.mbms.DownloadRequest downloadRequest , android.telephony.mbms.DownloadStateCallback listener ) throws android.os.RemoteException { mDownloadStateCallback = listener ; return android.telephony.mbms.MbmsErrors.SUCCESS ; }
Source:
public synchronized void setBlockNetworkImage ( boolean flag ) { if ( android.webkit.DebugFlags.TRACE_API ) android.util.Log.d ( com.android.webview.chromium.ContentSettingsAdapter.LOGTAG , ( "setBlockNetworkImage=" + flag ) ) ; mAwSettings.setImagesEnabled ( ( ! flag ) ) ; }

Target:
public synchronized void setBlockNetworkImage ( boolean flag ) { if ( com.android.webview.chromium.ContentSettingsAdapter.TRACE ) android.util.Log.d ( com.android.webview.chromium.ContentSettingsAdapter.LOGTAG , ( "setBlockNetworkImage=" + flag ) ) ; mAwSettings.setImagesEnabled ( ( ! flag ) ) ; }
Source:
public void updateScheduledRecording ( com.android.tv.dvr.ScheduledRecording recording ) { if ( com.android.tv.common.SoftPreconditions.checkState ( mDataManager.isDvrScheduleLoadFinished ( ) ) ) { mDataManager.updateScheduledRecording ( recording ) ; } }

Target:
public void updateScheduledRecording ( com.android.tv.dvr.data.ScheduledRecording recording ) { if ( com.android.tv.common.SoftPreconditions.checkState ( mDataManager.isDvrScheduleLoadFinished ( ) ) ) { mDataManager.updateScheduledRecording ( recording ) ; } }
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 ( android.telecom.Log.TAG , android.telecom.Log.buildMessage ( prefix , format , args ) , tr ) ; }

Target:
public static void e ( java.lang.String prefix , java.lang.Throwable tr , java.lang.String format , java.lang.Object ... args ) { if ( android.telecom.Log.ERROR ) { android.util.Slog.e ( android.telecom.Log.TAG , android.telecom.Log.buildMessage ( prefix , format , args ) , tr ) ; } }
Source:
public java.util.List < java.lang.Class < ? extends lombok.ast.Node > > getApplicableNodeTypes ( ) { return java.util.Collections.< java.lang.Class < ? extends lombok.ast.Node > > singletonList ( lombok.ast.ConstructorInvocation.class ) ; }

Target:
public java.util.List < java.lang.String > getApplicableConstructorTypes ( ) { return java.util.Collections.singletonList ( com.android.tools.lint.checks.DateFormatDetector.SIMPLE_DATE_FORMAT_CLS ) ; }
Source:
public void setUp ( ) throws java.lang.Exception { org.mockito.MockitoAnnotations.initMocks ( this ) ; }

Target:
public void setUp ( ) throws java.lang.Exception { org.mockito.MockitoAnnotations.initMocks ( this ) ; org.mockito.Mockito.when ( mSharedLog.forSubComponent ( org.mockito.Matchers.anyString ( ) ) ) . thenReturn ( mSharedLog ) ; }
Source:
public void run ( ) { while ( isRunning ( ) ) { try { synchronized ( this ) { wait ( ) ; } dalvik.system.VMRuntime.getRuntime ( ) . concurrentGC ( ) ; } catch ( java.lang.InterruptedException ignored ) { } } }

Target:
public void run ( ) { while ( isRunning ( ) ) { dalvik.system.VMRuntime.getRuntime ( ) . waitForConcurrentGCRequest ( ) ; if ( isRunning ( ) ) { dalvik.system.VMRuntime.getRuntime ( ) . concurrentGC ( ) ; } } }
Source:
public java.util.List < java.io.File > getClasspath ( ) { return options.getClasspath ( ) ; }

Target:
public java.util.List < com.android.jack.library.InputLibrary > getClasspath ( ) { return librariesOnClasspathFromCommandLine ; }
Source:
public void run ( ) { new com.android.hierarchyviewer.HierarchyViewerApplication ( ) . run ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { java.lang.Thread.setDefaultUncaughtExceptionHandler ( new com.android.hierarchyviewer.HierarchyViewerApplication.UncaughtHandler ( ) ) ; org.eclipse.swt.widgets.Display.setAppName ( "HierarchyViewer" ) ; new com.android.hierarchyviewer.HierarchyViewerApplication ( ) . run ( ) ; }
Source:
public java.lang.Object invoke ( java.lang.Object receiver , java.lang.Object ... args ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException , java.lang.reflect.InvocationTargetException { return invoke ( receiver , args , isAccessible ( ) ) ; }

Target:
boolean equalNameAndParameters ( java.lang.reflect.Method m ) { return ( getName ( ) . equals ( m.getName ( ) ) ) && ( equalMethodParameters ( m.getParameterTypes ( ) ) ) ; }
Source:
public java.lang.Object answer ( org.mockito.invocation.InvocationOnMock invocation ) throws java.lang.Throwable { int timeoutArg = ( ( int ) ( invocation.getArguments ( ) [ 1 ] ) ) ; socketConnectTimeouts [ attemptNumber ] = timeoutArg ; throw new java.net.SocketTimeoutException ( ( "Simulated timeout after " + timeoutArg ) ) ; }

Target:
public void connect ( java.net.SocketAddress endpoint , int timeout ) throws java.io.IOException { socketConnectTimeouts [ attemptNumber ] = timeout ; throw new java.net.SocketTimeoutException ( ( "Simulated timeout after " + timeout ) ) ; }
Source:
public void setConfiguration ( android.net.IpConfiguration config ) { try { mService.setConfiguration ( config ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }

Target:
public boolean isAvailable ( java.lang.String iface ) { try { return mService.isAvailable ( iface ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
public void onReceive ( android.content.Context context , android.content.Intent intent ) { java.lang.String action = intent.getAction ( ) ; if ( action.equals ( Intent.ACTION_BOOT_COMPLETED ) ) { if ( com.android.bluetooth.avrcp.Avrcp.DEBUG ) android.util.Log.d ( com.android.bluetooth.avrcp.Avrcp.TAG , "Boot completed, initializing player lists" ) ; buildBrowsablePlayerList ( ) ; } }

Target:
public void onReceive ( android.content.Context context , android.content.Intent intent ) { java.lang.String action = intent.getAction ( ) ; if ( action.equals ( Intent.ACTION_USER_UNLOCKED ) ) { if ( com.android.bluetooth.avrcp.Avrcp.DEBUG ) android.util.Log.d ( com.android.bluetooth.avrcp.Avrcp.TAG , "User unlocked, initializing player lists" ) ; buildBrowsablePlayerList ( ) ; } }
Source:
public void setRequestQueue ( com.android.volley.RequestQueue requestQueue ) { mRequestQueue = requestQueue ; }

Target:
public com.android.volley.Request < ? > setRequestQueue ( com.android.volley.RequestQueue requestQueue ) { mRequestQueue = requestQueue ; return this ; }
Source:
public void visitMethodrefConstant ( proguard.optimize.Clazz clazz , proguard.optimize.MethodrefConstant methodrefConstant ) { descriptor = methodrefConstant.getType ( clazz ) ; methodrefConstant.referencedMemberAccept ( this ) ; }

Target:
public void visitAnyMethodrefConstant ( proguard.optimize.Clazz clazz , proguard.optimize.RefConstant refConstant ) { if ( refConstant.getName ( clazz ) . equals ( ClassConstants.METHOD_NAME_INIT ) ) { descriptor = refConstant.getType ( clazz ) ; refConstant.referencedMemberAccept ( this ) ; } }
Source:
public static native long SSL_SESSION_get_time ( int sslSessionNativePointer ) ;

Target:
public static native byte [ ] SSL_get_tls_channel_id ( long ssl ) throws javax.net.ssl.SSLException ;
Source:
private void initContentInternal ( ) { myContainer.add ( myLogManager.initContent ( java.util.Arrays.asList ( myVcsManager.getAllVcsRoots ( ) ) , com.intellij.vcs.log.impl.VcsLogContentProvider.TAB_NAME ) , java.awt.BorderLayout.CENTER ) ; }

Target:
private void initContentInternal ( ) { com.intellij.openapi.application.ApplicationManager.getApplication ( ) . assertIsDispatchThread ( ) ; myContainer.add ( myLogManager.initContent ( java.util.Arrays.asList ( myVcsManager.getAllVcsRoots ( ) ) , com.intellij.vcs.log.impl.VcsLogContentProvider.TAB_NAME ) , java.awt.BorderLayout.CENTER ) ; }
Source:
boolean isEmpty ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVDir dir ) { return vfs.isEmpty ( dir ) ; }

Target:
public com.android.sched.vfs.VPath getPath ( ) { return wrappedFile.getPath ( ) ; }
Source:
protected void wakeUpDevice ( ) throws com.android.tradefed.device.DeviceNotAvailableException { runCommandAndPrintOutput ( "input keyevent 224" ) ; }

Target:
protected void wakeUpDevice ( ) throws com.android.tradefed.device.DeviceNotAvailableException { runCommandAndPrintOutput ( "input keyevent WAKEUP" ) ; }
Source:
public com.android.rs.test.LayerInfo getLayerInfo ( int layer ) { return layerInfo [ layer ] ; }

Target:
public com.android.rs.refocus.LayerInfo getLayerInfo ( int layer ) { return layerInfo [ layer ] ; }
Source:
public void visitSignatureAttribute ( proguard.shrink.Clazz clazz , proguard.shrink.SignatureAttribute signatureAttribute ) { attributeUsed = true ; signatureAttribute.referencedClassesAccept ( this ) ; if ( attributeUsed ) { usageMarker.markAsUsed ( signatureAttribute ) ; markConstant ( clazz , signatureAttribute.u2attributeNameIndex ) ; markConstant ( clazz , signatureAttribute.u2signatureIndex ) ; } }

Target:
public void visitLibraryClass ( proguard.shrink.LibraryClass libraryClass ) { attributeUsed = true ; }
Source:
public com.android.ide.common.rendering.api.ResourceValue findValue ( java.lang.String name ) { return mItems.get ( com.android.util.Pair.of ( name , isFramework ( ) ) ) ; }

Target:
public java.util.Collection < com.android.ide.common.rendering.api.ItemResourceValue > getValues ( ) { return mItems.values ( ) ; }
Source:
public void onChildSelected ( com.android.ide.common.api.IGraphics gc , com.android.ide.common.api.INode parentNode , com.android.ide.common.api.INode childNode ) { }

Target:
public java.util.List < java.lang.String > getSelectionHint ( com.android.ide.common.api.INode parentNode , com.android.ide.common.api.INode childNode ) { return null ; }
Source:
public void removeSessionCookies ( android.webkit.ValueCallback < java.lang.Boolean > callback ) { throw new android.webkit.MustOverrideException ( ) ; }

Target:
public abstract void removeAllCookies ( android.webkit.ValueCallback < java.lang.Boolean > callback ) ;
Source:
public void addAllSupportedUiModes ( java.util.Collection < com.android.resources.UiMode > uiModes ) { mUiModes.addAll ( uiModes ) ; }

Target:
public void addSupportedUiMode ( @ com.android.annotations.NonNull com.android.resources.UiMode uiMode ) { mUiModes.add ( uiMode ) ; }
Source:
public void test_plusDays_negative ( ) { java.time.LocalDate t = TEST_2007_07_15.plusDays ( ( - 1 ) ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 7 , 14 ) ) ; }

Target:
public void test_plusDays_overLeapYears ( ) { java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.plusYears ( ( - 1 ) ) . plusDays ( ( 365 + 366 ) ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2008 , 7 , 15 ) ) ; }
Source:
public void testEncode_CharBuffer_NullCharBuffer ( ) { tests.api.java.nio.charset.CharsetTest.MockCharset c = new tests.api.java.nio.charset.CharsetTest.MockCharset ( "mock" , null ) ; try { c.encode ( ( ( java.nio.CharBuffer ) ( null ) ) ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }

Target:
public void testEncode_CharBuffer_NullCharBuffer ( ) { org.apache.harmony.tests.java.nio.charset.CharsetTest.MockCharset c = new org.apache.harmony.tests.java.nio.charset.CharsetTest.MockCharset ( "mock" , null ) ; try { c.encode ( ( ( java.nio.CharBuffer ) ( null ) ) ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }
Source:
public static boolean isServiceBound ( ) { return android.telecom.cts.CtsConnectionService.mIsServiceBound ; }

Target:
public static boolean isBound ( ) { return android.telecom.cts.CtsConnectionService.sIsBound ; }
Source:
public java.lang.StringBuffer format ( java.math.BigInteger number , java.lang.StringBuffer result , java.text.FieldPosition fieldPosition ) { return format ( number , result , fieldPosition , false ) ; }

Target:
public java.lang.StringBuffer format ( com.ibm.icu.math.BigDecimal number , java.lang.StringBuffer result , java.text.FieldPosition fieldPosition ) { com.ibm.icu.impl.number.FormatQuantity4 fq = new com.ibm.icu.impl.number.FormatQuantity4 ( number.toBigDecimal ( ) ) ; formatter.format ( fq , result , fieldPosition ) ; fq.populateUFieldPosition ( fieldPosition ) ; return result ; }
Source:
protected void engineInit ( int opmode , java.security.Key key , java.security.SecureRandom random ) throws java.security.InvalidKeyException { }

Target:
protected void engineInit ( int opmode , java.security.Key key , java.security.SecureRandom random ) throws java.security.InvalidKeyException { throw new java.lang.AssertionError ( "Must have AlgorithmParameterSpec" ) ; }
Source:
public void listNotifications ( java.lang.String callingPackage , @ android.telephony.euicc.EuiccNotification.Event int events , com.android.internal.telephony.euicc.IListNotificationsCallback callback ) { checkCallingPackage ( callingPackage ) ; }

Target:
public void listNotifications ( java.lang.String callingPackage , java.lang.String cardId , @ android.telephony.euicc.EuiccNotification.Event int events , com.android.internal.telephony.euicc.IListNotificationsCallback callback ) { checkCallingPackage ( callingPackage ) ; }
Source:
public org.jetbrains.plugins.gradle.tooling.ErrorMessageBuilder getErrorMessageBuilder ( @ org.jetbrains.annotations.NotNull org.gradle.api.Project project , @ org.jetbrains.annotations.NotNull java.lang.Exception e ) { return org.jetbrains.plugins.gradle.tooling.ErrorMessageBuilder.create ( project , e , "Project build classpath resolve errors" ) . withDescription ( "Some codeInsight features may not work for gradle build script" ) ; }

Target:
public org.jetbrains.plugins.gradle.tooling.ErrorMessageBuilder getErrorMessageBuilder ( @ org.jetbrains.annotations.NotNull org.gradle.api.Project project , @ org.jetbrains.annotations.NotNull java.lang.Exception e ) { return org.jetbrains.plugins.gradle.tooling.ErrorMessageBuilder.create ( project , e , "Project build classpath resolve errors" ) . withDescription ( "Unable to resolve additional buildscript classpath dependencies" ) ; }
Source:
private static boolean shouldSkipPakExtraction ( ) { return ( org.chromium.base.ResourceExtractor.get ( ) . mAssetsToExtract.length ) == 0 ; }

Target:
private static boolean shouldSkipPakExtraction ( ) { return ( org.chromium.base.ResourceExtractor.sResourcesToExtract.length ) == 0 ; }
Source:
public java.lang.String installPackage ( java.lang.String packageFilePath , boolean reinstall ) throws com.android.ddmlib.InstallException ;

Target:
public java.lang.String installPackage ( java.lang.String packageFilePath , boolean reinstall , java.lang.String ... extraArgs ) throws com.android.ddmlib.InstallException ;
Source:
static void clinitBecauseOfFieldAccess ( ) { Main.ClassWithClinit2.doThrow = false ; Main.ClassWithClinit2.staticMethod ( ) ; }

Target:
static void clinitBecauseOfFieldAccess ( ) { Main.ClassWithClinit2.doThrow = false ; Main.ClassWithClinit2.$noinline$staticMethod ( ) ; }
Source:
public void test_minus_longTemporalUnit_negativeMinutes ( ) { java.time.LocalTime t = TEST_12_30_40_987654321.minus ( ( - 25 ) , java.time.temporal.ChronoUnit.MINUTES ) ; org.testng.Assert.assertEquals ( t , java.time.LocalTime.of ( 12 , 55 , 40 , 987654321 ) ) ; }

Target:
public void test_minus_longTemporalUnit_negativeMinutes ( ) { java.time.LocalTime t = tck.java.time.TCKLocalTime.TEST_12_30_40_987654321.minus ( ( - 25 ) , java.time.temporal.ChronoUnit.MINUTES ) ; org.testng.Assert.assertEquals ( t , java.time.LocalTime.of ( 12 , 55 , 40 , 987654321 ) ) ; }
Source:
public void testCreateTestForTestSuiteWithSuiteMethod ( ) throws java.lang.Exception { junit.framework.Test test = android.test.TestCaseUtil.createTestSuite ( android.test.TestCaseUtilTest.TwoTestsInTestSuite.class ) ; assertEquals ( 2 , test.countTestCases ( ) ) ; }

Target:
public void testInvokeSuiteMethodIfPossible_ForTestSuiteWithSuiteMethod ( ) throws java.lang.Exception { junit.framework.Test test = android.test.TestCaseUtil.invokeSuiteMethodIfPossible ( android.test.TestCaseUtilTest.TwoTestsInTestSuite.class , new java.util.HashSet < > ( ) ) ; assertNotNull ( test ) ; assertEquals ( 2 , test.countTestCases ( ) ) ; }
Source:
protected void engineInitSign ( java.security.PrivateKey arg0 ) throws java.security.InvalidKeyException { spiImpl.engineInitSign ( arg0 ) ; }

Target:
protected void engineInitSign ( java.security.PrivateKey arg0 ) throws java.security.InvalidKeyException { getSpi ( arg0 ) . engineInitSign ( arg0 ) ; }
Source:
public static java.lang.String toHexString ( long i ) { return java.lang.Long.toUnsignedString ( i , 4 ) ; }

Target:
public static java.lang.String toHexString ( long i ) { return java.lang.Long.toUnsignedString0 ( i , 4 ) ; }
Source:
public void run ( ) { mUiAutomatorView.setModel ( model , screenshot ) ; }

Target:
public void run ( ) { mUiAutomatorView.setModel ( model , modelFile , screenshot ) ; }
Source:
public static com.android.dialer.app.calllog.IntentProvider getLightbringerIntentProvider ( java.lang.String number ) { return new com.android.dialer.app.calllog.IntentProvider ( ) { @ java.lang.Override public android.content.Intent getIntent ( android.content.Context context ) { return com.android.dialer.lightbringer.LightbringerComponent.get ( context ) . getLightbringer ( ) . getIntent ( context , number ) ; } } ; }

Target:
public static com.android.dialer.app.calllog.IntentProvider getDuoVideoIntentProvider ( java.lang.String number ) { return new com.android.dialer.app.calllog.IntentProvider ( ) { @ java.lang.Override public android.content.Intent getIntent ( android.content.Context context ) { return com.android.dialer.duo.DuoComponent.get ( context ) . getDuo ( ) . getIntent ( context , number ) ; } } ; }
Source:
public void test_EmptyMap_computeIfAbsent ( ) { try { java.util.Collections.emptyMap ( ) . computeIfAbsent ( 1 , ( k ) -> 5.0 ) ; fail ( ) ; } catch ( java.lang.UnsupportedOperationException expected ) { } }

Target:
public void test_EmptyMap_compute ( ) { try { java.util.Collections.emptyMap ( ) . compute ( 1 , ( k , v ) -> 5.0 ) ; fail ( ) ; } catch ( java.lang.UnsupportedOperationException expected ) { } }
Source:
public void breakpointClassLoader ( java.lang.ClassLoader param ) { logWriter.println ( ( ( "breakpointClassLoader(param=\"" + param ) + "\")" ) ) ; }

Target:
public void breakpointClassLoader ( java.lang.ClassLoader param ) { logWriter.println ( ( ( "breakpointClassLoader(param=\"" + param ) + "\")" ) ) ; synchronizeWithTest ( ) ; }
Source:
public static void div ( ) { Main.divFloat ( ) ; Main.divDouble ( ) ; }

Target:
public static void div ( ) { Main.divInt ( ) ; Main.divFloat ( ) ; Main.divDouble ( ) ; }
Source:
public void tearDown ( ) { com.android.bluetooth.hfp.HeadsetObjectsFactory.getInstance ( ) . destroyStateMachine ( mHeadsetStateMachine ) ; mHandlerThread.quit ( ) ; }

Target:
public void tearDown ( ) { com.android.bluetooth.hfp.HeadsetObjectsFactory.getInstance ( ) . destroyStateMachine ( mHeadsetStateMachine ) ; mHandlerThread.quit ( ) ; reset ( com.android.bluetooth.hfp.HeadsetStateMachineTest.sAdapterService ) ; }
Source:
protected abstract void doApply ( java.util.zip.ZipFile patchFile , java.io.File toFile ) throws java.io.IOException ;

Target:
protected abstract void doApply ( java.util.zip.ZipFile patchFile , java.io.File backupDir , java.io.File toFile ) throws java.io.IOException ;
Source:
private boolean get24HourMode ( ) { return android.text.format.DateFormat.is24HourFormat ( getContext ( ) ) ; }

Target:
private void setFormat ( ) { mFormat = android.text.format.DateFormat.getTimeFormatString ( getContext ( ) ) ; }
Source:
private android.telecom.ParcelableConference parcelable ( com.android.server.telecom.tests.ConnectionServiceFixture.ConferenceInfo c ) { return new android.telecom.ParcelableConference ( c.phoneAccount , c.state , c.capabilities , c.properties , c.connectionIds , c.videoProvider , c.videoState , c.connectTimeMillis , c.statusHints , c.extras ) ; }

Target:
private android.telecom.ParcelableConference parcelable ( com.android.server.telecom.tests.ConnectionServiceFixture.ConferenceInfo c ) { return new android.telecom.ParcelableConference ( c.phoneAccount , c.state , c.capabilities , c.properties , c.connectionIds , c.videoProvider , c.videoState , c.connectTimeMillis , c.connectElapsedTimeMillis , c.statusHints , c.extras ) ; }
Source:
static byte $opt$IntToByte ( int a ) { return ( ( byte ) ( a ) ) ; }

Target:
static double $opt$CharToDouble ( int a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( double ) ( a ) ) ; }
Source:
public void callSessionUpdateFailed ( com.android.ims.internal.IImsCallSession i , android.telephony.ims.ImsReasonInfo imsReasonInfo ) throws android.os.RemoteException { mNewListener.callSessionUpdateFailed ( imsReasonInfo ) ; }

Target:
public void callSessionMayHandover ( com.android.ims.internal.IImsCallSession i , int srcAccessTech , int targetAccessTech ) throws android.os.RemoteException { mNewListener.callSessionMayHandover ( srcAccessTech , targetAccessTech ) ; }
Source:
private void notifyThroughIntent ( ) { android.net.Uri uri = android.net.Uri.parse ( ( ( ( android.provider.Downloads.CONTENT_URI ) + "/" ) + ( mInfo.mId ) ) ) ; mInfo.sendIntentIfRequested ( uri , mContext ) ; }

Target:
private void notifyThroughIntent ( ) { android.net.Uri uri = android.net.Uri.parse ( ( ( ( Downloads.Impl.CONTENT_URI ) + "/" ) + ( mInfo.mId ) ) ) ; mInfo.sendIntentIfRequested ( uri , mContext ) ; }
Source:
protected void fillRandom ( long seed , int fact , int offset , float [ ] inArray , int rStride , int rSkip ) { android.renderscript.cts.RSUtils.genRandom ( seed , fact , offset , inArray , rStride , rSkip ) ; }

Target:
protected void fillRandomFloats ( long seed , int fact , int offset , float [ ] inArray ) { android.renderscript.cts.RSUtils.genRandomFloats ( seed , fact , offset , inArray ) ; }
Source:
public static java.nio.ByteBuffer allocate ( int capacity ) { if ( capacity < 0 ) { throw new java.lang.IllegalArgumentException ( ( "capacity < 0: " + capacity ) ) ; } return new java.nio.ReadWriteHeapByteBuffer ( capacity ) ; }

Target:
public static java.nio.ByteBuffer allocate ( int capacity ) { if ( capacity < 0 ) { throw new java.lang.IllegalArgumentException ( ( "capacity < 0: " + capacity ) ) ; } return new java.nio.ByteArrayBuffer ( new byte [ capacity ] ) ; }
Source:
public void testMissingPackageOverride ( ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { java.lang.String xml = "" + ( ( ( "<manifest\n" + " xmlns:android=\"http://schemas.android.com/apk/res/android\">\n" ) + " <activity android:name=\"activityOne\"/>\n" ) + "</manifest>" ) ; com.android.manifmerger.XmlDocument refDocument = com.android.manifmerger.TestUtils.xmlDocumentFromString ( new com.android.manifmerger.TestUtils.TestSourceLocation ( getClass ( ) , "testMissingPackageOverride#xml" ) , xml ) ; ManifestMerger2.SystemProperty.PACKAGE.addTo ( refDocument.getXml ( ) , "com.bar.new" ) ; assertEquals ( "com.bar.new" , refDocument.getRootNode ( ) . getXml ( ) . getAttribute ( "package" ) ) ; }

Target:
public void testMissingPackageOverride ( ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { java.lang.String xml = "" + ( ( ( "<manifest\n" + " xmlns:android=\"http://schemas.android.com/apk/res/android\">\n" ) + " <activity android:name=\"activityOne\"/>\n" ) + "</manifest>" ) ; com.android.manifmerger.XmlDocument refDocument = com.android.manifmerger.TestUtils.xmlDocumentFromString ( new com.android.manifmerger.TestUtils.TestSourceLocation ( getClass ( ) , "testMissingPackageOverride#xml" ) , xml ) ; ManifestMerger2.SystemProperty.PACKAGE.addTo ( mActionRecorder , refDocument , "com.bar.new" ) ; assertEquals ( "com.bar.new" , refDocument.getRootNode ( ) . getXml ( ) . getAttribute ( "package" ) ) ; }
Source:
public void setCreatedFromExistingConnection ( boolean createdFromExistingConnection ) { com.android.server.telecom.Log.d ( com.android.server.telecom.Analytics.TAG , ( ( ( "setting createdFromExistingConnection for call " + ( callId ) ) + " to " ) + createdFromExistingConnection ) ) ; this . createdFromExistingConnection = createdFromExistingConnection ; }

Target:
public void setCreatedFromExistingConnection ( boolean createdFromExistingConnection ) { android.telecom.Log.d ( com.android.server.telecom.Analytics.TAG , ( ( ( "setting createdFromExistingConnection for call " + ( callId ) ) + " to " ) + createdFromExistingConnection ) ) ; this . createdFromExistingConnection = createdFromExistingConnection ; }
Source:
public static com.google.common.base.Objects.ToStringHelper toStringHelper ( java.lang.Object self ) { return new com.google.common.base.Objects.ToStringHelper ( com.google.common.base.Objects.simpleName ( self.getClass ( ) ) ) ; }

Target:
public static com.google.common.base.Objects.ToStringHelper toStringHelper ( java.lang.Object self ) { return new com.google.common.base.Objects.ToStringHelper ( com.google.common.base.MoreObjects.simpleName ( self.getClass ( ) ) ) ; }
Source:
public void onError ( java.lang.Void request , int code , java.lang.String msg ) { com.android.server.telecom.Log.w ( this , "Error obtaining canned SMS responses: %d %s" , code , msg ) ; }

Target:
public void onError ( java.lang.Void request , int code , java.lang.String msg ) { android.telecom.Log.w ( this , "Error obtaining canned SMS responses: %d %s" , code , msg ) ; }
Source:
public java.lang.String getFlavorName ( ) { if ( variantConfiguration.hasFlavors ( ) ) { return getFlavoredName ( true ) ; } else { return com.android.build.gradle.internal.StringHelper.capitalize ( BuilderConstants.MAIN ) ; } }

Target:
protected java.lang.String getCapitalizedFlavorName ( ) { return com.android.build.gradle.internal.StringHelper.capitalize ( variantConfiguration.getFlavorName ( ) ) ; }
Source:
public void add ( java.lang.Object o ) { this . insertBefore ( next , ( ( org.objectweb.asm.tree.AbstractInsnNode ) ( o ) ) ) ; prev = ( ( org.objectweb.asm.tree.AbstractInsnNode ) ( o ) ) ; }

Target:
public void add ( java.lang.Object o ) { this . insertBefore ( next , ( ( org.objectweb.asm.tree.AbstractInsnNode ) ( o ) ) ) ; prev = ( ( org.objectweb.asm.tree.AbstractInsnNode ) ( o ) ) ; remove = null ; }
Source:
public java.lang.String getSimOperator ( int subId ) { return getSimOperatorNumericForSubscription ( subId ) ; }

Target:
public java.lang.String getSimOperator ( int subId ) { return getSimOperatorNumeric ( subId ) ; }
Source:
private static native void setupObjectAllocCallback ( ) ;

Target:
private static native void setupObjectAllocCallback ( boolean enable ) ;
Source:
protected boolean supportsKeyguard ( ) throws com.android.tradefed.device.DeviceNotAvailableException { }

Target:
protected boolean isHandheld ( ) throws com.android.tradefed.device.DeviceNotAvailableException { return ( ( ! ( hasDeviceFeature ( "android.software.leanback" ) ) ) && ( ! ( hasDeviceFeature ( "android.hardware.type.watch" ) ) ) ) && ( ! ( hasDeviceFeature ( "android.hardware.type.embedded" ) ) ) ; }
Source:
public void onConnectSuccess ( ) { android.os.Bundle mResults = new android.os.Bundle ( ) ; mEventFacade.postEvent ( "WifiNanOnConnectSuccess" , mResults ) ; }

Target:
public void onConnectSuccess ( android.net.wifi.nan.WifiNanSession session ) { synchronized ( mLock ) { mSessions.put ( mSessionId , session ) ; } android.os.Bundle mResults = new android.os.Bundle ( ) ; mResults.putInt ( "sessionId" , mSessionId ) ; mEventFacade.postEvent ( "WifiNanOnConnectSuccess" , mResults ) ; }
Source:
public android.net.IpSecTransform.Builder setEncryption ( @ android.net.IpSecTransform.TransformDirection int direction , android.net.IpSecAlgorithm algo ) { mConfig.flow [ direction ] . encryption = algo ; return this ; }

Target:
public android.net.IpSecTransform.Builder setNattKeepalive ( int intervalSeconds ) { mConfig.setNattKeepaliveInterval ( intervalSeconds ) ; return this ; }
Source:
private void sendSms ( int messageRef , java.lang.String format , java.lang.String smsc , boolean isRetry , byte [ ] pdu ) { getSmsImplementation ( ) . sendSms ( messageRef , format , smsc , isRetry , pdu ) ; }

Target:
private void sendSms ( int token , int messageRef , java.lang.String format , java.lang.String smsc , boolean isRetry , byte [ ] pdu ) { getSmsImplementation ( ) . sendSms ( token , messageRef , format , smsc , isRetry , pdu ) ; }
Source:
public com.android.sched.util.config.id.PropertyId < T > withCategory ( @ javax.annotation.Nonnull com.android.sched.util.config.category.Category category ) { this . category = category ; return this ; }

Target:
public com.android.sched.util.config.id.PropertyId < T > addCategory ( @ javax.annotation.Nonnull java.lang.Class < ? extends com.android.sched.util.config.category.Category > category ) { super . addCategory ( category ) ; return this ; }
Source:
public void fileChanged ( org.eclipse.core.resources.IFile file , org.eclipse.core.resources.IMarkerDelta [ ] markerDeltas , int kind ) { if ( file.equals ( inputFile ) ) { processMarkerChanges ( markerDeltas ) ; } }

Target:
public void fileChanged ( @ com.android.annotations.NonNull org.eclipse.core.resources.IFile file , @ com.android.annotations.NonNull org.eclipse.core.resources.IMarkerDelta [ ] markerDeltas , int kind , @ com.android.annotations.Nullable java.lang.String extension , int flags ) { if ( file.equals ( inputFile ) ) { processMarkerChanges ( markerDeltas ) ; } }
Source:
public void run ( ) { setUpButtons ( true , client.getClientData ( ) . getAllocationStatus ( ) ) ; }

Target:
public void run ( ) { mAllocationViewer.refresh ( ) ; updateAllocationStackCall ( ) ; }
Source:
public java.lang.Object clone ( ) { java.text.RuleBasedBreakIterator cloned = ( ( java.text.RuleBasedBreakIterator ) ( super . clone ( ) ) ) ; cloned.wrapped = ( ( libcore.icu.NativeBreakIterator ) ( wrapped.clone ( ) ) ) ; return cloned ; }

Target:
public java.lang.Object clone ( ) { java.text.IcuIteratorWrapper cloned = ( ( java.text.IcuIteratorWrapper ) ( super . clone ( ) ) ) ; cloned.wrapped = ( ( java.text.BreakIterator ) ( wrapped.clone ( ) ) ) ; return cloned ; }
Source:
protected org.eclipse.core.runtime.IStatus run ( org.eclipse.core.runtime.IProgressMonitor monitor ) { try { com.android.ide.eclipse.adt.internal.project.BaseProjectHelper.markProject ( project , markerType , fmessage , IMarker.SEVERITY_ERROR , IMarker.PRIORITY_HIGH ) ; } catch ( org.eclipse.core.runtime.CoreException e2 ) { return e2.getStatus ( ) ; } return org.eclipse.core.runtime.Status.OK_STATUS ; }

Target:
protected org.eclipse.core.runtime.IStatus run ( org.eclipse.core.runtime.IProgressMonitor monitor ) { try { com.android.ide.eclipse.adt.internal.project.BaseProjectHelper.markProject ( project , markerType , fmessage , IMarker.SEVERITY_ERROR , IMarker.PRIORITY_HIGH ) ; } catch ( org.eclipse.core.runtime.CoreException e2 ) { com.android.ide.eclipse.adt.AdtPlugin.log ( e2 , null ) ; } return org.eclipse.core.runtime.Status.OK_STATUS ; }
Source:
public java.lang.Object getParent ( java.lang.Object element ) { if ( element instanceof com.android.hierarchyviewerlib.device.Window ) { return ( ( com.android.hierarchyviewerlib.device.Window ) ( element ) ) . getDevice ( ) ; } return null ; }

Target:
public java.lang.Object getParent ( java.lang.Object element ) { if ( element instanceof com.android.hierarchyviewerlib.models.Window ) { return ( ( com.android.hierarchyviewerlib.models.Window ) ( element ) ) . getDevice ( ) ; } return null ; }
Source:
public java.util.Collection < java.lang.String > getApplicableElements ( ) { return java.util.Arrays.asList ( com.android.SdkConstants.TAG_USES_PERMISSION ) ; }

Target:
public java.util.Collection < java.lang.String > getApplicableElements ( ) { return java.util.Collections.singletonList ( com.android.SdkConstants.TAG_USES_PERMISSION ) ; }
Source:
public void onConnectSuccess ( android.net.wifi.nan.WifiNanSession session ) { synchronized ( mLock ) { mSessions.put ( mSessionId , session ) ; } android.os.Bundle mResults = new android.os.Bundle ( ) ; mResults.putInt ( "sessionId" , mSessionId ) ; mEventFacade.postEvent ( "WifiNanOnConnectSuccess" , mResults ) ; }

Target:
public void onAttached ( android.net.wifi.nan.WifiNanSession session ) { synchronized ( mLock ) { mSessions.put ( mSessionId , session ) ; } android.os.Bundle mResults = new android.os.Bundle ( ) ; mResults.putInt ( "sessionId" , mSessionId ) ; mEventFacade.postEvent ( "WifiNanOnAttached" , mResults ) ; }
Source:
protected void fillRandomFloats ( long seed , int fact , int offset , float [ ] inArray ) { android.renderscript.cts.RSUtils.genRandomFloats ( seed , fact , offset , inArray ) ; }

Target:
protected void fillRandomFloats ( long seed , float min , float max , float [ ] inArray ) { android.renderscript.cts.RSUtils.genRandomFloats ( seed , min , max , inArray ) ; }
Source:
private proguard.evaluation.value.ReferenceValue generalizeMayBeNull ( boolean mayBeNull ) { return ( this . mayBeNull ) || ( ! mayBeNull ) ? this : new proguard.evaluation.value.ReferenceValue ( this . type , this . referencedClass , true ) ; }

Target:
public proguard.evaluation.value.ReferenceValue generalize ( proguard.evaluation.value.ArrayReferenceValue other ) { return generalize ( ( ( proguard.evaluation.value.TypedReferenceValue ) ( other ) ) ) ; }
Source:
public com.android.build.gradle.api.GroupableProductFlavor get ( int i ) { com.android.build.gradle.api.GroupableProductFlavor gpf = list.get ( i ) ; return immutableObjectProvider.getProductFlavor ( gpf ) ; }

Target:
public com.android.builder.model.ProductFlavor get ( int i ) { com.android.builder.model.ProductFlavor gpf = list.get ( i ) ; return immutableObjectProvider.getProductFlavor ( gpf ) ; }
Source:
public static libcore.util.CountryTimeZones.TimeZoneMapping createForTests ( java.lang.String timeZoneId , boolean showInPicker ) { return new libcore.util.CountryTimeZones.TimeZoneMapping ( timeZoneId , showInPicker ) ; }

Target:
public static libcore.util.CountryTimeZones.TimeZoneMapping createForTests ( java.lang.String timeZoneId , boolean showInPicker , java.lang.Long notUsedAfter ) { return new libcore.util.CountryTimeZones.TimeZoneMapping ( timeZoneId , showInPicker , notUsedAfter ) ; }
Source:
public void batteryPowerChanged ( boolean onBattery ) { updateCpuStatsNow ( ) ; synchronized ( this ) { synchronized ( mPidsSelfLocked ) { mOnBattery = ( DEBUG_POWER ) ? true : onBattery ; } } }

Target:
public void batteryPowerChanged ( boolean onBattery ) { updateCpuStatsNow ( ) ; synchronized ( this ) { synchronized ( mPidsSelfLocked ) { mOnBattery = ( com.android.server.am.ActivityManagerDebugConfig.DEBUG_POWER ) ? true : onBattery ; } } }
Source:
public android.content.Intent getIntent ( android.content.Context context ) { return new com.android.dialer.callintent.CallIntentBuilder ( number , CallInitiationType.Type.CALL_LOG ) . setAllowAssistedDial ( true ) . build ( ) ; }

Target:
public android.content.Intent getIntent ( android.content.Context context ) { return com.android.dialer.precall.PreCall.getIntent ( context , new com.android.dialer.callintent.CallIntentBuilder ( number , CallInitiationType.Type.CALL_LOG ) . setAllowAssistedDial ( true ) ) ; }
Source:
public native boolean createDirectory ( java.io.File f ) ;

Target:
public boolean setPermission ( java.io.File f , int access , boolean enable , boolean owneronly ) { dalvik.system.BlockGuard.getThreadPolicy ( ) . onWriteToDisk ( ) ; return setPermission0 ( f , access , enable , owneronly ) ; }
Source:
public java.lang.Boolean call ( ) { return canGoBackOrForward ( steps ) ; }

Target:
public void run ( ) { goForward ( ) ; }
Source:
public void turnOnIms ( ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; getServiceInterface ( mBinder ) . turnOnIms ( mSlotId , mSupportedFeature ) ; } }

Target:
public void setUiTTYMode ( int uiTtyMode , android.os.Message onComplete ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; getServiceInterface ( mBinder ) . setUiTTYMode ( uiTtyMode , onComplete ) ; } }
Source:
public static com.android.sdklib.devices.DeviceManager createInstance ( @ com.android.annotations.Nullable java.lang.String osSdkPath , @ com.android.annotations.NonNull com.android.utils.ILogger log ) { return new com.android.sdklib.devices.DeviceManager ( osSdkPath , log ) ; }

Target:
public static com.android.sdklib.devices.DeviceManager createInstance ( @ com.android.annotations.Nullable java.io.File sdkLocation , @ com.android.annotations.NonNull com.android.utils.ILogger log ) { return new com.android.sdklib.devices.DeviceManager ( ( sdkLocation == null ? null : sdkLocation.getPath ( ) ) , log ) ; }
Source:
public default void verificationSoftFail ( ) { Statics.nonexistantFunction ( ) ; }

Target:
public default void verificationSoftFail ( ) { Statics.nonexistentFunction ( ) ; }
Source:
private static boolean isSingleSimDevice ( @ android.support.annotation.NonNull android.content.Context context ) { return ( context.getSystemService ( android.telephony.TelephonyManager.class ) . getPhoneCount ( ) ) <= 1 ; }

Target:
private static boolean isSingleSimDevice ( @ android.support.annotation.NonNull android.content.Context context ) { if ( ! ( com.android.dialer.util.PermissionsUtil.hasReadPhoneStatePermissions ( context ) ) ) { return true ; } return ( context.getSystemService ( android.telephony.TelephonyManager.class ) . getPhoneCount ( ) ) <= 1 ; }