auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
protected void onSizeChanged ( int w , int h , int oldw , int oldh ) { super . onSizeChanged ( w , h , oldw , oldh ) ; updateThumbPos ( w , h ) ; }

Target:
public void setSplitTrack ( boolean splitTrack ) { mSplitTrack = splitTrack ; invalidate ( ) ; }
Source:
void onDocumentsReady ( java.util.List < com.android.documentsui.model.DocumentInfo > docs ) { getDisplayState ( ) . selectedDocumentsForCopy = docs ; intent.putExtra ( Shared.EXTRA_DIRECTORY_COPY , com.android.documentsui.dirlist.DirectoryFragment.hasDirectory ( docs ) ) ; intent.putExtra ( FileOperationService.EXTRA_OPERATION , mode ) ; startActivityForResult ( intent , com.android.documentsui.dirlist.DirectoryFragment.REQUEST_COPY_DESTINATION ) ; }

Target:
protected void onPostExecute ( java.util.List < com.android.documentsui.model.DocumentInfo > docs ) { copyDocuments ( docs , destination ) ; }
Source:
public com.android.jack.dx.rop.cst.CstString getDescriptor ( ) { return new com.android.jack.dx.rop.cst.CstString ( com.android.jack.dx.rop.type.Type.ReplaceClosureFromDescriptor ( descriptor.getString ( ) ) ) ; }

Target:
public com.android.jack.dx.rop.cst.CstString getDescriptor ( ) { return new com.android.jack.dx.rop.cst.CstString ( com.android.jack.dx.rop.type.Type.replaceClosureFromDescriptor ( descriptor.getString ( ) ) ) ; }
Source:
public boolean connect ( android.bluetooth.BluetoothDevice device ) { if ( ! ( com.android.bluetooth.Utils.checkCaller ( ) ) ) { android.util.Log.w ( com.android.bluetooth.pbap.BluetoothPbapService.TAG , "connect(): not allowed for non-active user" ) ; return false ; } enforceCallingOrSelfPermission ( com.android.bluetooth.pbap.BluetoothPbapService.BLUETOOTH_ADMIN_PERM , "Need BLUETOOTH_ADMIN permission" ) ; return false ; }

Target:
public void disconnect ( ) { if ( com.android.bluetooth.pbap.BluetoothPbapService.DEBUG ) android.util.Log.d ( com.android.bluetooth.pbap.BluetoothPbapService.TAG , "disconnect" ) ; com.android.bluetooth.pbap.BluetoothPbapService service = getService ( com.android.bluetooth.pbap.BluetoothPbapService.BLUETOOTH_ADMIN_PERM ) ; if ( service == null ) return ; service.disconnect ( ) ; }
Source:
public static boolean getSupportsRtl ( com.android.io.IAbstractFile manifestFile ) throws com.android.io.StreamException , javax.xml.xpath.XPathExpressionException { javax.xml.xpath.XPath xPath = com.android.xml.AndroidXPathFactory.newXPath ( ) ; java.lang.String value = xPath.evaluate ( ( ( ( ( ( ( ( "/" + ( com.android.xml.AndroidManifest.NODE_MANIFEST ) ) + "/" ) + ( com.android.xml.AndroidManifest.NODE_APPLICATION ) ) + "/@" ) + ( AndroidXPathFactory.DEFAULT_NS_PREFIX ) ) + ":" ) + ( com.android.xml.AndroidManifest.ATTRIBUTE_SUPPORTS_RTL ) ) , new org.xml.sax.InputSource ( manifestFile.getContents ( ) ) ) ; return java.lang.Boolean.parseBoolean ( value ) ; }

Target:
public static boolean getSupportsRtl ( com.android.io.IAbstractFile manifestFile ) throws com.android.io.StreamException , javax.xml.xpath.XPathExpressionException { java.lang.String value = com.android.xml.AndroidManifest.getStringValue ( manifestFile , ( ( ( ( ( ( ( "/" + ( com.android.xml.AndroidManifest.NODE_MANIFEST ) ) + "/" ) + ( com.android.xml.AndroidManifest.NODE_APPLICATION ) ) + "/@" ) + ( AndroidXPathFactory.DEFAULT_NS_PREFIX ) ) + ":" ) + ( com.android.xml.AndroidManifest.ATTRIBUTE_SUPPORTS_RTL ) ) ) ; return java.lang.Boolean.parseBoolean ( value ) ; }
Source:
synchronized void nAllocationResize2D ( int id , int dimX , int dimY ) { validate ( ) ; rsnAllocationResize2D ( mContext , id , dimX , dimY ) ; }

Target:
synchronized void nAllocationResize1D ( long id , int dimX ) { validate ( ) ; rsnAllocationResize1D ( mContext , id , dimX ) ; }
Source:
public void testRegisterIdlingResources ( ) { android.support.test.espresso.IdlingResource resource = new android.support.test.espresso.EspressoTest.DummyIdlingResource ( "testRegisterIdlingResources" ) ; assertTrue ( android.support.test.espresso.Espresso.registerIdlingResources ( resource ) ) ; assertFalse ( android.support.test.espresso.Espresso.registerIdlingResources ( resource ) ) ; }

Target:
public void registerIdlingResources ( ) { android.support.test.espresso.IdlingResource resource = new android.support.test.espresso.EspressoTest.DummyIdlingResource ( "testRegisterIdlingResources" ) ; org.junit.Assert.assertTrue ( android.support.test.espresso.Espresso.registerIdlingResources ( resource ) ) ; org.junit.Assert.assertFalse ( android.support.test.espresso.Espresso.registerIdlingResources ( resource ) ) ; }
Source:
void stopping ( com.google.common.util.concurrent.Service.State from ) ;

Target:
public void terminated ( com.google.common.util.concurrent.Service.State from ) { }
Source:
static com.android.bluetooth.hfpclient.HeadsetClientStateMachine make ( com.android.bluetooth.hfpclient.HeadsetClientService context ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , "make" ) ; com.android.bluetooth.hfpclient.HeadsetClientStateMachine hfcsm = new com.android.bluetooth.hfpclient.HeadsetClientStateMachine ( context ) ; hfcsm.start ( ) ; return hfcsm ; }

Target:
static com.android.bluetooth.hfpclient.HeadsetClientStateMachine make ( com.android.bluetooth.hfpclient.HeadsetClientService context ) { if ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.DBG ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , "make" ) ; } com.android.bluetooth.hfpclient.HeadsetClientStateMachine hfcsm = new com.android.bluetooth.hfpclient.HeadsetClientStateMachine ( context ) ; hfcsm.start ( ) ; return hfcsm ; }
Source:
boolean isBooleanField ( java.lang.reflect.Field field ) { return com.google.devtools.common.options.IsolatedOptionsData.isBooleanField ( field , getConverter ( field ) ) ; }

