auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public java.lang.String telephonyGetLine1AlphaTagForSubscription ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "subId" ) java.lang.Integer subId ) { return mTelephonyManager.getLine1AlphaTagForSubscriber ( subId ) ; }

Target:
public java.lang.String telephonyGetLine1NumberForSubscription ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "subId" ) java.lang.Integer subId ) { return mTelephonyManager.getLine1Number ( subId ) ; }
Source:
public void testVFE12 ( ) { try { new dot.junit.opcodes.invoke_interface_range.d.T_invoke_interface_range_21 ( ) . run ( new dot.junit.opcodes.invoke_interface_range.ITestImpl ( ) ) ; fail ( "expected VerifyError" ) ; } catch ( java.lang.VerifyError t ) { } }

Target:
public void testVFE9 ( ) { load ( "dot.junit.opcodes.invoke_interface_range.d.T_invoke_interface_range_9" , java.lang.VerifyError.class ) ; }
Source:
public void switchToProfile ( java.lang.String callingPackage , java.lang.String iccid , boolean refresh , com.android.internal.telephony.euicc.ISwitchToProfileCallback callback ) { checkCallingPackage ( callingPackage ) ; }

Target:
public void onException ( java.lang.Throwable e ) { try { callback.onComplete ( getResultCode ( e ) , profile ) ; } catch ( android.os.RemoteException exception ) { throw exception.rethrowFromSystemServer ( ) ; } }
Source:
public void test ( ) throws java.lang.Exception { assertEquals ( ( "SharedPrefsTest.java:54: Warning: SharedPreferences.edit() without a " + "corresponding commit() or apply() call" ) , lintProject ( ( "src/test/pkg/SharedPrefsTest.java.txt=>" + "src/test/pkg/SharedPrefsTest.java" ) ) ) ; }

Target:
public void test ( ) throws java.lang.Exception { assertEquals ( ( "SharedPrefsTest.java:54: Warning: SharedPreferences.edit() without a corresponding commit() or apply() call\n" + "SharedPrefsTest.java:62: Warning: SharedPreferences.edit() without a corresponding commit() or apply() call" ) , lintProject ( ( "src/test/pkg/SharedPrefsTest.java.txt=>" + "src/test/pkg/SharedPrefsTest.java" ) ) ) ; }
Source:
public lombok.ast.AstVisitor createJavaVisitor ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.JavaContext context ) { return new com.android.tools.lint.checks.IconDetector.NotificationFinder ( ) ; }

Target:
public com.intellij.psi.JavaElementVisitor createPsiVisitor ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.JavaContext context ) { return new com.android.tools.lint.checks.IconDetector.NotificationFinder ( ) ; }
Source:
public org.eclipse.swt.graphics.Color getBackground ( java.lang.Object element ) { return mTable.getDisplay ( ) . getSystemColor ( SWT.COLOR_LIST_BACKGROUND ) ; }

Target:
protected org.eclipse.jface.viewers.CellEditor getCellEditor ( java.lang.Object element ) { return new org.eclipse.jface.viewers.TextCellEditor ( mTable ) ; }
Source:
public com.android.incallui.call.DialerCall getOutgoingCall ( ) { com.android.incallui.call.DialerCall call = getFirstCallWithState ( DialerCall.State.DIALING ) ; if ( call == null ) { call = getFirstCallWithState ( DialerCall.State.REDIALING ) ; } if ( call == null ) { call = getFirstCallWithState ( DialerCall.State.PULLING ) ; } return call ; }

Target:
public com.android.incallui.call.DialerCall getOutgoingCall ( ) { com.android.incallui.call.DialerCall call = getFirstCallWithState ( DialerCallState.DIALING ) ; if ( call == null ) { call = getFirstCallWithState ( DialerCallState.REDIALING ) ; } if ( call == null ) { call = getFirstCallWithState ( DialerCallState.PULLING ) ; } return call ; }
Source:
public void testMissingUsesSdk ( ) throws java.lang.Exception { mEnabled = java.util.Collections.singleton ( ManifestOrderDetector.USES_SDK ) ; assertEquals ( ( "AndroidManifest.xml: Warning: Manifest should specify a minimum API level with <uses-sdk android:minSdkVersion=\"?\" />; if it really supports all versions of Android set it to 1. [UsesMinSdkAttributes]\n" + "0 errors, 1 warnings\n" ) , lintProject ( "missingusessdk.xml=>AndroidManifest.xml" , "res/values/strings.xml" ) ) ; }

Target:
public void testMissingUsesSdk ( ) throws java.lang.Exception { mEnabled = java.util.Collections.singleton ( ManifestDetector.USES_SDK ) ; assertEquals ( ( "AndroidManifest.xml: Warning: Manifest should specify a minimum API level with <uses-sdk android:minSdkVersion=\"?\" />; if it really supports all versions of Android set it to 1. [UsesMinSdkAttributes]\n" + "0 errors, 1 warnings\n" ) , lintProject ( "missingusessdk.xml=>AndroidManifest.xml" , "res/values/strings.xml" ) ) ; }
Source:
private synchronized void markIfNecessary ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JNode node ) { if ( ! ( node.containsMarker ( com.android.jack.backend.dex.MultiDexLegacyTracerBrush.MultiDexInstallerMarker.class ) ) ) { node.addMarker ( MultiDexInstallerMarker.INSTANCE ) ; } }

Target:
private void markIfNecessary ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JNode node ) { node.addMarkerIfAbsent ( MultiDexInstallerMarker.INSTANCE ) ; }
Source:
public void testOkLibraries ( ) throws java.lang.Exception { assertEquals ( "No warnings." , lintProject ( "bytecode/AndroidManifestWrongRegs.xml=>AndroidManifest.xml" , "bytecode/.classpath=>.classpath" , "bytecode/classes.jar=>libs/classes.jar" ) ) ; }

Target:
public void testOkLibraries ( ) throws java.lang.Exception { mScopes = null ; assertEquals ( "No warnings." , lintProject ( "bytecode/AndroidManifestWrongRegs.xml=>AndroidManifest.xml" , "bytecode/.classpath=>.classpath" , "bytecode/classes.jar=>libs/classes.jar" ) ) ; }
Source:
protected int engineGetOutputSize ( int inputLen ) { return getOutputSize ( inputLen ) ; }

