auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
private static void addFile ( @ javax.annotation.Nonnull java.io.File fileOrSourceList , @ javax.annotation.Nonnull java.util.List < java.lang.String > args , boolean mustExist ) { if ( fileOrSourceList instanceof com.android.jack.Sourcelist ) { args.add ( ( "@" + ( fileOrSourceList.getAbsolutePath ( ) ) ) ) ; } else { java.util.List < java.io.File > sourceFiles = new java.util.ArrayList < java.io.File > ( ) ; try { com.android.jack.test.toolchain.AbstractTestTools.getJavaFiles ( fileOrSourceList , sourceFiles , mustExist ) ; } catch ( java.io.IOException e ) { } for ( java.io.File sourceFile : sourceFiles ) { args.add ( sourceFile.getAbsolutePath ( ) ) ; } } }

Target:
private static void addFile ( @ javax.annotation.Nonnull java.io.File fileOrSourceList , @ javax.annotation.Nonnull java.util.List < java.lang.String > commandLine , boolean mustExist ) { if ( fileOrSourceList instanceof com.android.jack.Sourcelist ) { commandLine.add ( ( "@" + ( fileOrSourceList.getAbsolutePath ( ) ) ) ) ; } else { java.util.List < java.io.File > sourceFiles = new java.util.ArrayList < java.io.File > ( ) ; try { com.android.jack.test.toolchain.AbstractTestTools.getJavaFiles ( fileOrSourceList , sourceFiles , mustExist ) ; } catch ( java.io.IOException e ) { } for ( java.io.File sourceFile : sourceFiles ) { commandLine.add ( sourceFile.getAbsolutePath ( ) ) ; } } }
Source:
public void setAttributes ( com.android.ide.eclipse.adt.internal.resources.AttributeInfo [ ] attributes ) { mAttributes = attributes ; }

Target:
public void setAttributes ( com.android.ide.common.resources.platform.AttributeInfo [ ] attributes ) { mAttributes = attributes ; }
Source:
public void postResponse ( com.android.volley.Request < ? > request , com.android.volley.Response < ? > response ) { postResponse_called = true ; responsePosted = response ; }

Target:
public void postResponse ( com.android.volley.Request < ? > request , com.android.volley.Response < ? > response ) { postResponse_called = true ; ( postResponse_calledNtimes ) ++ ; responsePosted = response ; }
Source:
public void run ( ) { com.android.bluetooth.pbap.BluetoothPbapUtils.loadAllContacts ( mContext , mSessionStatusHandler ) ; mThreadLoadContacts = null ; }

Target:
public void run ( ) { com.android.bluetooth.pbap.BluetoothPbapUtils.updateSecondaryVersionCounter ( mContext , mSessionStatusHandler ) ; mThreadUpdateSecVersionCounter = null ; }
Source:
private void recordIfInstanceMethod ( int access , java.lang.String name , java.lang.String desc ) { if ( com.google.devtools.build.android.desugar.BitFlags.noneSet ( access , Opcodes.ACC_STATIC ) ) { instanceMethods.add ( ( ( name + ":" ) + desc ) ) ; } }

Target:
private void recordIfInstanceMethod ( int access , java.lang.String name , java.lang.String desc ) { if ( com.google.devtools.build.android.desugar.io.BitFlags.noneSet ( access , Opcodes.ACC_STATIC ) ) { instanceMethods.add ( ( ( name + ":" ) + desc ) ) ; } }
Source:
private android.net.ConnectivityManager.CallbackHandler getHandler ( ) { synchronized ( android.net.ConnectivityManager.sCallbacks ) { if ( ( android.net.ConnectivityManager.sCallbackHandler ) == null ) { android.net.ConnectivityManager.sCallbackHandler = new android.net.ConnectivityManager.CallbackHandler ( android.net.ConnectivityThread.getInstanceLooper ( ) ) ; } return android.net.ConnectivityManager.sCallbackHandler ; } }

Target:
private android.net.ConnectivityManager.CallbackHandler getDefaultHandler ( ) { synchronized ( android.net.ConnectivityManager.sCallbacks ) { if ( ( android.net.ConnectivityManager.sCallbackHandler ) == null ) { android.net.ConnectivityManager.sCallbackHandler = new android.net.ConnectivityManager.CallbackHandler ( android.net.ConnectivityThread.getInstanceLooper ( ) ) ; } return android.net.ConnectivityManager.sCallbackHandler ; } }
Source:
public static com.android.builder.signing.SigningInfo getDebugKey ( @ com.android.annotations.NonNull java.lang.String keyStoreLocation , java.lang.String storeStype ) throws com.android.builder.signing.KeytoolException , java.io.FileNotFoundException { return com.android.builder.signing.KeystoreHelper.getSigningInfo ( keyStoreLocation , com.android.builder.signing.DebugKeyHelper.PASSWORD_STRING , storeStype , com.android.builder.signing.DebugKeyHelper.PASSWORD_STRING , com.android.builder.signing.DebugKeyHelper.PASSWORD_STRING ) ; }

Target:
public static com.android.builder.signing.SigningInfo getDebugKey ( @ com.android.annotations.NonNull java.lang.String keyStoreLocation , java.lang.String storeStype ) throws com.android.builder.signing.KeytoolException , java.io.FileNotFoundException { return com.android.builder.signing.KeystoreHelper.getSigningInfo ( keyStoreLocation , com.android.builder.signing.DebugKeyHelper.PASSWORD_STRING , storeStype , com.android.builder.signing.DebugKeyHelper.DEBUG_ALIAS , com.android.builder.signing.DebugKeyHelper.PASSWORD_STRING ) ; }
Source:
private void notifyUiVisibilityChanged ( ) { try { mWindowManagerService.statusBarVisibilityChanged ( mSystemUiVisibility ) ; } catch ( android.os.RemoteException ex ) { } }

Target:
private void notifyUiVisibilityChanged ( int vis ) { try { mWindowManagerService.statusBarVisibilityChanged ( vis ) ; } catch ( android.os.RemoteException ex ) { } }
Source:
public void testInitialCardState ( ) { org.junit.Assert.assertEquals ( mUiccProfile.getState ( ) , State.UNKNOWN ) ; }

Target:
public void testInitialCardState ( ) { org.junit.Assert.assertEquals ( mUiccProfile.getState ( ) , State.NOT_READY ) ; }
Source:
protected int getPreferredPopupHeight ( ) { return ! ( com.google.gct.idea.elysium.ProjectSelector.needsToSignIn ( ) ) ? com.google.gct.idea.elysium.ProjectSelector.PREFERRED_HEIGHT : ( ProjectSelectorGoogleLogin.PREFERRED_HEIGHT ) + ( com.google.gct.idea.elysium.ProjectSelector.POPUP_HEIGHTFRAMESIZE ) ; }

