Home
last modified time | relevance | path

Searched refs:setProperty (Results 1 – 25 of 67) sorted by relevance

123

/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/internal/repository/packages/
DExtraPackageTest_v3.java58 props.setProperty(PkgProps.EXTRA_VENDOR, "vendor"); in createLoadedProps()
59 props.setProperty(PkgProps.EXTRA_PATH, "the_path"); in createLoadedProps()
60 props.setProperty(PkgProps.EXTRA_OLD_PATHS, "old_path1;oldpath2"); in createLoadedProps()
61 props.setProperty(PkgProps.EXTRA_MIN_API_LEVEL, "11"); in createLoadedProps()
62 props.setProperty(PkgProps.EXTRA_PROJECT_FILES, in createLoadedProps()
73 props.setProperty(PkgProps.EXTRA_VENDOR_ID, "vendor"); in createSavedProps()
74 props.setProperty(PkgProps.EXTRA_VENDOR_DISPLAY, "vendor"); in createSavedProps()
75 props.setProperty(PkgProps.EXTRA_NAME_DISPLAY, "Vendor The Path"); in createSavedProps()
76 props.setProperty(PkgProps.EXTRA_PATH, "the_path"); in createSavedProps()
77 props.setProperty(PkgProps.EXTRA_OLD_PATHS, "old_path1;oldpath2"); in createSavedProps()
[all …]
DExtraPackageTest_v4.java58 props.setProperty(PkgProps.EXTRA_VENDOR_ID, "the_vendor"); in createProps()
59 props.setProperty(PkgProps.EXTRA_VENDOR_DISPLAY, "The Company, Inc."); in createProps()
60 props.setProperty(PkgProps.EXTRA_NAME_DISPLAY, "Some Extra Package"); in createProps()
61 props.setProperty(PkgProps.EXTRA_PATH, "the_path"); in createProps()
62 props.setProperty(PkgProps.EXTRA_OLD_PATHS, "old_path1;oldpath2"); in createProps()
63 props.setProperty(PkgProps.EXTRA_MIN_API_LEVEL, "11"); in createProps()
64 props.setProperty(PkgProps.EXTRA_PROJECT_FILES, in createProps()
113 props2.setProperty(PkgProps.EXTRA_VENDOR_ID, "vendor2"); in testSameItemAs()
114 props2.setProperty(PkgProps.EXTRA_VENDOR_DISPLAY, "Another Vendor Name"); in testSameItemAs()
120 props2.setProperty(PkgProps.EXTRA_PATH, "new_path2"); in testSameItemAs()
[all …]
DPackageTest.java139 props.setProperty(PkgProps.PKG_REVISION, "42"); in createProps()
140 props.setProperty(PkgProps.PKG_LICENSE, "The License"); in createProps()
141 props.setProperty(PkgProps.PKG_DESC, "Some description."); in createProps()
142 props.setProperty(PkgProps.PKG_DESC_URL, "http://description/url"); in createProps()
143 props.setProperty(PkgProps.PKG_RELEASE_NOTE, "Release Note"); in createProps()
144 props.setProperty(PkgProps.PKG_RELEASE_URL, "http://release/note"); in createProps()
145 props.setProperty(PkgProps.PKG_SOURCE_URL, "http://source/url"); in createProps()
146 props.setProperty(PkgProps.PKG_OBSOLETE, "true"); in createProps()
206 p.setProperty("key", ""); in testGetPropertyInt()
209 p.setProperty("key", "I am not a number"); in testGetPropertyInt()
[all …]
DSystemImagePackageTest.java78 props.setProperty(PkgProps.VERSION_API_LEVEL, "5"); in createProps()
79 props.setProperty(PkgProps.SYS_IMG_ABI, "armeabi-v7a"); in createProps()
120 props2.setProperty(PkgProps.SYS_IMG_ABI, "x86"); in testSameItemAs()
126 props2.setProperty(PkgProps.VERSION_API_LEVEL, "6"); in testSameItemAs()
133 props3.setProperty(PkgProps.VERSION_API_LEVEL, "6"); in testSameItemAs()
DPlatformPackageTest.java67 props.setProperty(PkgProps.VERSION_API_LEVEL, "5"); in createProps()
68 props.setProperty(PkgProps.PLATFORM_VERSION, "android-5"); in createProps()
69 props.setProperty(PkgProps.PLATFORM_INCLUDED_ABI, "armeabi"); in createProps()
DMockAddonPackage.java72 props.setProperty(PkgProps.ADDON_NAME_ID, name); in createProperties()
73 props.setProperty(PkgProps.ADDON_NAME_DISPLAY, in createProperties()
76 props.setProperty(PkgProps.ADDON_VENDOR_ID, in createProperties()
78 props.setProperty(PkgProps.ADDON_VENDOR_DISPLAY, in createProperties()
DSourcePackageTest.java73 props.setProperty(PkgProps.VERSION_API_LEVEL, "5"); in createProps()
113 props2.setProperty(PkgProps.VERSION_API_LEVEL, "6"); in testSameItemAs()
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/internal/repository/sources/
DSdkSourcePropertiesTest.java80 m.setProperty(SdkSourceProperties.KEY_DISABLED, "http://example.com/1", "disabled"); in testSdkSourceProperties()
90 m.setProperty(SdkSourceProperties.KEY_NAME, "http://example.com/2", "Site Name"); in testSdkSourceProperties()
111 m.setProperty(SdkSourceProperties.KEY_DISABLED, "http://example.com/1", "disabled"); in testSdkSourceProperties()
112 m.setProperty(SdkSourceProperties.KEY_NAME, "http://example.com/2", "Site Name"); in testSdkSourceProperties()
116 m.setProperty(SdkSourceProperties.KEY_DISABLED, "http://example.com/1", "not disabled"); in testSdkSourceProperties()
117 m.setProperty(SdkSourceProperties.KEY_NAME, "http://example.com/2", "New Name"); in testSdkSourceProperties()
128 m.setProperty(SdkSourceProperties.KEY_NAME, "http://example.com/2", null); in testSdkSourceProperties()
/sdk/anttasks/src/com/android/ant/
DGetTypeTask.java66 antProject.setProperty(mProjectTypeOut, "library"); in execute()
74 antProject.setProperty(mProjectTypeOut, "test"); in execute()
95 antProject.setProperty(mProjectTypeOut, "test-app"); in execute()
107 antProject.setProperty(mProjectTypeOut, "app"); in execute()
DGetTargetTask.java172 antProject.setProperty(mTargetApiOut, in execute()
180 antProject.setProperty(mAndroidJarFileOut, androidJar); in execute()
183 antProject.setProperty(mAndroidAidlFileOut, androidAidl); in execute()
258 antProject.setProperty(mMinSdkVersionOut, in checkManifest()
276 antProject.setProperty(mMinSdkVersionOut, value); in checkManifest()
291 antProject.setProperty(mMinSdkVersionOut, "1"); in checkManifest()
DGetProjectPathsTask.java67 getProject().setProperty(outName, new File(mProjectPath, value).getAbsolutePath()); in handleProp()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
DAndroidXmlFormatter.java49 context.setProperty(FormattingContextProperties.CONTEXT_DOCUMENT, Boolean.FALSE); in format()
50 context.setProperty(FormattingContextProperties.CONTEXT_REGION, region); in format()
62 context.setProperty(FormattingContextProperties.CONTEXT_MEDIUM, document); in format()
77 context.setProperty(FormattingContextProperties.CONTEXT_PARTITION, in formatMaster()
DXmlFormatProcessor.java52 context.setProperty(CONTEXT_MEDIUM, document); in formatModel()
53 context.setProperty(CONTEXT_PARTITION, new TypedPosition(start, length, in formatModel()
55 context.setProperty(CONTEXT_REGION, new org.eclipse.jface.text.Region(start, length)); in formatModel()
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/
DHierarchyViewer.java37 System.setProperty("apple.laf.useScreenMenuBar", "true"); in initUserInterface()
38 System.setProperty("apple.awt.brushMetalLook", "true"); in initUserInterface()
39 System.setProperty("com.apple.mrj.application.apple.menu.about.name", "HierarchyViewer"); in initUserInterface()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DLayoutMetadataTest.java62 LayoutMetadata.setProperty(document, node, in testOldMetadata1()
72 LayoutMetadata.setProperty(document, node, in testOldMetadata1()
85 LayoutMetadata.setProperty(document, node, in testOldMetadata1()
98 LayoutMetadata.setProperty(document, node, in testOldMetadata1()
111 LayoutMetadata.setProperty(document, node, in testOldMetadata1()
121 LayoutMetadata.setProperty(document, node, in testOldMetadata1()
144 LayoutMetadata.setProperty(document, node, in testMetadata2()
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/
DSettingsController.java209 mSettings.mProperties.setProperty( in setMonitorDensity()
217 mSettings.mProperties.setProperty(key, Boolean.toString(value)); in setSetting()
373 props.setProperty(JAVA_PROP_HTTP_PROXY_HOST, proxyHost); in applySettings()
374 props.setProperty(JAVA_PROP_HTTPS_PROXY_HOST, proxyHost); in applySettings()
377 props.setProperty(JAVA_PROP_HTTP_PROXY_PORT, proxyPort); in applySettings()
378 props.setProperty(JAVA_PROP_HTTPS_PROXY_PORT, proxyPort); in applySettings()
DSettingsDialog.java232 outSettings.setProperty(KEY_HTTP_PROXY_HOST, mTextProxyServer.getText()); in retrieveSettings()
233 outSettings.setProperty(KEY_HTTP_PROXY_PORT, mTextProxyPort.getText()); in retrieveSettings()
234 outSettings.setProperty(KEY_FORCE_HTTP, in retrieveSettings()
236 outSettings.setProperty(KEY_ASK_ADB_RESTART, in retrieveSettings()
238 outSettings.setProperty(KEY_USE_DOWNLOAD_CACHE, in retrieveSettings()
240 outSettings.setProperty(KEY_ENABLE_PREVIEWS, in retrieveSettings()
/sdk/draw9patch/src/com/android/draw9patch/
DApplication.java27 System.setProperty("apple.laf.useScreenMenuBar", "true"); in initUserInterface()
28 System.setProperty("com.apple.mrj.application.apple.menu.about.name", "Draw 9-patch"); in initUserInterface()
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/ui/
DShellSizeAndPos.java106 props.setProperty(prefix + PX, Integer.toString(loc.x)); in saveSizeAndPos()
107 props.setProperty(prefix + PY, Integer.toString(loc.y)); in saveSizeAndPos()
108 props.setProperty(prefix + SX, Integer.toString(size.x)); in saveSizeAndPos()
109 props.setProperty(prefix + SY, Integer.toString(size.y)); in saveSizeAndPos()
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/sources/
DSdkSourceProperties.java111 public void setProperty(String key, String sourceUrl, String value) { in setProperty() method in SdkSourceProperties
126 sSourcesProperties.setProperty(key, value); in setProperty()
173 sSourcesProperties.setProperty(KEY_VERSION, "1"); //$NON-NLS-1$ //$NON-NLS-2$ in loadLocked()
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/packages/
DLayoutlibVersionMixin.java80 props.setProperty(PkgProps.LAYOUTLIB_API, mLayoutlibVersion.getFirst().toString()); in saveProperties()
81 props.setProperty(PkgProps.LAYOUTLIB_REV, mLayoutlibVersion.getSecond().toString()); in saveProperties()
DPackage.java256 props.setProperty(PkgProps.PKG_LICENSE, mLicense); in saveProperties()
259 props.setProperty(PkgProps.PKG_DESC, mDescription); in saveProperties()
262 props.setProperty(PkgProps.PKG_DESC_URL, mDescUrl); in saveProperties()
266 props.setProperty(PkgProps.PKG_RELEASE_NOTE, mReleaseNote); in saveProperties()
269 props.setProperty(PkgProps.PKG_RELEASE_URL, mReleaseUrl); in saveProperties()
272 props.setProperty(PkgProps.PKG_OBSOLETE, mObsolete); in saveProperties()
275 props.setProperty(PkgProps.PKG_SOURCE_URL, mSource.getUrl()); in saveProperties()
DExtraPackage.java283 props.setProperty(PkgProps.EXTRA_PATH, mPath); in saveProperties()
284 props.setProperty(PkgProps.EXTRA_NAME_DISPLAY, mDisplayName); in saveProperties()
285 props.setProperty(PkgProps.EXTRA_VENDOR_DISPLAY, mVendorDisplay); in saveProperties()
286 props.setProperty(PkgProps.EXTRA_VENDOR_ID, mVendorId); in saveProperties()
289 props.setProperty(PkgProps.EXTRA_MIN_API_LEVEL, Integer.toString(getMinApiLevel())); in saveProperties()
300 props.setProperty(PkgProps.EXTRA_PROJECT_FILES, sb.toString()); in saveProperties()
304 props.setProperty(PkgProps.EXTRA_OLD_PATHS, mOldPaths); in saveProperties()
/sdk/monkeyrunner/src/com/android/monkeyrunner/
DScriptRunner.java168 props.setProperty("python.path", sb.toString()); in initPython()
173 props.setProperty("python.verbose", "error"); in initPython()
176 props.setProperty("python.executable", executablePath); in initPython()
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/
DAndroidVersion.java114 props.setProperty(PkgProps.VERSION_API_LEVEL, Integer.toString(mApiLevel)); in saveProperties()
116 props.setProperty(PkgProps.VERSION_CODENAME, mCodename); in saveProperties()

123