auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public android.net.wifi.nan.PublishConfig.Builder setServiceName ( @ android.annotation.NonNull java.lang.String serviceName ) { if ( serviceName == null ) { throw new java.lang.IllegalArgumentException ( "Invalid service name - must be non-null" ) ; } mServiceName = serviceName.getBytes ( java.nio.charset.StandardCharsets.UTF_8 ) ; return this ; }

Target:
public android.net.wifi.aware.PublishConfig.Builder setServiceName ( @ android.annotation.NonNull java.lang.String serviceName ) { if ( serviceName == null ) { throw new java.lang.IllegalArgumentException ( "Invalid service name - must be non-null" ) ; } mServiceName = serviceName.getBytes ( java.nio.charset.StandardCharsets.UTF_8 ) ; return this ; }
Source:
public com.android.internal.telephony.Connection dial ( java.lang.String dialString , int videoState ) throws com.android.internal.telephony.CallStateException { throw new java.lang.RuntimeException ( "not implemented" ) ; }

Target:
public void getCallBarring ( java.lang.String facility , java.lang.String password , android.os.Message onComplete , int serviceClass ) { }
Source:
public void test_getName ( ) { java.io.ObjectStreamClass osc = java.io.ObjectStreamClass.lookup ( tests.api.java.io.ObjectStreamClassTest.DummyClass.class ) ; assertEquals ( ( "getName returned incorrect name: " + ( osc.getName ( ) ) ) , "org.apache.harmony.luni.tests.java.io.ObjectStreamClassTest$DummyClass" , osc.getName ( ) ) ; }

Target:
public void test_getName ( ) { java.io.ObjectStreamClass osc = java.io.ObjectStreamClass.lookup ( tests.api.java.io.ObjectStreamClassTest.DummyClass.class ) ; assertEquals ( ( "getName returned incorrect name: " + ( osc.getName ( ) ) ) , "tests.api.java.io.ObjectStreamClassTest$DummyClass" , osc.getName ( ) ) ; }
Source:
private void log ( java.lang.String msg ) { android.util.Log.d ( com.android.internal.telephony.IccProvider.TAG , ( "[IccProvider] " + msg ) ) ; }

Target:
private void log ( java.lang.String msg ) { android.telephony.Rlog.d ( com.android.internal.telephony.IccProvider.TAG , ( "[IccProvider] " + msg ) ) ; }
Source:
public final short getOpcodeUnit ( ) { return ( ( short ) ( opcode ) ) ; }

Target:
public final int getOpcode ( ) { return opcode ; }
Source:
synchronized void nScriptBindAllocation ( int script , int alloc , int slot ) { validate ( ) ; rsnScriptBindAllocation ( mContext , script , alloc , slot ) ; }

Target:
synchronized void nAllocationRead ( long id , byte [ ] d ) { validate ( ) ; rsnAllocationRead ( mContext , id , d ) ; }
Source:
public java.util.List < java.lang.String > targetProcessPrefix ( java.io.File workingDirectory ) { return com.google.common.collect.ImmutableList.of ( "adb" , "shell" , "cd" , workingDirectory.getAbsolutePath ( ) , "&&" ) ; }

Target:
public java.util.List < java.lang.String > targetProcessPrefix ( ) { return com.google.common.collect.ImmutableList.of ( "adb" , "shell" , "sh" , "-c" ) ; }
Source:
public static void computeExp2 ( android.renderscript.cts.TestExp2.ArgumentsFloatFloat args ) { args.ulf = 4 ; args.ulfRelaxed = 16 ; args.out = ( ( float ) ( java.lang.StrictMath.pow ( 2.0 , args.in ) ) ) ; }

Target:
public static void computeExp2 ( android.renderscript.cts.TestExp2.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.exp2 ( args.in ) , 3 , 16 ) ; }
Source:
public void writeContent ( @ javax.annotation.Nonnull com.android.jack.jayce.v0003.io.JayceInternalWriterImpl out ) throws java.io.IOException { out.writeBoolean ( captureInstance ) ; out.writeIds ( capturedVariableIds ) ; out.writeNode ( method ) ; out.writeId ( typeSig ) ; }

Target:
public void writeContent ( @ javax.annotation.Nonnull com.android.jack.jayce.v0003.io.JayceInternalWriterImpl out ) throws java.io.IOException { out.writeBoolean ( captureInstance ) ; out.writeIds ( capturedVariableIds ) ; out.writeNode ( method ) ; out.writeId ( typeSig ) ; out.writeIds ( boundsIds ) ; }
Source:
public android.net.IpSecTransform.Builder setAuthentication ( @ android.net.IpSecTransform.TransformDirection int direction , android.net.IpSecAlgorithm algo ) { mConfig.flow [ direction ] . authentication = algo ; return this ; }

Target:
public android.net.IpSecTransform.Builder setUnderlyingNetwork ( android.net.Network net ) { mConfig.setNetwork ( net ) ; return this ; }
Source:
public void write ( @ com.android.annotations.NonNull com.android.builder.profile.ExecutionRecord executionRecord ) { java.lang.String json = gson.toJson ( executionRecord ) ; try { writer.append ( json ) ; writer.append ( "\n" ) ; } catch ( java.io.IOException e ) { e.printStackTrace ( ) ; } }

Target:
public synchronized void write ( @ com.android.annotations.NonNull com.android.builder.profile.ExecutionRecord executionRecord ) throws java.io.IOException { if ( closed.get ( ) ) { return ; } java.lang.String json = gson.toJson ( executionRecord ) ; writer.append ( json ) ; writer.append ( "\n" ) ; }
Source:
public int compareTo ( com.android.dx.io.ProtoId other ) { if ( ( returnTypeIndex ) != ( other.returnTypeIndex ) ) { return com.android.dx.util.Unsigned.compare ( returnTypeIndex , other.returnTypeIndex ) ; } return com.android.dx.util.Unsigned.compare ( parametersOffset , other.parametersOffset ) ; }

Target:
public int compareTo ( com.android.dex.ProtoId other ) { if ( ( returnTypeIndex ) != ( other.returnTypeIndex ) ) { return com.android.dex.util.Unsigned.compare ( returnTypeIndex , other.returnTypeIndex ) ; } return com.android.dex.util.Unsigned.compare ( parametersOffset , other.parametersOffset ) ; }
Source:
public boolean endsWith ( java.lang.CharSequence cs ) { int csLength = cs.length ( ) ; return ( csLength <= ( length ) ) && ( contentEquals ( ( ( length ) - csLength ) , cs , csLength ) ) ; }

Target:
public boolean endsWith ( java.lang.CharSequence cs ) { int csLength = cs.length ( ) ; return ( csLength <= ( length ) ) && ( regionMatches ( ( ( length ) - csLength ) , cs , csLength ) ) ; }
Source:
public final void release ( ) { native_release ( ) ; }