Target:
protected int getPreferredPopupHeight ( ) { return ! ( com.google.gct.idea.elysium.ProjectSelector.needsToSignIn ( ) ) ? com.google.gct.idea.elysium.ProjectSelector.PREFERRED_HEIGHT : ( BaseGoogleLoginUI.PREFERRED_HEIGHT ) + ( com.google.gct.idea.elysium.ProjectSelector.POPUP_HEIGHTFRAMESIZE ) ; }
Source:
private void onCapabilitiesUpdatedResponseLocal ( com.android.server.wifi.nan.WifiNanNative.Capabilities capabilities ) { if ( com.android.server.wifi.nan.WifiNanStateManager.VDBG ) { android.util.Log.v ( com.android.server.wifi.nan.WifiNanStateManager.TAG , ( "onCapabilitiesUpdatedResponseLocal: capabilites=" + capabilities ) ) ; } mCapabilities = capabilities ; }

Target:
private void onCapabilitiesUpdatedResponseLocal ( com.android.server.wifi.nan.WifiNanNative.Capabilities capabilities ) { if ( com.android.server.wifi.nan.WifiNanStateManager.VDBG ) { android.util.Log.v ( com.android.server.wifi.nan.WifiNanStateManager.TAG , ( "onCapabilitiesUpdatedResponseLocal: capabilites=" + capabilities ) ) ; } mCapabilities = capabilities ; mCharacteristics = null ; }
Source:
private void acknowledgeSmsReport ( int messageRef , @ android.telephony.ims.internal.SmsImplBase.StatusReportResult int result ) { getSmsImplementation ( ) . acknowledgeSmsReport ( messageRef , result ) ; }

Target:
public void acknowledgeSms ( int token , int messageRef , int result ) { synchronized ( mLock ) { this . acknowledgeSms ( token , messageRef , result ) ; } }
Source:
public void callSessionMergeStarted ( com.android.ims.internal.IImsCallSession i , com.android.ims.internal.IImsCallSession newSession , android.telephony.ims.ImsCallProfile profile ) throws android.os.RemoteException { mNewListener.callSessionMergeStarted ( newSession , profile ) ; }

Target:
public void callSessionRemoveParticipantsRequestFailed ( com.android.ims.internal.IImsCallSession i , android.telephony.ims.ImsReasonInfo imsReasonInfo ) throws android.os.RemoteException { mNewListener.callSessionRemoveParticipantsRequestFailed ( imsReasonInfo ) ; }
Source:
public void testWithRowInt_columnIndexAndValue ( ) { assertTrue ( android.support.test.espresso.matcher.CursorMatchers.withRowInt ( 2 , android.support.test.espresso.matcher.CursorMatchersTest.INTEGER_VALUE ) . matches ( cursor ) ) ; }

Target:
public void withRowInt_columnIndexAndValue ( ) { org.junit.Assert.assertTrue ( android.support.test.espresso.matcher.CursorMatchers.withRowInt ( 2 , android.support.test.espresso.matcher.CursorMatchersTest.INTEGER_VALUE ) . matches ( cursor ) ) ; }
Source:
synchronized void nScriptInvokeV ( int id , int slot , byte [ ] params ) { validate ( ) ; rsnScriptInvokeV ( mContext , id , slot , params ) ; }

Target:
synchronized void nScriptSetTimeZone ( long script , byte [ ] timeZone ) { validate ( ) ; rsnScriptSetTimeZone ( mContext , script , timeZone ) ; }
Source:
synchronized int nScriptCCreate ( java.lang.String resName , java.lang.String cacheDir , byte [ ] script , int length ) { validate ( ) ; return rsnScriptCCreate ( mContext , resName , cacheDir , script , length ) ; }

Target:
synchronized void nScriptSetVarJ ( long id , int slot , long val ) { validate ( ) ; rsnScriptSetVarJ ( mContext , id , slot , val ) ; }
Source:
public void test_EmptyMap_computeIfAbsent ( ) { try { java.util.Collections.emptyMap ( ) . computeIfAbsent ( 1 , ( k ) -> 5.0 ) ; fail ( ) ; } catch ( java.lang.UnsupportedOperationException expected ) { } }

Target:
public void test_SingletonMap_computeIfAbsent ( ) { try { java.util.Collections.singletonMap ( 1 , 11.0 ) . computeIfAbsent ( 1 , ( k ) -> 5.0 ) ; fail ( ) ; } catch ( java.lang.UnsupportedOperationException expected ) { } }
Source:
public void addChild ( org.junit.runner.Description description ) { getChildren ( ) . add ( description ) ; }

Target:
public void addChild ( org.junit.runner.Description description ) { fChildren.add ( description ) ; }
Source:
public boolean visitMethodDeclaration ( lombok.ast.MethodDeclaration node ) { if ( com.android.tools.lint.checks.ViewHolderDetector.ViewAdapterVisitor.isViewAdapterMethod ( node ) ) { com.android.tools.lint.checks.ViewHolderDetector.InflationVisitor visitor = new com.android.tools.lint.checks.ViewHolderDetector.InflationVisitor ( mContext ) ; node.accept ( visitor ) ; visitor.finish ( ) ; } return super . visitMethodDeclaration ( node ) ; }

Target:
public void visitMethod ( com.intellij.psi.PsiMethod method ) { if ( com.android.tools.lint.checks.ViewHolderDetector.ViewAdapterVisitor.isViewAdapterMethod ( mContext , method ) ) { com.android.tools.lint.checks.ViewHolderDetector.InflationVisitor visitor = new com.android.tools.lint.checks.ViewHolderDetector.InflationVisitor ( mContext ) ; method.accept ( visitor ) ; visitor.finish ( ) ; } }
Source:
private android.content.ComponentName getDefaultDialerComponent ( ) { java.lang.String packageName = mDefaultDialerAdapter.getDefaultDialerApplication ( mContext , mCallsManager.getCurrentUserHandle ( ) . getIdentifier ( ) ) ; com.android.server.telecom.Log.d ( this , ( "Default Dialer package: " + packageName ) ) ; return getInCallServiceComponent ( packageName , com.android.server.telecom.InCallController.IN_CALL_SERVICE_TYPE_DIALER_UI ) ; }

Target:
private android.content.ComponentName getDefaultDialerComponent ( ) { java.lang.String packageName = mDefaultDialerAdapter.getDefaultDialerApplication ( mContext , mCallsManager.getCurrentUserHandle ( ) . getIdentifier ( ) ) ; android.telecom.Log.d ( this , ( "Default Dialer package: " + packageName ) ) ; return getInCallServiceComponent ( packageName , com.android.server.telecom.InCallController.IN_CALL_SERVICE_TYPE_DIALER_UI ) ; }
Source:
public void onCharacteristicRead ( java.lang.String address , int status , int srvcType , int srvcInstId , android.os.ParcelUuid srvcUuid , int charInstId , android.os.ParcelUuid charUuid , byte [ ] value ) throws android.os.RemoteException { }