Target:
protected int engineGetOutputSize ( int inputLen ) { return getOutputSizeForFinal ( inputLen ) ; }
Source:
public android.icu.util.CurrencyAmount parseCurrency ( java.lang.CharSequence text , java.text.ParsePosition pos ) { android.icu.util.Currency [ ] currency = new android.icu.util.Currency [ 1 ] ; return ( ( android.icu.util.CurrencyAmount ) ( parse ( text.toString ( ) , pos , currency ) ) ) ; }

Target:
public synchronized void setParseBigDecimal ( boolean value ) { properties.setParseToBigDecimal ( value ) ; }
Source:
public java.lang.Boolean call ( ) { return onKeyUp ( keyCode , event ) ; }

Target:
public void run ( ) { onWindowFocusChanged ( hasWindowFocus ) ; }
Source:
private void updatePrivateDnsSettings ( ) { mPrivateDnsMode = getStringSetting ( android.provider.Settings.Global.PRIVATE_DNS_MODE ) ; mPrivateDnsSpecifier = getStringSetting ( android.provider.Settings.Global.PRIVATE_DNS_SPECIFIER ) ; }

Target:
public static android.net.Uri [ ] getPrivateDnsSettingsUris ( ) { final android.net.Uri [ ] uris = new android.net.Uri [ 2 ] ; uris [ 0 ] = Settings.Global.getUriFor ( android.provider.Settings.Global.PRIVATE_DNS_MODE ) ; uris [ 1 ] = Settings.Global.getUriFor ( android.provider.Settings.Global.PRIVATE_DNS_SPECIFIER ) ; return uris ; }
Source:
private void installMockNanStateManager ( ) throws java.lang.Exception { java.lang.reflect.Field field = com.android.server.wifi.nan.WifiNanStateManager.class . getDeclaredField ( "sNanStateManagerSingleton" ) ; field.setAccessible ( true ) ; field.set ( null , mNanStateManagerMock ) ; }

Target:
private void installMockAwareStateManager ( ) throws java.lang.Exception { java.lang.reflect.Field field = com.android.server.wifi.aware.WifiAwareStateManager.class . getDeclaredField ( "sAwareStateManagerSingleton" ) ; field.setAccessible ( true ) ; field.set ( null , mAwareStateManagerMock ) ; }
Source:
public void handleEvent ( org.eclipse.swt.widgets.Event event ) { onToggleDetails ( ) ; }

Target:
public void handleEvent ( org.eclipse.swt.widgets.Event event ) { onStopSelected ( ) ; }
Source:
public static com.google.api.services.test.Test getTest ( ) { com.google.gct.testing.launcher.CloudAuthenticator.prepareCredential ( ) ; if ( ( com.google.gct.testing.launcher.CloudAuthenticator.test ) == null ) { com.google.gct.testing.launcher.CloudAuthenticator.test = new com.google.api.services.test.Test.Builder ( com.google.gct.testing.launcher.CloudAuthenticator.httpTransport , com.google.api.client.json.jackson2.JacksonFactory.getDefaultInstance ( ) , com.google.gct.testing.launcher.CloudAuthenticator.credential ) . setRootUrl ( "https://test-devtools.googleapis.com" ) . build ( ) ; } return com.google.gct.testing.launcher.CloudAuthenticator.test ; }

Target:
public static com.google.api.services.testing.Testing getTest ( ) { com.google.gct.testing.launcher.CloudAuthenticator.prepareCredential ( ) ; if ( ( com.google.gct.testing.launcher.CloudAuthenticator.test ) == null ) { com.google.gct.testing.launcher.CloudAuthenticator.test = new com.google.api.services.testing.Testing.Builder ( com.google.gct.testing.launcher.CloudAuthenticator.httpTransport , com.google.api.client.json.jackson2.JacksonFactory.getDefaultInstance ( ) , com.google.gct.testing.launcher.CloudAuthenticator.credential ) . build ( ) ; } return com.google.gct.testing.launcher.CloudAuthenticator.test ; }
Source:
public void testAsinPiF32 ( ) { script_f32 = new android.renderscript.cts.ScriptC_asinpi_f32 ( mRS , mRes , R.raw.asinpi_f32 ) ; doF32 ( 10 , 5 ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; script_f32 = new android.renderscript.cts.ScriptC_asinpi_f32 ( mRS ) ; }
Source:
public void test_Constructor ( ) { java.util.zip.Inflater inflate = new java.util.zip.Inflater ( ) ; assertNotNull ( "failed to create the instance of inflater" , inflate ) ; }

Target:
public void test_Constructor ( ) { java.util.zip.Inflater inflate = new java.util.zip.Inflater ( ) ; assertNotNull ( "failed to create the instance of inflater" , inflate ) ; inflate.end ( ) ; }
Source:
public com.android.ahat.DocString render ( com.android.ahat.Site element ) { return com.android.ahat.DocString.link ( com.android.ahat.DocString.formattedUri ( "site?stack=%d&depth=%d" , element.getStackId ( ) , element.getStackDepth ( ) ) , com.android.ahat.DocString.text ( element.getName ( ) ) ) ; }

Target:
public com.android.ahat.DocString render ( com.android.ahat.heapdump.Site element ) { return com.android.ahat.Summarizer.summarize ( element ) ; }
Source:
synchronized void nScriptSetVarObj ( int id , int slot , int val ) { validate ( ) ; rsnScriptSetVarObj ( mContext , id , slot , val ) ; }

Target:
synchronized void nScriptInvokeV ( long id , int slot , byte [ ] params ) { validate ( ) ; rsnScriptInvokeV ( mContext , id , slot , params ) ; }
Source:
public static java.lang.String getPackage ( com.android.sdklib.io.IAbstractFile manifestFile ) throws com.android.sdklib.io.StreamException , javax.xml.xpath.XPathExpressionException { javax.xml.xpath.XPath xPath = com.android.sdklib.xml.AndroidXPathFactory.newXPath ( ) ; return xPath.evaluate ( ( ( ( "/" + ( com.android.sdklib.xml.AndroidManifest.NODE_MANIFEST ) ) + "/@" ) + ( com.android.sdklib.xml.AndroidManifest.ATTRIBUTE_PACKAGE ) ) , new org.xml.sax.InputSource ( manifestFile.getContents ( ) ) ) ; }

Target:
public static java.lang.String getPackage ( com.android.io.IAbstractFile manifestFile ) throws com.android.io.StreamException , javax.xml.xpath.XPathExpressionException { javax.xml.xpath.XPath xPath = com.android.sdklib.xml.AndroidXPathFactory.newXPath ( ) ; return xPath.evaluate ( ( ( ( "/" + ( com.android.sdklib.xml.AndroidManifest.NODE_MANIFEST ) ) + "/@" ) + ( com.android.sdklib.xml.AndroidManifest.ATTRIBUTE_PACKAGE ) ) , new org.xml.sax.InputSource ( manifestFile.getContents ( ) ) ) ; }
Source:
public void setMonetaryDecimalSeparator ( char sep ) { monetarySeparator = sep ; }

Target:
public java.lang.String getPerMillString ( ) { return perMillString ; }
Source:
public boolean isWrapperType ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JType candidate ) { return com.android.jack.Jack.getSession ( ) . getPhantomLookup ( ) . getClass ( getWrapperCommonType ( ) ) . equals ( candidate ) ; }