Target:
public final void release ( ) { native_release ( ) ; mFaceDetectionRunning = false ; }
Source:
private boolean isSmsSupported ( ) { return ( mTm.getPhoneType ( ) ) != ( android.telephony.TelephonyManager.PHONE_TYPE_NONE ) ; }

Target:
private boolean isSmsSupported ( ) { return mTm.isSmsCapable ( ) ; }
Source:
private boolean handleAssert ( boolean result , java.lang.String message , java.lang.String expected , java.lang.String actual ) { return handleAssert ( result , message , expected , actual , null , false ) ; }

Target:
private static boolean handleAssert ( boolean result , java.lang.String message , java.lang.String expected , java.lang.String actual ) { return android.icu.dev.test.TestFmwk.handleAssert ( result , message , expected , actual , null , false ) ; }
Source:
private android.telephony.SmsManager getSmsManager ( ) { return android.telephony.android.telephony.SmsManager.getDefault ( ) ; }

Target:
private android.telephony.SmsManager getSmsManager ( ) { return android.telephony.cts.android.telephony.SmsManager.getDefault ( ) ; }
Source:
public void testNewInstanceString_NoArgConstructor ( ) { runTestNewInstanceString ( "()V" , new org.apache.harmony.jpda.tests.jdwp.ClassType.NoConstructorArgumentProvider ( ) ) ; }

Target:
public void testNewInstanceString_NoArgConstructor ( ) { runTestNewInstanceString ( "()V" , "" , new org.apache.harmony.jpda.tests.jdwp.ClassType.NoConstructorArgumentProvider ( ) ) ; }
Source:
public void setMultiprocessEnabled ( boolean enabled ) { android.webkit.WebViewZygote.setMultiprocessEnabled ( enabled ) ; }

Target:
public void setMultiProcessEnabledFromContext ( android.content.Context context ) { boolean enableMultiProcess = false ; try { enableMultiProcess = ( Settings.Global.getInt ( context.getContentResolver ( ) , Settings.Global.WEBVIEW_MULTIPROCESS ) ) == 1 ; } catch ( android.provider.Settings ex ) { } android.webkit.WebViewZygote.setMultiprocessEnabled ( enableMultiProcess ) ; }
Source:
public static void computeTan ( android.renderscript.cts.TestTan.ArgumentsFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( 5 , 128 , false ) ; args.out = android.renderscript.cts.CoreMathVerifier.tan ( args.in , t ) ; }

Target:
public static void computeTan ( android.renderscript.cts.TestTan.ArgumentsFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( 5 , 128 , false ) ; args.out = android.renderscript.cts.CoreMathVerifier.tan ( args.inX , t ) ; }
Source:
private void onVrStateChanged ( int state ) { com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent event = new com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.EVENT_TYPE_VR_STATE_CHANGED ) ; event.valueInt = state ; android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "incoming" + event ) ) ; sendMessage ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.STACK_EVENT , event ) ; }

Target:
private void onVrStateChanged ( int state ) { com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent event = new com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.EVENT_TYPE_VR_STATE_CHANGED ) ; event.valueInt = state ; if ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.DBG ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "incoming" + event ) ) ; } sendMessage ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.STACK_EVENT , event ) ; }
Source:
public abstract int installExistingPackage ( java.lang.String packageName ) throws android.content.pm.PackageManager.NameNotFoundException ;

Target:
public abstract boolean setDefaultBrowserPackageNameAsUser ( java.lang.String packageName , @ android.annotation.UserIdInt int userId ) ;
Source:
public com.android.sdklib.internal.repository.packages.FullRevision getPlatformToolsRevision ( ) { return new com.android.sdklib.internal.repository.packages.FullRevision ( 99 ) ; }

Target:
public com.android.sdklib.repository.FullRevision getPlatformToolsRevision ( ) { return new com.android.sdklib.repository.FullRevision ( 99 ) ; }
Source:
native void rsnScriptSetVarJ ( int con , int id , int slot , long val ) ;

Target:
native void rsnScriptForEachClipped ( long con , long id , int slot , long ain , long aout , byte [ ] params , int xstart , int xend , int ystart , int yend , int zstart , int zend ) ;
Source:
public void disable ( java.lang.String id ) { disable.add ( id ) ; severities.put ( id , Severity.IGNORE ) ; }

Target:
public void disable ( java.lang.String id ) { disable.add ( id ) ; severities.put ( id , com.android.tools.lint.detector.api.Severity.IGNORE ) ; }
Source:
public boolean execute ( com.android.cellbroadcastreceiver.CellBroadcastContentProvider provider ) { return provider.insertNewBroadcast ( cbm ) ; }

Target:
public int hashCode ( ) { return ( ( mMessageId ) * 31 ) + ( mLocation.hashCode ( ) ) ; }
Source:
public void testApi1 ( ) throws java.lang.Exception { assertEquals ( ( "deprecation.xml:18: Warning: android:editable is deprecated: Use an <EditText> to make it editable\n" + "deprecation.xml:2: Warning: AbsoluteLayout is deprecated" ) , lintProject ( "apicheck/minsdk1.xml=>AndroidManifest.xml" , "res/layout/deprecation.xml" ) ) ; }

