auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
protected com.intellij.updater.ValidationResult doValidate ( java.io.File toFile ) throws java.io.IOException { return doValidateNotChanged ( toFile , ValidationResult.Kind.ERROR , ValidationResult.Action.VALIDATE ) ; }

Target:
public com.intellij.updater.ValidationResult validate ( java.io.File toDir ) throws java.io.IOException { return doValidateNotChanged ( getFile ( toDir ) , ValidationResult.Kind.ERROR , ValidationResult.Action.VALIDATE ) ; }
Source:
public void setResourceFilename ( java.lang.String apkName ) { mApkName = apkName ; }

Target:
public void setResourcefilename ( java.lang.String apkName ) { mApkName = apkName ; }
Source:
public android.net.INetworkStatsSession openSessionForUsageStats ( final java.lang.String callingPackage ) { return createSession ( callingPackage , true ) ; }

Target:
public android.net.INetworkStatsSession openSessionForUsageStats ( int flags , java.lang.String callingPackage ) { return openSessionInternal ( flags , callingPackage ) ; }
Source:
public java.lang.Boolean telephonySetLine1NumberForSubscription ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "subId" ) java.lang.Integer subId , @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "number" ) java.lang.String number , @ com.googlecode.android_scripting.rpc.RpcOptional java.lang.String alphaTag ) { return mTelephonyManager.setLine1NumberForDisplayForSubscriber ( subId , alphaTag , number ) ; }

Target:
public java.lang.Boolean telephonySetLine1NumberForSubscription ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "subId" ) java.lang.Integer subId , @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "number" ) java.lang.String number , @ com.googlecode.android_scripting.rpc.RpcOptional java.lang.String alphaTag ) { return mTelephonyManager.setLine1NumberForDisplay ( subId , alphaTag , number ) ; }
Source:
protected void initSstIcc ( ) { mIccCard.set ( com.android.internal.telephony.uicc.UiccController.getInstance ( this ) . getIccCard ( ) ) ; mIccRecords = mIccCard.get ( ) . getIccRecords ( ) ; mSST = new com.android.internal.telephony.cdma.CdmaLteServiceStateTracker ( this ) ; }

Target:
public java.lang.String getSubscriberId ( ) { com.android.internal.telephony.IccRecords r = mIccRecords.get ( ) ; return r != null ? r.getIMSI ( ) : "" ; }
Source:
protected void fail ( ) { fail ( "" ) ; }

Target:
protected static void fail ( ) { com.ibm.icu.dev.test.TestFmwk.fail ( "" ) ; }
Source:
public proguard.evaluation.value.ReferenceValue generalize ( proguard.evaluation.value.ReferenceValue other ) { return this . equals ( other ) ? this : new proguard.evaluation.value.ReferenceValue ( type , referencedClass , mayBeNull ) . generalize ( other ) ; }

Target:
public int equal ( proguard.evaluation.value.IdentifiedReferenceValue other ) { return this . equals ( other ) ? ALWAYS : this . equal ( ( ( proguard.evaluation.value.TypedReferenceValue ) ( other ) ) ) ; }
Source:
public void run ( org.eclipse.core.runtime.IProgressMonitor monitor ) { try { res [ 0 ] = sync.pullFile ( remoteFilePath , localFilePath , new com.android.ddmuilib.SyncProgressMonitor ( monitor , java.lang.String.format ( "Pulling %1$s from the device" , remoteFilePath ) ) ) ; } finally { sync.close ( ) ; } }

Target:
public void run ( com.android.ddmlib.SyncService.ISyncProgressMonitor monitor ) throws com.android.ddmlib.SyncException , com.android.ddmlib.TimeoutException , java.io.IOException { sync.pullFile ( remoteFilePath , localFilePath , monitor ) ; }
Source:
protected void setUseSni ( boolean flag ) { useSni = flag ; }

Target:
protected void setUseSni ( boolean flag ) { useSni = java.lang.Boolean.valueOf ( flag ) ; }
Source:
native void rsnScriptSetVarJ ( long con , long id , int slot , long val ) ;

Target:
native void rsnScriptSetVarObj ( long con , long id , int slot , long val , boolean mUseInc ) ;
Source:
protected boolean isValidMarker ( @ javax.annotation.Nonnull com.android.sched.marker.Marker marker ) { assert ( com.android.sched.marker.AbstractMarkerManager.map ) != null ; return com.android.sched.marker.AbstractMarkerManager.map.get ( marker.getClass ( ) ) . isValidMarker ( this , marker ) ; }

Target:
protected boolean isValidMarker ( @ javax.annotation.Nonnull com.android.sched.marker.Marker marker ) { com.android.sched.marker.AbstractMarkerManager.ensureScan ( ) ; assert ( com.android.sched.marker.AbstractMarkerManager.map ) != null ; return com.android.sched.marker.AbstractMarkerManager.map.get ( marker.getClass ( ) ) . isValidMarker ( this , marker ) ; }
Source:
public void testForceBraces ( ) throws java.lang.Exception { final com.intellij.psi.codeStyle.CodeStyleSettings settings = com.intellij.psi.codeStyle.CodeStyleSettingsManager.getSettings ( getProject ( ) ) ; int old = settings.IF_BRACE_FORCE ; settings.IF_BRACE_FORCE = com.intellij.psi.codeStyle.CodeStyleSettings.FORCE_BRACES_ALWAYS ; try { doTest ( ) ; } finally { settings.IF_BRACE_FORCE = old ; } }

Target:
public void testForceBraces ( ) throws java.lang.Exception { final com.intellij.psi.codeStyle.CommonCodeStyleSettings settings = com.intellij.psi.codeStyle.CodeStyleSettingsManager.getSettings ( getProject ( ) ) . getCommonSettings ( JavaLanguage.INSTANCE ) ; int old = settings.IF_BRACE_FORCE ; settings.IF_BRACE_FORCE = com.intellij.psi.codeStyle.CommonCodeStyleSettings.FORCE_BRACES_ALWAYS ; try { doTest ( ) ; } finally { settings.IF_BRACE_FORCE = old ; } }
Source:
protected void populateTemplates ( ) { java.util.List < com.google.gct.idea.appengine.wizard.AppEngineTemplates.TemplateInfo > templates = com.google.gct.idea.appengine.wizard.AppEngineTemplates.getLocalTemplates ( ) ; myTemplateBox.setModel ( new javax.swing.DefaultComboBoxModel ( com.google.gct.idea.appengine.wizard.AppEngineTemplates.getLocalTemplates ( ) . toArray ( ) ) ) ; }

Target:
protected void populateTemplates ( ) { myTemplateBox.setModel ( new javax.swing.DefaultComboBoxModel ( com.google.gct.idea.appengine.wizard.AppEngineTemplates.getTemplates ( ) . toArray ( ) ) ) ; }
Source:
public void containsClass ( java.lang.String className ) throws com.android.ide.common.process.ProcessException , java.io.IOException { if ( ! ( checkForClass ( className ) ) ) { failWithRawMessage ( "'%s' does not contain '%s'" , getDisplaySubject ( ) , className ) ; } }

