auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
protected boolean check ( ) { android.media.tv.cts.TvInputServiceTest.CountingTvInputService.CountingSession session = android.media.tv.cts.TvInputServiceTest.CountingTvInputService.sSession ; return ( session != null ) && ( ( session.mSetStreamVolumeCount ) > 0 ) ; }

Target:
protected boolean check ( ) { android.media.tv.cts.TvInputServiceTest.CountingTvInputService.CountingSession session = android.media.tv.cts.TvInputServiceTest.CountingTvInputService.sSession ; return ( session != null ) && ( ( session.mSelectTrackCount ) > 0 ) ; }
Source:
private void logOutgoing ( java.lang.String msg , java.lang.Object ... params ) { com.android.server.telecom.Log.d ( this , ( "Telecom -> ConnectionService: " + msg ) , params ) ; }

Target:
private void logOutgoing ( java.lang.String msg , java.lang.Object ... params ) { android.telecom.Log.d ( this , ( "Telecom -> ConnectionService: " + msg ) , params ) ; }
Source:
public void onStopTrackingTouch ( android.widget.SeekBar seekBar ) { }

Target:
public void onProgressChanged ( android.widget.SeekBar seekBar , int progress , boolean fromUser ) { if ( fromUser ) { mProgress = progress ; mAudioTrack.setAppVolume ( mProgress ) ; } }
Source:
public void testMenus3 ( ) throws java.lang.Exception { checkFormat ( com.android.ide.eclipse.adt.internal.editors.formatting.XmlFormatPreferences.create ( ) , "res/menu/menu1.xml" , ( "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" + ( ( ( ( ( ( ( ( ( ( ( ( ( "<menu xmlns:android=\"http://schemas.android.com/apk/res/android\" >\n" + "\n" ) + " <item\n" ) + " android:icon=\"@android:drawable/ic_menu_more\"\n" ) + " android:title=\"@string/account_list_menu_more\">\n" ) + " <menu>\n" ) + " <item\n" ) + " android:id=\"@+id/account_list_menu_backup_restore\"\n" ) + " android:icon=\"@android:drawable/ic_menu_save\"\n" ) + " android:title=\"@string/account_list_menu_backup_restore\"/>\n" ) + " </menu>\n" ) + " </item>\n" ) + "\n" ) + "</menu>" ) ) , ( "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" + ( ( ( ( ( ( ( ( ( ( ( ( ( "<menu xmlns:android=\"http://schemas.android.com/apk/res/android\" >\n" + "\n" ) + " <item\n" ) + " android:icon=\"@android:drawable/ic_menu_more\"\n" ) + " android:title=\"@string/account_list_menu_more\">\n" ) + " <menu>\n" ) + " <item\n" ) + " android:id=\"@+id/account_list_menu_backup_restore\"\n" ) + " android:icon=\"@android:drawable/ic_menu_save\"\n" ) + " android:title=\"@string/account_list_menu_backup_restore\"/>\n" ) + " </menu>\n" ) + " </item>\n" ) + "\n" ) + "</menu>" ) ) ) ; }

Target:
public void testMenus3 ( ) throws java.lang.Exception { checkFormat ( com.android.ide.eclipse.adt.internal.editors.formatting.EclipseXmlFormatPreferences.create ( ) , "res/menu/menu1.xml" , ( "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" + ( ( ( ( ( ( ( ( ( ( ( ( ( "<menu xmlns:android=\"http://schemas.android.com/apk/res/android\" >\n" + "\n" ) + " <item\n" ) + " android:icon=\"@android:drawable/ic_menu_more\"\n" ) + " android:title=\"@string/account_list_menu_more\">\n" ) + " <menu>\n" ) + " <item\n" ) + " android:id=\"@+id/account_list_menu_backup_restore\"\n" ) + " android:icon=\"@android:drawable/ic_menu_save\"\n" ) + " android:title=\"@string/account_list_menu_backup_restore\"/>\n" ) + " </menu>\n" ) + " </item>\n" ) + "\n" ) + "</menu>" ) ) , ( "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" + ( ( ( ( ( ( ( ( ( ( ( ( ( "<menu xmlns:android=\"http://schemas.android.com/apk/res/android\" >\n" + "\n" ) + " <item\n" ) + " android:icon=\"@android:drawable/ic_menu_more\"\n" ) + " android:title=\"@string/account_list_menu_more\">\n" ) + " <menu>\n" ) + " <item\n" ) + " android:id=\"@+id/account_list_menu_backup_restore\"\n" ) + " android:icon=\"@android:drawable/ic_menu_save\"\n" ) + " android:title=\"@string/account_list_menu_backup_restore\"/>\n" ) + " </menu>\n" ) + " </item>\n" ) + "\n" ) + "</menu>" ) ) ) ; }
Source:
public static native void disableMethodTracing ( java.lang.Thread thr ) ;

Target:
public static native void disableTracing ( java.lang.Thread thr ) ;
Source:
public java.util.Set < java.io.File > getOldInputs ( ) { return mOldOutputs ; }