Target:
public void testApi1 ( ) throws java.lang.Exception { assertEquals ( ( "res/layout/deprecation.xml:2: Warning: AbsoluteLayout is deprecated [Deprecated]\n" + ( ( ( ( ( ( "<AbsoluteLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" + "^\n" ) + "res/layout/deprecation.xml:18: Warning: android:editable is deprecated: Use an <EditText> to make it editable [Deprecated]\n" ) + " android:editable=\"true\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 2 warnings\n" ) + "" ) ) , lintProject ( "apicheck/minsdk1.xml=>AndroidManifest.xml" , "res/layout/deprecation.xml" ) ) ; }
Source:
private boolean hasAcceptedTos ( ) { if ( isVvm3 ( ) ) { return ( preferences.getInt ( com.android.dialer.app.voicemail.error.VoicemailTosMessageCreator.VVM3_TOS_VERSION_ACCEPTED_KEY , 0 ) ) >= ( com.android.dialer.app.voicemail.error.VoicemailTosMessageCreator.CURRENT_VVM3_TOS_VERSION ) ; } else { return ( preferences.getInt ( com.android.dialer.app.voicemail.error.VoicemailTosMessageCreator.DIALER_TOS_VERSION_ACCEPTED_KEY , 0 ) ) >= ( com.android.dialer.app.voicemail.error.VoicemailTosMessageCreator.CURRENT_DIALER_TOS_VERSION ) ; } }

Target:
private boolean hasAcceptedTos ( ) { if ( isVvm3 ( ) ) { return ( preferences.getInt ( com.android.dialer.app.voicemail.error.VoicemailTosMessageCreator.PREF_VVM3_TOS_VERSION_ACCEPTED_KEY , 0 ) ) >= ( com.android.dialer.app.voicemail.error.VoicemailTosMessageCreator.CURRENT_VVM3_TOS_VERSION ) ; } else { return ( preferences.getInt ( com.android.dialer.app.voicemail.error.VoicemailTosMessageCreator.PREF_DIALER_TOS_VERSION_ACCEPTED_KEY , 0 ) ) >= ( com.android.dialer.app.voicemail.error.VoicemailTosMessageCreator.CURRENT_DIALER_TOS_VERSION ) ; } }
Source:
protected void onConfgurationChanged ( android.content.res.Configuration config ) { mConfigChanged = true ; if ( ( mPageDialogsHandler ) != null ) { mPageDialogsHandler.onConfigurationChanged ( config ) ; } mUi.onConfigurationChanged ( config ) ; }

Target:
public void onConfgurationChanged ( android.content.res.Configuration config ) { mConfigChanged = true ; mActivity.invalidateOptionsMenu ( ) ; if ( ( mPageDialogsHandler ) != null ) { mPageDialogsHandler.onConfigurationChanged ( config ) ; } mUi.onConfigurationChanged ( config ) ; }
Source:
public void onCallStateChanged ( android.content.Context context , int newState ) { if ( newState == ( android.telecom.Call.STATE_DISCONNECTING ) ) { lightbringer.unregisterListener ( this ) ; } callState = newState ; }

Target:
public void onCallStateChanged ( android.content.Context context , int newState ) { if ( newState == ( android.telecom.Call.STATE_DISCONNECTING ) ) { duo.unregisterListener ( this ) ; } callState = newState ; }
Source:
public final void addClass ( long id , com.android.tools.perflib.heap.ClassObj theClass ) { mCurrentHeap.addClass ( id , theClass ) ; }

Target:
public final void addClass ( long id , com.android.tools.perflib.heap.ClassObj theClass ) { mCurrentHeap.addClass ( id , theClass ) ; theClass.setHeap ( mCurrentHeap ) ; }
Source:
private java.lang.Object getListener ( int key ) { synchronized ( mMapLock ) { return mListenerMap.get ( key ) ; } }

Target:
private java.lang.Object getListener ( int key ) { if ( key == ( android.net.nsd.NsdManager.INVALID_LISTENER_KEY ) ) return null ; synchronized ( mMapLock ) { return mListenerMap.get ( key ) ; } }
Source:
public void enter ( ) { com.android.server.telecom.Log.i ( com.android.server.telecom.CallAudioModeStateMachine.LOG_TAG , "Audio focus entering TONE/HOLDING state" ) ; mAudioManager.requestAudioFocusForCall ( AudioManager.STREAM_VOICE_CALL , AudioManager.AUDIOFOCUS_GAIN_TRANSIENT ) ; mAudioManager.setMode ( mMostRecentMode ) ; mCallAudioManager.setCallAudioRouteFocusState ( CallAudioRouteStateMachine.HAS_FOCUS ) ; }

Target:
public void enter ( ) { android.telecom.Log.i ( com.android.server.telecom.CallAudioModeStateMachine.LOG_TAG , "Audio focus entering TONE/HOLDING state" ) ; mAudioManager.requestAudioFocusForCall ( AudioManager.STREAM_VOICE_CALL , AudioManager.AUDIOFOCUS_GAIN_TRANSIENT ) ; mAudioManager.setMode ( mMostRecentMode ) ; mCallAudioManager.setCallAudioRouteFocusState ( CallAudioRouteStateMachine.HAS_FOCUS ) ; }
Source:
public java.lang.String getStringValue ( ) { if ( ( mRadix ) == ( com.android.ide.eclipse.gltrace.state.GLIntegerProperty.DisplayRadix.HEX ) ) { return java.lang.String.format ( "0x%08x" , java.lang.Integer.valueOf ( mCurrentValue ) ) ; } return mCurrentValue.toString ( ) ; }

Target:
public java.lang.String getStringValue ( ) { if ( ( mRadix ) == ( DisplayRadix.HEX ) ) { return java.lang.String.format ( "0x%08x" , java.lang.Integer.valueOf ( mCurrentValue ) ) ; } return mCurrentValue.toString ( ) ; }
Source:
public org.junit.runners.model.Statement apply ( org.junit.runners.model.Statement base , org.junit.runners.model.FrameworkMethod method , java.lang.Object target ) { vogar.android.VogarArgs vogarArgs = method.getAnnotation ( vogar.android.VogarArgs.class ) ; if ( vogarArgs == null ) { throw new junit.framework.AssertionFailedError ( ( "Must specify @" + ( vogar.android.VogarArgs.class . getSimpleName ( ) ) ) ) ; } else { this . testSpecificArgs = vogarArgs.value ( ) ; } return base ; }

Target:
public org.junit.runners.model.Statement apply ( org.junit.runners.model.Statement base , org.junit.runner.Description description ) { vogar.android.VogarArgs vogarArgs = description.getAnnotation ( vogar.android.VogarArgs.class ) ; if ( vogarArgs == null ) { throw new junit.framework.AssertionFailedError ( ( "Must specify @" + ( vogar.android.VogarArgs.class . getSimpleName ( ) ) ) ) ; } else { this . testSpecificArgs = vogarArgs.value ( ) ; } return base ; }
Source:
native int socketGetOption ( int opt , java.lang.Object iaContainerObj ) throws java.net.SocketException ;

Target:
java.lang.Object socketGetOption ( int opt ) throws java.net.SocketException { return libcore.io.IoBridge.getSocketOption ( fd , opt ) ; }
Source:
public void uint16 ( int v ) throws java.io.IOException { int16 ( ( ( short ) ( v & 65535 ) ) ) ; }

Target:
public void int32 ( int v ) throws java.io.IOException { intv ( v ) ; }
Source:
native void rsnScriptSetVarVE ( long con , long id , int slot , byte [ ] val , long e , int [ ] dims ) ;

Target:
native void rsnScriptSetVarV ( long con , long id , int slot , byte [ ] val , boolean mUseInc ) ;
Source:
public void setUp ( ) { org.mockito.MockitoAnnotations.initMocks ( this ) ; }

Target:
public void setUp ( ) { org.mockito.MockitoAnnotations.initMocks ( this ) ; org.mockito.Mockito.when ( mLog.forSubComponent ( org.mockito.Mockito.anyString ( ) ) ) . thenReturn ( mLog ) ; mHandler = new android.os.Handler ( android.os.Looper.getMainLooper ( ) ) ; }
Source:
public void plug ( long batteryUptime , long batteryRealtime ) { mPluggedCount = mCount ; }

Target:
public void unplug ( long batteryUptime , long batteryRealtime ) { mUnpluggedCount = mPluggedCount ; mCount.set ( mPluggedCount ) ; }
Source:
synchronized void nScriptSetVarI ( int id , int slot , int val ) { validate ( ) ; rsnScriptSetVarI ( mContext , id , slot , val ) ; }

Target:
synchronized void nScriptSetVarVE ( long id , int slot , byte [ ] val , long e , int [ ] dims ) { validate ( ) ; rsnScriptSetVarVE ( mContext , id , slot , val , e , dims ) ; }
Source:
public void dispose ( ) { android.telephony.mbms.vendor.IMbmsStreamingService streamingService = mService.get ( ) ; if ( streamingService == null ) { return ; } try { streamingService.dispose ( mSubscriptionId ) ; } catch ( android.os.RemoteException e ) { } mService.set ( null ) ; }

Target:
public void onServiceDisconnected ( android.content.ComponentName name ) { android.telephony.MbmsStreamingManager.sIsInitialized.set ( false ) ; mService.set ( null ) ; }
Source:
private void assertVerifiedForEachForMinSdkVersion ( java.lang.String apkFilenameInResources , java.lang.String [ ] args , int minSdkVersion ) throws java.lang.Exception { assertVerifiedForEach ( apkFilenameInResources , args , minSdkVersion ) ; }

Target:
private ApkVerifier.Result verifyForMaxSdkVersion ( java.lang.String apkFilenameInResources , int maxSdkVersion ) throws com.android.apksig.apk.ApkFormatException , java.io.IOException , java.security.NoSuchAlgorithmException { return verify ( apkFilenameInResources , null , maxSdkVersion ) ; }
Source:
public void stop ( ) { releaseMobileNetworkRequest ( ) ; releaseCallback ( mDefaultNetworkCallback ) ; mDefaultNetworkCallback = null ; releaseCallback ( mListenAllCallback ) ; mListenAllCallback = null ; mNetworkMap.clear ( ) ; }

Target:
public void stop ( ) { releaseMobileNetworkRequest ( ) ; releaseCallback ( mDefaultNetworkCallback ) ; mDefaultNetworkCallback = null ; mDefaultInternetNetwork = null ; releaseCallback ( mListenAllCallback ) ; mListenAllCallback = null ; mTetheringUpstreamNetwork = null ; mNetworkMap.clear ( ) ; }
Source:
public void run ( ) { com.android.hierarchyviewerlib.device.ViewNode viewNode = com.android.hierarchyviewerlib.device.DeviceBridge.loadWindowData ( com.android.hierarchyviewerlib.device.Window.getFocusedWindow ( device ) ) ; if ( viewNode != null ) { com.android.hierarchyviewerlib.models.PixelPerfectModel.getModel ( ) . setTree ( viewNode ) ; } }

Target:
public void run ( ) { com.android.hierarchyviewerlib.device.IHvDevice hvDevice = getHvDevice ( device ) ; com.android.hierarchyviewerlib.models.ViewNode viewNode = hvDevice.loadWindowData ( com.android.hierarchyviewerlib.models.Window.getFocusedWindow ( hvDevice ) ) ; if ( viewNode != null ) { com.android.hierarchyviewerlib.models.PixelPerfectModel.getModel ( ) . setTree ( viewNode ) ; } }
Source:
public boolean removeAllNetworks ( ) { return doBooleanCommand ( "REMOVE_NETWORK all" ) ; }

Target:
public boolean removeAllNetworks ( ) { if ( ! ( doBooleanCommand ( "REMOVE_NETWORK all" ) ) ) { android.util.Log.e ( com.android.server.wifi.WifiNative.TAG , "Remove all networks in wpa_supplicant failed" ) ; return false ; } return true ; }
Source:
boolean matchContainer ( java.lang.String app ) { if ( cid.startsWith ( app ) ) { return true ; } return false ; }

Target:
private void cleanUpResourcesLI ( java.util.List < java.lang.String > allCodePaths ) { cleanUp ( ) ; removeDexFiles ( allCodePaths , instructionSets ) ; }
Source:
public static native byte [ ] EC_KEY_get_private_key ( int keyRef ) ;

Target:
public static native int get_EC_GROUP_type ( long groupCtx ) ;
Source:
boolean canReadPhoneState ( ) { try { return com.android.internal.telephony.TelephonyPermissions.checkReadPhoneState ( context , subId , callerPid , callerUid , callingPackage , "listen" ) ; } catch ( java.lang.SecurityException e ) { return false ; } }

Target:
boolean canReadCallLog ( ) { try { return com.android.internal.telephony.TelephonyPermissions.checkReadCallLog ( context , subId , callerPid , callerUid , callingPackage ) ; } catch ( java.lang.SecurityException e ) { return false ; } }
Source:
public boolean matchesObject ( java.lang.Object obj ) { return ! ( ( ( android.hardware.camera2.impl.CameraMetadataNative ) ( obj ) ) . isEmpty ( ) ) ; }

Target:
public boolean matches ( android.hardware.camera2.impl.CameraMetadataNative obj ) { return ! ( obj.isEmpty ( ) ) ; }
Source:
public static com.android.ahat.DocString text ( java.lang.String format , java.lang.Object ... args ) { com.android.ahat.DocString doc = new com.android.ahat.DocString ( ) ; return doc.append ( format , args ) ; }

Target:
public static com.android.ahat.DocString format ( java.lang.String format , java.lang.Object ... args ) { com.android.ahat.DocString doc = new com.android.ahat.DocString ( ) ; return doc.appendFormat ( format , args ) ; }
Source:
, name = "_add" , returnType = int . class , argumentTypes = { int . class , int . class } ) private static int add ( int a , int b ) { assertNotReached ( ) ; return - 1 ; }

Target:
, fieldOrMethodName = "_add" , returnType = int . class , parameterTypes = { int . class , int . class } ) private static int add ( int a , int b ) { assertNotReached ( ) ; return - 1 ; }
Source:
public static short byteToDoubleToShort ( byte value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( short ) ( ( double ) ( value ) ) ) ; }