Target:
public com.google.common.truth.StringSubject textSymbolFile ( ) throws java.io.IOException { java.io.InputStream stream = getInputStream ( "R.txt" ) ; return new com.google.common.truth.StringSubject ( failureStrategy , com.google.common.io.CharStreams.toString ( new java.io.InputStreamReader ( stream , com.google.common.base.Charsets.UTF_8 ) ) ) ; }
Source:
private void enforceModifyPermissionOrCarrierPrivilege ( int subId ) { int permission = mApp.checkCallingOrSelfPermission ( android.Manifest.permission.MODIFY_PHONE_STATE ) ; if ( permission == ( android.content.pm.PackageManager.PERMISSION_GRANTED ) ) { return ; } com.android.phone.PhoneInterfaceManager.log ( "No modify permission, check carrier privilege next." ) ; enforceCarrierPrivilege ( subId ) ; }

Target:
public java.lang.String getSubscriptionCarrierName ( int subId ) { final com.android.internal.telephony.Phone phone = getPhone ( subId ) ; return phone == null ? null : phone.getCarrierName ( ) ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setBranch ( java.lang.String value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 4 ; branch_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setBuildVendorFingerprintBytes ( com.android.vts.proto.ByteString value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 16384 ; buildVendorFingerprint_ = value ; onChanged ( ) ; return this ; }
Source:
private void sendConnectCancelMessage ( ) { if ( ( mSessionStatusHandler ) != null ) { android.os.Message msg = mSessionStatusHandler.obtainMessage ( com.android.bluetooth.map.BluetoothMapService.MSG_MAS_CONNECT_CANCEL ) ; msg.sendToTarget ( ) ; } }

Target:
private void sendConnectTimeoutMessage ( ) { if ( com.android.bluetooth.map.BluetoothMapService.DEBUG ) android.util.Log.d ( com.android.bluetooth.map.BluetoothMapService.TAG , "sendConnectTimeoutMessage()" ) ; if ( ( mSessionStatusHandler ) != null ) { android.os.Message msg = mSessionStatusHandler.obtainMessage ( com.android.bluetooth.map.BluetoothMapService.USER_TIMEOUT ) ; msg.sendToTarget ( ) ; } }
Source:
public void postErrorCallsDeliverError ( ) { com.android.volley.Response < byte [ ] > errorResponse = com.android.volley.Response.error ( new com.android.volley.ServerError ( ) ) ; mDelivery.postResponse ( mRequest , errorResponse ) ; assertTrue ( mRequest.deliverError_called ) ; assertFalse ( mRequest.deliverResponse_called ) ; }

Target:
public void postErrorCallsDeliverError ( ) { com.android.volley.Response < byte [ ] > errorResponse = com.android.volley.Response.error ( new com.android.volley.ServerError ( ) ) ; mDelivery.postResponse ( mRequest , errorResponse ) ; org.junit.Assert.assertTrue ( mRequest.deliverError_called ) ; org.junit.Assert.assertFalse ( mRequest.deliverResponse_called ) ; }
Source:
long getDbIdentifier ( ) { return BluetoothPbapUtils.mDbIdentifier.get ( ) ; }

Target:
long getDbIdentifier ( ) { return BluetoothPbapUtils.sDbIdentifier.get ( ) ; }
Source:
public void testDisable ( ) { final short transactionId = 5478 ; mDut.disable ( transactionId ) ; org.mockito.Mockito.verify ( mNanHalMock ) . disableHalMockNative ( transactionId ) ; }

Target:
public void testDisable ( ) { final short transactionId = 5478 ; mDut.disable ( transactionId ) ; org.mockito.Mockito.verify ( mAwareHalMock ) . disableHalMockNative ( transactionId ) ; }
Source:
protected void finalize ( ) { end ( ) ; }

Target:
protected void finalize ( ) { if ( ( guard ) != null ) { guard.warnIfOpen ( ) ; } end ( ) ; }
Source:
public void testEnterSoftApModeFromDifferentState ( ) throws java.lang.Exception { when ( mWifiInjector.makeWificond ( ) ) . thenReturn ( mWificond ) ; mWifiStateMachinePrime.enterClientMode ( ) ; mLooper.dispatchNext ( ) ; org.junit.Assert.assertEquals ( "ClientModeState" , mWifiStateMachinePrime.getCurrentMode ( ) ) ; enterSoftApActiveMode ( ) ; }

Target:
public void testEnterSoftApModeFromDifferentState ( ) throws java.lang.Exception { when ( mWifiInjector.makeWificond ( ) ) . thenReturn ( mWificond ) ; mWifiStateMachinePrime.enterClientMode ( ) ; mLooper.dispatchAll ( ) ; org.junit.Assert.assertEquals ( com.android.server.wifi.WifiStateMachinePrimeTest.CLIENT_MODE_STATE_STRING , mWifiStateMachinePrime.getCurrentMode ( ) ) ; enterSoftApActiveMode ( ) ; }
Source:
private boolean isCertificateEntry ( java.lang.String alias ) { if ( alias == null ) { throw new java.lang.NullPointerException ( "alias == null" ) ; } return mKeyStore.contains ( ( ( Credentials.CA_CERTIFICATE ) + alias ) ) ; }

Target:
private boolean isKeyEntry ( java.lang.String alias ) { if ( alias == null ) { throw new java.lang.NullPointerException ( "alias == null" ) ; } return mKeyStore.contains ( ( ( Credentials.USER_PRIVATE_KEY ) + alias ) ) ; }
Source:
public java.lang.String toString ( ) { return java.lang.String.format ( "%s{version: %d, maxSize: %d format: %d}" , getClass ( ) . getSimpleName ( ) , apfVersionSupported , maximumApfProgramSize , apfPacketFormat ) ; }

Target:
public java.lang.String toString ( ) { return java.lang.String.format ( "%s{version: %d, maxSize: %d, format: %d}" , getClass ( ) . getSimpleName ( ) , apfVersionSupported , maximumApfProgramSize , apfPacketFormat ) ; }
Source:
public com.android.internal.telephony.Connection dial ( java.lang.String dialString , int videoState ) throws com.android.internal.telephony.CallStateException { return dialInternal ( dialString , videoState , null , null ) ; }

Target:
public void notifySuppSvcNotification ( com.android.internal.telephony.gsm.SuppServiceNotification suppSvc ) { logd ( ( "notifySuppSvcNotification: suppSvc = " + suppSvc ) ) ; android.os.AsyncResult ar = new android.os.AsyncResult ( null , suppSvc , null ) ; mSsnRegistrants.notifyRegistrants ( ar ) ; }
Source:
public void testUserPrefOffA ( ) { int userSetting = com.android.internal.content.PackageHelper.APP_INSTALL_AUTO ; int iloc = PackageInfo.INSTALL_LOCATION_UNSPECIFIED ; setUserX ( false , userSetting , iloc ) ; }

Target:
public void testUserPrefOffA ( ) { int userSetting = com.android.internal.content.PackageHelper.APP_INSTALL_AUTO ; int iloc = android.content.pm.PackageInfo.INSTALL_LOCATION_UNSPECIFIED ; setUserX ( false , userSetting , iloc ) ; }
Source:
public void resetMemory ( java.lang.String callingPackage , @ android.telephony.euicc.EuiccCardManager.ResetOption int options , com.android.internal.telephony.euicc.IResetMemoryCallback callback ) { checkCallingPackage ( callingPackage ) ; }

Target:
public void onException ( java.lang.Throwable e ) { try { callback.onComplete ( getResultCode ( e ) ) ; } catch ( android.os.RemoteException exception ) { throw exception.rethrowFromSystemServer ( ) ; } }
Source:
public static void copy ( java.net.URL from , java.io.OutputStream to ) throws java.io.IOException { com.google.common.io.ByteStreams.copy ( com.google.common.io.Resources.newInputStreamSupplier ( from ) , to ) ; }

Target:
public static void copy ( java.net.URL from , java.io.OutputStream to ) throws java.io.IOException { com.google.common.io.Resources.asByteSource ( from ) . copyTo ( to ) ; }
Source:
public void addImsServiceFeatureListener ( com.android.ims.internal.IImsServiceFeatureCallback callback ) { synchronized ( mLock ) { mImsStatusCallbacks.add ( callback ) ; } }

Target:
public boolean isBound ( ) { synchronized ( mLock ) { return mIsBound ; } }
Source:
public static byte shortToCharToByte ( short value ) { return ( ( byte ) ( ( char ) ( value ) ) ) ; }

Target:
public static byte $noinline$shortToCharToByte ( short value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( byte ) ( ( char ) ( value ) ) ) ; }
Source:
public void tearDown ( ) throws java.lang.Exception { super . tearDown ( ) ; }

Target:
public void tearDown ( ) throws java.lang.Exception { if ( ( mActivity.mProcessor ) != null ) { mActivity.mProcessor.exit ( ) ; mActivity.mProcessor = null ; } super . tearDown ( ) ; }
Source:
public void disconnect ( ) { try { channelImpl.disconnect ( ) ; } catch ( java.io.IOException e ) { } super . disconnect ( ) ; }

Target:
public void bind ( java.net.SocketAddress localAddr ) throws java.net.SocketException { if ( channelImpl.isConnected ( ) ) { throw new java.nio.channels.AlreadyConnectedException ( ) ; } super . bind ( localAddr ) ; channelImpl.onBind ( false ) ; }
Source:
public void run ( ) { removeJavascriptInterface ( interfaceName ) ; }

Target:
public void run ( ) { addJavascriptInterface ( obj , interfaceName ) ; }
Source:
private boolean isWritingAllowed ( java.lang.String path ) { if ( path.startsWith ( mTempDir ) ) { return true ; } return false ; }

Target:
private boolean isWritingAllowed ( java.lang.String path ) { if ( ( path.startsWith ( mTempDir ) ) || ( path.startsWith ( mNormalizedTempDir ) ) ) { return true ; } return false ; }
Source:
private void assertNotEquals ( android.net.StaticIpConfiguration s1 , android.net.StaticIpConfiguration s2 ) { assertFalse ( isEqual ( s1 , s2 ) ) ; }

Target:
private static < T > void assertNotEquals ( T t1 , T t2 ) { org.junit.Assert.assertFalse ( java.util.Objects.equals ( t1 , t2 ) ) ; }
Source:
public java.awt.Color getFillColor ( com.android.tools.perflib.vmtrace.Call c , java.lang.String threadName ) { double percent = mTraceData.getDurationPercentage ( c , threadName , mRenderClock , mUseInclusiveTimeForColorAssignment ) ; return com.android.tools.perflib.vmtrace.viz.RenderContext.QUANTIZED_COLORS [ getColorIndex ( percent ) ] ; }

Target:
public java.awt.Color getFillColor ( com.android.tools.perflib.vmtrace.Call c , java.lang.String threadName ) { if ( isHighlightedMethod ( c ) ) { return com.android.tools.perflib.vmtrace.viz.RenderContext.HIGHLIGHTED_METHOD_COLOR ; } double percent = mTraceData.getDurationPercentage ( c , threadName , mRenderClock , mUseInclusiveTimeForColorAssignment ) ; return com.android.tools.perflib.vmtrace.viz.RenderContext.QUANTIZED_COLORS [ getColorIndex ( percent ) ] ; }
Source:
public static com.android.build.gradle.integration.common.truth.ZipFileSubject assertThatZip ( @ com.android.annotations.NonNull java.io.File file ) { return com.google.common.truth.Truth.assert_ ( ) . about ( com.android.build.gradle.integration.common.truth.ZipFileSubjectFactory.zipFile ( ) ) . that ( file ) ; }

Target:
public static com.android.build.gradle.integration.common.truth.ZipFileSubject assertThatZip ( @ com.android.annotations.NonNull java.io.File file ) { return com.google.common.truth.Truth.assert_ ( ) . about ( com.android.build.gradle.integration.common.truth.ZipFileSubjectFactory.factory ( ) ) . that ( file ) ; }
Source:
public static long UShr60And15 ( long arg ) { return ( arg > > > 60 ) & 15 ; }

Target:
public static long $noinline$UShr60And15 ( long arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( arg > > > 60 ) & 15 ; }
Source:
public void decode ( @ org.jetbrains.annotations.NotNull com.android.tools.rpclib.binary.Decoder d ) throws java.io.IOException { com.android.tools.rpclib.rpccore.ObjectFactory.decode ( d , this ) ; }

Target:
public void decode ( @ org.jetbrains.annotations.NotNull com.android.tools.rpclib.binary.Decoder d , com.android.tools.rpclib.binary.BinaryObject obj ) throws java.io.IOException { com.android.tools.rpclib.rpccore.RpcError o = ( ( com.android.tools.rpclib.rpccore.RpcError ) ( obj ) ) ; o.mMessage = d.string ( ) ; }
Source:
public java.lang.String getCpuArch ( ) { java.lang.String cpuArch = mProperties.get ( AvdManager.AVD_INI_CPU_ARCH ) ; if ( cpuArch != null ) { return cpuArch ; } return com.android.sdklib.SdkConstants.CPU_ARM ; }

Target:
public java.lang.String getCpuArch ( ) { java.lang.String cpuArch = mProperties.get ( AvdManager.AVD_INI_CPU_ARCH ) ; if ( cpuArch != null ) { return cpuArch ; } return com.android.sdklib.SdkConstants.CPU_ARCH_ARM ; }
Source:
public void changeIccFdnPassword ( java.lang.String oldPassword , java.lang.String newPassword , android.os.Message onComplete ) ;

Target:
public void setIccLockEnabled ( boolean enabled , java.lang.String password , android.os.Message onComplete ) { sendMessageWithCardAbsentException ( onComplete ) ; }
Source:
public com.android.incallui.call.DialerCall getPendingOutgoingCall ( ) { return getFirstCallWithState ( DialerCall.State.CONNECTING ) ; }

Target:
public com.android.incallui.call.DialerCall getPendingOutgoingCall ( ) { return getFirstCallWithState ( DialerCallState.CONNECTING ) ; }
Source:
public void test_getDisplayName ( ) { assertEquals ( "English (Canada,WIN32)" , testLocale.getDisplayName ( ) ) ; }

Target:
public void test_getDisplayNameLjava_util_Locale ( ) { assertEquals ( "anglais (Canada,WIN32)" , new java.util.Locale ( "en" , "CA" , "WIN32" ) . getDisplayName ( l ) ) ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { if ( ( e.getSource ( ) ) instanceof org.eclipse.swt.widgets.Button ) { onRadioTypeUpdated ( ( ( org.eclipse.swt.widgets.Button ) ( e.getSource ( ) ) ) ) ; } }

Target:
public void modifyText ( org.eclipse.swt.events.ModifyEvent e ) { validatePage ( ) ; }
Source:
public com.android.ims.ImsCallProfile getRemoteCallProfile ( ) { if ( mClosed ) { return null ; } try { return miSession.getRemoteCallProfile ( ) ; } catch ( android.os.RemoteException e ) { return null ; } }

Target:
public android.telephony.ims.ImsCallProfile getRemoteCallProfile ( ) { if ( mClosed ) { return null ; } try { return miSession.getRemoteCallProfile ( ) ; } catch ( android.os.RemoteException e ) { return null ; } }
Source:
public void testDescendingAddAll1 ( ) { try { java.util.NavigableSet q = jsr166.TreeSubSetTest.dset0 ( ) ; q.addAll ( null ) ; shouldThrow ( ) ; } catch ( java.lang.NullPointerException success ) { } }

Target:
public void testDescendingAddNonComparable ( ) { java.util.NavigableSet q = jsr166.TreeSubSetTest.dset0 ( ) ; try { q.add ( new java.lang.Object ( ) ) ; q.add ( new java.lang.Object ( ) ) ; shouldThrow ( ) ; } catch ( java.lang.ClassCastException success ) { } }
Source:
public void onPhyUpdate ( android.bluetooth.BluetoothDevice device , int txPhy , int rxPhy , int status ) { }

Target:
public void onConnectionStateChange ( android.bluetooth.BluetoothDevice device , int status , int newState ) { }
Source:
private static org.eclipse.jdt.core.dom.TagElement createDiscouragedText ( org.eclipse.jdt.core.dom.AST ast , org.eclipse.jdt.core.dom.IDocElement fragment ) { return com.google.currysrc.api.process.ast.AstNodes.createTextTagElement ( ast , ( "@apiNote <strong>Discouraged:</strong>" + ( fragment.toString ( ) ) ) ) ; }

Target:
private static org.eclipse.jdt.core.dom.TagElement createDiscouragedText ( org.eclipse.jdt.core.dom.AST ast , java.util.List < org.eclipse.jdt.core.dom.IDocElement > fragments ) { java.lang.StringBuilder builder = new java.lang.StringBuilder ( "@apiNote <strong>Discouraged:</strong>" ) ; for ( org.eclipse.jdt.core.dom.IDocElement element : fragments ) { builder.append ( element.toString ( ) ) ; } return com.google.currysrc.api.process.ast.AstNodes.createTextTagElement ( ast , builder.toString ( ) ) ; }
Source:
public void visitLocalVariableInfo ( proguard.classfile.util.Clazz clazz , proguard.classfile.util.Method method , proguard.classfile.util.CodeAttribute codeAttribute , proguard.classfile.util.LocalVariableInfo localVariableInfo ) { localVariableInfo.referencedClass = findReferencedClass ( clazz.getName ( ) , clazz.getString ( localVariableInfo.u2descriptorIndex ) ) ; }

Target:
public void visitClassElementValue ( proguard.classfile.util.Clazz clazz , proguard.classfile.util.Annotation annotation , proguard.classfile.util.ClassElementValue classElementValue ) { initializeElementValue ( clazz , annotation , classElementValue ) ; classElementValue.referencedClasses = findReferencedClasses ( clazz.getName ( ) , classElementValue.getClassName ( clazz ) ) ; }
Source:
public void testValidationFailure ( ) throws ManifestMerger2.MergeFailureException , java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { com.android.sdklib.mock.MockLog mockLog = new com.android.sdklib.mock.MockLog ( ) ; java.lang.String input = "" + ( ( ( ( ( ( ( ( ( ( "<manifest\n" + " xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + " xmlns:tools=\"http://schemas.android.com/tools\"\n" ) + " package=\"com.example.lib3\">\n" ) + "\n" ) + " <application android:label=\"@string/lib_name\" />\n" ) + "\n" ) + " <activity android:name=\"activityOne\" " ) + " tools:replace=\"exported\"/>\n" ) + "\n" ) + "</manifest>" ) ; java.io.File tmpFile = inputAsFile ( "ManifestMerger2Test_testValidationFailure" , input ) ; assertTrue ( tmpFile.exists ( ) ) ; try { com.android.manifmerger.MergingReport mergingReport = com.android.manifmerger.ManifestMerger2.newInvoker ( tmpFile , mockLog ) . merge ( ) ; assertEquals ( MergingReport.Result.ERROR , mergingReport.getResult ( ) ) ; assertStringPresenceInLogRecords ( mergingReport , "tools:replace" ) ; assertFalse ( mergingReport.getMergedDocument ( ) . isPresent ( ) ) ; } finally { assertTrue ( tmpFile.delete ( ) ) ; } }

Target:
public void testToolsAnnotationRemoval ( ) throws ManifestMerger2.MergeFailureException , java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { com.android.sdklib.mock.MockLog mockLog = new com.android.sdklib.mock.MockLog ( ) ; java.lang.String input = "" + ( ( ( ( ( ( ( ( "<manifest\n" + " xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + " xmlns:tools=\"http://schemas.android.com/tools\"\n" ) + " package=\"com.example.lib3\">\n" ) + "\n" ) + " <application android:label=\"@string/lib_name\" " ) + " tools:replace=\"label\"/>\n" ) + "\n" ) + "</manifest>" ) ; java.io.File tmpFile = com.android.manifmerger.ManifestMerger2SmallTest.inputAsFile ( "testToolsAnnotationRemoval" , input ) ; assertTrue ( tmpFile.exists ( ) ) ; try { com.android.manifmerger.MergingReport mergingReport = com.android.manifmerger.ManifestMerger2.newMerger ( tmpFile , mockLog , ManifestMerger2.MergeType.APPLICATION ) . merge ( ) ; assertEquals ( MergingReport.Result.WARNING , mergingReport.getResult ( ) ) ; com.android.manifmerger.XmlDocument mergedDocument = mergingReport.getMergedDocument ( ) . get ( ) ; com.google.common.base.Optional < com.android.manifmerger.XmlElement > applicationNode = mergedDocument.getByTypeAndKey ( ManifestModel.NodeTypes.APPLICATION , null ) ; assertTrue ( applicationNode.isPresent ( ) ) ; java.lang.String replaceAttribute = applicationNode.get ( ) . getXml ( ) . getAttributeNS ( SdkConstants.TOOLS_URI , "replace" ) ; assertTrue ( com.google.common.base.Strings.isNullOrEmpty ( replaceAttribute ) ) ; java.lang.System.out.println ( mergedDocument.prettyPrint ( ) ) ; mergedDocument.prettyPrint ( ) ; } finally { assertTrue ( tmpFile.delete ( ) ) ; } }
Source:
public void setQuery ( java.lang.String query , @ android.support.annotation.Nullable java.lang.String rawNumber ) { this . query = query ; this . rawNumber = rawNumber ; if ( searchCursorManager.setQuery ( query ) ) { notifyDataSetChanged ( ) ; } }

Target:
public void setQuery ( java.lang.String query , @ android.support.annotation.Nullable java.lang.String rawNumber , com.android.dialer.callintent.CallInitiationType.Type type ) { this . query = query ; this . rawNumber = rawNumber ; this . callInitiationType = type ; if ( searchCursorManager.setQuery ( query ) ) { notifyDataSetChanged ( ) ; } }
Source:
private void fail ( java.lang.String s ) { stop ( ) ; mCb.fail ( s ) ; }

Target:
private void fail ( java.lang.String s ) { if ( ! ( isTestOutcomeSet ) ) { stop ( ) ; mCb.fail ( s ) ; isTestOutcomeSet = true ; } }
Source:
public boolean removeAllNetworks ( ) { if ( com.android.server.wifi.WifiNative.HIDL_SUP_ENABLE ) { return mSupplicantStaIfaceHal.removeAllNetworks ( ) ; } else { 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 ; } }

Target:
public boolean trackSignificantWifiChange ( android.net.wifi.WifiScanner.WifiChangeSettings settings , com.android.server.wifi.WifiNative.SignificantWifiChangeEventHandler handler ) { android.util.Log.e ( mTAG , "trackSignificantWifiChange not supported" ) ; return false ; }
Source:
public com.android.sched.util.log.DummyTracer.DummyTracerEvent start ( @ javax.annotation.Nonnull com.android.sched.util.log.EventType type ) { return dummyEvent ; }

Target:
public com.android.sched.util.log.DummyTracer.DummyTracerEvent start ( @ javax.annotation.Nonnull java.lang.String name ) { assert ( config ) == ( com.android.sched.util.config.ThreadConfig.getConfig ( ) ) ; return dummyEvent ; }
Source:
protected void log ( java.lang.String msg ) { android.util.Log.d ( com.android.internal.telephony.cdma.RuimSmsInterfaceManager.LOG_TAG , ( "[RuimSmsInterfaceManager] " + msg ) ) ; }

Target:
protected void log ( java.lang.String msg ) { android.telephony.Rlog.d ( com.android.internal.telephony.cdma.RuimSmsInterfaceManager.LOG_TAG , ( "[RuimSmsInterfaceManager] " + msg ) ) ; }
Source:
private void wipePrimaryExternalStorage ( ) throws com.android.tradefed.device.DeviceNotAvailableException { getDevice ( ) . executeShellCommand ( "rm -rf /sdcard/*" ) ; }

Target:
private void wipePrimaryExternalStorage ( ) throws com.android.tradefed.device.DeviceNotAvailableException { getDevice ( ) . executeShellCommand ( "rm -rf /sdcard/Android" ) ; getDevice ( ) . executeShellCommand ( "rm -rf /sdcard/DCIM" ) ; getDevice ( ) . executeShellCommand ( "rm -rf /sdcard/MUST_*" ) ; }
Source:
public java.lang.String getKey ( com.android.manifmerger.XmlElement xmlElement ) { java.lang.String key = nameAttrResolver.getKey ( xmlElement ) ; return com.google.common.base.Strings.isNullOrEmpty ( key ) ? glEsVersionResolver.getKey ( xmlElement ) : key ; }

Target:
public java.lang.String getKey ( org.w3c.dom.Element xmlElement ) { java.lang.String key = nameAttrResolver.getKey ( xmlElement ) ; return com.google.common.base.Strings.isNullOrEmpty ( key ) ? glEsVersionResolver.getKey ( xmlElement ) : key ; }
Source:
protected java.lang.Void doInBackground ( java.lang.Void ... params ) { com.android.traceur.AtraceUtils.atraceDumpAndSend ( context , tags , Receiver.BUFFER_SIZE_KB ) ; return null ; }

Target:
protected void onPostExecute ( java.lang.Void result ) { com.android.traceur.FileSender.postNotification ( context , mFile ) ; }
Source:
public int updateCLIP ( boolean enable ) throws android.os.RemoteException { return - 1 ; }

Target:
public int updateCallWaiting ( boolean enable , int serviceClass ) { return - 1 ; }
Source:
protected org.bouncycastle.crypto.modes.AEADBlockCipher createAEADBlockCipher_AES_CCM ( ) { return new org.bouncycastle.crypto.modes.CCMBlockCipher ( new org.bouncycastle.crypto.engines.AESFastEngine ( ) ) ; }

Target:
protected org.bouncycastle.crypto.modes.AEADBlockCipher createAEADBlockCipher_AES_CCM ( ) { return new org.bouncycastle.crypto.modes.CCMBlockCipher ( createAESEngine ( ) ) ; }
Source:
public static com.google.i18n.phonenumbers.PhoneNumberUtil createInstance ( com.google.i18n.phonenumbers.MetadataLoader metadataLoader ) { if ( metadataLoader == null ) { throw new java.lang.IllegalArgumentException ( "metadataLoader could not be null." ) ; } return new com.google.i18n.phonenumbers.PhoneNumberUtil ( com.google.i18n.phonenumbers.PhoneNumberUtil.META_DATA_FILE_PREFIX , metadataLoader , com.google.i18n.phonenumbers.CountryCodeToRegionCodeMap.getCountryCodeToRegionCodeMap ( ) ) ; }

Target:
public static com.google.i18n.phonenumbers.PhoneNumberUtil createInstance ( com.google.i18n.phonenumbers.MetadataLoader metadataLoader ) { if ( metadataLoader == null ) { throw new java.lang.IllegalArgumentException ( "metadataLoader could not be null." ) ; } return com.google.i18n.phonenumbers.PhoneNumberUtil.createInstance ( new com.google.i18n.phonenumbers.MultiFileMetadataSourceImpl ( metadataLoader ) ) ; }
Source:
public com.android.build.gradle.integration.common.fixture.GradleTestProject.Builder fromTestApp ( @ com.android.annotations.NonNull com.android.build.gradle.integration.common.fixture.app.AndroidTestApp testApp ) { this . testApp = testApp ; return this ; }

Target:
public com.android.build.gradle.integration.common.fixture.GradleTestProject.Builder fromTestApp ( @ com.android.annotations.NonNull com.android.build.gradle.integration.common.fixture.TestProject testProject ) { this . testProject = testProject ; return this ; }
Source:
long getNativeBIGNUM ( ) { return this . bignum ; }

Target:
boolean hasNativeBignum ( ) { return ( this . bignum ) != 0 ; }
Source:
public boolean isScreenOnEarly ( ) { return mScreenOnEarly ; }

Target:
private boolean isKeyguardSecureIncludingHidden ( ) { return ( mKeyguardDelegate.isSecure ( ) ) && ( mKeyguardDelegate.isShowing ( ) ) ; }
Source:
protected boolean mustTraceOverridingMethod ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod method ) { if ( method.getEnclosingType ( ) . isExternal ( ) ) { return true ; } else { return super . mustTraceOverridingMethod ( method ) ; } }

Target:
protected boolean mustTraceOverridingMethod ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod method ) { if ( ! ( method.getEnclosingType ( ) . isToEmit ( ) ) ) { return true ; } else { return super . mustTraceOverridingMethod ( method ) ; } }
Source:
static void asBytes ( int [ ] x , byte [ ] z ) { org.bouncycastle.crypto.util.Pack.intToBigEndian ( x , z , 0 ) ; }

Target:
public static void asBytes ( int [ ] x , byte [ ] z ) { org.bouncycastle.util.Pack.intToBigEndian ( x , z , 0 ) ; }
Source:
void performCollectViewAttributes ( int visibility ) { if ( ( ( visibility | ( mViewFlags ) ) & ( ( android.view.View.VISIBILITY_MASK ) | ( android.view.View.KEEP_SCREEN_ON ) ) ) == ( ( android.view.View.VISIBLE ) | ( android.view.View.KEEP_SCREEN_ON ) ) ) { mAttachInfo.mKeepScreenOn = true ; } }

Target:
, @ ViewDebug.IntToString ( from = android.view.View.LAYOUT_DIRECTION_RTL , to = "RTL" ) , @ ViewDebug.IntToString ( from = android.view.View.LAYOUT_DIRECTION_INHERIT , to = "INHERIT" ) , @ ViewDebug.IntToString ( from = android.view.View.LAYOUT_DIRECTION_LOCALE , to = "LOCALE" ) } ) public int getLayoutDirection ( ) { return ( mViewFlags ) & ( android.view.View.LAYOUT_DIRECTION_MASK ) ; }
Source:
public void testRunWithLog ( ) throws com.android.ddmlib.AdbCommandRejectedException , com.android.ddmlib.ShellCommandUnresponsiveException , com.android.ddmlib.TimeoutException , java.io.IOException { mRunner.setLogOnly ( true ) ; mRunner.run ( new com.android.ddmlib.testrunner.RemoteAndroidTestRunnerTest.EmptyListener ( ) ) ; assertStringsEquals ( java.lang.String.format ( "am instrument -w -r -e log true %s/%s" , com.android.ddmlib.testrunner.RemoteAndroidTestRunnerTest.TEST_PACKAGE , com.android.ddmlib.testrunner.RemoteAndroidTestRunnerTest.TEST_RUNNER ) , mMockDevice.getLastShellCommand ( ) ) ; }