Target:
public boolean isWrapperType ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JType candidate ) { return com.android.jack.Jack.getSession ( ) . getPhantomLookup ( ) . getClass ( getWrapperCommonType ( ) ) . isSameType ( candidate ) ; }
Source:
private static void writeValue ( java.io.FileWriter writer , int value ) throws java.io.IOException { com.android.sdklib.internal.export.ApkData.writeValue ( writer , java.lang.Integer.toString ( value ) ) ; }

Target:
private static void writeValue ( java.io.OutputStreamWriter writer , int value ) throws java.io.IOException { com.android.sdklib.internal.export.ApkData.writeValue ( writer , java.lang.Integer.toString ( value ) ) ; }
Source:
native void rsnScriptSetTimeZone ( long con , long script , byte [ ] timeZone ) ;

Target:
native void rsnScriptBindAllocation ( long con , long script , long alloc , int slot , boolean mUseInc ) ;
Source:
void doQuit ( ) { removeUncleanAccounts ( ) ; if ( ( mHandlerThread ) != null ) { mHandlerThread.quitSafely ( ) ; } quitNow ( ) ; }

Target:
android.content.Context getContext ( ) { return mService ; }
Source:
public static void computeCeil ( android.renderscript.cts.TestCeil.ArgumentsFloatFloat args ) { args.ulf = 0 ; args.ulfRelaxed = 1 ; args.out = ( ( float ) ( java.lang.StrictMath.ceil ( args.in ) ) ) ; }

Target:
public static void computeConvert ( android.renderscript.cts.TestConvert.ArgumentsUintFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.convertUintToFloat ( args.inV ) , 1 , 1 ) ; }
Source:
public java.lang.Void call ( ) throws java.lang.Exception { latch.countDown ( ) ; return null ; }

Target:
public java.lang.Void answer ( org.mockito.invocation.InvocationOnMock invocation ) throws java.lang.Exception { latch.countDown ( ) ; return null ; }
Source:
public java.lang.String longHelp ( ) { return ( ( ( ( ( ( shortHelp ( ) ) + "\n" ) + "\n" ) + "usage: svc usb setFunction [function]\n" ) + " Set the current usb function.\n\n" ) + " svc usb getFunction\n" ) + " Gets the list of currently enabled functions\n" ; }

Target:
public java.lang.String longHelp ( ) { return ( ( ( ( ( ( shortHelp ( ) ) + "\n" ) + "\n" ) + "usage: svc usb setFunction [function] [usbDataUnlocked=false]\n" ) + " Set the current usb function and optionally the data lock state.\n\n" ) + " svc usb getFunction\n" ) + " Gets the list of currently enabled functions\n" ; }
Source:
native void rsnAllocationData3D ( long con , long id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , short [ ] d , int sizeBytes ) ;

Target:
native void rsnScriptForEach ( long con , long incCon , long id , int slot , long ain , long aout , byte [ ] params , boolean mUseInc ) ;
Source:
protected void performCommonChecks ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JExpression expr ) { ensure ( equal ( expr.getType ( ) , otherOrMe ( expr ) . getType ( ) ) ) ; }

Target:
protected void performCommonChecks ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JExpression expr ) { performCommonChecks ( ( ( com.android.jack.ir.ast.JNode ) ( expr ) ) ) ; ensure ( equal ( expr.getType ( ) , otherOrMe ( expr ) . getType ( ) ) ) ; }
Source:
public static final void setIdSize ( int size ) { com.android.tools.perflib.heap.Type.sIdSize = size ; }

Target:
public static final void setIdSize ( int size ) { com.android.tools.perflib.heap.Type.sIdSize = size ; com.android.tools.perflib.heap.Type.sIdSizeMask = - 1L > > > ( ( 8 - size ) * 8 ) ; }
Source:
public static android.renderscript.RenderScript create ( android.content.Context ctx , int sdkVersion ) { return android.renderscript.RenderScript.create ( ctx , sdkVersion , android.renderscript.RenderScript.ContextType.NORMAL , android.renderscript.RenderScript.CREATE_FLAG_NONE ) ; }

Target:
public static android.renderscript.RenderScript create ( android.content.Context ctx , android.renderscript.RenderScript.ContextType ct ) { return android.renderscript.RenderScript.create ( ctx , ct , android.renderscript.RenderScript.CREATE_FLAG_NONE ) ; }
Source:
public static short $noinline$byteToDoubleToShort ( byte value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( short ) ( ( double ) ( value ) ) ) ; }

Target:
public static long $noinline$longToIntToLong ( long value ) { return ( ( long ) ( ( int ) ( value ) ) ) ; }
Source:
public void run ( ) { mImageOverlay.setImage ( image ) ; redraw ( ) ; }

Target:
public void run ( ) { drawImage ( ) ; }
Source:
public void execute ( org.w3c.dom.Element element ) { renderClasses ( element ) ; }

Target:
public void doExecute ( org.gradle.api.internal.html.SimpleHtmlWriter htmlWriter ) throws java.io.IOException { renderClasses ( htmlWriter ) ; }
Source:
public void test_F32_2_SCALE20_20_inSqure ( ) { testReszie ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.FLOAT_32 , 2 , 2.0F , 2.0F ) ; checkError ( ) ; }

Target:
public void test_F32_2_SCALE20_20_inSqure ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.FLOAT_32 , 2 , 2.0F , 2.0F ) ; checkError ( ) ; }
Source:
public java.lang.String getName ( ) { com.android.dex.Dex dex = declaringClassOfOverriddenMethod.getDex ( ) ; int nameIndex = dex.nameIndexFromMethodIndex ( dexMethodIndex ) ; return declaringClassOfOverriddenMethod.getDexCacheString ( dex , nameIndex ) ; }