Target:
public void onDescriptorRead ( java.lang.String address , int status , int handle , byte [ ] value ) throws android.os.RemoteException { }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { com.android.ddms.PrefsDialog.run ( shell ) ; }

Target:
public void onPreferencesMenuSelected ( ) { com.android.ddms.PrefsDialog.run ( shell ) ; }
Source:
private static boolean isForwardLocked ( android.content.pm.ApplicationInfo info ) { return ( ( info.flags ) & ( android.content.pm.ApplicationInfo.FLAG_FORWARD_LOCK ) ) != 0 ; }

Target:
private static boolean isForwardLocked ( android.content.pm.ApplicationInfo info ) { return ( ( info.privateFlags ) & ( android.content.pm.ApplicationInfo.PRIVATE_FLAG_FORWARD_LOCK ) ) != 0 ; }
Source:
public static boolean isNormalized ( java.lang.CharSequence src , java.text.Normalizer.Form form ) { return libcore.icu.NativeNormalizer.isNormalized ( src , form ) ; }

Target:
public static java.lang.String normalize ( java.lang.CharSequence src , java.text.Normalizer.Form form ) { return java.text.com.ibm.icu.text.Normalizer.normalize ( src.toString ( ) , form.getIcuForm ( ) ) ; }
Source:
public void dragSetData ( org.eclipse.swt.dnd.DragSourceEvent event ) { adjustEventCoordinates ( event ) ; com.android.ide.eclipse.adt.internal.editors.layout.gle2.LayoutCanvas canvas = mGraphicalEditorPart.getCanvasControl ( ) ; if ( canvas != null ) { canvas.getDragListener ( ) . dragSetData ( event ) ; } }

Target:
public java.lang.String getId ( ) { return ActionFactory.SELECT_ALL.getId ( ) ; }
Source:
public java.lang.Class < ? > getDeclaringClass ( ) { if ( isAnonymousClass ( ) ) { return null ; } return libcore.reflect.AnnotationAccess.getEnclosingClass ( this ) ; }

Target:
public java.lang.reflect.Method getEnclosingMethod ( ) { if ( classNameImpliesTopLevel ( ) ) { return null ; } return getEnclosingMethodNative ( ) ; }
Source:
public static float FloatSubtraction ( ) { float a ; float b ; float c ; a = 6.0F ; b = 2.0F ; c = a - b ; return c ; }

Target:
public static float FloatSubtraction ( ) { float a ; float b ; float c ; a = Main.$inline$float ( 6.0F ) ; b = Main.$inline$float ( 2.0F ) ; c = a - b ; return c ; }
Source:
public void callSessionUpdated ( com.android.ims.ImsCallProfile profile ) throws android.os.RemoteException { mListener.callSessionUpdated ( profile ) ; }

Target:
public void callSessionResumeReceived ( android.telephony.ims.ImsCallProfile profile ) { try { mListener.callSessionResumeReceived ( profile ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }
Source:
java.lang.String getHostName ( boolean check ) { if ( ( holder ( ) . getHostName ( ) ) == null ) { holder ( ) . hostName = java.net.InetAddress.getHostFromNameService ( this , check ) ; } return holder ( ) . getHostName ( ) ; }

Target:
public java.lang.String getCanonicalHostName ( ) { if ( ( canonicalHostName ) == null ) { canonicalHostName = java.net.InetAddress.getHostFromNameService ( this ) ; } return canonicalHostName ; }
Source:
public static native long EVP_SignInit ( java.lang.String algorithm ) ;

Target:
public static native byte [ ] EVP_DigestSignFinal ( org.conscrypt.OpenSSLDigestContext evp_md_ctx ) ;
Source:
private java.lang.String getADBPushJavaLine ( java.lang.String source , java.lang.String target ) { return ( ( ( "DeviceUtil.adbPush(\"" + source ) + "\", \"" ) + target ) + "\");" ; }

Target:
private java.lang.String getADBPushJavaLine ( java.lang.String source , java.lang.String target ) { return ( ( ( "DeviceUtil.adbPush(getDevice(), \"" + source ) + "\", \"" ) + target ) + "\");" ; }
Source:
private int removeCapability ( int capabilities , int capability ) { int newCapabilities = capabilities & ( ~ capability ) ; return newCapabilities ; }

Target:
private int changeBitmask ( int bitmask , int bitfield , boolean enabled ) { if ( enabled ) { return bitmask | bitfield ; } else { return bitmask & ( ~ bitfield ) ; } }
Source:
public void callSessionMultipartyStateChanged ( com.android.ims.internal.IImsCallSession i , boolean isMultiparty ) throws android.os.RemoteException { mNewListener.callSessionMultipartyStateChanged ( isMultiparty ) ; }

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 void main ( java.lang.String [ ] args ) { com.android.monkeyrunner.core.IMonkeyBackend adb = new com.android.monkeyrunner.adb.AdbBackend ( ) ; com.android.monkeyrunner.recorder.MonkeyRecorder.start ( adb.waitForConnection ( ) ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { com.android.chimpchat.ChimpChat chimp = com.android.chimpchat.ChimpChat.getInstance ( ) ; com.android.monkeyrunner.recorder.MonkeyRecorder.start ( chimp.waitForConnection ( ) ) ; }
Source:
public static void computeDistance ( android.renderscript.cts.TestDistance.ArgumentsFloatNFloatNFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( 1 , 1 , false ) ; args.out = android.renderscript.cts.CoreMathVerifier.distance ( args.inLhs , args.inRhs , t ) ; }

Target:
public static void computeDistance ( android.renderscript.cts.TestDistance.ArgumentsFloatNFloatNFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( 1 , 1 , false ) ; args.out = android.renderscript.cts.CoreMathVerifier.distance ( args.inLeftVector , args.inRightVector , t ) ; }
Source:
private void trackVideoStateHistory ( com.android.ims.ImsCallProfile profile ) { mWasVideoCall = ( mWasVideoCall ) || ( profile.isVideoCall ( ) ) ; }

Target:
private void trackVideoStateHistory ( android.telephony.ims.ImsCallProfile profile ) { mWasVideoCall = ( mWasVideoCall ) || ( profile.isVideoCall ( ) ) ; }
Source:
private static void addLoginListenersFromExtensionPoints ( com.google.gct.login.GoogleLoginState state ) { com.google.gct.login.GoogleLoginListener [ ] loginListeners = com.intellij.openapi.extensions.Extensions.getExtensions ( GoogleLoginListener.EP_NAME ) ; for ( com.google.gct.login.GoogleLoginListener listener : loginListeners ) { state.addLoginListener ( listener ) ; } }

Target:
private static void addLoginListenersFromExtensionPoints ( com.google.gdt.eclipse.login.common.GoogleLoginState state ) { com.google.gct.login.GoogleLoginListener [ ] loginListeners = com.intellij.openapi.extensions.Extensions.getExtensions ( GoogleLoginListener.EP_NAME ) ; for ( com.google.gct.login.GoogleLoginListener listener : loginListeners ) { state.addLoginListener ( listener ) ; } }
Source:
T createVariantData ( @ com.android.annotations.NonNull com.android.build.gradle.internal.core.GradleVariantConfiguration variantConfiguration , @ com.android.annotations.NonNull java.util.Set < java.lang.String > densities , @ com.android.annotations.NonNull java.util.Set < java.lang.String > abi , @ com.android.annotations.NonNull java.util.Set < java.lang.String > compatibleScreens ) ;

Target:
T createVariantData ( @ com.android.annotations.NonNull com.android.build.gradle.internal.core.GradleVariantConfiguration variantConfiguration , @ com.android.annotations.NonNull java.util.Set < java.lang.String > densities , @ com.android.annotations.NonNull java.util.Set < java.lang.String > abi , @ com.android.annotations.NonNull java.util.Set < java.lang.String > compatibleScreens , @ com.android.annotations.NonNull com.android.build.gradle.internal.TaskManager taskManager ) ;
Source:
public abstract boolean isPublic ( ) ;

Target:
public java.util.Collection < java.lang.Class < ? extends com.android.sched.util.config.category.Category > > getCategories ( ) { return java.util.Collections.unmodifiableCollection ( categories ) ; }
Source:
public void testPass6 ( ) { metrics.addTestMetric ( "key2" , "value2" ) ; }

Target:
public void testPass6 ( ) { metrics.addTestMetric ( "key2" , "value2" ) ; if ( mOption ) { metrics.addTestMetric ( "junit4-option" , "true" ) ; } }
Source:
public void setVariants ( com.android.build.gradle.internal.tasks.Collection < ? extends com.android.build.gradle.internal.variant.BaseVariantData > variants ) { this . variants.addAll ( variants ) ; }

Target:
public void setVariants ( @ com.android.annotations.NonNull java.util.Collection < ? extends com.android.build.gradle.internal.variant.BaseVariantData > variants ) { this . variants.addAll ( variants ) ; }
Source:
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 ) ;

Target:
native void rsnScriptForEach ( long con , long incCon , long id , int slot , long ain , long aout , boolean mUseInc ) ;
Source:
private java.util.List < android.uirendering.cts.testinfrastructure.TestCase > getTestCases ( ) { }

Target:
private java.util.List < android.uirendering.cts.testinfrastructure.ActivityTestBase.TestCase > getTestCases ( ) { return mTestCases ; }
Source:
public void test_F32_1_SCALE20_05_inRectangle ( ) { testReszie ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inY , Element.DataType.FLOAT_32 , 1 , 2.0F , 0.5F ) ; checkError ( ) ; }

Target:
public void test_F32_1_SCALE20_05_inRectangle ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inY , Element.DataType.FLOAT_32 , 1 , 2.0F , 0.5F ) ; checkError ( ) ; }
Source:
protected boolean shouldApplyOn ( java.io.File toFile ) { return toFile.exists ( ) ; }