Target:
public void testRun_withLog ( ) throws java.lang.Exception { mRunner.setLogOnly ( true ) ; java.lang.String expectedCmd = org.easymock.EasyMock.contains ( "-e log true" ) ; runAndVerify ( expectedCmd ) ; }
Source:
private void acknowledgeSms ( int messageRef , @ android.telephony.ims.internal.SmsImplBase.DeliverStatusResult int result ) { getSmsImplementation ( ) . acknowledgeSms ( messageRef , result ) ; }

Target:
private void sendSms ( int token , int messageRef , java.lang.String format , java.lang.String smsc , boolean isRetry , byte [ ] pdu ) { getSmsImplementation ( ) . sendSms ( token , messageRef , format , smsc , isRetry , pdu ) ; }
Source:
public final void scheduleDestroyBackupAgent ( android.content.pm.ApplicationInfo app , android.content.res.CompatibilityInfo compatInfo ) { android.app.ActivityThread.CreateBackupAgentData d = new android.app.ActivityThread.CreateBackupAgentData ( ) ; d.appInfo = app ; d.compatInfo = compatInfo ; queueOrSendMessage ( android.app.ActivityThread.H.DESTROY_BACKUP_AGENT , d ) ; }

Target:
public final void scheduleDestroyBackupAgent ( android.content.pm.ApplicationInfo app , android.content.res.CompatibilityInfo compatInfo ) { android.app.ActivityThread.CreateBackupAgentData d = new android.app.ActivityThread.CreateBackupAgentData ( ) ; d.appInfo = app ; d.compatInfo = compatInfo ; sendMessage ( android.app.ActivityThread.H.DESTROY_BACKUP_AGENT , d ) ; }
Source:
protected void closeImageReader ( ) { android.hardware.camera2.cts.CameraTestUtils.CameraTestUtils.closeImageReader ( mReader ) ; mReader = null ; mReaderSurface = null ; }

