/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/lint/ |
D | ProjectLintConfigurationTest.java | 51 ProjectLintConfiguration config = in testBasic() local 57 assertTrue(config.isEnabled(usuallyEnabledIssue)); in testBasic() 58 assertFalse(config.isEnabled(usuallyDisabledIssue)); in testBasic() 60 config.setSeverity(usuallyEnabledIssue, Severity.IGNORE); in testBasic() 61 config.setSeverity(usuallyDisabledIssue, Severity.ERROR); in testBasic() 62 assertFalse(config.isEnabled(usuallyEnabledIssue)); in testBasic() 63 assertTrue(config.isEnabled(usuallyDisabledIssue)); in testBasic() 67 config = new ProjectLintConfiguration(client, project, parent, false /*fatalOnly*/); in testBasic() 68 assertFalse(config.isEnabled(usuallyEnabledIssue)); in testBasic() 69 assertTrue(config.isEnabled(usuallyDisabledIssue)); in testBasic() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
D | AndroidLaunchConfiguration.java | 107 public void set(ILaunchConfiguration config) { in set() argument 109 mLaunchAction = config.getAttribute(LaunchConfigDelegate.ATTR_LAUNCH_ACTION, in set() 115 mTargetMode = parseTargetMode(config, mTargetMode); in set() 118 mReuseLastUsedDevice = config.getAttribute( in set() 120 mLastUsedDevice = config.getAttribute( in set() 127 mAvdName = config.getAttribute(LaunchConfigDelegate.ATTR_AVD_NAME, mAvdName); in set() 134 index = config.getAttribute(LaunchConfigDelegate.ATTR_SPEED, index); in set() 142 index = config.getAttribute(LaunchConfigDelegate.ATTR_DELAY, index); in set() 149 mEmulatorCommandLine = config.getAttribute( in set() 156 mWipeData = config.getAttribute(LaunchConfigDelegate.ATTR_WIPE_DATA, mWipeData); in set() [all …]
|
D | LaunchConfigDelegate.java | 222 AndroidLaunchConfiguration config = new AndroidLaunchConfiguration(); in launch() local 225 config.set(configuration); in launch() 246 doLaunch(configuration, mode, monitor, project, androidLaunch, config, controller, in launch() 252 AndroidLaunchConfiguration config, AndroidLaunchController controller, in doLaunch() argument 257 if (config.mLaunchAction == ACTION_ACTIVITY) { in doLaunch() 271 config.mLaunchAction = ACTION_DO_NOTHING; in doLaunch() 283 revertToNoActionLaunch(project, config); in doLaunch() 305 revertToNoActionLaunch(project, config); in doLaunch() 309 } else if (config.mLaunchAction == ACTION_DEFAULT) { in doLaunch() 317 revertToNoActionLaunch(project, config); in doLaunch() [all …]
|
D | AndroidLaunchController.java | 171 ILaunchConfiguration config = AndroidLaunchController.getLaunchConfig(project, in debugRunningApp() local 174 if (config != null) { in debugRunningApp() 175 setPortLaunchConfigAssociation(config, debugPort); in debugRunningApp() 178 DebugUITools.launch(config, ILaunchManager.DEBUG_MODE); in debugRunningApp() 199 ILaunchConfiguration config = findConfig(manager, configType, name); in getLaunchConfig() local 202 if (config == null) { in getLaunchConfig() 264 return config; in getLaunchConfig() 302 final AndroidLaunchConfiguration config, final AndroidLaunch launch, in launch() argument 327 config.mTargetMode = TargetMode.MANUAL; in launch() 366 if (config.mReuseLastUsedDevice) { in launch() [all …]
|
D | LaunchShortcut.java | 96 ILaunchConfiguration config = AndroidLaunchController.getLaunchConfig(project, in launch() local 99 if (config != null) { in launch() 101 DebugUITools.launch(config, mode); in launch()
|
D | MainLaunchConfigTab.java | 326 public void initializeFrom(ILaunchConfiguration config) { in initializeFrom() argument 329 projectName = config.getAttribute(IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME, in initializeFrom() 342 mLaunchAction = config.getAttribute(LaunchConfigDelegate.ATTR_LAUNCH_ACTION, in initializeFrom() 357 activityName = config.getAttribute(LaunchConfigDelegate.ATTR_ACTIVITY, EMPTY_STRING); in initializeFrom() 395 protected void mapResources(ILaunchConfigurationWorkingCopy config) { in mapResources() argument 406 config.setMappedResources(resources); in mapResources()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/launch/ |
D | NdkGdbLaunchShortcut.java | 88 ILaunchConfiguration config = AndroidLaunchController.getLaunchConfig(project, in debugProject() local 90 if (config == null) { in debugProject() 95 if (!hasNdkAttributes(config)) { in debugProject() 97 config = setNdkDefaults(config, project); in debugProject() 106 DebugUITools.launch(config, mode); in debugProject() 109 private boolean hasNdkAttributes(ILaunchConfiguration config) { in hasNdkAttributes() argument 112 boolean isRemote = config.getAttribute(IGDBLaunchConfigurationConstants.ATTR_REMOTE_TCP, in hasNdkAttributes() 120 private ILaunchConfiguration setNdkDefaults(ILaunchConfiguration config, IProject project) in setNdkDefaults() argument 122 ILaunchConfigurationWorkingCopy wc = config.getWorkingCopy(); in setNdkDefaults()
|
D | NdkDebuggerTab.java | 257 public void setDefaults(ILaunchConfigurationWorkingCopy config) { in setDefaults() argument 258 NdkHelper.setLaunchConfigDefaults(config); in setDefaults() 262 public void initializeFrom(ILaunchConfiguration config) { in initializeFrom() argument 263 mGdbPathText.setText(getAttribute(config, NdkLaunchConstants.ATTR_NDK_GDB, in initializeFrom() 265 mGdbInitPathText.setText(getAttribute(config, in initializeFrom() 268 mGdbRemotePortText.setText(getAttribute(config, IGDBLaunchConfigurationConstants.ATTR_PORT, in initializeFrom() 271 List<String> solibs = getAttribute(config, NdkLaunchConstants.ATTR_NDK_SOLIB, in initializeFrom() 279 private String getAttribute(ILaunchConfiguration config, String key, String defaultValue) { in getAttribute() argument 281 return config.getAttribute(key, defaultValue); in getAttribute() 287 private List<String> getAttribute(ILaunchConfiguration config, String key, in getAttribute() argument [all …]
|
D | NdkGdbLaunchDelegate.java | 87 public void launch(ILaunchConfiguration config, String mode, ILaunch launch, in launch() argument 89 boolean launched = doLaunch(config, mode, launch, monitor); in launch() 98 public boolean doLaunch(final ILaunchConfiguration config, String mode, ILaunch launch, in doLaunch() argument 101 ICProject cProject = CDebugUtils.getCProject(config); in doLaunch() 132 getActivityNameInLaunchConfig(config), in doLaunch() 150 final String configName = config.getName(); in doLaunch() 156 } else if ((device = getLastUsedDevice(config, devices)) == null) { in doLaunch() 169 AndroidLaunchController.updateLaunchConfigWithLastUsedDevice(config, in doLaunch() 332 String localport = config.getAttribute(IGDBLaunchConfigurationConstants.ATTR_PORT, in doLaunch() 345 ILaunchConfiguration config2 = performVariableSubstitutions(config, project, compatAbi, in doLaunch() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/ |
D | NdkHelper.java | 161 public static void setLaunchConfigDefaults(ILaunchConfigurationWorkingCopy config) { in setLaunchConfigDefaults() argument 162 config.setAttribute(IGDBLaunchConfigurationConstants.ATTR_REMOTE_TCP, true); in setLaunchConfigDefaults() 163 config.setAttribute(NdkLaunchConstants.ATTR_NDK_GDB, NdkLaunchConstants.DEFAULT_GDB); in setLaunchConfigDefaults() 164 config.setAttribute(IGDBLaunchConfigurationConstants.ATTR_GDB_INIT, in setLaunchConfigDefaults() 166 config.setAttribute(IGDBLaunchConfigurationConstants.ATTR_PORT, in setLaunchConfigDefaults() 168 config.setAttribute(IGDBLaunchConfigurationConstants.ATTR_HOST, "localhost"); //$NON-NLS-1$ in setLaunchConfigDefaults() 169 config.setAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_STOP_AT_MAIN, false); in setLaunchConfigDefaults() 170 config.setAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_START_MODE, in setLaunchConfigDefaults() 172 config.setAttribute(ICDTLaunchConfigurationConstants.ATTR_PROGRAM_NAME, in setLaunchConfigDefaults() 175 config.setAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_START_MODE, in setLaunchConfigDefaults() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/ |
D | AndroidJUnitLaunchConfigurationTab.java | 356 public void initializeFrom(ILaunchConfiguration config) { in initializeFrom() argument 357 String projectName = updateProjectFromConfig(config); in initializeFrom() 360 containerHandle = config.getAttribute( in initializeFrom() 367 updateTestContainerFromConfig(config); in initializeFrom() 369 updateTestTypeFromConfig(config); in initializeFrom() 374 updateInstrumentationFromConfig(config); in initializeFrom() 375 updateTestSizeFromConfig(config); in initializeFrom() 380 private void updateInstrumentationFromConfig(ILaunchConfiguration config) { in updateInstrumentationFromConfig() argument 383 String currentInstrumentation = config.getAttribute( in updateInstrumentationFromConfig() 403 private void updateTestSizeFromConfig(ILaunchConfiguration config) { in updateTestSizeFromConfig() argument [all …]
|
D | AndroidJUnitLaunchShortcut.java | 41 ILaunchConfigurationWorkingCopy config = super.createLaunchConfiguration(element); in createLaunchConfiguration() local 46 config.setAttribute(AndroidJUnitLaunchConfigDelegate.ATTR_INSTR_NAME, in createLaunchConfiguration() 53 AndroidJUnitLaunchConfigDelegate.setJUnitDefaults(config); in createLaunchConfiguration() 54 return config; in createLaunchConfiguration()
|
D | AndroidJUnitLaunchConfigDelegate.java | 71 final AndroidLaunch androidLaunch, final AndroidLaunchConfiguration config, in doLaunch() argument 110 junitLaunch, config, androidLaunch, monitor); in doLaunch() 119 junitLaunch, config, androidLaunch, monitor); in doLaunch() 281 static void setJUnitDefaults(ILaunchConfigurationWorkingCopy config) { in setJUnitDefaults() argument 283 config.setAttribute(JUnitLaunchConfigurationConstants.ATTR_TEST_RUNNER_KIND, in setJUnitDefaults()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/layoutRendering/ |
D | ApiDemosRenderingTest.java | 234 FolderConfiguration config = getConfiguration(); in testSample() local 238 framework.getConfiguredResources(config); in testSample() 240 project.getConfiguredResources(config); in testSample() 307 FolderConfiguration config = new FolderConfiguration(); in getConfiguration() local 310 config.addQualifier(new SmallestScreenWidthQualifier(320)); in getConfiguration() 311 config.addQualifier(new ScreenWidthQualifier(320)); in getConfiguration() 312 config.addQualifier(new ScreenHeightQualifier(480)); in getConfiguration() 313 config.addQualifier(new ScreenSizeQualifier(ScreenSize.NORMAL)); in getConfiguration() 314 config.addQualifier(new ScreenRatioQualifier(ScreenRatio.NOTLONG)); in getConfiguration() 315 config.addQualifier(new ScreenOrientationQualifier(ScreenOrientation.PORTRAIT)); in getConfiguration() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.pdt/src/com/android/ide/eclipse/pdt/internal/ |
D | DebuggerConnector.java | 62 ILaunchConfiguration config = findConfig(manager, configType, projectName, in connectDebugger() local 65 if (config == null) { in connectDebugger() 90 config = wc.doSave(); in connectDebugger() 98 if (config != null) { in connectDebugger() 99 DebugUITools.launch(config, ILaunchManager.DEBUG_MODE); in connectDebugger() 124 for (ILaunchConfiguration config : configs) { in findConfig() 126 Map<?, ?> attributes = config.getAttributes(); in findConfig() 143 return config; in findConfig()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
D | FixLaunchConfig.java | 90 for (ILaunchConfiguration config : configs) { in run() 93 ILaunchConfigurationWorkingCopy copy = config.getWorkingCopy(); in run() 96 String activity = config.getAttribute(LaunchConfigDelegate.ATTR_ACTIVITY, in run() 142 for (ILaunchConfiguration config : configs) { in findConfigs() 143 if (config.getAttribute( in findConfigs() 146 list.add(config); in findConfigs()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
D | LocaleTest.java | 92 FolderConfiguration config = new FolderConfiguration(); in testFolderConfig() local 93 assertEquals(Locale.ANY, Locale.create(config)); in testFolderConfig() 94 config.setLocaleQualifier(LocaleQualifier.getQualifier("en")); in testFolderConfig() 95 assertEquals(Locale.create("en"), Locale.create(config)); in testFolderConfig() 96 config.setLocaleQualifier(LocaleQualifier.getQualifier("en-rUS")); in testFolderConfig() 97 assertEquals(Locale.create("en-rUS"), Locale.create(config)); in testFolderConfig()
|
/sdk/testapps/basicProjectWithAidl/ |
D | project.properties | 12 proguard.config=../proguard.config
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/resources/ |
D | ResourceHelperTest.java | 41 public boolean checkAndSet(String value, FolderConfiguration config) { in checkAndSet() argument 101 FolderConfiguration config = new FolderConfiguration(); in testGetIcon() local 102 config.createDefault(); in testGetIcon() 105 ResourceQualifier qual = config.getQualifier(i); in testGetIcon()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
D | LayoutCreatorDialog.java | 56 public LayoutCreatorDialog(Shell parentShell, String fileName, FolderConfiguration config) { in LayoutCreatorDialog() argument 62 mConfig.set(config); in LayoutCreatorDialog() 136 public void getConfiguration(FolderConfiguration config) { in getConfiguration() argument 137 config.set(mConfig); in getConfiguration()
|
D | ConfigurationMatcher.java | 98 private final FolderConfiguration config; field in ConfigurationMatcher.ConfigBundle 104 config = new FolderConfiguration(); in ConfigBundle() 108 config = new FolderConfiguration(); in ConfigBundle() 109 config.set(bundle.config); in ConfigBundle() 146 public boolean isCurrentFileBestMatchFor(FolderConfiguration config) { in isCurrentFileBestMatchFor() argument 148 ResourceType.LAYOUT, config); in isCurrentFileBestMatchFor() 289 bundle.config.setLocaleQualifier(l.qualifier); in findAndSetCompatibleConfig() 315 testConfig.add(bundle.config); in findAndSetCompatibleConfig() 407 bundle.config.setVersionQualifier( in addRenderTargetToBundles() 422 b.config.setUiModeQualifier(new UiModeQualifier(mode)); in addDockModeToBundles() [all …]
|
D | OrientationMenuAction.java | 77 for (State config : states) { in showMenu() 78 manager.add(new DeviceConfigAction(configChooser, config.getName(), in showMenu() 79 config, config == current, false)); in showMenu()
|
D | ConfigurationChooser.java | 560 FolderConfiguration config = resFolder.getConfiguration(); in changeFileOnNewConfig() local 561 mConfiguration.setEditedConfig(config); in changeFileOnNewConfig() 565 selectConfiguration(config); in changeFileOnNewConfig() 594 FolderConfiguration config = FolderConfiguration.getConfig( in resetConfigFor() local 596 if (config != null) { in resetConfigFor() 597 mConfiguration.setEditedConfig(config); in resetConfigFor() 754 FolderConfiguration config = FolderConfiguration.getConfig( in onXmlModelLoaded() local 756 if (config != null) { in onXmlModelLoaded() 757 mConfiguration.setEditedConfig(config); in onXmlModelLoaded() 1000 FolderConfiguration config = DeviceConfigHelper.getFolderConfig(state); in getOrientation() local [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/resources/manager/ |
D | ConfigMatchTest.java | 261 FolderConfiguration config = new FolderConfiguration(); in getConfiguration() local 266 assertTrue(mDefaultConfig.getQualifier(i).checkAndSet(value, config)); in getConfiguration() 270 return config; in getConfiguration() 280 private void addFolder(ResourceRepository resources, FolderConfiguration config, in addFolder() argument 284 String folderName = config.getFolderName(ResourceFolderType.LAYOUT); in addFolder()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | RenderPreview.java | 374 FolderConfiguration config = mConfiguration.getFullConfig(); in updateForkStatus() local 375 if (mAlternateInput != null && chooser.isBestMatchFor(mAlternateInput, config)) { in updateForkStatus() 382 if (!chooser.isBestMatchFor(editedFile, config)) { in updateForkStatus() 386 ResourceType.LAYOUT, config); in updateForkStatus() 616 FolderConfiguration config = configuration.getFullConfig(); in getResourceResolver() local 629 configuredFrameworkRes = frameworkRes.getConfiguredResources(config); in getResourceResolver() 642 configuredProjectRes = projectRes.getConfiguredResources(config); in getResourceResolver() 1061 VaryingConfiguration config = (VaryingConfiguration) mConfiguration; in configurationChanged() local 1062 int alternateFlags = config.getAlternateFlags(); in configurationChanged() 1065 State configState = config.getDeviceState(); in configurationChanged() [all …]
|