Target:
public java.lang.String getName ( ) { return getMethodNameInternal ( ) ; }
Source:
public static byte shortToCharToByte ( short value ) { return ( ( byte ) ( ( char ) ( value ) ) ) ; }

Target:
public static short $noinline$shortToCharToShort ( short value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( short ) ( ( char ) ( value ) ) ) ; }
Source:
public static long UShr60And7 ( long arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( arg > > > 60 ) & 7 ; }

Target:
public static long $noinline$UShr60And7 ( long arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( arg > > > 60 ) & 7 ; }
Source:
public void test16_fqcn_merge ( ) throws java.lang.Exception { processTestFiles ( ) ; }

Target:
public java.lang.String getExpectedErrors ( ) { return mExpectedErrors ; }
Source:
public void savePassword ( java.lang.String host , java.lang.String username , java.lang.String password ) { checkThread ( ) ; if ( DebugFlags.TRACE_API ) android.util.Log.d ( android.webkit.WebView.LOGTAG , ( "savePassword=" + host ) ) ; mProvider.savePassword ( host , username , password ) ; }

Target:
public void savePassword ( java.lang.String host , java.lang.String username , java.lang.String password ) { checkThread ( ) ; if ( android.webkit.WebView.TRACE ) android.util.Log.d ( android.webkit.WebView.LOGTAG , ( "savePassword=" + host ) ) ; mProvider.savePassword ( host , username , password ) ; }
Source:
public static com.google.gct.intellij.endpoints.synchronization.SampleSyncTask getInstance ( ) { if ( ( com.google.gct.intellij.endpoints.synchronization.SampleSyncTask.instance ) == null ) { com.google.gct.intellij.endpoints.synchronization.SampleSyncTask.instance = new com.google.gct.intellij.endpoints.synchronization.SampleSyncTask ( ) ; } return com.google.gct.intellij.endpoints.synchronization.SampleSyncTask.instance ; }

Target:
public static com.google.gct.idea.appengine.synchronization.SampleSyncTask getInstance ( ) { if ( ( com.google.gct.idea.appengine.synchronization.SampleSyncTask.instance ) == null ) { com.google.gct.idea.appengine.synchronization.SampleSyncTask.instance = new com.google.gct.idea.appengine.synchronization.SampleSyncTask ( ) ; } return com.google.gct.idea.appengine.synchronization.SampleSyncTask.instance ; }
Source:
public boolean isBleAppPresent ( ) { if ( com.android.server.BluetoothManagerService.DBG ) android.util.Slog.d ( com.android.server.BluetoothManagerService.TAG , ( "isBleAppPresent() count: " + ( com.android.server.BluetoothManagerService.mBleAppCount ) ) ) ; return ( com.android.server.BluetoothManagerService.mBleAppCount ) > 0 ; }

Target:
public boolean isBleAppPresent ( ) { if ( com.android.server.BluetoothManagerService.DBG ) android.util.Slog.d ( com.android.server.BluetoothManagerService.TAG , ( "isBleAppPresent() count: " + ( mBleApps.size ( ) ) ) ) ; return ( mBleApps.size ( ) ) > 0 ; }
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mWebView = getActivity ( ) . getWebView ( ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mWebView = getActivity ( ) . getWebView ( ) ; mWebView.setWebChromeClient ( new android.webkit.WebChromeClient ( ) ) ; }
Source:
public void tearDown ( ) throws java.lang.Exception { if ( mHasFeature ) { getDevice ( ) . uninstallPackage ( com.android.cts.devicepolicy.CustomDeviceOwnerTest.DEVICE_OWNER_PKG ) ; getDevice ( ) . uninstallPackage ( com.android.cts.devicepolicy.CustomDeviceOwnerTest.DEVICE_AND_PROFILE_OWNER_PKG ) ; } super . tearDown ( ) ; }

Target:
public void tearDown ( ) throws java.lang.Exception { if ( mHasFeature ) { getDevice ( ) . uninstallPackage ( com.android.cts.devicepolicy.CustomDeviceOwnerTest.DEVICE_OWNER_PKG ) ; getDevice ( ) . uninstallPackage ( com.android.cts.devicepolicy.CustomDeviceOwnerTest.ACCOUNT_MANAGEMENT_PKG ) ; } super . tearDown ( ) ; }
Source:
public void test_providerCount ( ) { assertEquals ( 4 , java.security.Security.getProviders ( ) . length ) ; }

Target:
public void test_providerCount ( ) { java.security.Provider [ ] providers = java.security.Security.getProviders ( ) ; assertTrue ( ( ( providers.length ) > 0 ) ) ; assertTrue ( ( ( providers.length ) < 10 ) ) ; }
Source:
private boolean delete ( byte [ ] key ) { execute ( 'd' , key ) ; return ( mError ) == ( android.security.KeyStore.NO_ERROR ) ; }

Target:
public boolean delete ( java.lang.String key ) { try { return ( mBinder.del ( key ) ) == ( 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 ; } }
Source:
public void terminateSession ( int clientId , int sessionId ) { android.os.Message msg = mSm.obtainMessage ( com.android.server.wifi.nan.WifiNanStateManager.MESSAGE_TYPE_COMMAND ) ; msg.arg1 = com.android.server.wifi.nan.WifiNanStateManager.COMMAND_TYPE_TERMINATE_SESSION ; msg.arg2 = clientId ; msg.obj = sessionId ; mSm.sendMessage ( msg ) ; }

Target:
public void terminateSession ( int clientId , int sessionId ) { android.os.Message msg = mSm.obtainMessage ( com.android.server.wifi.aware.WifiAwareStateManager.MESSAGE_TYPE_COMMAND ) ; msg.arg1 = com.android.server.wifi.aware.WifiAwareStateManager.COMMAND_TYPE_TERMINATE_SESSION ; msg.arg2 = clientId ; msg.obj = sessionId ; mSm.sendMessage ( msg ) ; }
Source:
private boolean queryCallsStart ( ) { if ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.DBG ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , "queryCallsStart" ) ; } clearPendingAction ( ) ; queryCurrentCallsNative ( getByteAddress ( mCurrentDevice ) ) ; addQueuedAction ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.QUERY_CURRENT_CALLS , 0 ) ; return true ; }

Target:
private boolean queryCallsStart ( ) { if ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.DBG ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , "queryCallsStart" ) ; } clearPendingAction ( ) ; com.android.bluetooth.hfpclient.NativeInterface.queryCurrentCallsNative ( getByteAddress ( mCurrentDevice ) ) ; addQueuedAction ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.QUERY_CURRENT_CALLS , 0 ) ; return true ; }
Source:
public void run ( ) { destroySurface ( ) ; }