Target:
public static short $noinline$byteToDoubleToShort ( byte value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( short ) ( ( double ) ( value ) ) ) ; }
Source:
public void onImageLoadComplete ( java.lang.String callId , com.android.incallui.ContactInfoCache.ContactCacheEntry entry ) { com.android.incallui.call.DialerCall call = callList.getCallById ( callId ) ; if ( call != null ) { buildAndSendNotification ( callList , call , entry ) ; } }

Target:
public void onImageLoadComplete ( java.lang.String callId , com.android.incallui.ContactInfoCache.ContactCacheEntry entry ) { com.android.incallui.call.DialerCall call = com.android.incallui.call.CallList.getInstance ( ) . getCallById ( callId ) ; if ( call != null ) { buildAndSendNotification ( com.android.incallui.call.CallList.getInstance ( ) , call , entry ) ; } }
Source:
public void visitNoArgs ( int opcode , int offset , int length , com.android.dx.rop.type.Type type ) { observer.parsed ( bytes , offset , length , header ( offset ) ) ; }

Target:
public void setPreviousOffset ( int offset ) { }
Source:
private native void gattServerSendNotificationNative ( int server_if , int attr_handle , int conn_id , byte [ ] val ) ;

Target:
private native void gattServerSendNotificationNative ( int serverIf , int attrHandle , int connId , byte [ ] val ) ;
Source:
public static int getGravity ( org.w3c.dom.Element element ) { java.lang.String gravityString = element.getAttributeNS ( com.android.ide.common.layout.LayoutConstants.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_GRAVITY ) ; return com.android.ide.common.layout.GravityHelper.getGravity ( gravityString , ( ( com.android.ide.common.layout.GravityHelper.GRAVITY_LEFT ) | ( com.android.ide.common.layout.GravityHelper.GRAVITY_TOP ) ) ) ; }