Target:
protected void doBackup ( java.io.File toFile , java.io.File backupFile ) throws java.io.IOException { com.intellij.updater.Utils.mirror ( toFile , backupFile ) ; }
Source:
com.android.sched.vfs.BaseVDir createVDir ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVDir parent , @ javax.annotation.Nonnull java.lang.String name ) throws com.android.sched.util.file.CannotCreateFileException { return vfs.createVDir ( parent , name ) ; }

Target:
com.android.sched.vfs.BaseVDir createVDir ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVDir parent , @ javax.annotation.Nonnull java.lang.String name ) throws com.android.sched.util.file.CannotCreateFileException { return changeVFS ( vfs.createVDir ( parent , name ) ) ; }
Source:
protected void internalSetUp ( ) throws java.lang.Exception { super . internalSetUp ( ) ; debuggeeWrapper = createDebuggeeWrapper ( ) ; beforeDebuggeeStart ( debuggeeWrapper ) ; startDebuggeeWrapper ( ) ; receiveInitialEvent ( ) ; debuggeeWrapper.vmMirror.adjustTypeLength ( ) ; logWriter.println ( "Adjusted VM-dependent type lengths" ) ; }

Target:
protected void setUpDebuggeeWrapperConnection ( ) { debuggeeWrapper.setUpConnection ( ) ; logWriter.println ( "Set up server side JDWP connection." ) ; }
Source:
public static sun.security.util.Cache newNullCache ( ) { return sun.security.util.NullCache.INSTANCE ; }

Target:
public static < K , V > sun.security.util.Cache < K , V > newNullCache ( ) { return ( ( sun.security.util.Cache < K , V > ) ( sun.security.util.NullCache.INSTANCE ) ) ; }
Source:
public void testCanEncodechar ( ) throws java.nio.charset.CharacterCodingException { assertTrue ( org.apache.harmony.tests.java.nio.charset.ASCIICharsetEncoderTest.encoder.canEncode ( 'w' ) ) ; assertFalse ( org.apache.harmony.tests.java.nio.charset.ASCIICharsetEncoderTest.encoder.canEncode ( '슣' ) ) ; }

