/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ |
D | FileStoreAdapter.java | 50 public IFileInfo[] childInfos(int options, IProgressMonitor monitor) throws CoreException { in childInfos() argument 51 return mStore.childInfos(options, monitor); in childInfos() 55 public String[] childNames(int options, IProgressMonitor monitor) in childNames() argument 57 return mStore.childNames(options, monitor); in childNames() 61 public IFileStore[] childStores(int options, IProgressMonitor monitor) throws CoreException { in childStores() argument 62 return mStore.childStores(options, monitor); in childStores() 66 public void copy(IFileStore destination, int options, IProgressMonitor monitor) in copy() argument 68 mStore.copy(destination, options, monitor); in copy() 72 public void delete(int options, IProgressMonitor monitor) throws CoreException { in delete() argument 73 mStore.delete(options, monitor); in delete() [all …]
|
D | NewProjectCreator.java | 300 protected void execute(IProgressMonitor monitor) throws InvocationTargetException { in createAndroidProjects() 301 createProjectAsync(monitor, mainData, testData, null); in createAndroidProjects() 370 protected void execute(IProgressMonitor monitor) throws InvocationTargetException { in importProjects() 371 createProjectAsync(monitor, null, null, projectData); in importProjects() 559 private void createProjectAsync(IProgressMonitor monitor, in createProjectAsync() argument 564 monitor.beginTask("Create Android Project", 100); in createProjectAsync() 570 new SubProgressMonitor(monitor, 50), in createProjectAsync() 591 new SubProgressMonitor(monitor, 50), in createProjectAsync() 627 new SubProgressMonitor(monitor, 50), in createProjectAsync() 648 monitor.done(); in createProjectAsync() [all …]
|
/sdk/monitor/ |
D | Android.mk | 9 LOCAL_MODULE := monitor 15 RCP_LOG_FILE := out/host/eclipse/rcp/build/monitor.log 18 define mk-rcp-monitor-atree-file 20 dstdir=$(HOST_OUT)/eclipse/monitor-$(1).$(2) && \ 30 $(LOCAL_BUILT_MODULE) : $(TOPDIR)sdk/monitor/monitor \ 31 $(TOPDIR)sdk/monitor/build.xml \ 32 $(TOPDIR)sdk/monitor/build.properties \ 36 $(hide)cd $(TOPDIR)sdk/monitor && \ 52 $(call mk-rcp-monitor-atree-file,linux.gtk,x86) ; \ 53 $(call mk-rcp-monitor-atree-file,linux.gtk,x86_64) ; \ [all …]
|
D | monitor | 37 app=lib/monitor-${vmarch}/monitor 39 app=${app}.app/Contents/MacOS/monitor
|
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/internal/repository/ |
D | AddonsListFetcherTest.java | 46 ITaskMonitor monitor) { in _parseAddonsList() argument 47 return super.parseAddonsList(doc, nsUri, baseUrl, monitor); in _parseAddonsList() 62 public Document _getDocument(InputStream xml, ITaskMonitor monitor) { in _getDocument() argument 63 return super.getDocument(xml, monitor); in _getDocument() 106 MockMonitor monitor = new MockMonitor(); in testLoadSample_1() local 107 Document doc = mFetcher._getDocument(xmlStream, monitor); in testLoadSample_1() 111 Site[] result = mFetcher._parseAddonsList(doc, uri, "http://base/url/", monitor); in testLoadSample_1() 113 assertEquals("", monitor.getCapturedDescriptions()); in testLoadSample_1() 114 assertEquals("", monitor.getCapturedLog()); in testLoadSample_1() 115 assertEquals("", monitor.getCapturedErrorLog()); in testLoadSample_1() [all …]
|
D | LocalSdkParserTest.java | 33 MockMonitor monitor = new MockMonitor(); in testLocalSdkParser_SystemImages() local 42 Arrays.toString(parser.parseSdk(sdkman.getLocation(), sdkman, monitor))); in testLocalSdkParser_SystemImages() 50 monitor))); in testLocalSdkParser_SystemImages() 57 monitor))); in testLocalSdkParser_SystemImages() 64 monitor))); in testLocalSdkParser_SystemImages() 71 monitor))); in testLocalSdkParser_SystemImages() 89 Arrays.toString(parser.parseSdk(sdkman.getLocation(), sdkman, monitor))); in testLocalSdkParser_SystemImages() 108 Arrays.toString(parser.parseSdk(sdkman.getLocation(), sdkman, monitor))); in testLocalSdkParser_SystemImages() 124 Arrays.toString(parser.parseSdk(sdkman.getLocation(), sdkman, monitor))); in testLocalSdkParser_SystemImages() 136 monitor))); in testLocalSdkParser_SystemImages() [all …]
|
D | SdkStatsTest.java | 46 ITaskMonitor monitor) { in _parseStatsDocument() argument 47 return super.parseStatsDocument(doc, nsUri, monitor); in _parseStatsDocument() 59 public Document _getDocument(InputStream xml, ITaskMonitor monitor) { in _getDocument() argument 60 return super.getDocument(xml, monitor); in _getDocument() 103 MockMonitor monitor = new MockMonitor(); in testLoadSample_1() local 104 Document doc = mStats._getDocument(xmlStream, monitor); in testLoadSample_1() 108 SparseArray<PlatformStat> result = mStats._parseStatsDocument(doc, uri, monitor); in testLoadSample_1() 110 assertEquals("", monitor.getCapturedDescriptions()); in testLoadSample_1() 111 assertEquals("", monitor.getCapturedLog()); in testLoadSample_1() 112 assertEquals("", monitor.getCapturedErrorLog()); in testLoadSample_1() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/actions/ |
D | FixProjectAction.java | 100 protected IStatus run(IProgressMonitor monitor) { in createFixProjectJob() 102 if (monitor != null) { in createFixProjectJob() 103 monitor.beginTask("Fix Project Properties", 6); in createFixProjectJob() 107 if (monitor != null) { in createFixProjectJob() 108 monitor.worked(1); in createFixProjectJob() 113 if (monitor != null) { in createFixProjectJob() 114 monitor.worked(1); in createFixProjectJob() 119 if (monitor != null) { in createFixProjectJob() 120 monitor.worked(1); in createFixProjectJob() 124 if (monitor != null) { in createFixProjectJob() [all …]
|
D | DexDumpAction.java | 100 protected IStatus run(IProgressMonitor monitor) { in dexDumpProject() argument 101 return runDexDump(project, monitor); in dexDumpProject() 114 private IStatus runDexDump(final IProject project, IProgressMonitor monitor) { in runDexDump() argument 118 if (monitor != null) { in runDexDump() 119 monitor.beginTask(String.format("Dump dex of %1$s", project.getName()), 2); in runDexDump() 210 if (monitor != null) { in runDexDump() 211 monitor.worked(1); in runDexDump() 242 if (monitor != null) { in runDexDump() 243 monitor.worked(1); in runDexDump() 264 if (monitor != null) { in runDexDump() [all …]
|
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
D | SyncService.java | 244 public void pull(FileEntry[] entries, String localPath, ISyncProgressMonitor monitor) in pull() argument 263 monitor.start(total); in pull() 265 doPull(entries, localPath, fls, monitor); in pull() 267 monitor.stop(); in pull() 283 public void pullFile(FileEntry remote, String localFilename, ISyncProgressMonitor monitor) in pullFile() argument 286 monitor.start(total); in pullFile() 288 doPullFile(remote.getFullPath(), localFilename, monitor); in pullFile() local 290 monitor.stop(); in pullFile() 309 ISyncProgressMonitor monitor) throws TimeoutException, IOException, SyncException { in pullFile() argument 317 monitor.start(0); in pullFile() [all …]
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/archives/ |
D | ArchiveInstaller.java | 114 ITaskMonitor monitor) { in install() argument 123 monitor.log("Skipping already installed archive: %1$s for %2$s", in install() 133 monitor.log("Skipping incompatible archive: %1$s for %2$s", in install() 139 Pair<File, File> files = downloadFile(newArchive, osSdkRoot, cache, monitor, forceHttp); in install() 144 if (unarchive(archiveInfo, osSdkRoot, tmpFile, sdkManager, monitor)) { in install() 145 monitor.log("Installed %1$s", name); in install() 164 ITaskMonitor monitor, in downloadFile() argument 168 monitor.setDescription("Downloading %1$s", pkgName); in downloadFile() 169 monitor.log("Downloading %1$s", pkgName); in downloadFile() 179 monitor.logError("Internal error: no source for archive %1$s", pkgName); in downloadFile() [all …]
|
/sdk/uiautomatorviewer/src/com/android/uiautomator/ |
D | UiAutomatorHelper.java | 57 private static void getUiHierarchyFile(IDevice device, File dst, IProgressMonitor monitor) { in getUiHierarchyFile() argument 58 if (monitor == null) { in getUiHierarchyFile() 59 monitor = new NullProgressMonitor(); in getUiHierarchyFile() 62 monitor.subTask("Deleting old UI XML snapshot ..."); in getUiHierarchyFile() 74 monitor.subTask("Taking UI XML snapshot..."); in getUiHierarchyFile() 85 monitor.subTask("Pull UI XML snapshot from device..."); in getUiHierarchyFile() 93 public static UiAutomatorResult takeSnapshot(IDevice device, IProgressMonitor monitor) in takeSnapshot() argument 95 if (monitor == null) { in takeSnapshot() 96 monitor = new NullProgressMonitor(); in takeSnapshot() 99 monitor.subTask("Checking if device support UI Automator"); in takeSnapshot() [all …]
|
/sdk/build/ |
D | tools.linux.atree | 26 bin/monitor tools/monitor 27 eclipse/monitor-linux.gtk.x86/monitor tools/lib/monitor-x86 28 eclipse/monitor-linux.gtk.x86_64/monitor tools/lib/monitor-x86_64
|
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/internal/repository/sources/ |
D | SdkSysImgSourceTest.java | 54 public boolean _parsePackages(Document doc, String nsUri, ITaskMonitor monitor) { in _parsePackages() argument 55 return super.parsePackages(doc, nsUri, monitor); in _parsePackages() 67 public Document _getDocument(InputStream xml, ITaskMonitor monitor) { in _getDocument() argument 68 return super.getDocument(xml, monitor); in _getDocument() 123 MockMonitor monitor = new MockMonitor(); in testLoadSysImgXml_1() local 124 Document doc = mSource._getDocument(xmlStream, monitor); in testLoadSysImgXml_1() 128 assertTrue(mSource._parsePackages(doc, uri, monitor)); in testLoadSysImgXml_1() 135 monitor.getCapturedVerboseLog()); in testLoadSysImgXml_1() 136 assertEquals("", monitor.getCapturedLog()); in testLoadSysImgXml_1() 137 assertEquals("", monitor.getCapturedErrorLog()); in testLoadSysImgXml_1()
|
D | SdkRepoSourceTest.java | 92 public boolean _parsePackages(Document doc, String nsUri, ITaskMonitor monitor) { in _parsePackages() argument 93 return super.parsePackages(doc, nsUri, monitor); in _parsePackages() 105 public Document _getDocument(InputStream xml, ITaskMonitor monitor) { in _getDocument() argument 106 return super.getDocument(xml, monitor); in _getDocument() 191 MockMonitor monitor = new MockMonitor(); in testFindAlternateToolsXml_3() local 192 assertTrue(mSource._parsePackages(result.getFirst(), SdkRepoConstants.NS_URI, monitor)); in testFindAlternateToolsXml_3() local 197 monitor.getCapturedVerboseLog()); in testFindAlternateToolsXml_3() 198 assertEquals("", monitor.getCapturedLog()); in testFindAlternateToolsXml_3() 199 assertEquals("", monitor.getCapturedErrorLog()); in testFindAlternateToolsXml_3() 232 MockMonitor monitor = new MockMonitor(); in testLoadXml_1() local [all …]
|
D | SdkAddonSourceTest.java | 61 public boolean _parsePackages(Document doc, String nsUri, ITaskMonitor monitor) { in _parsePackages() argument 62 return super.parsePackages(doc, nsUri, monitor); in _parsePackages() 74 public Document _getDocument(InputStream xml, ITaskMonitor monitor) { in _getDocument() argument 75 return super.getDocument(xml, monitor); in _getDocument() 175 MockMonitor monitor = new MockMonitor(); in testLoadAddonXml_1() local 176 Document doc = mSource._getDocument(xmlStream, monitor); in testLoadAddonXml_1() 180 assertTrue(mSource._parsePackages(doc, uri, monitor)); in testLoadAddonXml_1() 188 monitor.getCapturedVerboseLog()); in testLoadAddonXml_1() 189 assertEquals("", monitor.getCapturedLog()); in testLoadAddonXml_1() 190 assertEquals("", monitor.getCapturedErrorLog()); in testLoadAddonXml_1() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/ |
D | ResourceManagerBuilder.java | 65 protected void clean(IProgressMonitor monitor) throws CoreException { in clean() argument 66 super.clean(monitor); in clean() 78 protected IProject[] build(int kind, Map args, IProgressMonitor monitor) in build() argument 191 removeDerivedResources(member, monitor); in build() 201 new SubProgressMonitor(monitor, 10)); in build() 209 javaProject.setRawClasspath(entries, new SubProgressMonitor(monitor, 10)); in build() 214 genFolder.refreshLocal(IResource.DEPTH_ZERO, new SubProgressMonitor(monitor, 10)); in build() 215 project.refreshLocal(IResource.DEPTH_INFINITE, new SubProgressMonitor(monitor, 10)); in build() 245 androidOutput.create(true /*force*/, true /*local*/, monitor); in build() 249 newJavaOutput.create(true /*force*/, true /*local*/, monitor); in build() [all …]
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
D | AddonsListFetcher.java | 111 public Site[] fetch(String url, DownloadCache cache, ITaskMonitor monitor) { in fetch() argument 115 monitor.setProgressMax(6); in fetch() 116 monitor.setDescription("Fetching %1$s", url); in fetch() 117 monitor.incProgress(1); in fetch() 132 InputStream xml = fetchXmlUrl(url, cache, monitor.createSubMonitor(1), exception); in fetch() 151 ITaskMonitor subMonitor = monitor.createSubMonitor(1); in fetch() 174 monitor.incProgress(1); in fetch() 178 monitor.setDescription("Validate XML"); in fetch() 190 validatedDoc = getDocument(xml, monitor); in fetch() 222 monitor.logError("Failed to fetch URL %1$s, reason: %2$s", url, reason); in fetch() [all …]
|
D | SdkStats.java | 146 public void load(DownloadCache cache, boolean forceHttp, ITaskMonitor monitor) { in load() argument 154 monitor.setProgressMax(5); in load() 155 monitor.setDescription("Fetching %1$s", url); in load() 156 monitor.incProgress(1); in load() 164 InputStream xml = fetchXmlUrl(url, cache, monitor.createSubMonitor(1), exception); in load() 167 monitor.setDescription("Validate XML"); in load() 179 validatedDoc = getDocument(xml, monitor); in load() 211 monitor.logError("Failed to fetch URL %1$s, reason: %2$s", url, reason); in load() 215 monitor.logError("%s", validationError[0]); //$NON-NLS-1$ in load() 224 monitor.incProgress(1); in load() [all …]
|
D | LocalSdkParser.java | 121 @NonNull ITaskMonitor monitor) { in parseSdk() argument 122 return parseSdk(osSdkRoot, sdkManager, PARSE_ALL, monitor); in parseSdk() 142 @NonNull ITaskMonitor monitor) { in parseSdk() argument 146 monitor.setProgressMax(10); in parseSdk() 153 pkg = scanDoc(dir, monitor); in parseSdk() 159 monitor.incProgress(1); in parseSdk() 163 pkg = scanTools(dir, monitor); in parseSdk() 169 monitor.incProgress(1); in parseSdk() 173 pkg = scanPlatformTools(dir, monitor); in parseSdk() 179 monitor.incProgress(1); in parseSdk() [all …]
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/sources/ |
D | SdkSource.java | 330 public void load(DownloadCache cache, ITaskMonitor monitor, boolean forceHttp) { in load() argument 333 monitor.setProgressMax(7); in load() 338 monitor.incProgress(7); in load() 347 monitor.setDescription("Fetching URL: %1$s", url); in load() 348 monitor.incProgress(1); in load() 362 InputStream xml = fetchXmlUrl(url, cache, monitor.createSubMonitor(1), exception); in load() 374 ITaskMonitor subMonitor = monitor.createSubMonitor(1); in load() 405 monitor.incProgress(1); in load() 420 xml = fetchXmlUrl(url, cache, monitor.createSubMonitor(1), exception); in load() 423 monitor.incProgress(1); in load() [all …]
|
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/core/ |
D | PackageLoader.java | 206 public void run(ITaskMonitor monitor) { in loadPackages() 207 monitor.setProgressMax(10); in loadPackages() 211 mUpdaterData.getInstalledPackages(monitor.createSubMonitor(1)); in loadPackages() 222 loadRemoteAddonsList(monitor.createSubMonitor(1)); in loadPackages() 227 ITaskMonitor subMonitor = monitor.createSubMonitor(8); in loadPackages() 249 monitor.logError("Loading source failed: %1$s", e.toString()); in loadPackages() 251 monitor.setDescription("Done loading packages."); in loadPackages() 417 public void loadRemoteAddonsList(ITaskMonitor monitor) { in loadRemoteAddonsList() argument 423 mUpdaterData.getTaskFactory().start("Load Add-ons List", monitor, new ITask() { in loadRemoteAddonsList() 431 private void loadRemoteAddonsListInTask(ITaskMonitor monitor) { in loadRemoteAddonsListInTask() argument [all …]
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/heap/ |
D | NativeSymbolResolverTask.java | 104 public void run(IProgressMonitor monitor) in run() argument 106 monitor.beginTask("Resolving symbols", IProgressMonitor.UNKNOWN); in run() 109 checkCancellation(monitor); in run() 112 checkCancellation(monitor); in run() 114 resolveLibraryAddresses(monitor); in run() 115 checkCancellation(monitor); in run() 119 monitor.done(); in run() 145 private void resolveLibraryAddresses(IProgressMonitor monitor) throws InterruptedException { in resolveLibraryAddresses() argument 154 monitor.subTask(String.format("Resolving addresses mapped to %s.", libPath)); in resolveLibraryAddresses() 158 checkCancellation(monitor); in resolveLibraryAddresses() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/launch/ |
D | NdkGdbLaunchDelegate.java | 86 IProgressMonitor monitor) throws CoreException { in launch() argument 87 boolean launched = doLaunch(config, mode, launch, monitor); in launch() 97 IProgressMonitor monitor) throws CoreException { in doLaunch() argument 112 monitor.setTaskName(Messages.NdkGdbLaunchDelegate_Action_PerformIncrementalBuild); in doLaunch() 113 ProjectHelper.doFullIncrementalDebugBuild(project, monitor); in doLaunch() 136 monitor.setTaskName(Messages.NdkGdbLaunchDelegate_Action_ObtainAppAbis); in doLaunch() 137 Collection<NativeAbi> appAbis = NdkHelper.getApplicationAbis(project, monitor); in doLaunch() 149 monitor.setTaskName(Messages.NdkGdbLaunchDelegate_Action_ObtainDevice); in doLaunch() 183 monitor.setTaskName(Messages.NdkGdbLaunchDelegate_Action_CheckAndroidDeviceVersion); in doLaunch() 196 monitor.setTaskName(Messages.NdkGdbLaunchDelegate_Action_ObtainDeviceABI); in doLaunch() [all …]
|
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/ |
D | UpdaterData.java | 394 public Package[] getInstalledPackages(ITaskMonitor monitor) { in getInstalledPackages() argument 401 packages = parser.parseSdk(getOsSdkRoot(), getSdkManager(), monitor); in getInstalledPackages() 430 public void run(ITaskMonitor monitor) { in installArchives() 433 monitor.setProgressMax(1 + archives.size() * progressPerArchive); in installArchives() 434 monitor.setDescription("Preparing to install archives"); in installArchives() 443 for (Package p : getInstalledPackages(monitor.createSubMonitor(1))) { in installArchives() 457 int nextProgress = monitor.getProgress() + progressPerArchive; in installArchives() 459 if (monitor.isCancelRequested()) { in installArchives() 471 monitor.log("Skipping '%1$s'; it depends on a missing package.", in installArchives() 478 … monitor.logError("Skipping '%1$s'; it depends on '%2$s' which was not installed.", in installArchives() [all …]
|