Target:
protected void closeImageReader ( ) { android.hardware.camera2.cts.CameraTestUtils.CameraTestUtils.closeImageReader ( mReader ) ; mReader = null ; android.util.Log.i ( android.hardware.camera2.cts.testcases.Camera2SurfaceViewTestCase.TAG , ( "mReaderSurface = " + ( mReaderSurface ) ) ) ; mOldReaderSurface = mReaderSurface ; mReaderSurface = null ; }
Source:
public static void setCurveName ( java.security.spec.ECParameterSpec spec , java.lang.String curveName ) { }

Target:
static java.lang.String getCurveName ( java.security.spec.ECParameterSpec spec ) { if ( ( org.conscrypt.Platform.GET_CURVE_NAME_METHOD ) != null ) { try { return ( ( java.lang.String ) ( org.conscrypt.Platform.GET_CURVE_NAME_METHOD.invoke ( spec ) ) ) ; } catch ( java.lang.Exception ignored ) { } } return null ; }
Source:
java.lang.invoke.MethodType invokerType ( ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
java.lang.invoke.MethodType invokerType ( ) { return insertParameterTypes ( 0 , java.lang.invoke.MethodHandle.class ) ; }
Source:
public java.lang.String toString ( ) { java.lang.String out = name ; if ( ( result ) == 1 ) { out += " - PASSED" ; } else if ( ( result ) == ( - 1 ) ) { out += " - FAILED" ; } return out ; }

Target:
public void passTest ( ) { if ( ( result ) != ( com.android.rs.test.UnitTest.TEST_FAILED ) ) { result = com.android.rs.test.UnitTest.TEST_PASSED ; } updateUI ( ) ; }
Source:
public void testExtractDecodeEditEncodeMux720p ( ) throws java.lang.Throwable { setSize ( 1280 , 720 ) ; setSource ( R.raw.video_480x360_mp4_h264_500kbps_30fps_aac_stereo_128kbps_44100hz ) ; setCopyVideo ( ) ; android.media.cts.ExtractDecodeEditEncodeMuxTest.TestWrapper.runTest ( this ) ; }

Target:
public void testExtractDecodeEditEncodeMuxAudioVideo ( ) throws java.lang.Throwable { if ( ! ( setSize ( 1280 , 720 ) ) ) return ; setSource ( R.raw.video_480x360_mp4_h264_500kbps_30fps_aac_stereo_128kbps_44100hz ) ; setCopyAudio ( ) ; setCopyVideo ( ) ; setVerifyAudioFormat ( ) ; android.media.cts.ExtractDecodeEditEncodeMuxTest.TestWrapper.runTest ( this ) ; }
Source:
public void callSessionStarted ( com.android.ims.internal.IImsCallSession i , android.telephony.ims.ImsCallProfile imsCallProfile ) throws android.os.RemoteException { mNewListener.callSessionInitiated ( imsCallProfile ) ; }

Target:
public void callSessionRttModifyRequestReceived ( com.android.ims.internal.IImsCallSession i , android.telephony.ims.ImsCallProfile imsCallProfile ) throws android.os.RemoteException { mNewListener.callSessionRttModifyRequestReceived ( imsCallProfile ) ; }
Source:
public void run ( ) { mDrawable = mContext.getResources ( ) . getDrawable ( R.drawable.btn_check_on ) ; mBuilder = new android.app.AlertDialog.Builder ( mContext ) ; mBuilder.setIcon ( R.drawable.btn_check_on ) ; mDialog = mBuilder.show ( ) ; }

Target:
public void run ( ) { mDrawable = mContext.getResources ( ) . getDrawable ( android.R.drawable.btn_default ) ; mBuilder = new android.app.AlertDialog.Builder ( mContext ) ; mBuilder.setIcon ( android.R.drawable.btn_default ) ; mDialog = mBuilder.show ( ) ; }
Source:
public void onDestroy ( ) { debugLog ( "onDestroy()" ) ; }

Target:
public void onDestroy ( ) { debugLog ( "onDestroy()" ) ; mProfileObserver.stop ( ) ; }
Source:
public com.android.ims.ImsCallProfile createCallProfile ( int slotId , int featureType , int sessionId , int callSessionType , int callType ) throws android.os.RemoteException { return null ; }

Target:
public com.android.ims.internal.IImsMMTelFeature createEmergencyMMTelFeature ( int slotId ) { return null ; }
Source:
protected abstract void buildCompilationList ( org.eclipse.core.resources.IProject project , java.util.List < org.eclipse.core.runtime.IPath > sourceFolders ) ;

Target:
public final void doneVisiting ( org.eclipse.core.resources.IProject project ) { mergeFileModifications ( mDeltaVisitor ) ; mDeltaVisitor.reset ( ) ; saveState ( project ) ; }
Source:
native void rsnAllocationData3D ( long con , long id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , byte [ ] d , int sizeBytes ) ;

Target:
native void rsnScriptSetTimeZone ( long con , long script , byte [ ] timeZone , boolean mUseInc ) ;
Source:
public void test_toString ( ) throws java.lang.Exception { java.util.TimeZone.setDefault ( java.util.TimeZone.getTimeZone ( "America/Chicago" ) ) ; assertEquals ( "Wed Dec 31 18:00:00 CST 1969" , new java.util.Date ( 0 ) . toString ( ) ) ; }

Target:
public void test_toString_us ( ) throws java.lang.Exception { java.util.Locale.setDefault ( java.util.Locale.US ) ; java.util.TimeZone.setDefault ( java.util.TimeZone.getTimeZone ( "America/Chicago" ) ) ; assertEquals ( "Wed Dec 31 18:00:00 CST 1969" , new java.util.Date ( 0 ) . toString ( ) ) ; }
Source:
public final void setDaemon ( boolean isDaemon ) { if ( hasBeenStarted ) { throw new java.lang.IllegalThreadStateException ( "Thread already started." ) ; } if ( ( vmThread ) == null ) { daemon = isDaemon ; } }

Target:
public final void setDaemon ( boolean isDaemon ) { checkNotStarted ( ) ; if ( ( vmThread ) == null ) { daemon = isDaemon ; } }
Source:
protected void log ( java.lang.String s ) { android.util.Log.d ( com.android.internal.telephony.gsm.GSMPhone.LOG_TAG , ( "[GSMPhone] " + s ) ) ; }

Target:
protected void log ( java.lang.String s ) { android.telephony.Rlog.d ( com.android.internal.telephony.gsm.GSMPhone.LOG_TAG , ( "[GSMPhone] " + s ) ) ; }
Source:
protected abstract void doBuildPatchFile ( java.io.File toFile , com.intellij.updater.MultiZipFile.OutputStream patchOutput ) throws java.io.IOException ;

Target:
protected abstract void doBuildPatchFile ( java.io.File olderFile , java.io.File newerFile , java.util.zip.ZipOutputStream patchOutput ) throws java.io.IOException ;
Source:
public void setProcessorNames ( @ javax.annotation.Nonnull java.util.List < java.lang.String > arg0 ) throws com.android.jack.api.v01.ConfigurationException { }

Target:
public void setProcessorNames ( @ javax.annotation.Nonnull java.util.List < java.lang.String > processorNames ) { throw new java.lang.AssertionError ( ) ; }
Source:
public void setCertificate ( java.security.cert.X509Certificate cert ) throws java.io.IOException , java.lang.Exception , java.security.cert.CertificateEncodingException { org.bouncycastle.asn1.ASN1InputStream s = new org.bouncycastle.asn1.ASN1InputStream ( cert.getEncoded ( ) ) ; certificate = s.readObject ( ) ; }

Target:
public void setCertificate ( java.security.cert.X509Certificate cert ) throws java.io.IOException , java.lang.Exception , java.security.cert.CertificateEncodingException { org.bouncycastle.asn1.ASN1InputStream s = new org.bouncycastle.asn1.ASN1InputStream ( cert.getEncoded ( ) ) ; certificate = s.readObject ( ) ; publicKey = cert.getPublicKey ( ) ; }
Source:
synchronized boolean connect ( ) { if ( com.android.bluetooth.hid.HidDevService.DBG ) android.util.Log.v ( com.android.bluetooth.hid.HidDevService.TAG , "connect()" ) ; return connectNative ( ) ; }

Target:
synchronized boolean connect ( android.bluetooth.BluetoothDevice device ) { if ( com.android.bluetooth.hid.HidDevService.DBG ) android.util.Log.v ( com.android.bluetooth.hid.HidDevService.TAG , ( "connect(): device=" + device ) ) ; return connectNative ( ) ; }
Source:
public void setUiTTYMode ( int sessionId , int uiTtyMode , android.os.Message onComplete ) throws android.os.RemoteException { checkBinderConnection ( ) ; getServiceInterface ( mBinder ) . setUiTTYMode ( sessionId , uiTtyMode , onComplete ) ; }

Target:
public com.android.ims.internal.IImsMultiEndpoint getMultiEndpointInterface ( ) throws android.os.RemoteException { checkBinderConnection ( ) ; return getServiceInterface ( mBinder ) . getMultiEndpointInterface ( android.telephony.ims.ImsServiceProxyCompat.SERVICE_ID ) ; }
Source:
public void onPlayFromMediaId ( java.lang.String mediaId , android.os.Bundle extras ) { android.util.Log.d ( com.android.bluetooth.a2dpsink.mbs.A2dpMediaBrowserService.TAG , ( ( ( "onPlayFromMediaId mediaId=" + mediaId ) + " extras=" ) + extras ) ) ; }

Target:
public void onPlayFromMediaId ( java.lang.String mediaId , android.os.Bundle extras ) { synchronized ( this ) { mAvrcpCtrlSrvc.fetchAttrAndPlayItem ( mA2dpDevice , mediaId ) ; mAvrcpCtrlSrvc.startAvrcpUpdates ( ) ; } }
Source:
public boolean couldBe ( float a ) { return couldBe ( a , 0.0 ) ; }

Target:
private void setErrorFromValue ( int ulpFactor , int ulpRelaxedFactor ) { int factor = ( android.renderscript.cts.Floaty.relaxed ) ? ulpRelaxedFactor : ulpFactor ; mError = ( getUlp ( ) ) * factor ; }
Source:
public com.android.ims.internal.IImsConfig getConfigInterface ( ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . getConfigInterface ( mSlotId , mSupportedFeature ) ; } }