Target:
protected void onDetachedFromWindowInternal ( ) { destroySurface ( ) ; super . onDetachedFromWindowInternal ( ) ; }
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; assertNotNull ( mAbi ) ; assertNotNull ( mCtsBuild ) ; getDevice ( ) . uninstallPackage ( com.android.cts.appsecurity.PermissionsHostTest.PKG ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; assertNotNull ( mAbi ) ; assertNotNull ( mCtsBuild ) ; getDevice ( ) . uninstallPackage ( com.android.cts.appsecurity.PermissionsHostTest.PKG ) ; getDevice ( ) . uninstallPackage ( com.android.cts.appsecurity.PermissionsHostTest.ESCALATE_PERMISSION_PKG ) ; }
Source:
private void traceAnnotations ( @ javax.annotation.Nonnull com.android.jack.ir.ast.Annotable annotable ) { for ( com.android.jack.ir.ast.JAnnotationLiteral a : annotable.getAnnotations ( ) ) { accept ( a ) ; } }

Target:
private void traceAnnotations ( @ javax.annotation.Nonnull com.android.jack.ir.ast.Annotable annotable ) { for ( com.android.jack.ir.ast.JAnnotation annotation : annotable.getAnnotations ( ) ) { accept ( annotation ) ; } }
Source:
static void constantIndexing ( int [ ] array ) { array [ 5 ] = 1 ; array [ 4 ] = 1 ; array [ 6 ] = 1 ; }

Target:
static void constantIndexing1 ( int [ ] array ) { array [ 5 ] = 1 ; array [ 4 ] = 1 ; }
Source:
public void test ( ) throws java.lang.Exception { assertEquals ( "WrongCastActivity.java:13: Error: Unexpected cast to ToggleButton: layout tag was Button" , lintProject ( "res/layout/casts.xml" , "src/test/pkg/WrongCastActivity.java.txt=>src/test/pkg/WrongCastActivity.java" ) ) ; }

Target:
public void test ( ) throws java.lang.Exception { assertEquals ( ( "src/test/pkg/WrongCastActivity.java:13: Error: Unexpected cast to ToggleButton: layout tag was Button [WrongViewCast]\n" + ( ( ( " ToggleButton toggleButton = (ToggleButton) findViewById(R.id.button);\n" + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "1 errors, 0 warnings\n" ) + "" ) ) , lintProject ( "res/layout/casts.xml" , "src/test/pkg/WrongCastActivity.java.txt=>src/test/pkg/WrongCastActivity.java" ) ) ; }
Source:
private void initDebug ( ) { mDebuggable = true ; mDebugJniBuild = true ; mDebugSigningKey = true ; }

Target:
private void initDebug ( ) { mDebuggable = true ; mDebugJniBuild = true ; mDebugSigningKey = true ; mZipAlign = false ; }
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 , float value ) { return addHolder ( name , java.lang.String.valueOf ( value ) ) ; }
Source:
public void postResponse ( com.android.volley.Request < ? > request , com.android.volley.Response < ? > response , java.lang.Runnable runnable ) { postResponse_called = true ; responsePosted = response ; runnable.run ( ) ; }

Target:
public void postResponse ( com.android.volley.Request < ? > request , com.android.volley.Response < ? > response , java.lang.Runnable runnable ) { postResponse_called = true ; ( postResponse_calledNtimes ) ++ ; responsePosted = response ; runnable.run ( ) ; }
Source:
public boolean isLibrary ( ) { com.android.build.gradle.internal.variant.TestedVariantData testedVariantData = testVariantData.getTestedVariantData ( ) ; com.android.build.gradle.internal.variant.BaseVariantData < ? > testedVariantData2 = ( ( com.android.build.gradle.internal.variant.BaseVariantData ) ( testedVariantData ) ) ; return ( testedVariantData2.getVariantConfiguration ( ) . getType ( ) ) == ( VariantConfiguration.Type.LIBRARY ) ; }

Target:
public boolean isLibrary ( ) { com.android.build.gradle.internal.variant.TestedVariantData testedVariantData = testVariantData.getTestedVariantData ( ) ; com.android.build.gradle.internal.variant.BaseVariantData < ? > testedVariantData2 = ( ( com.android.build.gradle.internal.variant.BaseVariantData ) ( testedVariantData ) ) ; return ( testedVariantData2.getVariantConfiguration ( ) . getType ( ) ) == ( com.android.builder.core.VariantType.LIBRARY ) ; }
Source:
public void remove ( ) { if ( atStart ) { throw new java.lang.IllegalStateException ( ) ; } iterator.remove ( ) ; }

Target:
public void remove ( ) { com.google.common.collect.CollectPreconditions.checkRemove ( ( ! ( atStart ) ) ) ; iterator.remove ( ) ; }
Source:
public com.android.ide.common.rendering.api.ViewInfo getRootView ( ) { return null ; }

Target:
public java.util.List < com.android.ide.common.rendering.api.ViewInfo > getRootViews ( ) { return null ; }
Source:
public static void clearInternTables ( ) { com.android.dx.rop.type.Prototype.clearInternTable ( ) ; com.android.dx.rop.code.RegisterSpec.clearInternTable ( ) ; }

Target:
public static void clearInternTables ( ) { com.android.dx.rop.type.Prototype.clearInternTable ( ) ; com.android.dx.rop.code.RegisterSpec.clearInternTable ( ) ; com.android.dx.rop.cst.CstType.clearInternTable ( ) ; com.android.dx.rop.type.Type.clearInternTable ( ) ; }
Source:
private boolean canMapReg ( com.android.dx.ssa.back.RegisterSpec ssaSpec , int ropReg ) { int category = ssaSpec.getCategory ( ) ; return ! ( ( spansParamRange ( ropReg , category ) ) || ( mapper.interferes ( ssaSpec , ropReg ) ) ) ; }

Target:
private boolean canMapReg ( com.android.dx.rop.code.RegisterSpec ssaSpec , int ropReg ) { int category = ssaSpec.getCategory ( ) ; return ! ( ( spansParamRange ( ropReg , category ) ) || ( mapper.interferes ( ssaSpec , ropReg ) ) ) ; }
Source:
public static synchronized java.security.Provider [ ] getProviders ( ) { return org.apache.harmony.security.fortress.Services.getProviders ( ) ; }