Target:
public java.util.Set < java.io.File > getOldOutputs ( ) { return mOldOutputs ; }
Source:
public void setImeWindowStatus ( android.os.IBinder imeToken , int vis , int backDisposition ) { try { mService.setImeWindowStatus ( imeToken , vis , backDisposition ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }

Target:
public void showStatusIcon ( android.os.IBinder imeToken , java.lang.String packageName , int iconId ) { try { mService.updateStatusIcon ( imeToken , packageName , iconId ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
public android.net.NetworkStats getSummaryForNetwork ( android.net.NetworkTemplate template , long start , long end ) { return internalGetSummaryForNetwork ( template , start , end ) ; }

Target:
public android.net.NetworkStatsHistory getHistoryForNetwork ( android.net.NetworkTemplate template , int fields ) { return internalGetHistoryForNetwork ( template , fields ) ; }
Source:
private static native boolean native_clipRect ( int nCanvas , float left , float top , float right , float bottom , int regionOp ) ;

Target:
private static native boolean native_clipRect ( long nativeCanvas , float left , float top , float right , float bottom , int regionOp ) ;
Source:
private void logd ( java.lang.String s ) { android.telephony.Rlog.d ( com.android.internal.telephony.GsmCdmaPhone.LOG_TAG , ( "[GsmCdmaPhone] " + s ) ) ; }

Target:
private void logd ( java.lang.String s ) { android.telephony.Rlog.d ( com.android.internal.telephony.GsmCdmaPhone.LOG_TAG , ( ( ( "[" + ( mPhoneId ) ) + "] " ) + s ) ) ; }
Source:
public void run ( ) { activity.setRequestedOrientation ( ActivityInfo.SCREEN_ORIENTATION_PORTRAIT ) ; activity.setRequestedOrientation ( ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE ) ; }

Target:
public void run ( ) { android.app.cts.OrientationTestUtils.toggleOrientation ( activity ) ; }
Source:
public void testAudioOnly ( ) throws java.lang.Exception { int source = R.raw.sinesweepm4a ; java.lang.String outputFile = "/sdcard/audioOnly.mp4" ; cloneAndVerify ( source , outputFile , 1 , ( - 1 ) ) ; }

Target:
public void testAudioOnly ( ) throws java.lang.Exception { int source = R.raw.sinesweepm4a ; java.lang.String outputFile = java.io.File.createTempFile ( "MediaMuxerTest_testAudioOnly" , ".mp4" ) . getAbsolutePath ( ) ; cloneAndVerify ( source , outputFile , 1 , ( - 1 ) ) ; }
Source:
static com.google.common.collect.ImmutableList < com.android.dialer.phonelookup.PhoneLookup > providePhoneLookupList ( com.android.dialer.phonelookup.cp2.Cp2PhoneLookup cp2PhoneLookup ) { return com.google.common.collect.ImmutableList.of ( cp2PhoneLookup ) ; }

Target:
static com.google.common.collect.ImmutableList < com.android.dialer.phonelookup.PhoneLookup > providePhoneLookupList ( com.android.dialer.phonelookup.cp2.Cp2PhoneLookup cp2PhoneLookup , com.android.dialer.phonelookup.blockednumber.DialerBlockedNumberPhoneLookup dialerBlockedNumberPhoneLookup ) { return com.google.common.collect.ImmutableList.of ( cp2PhoneLookup , dialerBlockedNumberPhoneLookup ) ; }
Source:
public void setCacheMode ( int mode ) { if ( android.webkit.DebugFlags.TRACE_API ) android.util.Log.d ( com.android.webview.chromium.ContentSettingsAdapter.LOGTAG , ( "setCacheMode=" + mode ) ) ; mAwSettings.setCacheMode ( mode ) ; }

Target:
public void setCacheMode ( int mode ) { if ( com.android.webview.chromium.ContentSettingsAdapter.TRACE ) android.util.Log.d ( com.android.webview.chromium.ContentSettingsAdapter.LOGTAG , ( "setCacheMode=" + mode ) ) ; mAwSettings.setCacheMode ( mode ) ; }
Source:
public void setDefaultSmdpAddress ( java.lang.String callingPackage , java.lang.String address , com.android.internal.telephony.euicc.ISetDefaultSmdpAddressCallback callback ) { checkCallingPackage ( callingPackage ) ; }

Target:
public void onResult ( java.lang.Void result ) { try { callback.onComplete ( EuiccCardManager.RESULT_OK ) ; } catch ( android.os.RemoteException exception ) { throw exception.rethrowFromSystemServer ( ) ; } }
Source:
public static void assertNull ( java.lang.String message , java.lang.Object object ) { org.junit.Assert.assertTrue ( message , ( object == null ) ) ; }

Target:
public static void assertNull ( java.lang.String message , java.lang.Object object ) { if ( object == null ) { return ; } org.junit.Assert.failNotNull ( message , object ) ; }
Source:
public final native int addOverlayPath ( java.lang.String idmapPath ) ;

Target:
public final native int addOverlayPathNative ( java.lang.String idmapPath ) ;
Source:
public abstract android.icu.impl.LocaleDisplayNamesImpl.DataTable get ( android.icu.util.ULocale locale ) ;

Target:
public abstract android.icu.impl.LocaleDisplayNamesImpl.DataTable get ( android.icu.util.ULocale locale , boolean nullIfNotFound ) ;
Source:
private boolean keyguardIsShowingTq ( ) { if ( ( mKeyguardDelegate ) == null ) return false ; return mKeyguardDelegate.isShowingAndNotHidden ( ) ; }

Target:
private boolean keyguardIsShowingTq ( ) { if ( ( mKeyguardDelegate ) == null ) return false ; return mKeyguardDelegate.isShowingAndNotOccluded ( ) ; }
Source:
public void setTrace ( @ com.android.annotations.NonNull com.android.tools.perflib.vmtrace.VmTraceData traceData , @ com.android.annotations.NonNull java.lang.String threadName , com.android.tools.perflib.vmtrace.ClockType renderClock ) { mTraceData = traceData ; mRenderContext = new com.android.tools.perflib.vmtrace.viz.RenderContext ( traceData , renderClock ) ; displayThread ( threadName ) ; }

Target:
public void setTrace ( @ com.android.annotations.NonNull com.android.tools.perflib.vmtrace.VmTraceData traceData , @ com.android.annotations.NonNull com.android.tools.perflib.vmtrace.ThreadInfo thread , com.android.tools.perflib.vmtrace.ClockType renderClock ) { mTraceData = traceData ; mRenderContext = new com.android.tools.perflib.vmtrace.viz.RenderContext ( traceData , renderClock ) ; displayThread ( thread ) ; }
Source:
public java.util.Collection < com.android.jack.ir.ast.JAnnotationType > getAnnotationTypes ( ) { loader.ensureAnnotations ( this ) ; return com.android.jack.Jack.getUnmodifiableCollections ( ) . getUnmodifiableCollection ( com.android.jack.util.AnnotationUtils.getAnnotationTypes ( annotations ) ) ; }

Target:
public java.util.Set < com.android.jack.ir.ast.JAnnotationType > getAnnotationTypes ( ) { loader.ensureAnnotations ( this ) ; return com.android.jack.Jack.getUnmodifiableCollections ( ) . getUnmodifiableSet ( com.android.jack.util.AnnotationUtils.getAnnotationTypes ( annotations ) ) ; }
Source:
public boolean isEmpty ( ) { return ( ( alphaTag.equals ( "" ) ) && ( number.equals ( "" ) ) ) && ( ( emails ) == null ) ; }

Target:
public boolean isEmpty ( ) { return ( ( android.text.TextUtils.isEmpty ( alphaTag ) ) && ( android.text.TextUtils.isEmpty ( number ) ) ) && ( ( emails ) == null ) ; }
Source:
public static void main ( java.lang.String [ ] args ) { com.android.preload.Main m = new com.android.preload.Main ( ) ; com.android.preload.Main.top = m ; m.startUp ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { com.android.preload.Main m = new com.android.preload.Main ( new com.android.preload.ui.SwingUI ( ) ) ; com.android.preload.Main.top = m ; m.startUp ( ) ; }
Source:
public void onLocalVideoCapabilityChanged ( boolean capable ) { setLocalVideoCapable ( capable ) ; }

Target:
public void onHandoverToWifiFailed ( ) { sendConnectionEvent ( TelephonyManager.EVENT_HANDOVER_TO_WIFI_FAILED , null ) ; }
Source:
public void handshakeCompleted ( javax.net.ssl.HandshakeCompletedEvent event ) { throw new java.lang.RuntimeException ( "RuntimeException from handshakeCompleted" ) ; }

Target:
public void handshakeCompleted ( javax.net.ssl.HandshakeCompletedEvent event ) { throw expectedException ; }
Source:
public java.lang.String getText ( java.lang.Object element ) { com.android.ide.eclipse.adt.internal.wizards.newproject.ImportedProject file = ( ( com.android.ide.eclipse.adt.internal.wizards.newproject.ImportedProject ) ( element ) ) ; return java.lang.String.format ( "%1$s (%2$s)" , file.getProjectName ( ) , file.getLocation ( ) . getPath ( ) ) ; }

Target:
protected org.eclipse.jface.viewers.CellEditor getCellEditor ( java.lang.Object element ) { return new org.eclipse.jface.viewers.TextCellEditor ( mTable ) ; }
Source:
public com.google.mockwebserver.MockResponse setBody ( byte [ ] body ) { return setBody ( new java.io.ByteArrayInputStream ( body ) , body.length ) ; }

Target:
public com.google.mockwebserver.MockResponse setBody ( byte [ ] body ) { this . body = body ; setHeader ( com.google.mockwebserver.CONTENT_LENGTH , body.length ) ; return this ; }
Source:
public long getHiSyncId ( android.bluetooth.BluetoothDevice device ) { return 0 ; }

Target:
public long getHiSyncId ( android.bluetooth.BluetoothDevice device ) { com.android.bluetooth.hearingaid.HearingAidService service = getService ( ) ; if ( service == null ) { return android.bluetooth.BluetoothHearingAid.HI_SYNC_ID_INVALID ; } return service.getHiSyncId ( device ) ; }
Source:
public com.android.manifmerger.ManifestMerger2.Invoker addLibraryManifest ( java.io.File file ) { mLibraryFilesBuilder.add ( file ) ; return this ; }

Target:
public com.android.manifmerger.ManifestMerger2.Invoker addLibraryManifests ( java.util.List < com.android.utils.Pair < java.lang.String , java.io.File > > namesAndFiles ) { mLibraryFilesBuilder.addAll ( namesAndFiles ) ; return this ; }
Source:
public boolean hasUnsupportedCriticalExtension ( ) { return ( ( org.conscrypt.NativeCrypto.get_X509_ex_flags ( mContext ) ) & ( NativeCrypto.EXFLAG_CRITICAL ) ) != 0 ; }

Target:
public boolean hasUnsupportedCriticalExtension ( ) { return ( ( org.conscrypt.NativeCrypto.get_X509_ex_flags ( mContext ) ) & ( NativeConstants.EXFLAG_CRITICAL ) ) != 0 ; }
Source:
boolean isAudioOn ( ) { return ( getCurrentState ( ) ) == ( mAudioOn ) ; }

Target:
java.util.List < android.bluetooth.BluetoothDevice > getConnectedDevices ( ) { java.util.List < android.bluetooth.BluetoothDevice > devices = new java.util.ArrayList < > ( ) ; synchronized ( this ) { if ( ( getCurrentState ( ) ) instanceof com.android.bluetooth.hfp.HeadsetStateMachine.ConnectedBase ) { devices.add ( mCurrentDevice ) ; } } return devices ; }
Source:
public void registerListener ( com.android.sdklib.devices.DeviceManager.DevicesChangeListener listener ) { com.android.sdklib.devices.DeviceManager.listeners.add ( listener ) ; }

Target:
public void registerListener ( com.android.sdklib.devices.DeviceManager.DevicesChangeListener listener ) { if ( listener != null ) { synchronized ( com.android.sdklib.devices.DeviceManager.sListeners ) { if ( ! ( com.android.sdklib.devices.DeviceManager.sListeners.contains ( listener ) ) ) { com.android.sdklib.devices.DeviceManager.sListeners.add ( listener ) ; } } } }
Source:
com.android.incallui.CallerInfo markAsEmergency ( android.content.Context context ) { name = context.getString ( R.string.emergency_call_dialog_number_for_display ) ; phoneNumber = null ; isEmergency = true ; return this ; }

Target:
com.android.incallui.CallerInfo markAsEmergency ( android.content.Context context ) { name = context.getString ( R.string.emergency_number ) ; phoneNumber = null ; isEmergency = true ; return this ; }
Source:
private static java.lang.String getTypeDescription ( java.lang.reflect.Field optionsField ) { return com.google.devtools.common.options.OptionsData.findConverter ( optionsField ) . getTypeDescription ( ) ; }

Target:
private static java.lang.String getTypeDescription ( java.lang.reflect.Field optionsField , com.google.devtools.common.options.OptionsData optionsData ) { return optionsData.getConverter ( optionsField ) . getTypeDescription ( ) ; }
Source:
public boolean apply ( java.util.Map.Entry < K , V > input ) { return keyPredicate.apply ( input.getKey ( ) ) ; }

Target:
public boolean apply ( java.util.Map.Entry < V , K > input ) { return forwardPredicate.apply ( com.google.common.collect.Maps.immutableEntry ( input.getValue ( ) , input.getKey ( ) ) ) ; }
Source:
public int getImsServiceStatus ( ) throws com.android.ims.ImsException { checkAndThrowExceptionIfServiceUnavailable ( ) ; return mImsServiceProxy.getFeatureStatus ( ) ; }

Target:
public void addNotifyStatusChangedCallbackIfAvailable ( android.telephony.ims.ImsServiceProxy.INotifyStatusChanged c ) throws com.android.ims.ImsException { if ( ! ( mImsServiceProxy.isBinderAlive ( ) ) ) { throw new com.android.ims.ImsException ( "Binder is not active!" , ImsReasonInfo.CODE_LOCAL_IMS_SERVICE_DOWN ) ; } if ( c != null ) { mStatusCallbacks.add ( c ) ; } }
Source:
synchronized void nScriptBindAllocation ( int script , int alloc , int slot ) { validate ( ) ; rsnScriptBindAllocation ( mContext , script , alloc , slot ) ; }

Target:
native long rsnScriptFieldIDCreate ( long con , long sid , int slot ) ;
Source:
public boolean disableCellBroadcastRange ( int startMessageId , int endMessageId ) { android.util.Log.e ( com.android.internal.telephony.cdma.RuimSmsInterfaceManager.LOG_TAG , "Error! Not implemented for CDMA." ) ; return false ; }

Target:
public boolean enableCellBroadcast ( int messageIdentifier ) { android.telephony.Rlog.e ( com.android.internal.telephony.cdma.RuimSmsInterfaceManager.LOG_TAG , "Error! Not implemented for CDMA." ) ; return false ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setBranchBytes ( com.android.vts.proto.ByteString value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 2 ; branch_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setSuiteNameBytes ( com.android.vts.proto.ByteString value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 2048 ; suiteName_ = value ; onChanged ( ) ; return this ; }
Source:
native void rsnAllocationData1D ( long con , long id , int off , int mip , int count , byte [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationRead1D ( long con , long id , int off , int mip , int count , java.lang.Object d , int sizeBytes , int dt , int mSize , boolean usePadding ) ;
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; assertNotNull ( mAbi ) ; assertNotNull ( mCtsBuild ) ; getDevice ( ) . uninstallPackage ( android.appsecurity.cts.PermissionsHostTest.PKG ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; assertNotNull ( mAbi ) ; assertNotNull ( mCtsBuild ) ; getDevice ( ) . uninstallPackage ( android.appsecurity.cts.PermissionsHostTest.USES_PERMISSION_PKG ) ; getDevice ( ) . uninstallPackage ( android.appsecurity.cts.PermissionsHostTest.ESCALATE_PERMISSION_PKG ) ; }
Source:
public void onStartUser ( int userHandle ) { mMountService.onStartUser ( userHandle ) ; }

Target:
public void onSwitchUser ( int userHandle ) { mMountService.mCurrentUserId = userHandle ; }
Source:
public void run ( ) { computeScroll ( ) ; }

Target:
public java.lang.Integer call ( ) { return computeVerticalScrollExtent ( ) ; }
Source:
public java.net.InetAddress [ ] getAllByName ( java.lang.String host ) throws java.net.UnknownHostException { return this . getAllByName ( host ) ; }

Target:
public java.net.InetAddress [ ] resolveInetAddresses ( java.lang.String host ) throws java.net.UnknownHostException { return this . getAllByName ( host ) ; }
Source:
public void run ( ) { mNM.notify ( 1 , notificationWithNumbers ( 22 ) ) ; }

Target:
public void run ( ) { mNM.notify ( 1 , notificationWithNumbers ( 1 ) ) ; mNM.cancel ( 1 ) ; }
Source:
java.util.List < com.android.manifmerger.ActionRecorder.AttributeRecord > getAttributeRecords ( com.android.manifmerger.XmlNode.NodeName attributeName ) { return com.google.common.collect.ImmutableList.copyOf ( mAttributeRecords.get ( attributeName ) ) ; }

Target:
java.util.List < com.android.manifmerger.ActionRecorder.AttributeRecord > getAttributeRecords ( com.android.manifmerger.XmlNode.NodeName attributeName ) { java.util.List < com.android.manifmerger.ActionRecorder.AttributeRecord > attributeRecords = mAttributeRecords.get ( attributeName ) ; return attributeRecords == null ? com.google.common.collect.ImmutableList.< com.android.manifmerger.ActionRecorder.AttributeRecord > of ( ) : com.google.common.collect.ImmutableList.copyOf ( attributeRecords ) ; }
Source:
public java.lang.Integer call ( ) { return computeVerticalScrollExtent ( ) ; }

Target:
public void run ( ) { computeScroll ( ) ; }
Source:
public void test_with_adjustment_ZoneOffset ( ) { java.time.OffsetTime test = TEST_11_30_59_500_PONE.with ( tck.java.time.TCKOffsetTime.OFFSET_PTWO ) ; org.testng.Assert.assertEquals ( test , java.time.OffsetTime.of ( 11 , 30 , 59 , 500 , tck.java.time.TCKOffsetTime.OFFSET_PTWO ) ) ; }

Target:
public void test_with_adjustment_ZoneOffset ( ) { java.time.OffsetTime test = tck.java.time.TCKOffsetTime.TEST_11_30_59_500_PONE.with ( tck.java.time.TCKOffsetTime.OFFSET_PTWO ) ; org.testng.Assert.assertEquals ( test , java.time.OffsetTime.of ( 11 , 30 , 59 , 500 , tck.java.time.TCKOffsetTime.OFFSET_PTWO ) ) ; }
Source:
private static native boolean lookingAtImpl ( long addr , int [ ] offsets ) ;

Target:
private static native boolean matchesImpl ( long addr , java.lang.String s , int [ ] offsets ) ;
Source:
public void failure ( ) { fail ( "failed." ) ; }

Target:
public void failure ( ) { org.junit.Assert.fail ( "failed." ) ; }
Source:
private static native int nativeFindSupportedAbi ( long handle , java.lang.String [ ] supportedAbis ) ;

Target:
private static native int nativeFindSupportedAbi ( long handle , java.lang.String [ ] supportedAbis , boolean debuggable ) ;
Source:
public void onSdkLoaded ( com.android.sdklib.IAndroidTarget target ) { mSdkChanged = true ; mProjectTarget = target ; ( mDisableUpdates ) ++ ; try { updateDevices ( ) ; updateTargets ( ) ; } finally { ( mDisableUpdates ) -- ; } }

Target:
public void onSdkLoaded ( com.android.sdklib.IAndroidTarget target ) { mSdkChanged = true ; mProjectTarget = target ; ( mDisableUpdates ) ++ ; try { updateDevices ( ) ; updateTargets ( ) ; ensureInitialized ( ) ; } finally { ( mDisableUpdates ) -- ; } }
Source:
public void test_minusDays_negative ( ) { java.time.LocalDate t = TEST_2007_07_15.minusDays ( ( - 1 ) ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 7 , 16 ) ) ; }

Target:
public void test_minusDays_negative ( ) { java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.minusDays ( ( - 1 ) ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 7 , 16 ) ) ; }
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; com.android.ide.eclipse.adt.internal.preferences.AdtPrefs.getPrefs ( ) . setPaletteModes ( "ICON_TEXT" ) ; getProject ( ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; if ( ( com.android.ide.eclipse.adt.AdtPlugin.getDefault ( ) ) == null ) { fail ( "This test must be run as an Eclipse plugin test, not a plain JUnit test!" ) ; } com.android.ide.eclipse.adt.internal.preferences.AdtPrefs.getPrefs ( ) . setPaletteModes ( "ICON_TEXT" ) ; getProject ( ) ; }
Source:
public static < E extends java.lang.Comparable < ? super E > > com.google.common.collect.ImmutableSortedSet < E > of ( E e1 , E e2 ) { return com.google.common.collect.ImmutableSortedSet.copyOf ( com.google.common.collect.Ordering.natural ( ) , java.util.Arrays.asList ( e1 , e2 ) ) ; }

Target:
public static < E extends java.lang.Comparable < ? super E > > com.google.common.collect.ImmutableSortedSet < E > of ( E e1 , E e2 ) { return com.google.common.collect.ImmutableSortedSet.construct ( com.google.common.collect.Ordering.natural ( ) , 2 , e1 , e2 ) ; }
Source:
private boolean isWatch ( ) { return ( ( mContext.getResources ( ) . getConfiguration ( ) . uiMode ) & ( android.content.res.Configuration.UI_MODE_TYPE_WATCH ) ) == ( android.content.res.Configuration.UI_MODE_TYPE_WATCH ) ; }

Target:
private boolean isWatch ( ) { return ( ( mContext.getResources ( ) . getConfiguration ( ) . uiMode ) & ( android.content.res.Configuration.UI_MODE_TYPE_MASK ) ) == ( android.content.res.Configuration.UI_MODE_TYPE_WATCH ) ; }
Source:
protected void tearDown ( ) throws java.lang.Exception { clearAllAccountManagementDisabled ( ) ; com.android.cts.deviceandprofileowner.AccountUtilsTest.removeAllAccountsForType ( mAccountManager , com.android.cts.deviceandprofileowner.AccountManagementTest.ACCOUNT_TYPE_1 ) ; super . tearDown ( ) ; }

Target:
protected void tearDown ( ) throws java.lang.Exception { clearAllAccountManagementDisabled ( ) ; mDevicePolicyManager.clearUserRestriction ( com.android.cts.deviceandprofileowner.ADMIN_RECEIVER_COMPONENT , UserManager.DISALLOW_MODIFY_ACCOUNTS ) ; com.android.cts.deviceandprofileowner.AccountUtilsTest.removeAllAccountsForType ( mAccountManager , com.android.cts.deviceandprofileowner.AccountManagementTest.ACCOUNT_TYPE_1 ) ; com.android.cts.deviceandprofileowner.AccountUtilsTest.removeAllAccountsForType ( mAccountManager , com.android.cts.deviceandprofileowner.AccountManagementTest.ACCOUNT_TYPE_2 ) ; super . tearDown ( ) ; }
Source:
public void testEncodeDecodeVideoFromSurfaceToSurfaceQCIF ( ) throws java.lang.Throwable { setParameters ( 176 , 144 , 1000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_AVC ) ; android.media.cts.EncodeDecodeTest.SurfaceToSurfaceWrapper.runTest ( this ) ; }

Target:
public void testVP8EncodeDecodeVideoFromBufferToSurface720p ( ) throws java.lang.Throwable { setParameters ( 1280 , 720 , 6000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_VP8 , true , true ) ; android.media.cts.EncodeDecodeTest.BufferToSurfaceWrapper.runTest ( this ) ; }
Source:
public void saveWebArchive ( java.lang.String filename ) { checkThread ( ) ; if ( DebugFlags.TRACE_API ) android.util.Log.d ( android.webkit.WebView.LOGTAG , ( "saveWebArchive=" + filename ) ) ; mProvider.saveWebArchive ( filename ) ; }

Target:
public void saveWebArchive ( java.lang.String filename ) { checkThread ( ) ; if ( android.webkit.WebView.TRACE ) android.util.Log.d ( android.webkit.WebView.LOGTAG , ( "saveWebArchive=" + filename ) ) ; mProvider.saveWebArchive ( filename ) ; }
Source:
public java.lang.String waitForRedirectUrl ( ) { assertTrue ( mNetworkStatusReceived.block ( com.android.server.ConnectivityServiceTest.TIMEOUT_MS ) ) ; return mRedirectUrl ; }

Target:
public java.lang.String waitForRedirectUrl ( ) { org.junit.Assert.assertTrue ( mNetworkStatusReceived.block ( com.android.server.ConnectivityServiceTest.TIMEOUT_MS ) ) ; return mRedirectUrl ; }
Source:
public static java.lang.String convertAlphaCharactersInNumber ( java.lang.String number ) { return com.google.i18n.phonenumbers.PhoneNumberUtil.normalizeHelper ( number , com.google.i18n.phonenumbers.PhoneNumberUtil.ALPHA_PHONE_MAPPINGS , false ) ; }

Target:
public static java.lang.String convertAlphaCharactersInNumber ( java.lang.CharSequence number ) { return com.google.i18n.phonenumbers.PhoneNumberUtil.normalizeHelper ( number , com.google.i18n.phonenumbers.PhoneNumberUtil.ALPHA_PHONE_MAPPINGS , false ) ; }
Source:
public void deconfigure ( ) throws org.eclipse.core.runtime.CoreException { com.android.ide.eclipse.adt.internal.project.AndroidNature.removeBuilder ( mProject , ResourceManagerBuilder.ID ) ; com.android.ide.eclipse.adt.internal.project.AndroidNature.removeBuilder ( mProject , PreCompilerBuilder.ID ) ; com.android.ide.eclipse.adt.internal.project.AndroidNature.removeBuilder ( mProject , ApkBuilder.ID ) ; }

Target:
public void deconfigure ( ) throws org.eclipse.core.runtime.CoreException { com.android.ide.eclipse.adt.internal.project.AndroidNature.removeBuilder ( mProject , ResourceManagerBuilder.ID ) ; com.android.ide.eclipse.adt.internal.project.AndroidNature.removeBuilder ( mProject , PreCompilerBuilder.ID ) ; com.android.ide.eclipse.adt.internal.project.AndroidNature.removeBuilder ( mProject , PostCompilerBuilder.ID ) ; }
Source:
private boolean isWatch ( ) { return ( ( mActivity.getResources ( ) . getConfiguration ( ) . uiMode ) & ( android.content.res.Configuration.UI_MODE_TYPE_WATCH ) ) == ( android.content.res.Configuration.UI_MODE_TYPE_WATCH ) ; }

Target:
private boolean isWatch ( ) { return ( ( mActivity.getResources ( ) . getConfiguration ( ) . uiMode ) & ( android.content.res.Configuration.UI_MODE_TYPE_MASK ) ) == ( android.content.res.Configuration.UI_MODE_TYPE_WATCH ) ; }
Source:
public void run ( ) { cutDragSelection ( ) ; }

Target:
public void run ( ) { deleteSelection ( "Remove" , mDragSelection ) ; }
Source:
public static void i ( java.lang.String prefix , java.lang.String format , java.lang.Object ... args ) { if ( com.android.services.telephony.Log.INFO ) { android.util.Log.i ( com.android.services.telephony.Log.TAG , com.android.services.telephony.Log.buildMessage ( prefix , format , args ) ) ; } }

Target:
public static void i ( java.lang.String prefix , java.lang.String format , java.lang.Object ... args ) { android.telecom.Log.i ( prefix , format , args ) ; }
Source:
public void visitSignatureAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.SignatureAttribute signatureAttribute ) { if ( ( optionalAttributeVisitor ) != null ) { signatureAttribute.accept ( clazz , optionalAttributeVisitor ) ; } }

Target:
public void visitStackMapAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.CodeAttribute codeAttribute , proguard.classfile.attribute.visitor.StackMapAttribute stackMapAttribute ) { if ( ( optionalAttributeVisitor ) != null ) { optionalAttributeVisitor.visitStackMapAttribute ( clazz , method , codeAttribute , stackMapAttribute ) ; } }
Source:
public void visitBootstrapMethodsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.BootstrapMethodsAttribute bootstrapMethodsAttribute ) { bootstrapMethodsAttribute.bootstrapMethodEntriesAccept ( clazz , bootstrapMethodInfoVisitor ) ; }

Target:
public void visitBootstrapMethodsAttribute ( proguard.classfile.Clazz clazz , proguard.classfile.attribute.visitor.BootstrapMethodsAttribute bootstrapMethodsAttribute ) { bootstrapMethodsAttribute.bootstrapMethodEntriesAccept ( clazz , bootstrapMethodInfoVisitor ) ; }
Source:
public android.net.wifi.aware.WifiAwareCharacteristics getCharacteristics ( ) { if ( ( ( mCharacteristics ) == null ) && ( ( mCapabilities ) != null ) ) { mCharacteristics = mCapabilities.toPublicCharacteristics ( ) ; } return mCharacteristics ; }

Target:
public android.net.wifi.aware.Characteristics getCharacteristics ( ) { if ( ( ( mCharacteristics ) == null ) && ( ( mCapabilities ) != null ) ) { mCharacteristics = mCapabilities.toPublicCharacteristics ( ) ; } return mCharacteristics ; }
Source:
public void bootstrapDatabase ( android.database.sqlite.SQLiteDatabase db ) { logger.info ( "Enter: bootstrapDatabase() Creating new EAB database" ) ; upgradeDatabase ( db , 0 , com.android.service.ims.presence.EABProvider.EAB_DB_VERSION ) ; logger.info ( "Exit: bootstrapDatabase()" ) ; }

Target:
public void bootstrapDatabase ( android.database.sqlite.SQLiteDatabase db ) { logger.info ( "Enter: bootstrapDatabase() Creating new EAB database" ) ; upgradeDatabase ( db , 0 , com.android.service.ims.presence.EABProvider.EAB_DB_VERSION ) ; logger.debug ( "Exit: bootstrapDatabase()" ) ; }
Source:
public com.android.jack.ir.ast.cfg.JConditionalBlockElement getLastElement ( ) { com.android.jack.ir.ast.cfg.JBasicBlockElement lastElement = super . getLastElement ( ) ; assert lastElement instanceof com.android.jack.ir.ast.cfg.JConditionalBlockElement ; return ( ( com.android.jack.ir.ast.cfg.JConditionalBlockElement ) ( lastElement ) ) ; }

Target:
public void checkValidity ( ) { super . checkValidity ( ) ; if ( ! ( ( getLastElement ( ) ) instanceof com.android.jack.ir.ast.cfg.JConditionalBlockElement ) ) { throw new com.android.jack.ir.JNodeInternalError ( this , "The last element of the block must be conditional element" ) ; } }
Source:
synchronized long nScriptFieldIDCreate ( long sid , int slot ) { validate ( ) ; return rsnScriptFieldIDCreate ( mContext , sid , slot ) ; }

Target:
synchronized long nScriptFieldIDCreate ( long sid , int slot , boolean mUseInc ) { validate ( ) ; long curCon = mContext ; if ( mUseInc ) { curCon = mIncCon ; } return rsnScriptFieldIDCreate ( curCon , sid , slot , mUseInc ) ; }
Source:
synchronized void nScriptSetVarJ ( long id , int slot , long val ) { validate ( ) ; rsnScriptSetVarJ ( mContext , id , slot , val ) ; }

Target:
synchronized void nScriptSetVarObj ( long id , int slot , long val , boolean mUseInc ) { validate ( ) ; long curCon = mContext ; if ( mUseInc ) { curCon = mIncCon ; } rsnScriptSetVarObj ( curCon , id , slot , val , mUseInc ) ; }
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mDevice = getDevice ( ) ; mSourcePackageName = android.wm.cts.CrossAppDragAndDropTests.SOURCE_PACKAGE_NAME ; mTargetPackageName = android.wm.cts.CrossAppDragAndDropTests.TARGET_PACKAGE_NAME ; cleanupState ( ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mDevice = getDevice ( ) ; if ( ! ( supportsDragAndDrop ( ) ) ) { return ; } mSourcePackageName = android.wm.cts.CrossAppDragAndDropTests.SOURCE_PACKAGE_NAME ; mTargetPackageName = android.wm.cts.CrossAppDragAndDropTests.TARGET_PACKAGE_NAME ; }
Source:
public void setAccessRules ( android.telephony.UiccAccessRule [ ] accessRules ) { this . accessRules = accessRules ; }

Target:
public void setAccessRules ( android.telephony.UiccAccessRule [ ] accessRules ) { this . accessRules = java.util.Arrays.asList ( accessRules ) ; }
Source:
public void addProperty ( int propertyName , java.lang.Object value ) { if ( ( mProperties ) == null ) { mProperties = new com.android.sdklib.util.SparseArray < java.lang.Object > ( 1 ) ; } mProperties.put ( propertyName , value ) ; }

Target:
public void addProperty ( int propertyName , java.lang.Object value ) { if ( ( mProperties ) == null ) { mProperties = new com.android.utils.SparseArray < java.lang.Object > ( 1 ) ; } mProperties.put ( propertyName , value ) ; }
Source:
public org.json.JSONArray names ( ) { return nameValuePairs.isEmpty ( ) ? null : new org.json.JSONArray ( new java.util.ArrayList < java.lang.String > ( nameValuePairs.keySet ( ) ) ) ; }

Target:
public java.util.Iterator < java.lang.String > keys ( ) { return nameValuePairs.keySet ( ) . iterator ( ) ; }
Source:
public int hashCode ( ) { return com.android.internal.util.Objects.hashCode ( mMin , mMax , mSize ) ; }

Target:
public int hashCode ( ) { return java.util.Objects.hash ( mMin , mMax , mSize ) ; }
Source:
public void testPerformanceSummaryNormal ( ) throws java.io.FileNotFoundException , java.io.IOException { java.lang.String output = com.android.vts.servlet.VtsPerformanceJobServlet.getPeformanceSummary ( "result_test" , dailySummaries , legendLabels ) ; com.android.vts.servlet.VtsPerformanceJobServletTest.compareToBaseline ( output , "performanceSummary1.html" ) ; }

Target:
public void testPerformanceSummaryNormal ( ) throws java.io.FileNotFoundException , java.io.IOException { setUp ( false ) ; java.lang.String output = com.android.vts.servlet.VtsPerformanceJobServlet.getPeformanceSummary ( "result_test" , dailySummaries , legendLabels ) ; com.android.vts.servlet.VtsPerformanceJobServletTest.compareToBaseline ( output , "performanceSummary1.html" ) ; }
Source:
public void callSessionConferenceExtended ( com.android.ims.internal.IImsCallSession i , com.android.ims.internal.IImsCallSession newSession , com.android.ims.ImsCallProfile imsCallProfile ) throws android.os.RemoteException { mNewListener.callSessionConferenceExtended ( newSession , imsCallProfile ) ; }

Target:
public void callSessionConferenceExtended ( com.android.ims.internal.IImsCallSession i , com.android.ims.internal.IImsCallSession newSession , android.telephony.ims.ImsCallProfile imsCallProfile ) throws android.os.RemoteException { mNewListener.callSessionConferenceExtended ( newSession , imsCallProfile ) ; }
Source:
public static float ulp ( float f ) { return sun.misc.FpUtils.ulp ( f ) ; }

Target:
public static int getExponent ( float f ) { return java.lang.Math.getExponent ( f ) ; }
Source:
public void test_Unknown ( ) throws java.lang.Exception { try { libcore.icu.Transliterator t = new libcore.icu.Transliterator ( "Unknown" ) ; fail ( ) ; } catch ( java.lang.RuntimeException expected ) { } }

Target:
public void test_Unknown ( ) throws java.lang.Exception { try { android.icu.text.Transliterator t = android.icu.text.Transliterator.getInstance ( "Unknown" ) ; fail ( ) ; } catch ( java.lang.RuntimeException expected ) { } }
Source:
public void setActiveDevice ( android.bluetooth.BluetoothDevice device ) { com.android.bluetooth.hearingaid.HearingAidService service = getService ( ) ; if ( service == null ) { return ; } service.setActiveDevice ( device ) ; }

Target:
public java.util.List < android.bluetooth.BluetoothDevice > getActiveDevices ( ) { com.android.bluetooth.hearingaid.HearingAidService service = getService ( ) ; if ( service == null ) { return new java.util.ArrayList < > ( ) ; } return service.getActiveDevices ( ) ; }
Source:
public void run ( ) { if ( ! ( mTextEditor.getTextViewer ( ) . getControl ( ) . isDisposed ( ) ) ) { wrapEditXmlModel ( editAction , undoLabel ) ; } }

Target:
protected void createActions ( ) { super . createActions ( ) ; org.eclipse.jface.action.Action action = new com.android.ide.eclipse.adt.internal.refactorings.core.RenameResourceXmlTextAction ( mTextEditor ) ; action.setActionDefinitionId ( IJavaEditorActionDefinitionIds.RENAME_ELEMENT ) ; setAction ( IJavaEditorActionDefinitionIds.RENAME_ELEMENT , action ) ; }
Source:
private void applyLightSensorMeasurement ( long time , float lux ) { ( mRecentLightSamples ) ++ ; mAmbientLightRingBuffer.prune ( ( time - ( com.android.server.display.AutomaticBrightnessController.AMBIENT_LIGHT_HORIZON ) ) ) ; mAmbientLightRingBuffer.push ( time , lux ) ; mLastObservedLux = lux ; mLastObservedLuxTime = time ; }

Target:
private void applyLightSensorMeasurement ( long time , float lux ) { ( mRecentLightSamples ) ++ ; mAmbientLightRingBuffer.prune ( ( time - ( mAmbientLightHorizon ) ) ) ; mAmbientLightRingBuffer.push ( time , lux ) ; mLastObservedLux = lux ; mLastObservedLuxTime = time ; }
Source:
private native int connectSocketNative ( byte [ ] address , int type , byte [ ] uuid , int port , int flag ) ;

Target:
private native int connectSocketNative ( byte [ ] address , int type , byte [ ] uuid , int port , int flag , int callingUid ) ;
Source:
synchronized void nAllocationData1D ( int id , int off , int mip , int count , int [ ] d , int sizeBytes ) { validate ( ) ; rsnAllocationData1D ( mContext , id , off , mip , count , d , sizeBytes ) ; }

Target:
synchronized void nAllocationCopyFromBitmap ( long alloc , android.graphics.Bitmap bmp ) { validate ( ) ; rsnAllocationCopyFromBitmap ( mContext , alloc , bmp ) ; }
Source:
public void checkClass ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.JavaContext context , @ com.android.annotations.NonNull lombok.ast.ClassDeclaration node , @ com.android.annotations.NonNull com.android.tools.lint.client.api.JavaParser.ResolvedClass resolvedClass ) { }

Target:
public void checkClass ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.JavaContext context , @ com.android.annotations.Nullable lombok.ast.ClassDeclaration declaration , @ com.android.annotations.NonNull lombok.ast.Node node , @ com.android.annotations.NonNull com.android.tools.lint.client.api.JavaParser.ResolvedClass resolvedClass ) { }
Source:
synchronized void nScriptSetVarVE ( int id , int slot , byte [ ] val , int e , int [ ] dims ) { validate ( ) ; rsnScriptSetVarVE ( mContext , id , slot , val , e , dims ) ; }

Target:
synchronized void nScriptInvokeV ( long id , int slot , byte [ ] params ) { validate ( ) ; rsnScriptInvokeV ( mContext , id , slot , params ) ; }
Source:
public boolean hasClass ( java.lang.String className ) { return ( ( methodMap.get ( className ) ) != null ) || ( ( fieldMap.get ( className ) ) != null ) ; }

Target:
public boolean hasClass ( java.lang.String className ) { return classSet.contains ( className ) ; }
Source:
public static boolean putString ( android.content.ContentResolver resolver , java.lang.String name , java.lang.String value ) { return android.provider.Settings.Global.putStringForUser ( resolver , name , value , android.os.UserHandle.myUserId ( ) ) ; }

Target:
public static void resetToDefaults ( @ android.annotation.NonNull android.content.ContentResolver resolver , @ android.annotation.Nullable java.lang.String tag ) { android.provider.Settings.Global.resetToDefaultsAsUser ( resolver , tag , android.provider.Settings.RESET_MODE_PACKAGE_DEFAULTS , android.os.UserHandle.myUserId ( ) ) ; }
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mCarQualifier = new com.android.ide.eclipse.adt.internal.resources.configurations.DockModeQualifier ( com.android.sdklib.resources.DockMode.CAR ) ; mDeskQualifier = new com.android.ide.eclipse.adt.internal.resources.configurations.DockModeQualifier ( com.android.sdklib.resources.DockMode.DESK ) ; mNoneQualifier = new com.android.ide.eclipse.adt.internal.resources.configurations.DockModeQualifier ( com.android.sdklib.resources.DockMode.NONE ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mCarQualifier = new com.android.ide.eclipse.adt.internal.resources.configurations.DockModeQualifier ( com.android.resources.DockMode.CAR ) ; mDeskQualifier = new com.android.ide.eclipse.adt.internal.resources.configurations.DockModeQualifier ( com.android.resources.DockMode.DESK ) ; mNoneQualifier = new com.android.ide.eclipse.adt.internal.resources.configurations.DockModeQualifier ( com.android.resources.DockMode.NONE ) ; }
Source:
public void registerDefaultNetworkCallback ( android.net.ConnectivityManager.NetworkCallback networkCallback ) { sendRequestForNetwork ( null , networkCallback , 0 , android.net.ConnectivityManager.REQUEST , android.net.ConnectivityManager.TYPE_NONE ) ; }

Target:
public void registerDefaultNetworkCallback ( android.net.ConnectivityManager.NetworkCallback networkCallback , android.os.Handler handler ) { android.net.ConnectivityManager.CallbackHandler cbHandler = new android.net.ConnectivityManager.CallbackHandler ( handler ) ; sendRequestForNetwork ( null , networkCallback , 0 , android.net.ConnectivityManager.REQUEST , android.net.ConnectivityManager.TYPE_NONE , cbHandler ) ; }
Source:
public static java.lang.String id ( ) { return "4.10" ; }

Target:
public static java.lang.String id ( ) { return "4.10-SNAPSHOT" ; }
Source:
public void setPeriodicAdvertisingParameters ( int advertiserId , android.bluetooth.le.PeriodicAdvertisingParameters parameters ) { com.android.bluetooth.gatt.GattService service = getService ( ) ; if ( service == null ) return ; }

Target:
public void setAdvertisingParameters ( int advertiserId , android.bluetooth.le.AdvertisingSetParameters parameters ) { com.android.bluetooth.gatt.GattService service = getService ( ) ; if ( service == null ) return ; service.setAdvertisingParameters ( advertiserId , parameters ) ; }
Source:
protected void onResume ( ) { super . onResume ( ) ; }

Target:
protected void onResume ( ) { super . onResume ( ) ; mPhone = com.android.internal.telephony.PhoneFactory.getDefaultPhone ( ) ; }
Source:
public void sendStartDecodingMessageParams ( com.android.internal.telephony.gsm.stk.RilMessage rilMsg ) { android.os.Message msg = obtainMessage ( com.android.internal.telephony.gsm.stk.RilMessageDecoder.CMD_START ) ; msg.obj = rilMsg ; sendMessage ( msg ) ; }

Target:
public void sendStartDecodingMessageParams ( com.android.internal.telephony.cat.RilMessage rilMsg ) { android.os.Message msg = obtainMessage ( com.android.internal.telephony.cat.RilMessageDecoder.CMD_START ) ; msg.obj = rilMsg ; sendMessage ( msg ) ; }
Source:
private void log ( java.lang.String s ) { android.util.Log.e ( "TelephonyMockRilTestRunner" , s ) ; }

Target:
private void log ( java.lang.String s ) { android.telephony.Rlog.e ( "TelephonyMockRilTestRunner" , s ) ; }
Source:
public void removeImsFeature ( int slotId , int feature ) throws android.os.RemoteException { synchronized ( mFeatures ) { onRemoveImsFeatureInternal ( slotId , feature ) ; } }

Target:
public void removeImsFeature ( int slotId , int feature ) throws android.os.RemoteException { synchronized ( mFeatures ) { enforceCallingOrSelfPermission ( android.Manifest.permission.MODIFY_PHONE_STATE , "removeImsFeature" ) ; onRemoveImsFeatureInternal ( slotId , feature ) ; } }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { int selectedFrame = mFrameSelectionScale.getSelection ( ) ; mFrameSelectionSpinner.setSelection ( selectedFrame ) ; selectFrame ( selectedFrame ) ; }

Target:
public void run ( ) { copySelectionToClipboard ( ) ; }
Source:
private void verifyOpenSSL ( org.conscrypt.OpenSSLKey pkey ) throws java.security.InvalidKeyException , java.security.NoSuchAlgorithmException , java.security.NoSuchProviderException , java.security.SignatureException , java.security.cert.CRLException { org.conscrypt.NativeCrypto.X509_CRL_verify ( mContext , pkey.getPkeyContext ( ) ) ; }

Target:
private void verifyOpenSSL ( org.conscrypt.OpenSSLKey pkey ) throws java.security.InvalidKeyException , java.security.NoSuchAlgorithmException , java.security.NoSuchProviderException , java.security.SignatureException , java.security.cert.CRLException { org.conscrypt.NativeCrypto.X509_CRL_verify ( mContext , pkey.getNativeRef ( ) ) ; }
Source:
public void testUnixDomainSockets_in_file_system ( ) throws java.lang.Exception { java.lang.String path = ( java.lang.System.getProperty ( "java.io.tmpdir" ) ) + "/test_unix_socket" ; new java.io.File ( path ) . delete ( ) ; checkUnixDomainSocket ( new java.net.InetUnixAddress ( path ) , false ) ; }

Target:
public void testUnixDomainSockets_in_file_system ( ) throws java.lang.Exception { java.lang.String path = ( java.lang.System.getProperty ( "java.io.tmpdir" ) ) + "/test_unix_socket" ; new java.io.File ( path ) . delete ( ) ; checkUnixDomainSocket ( android.system.UnixSocketAddress.createFileSystem ( path ) , false ) ; }
Source:
private com.android.jack.ir.ast.JMethod getWrapper ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod method , boolean isStaticDispatchOnly ) { com.android.jack.transformations.ast.inner.WrapperMarker.MethodCallDescriptor descriptor = new com.android.jack.transformations.ast.inner.WrapperMarker.MethodCallDescriptor ( method , isStaticDispatchOnly ) ; return wrappers.get ( descriptor ) ; }

Target:
private com.android.jack.ir.ast.JMethod getWrapper ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod method , boolean isStaticDispatchOnly , @ javax.annotation.Nonnull com.android.jack.ir.ast.JClassOrInterface mthCallReceiverType ) { com.android.jack.transformations.ast.inner.WrapperMarker.MethodCallDescriptor descriptor = new com.android.jack.transformations.ast.inner.WrapperMarker.MethodCallDescriptor ( method , isStaticDispatchOnly , mthCallReceiverType ) ; return wrappers.get ( descriptor ) ; }
Source:
public void TestDataDrivenICU ( ) { com.ibm.icu.dev.test.format.DataDrivenNumberFormatTestSuite.runSuite ( this . params , "numberformattestspecification.txt" , ICU ) ; }

Target:
public void TestDataDrivenICU ( ) { com.ibm.icu.dev.test.format.DataDrivenNumberFormatTestUtility.runSuite ( "numberformattestspecification.txt" , ICU ) ; }