Target:
boolean isBooleanField ( com.google.devtools.common.options.OptionDefinition optionDefinition ) { return com.google.devtools.common.options.IsolatedOptionsData.isBooleanField ( optionDefinition , getConverter ( optionDefinition ) ) ; }
Source:
protected void needNetworkFor ( android.net.NetworkRequest networkRequest , int score ) { if ( DBG ) log ( ( "Cellular needs Network for " + networkRequest ) ) ; com.android.internal.telephony.dataconnection.ApnContext apnContext = apnContextForNetworkRequest ( networkRequest ) ; if ( apnContext != null ) apnContext.incRefCount ( ) ; }

Target:
public void incApnRefCount ( java.lang.String name ) { com.android.internal.telephony.dataconnection.ApnContext apnContext = mApnContexts.get ( name ) ; if ( apnContext != null ) { apnContext.incRefCount ( ) ; } }
Source:
public java.util.Collection < ? extends com.android.build.OutputFile > getOutputs ( ) { return com.google.common.collect.ImmutableList.of ( ) ; }

Target:
public java.util.Collection < ? extends com.android.build.OutputFile > getOutputs ( ) { return com.google.common.collect.ImmutableList.of ( mainOutputFile ) ; }
Source:
public java.lang.Number parse ( java.lang.String text , java.text.ParsePosition parsePosition ) { return ( ( java.lang.Number ) ( parse ( text , parsePosition , null ) ) ) ; }

Target:
public synchronized void setDecimalSeparatorAlwaysShown ( boolean value ) { properties.setDecimalSeparatorAlwaysShown ( value ) ; refreshFormatter ( ) ; }
Source:
public void onChange ( boolean selfChange ) { android.util.Log.i ( "GsmServiceStateTracker" , "Auto time state changed" ) ; revertToNitzTime ( ) ; }

Target:
public void onChange ( boolean selfChange ) { android.telephony.Rlog.i ( "GsmServiceStateTracker" , "Auto time state changed" ) ; revertToNitzTime ( ) ; }
Source:
public com.android.sdklib.repository.descriptors.IdDisplay getTag ( ) { return null ; }

Target:
public com.android.sdklib.repository.descriptors.IdDisplay getTag ( ) { return mTag ; }
Source:
public java.io.File getRenderscriptResOutputDir ( ) { return new java.io.File ( globalScope.getGeneratedDir ( ) , ( "res/rs/" + ( getVariantConfiguration ( ) . getDirName ( ) ) ) ) ; }

Target:
public java.io.File getGeneratedResOutputDir ( ) { return getGeneratedResourcesDir ( "resValues" ) ; }
Source:
public static < T > org.hamcrest.org.hamcrest.Matcher < T > any ( java.lang.Class < T > type ) { return org.hamcrest.core.IsAnything.any ( type ) ; }

Target:
public static < T > org.hamcrest.core.AnyOf < T > anyOf ( org.hamcrest.org.hamcrest.Matcher < T > first , org.hamcrest.org.hamcrest.Matcher < ? extends T > second ) { return org.hamcrest.core.AnyOf.< org.hamcrest.T > anyOf ( first , second ) ; }
Source:
public static long LongRemainder ( ) { long a ; long b ; long c ; a = Main.$inline$long ( 8L ) ; b = Main.$inline$long ( 3L ) ; c = a % b ; return c ; }

Target:
public static long LongAddition ( ) { long a ; long b ; long c ; a = 1L ; b = 2L ; c = a + b ; return c ; }
Source:
public static java.io.File getObjectFilesOutputDirectory ( org.gradle.nativeplatform.NativeBinarySpec binary , java.io.File buildDir , java.lang.String sourceSetName ) { return new java.io.File ( buildDir , java.lang.String.format ( "%s/objectFiles/%s/%s" , AndroidProject.FD_INTERMEDIATES , binary.getName ( ) , sourceSetName ) ) ; }

Target:
public static java.io.File getObjectFilesOutputDirectory ( org.gradle.nativeplatform.NativeBinarySpec binary , java.io.File buildDir , java.lang.String sourceSetName ) { return new java.io.File ( buildDir , java.lang.String.format ( "%s/objectFiles/%s/%s" , com.android.builder.model.AndroidProject.FD_INTERMEDIATES , binary.getName ( ) , sourceSetName ) ) ; }
Source:
private void assertPinnedToWifiWithWifiDefault ( ) { assertEquals ( mWiFiNetworkAgent.getNetwork ( ) , mCm.getBoundNetworkForProcess ( ) ) ; assertEquals ( mWiFiNetworkAgent.getNetwork ( ) , mCm.getActiveNetwork ( ) ) ; }

Target:
private void assertPinnedToWifiWithCellDefault ( ) { org.junit.Assert.assertEquals ( mWiFiNetworkAgent.getNetwork ( ) , mCm.getBoundNetworkForProcess ( ) ) ; org.junit.Assert.assertEquals ( mCellNetworkAgent.getNetwork ( ) , mCm.getActiveNetwork ( ) ) ; }
Source:
private static java.lang.String rfc1123Date ( long millis ) { java.text.DateFormat df = new java.text.SimpleDateFormat ( "EEE, dd MMM yyyy HH:mm:ss zzz" ) ; return df.format ( new java.util.Date ( millis ) ) ; }

Target:
private static java.lang.String rfc1123Date ( long millis ) { java.text.DateFormat df = new java.text.SimpleDateFormat ( "EEE, dd MMM yyyy HH:mm:ss zzz" , java.util.Locale.ENGLISH ) ; return df.format ( new java.util.Date ( millis ) ) ; }
Source:
public void testUserE ( ) { int userSetting = com.android.internal.content.PackageHelper.APP_INSTALL_EXTERNAL ; int iloc = getExpectedInstallLocation ( userSetting ) ; setUserX ( true , userSetting , iloc ) ; }

Target:
public void testUserE ( ) { if ( android.os.Environment.isExternalStorageEmulated ( ) ) { return ; } int userSetting = com.android.internal.content.PackageHelper.APP_INSTALL_EXTERNAL ; int iloc = getExpectedInstallLocation ( userSetting ) ; setUserX ( true , userSetting , iloc ) ; }
Source:
private static java.lang.String getFormattedNumber ( java.lang.String number , android.content.Context context ) { java.lang.String formattedNumber = android.telephony.PhoneNumberUtils.formatNumber ( number , com.android.dialer.location.GeoUtil.getCurrentCountryIso ( context ) ) ; return com.android.contacts.common.compat.PhoneNumberUtilsCompat.createTtsSpannable ( formattedNumber ) . toString ( ) ; }