Target:
public com.android.ims.internal.IImsEcbm getEcbmInterface ( ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . getEcbmInterface ( ) ; } }
Source:
public void actionPerformed ( java.awt.event.ActionEvent e ) { new java.lang.Thread ( this ) . start ( ) ; }

Target:
public void actionPerformed ( java.awt.event.ActionEvent e ) { if ( com.android.preload.Main.getUI ( ) . isSingleThreaded ( ) ) { run ( ) ; } else { new java.lang.Thread ( this ) . start ( ) ; } }
Source:
private static native void startMethodTracingFilename ( java.lang.String traceFileName , int bufferSize , int flags ) ;

Target:
private static native void startMethodTracingFd ( java.lang.String traceFileName , java.io.FileDescriptor fd , int bufferSize , int flags , boolean samplingEnabled , int intervalUs ) ;
Source:
void process ( @ org.jetbrains.annotations.NotNull com.intellij.psi.scope.PsiScopeProcessor processor , @ org.jetbrains.annotations.NotNull com.intellij.psi.ResolveState state , @ org.jetbrains.annotations.NotNull com.intellij.psi.PsiElement place ) ;

Target:
void process ( @ org.jetbrains.annotations.NotNull java.util.List < java.lang.String > methodCallInfo , @ org.jetbrains.annotations.NotNull com.intellij.psi.scope.PsiScopeProcessor processor , @ org.jetbrains.annotations.NotNull com.intellij.psi.ResolveState state , @ org.jetbrains.annotations.NotNull com.intellij.psi.PsiElement place ) ;
Source:
public void sendEnvelopeWithStatus ( java.lang.String contents , android.os.Message response ) { mCi.sendEnvelopeWithStatus ( contents , response ) ; }