Target:
public static int getGravity ( org.w3c.dom.Element element ) { java.lang.String gravityString = element.getAttributeNS ( com.android.util.XmlUtils.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_GRAVITY ) ; return com.android.ide.common.layout.GravityHelper.getGravity ( gravityString , ( ( com.android.ide.common.layout.GravityHelper.GRAVITY_LEFT ) | ( com.android.ide.common.layout.GravityHelper.GRAVITY_TOP ) ) ) ; }
Source:
public boolean configureRoaming ( com.android.server.wifi.WifiNative.RoamingConfig config ) { android.util.Log.d ( com.android.server.wifi.WifiNative.TAG , "configureRoaming " ) ; try { if ( ( mWifiVendorHal ) != null ) { return mWifiVendorHal.configureRoaming ( config ) ; } } catch ( java.lang.UnsupportedOperationException e ) { } return false ; }

Target:
public boolean initializeVendorHal ( ) { if ( com.android.server.wifi.WifiNative.HIDL_VENDOR_ENABLE ) { return mWifiVendorHal.initialize ( ) ; } else { return true ; } }
Source:
private java.math.BigInteger getScalarMultipleXCoord ( org.bouncycastle.math.ec.ECPoint p , java.math.BigInteger s ) { return p.multiply ( s ) . normalize ( ) . getAffineXCoord ( ) . toBigInteger ( ) ; }

Target:
private java.math.BigInteger getScalarMultipleXCoord ( org.bouncycastle.math.ec.ECPoint p , java.math.BigInteger s ) { return _fixedPointMultiplier.multiply ( p , s ) . normalize ( ) . getAffineXCoord ( ) . toBigInteger ( ) ; }
Source:
public android.net.wifi.nan.TlvBufferUtils.TlvConstructor putZeroLengthElement ( int type ) { checkLength ( 0 ) ; addHeader ( type , 0 ) ; return this ; }

Target:
public android.net.wifi.aware.TlvBufferUtils.TlvConstructor putZeroLengthElement ( int type ) { checkLength ( 0 ) ; addHeader ( type , 0 ) ; return this ; }
Source:
public static long ShrLongInt ( ) { long lhs = 9 ; int rhs = 2 ; return lhs > > rhs ; }

Target:
public static long ShrLongInt ( ) { long lhs = Main.$inline$long ( 9 ) ; int rhs = Main.$inline$int ( 2 ) ; return lhs > > rhs ; }
Source:
public com.android.ddmlib.Client [ ] getClients ( ) { synchronized ( mClients ) { return mClients.toArray ( new com.android.ddmlib.Client [ mClients.size ( ) ] ) ; } }

Target:
public boolean hasClients ( ) { synchronized ( mClients ) { return ( mClients.size ( ) ) > 0 ; } }
Source:
public int hashCode ( ) { if ( ( mValue ) != null ) { return mValue.hashCode ( ) ; } return 0 ; }

Target:
public java.lang.String getStringValue ( ) { if ( ( mValue ) != null ) { return mValue.getDisplayValue ( ) ; } return "" ; }
Source:
static int $opt$DoubleToInt ( double a ) { return ( ( int ) ( a ) ) ; }

Target:
static float $opt$DoubleToFloat ( double a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( float ) ( a ) ) ; }
Source:
private static native void native_drawTextOnPath ( int nativeCanvas , java.lang.String text , int path , float hOffset , float vOffset , int flags , int paint ) ;

Target:
private static native void native_drawTextOnPath ( long nativeCanvas , java.lang.String text , long nativePath , float hOffset , float vOffset , int flags , long nativePaint ) ;
Source:
public void test_U8_4_SCALE20_20_inSqure ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.UNSIGNED_8 , 4 , 2.0F , 2.0F ) ; checkError ( ) ; }

Target:
public void test_U8_4_SCALE20_20_inSquare ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.UNSIGNED_8 , 4 , 2.0F , 2.0F ) ; checkError ( ) ; }
Source:
protected void dump ( java.io.FileDescriptor fd , java.io.PrintWriter pw , java.lang.String [ ] args ) { synchronized ( mActivityManagerService.mProcessStatsThread ) { pw.print ( mActivityManagerService.mProcessStats.printCurrentState ( ) ) ; } }

Target:
protected void dump ( java.io.FileDescriptor fd , java.io.PrintWriter pw , java.lang.String [ ] args ) { synchronized ( mActivityManagerService.mProcessStatsThread ) { pw.print ( mActivityManagerService.mProcessStats.printCurrentLoad ( ) ) ; pw.print ( mActivityManagerService.mProcessStats.printCurrentState ( android.os.SystemClock.uptimeMillis ( ) ) ) ; } }
Source:
public java.io.FileOutputStream getOutput ( ) throws java.io.IOException { return new java.io.FileOutputStream ( file , append ) ; }

Target:
public static com.google.common.io.ByteSink asByteSink ( java.io.File file , com.google.common.io.FileWriteMode ... modes ) { return new com.google.common.io.Files.FileByteSink ( file , modes ) ; }
Source:
public java.lang.String getDeviceSoftwareVersion ( ) { return getDeviceSoftwareVersion ( getDefaultSim ( ) ) ; }

Target:
public android.telephony.TelephonyManager createForPhoneAccountHandle ( android.telecom.PhoneAccountHandle phoneAccountHandle ) { int subId = getSubIdForPhoneAccountHandle ( phoneAccountHandle ) ; if ( ! ( android.telephony.SubscriptionManager.isValidSubscriptionId ( subId ) ) ) { return null ; } return new android.telephony.TelephonyManager ( mContext , subId ) ; }
Source:
public static native void EVP_SignUpdate ( org.conscrypt.NativeRef.EVP_MD_CTX ctx , byte [ ] buffer , int offset , int length ) ;