Target:
public static synchronized java.security.Provider [ ] getProviders ( ) { java.util.ArrayList < java.security.Provider > providers = org.apache.harmony.security.fortress.Services.getProviders ( ) ; return providers.toArray ( new java.security.Provider [ providers.size ( ) ] ) ; }
Source:
public java.util.List < com.android.tools.lint.client.api.JavaParser.ResolvedAnnotation > getAnnotations ( @ com.android.annotations.NonNull com.android.tools.lint.client.api.JavaParser.ResolvedAnnotation cls ) { com.android.tools.lint.ExternalAnnotationRepository.ClassInfo c = findClass ( cls ) ; if ( c == null ) { return null ; } return c.annotations ; }

Target:
public java.util.Collection < com.intellij.psi.PsiAnnotation > getAnnotations ( @ com.android.annotations.NonNull org.eclipse.jdt.internal.compiler.lookup.PackageBinding pkg ) { com.android.tools.lint.ExternalAnnotationRepository.ClassInfo c = findPackage ( pkg ) ; if ( c == null ) { return null ; } return c.psiAnnotations ; }
Source:
public com.android.manifmerger.XmlDocument reparse ( ) { return new com.android.manifmerger.XmlDocument ( mPositionXmlParser , mSourceLocation , mSelectors , mSystemPropertyResolver , mRootElement ) ; }

Target:
public com.android.manifmerger.XmlDocument reparse ( ) { return new com.android.manifmerger.XmlDocument ( mPositionXmlParser , mSourceLocation , mSelectors , mSystemPropertyResolver , mRootElement , mType ) ; }
Source:
public int untether ( java.lang.String iface ) { throw new java.lang.RuntimeException ( "not implemented" ) ; }

Target:
public void stopTethering ( int type , java.lang.String callerPkg ) { throw new java.lang.RuntimeException ( "not implemented" ) ; }
Source:
public void factory_of_ints ( ) { check ( TEST_2007_07_15 , 2007 , 7 , 15 ) ; }

Target:
public void factory_of_ints ( ) { check ( tck.java.time.TCKLocalDate.TEST_2007_07_15 , 2007 , 7 , 15 ) ; }
Source:
public static boolean isBlockEncrypted ( ) { if ( ! ( android.os.storage.StorageManager.isEncrypted ( ) ) ) { return false ; } final java.lang.String status = android.os.SystemProperties.get ( "ro.crypto.type" , "" ) ; return "block" . equalsIgnoreCase ( status ) ; }

Target:
public static boolean isBlockEncrypted ( ) { if ( ! ( android.os.storage.StorageManager.isEncrypted ( ) ) ) { return false ; } return com.android.internal.os.RoSystemProperties.CRYPTO_BLOCK_ENCRYPTED ; }
Source:
public static java.lang.String [ ] forLocale ( java.util.Locale locale ) { return libcore.icu.TimeZones.forCountryCode ( locale.getCountry ( ) ) ; }

Target:
public static java.lang.String [ ] forLocale ( java.util.Locale locale ) { return libcore.icu.TimeZoneNames.forCountryCode ( locale.getCountry ( ) ) ; }
Source:
private com.android.dialer.phonelookup.PhoneLookupInfo.Cp2Info.Cp2ContactInfo getFirstRemoteContact ( ) { return ( phoneLookupInfo.getCp2RemoteInfo ( ) . getCp2ContactInfoCount ( ) ) > 0 ? phoneLookupInfo.getCp2RemoteInfo ( ) . getCp2ContactInfo ( 0 ) : null ; }

Target:
private com.android.dialer.phonelookup.PhoneLookupInfo.Cp2Info.Cp2ContactInfo getFirstContactInExtendedDirectories ( ) { return ( phoneLookupInfo.getExtendedCp2Info ( ) . getCp2ContactInfoCount ( ) ) > 0 ? phoneLookupInfo.getExtendedCp2Info ( ) . getCp2ContactInfo ( 0 ) : null ; }
Source:
public static boolean TestIntAsBoolean ( ) { return ( Main.InlineConst ( ) ) != true ? true : false ; }

Target:
public static boolean TestConstAsBoolean ( ) { return ( Main.InlineConst ( ) ) != true ? true : false ; }
Source:
void validatePendingIntent ( android.app.PendingIntent intent ) { if ( intent.isTargetedToPackage ( ) ) { return ; } android.util.Slog.i ( com.android.server.LocationManagerService.TAG , ( "Given Intent does not require a specific package: " + intent ) ) ; }

Target:
private void checkPendingIntent ( android.app.PendingIntent intent ) { if ( intent == null ) { throw new java.lang.IllegalArgumentException ( ( "invalid pending intent: " + intent ) ) ; } }
Source:
java.io.File getAidlCompiler ( ) ;

Target:
java.lang.String getAnnotationsJar ( ) ;
Source:
public void getOutgoingCallerIdDisplay ( android.os.Message onComplete ) { mCM.getCLIR ( onComplete ) ; }

Target:
public void getOutgoingCallerIdDisplay ( android.os.Message onComplete ) { mCi.getCLIR ( onComplete ) ; }
Source:
public void onClick ( android.view.View v ) { com.android.dialer.common.LogUtil.i ( "VoicemailTosMessageCreator.maybeShowTosMessage" , "accept clicked" ) ; recordTosAcceptance ( ) ; logTosAcceptedImpression ( ) ; statusReader.refresh ( ) ; }

Target:
public void onClick ( android.view.View v ) { com.android.dialer.common.LogUtil.i ( "VoicemailTosMessageCreator.getTosMessage" , "accept clicked" ) ; recordTosAcceptance ( ) ; recordFeatureAcknowledgement ( ) ; logTosAcceptedImpression ( ) ; statusReader.refresh ( ) ; }
Source:
public void test_RSA_size_null_key_Failure ( ) throws java.lang.Exception { try { org.conscrypt.NativeCrypto.RSA_size ( null ) ; fail ( "Expecting null pointer exception for RSA_size with null key" ) ; } catch ( java.lang.NullPointerException expected ) { } }

Target:
public void test_EVP_get_digestbyname_NullArgument ( ) throws java.lang.Exception { org.conscrypt.NativeCrypto.EVP_get_digestbyname ( null ) ; }
Source:
public boolean remove ( java.lang.Object o ) { int index = indexOf ( o ) ; if ( index == ( - 1 ) ) return false ; remove ( index ) ; return true ; }