Target:
private static java.lang.String getFormattedNumber ( java.lang.String number , android.content.Context context ) { java.lang.String formattedNumber = com.android.dialer.phonenumberutil.PhoneNumberHelper.formatNumber ( context , number , com.android.dialer.location.GeoUtil.getCurrentCountryIso ( context ) ) ; return android.telephony.PhoneNumberUtils.createTtsSpannable ( formattedNumber ) . toString ( ) ; }
Source:
public void inspectScreenshot ( ) { com.android.ddmlib.IDevice device = com.android.hierarchyviewerlib.models.DeviceSelectionModel.getModel ( ) . getSelectedDevice ( ) ; if ( device != null ) { loadPixelPerfectData ( device ) ; } }

Target:
public void loadCaptureInBackground ( final com.android.hierarchyviewerlib.models.ViewNode viewNode ) { executeInBackground ( "Capturing node" , new java.lang.Runnable ( ) { @ java.lang.Override public void run ( ) { loadCapture ( viewNode ) ; } } ) ; }
Source:
public void run ( ) { mClipboardSupport.deleteSelection ( getDeleteLabel ( ) , mSelectionManager.getSnapshot ( ) ) ; }

Target:
public void run ( ) { mClipboardSupport.pasteSelection ( mSelectionManager.getSnapshot ( ) ) ; updateMenuActionState ( ) ; }
Source:
private com.android.jack.library.InputJackLibrary getIncrementalInternalLibrary ( ) { try { return com.android.jack.library.JackLibraryFactory.getInputLibrary ( com.android.sched.util.config.ThreadConfig.get ( Options.LIBRARY_OUTPUT_DIR ) ) ; } catch ( com.android.jack.library.NotJackLibraryException e ) { } catch ( com.android.jack.library.LibraryVersionException e ) { } catch ( com.android.jack.library.LibraryFormatException e ) { } return null ; }

Target:
private com.android.jack.library.InputJackLibrary getIncrementalInternalLibrary ( ) { try { return com.android.jack.library.JackLibraryFactory.getInputLibrary ( incrementalVfs ) ; } catch ( com.android.jack.library.NotJackLibraryException e ) { } catch ( com.android.jack.library.LibraryVersionException e ) { } catch ( com.android.jack.library.LibraryFormatException e ) { } return null ; }
Source:
com.android.builder.model.ArtifactInfo getTestArtifactInfo ( ) ;

Target:
java.util.Collection < com.android.builder.model.AndroidArtifact > getExtraAndroidArtifacts ( ) ;
Source:
public void testIsAssignableFrom_superclass ( ) { android.view.View v = new android.widget.RadioButton ( context ) ; assertTrue ( android.support.test.espresso.matcher.ViewMatchers.isAssignableFrom ( android.widget.Button.class ) . matches ( v ) ) ; }

Target:
public void isAssignableFrom_superclass ( ) { android.view.View v = new android.widget.RadioButton ( context ) ; org.junit.Assert.assertTrue ( android.support.test.espresso.matcher.ViewMatchers.isAssignableFrom ( android.widget.Button.class ) . matches ( v ) ) ; }
Source:
public static < T > org.hamcrest.org.hamcrest.Matcher < T > anyOf ( java.lang.Iterable < org.hamcrest.org.hamcrest.Matcher < ? extends T > > matchers ) { return org.hamcrest.core.AnyOf.anyOf ( matchers ) ; }

Target:
public static < T > org.hamcrest.core.AnyOf < T > anyOf ( java.lang.Iterable < org.hamcrest.org.hamcrest.Matcher < ? extends T > > matchers ) { return org.hamcrest.core.AnyOf.< org.hamcrest.T > anyOf ( matchers ) ; }
Source:
public static < K , V > org.hamcrest.org.hamcrest.Matcher < java.util.Map < K , V > > hasKey ( K key ) { return org.hamcrest.collection.IsMapContaining.hasKey ( key ) ; }

Target:
public static < K , V > org.hamcrest.org.hamcrest.Matcher < java.util.Map < ? extends K , ? extends V > > aMapWithSize ( org.hamcrest.org.hamcrest.Matcher < ? extends java.lang.Integer > sizeMatcher ) { return org.hamcrest.collection.IsMapWithSize.< org.hamcrest.K , org.hamcrest.V > aMapWithSize ( sizeMatcher ) ; }
Source:
public java.util.List < com.android.sched.util.codec.Parser.ValueDescription > getValueDescriptions ( ) { return java.util.Collections.< com.android.sched.util.codec.Parser.ValueDescription > emptyList ( ) ; }

Target:
public java.util.List < com.android.sched.util.codec.ValueDescription > getValueDescriptions ( ) { return java.util.Collections.< com.android.sched.util.codec.ValueDescription > emptyList ( ) ; }
Source:
public com.android.volley.NetworkResponse answer ( org.mockito.invocation.InvocationOnMock invocationOnMock ) throws java.lang.Throwable { java.lang.Thread.sleep ( 200 ) ; return mock ( com.android.volley.NetworkResponse.class ) ; }

Target:
public com.android.volley.NetworkResponse answer ( org.mockito.invocation.InvocationOnMock invocationOnMock ) throws java.lang.Throwable { java.lang.Thread.sleep ( 200 ) ; return org.mockito.Mockito.mock ( com.android.volley.NetworkResponse.class ) ; }
Source:
public static native long DH_generate_key ( int primeBits , int generator ) ;

Target:
public static native long DH_generate_parameters_ex ( int primeBits , long generator ) ;
Source:
protected void visitAnnotation ( int typeIndex , int size ) { }

Target:
public long readLong ( ) { checkType ( com.android.dx.io.EncodedValueReader.ENCODED_LONG ) ; type = com.android.dx.io.EncodedValueReader.MUST_READ ; return com.android.dx.util.EncodedValueUtils.readSignedLong ( in , arg ) ; }
Source:
static long $opt$FloatToLong ( float a ) { return ( ( long ) ( a ) ) ; }

Target:
static double $opt$ShortToDouble ( short a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( double ) ( a ) ) ; }
Source:
public void handleEvent ( org.eclipse.swt.widgets.Event event ) { if ( ! ( mInternalApplicationNameUpdate ) ) { mApplicationNameModifiedByUser = true ; } }

Target:
public void handleEvent ( org.eclipse.swt.widgets.Event event ) { onApplicationFieldModified ( ) ; }
Source:
public abstract java.nio.file.Path pathFromRepository ( java.nio.file.Path relPath ) ;

Target:
public java.nio.file.Path pathFromRepository ( java.nio.file.Path relPath ) { if ( libcore.Repository.OPENJDK_REL_PATH.containsKey ( relPath ) ) { relPath = libcore.Repository.OPENJDK_REL_PATH.get ( relPath ) ; } return super . pathFromRepository ( relPath ) ; }
Source:
public static org.jetbrains.plugins.github.api.GithubUser getCurrentUser ( @ org.jetbrains.annotations.NotNull org.jetbrains.plugins.github.api.GithubAuthData auth ) throws java.io.IOException { com.google.gson.JsonElement result = org.jetbrains.plugins.github.api.GithubApiUtil.getRequest ( auth , "/user" ) ; return org.jetbrains.plugins.github.api.GithubApiUtil.createDataFromRaw ( org.jetbrains.plugins.github.api.GithubApiUtil.fromJson ( result , org.jetbrains.plugins.github.api.GithubUserRaw.class ) , org.jetbrains.plugins.github.api.GithubUser.class ) ; }