Target:
public void testCanEncodechar ( ) throws java.nio.charset.CharacterCodingException { assertTrue ( encoder.canEncode ( 'w' ) ) ; assertFalse ( encoder.canEncode ( '슣' ) ) ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { onDeviceConfigChange ( ) ; }

Target:
public void handleEvent ( org.eclipse.swt.widgets.Event event ) { if ( ( event.detail ) == ( org.eclipse.swt.SWT.ARROW ) ) { com.android.ide.eclipse.adt.internal.editors.layout.configuration.OrientationMenuAction.showMenu ( this , combo ) ; } else { flipOrientation ( ) ; } }
Source:
public static double ReturnDouble99P25 ( ) { float imm = 99.25F ; return ( ( double ) ( imm ) ) ; }

Target:
public static int ReturnInt33 ( ) { long imm = Main.$inline$long ( 33L ) ; return ( ( int ) ( imm ) ) ; }
Source:
public static com.google.doclava.PackageInfo obtainPackage ( java.lang.String packageName ) { return com.google.doclava.Converter.obtainPackage ( com.google.doclava.Converter.root.packageNamed ( packageName ) ) ; }

Target:
public static com.google.doclava.ClassInfo obtainClass ( java.lang.String className ) { return com.google.doclava.Converter.obtainClass ( com.google.doclava.Converter.root.classNamed ( className ) ) ; }
Source:
public java.lang.String getNetworkCountryIso ( ) { return getNetworkCountryIsoForPhone ( android.telephony.TelephonyManager.getDefaultPhone ( ) ) ; }

Target:
public java.lang.String getNetworkOperator ( ) { return getNetworkOperatorForPhone ( getPhoneId ( ) ) ; }
Source:
private boolean isPermissionEnforcedLocked ( java.lang.String permission , boolean enforcedDefault ) { if ( android.Manifest.permission.READ_EXTERNAL_STORAGE.equals ( permission ) ) { if ( ( mSettings.mReadExternalStorageEnforced ) != null ) { return mSettings.mReadExternalStorageEnforced ; } else { return enforcedDefault ; } } else { return true ; } }

Target:
public void addPreferredActivity ( android.content.IntentFilter filter , int match , android.content.ComponentName [ ] set , android.content.ComponentName activity , int userId ) { addPreferredActivityInternal ( filter , match , set , activity , true , userId ) ; }
Source:
private static com.google.currysrc.api.transform.AstTransformRule createTranslateJciteInclusionRule ( ) { java.util.List < com.google.currysrc.api.transform.ast.BodyDeclarationLocater > whitelist = com.google.currysrc.api.transform.ast.BodyDeclarationLocaters.createLocatersFromStrings ( com.android.icu4j.srcgen.Icu4jTransform.JCITE_TRANSFORM_SET ) ; com.android.icu4j.srcgen.TranslateJcite.InclusionHandler transformer = new com.android.icu4j.srcgen.TranslateJcite.InclusionHandler ( com.android.icu4j.srcgen.Icu4jTransform.ANDROID_ICU4J_SAMPLE_DIR , whitelist ) ; return com.android.icu4j.srcgen.Icu4jTransformRules.createOptionalRule ( transformer ) ; }

Target:
private static com.google.currysrc.api.process.Rule createTranslateJciteInclusionRule ( ) { java.util.List < com.google.currysrc.api.process.ast.BodyDeclarationLocator > whitelist = com.google.currysrc.api.process.ast.BodyDeclarationLocators.createLocatorsFromStrings ( com.android.icu4j.srcgen.Icu4jTransform.JCITE_TRANSFORM_SET ) ; com.android.icu4j.srcgen.TranslateJcite.InclusionHandler transformer = new com.android.icu4j.srcgen.TranslateJcite.InclusionHandler ( com.android.icu4j.srcgen.Icu4jTransform.ANDROID_ICU4J_SAMPLE_DIR , whitelist ) ; return com.android.icu4j.srcgen.Icu4jTransformRules.createOptionalRule ( transformer ) ; }
Source:
public void collapseAll ( ) { mTreeViewer.collapseAll ( ) ; }

Target:
public void collapseAll ( ) { mTreeViewer.collapseAll ( ) ; mExpandedIds = null ; }
Source:
static long [ ] asLongs ( byte [ ] x ) { long [ ] z = new long [ 2 ] ; org.bouncycastle.crypto.util.Pack.bigEndianToLong ( x , 0 , z ) ; return z ; }

Target:
public static long [ ] asLongs ( byte [ ] x ) { long [ ] z = new long [ 2 ] ; org.bouncycastle.util.Pack.bigEndianToLong ( x , 0 , z ) ; return z ; }
Source:
public void onNothingSelected ( android.widget.AdapterView parent ) { }

Target:
public void go ( long t ) { synchronized ( this ) { mNextSleep = t ; notifyAll ( ) ; } }
Source:
public void init ( com.android.monkeyrunner.MonkeyManager monkeyManager ) { this . monkeyManager = monkeyManager ; }

Target:
public void init ( com.android.chimpchat.core.IChimpDevice device ) { this . device = device ; }
Source:
public void wifiConnectByConfig ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "config" ) org.json.JSONObject config ) throws org.json.JSONException { android.net.wifi.WifiConfiguration wifiConfig = genWifiConfig ( config ) ; com.googlecode.android_scripting.facade.wifi.WifiManagerFacade.WifiActionListener listener = new com.googlecode.android_scripting.facade.wifi.WifiManagerFacade.WifiActionListener ( mEventFacade , com.googlecode.android_scripting.facade.wifi.WifiConstants.WIFI_CONNECT_BY_CONFIG_CALLBACK ) ; mWifi.connect ( wifiConfig , listener ) ; }

Target:
public void wifiConnectByConfig ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "config" ) org.json.JSONObject config ) throws org.json.JSONException { android.net.wifi.WifiConfiguration wifiConfig = genWifiConfig ( config ) ; com.googlecode.android_scripting.facade.wifi.WifiManagerFacade.WifiActionListener listener = new com.googlecode.android_scripting.facade.wifi.WifiManagerFacade.WifiActionListener ( mEventFacade , WifiConstants.WIFI_CONNECT_BY_CONFIG_CALLBACK ) ; mWifi.connect ( wifiConfig , listener ) ; }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JThisRef expr ) { return visitNonThrowingPrimitiveRValue ( expr ) ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JNullLiteral expr ) { return visitNonThrowingTriviaRValue ( expr ) ; }
Source:
protected void checkReportedError ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Context context , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Issue issue , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Severity severity , @ com.android.annotations.Nullable com.android.tools.lint.detector.api.Location location , @ com.android.annotations.NonNull java.lang.String message , @ com.android.annotations.Nullable java.lang.Object data ) { assertNotNull ( message , com.android.tools.lint.checks.WrongCaseDetector.getOldValue ( message ) ) ; assertNotNull ( message , com.android.tools.lint.checks.WrongCaseDetector.getNewValue ( message ) ) ; }

Target:
public void testGetNewValue ( ) { assertEquals ( "merge" , com.android.tools.lint.checks.WrongCaseDetector.getNewValue ( "Invalid tag <Merge>; should be <merge>" , com.android.tools.lint.detector.api.TextFormat.TEXT ) ) ; assertEquals ( "merge" , com.android.tools.lint.checks.WrongCaseDetector.getNewValue ( "Invalid tag `<Merge>`; should be `<merge>`" , com.android.tools.lint.detector.api.TextFormat.RAW ) ) ; }
Source:
public void onStartUser ( int userHandle ) { mMountService.onStartUser ( userHandle ) ; }

Target:
public void onUnlockUser ( int userHandle ) { mMountService.onUnlockUser ( userHandle ) ; }
Source:
public static void computeMax ( android.renderscript.cts.TestMax.ArgumentsCharCharChar args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = ( ( byte ) ( java.lang.StrictMath.max ( args.inV1 , args.inV2 ) ) ) ; }

Target:
public static void computeAtan2 ( android.renderscript.cts.TestAtan2.ArgumentsFloatFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.atan2 ( args.inY , args.inX ) , 6 , 128 ) ; }
Source:
public boolean onCreate ( ) { android.util.Log.d ( com.android.providers.telephony.TelephonyProviderTestable.TAG , "onCreate called: mDbHelper = new InMemoryTelephonyProviderDbHelper()" ) ; mDbHelper = new com.android.providers.telephony.TelephonyProviderTestable.InMemoryTelephonyProviderDbHelper ( ) ; return true ; }

