/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/internal/repository/ |
MockEmptySdkManager.java | 19 import com.android.sdklib.IAndroidTarget;
28 setTargets(new IAndroidTarget[0]);
|
MockPlatformPackage.java | 19 import com.android.sdklib.IAndroidTarget;
31 private final IAndroidTarget mTarget;
62 private MockPlatformPackage(SdkSource source, IAndroidTarget target, Properties props) {
73 public IAndroidTarget getTarget() {
|
MockAddonPackage.java | 20 import com.android.sdklib.IAndroidTarget;
70 static class MockAddonTarget implements IAndroidTarget {
72 private final IAndroidTarget mParentTarget;
77 public MockAddonTarget(String name, IAndroidTarget parentTarget, int revision) {
129 public IAndroidTarget getParent() {
194 public boolean canRunOn(IAndroidTarget target) {
198 public int compareTo(IAndroidTarget o) {
|
MockPlatformTarget.java | 20 import com.android.sdklib.IAndroidTarget;
33 class MockPlatformTarget implements IAndroidTarget {
90 public IAndroidTarget getParent() {
163 public boolean canRunOn(IAndroidTarget target) {
167 public int compareTo(IAndroidTarget o) {
|
LocalSdkParserTest.java | 19 import com.android.sdklib.IAndroidTarget; 46 IAndroidTarget t = sdkman.getTargets()[0];
|
PlatformPackageTest.java | 19 import com.android.sdklib.IAndroidTarget; 35 protected PlatformPackageWithFakeArchive(IAndroidTarget target, Properties props) {
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/ |
IAndroidTarget.java | 26 public interface IAndroidTarget extends Comparable<IAndroidTarget> { 162 IAndroidTarget getParent(); 167 * {@link IAndroidTarget} interface can be used. 266 * @param target the IAndroidTarget to test. 268 boolean canRunOn(IAndroidTarget target);
|
SdkManager.java | 93 private IAndroidTarget[] mTargets = new IAndroidTarget[0]; 142 ArrayList<IAndroidTarget> list = new ArrayList<IAndroidTarget>(); 149 manager.setTargets(list.toArray(new IAndroidTarget[list.size()])); 174 public IAndroidTarget[] getTargets() { 184 protected void setTargets(IAndroidTarget[] targets) { 190 * Returns a target from a hash that was generated by {@link IAndroidTarget#hashString()}. 192 * @param hash the {@link IAndroidTarget} hash string. 193 * @return The matching {@link IAndroidTarget} or null [all...] |
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/ |
SdkTargetSelector.java | 19 import com.android.sdklib.IAndroidTarget; 49 * To use, create it using {@link #SdkTargetSelector(Composite, IAndroidTarget[], boolean)} then 50 * call {@link #setSelection(IAndroidTarget)}, {@link #setSelectionListener(SelectionListener)} 56 private IAndroidTarget[] mTargets; 73 public SdkTargetSelector(Composite parent, IAndroidTarget[] targets) { 85 public SdkTargetSelector(Composite parent, IAndroidTarget[] targets, boolean allowSelection) { 143 public IAndroidTarget[] getTargets() { 152 public void setTargets(IAndroidTarget[] targets) { 155 Arrays.sort(mTargets, new Comparator<IAndroidTarget>() { 156 public int compare(IAndroidTarget o1, IAndroidTarget o2) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ |
NewProjectWizardState.java | 22 import com.android.sdklib.IAndroidTarget; 62 public IAndroidTarget target; 286 IAndroidTarget currentTarget = target; 293 IAndroidTarget[] targets = sdk.getTargets(); 294 for (IAndroidTarget t : targets) { 311 IAndroidTarget foundTarget = null; 313 IAndroidTarget currentTarget = target; 325 IAndroidTarget desiredTarget = Sdk.getCurrent().getTargetFromHashString(v); 337 IAndroidTarget[] targets = null; 342 targets = new IAndroidTarget[0] [all...] |
SdkSelectionPage.java | 24 import com.android.sdklib.IAndroidTarget; 141 IAndroidTarget target = mValues.target; 187 private void loadSamplesForTarget(IAndroidTarget target) { 196 String samplesRootPath = target.getPath(IAndroidTarget.SAMPLES); 290 IAndroidTarget[] targets = null; 305 IAndroidTarget initialTarget = null; 306 for (IAndroidTarget target : targets) { 334 public void onTargetLoaded(IAndroidTarget target) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/ |
SdkTestCase.java | 23 import com.android.sdklib.IAndroidTarget; 96 protected boolean validateSdk(IAndroidTarget target) { 106 for (IAndroidTarget target : sdk.getTargets()) {
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/avd/ |
AvdInfo.java | 20 import com.android.sdklib.IAndroidTarget; 56 private final IAndroidTarget mTarget; 79 IAndroidTarget target, 104 IAndroidTarget target, 169 public IAndroidTarget getTarget() {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/sampleProjects/ |
SampleProjectTest.java | 23 import com.android.sdklib.IAndroidTarget; 66 IAndroidTarget[] targets = getSdk().getTargets(); 67 for (IAndroidTarget target : targets) { 72 private void doTestSamplesForTarget(IAndroidTarget target) throws CoreException { 73 String path = target.getPath(IAndroidTarget.SAMPLES); 93 private void doTestSampleProject(String name, String path, IAndroidTarget target) 135 private void prepareProject(String path, IAndroidTarget target) {
|
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/ |
SdkManagerTest.java | 31 IAndroidTarget t = sdkman.getTargets()[0]; 46 IAndroidTarget t = sdkman.getTargets()[0]; 96 IAndroidTarget t = sdkman.getTargets()[0];
|
/sdk/sdkmanager/app/tests/com/android/sdkmanager/ |
AvdManagerTest.java | 20 import com.android.sdklib.IAndroidTarget; 31 private IAndroidTarget mTarget;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/manifest/ |
ManifestInfoTest.java | 25 import com.android.sdklib.IAndroidTarget; 164 IAndroidTarget olderVersion = new TestAndroidTarget(4); 218 private static class TestAndroidTarget implements IAndroidTarget { 225 public boolean canRunOn(IAndroidTarget target) { 265 public IAndroidTarget getParent() { 325 public int compareTo(IAndroidTarget o) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/ |
Sdk.java | 37 import com.android.sdklib.IAndroidTarget; 110 /** Map associating an {@link IAndroidTarget} to an {@link AndroidTargetData} */ 111 private final HashMap<IAndroidTarget, AndroidTargetData> mTargetDataMap = 112 new HashMap<IAndroidTarget, AndroidTargetData>(); 113 /** Map associating an {@link IAndroidTarget} and its {@link TargetLoadBundle}. */ 114 private final HashMap<IAndroidTarget, TargetLoadBundle> mTargetDataStatusMap = 115 new HashMap<IAndroidTarget, TargetLoadBundle>(); 140 void onTargetLoaded(IAndroidTarget target); 150 * {@link #onProjectTargetChange(IProject)} and {@link #onTargetLoaded(IAndroidTarget)} 161 * if {@link #getProject()} and the {@link IAndroidTarget} associated with the projec [all...] |
AndroidTargetParser.java | 34 import com.android.sdklib.IAndroidTarget; 70 private final IAndroidTarget mAndroidTarget; 75 public AndroidTargetParser(IAndroidTarget platformTarget) { 81 * {@link IAndroidTarget} given to the constructor. 97 new AndroidJarLoader(mAndroidTarget.getPath(IAndroidTarget.ANDROID_JAR)); 131 mAndroidTarget.getPath(IAndroidTarget.ATTRIBUTES), 138 mAndroidTarget.getPath(IAndroidTarget.MANIFEST_ATTRIBUTES), 266 mAndroidTarget.getPath(IAndroidTarget.LAYOUT_LIB), 366 mAndroidTarget.getPath(IAndroidTarget.ANDROID_JAR)); 384 collectValues(mAndroidTarget.getPath(IAndroidTarget.ACTIONS_ACTIVITY) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/properties/ |
AndroidPropertyPage.java | 22 import com.android.sdklib.IAndroidTarget; 68 IAndroidTarget[] targets = null; 135 IAndroidTarget newTarget = mSelector.getSelected(); 184 IAndroidTarget target = state.getTarget(); 204 IAndroidTarget target = mSelector.getSelected();
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
PlatformPackage.java | 22 import com.android.sdklib.IAndroidTarget;
83 * Creates a new platform package based on an actual {@link IAndroidTarget} (which
84 * must have {@link IAndroidTarget#isPlatform()} true) from the {@link SdkManager}.
90 static Package create(IAndroidTarget target, Properties props) {
95 protected PlatformPackage(IAndroidTarget target, Properties props) {
100 protected PlatformPackage(SdkSource source, IAndroidTarget target, Properties props) {
269 for (IAndroidTarget target : sdkManager.getTargets()) {
|
SamplePackage.java | 20 import com.android.sdklib.IAndroidTarget;
81 * Creates a new sample package based on an actual {@link IAndroidTarget} (which
82 * must have {@link IAndroidTarget#isPlatform()} true) from the {@link SdkManager}.
93 static Package create(IAndroidTarget target, Properties props) {
97 private SamplePackage(IAndroidTarget target, Properties props) {
106 target.getPath(IAndroidTarget.SAMPLES) //archiveOsPath
260 for (IAndroidTarget target : sdkManager.getTargets()) {
263 String p = target.getPath(IAndroidTarget.SAMPLES);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sourcelookup/ |
AdtSourceLookupDirector.java | 22 import com.android.sdklib.IAndroidTarget;
58 IAndroidTarget target = state.getTarget();
63 String path = target.getPath(IAndroidTarget.ANDROID_JAR);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
ConfigurationComposite.java | 59 import com.android.sdklib.IAndroidTarget; 165 private final List<IAndroidTarget> mTargetList = new ArrayList<IAndroidTarget>(); 186 private IAndroidTarget mProjectTarget; 188 private IAndroidTarget mRenderingTarget; 228 void onRenderingTargetPreChange(IAndroidTarget oldTarget); 235 void onRenderingTargetPostChange(IAndroidTarget target); 239 ResourceRepository getFrameworkResources(IAndroidTarget target); 259 IAndroidTarget target; 329 Pair<ResourceQualifier[], IAndroidTarget> pair = loadRenderState() [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/ |
AndroidPreferencePage.java | 22 import com.android.sdklib.IAndroidTarget; 193 IAndroidTarget[] targets = sdk != null ? sdk.getTargets() : null; 227 IAndroidTarget[] targets = sdk != null ? sdk.getTargets() : null; 237 public void onTargetLoaded(IAndroidTarget target) {
|