Target:
public static org.jetbrains.plugins.github.api.GithubUser getCurrentUser ( @ org.jetbrains.annotations.NotNull org.jetbrains.plugins.github.util.GithubAuthData auth ) throws java.io.IOException { com.google.gson.JsonElement result = org.jetbrains.plugins.github.api.GithubApiUtil.getRequest ( auth , "/user" ) ; return org.jetbrains.plugins.github.api.GithubApiUtil.createDataFromRaw ( org.jetbrains.plugins.github.api.GithubApiUtil.fromJson ( result , org.jetbrains.plugins.github.api.GithubUserRaw.class ) , org.jetbrains.plugins.github.api.GithubUser.class ) ; }
Source:
private void introspectClass ( java.lang.Class < ? > clazz ) { introspect ( clazz.getGenericSuperclass ( ) ) ; for ( java.lang.reflect.Type interfaceType : clazz.getGenericInterfaces ( ) ) { introspect ( interfaceType ) ; } }

Target:
void visitWildcardType ( java.lang.reflect.WildcardType t ) { visit ( t.getUpperBounds ( ) ) ; }
Source:
public void run ( ) { java.lang.System.out.println ( "STARTING TASK" ) ; task.run ( ) ; java.lang.System.out.println ( "ENDING TASK" ) ; }

Target:
public void run ( ) { com.android.hierarchyviewer.HierarchyViewerApplication.getApp ( ) . startTask ( taskName ) ; task.run ( ) ; com.android.hierarchyviewer.HierarchyViewerApplication.getApp ( ) . endTask ( ) ; }
Source:
public void test_minusSeconds_noChange_oneDay_equal ( ) { java.time.LocalTime t = TEST_12_30_40_987654321.minusSeconds ( ( ( 24 * 60 ) * 60 ) ) ; org.testng.Assert.assertEquals ( t , TEST_12_30_40_987654321 ) ; }

Target:
public void test_minusSeconds_noChange_oneDay_equal ( ) { java.time.LocalTime t = tck.java.time.TCKLocalTime.TEST_12_30_40_987654321.minusSeconds ( ( ( 24 * 60 ) * 60 ) ) ; org.testng.Assert.assertEquals ( t , tck.java.time.TCKLocalTime.TEST_12_30_40_987654321 ) ; }
Source:
public boolean canUseExtendedOpcodes ( ) { return ( targetApiLevel ) >= ( DexFormat.API_CURRENT ) ; }

Target:
public boolean canUseExtendedOpcodes ( ) { return ( targetApiLevel ) >= ( com.android.dex.DexFormat.API_CURRENT ) ; }
Source:
public boolean onCreateOptionsMenu ( com.android.stk.Menu menu ) { super . onCreateOptionsMenu ( menu ) ; menu.add ( android.view.Menu.NONE , StkApp.MENU_ID_END_SESSION , 1 , R.string.menu_end_session ) ; menu.add ( 0 , StkApp.MENU_ID_HELP , 2 , R.string.help ) ; return true ; }

Target:
public boolean onCreateOptionsMenu ( android.view.Menu menu ) { super . onCreateOptionsMenu ( menu ) ; createOptionsMenuInternal ( menu ) ; return true ; }
Source:
protected abstract void sendNewSubmitPdu ( java.lang.String destinationAddress , java.lang.String scAddress , java.lang.String message , com.android.internal.telephony.SmsHeader smsHeader , int encoding , android.app.PendingIntent sentIntent , android.app.PendingIntent deliveryIntent , boolean lastPart ) ;

Target:
protected abstract void sendNewSubmitPdu ( java.lang.String destinationAddress , java.lang.String scAddress , java.lang.String message , com.android.internal.telephony.SmsHeader smsHeader , int encoding , android.app.PendingIntent sentIntent , android.app.PendingIntent deliveryIntent , boolean lastPart , java.util.concurrent.atomic.AtomicInteger unsentPartCount , java.util.concurrent.atomic.AtomicBoolean anyPartFailed , android.net.Uri messageUri ) ;
Source:
public void periodicAdvertisingEnable ( int advertiserId , boolean enable ) { com.android.bluetooth.gatt.GattService service = getService ( ) ; if ( service == null ) return ; }

Target:
public void setPeriodicAdvertisingData ( int advertiserId , android.bluetooth.le.AdvertiseData data ) { com.android.bluetooth.gatt.GattService service = getService ( ) ; if ( service == null ) return ; service.setPeriodicAdvertisingData ( advertiserId , data ) ; }
Source:
public static native void setAppPolicy ( ) ;

Target:
public static final native void setPolicy ( ) ;
Source:
protected void accept ( android.net.LocalSocketImpl s ) throws java.io.IOException { if ( ( fd ) == null ) { throw new java.io.IOException ( "socket not created" ) ; } s.fd = accept ( fd , s ) ; }

Target:
protected void accept ( android.net.LocalSocketImpl s ) throws java.io.IOException { if ( ( fd ) == null ) { throw new java.io.IOException ( "socket not created" ) ; } s.fd = accept ( fd , s ) ; s.mFdCreatedInternally = true ; }
Source:
public java.lang.String getUsage ( ) { return ( "a path to an input directory or zip archive (" + ( getUsageDetails ( ) ) ) + ")" ; }

Target:
public java.lang.String getUsage ( ) { return ( "a path to a directory or zip archive (" + ( getUsageDetails ( ) ) ) + ")" ; }
Source:
public void testGetOldValue ( ) { assertEquals ( "Merge" , com.android.tools.lint.checks.WrongCaseDetector.getOldValue ( "Invalid tag <Merge>; should be <merge>" ) ) ; }

Target:
public void testGetOldValue ( ) { assertEquals ( "Merge" , com.android.tools.lint.checks.WrongCaseDetector.getOldValue ( "Invalid tag `<Merge>`; should be `<merge>`" , com.android.tools.lint.detector.api.TextFormat.RAW ) ) ; assertEquals ( "Merge" , com.android.tools.lint.checks.WrongCaseDetector.getOldValue ( "Invalid tag <Merge>; should be <merge>" , com.android.tools.lint.detector.api.TextFormat.TEXT ) ) ; }
Source:
public com.android.sched.vfs.OutputVFile createOutputVFile ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) throws com.android.sched.util.file.CannotCreateFileException { com.android.sched.vfs.MessageDigestInputOutputVFS.MessageDigestOutputVFile file = new com.android.sched.vfs.MessageDigestInputOutputVFS.MessageDigestOutputVFile ( dir.createOutputVFile ( path ) , path ) ; files.add ( file ) ; return file ; }