Target:
public void sendEnvelopeWithStatus ( java.lang.String contents , android.os.Message response ) { if ( ( mUiccProfile ) != null ) { mUiccProfile.sendEnvelopeWithStatus ( contents , response ) ; } else { loge ( "sendEnvelopeWithStatus Failed!" ) ; } }
Source:
com.google.common.collect.Multiset < E > multiset ( ) { return this ; }

Target:
public boolean contains ( @ javax.annotation.Nullable java.lang.Object element ) { return ( multiset1.contains ( element ) ) || ( multiset2.contains ( element ) ) ; }
Source:
public java.util.Map < java.lang.String , java.util.List < java.lang.String > > getRequestProperties ( ) { if ( connected ) throw new java.lang.IllegalStateException ( "Already connected" ) ; return java.util.Collections.EMPTY_MAP ; }

Target:
public java.util.Map < java.lang.String , java.util.List < java.lang.String > > getRequestProperties ( ) { if ( connected ) throw new java.lang.IllegalStateException ( "Already connected" ) ; return java.util.Collections.emptyMap ( ) ; }
Source:
public com.android.ide.eclipse.adt.editors.layout.gscripts.INode.IAttribute [ ] getAttributes ( ) ;

Target:
public com.android.ide.eclipse.adt.editors.layout.gscripts.IAttributeInfo [ ] getDeclaredAttributes ( ) ;
Source:
public void testInstrumentationRunnerArguments ( @ com.android.annotations.NonNull com.android.build.gradle.internal.dsl.Map < java.lang.String , java.lang.String > args ) { getTestInstrumentationRunnerArguments ( ) . putAll ( args ) ; }