Target:
public boolean remove ( java.lang.Object object ) { synchronized ( this ) { int index = indexOf ( object ) ; if ( index == ( - 1 ) ) { return false ; } remove ( index ) ; return true ; } }
Source:
public static void main ( java.lang.String [ ] args ) { Main.DoStaticTests ( ) ; new Main ( ) . DoInstanceTests ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { Main.DoStaticTests ( ) ; new Main ( ) . DoInstanceTests ( ) ; java.lang.System.out.println ( "passed" ) ; }
Source:
public void onTimeDetectionChange ( boolean enabled ) { if ( enabled ) { revertToNitzTime ( ) ; } }

Target:
public void onTimeDetectionChange ( boolean enabled ) { if ( enabled ) { handleAutoTimeEnabled ( ) ; } }
Source:
public com.android.tools.r8.utils.AndroidApp.Builder addProgramFiles ( java.util.Collection < java.nio.file.Path > files ) throws java.io.IOException { return addProgramFiles ( files , false ) ; }

Target:
public com.android.tools.r8.utils.AndroidApp.Builder addProgramFiles ( java.util.Collection < java.nio.file.Path > files ) throws java.io.IOException { for ( java.nio.file.Path file : files ) { addProgramFile ( file ) ; } return this ; }
Source:
public void deleteOnExit ( ) { org.apache.harmony.luni.util.DeleteOnExit.getInstance ( ) . addFile ( getAbsolutePath ( ) ) ; }

Target:
public void deleteOnExit ( ) { libcore.io.DeleteOnExit.getInstance ( ) . addFile ( getAbsolutePath ( ) ) ; }
Source:
public static void requestLayout ( @ com.android.annotations.NonNull com.android.ddmlib.Client client , @ com.android.annotations.NonNull java.lang.String viewRoot , @ com.android.annotations.NonNull java.lang.String view ) throws java.io.IOException { com.android.ddmlib.HandleViewDebug.sendViewOpPacket ( client , com.android.ddmlib.HandleViewDebug.VUOP_LAYOUT_VIEW , viewRoot , view , null ) ; }

Target:
public static void invalidateView ( @ com.android.annotations.NonNull com.android.ddmlib.Client client , @ com.android.annotations.NonNull java.lang.String viewRoot , @ com.android.annotations.NonNull java.lang.String view ) throws java.io.IOException { com.android.ddmlib.HandleViewDebug.invokeMethod ( client , viewRoot , view , "invalidate" ) ; }
Source:
public void out ( @ com.android.annotations.Nullable java.lang.String line ) { filterStdOut ( line ) ; }

Target:
public void err ( @ com.android.annotations.Nullable java.lang.String line ) { filterStdErr ( line ) ; }
Source:
public void start ( ) { mRetryCounter = 0 ; mCurrentDelayMs = mStartDelayMs ; mHandler.removeCallbacks ( mRunnable ) ; mHandler.postDelayed ( mRunnable , mCurrentDelayMs ) ; }

Target:
public void start ( ) { mRetryCounter = 0 ; mCurrentDelayMs = mStartDelayMs ; mHandlerAdapter.removeCallbacks ( mRunnable ) ; mHandlerAdapter.postDelayed ( mRunnable , mCurrentDelayMs ) ; }
Source:
public void mergeInputLibraries ( @ javax.annotation.Nonnull java.util.List < ? extends com.android.jack.library.InputJackLibrary > inputJackLibraryList ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public void mergeInputLibraries ( @ javax.annotation.Nonnull java.util.List < ? extends com.android.jack.library.InputLibrary > importedLibrariesFromCommandLine ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
void writeTrackInfoFile ( java.lang.String trackId , android.media.MediaFormat format , boolean isAudio ) throws java.io.IOException ;

Target:
void writeTrackInfoFiles ( java.util.List < com.android.tv.tuner.exoplayer.buffer.BufferManager.TrackFormat > formatList , boolean isAudio ) throws java.io.IOException ;
Source:
public void testZip64Support ( ) throws java.io.IOException { try { createZipFile ( ( 64 * 1024 ) , 0 ) ; fail ( ) ; } catch ( java.util.zip.ZipException expected ) { } }

Target:
public void testZip64Support ( ) throws java.io.IOException { try { libcore.java.util.zip.ZipFileTest.createZipFile ( ( 64 * 1024 ) , 0 ) ; fail ( ) ; } catch ( java.util.zip.ZipException expected ) { } }
Source:
native int rsnContextCreate ( int dev , int ver , int sdkVer , int contextType ) ;

Target:
synchronized long nContextCreate ( long dev , int ver , int sdkVer , int contextType ) { return rsnContextCreate ( dev , ver , sdkVer , contextType ) ; }
Source:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { Main st = new Main ( ) ; st.f ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { Main st = new Main ( ) ; st.$noinline$f ( ) ; }
Source:
protected void launchJob ( org.eclipse.core.runtime.jobs.Job newJob ) { newJob.setPriority ( Job.BUILD ) ; newJob.schedule ( ) ; }

Target:
protected void launchJob ( org.eclipse.core.runtime.jobs.Job newJob ) { newJob.setPriority ( Job.BUILD ) ; newJob.setRule ( org.eclipse.core.resources.ResourcesPlugin.getWorkspace ( ) . getRoot ( ) ) ; newJob.schedule ( ) ; }
Source:
static com.android.manifmerger.XmlDocument xmlDocumentFromString ( @ com.android.annotations.NonNull com.android.manifmerger.KeyResolver < java.lang.String > selectors , @ com.android.annotations.NonNull com.android.manifmerger.XmlLoader.SourceLocation location , java.lang.String input ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { return com.android.manifmerger.XmlLoader.load ( selectors , com.android.manifmerger.TestUtils.NO_PROPERTY_RESOLVER , location , input ) ; }

Target:
static com.android.manifmerger.XmlDocument xmlDocumentFromString ( @ com.android.annotations.NonNull com.android.manifmerger.KeyResolver < java.lang.String > selectors , @ com.android.annotations.NonNull com.android.manifmerger.XmlLoader.SourceLocation location , java.lang.String input ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { return com.android.manifmerger.XmlLoader.load ( selectors , com.android.manifmerger.TestUtils.NO_PROPERTY_RESOLVER , location , input , XmlDocument.Type.LIBRARY ) ; }
Source:
public static native java.lang.reflect.ArtMethod findOverriddenMethodIfProxy ( java.lang.reflect.ArtMethod method ) ;

Target:
private native java.lang.reflect.Method getDeclaredMethodInternal ( java.lang.String name , java.lang.Class < ? > [ ] args ) ;
Source:
public void registerForSuppServiceNotification ( android.os.Handler h , int what , java.lang.Object obj ) { android.util.Log.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "method registerForSuppServiceNotification is NOT supported in CDMA!" ) ; }

Target:
public void registerForSuppServiceNotification ( android.os.Handler h , int what , java.lang.Object obj ) { android.telephony.Rlog.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "method registerForSuppServiceNotification is NOT supported in CDMA!" ) ; }
Source:
com.android.sdklib.IAndroidTarget.IOptionalLibrary [ ] getOptionalLibraries ( ) ;

Target:
java.util.List < com.android.sdklib.IAndroidTarget.OptionalLibrary > getOptionalLibraries ( ) ;
Source:
private static boolean isident ( char c ) { if ( ( c == '"' ) || ( com.android.tools.metalava.doclava1.ApiFile.issep ( c , true ) ) ) { return false ; } return true ; }

Target:
private static boolean isIdent ( char c ) { if ( ( c == '"' ) || ( com.android.tools.metalava.doclava1.ApiFile.isSeparator ( c , true ) ) ) { return false ; } return true ; }
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 ( com.android.resources.ScreenSize.NORMAL ) ) ) ; assertEquals ( "@android:style/Theme" , info.getDefaultTheme ( null ) ) ; assertEquals ( "Theme" , com.android.ide.eclipse.adt.internal.resources.ResourceHelper.styleToTheme ( info.getDefaultTheme ( 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 , 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 ) ) ) ; }
Source:
static char $opt$ShortToChar ( short a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( char ) ( a ) ) ; }