Target:
public synchronized com.android.sched.vfs.OutputVFile createOutputVFile ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) throws com.android.sched.util.file.CannotCreateFileException { assert ! ( closed ) ; com.android.sched.vfs.MessageDigestInputOutputVFS.MessageDigestOutputVFile file = new com.android.sched.vfs.MessageDigestInputOutputVFS.MessageDigestOutputVFile ( dir.createOutputVFile ( path ) , path ) ; files.add ( file ) ; return file ; }
Source:
long getLastModified ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVFile file ) { return vfs.getLastModified ( file ) ; }

Target:
com.android.sched.util.location.Location getVDirLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.DeflateFS.DeflateVDir dir ) { return vfs.getVDirLocation ( dir.getWrappedDir ( ) ) ; }
Source:
public void loggedRun ( ) { createConnectionFailed ( connectionMgrPhoneAccount , id , request , isIncoming ) ; }

Target:
public void loggedRun ( ) { notifyCreateConnectionComplete ( id ) ; }
Source:
public static com.android.ahat.heapdump.AhatSnapshot parseHeapDump ( java.io.File hprof , com.android.ahat.proguard.ProguardMap map ) throws com.android.ahat.heapdump.HprofFormatException , java.io.IOException { return com.android.ahat.heapdump.Parser.parseHeapDump ( new com.android.ahat.heapdump.Parser.HprofBuffer ( hprof ) , map ) ; }

Target:
public static com.android.ahat.heapdump.AhatSnapshot parseHeapDump ( java.io.File hprof , com.android.ahat.proguard.ProguardMap map ) throws com.android.ahat.heapdump.HprofFormatException , java.io.IOException { try { return com.android.ahat.heapdump.Parser.parseHeapDump ( new com.android.ahat.heapdump.Parser.HprofBuffer ( hprof ) , map ) ; } catch ( java.nio.BufferUnderflowException e ) { throw new com.android.ahat.heapdump.HprofFormatException ( "Unexpected end of file" , e ) ; } }
Source:
public void initBuildTypeNdk ( @ org.gradle.model.Path ( value = "android.buildTypes" ) org.gradle.model.ModelMap < com.android.build.gradle.managed.BuildType > buildTypes ) { buildTypes.beforeEach ( new org.gradle.api.Action < com.android.build.gradle.managed.BuildType > ( ) { @ java.lang.Override public void execute ( com.android.build.gradle.managed.BuildType buildType ) { com.android.build.gradle.internal.NdkOptionsHelper.init ( buildType.getNdk ( ) ) ; } } ) ; }

Target:
public void execute ( com.android.build.gradle.managed.BuildType buildType ) { if ( ( buildType.getNdk ( ) . getIsDebuggable ( ) ) == null ) { buildType.getNdk ( ) . setIsDebuggable ( true ) ; } }
Source:
public < T > T [ ] toArray ( T [ ] array ) { return com.google.common.collect.Lists.newArrayList ( iterator ( ) ) . toArray ( array ) ; }

Target:
public boolean removeAll ( java.util.Collection < ? > c ) { return removeIf ( com.google.common.base.Predicates.in ( c ) ) ; }
Source:
public com.android.ide.eclipse.adt.internal.resources.configurations.TouchScreenQualifier getTouchTypeQualifier ( ) { return ( ( com.android.ide.eclipse.adt.internal.resources.configurations.TouchScreenQualifier ) ( mQualifiers [ com.android.ide.eclipse.adt.internal.resources.configurations.FolderConfiguration.INDEX_TOUCH_TYPE ] ) ) ; }

Target:
public com.android.ide.common.resources.configuration.TouchScreenQualifier getTouchTypeQualifier ( ) { return ( ( com.android.ide.common.resources.configuration.TouchScreenQualifier ) ( mQualifiers [ com.android.ide.common.resources.configuration.FolderConfiguration.INDEX_TOUCH_TYPE ] ) ) ; }
Source:
public static org.hamcrest.Matcher < java.lang.String > containsString ( java.lang.String substring ) { return org.hamcrest.CoreMatchers.containsString ( substring ) ; }

Target:
public static org.hamcrest.Matcher < java.lang.String > containsString ( java.lang.String substring ) { return org.junit.internal.matchers.StringContains.containsString ( substring ) ; }
Source:
public void removeForward ( int localPort , java.lang.String remoteSocketName , com.android.ddmlib.IDevice.DeviceUnixSocketNamespace namespace ) throws com.android.ddmlib.AdbCommandRejectedException , com.android.ddmlib.TimeoutException , java.io.IOException ;

Target:
void createForward ( int localPort , int remotePort ) throws com.android.ddmlib.AdbCommandRejectedException , com.android.ddmlib.TimeoutException , java.io.IOException ;
Source:
private void updateCurrentRemoteMessage ( java.lang.String newMessage ) { com.android.incallui.rtt.impl.RttChatMessage.updateRemoteRttChatMessage ( rttMessages , newMessage ) ; lastIndexOfLocalMessage = com.android.incallui.rtt.impl.RttChatMessage.getLastIndexLocalMessage ( rttMessages ) ; notifyDataSetChanged ( ) ; }

Target:
private void updateCurrentRemoteMessage ( java.lang.String newMessage ) { com.android.incallui.rtt.protocol.RttChatMessage.updateRemoteRttChatMessage ( rttMessages , newMessage ) ; lastIndexOfLocalMessage = com.android.incallui.rtt.protocol.RttChatMessage.getLastIndexLocalMessage ( rttMessages ) ; notifyDataSetChanged ( ) ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setTarget ( java.lang.String value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 8 ; target_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setBuildSystemFingerprintBytes ( com.android.vts.proto.ByteString value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 8192 ; buildSystemFingerprint_ = value ; onChanged ( ) ; return this ; }
Source:
public void test005 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( TEST005 ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JillBasedToolchain.class ) . compileAndRunTest ( ) ; }

Target:
public void test005 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( TEST005 ) . addProperty ( Optimizations.UseDefSimplifier.OPTIMIZE_CST_DEF.getName ( ) , "false" ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JillBasedToolchain.class ) . compileAndRunTest ( ) ; }
Source:
public void testE2 ( ) { dot.junit.opcodes.aput_short.d.T_aput_short_1 t = new dot.junit.opcodes.aput_short.d.T_aput_short_1 ( ) ; try { t.run ( null , 2 , ( ( short ) ( 10000 ) ) ) ; fail ( "expected NullPointerException" ) ; } catch ( java.lang.NullPointerException aie ) { } }

Target:
public void testVFE1 ( ) { load ( "dot.junit.opcodes.aput_short.d.T_aput_short_2" , java.lang.VerifyError.class ) ; }
Source:
public java.lang.String getSystemDialerPackage ( ) { try { com.android.server.telecom.Log.startSession ( "TSI.gSDP" ) ; return mContext.getResources ( ) . getString ( R.string.ui_default_package ) ; } finally { com.android.server.telecom.Log.endSession ( ) ; } }

