/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/packages/ |
H A D | LayoutlibVersionMixin.java | 67 public LayoutlibVersionMixin(Properties props) { argument 68 int layoutlibApi = Package.getPropertyInt(props, PkgProps.LAYOUTLIB_API, 70 int layoutlibRev = Package.getPropertyInt(props, PkgProps.LAYOUTLIB_REV, 78 void saveProperties(Properties props) { argument 80 props.setProperty(PkgProps.LAYOUTLIB_API, mLayoutlibVersion.getFirst().toString()); 81 props.setProperty(PkgProps.LAYOUTLIB_REV, mLayoutlibVersion.getSecond().toString());
|
H A D | FullRevisionPackage.java | 64 * Properties from props are used first when possible, e.g. if props is non null. 70 Properties props, 78 super(source, props, revision, license, description, descUrl, 81 String revStr = getProperty(props, PkgProps.PKG_REVISION, null); 102 public void saveProperties(Properties props) { argument 103 super.saveProperties(props); 104 props.setProperty(PkgProps.PKG_REVISION, mPreviewVersion.toShortString()); 68 FullRevisionPackage( SdkSource source, Properties props, int revision, String license, String description, String descUrl, Os archiveOs, Arch archiveArch, String archiveOsPath) argument
|
H A D | MajorRevisionPackage.java | 63 * Properties from props are used first when possible, e.g. if props is non null. 69 Properties props, 77 super(source, props, revision, license, description, descUrl, 80 String revStr = getProperty(props, PkgProps.PKG_REVISION, null); 106 public void saveProperties(Properties props) { argument 107 super.saveProperties(props); 108 props.setProperty(PkgProps.PKG_REVISION, mRevision.toString()); 67 MajorRevisionPackage( SdkSource source, Properties props, int revision, String license, String description, String descUrl, Os archiveOs, Arch archiveArch, String archiveOsPath) argument
|
H A D | MinToolsPackage.java | 63 * Properties from props are used first when possible, e.g. if props is non null. 69 Properties props, 77 super(source, props, revision, license, description, descUrl, 80 String revStr = getProperty(props, PkgProps.MIN_TOOLS_REV, null); 102 public void saveProperties(Properties props) { argument 103 super.saveProperties(props); 106 props.setProperty(PkgProps.MIN_TOOLS_REV, getMinToolsRevision().toShortString()); 67 MinToolsPackage( SdkSource source, Properties props, int revision, String license, String description, String descUrl, Os archiveOs, Arch archiveArch, String archiveOsPath) argument
|
H A D | BrokenPackage.java | 58 BrokenPackage(Properties props, argument 65 props, //properties 66 0, //revision will be taken from props 87 public void saveProperties(Properties props) { argument
|
H A D | DocPackage.java | 80 Properties props, 90 return new DocPackage(source, props, apiLevel, codename, revision, license, description, 95 Properties props, 106 props, 114 mVersion = new AndroidVersion(props, apiLevel, codename); 122 public void saveProperties(Properties props) { argument 123 super.saveProperties(props); 125 mVersion.saveProperties(props); 79 create(SdkSource source, Properties props, int apiLevel, String codename, int revision, String license, String description, String descUrl, Os archiveOs, Arch archiveArch, String archiveOsPath) argument 94 DocPackage(SdkSource source, Properties props, int apiLevel, String codename, int revision, String license, String description, String descUrl, Os archiveOs, Arch archiveArch, String archiveOsPath) argument
|
H A D | PlatformPackage.java | 101 public static Package create(IAndroidTarget target, Properties props) { argument 102 return new PlatformPackage(target, props); 106 protected PlatformPackage(IAndroidTarget target, Properties props) { argument 107 this(null /*source*/, target, props); 111 protected PlatformPackage(SdkSource source, IAndroidTarget target, Properties props) { argument 113 props, //properties 125 mLayoutlibVersion = new LayoutlibVersionMixin(props); 126 mIncludedAbi = props == null ? null : props.getProperty(PkgProps.PLATFORM_INCLUDED_ABI); 134 public void saveProperties(Properties props) { argument [all...] |
H A D | PlatformToolPackage.java | 73 Properties props, 82 PlatformToolPackage ptp = new PlatformToolPackage(source, props, revision, license, 123 BrokenPackage ba = new BrokenPackage(props, shortDesc, longDesc, 137 Properties props, 146 props, 71 create( SdkSource source, Properties props, int revision, String license, String description, String descUrl, Os archiveOs, Arch archiveArch, String archiveOsPath) argument 135 PlatformToolPackage( SdkSource source, Properties props, int revision, String license, String description, String descUrl, Os archiveOs, Arch archiveArch, String archiveOsPath) argument
|
H A D | SourcePackage.java | 84 Properties props, 86 this(null /*source*/, platformVersion, revision, props, localOsPath); 94 Properties props, 97 props, //properties 117 * @param props The properties located in {@code srcDir} or null if not found. 120 public static Package create(File srcDir, Properties props) { argument 124 // Try to load the android version from the sources.props. 126 if (props == null) { 130 version = new AndroidVersion(props); 133 return new SourcePackage(version, 0 /*revision*/, props, srcDi 81 SourcePackage( AndroidVersion platformVersion, int revision, Properties props, String localOsPath) argument 90 SourcePackage( SdkSource source, AndroidVersion platformVersion, int revision, Properties props, String localOsPath) argument 181 saveProperties(Properties props) argument [all...] |
H A D | SystemImagePackage.java | 86 Properties props, 88 this(null /*source*/, platformVersion, revision, abi, props, localOsPath); 97 Properties props, 100 props, //properties 110 if (abi == null && props != null) { 111 abi = props.getProperty(PkgProps.SYS_IMG_ABI); 122 * @param props The properties located in {@code abiDir} or null if not found. 125 public static Package createBroken(File abiDir, Properties props) { argument 130 // Try to load the android version & ABI from the sources.props. 132 if (props 82 SystemImagePackage( AndroidVersion platformVersion, int revision, String abi, Properties props, String localOsPath) argument 92 SystemImagePackage( SdkSource source, AndroidVersion platformVersion, int revision, String abi, Properties props, String localOsPath) argument 193 saveProperties(Properties props) argument [all...] |
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/internal/repository/packages/ |
H A D | MockExtraPackage.java | 45 Properties props, 51 props, // props, 74 Properties props = new Properties(); 75 props.setProperty(PkgProps.MIN_PLATFORM_TOOLS_REV, 77 return props; 43 MockExtraPackage( SdkSource source, Properties props, String vendor, String path, int revision) argument
|
H A D | MockPlatformPackage.java | 43 this(null /*source*/, new MockPlatformTarget(apiLevel, revision), null /*props*/); 65 private MockPlatformPackage(SdkSource source, IAndroidTarget target, Properties props) { argument 66 super(source, target, props); 71 Properties props = new Properties(); 72 props.setProperty(PkgProps.MIN_TOOLS_REV, Integer.toString((min_tools_rev))); 73 return props;
|
H A D | ExtraPackageTest_v3.java | 36 private ExtraPackage createExtraPackage(Properties props) { argument 39 props, 55 Properties props = super.createProps(); 58 props.setProperty(PkgProps.EXTRA_VENDOR, "vendor"); 59 props.setProperty(PkgProps.EXTRA_PATH, "the_path"); 60 props.setProperty(PkgProps.EXTRA_OLD_PATHS, "old_path1;oldpath2"); 61 props.setProperty(PkgProps.EXTRA_MIN_API_LEVEL, "11"); 62 props.setProperty(PkgProps.EXTRA_PROJECT_FILES, 65 return props; 70 Properties props [all...] |
H A D | ExtraPackageTest_v4.java | 36 private ExtraPackage createExtraPackage(Properties props) { argument 39 props, 55 Properties props = super.createProps(); 58 props.setProperty(PkgProps.EXTRA_VENDOR_ID, "the_vendor"); 59 props.setProperty(PkgProps.EXTRA_VENDOR_DISPLAY, "The Company, Inc."); 60 props.setProperty(PkgProps.EXTRA_NAME_DISPLAY, "Some Extra Package"); 61 props.setProperty(PkgProps.EXTRA_PATH, "the_path"); 62 props.setProperty(PkgProps.EXTRA_OLD_PATHS, "old_path1;oldpath2"); 63 props.setProperty(PkgProps.EXTRA_MIN_API_LEVEL, "11"); 64 props [all...] |
H A D | MockEmptyPackage.java | 44 null /*props*/, 65 null /*props*/, 87 null /*props*/, 101 Properties props, 106 new Archive(this, props, archiveOs, archiveArch, archiveOsPath) { 100 initializeArchives( Properties props, Os archiveOs, Arch archiveArch, String archiveOsPath) argument
|
H A D | PlatformPackageTest.java | 38 protected PlatformPackageWithFakeArchive(IAndroidTarget target, Properties props) { argument 39 super(target, props); 44 Properties props, 50 return super.initializeArchives(props, Os.ANY, Arch.ANY, LOCAL_ARCHIVE_PATH); 54 private PlatformPackage createPlatformPackage(Properties props) { argument 57 props); 64 Properties props = super.createProps(); 67 props.setProperty(PkgProps.VERSION_API_LEVEL, "5"); 68 props.setProperty(PkgProps.PLATFORM_VERSION, "android-5"); 69 props 43 initializeArchives( Properties props, Os archiveOs, Arch archiveArch, String archiveOsPath) argument [all...] |
H A D | SourcePackageTest.java | 41 Properties props) { 44 props, 50 Properties props, 56 return super.initializeArchives(props, Os.ANY, Arch.ANY, LOCAL_ARCHIVE_PATH); 60 private SourcePackage createSourcePackageTest(Properties props) throws AndroidVersionException { argument 62 new AndroidVersion(props), 64 props); 70 Properties props = super.createProps(); 73 props.setProperty(PkgProps.VERSION_API_LEVEL, "5"); 75 return props; 38 SourcePackageFakeArchive( AndroidVersion platformVersion, int revision, Properties props) argument 49 initializeArchives( Properties props, Os archiveOs, Arch archiveArch, String archiveOsPath) argument [all...] |
H A D | SystemImagePackageTest.java | 42 Properties props) { 46 props, 53 Properties props, 59 return super.initializeArchives(props, Os.ANY, Arch.ANY, LOCAL_ARCHIVE_PATH); 63 private SystemImagePackage createSystemImagePackage(Properties props) argument 66 new AndroidVersion(props), 69 props); 75 Properties props = super.createProps(); 78 props.setProperty(PkgProps.VERSION_API_LEVEL, "5"); 79 props 38 SysImgPackageFakeArchive( AndroidVersion platformVersion, int revision, String abi, Properties props) argument 52 initializeArchives( Properties props, Os archiveOs, Arch archiveArch, String archiveOsPath) argument [all...] |
H A D | MinToolsPackageTest.java | 36 Properties props, 45 props, 83 Properties props = createProps(); 87 props, 102 Properties props = createProps(); 106 props, 119 assertEquals(props2, props); 124 Properties props = super.createProps(); 127 props.setProperty(PkgProps.MIN_TOOLS_REV, "3.0.1"); 129 return props; 34 MockMinToolsPackage( SdkSource source, Properties props, int revision, String license, String description, String descUrl, Os archiveOs, Arch archiveArch, String archiveOsPath) argument [all...] |
/sdk/anttasks/src/com/android/ant/ |
H A D | GetProjectPathsTask.java | 50 ProjectProperties props = TaskHelper.getProperties(mProjectPath); 53 handleProp(props, "out.dir", mBinName); 57 handleProp(props, "source.dir", mSrcName); 62 private void handleProp(ProjectProperties props, String inName, String outName) { argument 63 String value = props.getProperty(inName);
|
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/ui/ |
H A D | ShellSizeAndPos.java | 46 Properties props = loadProperties(); 49 int px = Integer.parseInt(props.getProperty(prefix + PX)); 50 int py = Integer.parseInt(props.getProperty(prefix + PY)); 51 int sx = Integer.parseInt(props.getProperty(prefix + SX)); 52 int sy = Integer.parseInt(props.getProperty(prefix + SY)); 101 Properties props = loadProperties(); 106 props.setProperty(prefix + PX, Integer.toString(loc.x)); 107 props.setProperty(prefix + PY, Integer.toString(loc.y)); 108 props.setProperty(prefix + SX, Integer.toString(size.x)); 109 props 145 saveProperties(Properties props) argument [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/ |
H A D | GLListProperty.java | 50 private GLListProperty(GLStateType type, List<IGLProperty> props) { argument 51 mList = props; 90 List<IGLProperty> props = new ArrayList<IGLProperty>( 94 props.add(p.clone()); 97 return new GLListProperty(getType(), props);
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/ |
H A D | AndroidVersion.java | 113 public void saveProperties(Properties props) { argument 114 props.setProperty(PkgProps.VERSION_API_LEVEL, Integer.toString(mApiLevel)); 116 props.setProperty(PkgProps.VERSION_CODENAME, mCodename);
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/io/ |
H A D | FileOp.java | 351 Properties props = new Properties(); 355 props.load(fis); 364 return props; 368 public boolean saveProperties(@NonNull File file, @NonNull Properties props, argument 374 props.store(fos, comments);
|
H A D | IFileOp.java | 131 * @param props The properties to write. 137 @NonNull Properties props, 135 saveProperties( @onNull File file, @NonNull Properties props, @NonNull String comments) argument
|