Target:
static char $opt$noinline$ShortToChar ( short a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( char ) ( a ) ) ; }
Source:
protected void dispatchPortAddressedPdus ( byte [ ] [ ] pdus , int port ) { android.net.Uri uri = android.net.Uri.parse ( ( "sms://localhost:" + port ) ) ; android.content.Intent intent = new android.content.Intent ( android.provider.Telephony.Sms.Intents.DATA_SMS_RECEIVED_ACTION , uri ) ; intent.putExtra ( "pdus" , pdus ) ; intent.putExtra ( "format" , getFormat ( ) ) ; dispatch ( intent , com.android.internal.telephony.SMSDispatcher.RECEIVE_SMS_PERMISSION , AppOpsManager.OP_RECEIVE_SMS ) ; }

Target:
public void sendRetrySms ( com.android.internal.telephony.SMSDispatcher.SmsTracker tracker ) { if ( ( mImsSMSDispatcher ) != null ) { mImsSMSDispatcher.sendRetrySms ( tracker ) ; } else { android.telephony.Rlog.e ( com.android.internal.telephony.SMSDispatcher.TAG , ( ( mImsSMSDispatcher ) + " is null. Retry failed" ) ) ; } }
Source:
public void onStart ( ) { super . onStart ( ) ; bindService ( new android.content.Intent ( this , com.googlecode.android_scripting.activity.ScriptingLayerService.class ) , mConnection , 0 ) ; }

Target:
public void onStart ( ) { super . onStart ( ) ; bindService ( new android.content.Intent ( this , com.googlecode.android_scripting.service.ScriptingLayerService.class ) , mConnection , 0 ) ; }
Source:
public synchronized void cleanup ( ) throws android.os.RemoteException { if ( com.android.server.pm.OtaDexoptService.DEBUG_DEXOPT ) { android.util.Log.i ( com.android.server.pm.OtaDexoptService.TAG , "Cleaning up OTA Dexopt state." ) ; } mDexoptCommands = null ; performMetricsLogging ( ) ; }

Target:
public synchronized void cleanup ( ) throws android.os.RemoteException { if ( com.android.server.pm.OtaDexoptService.DEBUG_DEXOPT ) { android.util.Log.i ( com.android.server.pm.OtaDexoptService.TAG , "Cleaning up OTA Dexopt state." ) ; } mDexoptCommands = null ; availableSpaceAfterDexopt = getAvailableSpace ( ) ; performMetricsLogging ( ) ; }
Source:
void onPostDialWait ( java.lang.String callId , java.lang.String remaining ) { for ( com.android.internal.telecom.IConnectionServiceAdapter adapter : mAdapters ) { try { adapter.onPostDialWait ( callId , remaining ) ; } catch ( android.os.RemoteException ignored ) { } } }

Target:
void onPostDialWait ( java.lang.String callId , java.lang.String remaining ) { for ( com.android.internal.telecom.IConnectionServiceAdapter adapter : mAdapters ) { try { adapter.onPostDialWait ( callId , remaining , android.telecom.Log.getExternalSession ( ) ) ; } catch ( android.os.RemoteException ignored ) { } } }
Source:
public static void computeMin ( android.renderscript.cts.TestMin.ArgumentsFloatFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( 0 , 0 , false ) ; args.out = t.new32 ( java.lang.Math.min ( args.in , args.in1 ) ) ; }

Target:
public static void computeMin ( android.renderscript.cts.TestMin.ArgumentsFloatFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( 0 , 0 , false ) ; args.out = t.new32 ( java.lang.Math.min ( args.inA , args.inB ) ) ; }
Source:
public TestCaseBuilder addCanvasClient ( java.lang.String debugString , android.uirendering.cts.testinfrastructure.CanvasClient canvasClient ) { }

Target:
private android.uirendering.cts.testinfrastructure.ActivityTestBase.TestCaseBuilder addCanvasClientInternal ( java.lang.String debugString , android.uirendering.cts.testinfrastructure.CanvasClient canvasClient , boolean useHardware , boolean usePicture ) { mTestCases.add ( new android.uirendering.cts.testinfrastructure.ActivityTestBase.TestCase ( canvasClient , debugString , useHardware , usePicture ) ) ; return this ; }
Source:
com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo findViewInfoAt ( int x , int y ) { if ( ( mLastValidViewInfoRoot ) == null ) { return null ; } else { return findViewInfoAt ( x , y , mLastValidViewInfoRoot ) ; } }

Target:
com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo findViewInfoAt ( int x , int y ) { if ( ( mLastValidViewInfoRoot ) == null ) { return null ; } else { return findViewInfoAt_Recursive ( x , y , mLastValidViewInfoRoot ) ; } }
Source:
public void dispose ( java.lang.String appName , int subId ) throws android.os.RemoteException { }

Target:
public void dispose ( java.lang.String appName , int subscriptionId ) throws android.os.RemoteException { }