Target:
public java.lang.String getSystemDialerPackage ( ) { try { android.telecom.Log.startSession ( "TSI.gSDP" ) ; return mContext.getResources ( ) . getString ( R.string.ui_default_package ) ; } finally { android.telecom.Log.endSession ( ) ; } }
Source:
private static int bits32 ( int x ) { return java.lang.Integer.bitCount ( x ) ; }

Target:
private static int $noinline$BitCountByte ( byte x ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return java.lang.Integer.bitCount ( x ) ; }
Source:
public boolean canUseDefaultInterfaceMethods ( ) { return ( minSdkVersion ) >= ( com.android.dex.DexFormat.API_DEFAULT_INTERFACE_METHODS ) ; }

Target:
public boolean apiIsSupported ( int apiLevel ) { return ( minSdkVersion ) >= apiLevel ; }
Source:
public void setDataAllowed ( boolean enable , android.os.Message response ) { mIsCleanupRequired = ! enable ; mPhone.mCi.setDataAllowed ( enable , response ) ; mInternalDataEnabled = enable ; }

Target:
public void setDataAllowed ( boolean enable , android.os.Message response ) { if ( DBG ) log ( ( "setDataAllowed: enable=" + enable ) ) ; mIsCleanupRequired = ! enable ; mPhone.mCi.setDataAllowed ( enable , response ) ; mInternalDataEnabled = enable ; }
Source:
protected com.android.sdklib.internal.repository.ArchiveInstaller createArchiveInstaler ( ) { return new com.android.sdklib.internal.repository.ArchiveInstaller ( ) { @ java.lang.Override public boolean install ( com.android.sdklib.internal.repository.ArchiveReplacement archiveInfo , java.lang.String osSdkRoot , boolean forceHttp , com.android.sdklib.SdkManager sdkManager , com.android.sdklib.internal.repository.DownloadCache cache , com.android.sdklib.internal.repository.ITaskMonitor monitor ) { mInstalled.add ( archiveInfo ) ; return true ; } } ; }

Target:
protected com.android.sdklib.internal.repository.archives.ArchiveInstaller createArchiveInstaler ( ) { return new com.android.sdklib.internal.repository.archives.ArchiveInstaller ( ) { @ java.lang.Override public boolean install ( com.android.sdklib.internal.repository.archives.ArchiveReplacement archiveInfo , java.lang.String osSdkRoot , boolean forceHttp , com.android.sdklib.SdkManager sdkManager , com.android.sdklib.internal.repository.DownloadCache cache , com.android.sdklib.internal.repository.ITaskMonitor monitor ) { mInstalled.add ( archiveInfo ) ; return true ; } } ; }
Source:
public android.net.wifi.nan.LvBufferUtils.LvConstructor putInt ( int data ) { mTlvImpl.putInt ( 0 , data ) ; return this ; }

Target:
public android.net.wifi.aware.LvBufferUtils.LvConstructor putInt ( int data ) { mTlvImpl.putInt ( 0 , data ) ; return this ; }
Source:
public void visitRuntimeVisibleAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute ) { if ( ( runtimeVisibleAnnotationsAttribute.u2annotationsCount ) > 0 ) { runtimeVisibleAnnotationsAttribute.accept ( clazz , attributeVisitor ) ; } }

Target:
public void visitCodeAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.CodeAttribute codeAttribute ) { attributeVisitor.visitCodeAttribute ( clazz , method , codeAttribute ) ; }
Source:
private static boolean isVersionZeroRegister ( com.android.jack.ir.ast.JSsaVariableRef ssaReg ) { return ( ssaReg.getVersion ( ) ) == 0 ; }

Target:
private static boolean isVersionZeroRegister ( com.android.jack.ir.ast.JSsaVariableUseRef ssaReg ) { return ( ( ssaReg.getVersion ( ) ) == 0 ) && ( ssaReg instanceof com.android.jack.ir.ast.JSsaVariableUseRefPlaceHolder ) ; }
Source:
public void onVideoScreenStart ( ) { inCallButtonUiDelegate.refreshMuteState ( ) ; videoCallScreenDelegate.onVideoCallScreenUiReady ( ) ; getView ( ) . postDelayed ( cameraPermissionDialogRunnable , com.android.incallui.video.impl.VideoCallFragment.CAMERA_PERMISSION_DIALOG_DELAY_IN_MILLIS ) ; }

Target:
public void onVideoScreenStart ( ) { inCallButtonUiDelegate.refreshMuteState ( ) ; videoCallScreenDelegate.onVideoCallScreenUiReady ( ) ; getView ( ) . postDelayed ( cameraPermissionDialogRunnable , com.android.incallui.video.impl.VideoCallFragment.CAMERA_PERMISSION_DIALOG_DELAY_IN_MILLIS ) ; getView ( ) . postDelayed ( videoChargesAlertDialogRunnable , com.android.incallui.video.impl.VideoCallFragment.VIDEO_CHARGES_ALERT_DIALOG_DELAY_IN_MILLIS ) ; }
Source:
public void setSelection ( com.android.ddmlib.IDevice device , com.android.hierarchyviewerlib.device.Window window ) { synchronized ( mDeviceMap ) { mSelectedDevice = device ; mSelectedWindow = window ; } notifySelectionChanged ( device , window ) ; }

Target:
public void setSelection ( com.android.hierarchyviewerlib.device.IHvDevice device , com.android.hierarchyviewerlib.models.Window window ) { synchronized ( mDeviceMap ) { mSelectedDevice = device ; mSelectedWindow = window ; } notifySelectionChanged ( device , window ) ; }
Source:
protected abstract java.util.Collection < ? extends com.android.jack.server.HasVersion > getVersionnedElements ( ) ;

Target:
protected abstract java.util.Collection < ? extends com.android.jack.server.HasVersion > getVersionedElements ( ) ;
Source:
public void testVFE4 ( ) { try { new dot.junit.opcodes.sget_boolean.d.T_sget_boolean_6 ( ) . run ( ) ; } catch ( java.lang.IllegalAccessError t ) { } }

Target:
public void testVFE4 ( ) { loadAndRun ( "dot.junit.opcodes.sget_boolean.d.T_sget_boolean_6" , java.lang.IllegalAccessError.class ) ; }
Source:
public void run ( ) { mContentWrapper.setLayerType ( com.android.launcher3.LAYER_TYPE_NONE , null ) ; mContentWrapper.setLayerType ( com.android.launcher3.LAYER_TYPE_NONE , null ) ; }

Target:
public void run ( ) { mContentWrapper.setLayerType ( com.android.launcher3.LAYER_TYPE_NONE , null ) ; mFooter.setLayerType ( com.android.launcher3.LAYER_TYPE_NONE , null ) ; }
Source:
private final native void init ( ) ;