Target:
public static native void EVP_DigestVerifyUpdate ( org.conscrypt.NativeRef.EVP_MD_CTX ctx , byte [ ] buffer , int offset , int length ) ;
Source:
public com.android.jack.library.OutputJackLibrary checkString ( @ javax.annotation.Nonnull com.android.sched.util.codec.CodecContext context , @ javax.annotation.Nonnull java.lang.String string ) throws com.android.sched.util.codec.ParsingException { com.android.sched.vfs.InputOutputVFS vfs = codec.checkString ( context , string ) ; return com.android.jack.library.JackLibraryFactory.getOutputLibrary ( vfs , com.android.jack.Jack.getEmitterId ( ) , com.android.jack.Jack.getVersionString ( ) ) ; }

Target:
public com.android.jack.library.OutputJackLibrary checkString ( @ javax.annotation.Nonnull com.android.sched.util.codec.CodecContext context , @ javax.annotation.Nonnull java.lang.String string ) throws com.android.sched.util.codec.ParsingException { com.android.sched.vfs.VFS vfs = codec.checkString ( context , string ) ; return com.android.jack.library.JackLibraryFactory.getOutputLibrary ( vfs , com.android.jack.Jack.getEmitterId ( ) , com.android.jack.Jack.getVersionString ( ) ) ; }
Source:
public static byte [ ] getCRLEncoding ( ) throws java.io.UnsupportedEncodingException { return org.apache.harmony.luni.util.Base64.decode ( org.apache.harmony.security.tests.support.provider.cert.CertFactoryTestData.crlEncodingBase64.getBytes ( "UTF-8" ) ) ; }

Target:
public static byte [ ] getCRLEncoding ( ) throws java.io.UnsupportedEncodingException { return java.util.Base64.getDecoder ( ) . decode ( org.apache.harmony.security.tests.support.provider.cert.CertFactoryTestData.crlEncodingBase64.getBytes ( "UTF-8" ) ) ; }
Source:
public com.google.common.hash.Hasher putString ( java.lang.CharSequence chars ) { for ( com.google.common.hash.Hasher hasher : hashers ) { hasher.putString ( chars ) ; } return this ; }

Target:
public com.google.common.hash.Hasher putUnencodedChars ( java.lang.CharSequence chars ) { for ( com.google.common.hash.Hasher hasher : hashers ) { hasher.putUnencodedChars ( chars ) ; } return this ; }
Source:
public boolean onPreferenceClick ( android.support.v7.preference.Preference arg0 ) { com.android.settings.wifi.AdvancedWifiSettings.WpsFragment wpsFragment = new com.android.settings.wifi.AdvancedWifiSettings.WpsFragment ( android.net.wifi.WpsInfo.PBC ) ; wpsFragment.show ( getFragmentManager ( ) , com.android.settings.wifi.AdvancedWifiSettings.KEY_WPS_PUSH ) ; return true ; }

Target:
public void onReceive ( android.content.Context context , android.content.Intent intent ) { initPreferences ( ) ; }
Source:
public void updateBitmap ( android.graphics.Bitmap b ) { mScript.forEach_toU8_4 ( mScratchPixelsAllocation2 , mOutPixelsAllocation ) ; mOutPixelsAllocation.copyTo ( b ) ; }

Target:
public void runTest ( ) { mIntrinsic.forEach ( mScratchPixelsAllocation2 ) ; mScript.forEach_toU8_4 ( mScratchPixelsAllocation2 , mOutPixelsAllocation ) ; }
Source:
public static java.lang.Object deserializeHex ( java.lang.String hex ) throws java.io.IOException , java.lang.ClassNotFoundException { return libcore.util.SerializationTester.deserialize ( libcore.util.SerializationTester.hexDecode ( hex ) ) ; }

Target:
public static java.lang.Object deserializeHex ( java.lang.String hex ) throws java.io.IOException , java.lang.ClassNotFoundException { return libcore.util.SerializationTester.deserialize ( libcore.util.HexEncoding.decode ( hex ) ) ; }
Source:
public void test_minus_Period_timeNotAllowed ( ) { test.java.time.MockSimplePeriod period = test.java.time.MockSimplePeriod.of ( 7 , java.time.temporal.ChronoUnit.HOURS ) ; TEST_2007_07_15.minus ( period ) ; }

Target:
public void test_minus_longTemporalUnit_timeNotAllowed ( ) { tck.java.time.TCKLocalDate.TEST_2007_07_15.minus ( 7 , java.time.temporal.ChronoUnit.HOURS ) ; }
Source:
public void setText ( java.lang.String source ) { this . icuIterator.setText ( source ) ; }

Target:
public void setOffset ( int newOffset ) { this . icuIterator.setOffset ( newOffset ) ; }
Source:
public boolean imsIsWfcEnabledByUser ( ) { return mImsManager.isWfcEnabledByUserForSlot ( ) ; }

Target:
public boolean imsIsWfcEnabledByUser ( ) { return mImsManager.isWfcEnabledByUser ( ) ; }
Source:
private void resetProxyAndRequestList ( ) { mRadioProxy = null ; mRadioProxyCookie.incrementAndGet ( ) ; setRadioState ( RadioState.RADIO_UNAVAILABLE ) ; com.android.internal.telephony.RILRequest.resetSerial ( ) ; clearRequestList ( com.android.internal.telephony.RADIO_NOT_AVAILABLE , false ) ; }

Target:
private void resetProxyAndRequestList ( ) { mRadioProxy = null ; mOemHookProxy = null ; mRadioProxyCookie.incrementAndGet ( ) ; setRadioState ( RadioState.RADIO_UNAVAILABLE ) ; com.android.internal.telephony.RILRequest.resetSerial ( ) ; clearRequestList ( com.android.internal.telephony.RADIO_NOT_AVAILABLE , false ) ; getRadioProxy ( null ) ; }
Source:
public static android.app.DialogFragment newInstance ( java.lang.String displayNumber , boolean isSpamEnabled , com.android.dialer.blocking.BlockReportSpamDialogs.OnConfirmListener positiveListener , @ android.support.annotation.Nullable android.content.DialogInterface.OnDismissListener dismissListener ) { com.android.dialer.blocking.BlockReportSpamDialogs.BlockDialogFragment fragment = new com.android.dialer.blocking.BlockReportSpamDialogs.BlockDialogFragment ( ) ; fragment.mDisplayNumber = displayNumber ; fragment.mPositiveListener = positiveListener ; fragment.mDismissListener = dismissListener ; fragment.isSpamEnabled = isSpamEnabled ; return fragment ; }