Target:
public boolean onCreate ( ) { android.util.Log.d ( com.android.providers.telephony.TelephonyProviderTestable.TAG , "onCreate called: mDbHelper = new InMemoryTelephonyProviderDbHelper()" ) ; mDbHelper = new com.android.providers.telephony.TelephonyProviderTestable.InMemoryTelephonyProviderDbHelper ( ) ; s_apnSourceServiceExists = false ; return true ; }
Source:
public boolean isPossibleNumber ( java.lang.String number , java.lang.String regionDialingFrom ) { try { return isPossibleNumber ( parse ( number , regionDialingFrom ) ) ; } catch ( com.google.i18n.phonenumbers.NumberParseException e ) { return false ; } }

Target:
public boolean isPossibleNumberForType ( com.google.i18n.phonenumbers.Phonenumber.PhoneNumber number , com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType type ) { com.google.i18n.phonenumbers.PhoneNumberUtil.ValidationResult result = isPossibleNumberForTypeWithReason ( number , type ) ; return ( result == ( com.google.i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE ) ) || ( result == ( com.google.i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE_LOCAL_ONLY ) ) ; }
Source:
public void testUtf8Bom ( ) throws java.lang.Exception { assertEquals ( "Utf8BomTest.java:4: Warning: Do not hardcode \"/sdcard/\"; use Environment.getExternalStorageDirectory().getPath() instead" , lintProject ( "src/test/pkg/Utf8BomTest.java.data=>src/test/pkg/Utf8BomTest.java" ) ) ; }

Target:
public void testUtf8Bom ( ) throws java.lang.Exception { assertEquals ( ( "src/test/pkg/Utf8BomTest.java:4: Warning: Do not hardcode \"/sdcard/\"; use Environment.getExternalStorageDirectory().getPath() instead [SdCardPath]\n" + ( ( ( " String s = \"/sdcard/mydir\";\n" + " ~~~~~~~~~~~~~~~\n" ) + "0 errors, 1 warnings\n" ) + "" ) ) , lintProject ( "src/test/pkg/Utf8BomTest.java.data=>src/test/pkg/Utf8BomTest.java" ) ) ; }
Source:
public void testStopSearch ( ) throws java.lang.InterruptedException { HEAD ( 8 ) ; android.app.cts.a2b3a Merge ; android.app.cts.Removed assertion ; android.app.cts.in testPerformGlobalActionRe ; BRANCH ( 42.0F ) ; }

Target:
public void testStopSearch ( ) throws java.lang.InterruptedException { if ( ( isTelevision ( ) ) || ( isWatch ( ) ) ) { return ; } android.app.stubs.SearchManagerStubActivity.setCTSResult ( this ) ; setupActivity ( SearchManagerStubActivity.TEST_STOP_SEARCH ) ; waitForResult ( ) ; }
Source:
private boolean isLegacyVoicemailUser ( ) { return ( preferences.getInt ( com.android.dialer.app.voicemail.error.VoicemailTosMessageCreator.PREF_DIALER_FEATURE_VERSION_ACKNOWLEDGED_KEY , 0 ) ) == ( com.android.dialer.app.voicemail.error.VoicemailTosMessageCreator.LEGACY_VOICEMAIL_FEATURE_VERSION ) ; }

Target:
private boolean hasAcceptedTos ( ) { if ( isVvm3 ( ) ) { return ( preferences.getInt ( VoicemailVersionConstants.PREF_VVM3_TOS_VERSION_ACCEPTED_KEY , 0 ) ) >= ( com.android.voicemail.VoicemailVersionConstants.CURRENT_VVM3_TOS_VERSION ) ; } else { return ( preferences.getInt ( VoicemailVersionConstants.PREF_DIALER_TOS_VERSION_ACCEPTED_KEY , 0 ) ) >= ( com.android.voicemail.VoicemailVersionConstants.CURRENT_DIALER_TOS_VERSION ) ; } }
Source:
public void notifyFindDialogDismissed ( ) { if ( checkNeedsPost ( ) ) { mRunQueue.addTask ( new java.lang.Runnable ( ) { @ java.lang.Override public void run ( ) { notifyFindDialogDismissed ( ) ; } } ) ; return ; } clearMatches ( ) ; }

Target:
public void clearMatches ( ) { if ( checkNeedsPost ( ) ) { mRunQueue.addTask ( new java.lang.Runnable ( ) { @ java.lang.Override public void run ( ) { clearMatches ( ) ; } } ) ; return ; } mAwContents.clearMatches ( ) ; }
Source:
public java.util.List < ? extends com.google.gct.testing.dimension.GoogleCloudTestingType > getAppSupportedDomain ( ) { return com.google.common.collect.ImmutableList.of ( com.google.gct.testing.dimension.OrientationDimension.PORTRAIT , com.google.gct.testing.dimension.OrientationDimension.LANDSCAPE ) ; }

Target:
public java.util.List < ? extends com.google.gct.testing.dimension.GoogleCloudTestingType > getAppSupportedDomain ( ) { return com.google.gct.testing.dimension.OrientationDimension.getFullDomain ( ) ; }
Source:
public void setAndroidDependencies ( @ com.android.annotations.NonNull java.util.List < com.android.builder.AndroidDependency > directLibraries ) { if ( directLibraries != null ) { mDirectLibraries.addAll ( directLibraries ) ; } resolveIndirectLibraryDependencies ( mDirectLibraries , mFlatLibraries ) ; }