Target:
private final native void init ( boolean isSystem ) ;
Source:
public void run ( ) { toInterrupt.interrupt ( ) ; }

Target:
public void run ( ) { try { java.lang.Thread.sleep ( 1000 ) ; } catch ( java.lang.InterruptedException ex ) { } toInterrupt.interrupt ( ) ; }
Source:
private void verifyTimeServiceTimeZoneWasNotSet ( ) { org.mockito.Mockito.verify ( mTimeServiceHelper , org.mockito.Mockito.times ( 0 ) ) . setDeviceTimeZone ( org.mockito.ArgumentMatchers.any ( java.lang.String.class ) ) ; }

Target:
void verifyTimeZoneWasNotSet ( ) { org.mockito.Mockito.verify ( mTimeServiceHelper , org.mockito.Mockito.times ( 0 ) ) . setDeviceTimeZone ( org.mockito.ArgumentMatchers.any ( java.lang.String.class ) ) ; }
Source:
static void logWriteError ( java.lang.String host , java.io.File file , java.lang.Throwable t ) { java.lang.System.logW ( ( ( ( ( "Error writing session data for " + host ) + " to " ) + file ) + "." ) , t ) ; }

Target:
static void logWriteError ( java.lang.String host , java.io.File file , java.lang.Throwable t ) { java.lang.System.err.println ( ( ( ( ( "FileClientSessionCache: Error writing session data for " + host ) + " to " ) + file ) + "." ) ) ; t.printStackTrace ( ) ; }
Source:
public native void setLong ( java.lang.Object object , long value ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
private native void setLong ( java.lang.Object object , long value , boolean accessible ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;
Source:
public com.google.common.util.concurrent.ListenableFuture < com.android.dialer.phonelookup.PhoneLookupInfo > lookup ( @ android.support.annotation.NonNull android.telecom.Call call ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public com.google.common.util.concurrent.ListenableFuture < com.android.dialer.phonelookup.PhoneLookupInfo > lookup ( @ android.support.annotation.NonNull android.telecom.Call call ) { return com.google.common.util.concurrent.MoreExecutors.newDirectExecutorService ( ) . submit ( PhoneLookupInfo :: getDefaultInstance ) ; }
Source:
public android.net.NetworkCapabilities addCapability ( @ android.net.NetworkCapabilities.NetCapability int capability ) { if ( ( capability < ( android.net.NetworkCapabilities.MIN_NET_CAPABILITY ) ) || ( capability > ( android.net.NetworkCapabilities.MAX_NET_CAPABILITY ) ) ) { throw new java.lang.IllegalArgumentException ( "NetworkCapability out of range" ) ; } mNetworkCapabilities |= 1 << capability ; return this ; }

Target:
public android.net.NetworkCapabilities addCapability ( @ android.net.NetworkCapabilities.NetCapability int capability ) { android.net.NetworkCapabilities.checkValidCapability ( capability ) ; mNetworkCapabilities |= 1 << capability ; mUnwantedNetworkCapabilities &= ~ ( 1 << capability ) ; return this ; }
Source:
public final E set ( int index , E element ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public final void add ( int index , E element ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public static com.android.internal.telephony.gsm.GsmMmiCode newFromUssdUserInput ( java.lang.String ussdMessge , com.android.internal.telephony.gsm.GsmCdmaPhone phone , com.android.internal.telephony.uicc.UiccCardApplication app ) { com.android.internal.telephony.gsm.GsmMmiCode ret = new com.android.internal.telephony.gsm.GsmMmiCode ( phone , app ) ; ret.mMessage = ussdMessge ; ret.mState = State.PENDING ; ret.mIsPendingUSSD = true ; return ret ; }

Target:
public static com.android.internal.telephony.gsm.GsmMmiCode newFromUssdUserInput ( java.lang.String ussdMessge , com.android.internal.telephony.GsmCdmaPhone phone , com.android.internal.telephony.uicc.UiccCardApplication app ) { com.android.internal.telephony.gsm.GsmMmiCode ret = new com.android.internal.telephony.gsm.GsmMmiCode ( phone , app ) ; ret.mMessage = ussdMessge ; ret.mState = State.PENDING ; ret.mIsPendingUSSD = true ; return ret ; }
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; cr = mContext.getContentResolver ( ) ; assertNotNull ( cr ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; cr = mContext.getContentResolver ( ) ; assertNotNull ( cr ) ; assertSettingsForTests ( ) ; }
Source:
public void testPrimitives ( ) { android.renderscript.cts.ScriptC_primitives t = new android.renderscript.cts.ScriptC_primitives ( mRS ) ; assertTrue ( initializeGlobals ( t ) ) ; t.invoke_test ( ) ; waitForMessage ( ) ; checkForErrors ( ) ; }

Target:
public void testPrimitives ( ) { android.renderscript.cts.ScriptC_primitives t = new android.renderscript.cts.ScriptC_primitives ( mRS ) ; assertTrue ( initializeGlobals ( t ) ) ; t.invoke_test ( ) ; waitForMessage ( ) ; checkForErrors ( ) ; t.destroy ( ) ; }
Source:
public void removeTransportModeTransforms ( java.net.DatagramSocket socket , android.net.IpSecTransform transform ) throws java.io.IOException { try ( android.os.ParcelFileDescriptor pfd = android.os.ParcelFileDescriptor.fromDatagramSocket ( socket ) ) { removeTransportModeTransforms ( pfd , transform ) ; } }

Target:
public void removeTransportModeTransforms ( java.net.Socket socket , android.net.IpSecTransform transform ) throws java.io.IOException { removeTransportModeTransforms ( socket.getFileDescriptor$ ( ) , transform ) ; }
Source:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { Main.testFieldReflection ( ) ; Main.testMethodReflection ( ) ; Main.testConstructorReflection ( ) ; Main.testPackagePrivate ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { Main.testFieldReflection ( ) ; Main.testMethodReflection ( ) ; Main.testConstructorReflection ( ) ; Main.testPackagePrivateConstructor ( ) ; Main.testPackagePrivateAccessibleConstructor ( ) ; }
Source:
void deviceConnected ( java.lang.String bdaddr , boolean absoluteVolume ) { android.util.Log.i ( com.android.bluetooth.avrcp.AvrcpTargetService.TAG , ( ( ( "deviceConnected: bdaddr=" + bdaddr ) + " absoluteVolume=" ) + absoluteVolume ) ) ; mAudioManager.avrcpSupportsAbsoluteVolume ( bdaddr , absoluteVolume ) ; com.android.bluetooth.btservice.MetricsLogger.logProfileConnectionEvent ( BluetoothMetricsProto.ProfileId.AVRCP ) ; }

Target:
void deviceConnected ( java.lang.String bdaddr , boolean absoluteVolume ) { android.util.Log.i ( com.android.bluetooth.avrcp.AvrcpTargetService.TAG , ( ( ( "deviceConnected: bdaddr=" + bdaddr ) + " absoluteVolume=" ) + absoluteVolume ) ) ; mVolumeManager.deviceConnected ( bdaddr , absoluteVolume ) ; com.android.bluetooth.btservice.MetricsLogger.logProfileConnectionEvent ( BluetoothMetricsProto.ProfileId.AVRCP ) ; }
Source:
public static native void SSL_use_OpenSSL_PrivateKey ( long ssl , long pkey ) ;

Target:
public static native void SSL_use_PrivateKey ( long ssl , long pkey ) ;
Source:
public static int mulPow2Plus1 ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg * 9 ; }

Target:
public static int $noinline$mulPow2Plus1 ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg * 9 ; }
Source:
public boolean isInterface ( ) { return ( ( access ) & ( org.jetbrains.asm4.Opcodes.ACC_INTERFACE ) ) != 0 ; }

Target:
public boolean isInterface ( ) { return ( ( access ) & ( org.jetbrains.org.objectweb.asm.Opcodes.ACC_INTERFACE ) ) != 0 ; }
Source:
public < T > T [ ] toArray ( T [ ] other ) { return delegateList.toArray ( other ) ; }

Target:
int copyIntoArray ( java.lang.Object [ ] dst , int offset ) { return delegateList.copyIntoArray ( dst , offset ) ; }
Source:
public com.android.ims.internal.IImsEcbm getEcbmInterface ( ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . getEcbmInterface ( mSlotId , mSupportedFeature ) ; } }

Target:
public com.android.ims.internal.IImsConfig getConfigInterface ( ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . getConfigInterface ( mSlotId , mSupportedFeature ) ; } }
Source:
private static void listIssue ( java.io.PrintStream out , com.android.tools.lint.detector.api.Issue issue ) { out.print ( com.android.tools.lint.Main.wrapArg ( ( ( ( "\"" + ( issue.getId ( ) ) ) + "\": " ) + ( issue.getDescription ( com.android.tools.lint.detector.api.TextFormat.TEXT ) ) ) ) ) ; }

Target:
private static void listIssue ( java.io.PrintStream out , com.android.tools.lint.detector.api.Issue issue ) { out.print ( com.android.tools.lint.Main.wrapArg ( ( ( ( "\"" + ( issue.getId ( ) ) ) + "\": " ) + ( issue.getBriefDescription ( com.android.tools.lint.detector.api.TextFormat.TEXT ) ) ) ) ) ; }
Source:
java.lang.String getKeyAttributeName ( ) ;

Target:
com.google.common.collect.ImmutableList < java.lang.String > getKeyAttributesNames ( ) ;
Source:
native void rsnScriptSetVarVE ( long con , long id , int slot , byte [ ] val , long e , int [ ] dims ) ;

Target:
synchronized void nScriptBindAllocation ( long script , long alloc , int slot , boolean mUseInc ) { validate ( ) ; long curCon = mContext ; if ( mUseInc ) { curCon = mIncCon ; } rsnScriptBindAllocation ( curCon , script , alloc , slot , mUseInc ) ; }
Source:
public void doWork ( ) throws android.os.RemoteException { mService.getAccountsByFeatures ( mResponse , type , features ) ; }

Target:
public void doWork ( ) throws android.os.RemoteException { mService.getAccountsByFeatures ( mResponse , type , features , mContext.getOpPackageName ( ) ) ; }
Source:
public static com.android.dialer.common.database.Selection fromString ( @ android.support.annotation.Nullable java.lang.String selection , @ android.support.annotation.Nullable java.lang.String ... args ) { return new com.android.dialer.common.database.Selection.Builder ( selection , args ) . build ( ) ; }

Target:
public static com.android.dialer.common.database.Selection fromString ( @ android.support.annotation.Nullable java.lang.String selection , @ android.support.annotation.Nullable java.lang.String ... args ) { return new com.android.dialer.common.database.Selection.Builder ( selection , ( args == null ? java.util.Collections.emptyList ( ) : java.util.Arrays.asList ( args ) ) ) . build ( ) ; }
Source:
private void startInCallUI ( ) { android.content.Intent intent = new android.content.Intent ( android.content.Intent.ACTION_MAIN ) ; intent.setFlags ( ( ( android.content.Intent.FLAG_ACTIVITY_NO_USER_ACTION ) | ( android.content.Intent.FLAG_ACTIVITY_NEW_TASK ) ) ) ; intent.setClass ( this , com.android.server.telecom.testapps.TestInCallUI.class ) ; startActivity ( intent ) ; }

Target:
private void startInCallUI ( ) { com.android.server.telecom.testapps.TestInCallServiceImpl.sInstance = this ; android.content.Intent intent = new android.content.Intent ( android.content.Intent.ACTION_MAIN ) ; intent.setFlags ( ( ( android.content.Intent.FLAG_ACTIVITY_NO_USER_ACTION ) | ( android.content.Intent.FLAG_ACTIVITY_NEW_TASK ) ) ) ; intent.setClass ( this , com.android.server.telecom.testapps.TestInCallUI.class ) ; startActivity ( intent ) ; }
Source:
public static int getMode ( ) { return android.os.SystemProperties.getInt ( "ro.factorytest" , android.os.FactoryTest.FACTORY_TEST_OFF ) ; }

Target:
public static int getMode ( ) { return com.android.internal.os.RoSystemProperties.FACTORYTEST ; }
Source:
public void TestDataDrivenJDK ( ) { com.ibm.icu.dev.test.format.DataDrivenNumberFormatTestUtility.runSuite ( "numberformattestspecification.txt" , JDK ) ; }

Target:
public void TestDataDrivenJDK ( ) { if ( ( com.ibm.icu.dev.test.TestUtil.getJavaVendor ( ) ) == ( TestUtil.JavaVendor.Android ) ) return ; com.ibm.icu.dev.test.format.DataDrivenNumberFormatTestUtility.runSuite ( "numberformattestspecification.txt" , JDK ) ; }
Source:
public void sendStartListenerMessage ( int masId ) { if ( ( mSessionStatusHandler ) != null ) { android.os.Message msg = mSessionStatusHandler.obtainMessage ( com.android.bluetooth.map.BluetoothMapService.START_LISTENER , masId , 0 ) ; mSessionStatusHandler.sendMessageDelayed ( msg , 20 ) ; } }

Target:
private void sendConnectMessage ( int masId ) { if ( ( mSessionStatusHandler ) != null ) { android.os.Message msg = mSessionStatusHandler.obtainMessage ( com.android.bluetooth.map.BluetoothMapService.MSG_MAS_CONNECT , masId , 0 ) ; mSessionStatusHandler.sendMessageDelayed ( msg , 20 ) ; } }