Target:
public static android.app.DialogFragment newInstance ( java.lang.String displayNumber , boolean isSpamEnabled , com.android.dialer.blocking.BlockReportSpamDialogs.OnConfirmListener positiveListener , @ android.support.annotation.Nullable android.content.DialogInterface.OnDismissListener dismissListener ) { com.android.dialer.blocking.BlockReportSpamDialogs.BlockDialogFragment fragment = new com.android.dialer.blocking.BlockReportSpamDialogs.BlockDialogFragment ( ) ; fragment.displayNumber = displayNumber ; fragment.positiveListener = positiveListener ; fragment.dismissListener = dismissListener ; fragment.isSpamEnabled = isSpamEnabled ; return fragment ; }
Source:
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 ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; assertNotNull ( mAbi ) ; assertNotNull ( mCtsBuild ) ; getDevice ( ) . uninstallPackage ( android.appsecurity.cts.PermissionsHostTest.PKG ) ; }
Source:
public void testBack ( ) throws java.lang.Exception { com.android.tools.lint.checks.ButtonDetectorTest.sTestIssue = ButtonDetector.BACKBUTTON ; assertEquals ( "buttonbar.xml:183: Warning: Back buttons are not standard on Android; see design guide's navigation section" , lintProject ( "res/layout/buttonbar.xml" , "res/values/buttonbar-values.xml" ) ) ; }

Target:
public void testCase ( ) throws java.lang.Exception { com.android.tools.lint.checks.ButtonDetectorTest.sTestIssue = ButtonDetector.CASE ; assertEquals ( ( "res/values/buttonbar-values.xml:9: Warning: The standard Android way to capitalize Ok is \"OK\" (tip: use @android:string/ok instead) [ButtonCase]\n" + ( ( ( ( ( ( " <string name=\"resume2\"> Ok </string>\n" + " ^\n" ) + "res/values/buttonbar-values.xml:10: Warning: The standard Android way to capitalize CANCEL is \"Cancel\" (tip: use @android:string/ok instead) [ButtonCase]\n" ) + " <string name=\"giveup2\">\"CANCEL\"</string>\n" ) + " ^\n" ) + "0 errors, 2 warnings\n" ) + "" ) ) , lintProject ( "res/layout/buttonbar.xml" , "res/values/buttonbar-values.xml" ) ) ; }
Source:
public boolean validate ( ) { if ( ( myState.get ( com.google.gct.idea.samples.SampleImportWizardPath.SAMPLE_KEY ) ) == null ) { setErrorHtml ( "Please select a sample" ) ; return false ; } setErrorHtml ( "" ) ; return true ; }