Target:
public com.android.builder.VariantConfiguration setAndroidDependencies ( @ com.android.annotations.NonNull java.util.List < com.android.builder.AndroidDependency > directLibraries ) { if ( directLibraries != null ) { mDirectLibraries.addAll ( directLibraries ) ; } resolveIndirectLibraryDependencies ( mDirectLibraries , mFlatLibraries ) ; return this ; }
Source:
public native short getShort ( java.lang.Object object ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
public long getLong ( java.lang.Object object ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException { return getLong ( object , isAccessible ( ) ) ; }
Source:
public boolean lock ( ) { try { return ( mBinder.lock ( ) ) == ( android.security.KeyStore.NO_ERROR ) ; } catch ( android.os.RemoteException e ) { android.util.Log.w ( android.security.KeyStore.TAG , "Cannot connect to keystore" , e ) ; return false ; } }

Target:
public java.lang.String [ ] list ( java.lang.String prefix ) { return list ( prefix , android.security.KeyStore.UID_SELF ) ; }
Source:
native void rsnScriptInvokeV ( int con , int id , int slot , byte [ ] params ) ;

Target:
synchronized void nScriptBindAllocation ( long script , long alloc , int slot ) { validate ( ) ; rsnScriptBindAllocation ( mContext , script , alloc , slot ) ; }
Source:
public void setTestRunner ( com.android.tradefed.testtype.UiAutomatorRunner runner ) { mRunner = runner ; }

Target:
public void setRunName ( java.lang.String runName ) { mRunName = runName ; }
Source:
public void test_EmptyMap_computeIfAbsent ( ) { try { java.util.Collections.emptyMap ( ) . computeIfAbsent ( 1 , ( k ) -> 5.0 ) ; fail ( ) ; } catch ( java.lang.UnsupportedOperationException expected ) { } }

Target:
public void test_SingletonMap_compute ( ) { try { java.util.Collections.singletonMap ( 1 , 11.0 ) . compute ( 1 , ( k , v ) -> 5.0 ) ; fail ( ) ; } catch ( java.lang.UnsupportedOperationException expected ) { } }
Source:
public void testGetActivityThemes1 ( ) throws java.lang.Exception { com.android.ide.eclipse.adt.internal.editors.manifest.ManifestInfo info = getManifestInfo ( ( "<manifest xmlns:android=\'http://schemas.android.com/apk/res/android\'\n" + ( ( " package=\'com.android.unittest\'>\n" + " <uses-sdk android:minSdkVersion=\'3\' android:targetSdkVersion=\'4\'/>\n" ) + "</manifest>\n" ) ) ) ; java.util.Map < java.lang.String , java.lang.String > map = info.getActivityThemes ( ) ; assertEquals ( map.toString ( ) , 0 , map.size ( ) ) ; assertEquals ( "com.android.unittest" , info.getPackage ( ) ) ; assertEquals ( "Theme" , com.android.ide.eclipse.adt.internal.resources.ResourceHelper.styleToTheme ( info.getDefaultTheme ( null , com.android.resources.ScreenSize.NORMAL ) ) ) ; assertEquals ( "@android:style/Theme" , info.getDefaultTheme ( null , null ) ) ; assertEquals ( "Theme" , com.android.ide.eclipse.adt.internal.resources.ResourceHelper.styleToTheme ( info.getDefaultTheme ( null , com.android.resources.ScreenSize.XLARGE ) ) ) ; }

Target:
public void testGetActivityThemes1 ( ) throws java.lang.Exception { com.android.ide.eclipse.adt.internal.editors.manifest.ManifestInfo info = getManifestInfo ( ( "<manifest xmlns:android=\'http://schemas.android.com/apk/res/android\'\n" + ( ( " package=\'com.android.unittest\'>\n" + " <uses-sdk android:minSdkVersion=\'3\' android:targetSdkVersion=\'4\'/>\n" ) + "</manifest>\n" ) ) ) ; java.util.Map < java.lang.String , com.android.ide.eclipse.adt.internal.editors.manifest.ManifestInfo.ActivityAttributes > map = info.getActivityAttributesMap ( ) ; assertEquals ( map.toString ( ) , 0 , map.size ( ) ) ; assertEquals ( "com.android.unittest" , info.getPackage ( ) ) ; assertEquals ( "Theme" , com.android.ide.eclipse.adt.internal.resources.ResourceHelper.styleToTheme ( info.getDefaultTheme ( null , com.android.resources.ScreenSize.NORMAL ) ) ) ; assertEquals ( "@android:style/Theme" , info.getDefaultTheme ( null , null ) ) ; assertEquals ( "Theme" , com.android.ide.eclipse.adt.internal.resources.ResourceHelper.styleToTheme ( info.getDefaultTheme ( null , com.android.resources.ScreenSize.XLARGE ) ) ) ; }
Source:
public boolean matchesSignature ( @ com.android.annotations.NonNull java.lang.String signature ) { return matchesName ( signature ) ; }

Target:
public com.android.tools.lint.ResolvedClass getTypeClass ( ) { if ( ! ( mBinding.isPrimitiveType ( ) ) ) { return new com.android.tools.lint.EcjParser.EcjResolvedClass ( mBinding ) ; } return null ; }
Source:
public java.lang.Void run ( ) { javax.security.auth.SubjectDomainCombiner.debug.println ( s.toString ( ) ) ; return null ; }

Target:
public java.security.ProtectionDomain [ ] combine ( java.security.ProtectionDomain [ ] currentDomains , java.security.ProtectionDomain [ ] assignedDomains ) { return null ; }
Source:
protected void engineInit ( java.security.Key key , java.security.spec.AlgorithmParameterSpec params , java.security.SecureRandom random ) throws java.security.InvalidAlgorithmParameterException , java.security.InvalidKeyException { initFromKey ( key ) ; }

Target:
protected void engineInit ( java.security.Key key , java.security.spec.AlgorithmParameterSpec params , java.security.SecureRandom random ) throws java.security.InvalidAlgorithmParameterException , java.security.InvalidKeyException { if ( params != null ) { throw new java.security.InvalidAlgorithmParameterException ( "No algorithm parameters supported" ) ; } initFromKey ( key ) ; }
Source:
public java.lang.String getShortName ( ) { return com.google.gct.intellij.endpoints.util.EndpointBundle.message ( "api.name.shortName" ) ; }

Target:
public java.lang.String getShortName ( ) { return com.google.gct.intellij.endpoints.util.EndpointBundle.message ( "api.name.short.name" ) ; }
Source:
public void testUninstall_existingDataBundle ( ) throws java.lang.Exception { java.io.File currentDataDir = installer.getCurrentTzDataDir ( ) ; assertTrue ( currentDataDir.mkdir ( ) ) ; assertTrue ( installer.uninstall ( ) ) ; assertNoContentInstalled ( ) ; }

Target:
public void testUninstall_existingDataDistro ( ) throws java.lang.Exception { java.io.File currentDataDir = installer.getCurrentTzDataDir ( ) ; assertTrue ( currentDataDir.mkdir ( ) ) ; assertTrue ( installer.uninstall ( ) ) ; assertNoContentInstalled ( ) ; }
Source:
public java.lang.String getExtnID ( ) { if ( ( extnID_str ) == null ) { extnID_str = org.apache.harmony.security.asn1.ObjectIdentifier.toString ( extnID ) ; } return extnID_str ; }

Target:
public java.lang.String getId ( ) { if ( ( extnID_str ) == null ) { extnID_str = org.apache.harmony.security.asn1.ObjectIdentifier.toString ( extnID ) ; } return extnID_str ; }
Source:
public void run ( ) { android.app.Notification n = new android.app.Notification ( ) ; n.flags |= android.app.Notification.FLAG_SHOW_LIGHTS ; n.ledARGB = - 256 ; n.ledOnMS = 1300 ; n.ledOffMS = 1300 ; mNM.notify ( 1 , n ) ; }

Target:
public void run ( ) { android.app.Notification n = new android.app.Notification ( ) ; n.flags |= android.app.Notification.FLAG_SHOW_LIGHTS ; n.ledARGB = - 16776961 ; n.ledOnMS = 1300 ; n.ledOffMS = 1300 ; mNM.notify ( 1 , n ) ; }
Source:
protected void log ( java.lang.String msg ) { android.telephony.Rlog.d ( com.android.internal.telephony.imsphone.ImsPhoneCallTracker.LOG_TAG , ( "[ImsPhoneCallTracker] " + msg ) ) ; }

Target:
protected void loge ( java.lang.String msg ) { android.telephony.Rlog.e ( com.android.internal.telephony.imsphone.ImsPhoneCallTracker.LOG_TAG , ( ( ( "[" + ( mPhone.getPhoneId ( ) ) ) + "] " ) + msg ) ) ; }
Source:
public com.google.common.base.Objects.ToStringHelper add ( java.lang.String name , boolean value ) { checkNameAndAppend ( name ) . append ( value ) ; return this ; }

Target:
public com.google.common.base.Objects.ToStringHelper add ( java.lang.String name , boolean value ) { return addHolder ( name , java.lang.String.valueOf ( value ) ) ; }
Source:
public java.lang.String getNewName ( @ javax.annotation.Nonnull java.lang.String oldName ) { java.lang.String newName = names.get ( oldName ) ; if ( newName != null ) { return newName ; } return defaultNameProvider.getNewName ( oldName ) ; }

Target:
public java.lang.String getNewName ( @ javax.annotation.Nonnull com.android.jack.shrob.obfuscation.key.Key key ) { java.lang.String newName = names.get ( key ) ; if ( newName != null ) { return newName ; } return defaultNameProvider.getNewName ( key ) ; }
Source:
private com.android.builder.internal.incremental.DependencyData getData ( java.lang.String name ) throws java.io.IOException { java.io.File depFile = new java.io.File ( com.android.builder.TestUtils.getRoot ( "dependencyData" ) , name ) ; com.android.builder.internal.incremental.DependencyData data = com.android.builder.internal.incremental.DependencyData.parseDependencyFile ( depFile ) ; assertNotNull ( data ) ; return data ; }

Target:
private com.android.builder.internal.incremental.DependencyData getData ( java.lang.String name ) throws java.io.IOException { java.io.File depFile = new java.io.File ( com.android.testutils.TestUtils.getRoot ( "dependencyData" ) , name ) ; com.android.builder.internal.incremental.DependencyData data = com.android.builder.internal.incremental.DependencyData.parseDependencyFile ( depFile ) ; assertNotNull ( data ) ; return data ; }
Source:
public void addCapabilityCallback ( android.telephony.ims.internal.aidl.IImsCapabilityCallback c ) { this . addCapabilityCallback ( c ) ; }

Target:
public void addCapabilityCallback ( android.telephony.ims.aidl.IImsCapabilityCallback c ) { this . addCapabilityCallback ( c ) ; }
Source:
abstract long getId ( T item ) ;

Target:
public final boolean contains ( T item ) { return ( indexWithId ( item ) ) != ( - 1 ) ; }
Source:
public static void computeAbs ( android.renderscript.cts.TestAbs.ArgumentsIntUint args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = java.lang.StrictMath.abs ( args.inValue ) ; }

Target:
public static void computeClamp ( android.renderscript.cts.TestClamp.ArgumentsUcharUcharUcharUchar args ) { args.out = android.renderscript.cts.CoreMathVerifier.minU8 ( args.inMaxValue , android.renderscript.cts.CoreMathVerifier.maxU8 ( args.inValue , args.inMinValue ) ) ; }
Source:
public final native void setPriority ( int streamID , int priority ) ;

Target:
public final native void setLoop ( int streamID , int loop ) ;
Source:
public android.net.wifi.aware.PublishConfig.Builder setMatchFilter ( @ android.annotation.Nullable byte [ ] matchFilter ) { mMatchFilter = matchFilter ; return this ; }

Target:
public android.net.wifi.aware.PublishConfig.Builder setMatchFilter ( @ android.annotation.Nullable java.util.List < byte [ ] > matchFilter ) { mMatchFilter = new android.net.wifi.aware.TlvBufferUtils.TlvConstructor ( 0 , 1 ) . allocateAndPut ( matchFilter ) . getArray ( ) ; return this ; }
Source:
private boolean hasUnexpectedItalianLeadingZero ( com.google.i18n.phonenumbers.Phonenumber.PhoneNumber number ) { return ( number.isItalianLeadingZero ( ) ) && ( ! ( isLeadingZeroPossible ( number.getCountryCode ( ) ) ) ) ; }

Target:
public java.util.Set < java.lang.Integer > getSupportedCallingCodes ( ) { return java.util.Collections.unmodifiableSet ( countryCallingCodeToRegionCodeMap.keySet ( ) ) ; }
Source:
public static void closeQuietly ( java.util.jar.StrictJarFile jarFile ) { if ( jarFile != null ) { try { jarFile.close ( ) ; } catch ( java.lang.Exception ignored ) { } } }

Target:
public static void closeQuietly ( android.util.jar.StrictJarFile jarFile ) { if ( jarFile != null ) { try { jarFile.close ( ) ; } catch ( java.lang.Exception ignored ) { } } }
Source:
public java.lang.String getShortDescription ( ) { return mUrl ; }

Target:
public java.lang.String getShortDescription ( ) { if ( ( ( mUiName ) != null ) && ( ( mUiName.length ( ) ) > 0 ) ) { return mUiName ; } return mUrl ; }
Source:
public static native long EVP_AEAD_CTX_init ( long evpAead , byte [ ] key , int tagLen ) ;

Target:
public static native int EVP_AEAD_CTX_seal ( long evpAead , byte [ ] key , int tagLengthInBytes , byte [ ] out , int outOffset , byte [ ] nonce , byte [ ] in , int inOffset , int inLength , byte [ ] ad ) throws javax.crypto.BadPaddingException ;
Source:
public void run ( ) { setError ( error ) ; }

Target:
public void run ( ) { if ( ( ( mEditor ) == null ) || ( ! ( mEditor.mErrorWasChanged ) ) ) { setError ( error ) ; } }
Source:
public static int $noinline$byteToDoubleToInt ( byte value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( int ) ( ( double ) ( value ) ) ) ; }

Target:
public static int $noinline$shortToLongToInt ( short value ) { return ( ( int ) ( ( long ) ( value ) ) ) ; }
Source:
public void removeCapability ( long capability , android.telephony.ims.internal.aidl.IImsCapabilityCallback c ) throws android.os.RemoteException { this . removeCapability ( capability , c ) ; }

Target:
public void acknowledgeSms ( int messageRef , int result ) { synchronized ( mLock ) { this . acknowledgeSms ( messageRef , result ) ; } }