Target:
public void testInstrumentationRunnerArgument ( @ com.android.annotations.NonNull java.lang.String key , @ com.android.annotations.NonNull java.lang.String value ) { getTestInstrumentationRunnerArguments ( ) . put ( key , value ) ; }
Source:
public byte [ ] onAuthenticationResponse ( byte [ ] userName ) { android.util.Log.v ( com.android.bluetooth.pbapclient.BluetoothPbapObexAuthenticator.TAG , ( "onAuthenticationResponse: " + userName ) ) ; return null ; }

Target:
public byte [ ] onAuthenticationResponse ( byte [ ] userName ) { if ( com.android.bluetooth.pbapclient.BluetoothPbapObexAuthenticator.DBG ) android.util.Log.v ( com.android.bluetooth.pbapclient.BluetoothPbapObexAuthenticator.TAG , ( "onAuthenticationResponse: " + userName ) ) ; return null ; }
Source:
public int size ( ) { return entrySet ( ) . size ( ) ; }

Target:
public boolean retainAll ( final java.util.Collection < ? > c ) { return removeFromColumnIf ( com.google.common.collect.Maps.< V > valuePredicateOnEntries ( com.google.common.base.Predicates.not ( com.google.common.base.Predicates.in ( c ) ) ) ) ; }
Source:
private static native void native_drawPath ( int nativeCanvas , int path , int paint ) ;

Target:
private static native void native_drawPath ( long nativeCanvas , long nativePath , long nativePaint ) ;
Source:
void expectAvailableAndValidatedCallbacks ( com.android.server.ConnectivityServiceTest.MockNetworkAgent agent ) { expectAvailableCallbacks ( agent , false , com.android.server.ConnectivityServiceTest.TestNetworkCallback.TIMEOUT_MS ) ; expectCapabilitiesWith ( android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED , agent ) ; }

Target:
void expectAvailableCallbacksUnvalidated ( com.android.server.ConnectivityServiceTest.MockNetworkAgent agent ) { expectAvailableCallbacks ( agent , false , false , com.android.server.ConnectivityServiceTest.TestNetworkCallback.TIMEOUT_MS ) ; }