Target:
public boolean validate ( ) { if ( ( myState.get ( com.google.gct.idea.samples.SampleImportWizardPath.SAMPLE_KEY ) ) == null ) { setErrorHtml ( com.google.gct.idea.util.GctBundle.message ( "sample.browser.please.select" ) ) ; return false ; } setErrorHtml ( "" ) ; return true ; }
Source:
public final void add ( int index , E element ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public final E remove ( int index ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public void visitProgramClass ( proguard.optimize.info.ProgramClass programClass ) { if ( ! ( proguard.optimize.KeepMarker.isKept ( programClass ) ) ) { proguard.optimize.info.ClassOptimizationInfo.setClassOptimizationInfo ( programClass ) ; } }

Target:
public void visitProgramClass ( proguard.classfile.ProgramClass programClass ) { if ( ! ( proguard.optimize.KeepMarker.isKept ( programClass ) ) ) { proguard.optimize.info.ClassOptimizationInfo.setClassOptimizationInfo ( programClass ) ; } }
Source:
public void test_plusNanos_noChange_oneDay_equal ( ) { java.time.LocalTime t = TEST_12_30_40_987654321.plusNanos ( ( ( ( 24 * 60 ) * 60 ) * 1000000000L ) ) ; org.testng.Assert.assertEquals ( t , TEST_12_30_40_987654321 ) ; }

Target:
public void test_plusNanos_noChange_oneDay_equal ( ) { java.time.LocalTime t = tck.java.time.TCKLocalTime.TEST_12_30_40_987654321.plusNanos ( ( ( ( 24 * 60 ) * 60 ) * 1000000000L ) ) ; org.testng.Assert.assertEquals ( t , tck.java.time.TCKLocalTime.TEST_12_30_40_987654321 ) ; }
Source:
public java.lang.String getAbiFilter ( ) { return getVariantOutputData ( ) . getAbiFilter ( ) ; }

Target:
public java.io.File getSplitFolder ( ) { return getOutputFile ( ) . getParentFile ( ) ; }
Source:
public static native double sinh ( double x ) ;

Target:
public static native double atan2 ( double y , double x ) ;
Source:
public void warning ( org.xml.sax.SAXParseException e ) { log.error ( Severity.WARNING , new com.android.manifmerger.IMergerLog.FileAndLine ( xmlFile.getName ( ) , 0 ) , "Warning when parsing: %1$s" , e.toString ( ) ) ; }

Target:
public void warning ( org.xml.sax.SAXParseException e ) { log.error ( Severity.WARNING , new com.android.manifmerger.IMergerLog.FileAndLine ( xmlFile.getAbsolutePath ( ) , 0 ) , "Warning when parsing: %1$s" , e.toString ( ) ) ; }
Source:
public com.google.common.collect.UnmodifiableIterator < E > descendingIterator ( ) { return descendingSet ( ) . iterator ( ) ; }

Target:
public E last ( ) { return descendingIterator ( ) . next ( ) ; }
Source:
private static void assertRedirectType ( java.lang.ProcessBuilder.Redirect.Type expectedType , java.lang.ProcessBuilder.Redirect redirect ) { assertEquals ( redirect.toString ( ) , expectedType , redirect.type ( ) ) ; }

Target:
private static void assertRedirectFileAndType ( java.io.File expectedFile , java.lang.ProcessBuilder.Redirect.Type expectedType , java.lang.ProcessBuilder.Redirect redirect ) { assertEquals ( redirect.toString ( ) , expectedFile , redirect.file ( ) ) ; assertEquals ( redirect.toString ( ) , expectedType , redirect.type ( ) ) ; }
Source:
public void cancelledRequest ( ) throws java.lang.Exception { mRequest.cancel ( ) ; mCacheQueue.add ( mRequest ) ; mCacheQueue.waitUntilEmpty ( com.android.volley.CacheDispatcherTest.TIMEOUT_MILLIS ) ; assertFalse ( mCache.getCalled ) ; assertFalse ( mDelivery.wasEitherResponseCalled ( ) ) ; }

Target:
public void runStopsOnQuit ( ) throws java.lang.Exception { org.mockito.Mockito.when ( mCacheQueue.take ( ) ) . then ( new com.android.volley.CacheDispatcherTest.WaitForever ( ) ) ; mDispatcher.start ( ) ; mDispatcher.quit ( ) ; mDispatcher.join ( 1000 ) ; }
Source:
private static java.util.EnumSet < com.android.resources.ResourceType > getAnyRes ( ) { java.util.EnumSet < com.android.resources.ResourceType > types = java.util.EnumSet.allOf ( com.android.resources.ResourceType.class ) ; types.remove ( com.android.tools.lint.checks.SupportAnnotationDetector.COLOR_INT_MARKER_TYPE ) ; return types ; }

Target:
private static java.util.EnumSet < com.android.resources.ResourceType > getAnyRes ( ) { java.util.EnumSet < com.android.resources.ResourceType > types = java.util.EnumSet.allOf ( com.android.resources.ResourceType.class ) ; types.remove ( ResourceEvaluator.COLOR_INT_MARKER_TYPE ) ; return types ; }
Source:
public java.util.Set < java.lang.String > getSupportedAbis ( ) { if ( ( mMergedNdkConfig ) != null ) { return mMergedNdkConfig.getAbiFilters ( ) ; } return null ; }

Target:
public java.util.Set < java.lang.String > getSupportedAbis ( ) { java.util.Set < java.lang.String > filters = mMergedNdkConfig.getAbiFilters ( ) ; if ( filters != null ) { return filters ; } return java.util.Collections.emptySet ( ) ; }
Source:
public void stopTrackingWifiChange ( android.net.wifi.WifiScanner.WifiChangeListener listener ) { int key = removeListener ( listener ) ; if ( key == ( android.net.wifi.WifiScanner.INVALID_KEY ) ) return ; validateChannel ( ) ; mAsyncChannel.sendMessage ( android.net.wifi.WifiScanner.CMD_STOP_TRACKING_CHANGE , 0 , key ) ; }

Target:
public void startTrackingWifiChange ( android.net.wifi.WifiScanner.WifiChangeListener listener ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public static int ipv4BroadcastAddress ( byte [ ] addrBytes , int prefixLength ) { return ( android.net.apf.ApfFilter.bytesToInt ( addrBytes ) ) | ( ( int ) ( ( android.net.apf.ApfFilter.uint32 ( ( - 1 ) ) ) > > > prefixLength ) ) ; }

Target:
public static int ipv4BroadcastAddress ( byte [ ] addrBytes , int prefixLength ) { return ( com.android.internal.util.BitUtils.bytesToBEInt ( addrBytes ) ) | ( ( int ) ( ( com.android.internal.util.BitUtils.uint32 ( ( - 1 ) ) ) > > > prefixLength ) ) ; }
Source:
public com.android.sched.util.config.AsapConfigBuilder setDebug ( ) { context.setDebug ( ) ; return this ; }

Target:
public com.android.sched.util.codec.CodecContext getCodecContext ( ) { return context ; }
Source:
private static boolean safeBoolean ( org.xmlpull.v1.XmlPullParser parser , java.lang.String att , boolean defValue ) { final java.lang.String val = parser.getAttributeValue ( null , att ) ; if ( android.text.TextUtils.isEmpty ( val ) ) return defValue ; return java.lang.Boolean.valueOf ( val ) ; }

Target:
private static boolean safeBoolean ( org.xmlpull.v1.XmlPullParser parser , java.lang.String att , boolean defValue ) { final java.lang.String val = parser.getAttributeValue ( null , att ) ; if ( android.text.TextUtils.isEmpty ( val ) ) return defValue ; return java.lang.Boolean.parseBoolean ( val ) ; }
Source:
public int compare ( com.android.ahat.heapdump.Site a , com.android.ahat.heapdump.Site b ) { return java.lang.Long.compare ( b.getTotalSize ( ) , a.getTotalSize ( ) ) ; }

Target:
public int compare ( com.android.ahat.heapdump.Site a , com.android.ahat.heapdump.Site b ) { return com.android.ahat.heapdump.Sort.SIZE_BY_SIZE.compare ( b.getTotalSize ( ) , a.getTotalSize ( ) ) ; }
Source:
public void setEnabled ( com.google.gct.testing.dimension.GoogleCloudTestingType type , boolean isEnabled ) { checkIsEditable ( ) ; validateType ( type ) ; if ( isEnabled ) { enableType ( type ) ; } else { enabledTypes.remove ( type ) ; } }

Target:
public void setEnabled ( com.google.gct.testing.dimension.CloudTestingType type , boolean isEnabled ) { checkIsEditable ( ) ; validateType ( type ) ; if ( isEnabled ) { enableType ( type ) ; } else { enabledTypes.remove ( type ) ; } }
Source:
public synchronized com.android.internal.telephony.UiccCard getUiccCard ( ) { return mUiccCard ; }

Target:
public com.android.internal.telephony.uicc.UiccCard getUiccCard ( ) { synchronized ( com.android.internal.telephony.uicc.UiccController.mLock ) { return mUiccCard ; } }
Source:
private android.database.Cursor withSimNotificationUri ( android.database.Cursor cursor ) { cursor.setNotificationUri ( getContext ( ) . getContentResolver ( ) , com.android.providers.telephony.SmsProvider.SIM_URI ) ; return cursor ; }

Target:
private android.database.Cursor withIccNotificationUri ( android.database.Cursor cursor ) { cursor.setNotificationUri ( getContext ( ) . getContentResolver ( ) , com.android.providers.telephony.SmsProvider.ICC_URI ) ; return cursor ; }
Source:
public native char getChar ( java.lang.Object obj ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
public native double getDouble ( java.lang.Object obj ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;
Source:
public void txestDisplayEmptyAvdList ( ) { com.android.sdkmanager.Main main = new com.android.sdkmanager.Main ( ) ; main.setLogger ( mLog ) ; mLog.clear ( ) ; main.displayAvdList ( mAvdManager ) ; assertEquals ( "P Available Android Virtual Devices:\n" , mLog.toString ( ) ) ; }

Target:
public void testDisplayEmptyAvdList ( ) { com.android.sdkmanager.Main main = new com.android.sdkmanager.Main ( ) ; main.setLogger ( mLog ) ; mLog.clear ( ) ; main.displayAvdList ( mAvdManager ) ; assertEquals ( "P Available Android Virtual Devices:\n" , mLog.toString ( ) ) ; }
Source:
public static native byte [ ] EC_GROUP_get_cofactor ( int groupCtx ) ;

Target:
public static native byte [ ] [ ] EC_GROUP_get_curve ( long groupRef ) ;
Source:
public static com.android.internal.telephony.GsmAlphabet.TextEncodingDetails calculateLengthGsm ( java.lang.CharSequence messageBody , boolean use7bitOnly ) { return com.android.internal.telephony.cdma.SmsMessage.calculateLength ( messageBody , use7bitOnly , false ) ; }

Target:
public static com.android.internal.telephony.GsmAlphabet.TextEncodingDetails calculateLengthCdma ( java.lang.CharSequence messageBody , boolean use7bitOnly ) { return com.android.internal.telephony.cdma.SmsMessage.calculateLength ( messageBody , use7bitOnly , false ) ; }
Source:
public void connectionServiceFocusGained ( ) { }

Target:
public void onSuccess ( ) { try { mServiceInterface.connectionServiceFocusGained ( android.telecom.Log.getExternalSession ( ) ) ; } catch ( android.os.RemoteException ignored ) { android.telecom.Log.d ( this , "failed to inform the focus gained event" ) ; } }