/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/explorer/ |
H A D | FileLabelProvider.java | 43 * @param otherImage the Image to represent all other entry type. 85 FileEntry entry = (FileEntry)element; 86 switch (entry.getType()) { 90 if (entry.isApplicationPackage()) { 109 FileEntry entry = (FileEntry)element; 113 return entry.getName(); 115 return entry.getSize(); 117 return entry.getDate(); 119 return entry.getTime(); 121 return entry [all...] |
H A D | DeviceContentProvider.java | 40 public void setChildren(final FileEntry entry, FileEntry[] children) { 49 // refresh the entry. 50 mViewer.refresh(entry); 55 mViewer.setExpandedState(entry, true); 64 public void refreshEntry(final FileEntry entry) { 73 // refresh the entry. 74 mViewer.refresh(entry); 123 FileEntry entry = (FileEntry)element; 125 return entry.getParent(); 136 FileEntry entry [all...] |
H A D | DeviceExplorer.java | 225 FileEntry entry = (FileEntry) element; 226 setDeleteEnabledState(entry); 227 mCreateNewFolderAction.setEnabled(entry.isDirectory()); 246 FileEntry entry = (FileEntry)selection.getFirstElement(); 247 String name = entry.getName(); 249 FileEntry parentEntry = entry.getParent(); 267 handleTraceDoubleClick(baseName, entry, dataEntry); 280 handleTraceDoubleClick(baseName, keyEntry, entry); 561 FileEntry entry = (FileEntry)items[0].getData(); 562 dlg.setFileName(entry 755 refresh(final FileEntry entry) argument [all...] |
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
H A D | FileListingService.java | 105 * Represents an entry in a directory. This can be a file or a directory. 144 * Indicates whether the entry content has been fetched yet, or not. 151 * Creates a new file entry. 152 * @param parent parent entry or null if entry is root 153 * @param name name of the entry. 154 * @param type entry type. Can be one of the following: {@link FileListingService#TYPE_FILE}, 167 * Returns the name of the entry 174 * Returns the size string of the entry, as returned by <code>ls</code>. 181 * Returns the size of the entry 636 setChildren(FileEntry entry, FileEntry[] children) argument 638 refreshEntry(FileEntry entry) argument 692 getChildren(final FileEntry entry, boolean useCache, final IListingReceiver receiver) argument 805 getChildrenSync(final FileEntry entry) argument 811 doLs(FileEntry entry) argument 819 doLsAndThrow(FileEntry entry) argument [all...] |
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/log/ |
H A D | LogReceiver.java | 32 * Represents a log entry and its raw data. 48 /** The entry's raw data. */ 66 * @param entry the new log entry. 68 public void newEntry(LogEntry entry); argument 82 /** Temp buffer to store partial entry headers. */ 86 /** Offset in the partial entry data */ 120 // first check if we have no current entry. 132 // copy the rest of the entry header into the header buffer 137 // create the entry fro [all...] |
H A D | EventLogParser.java | 51 * Event log entry types. These must match up with the declarations in 256 public EventContainer parse(LogEntry entry) { argument 257 if (entry.len < 4) { 263 int tagValue = ArrayHelper.swap32bitFromArray(entry.data, inOffset); 272 if (parseBinaryEvent(entry.data, inOffset, list) == -1) { 285 event = new GcEventContainer(entry, tagValue, data); 287 event = new EventContainer(entry, tagValue, data); 326 for (Entry<Integer, String> entry : tagSet) { 327 if (tag.equals(entry.getValue())) { 328 tagValue = entry [all...] |
/sdk/anttargetprint/src/com/android/anttargetprint/ |
H A D | Main.java | 44 for (Entry<String, List<String>> entry : handler.processTargets().entrySet()) { 45 String name = entry.getKey(); 47 System.out.print(entry.getKey()); 49 for (String v : entry.getValue()) {
|
H A D | BuildXmlHandler.java | 65 for (Entry<String, String> entry : mTargets.entrySet()) { 66 process(entry.getKey(), entry.getValue(), result);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
H A D | LocaleManagerTest.java | 50 for (Map.Entry<String, String> entry : languageToCountry.entrySet()) { 51 assertTrue(entry.getValue(), entry.getKey().length() > 0); 52 assertTrue(entry.getKey(), entry.getValue().length() > 0); 54 for (Map.Entry<String, String> entry : regionNames.entrySet()) { 55 assertTrue(entry.getValue(), entry.getKey().length() > 0); 56 assertTrue(entry.getKey(), entry [all...] |
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/build/ |
H A D | SignedJarBuilder.java | 141 * @param archivePath the archive file path of the entry 188 // create the zip entry 189 JarEntry entry = new JarEntry(jarPath); 190 entry.setTime(inputFile.lastModified()); 192 writeEntry(fis, entry); 215 ZipEntry entry; 216 while ((entry = zis.getNextEntry()) != null) { 217 String name = entry.getName(); 220 if (entry.isDirectory() || name.startsWith("META-INF/")) { 224 // if we have a filter, we check the entry agains 294 writeEntry(InputStream input, JarEntry entry) argument [all...] |
H A D | BuildConfigGenerator.java | 143 for (Entry<String, String> entry : parameters.entrySet()) { 144 String value = entry.getValue(); 146 str = str.replaceAll(entry.getKey(), value);
|
/sdk/ddms/app/src/com/android/ddms/ |
H A D | DebugPortProvider.java | 103 String[] entry = seg.split(":"); //$NON-NLS-1$ 105 // backward compatibility support. if we have only 2 entry, we default 108 if (entry.length == 3) { 109 deviceName = entry[2]; 121 deviceMap.put(entry[0], Integer.valueOf(entry[1]));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/ddms/ |
H A D | DebugPortProvider.java | 104 String[] entry = seg.split(":"); //$NON-NLS-1$ 106 // backward compatibility support. if we have only 2 entry, we default 109 if (entry.length == 3) { 110 deviceName = entry[2]; 122 deviceMap.put(entry[0], Integer.valueOf(entry[1]));
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/project/ |
H A D | ProjectPropertiesWorkingCopy.java | 109 for (Entry<String, String> entry : map.entrySet()) { 110 String key = entry.getKey(); 111 String value = entry.getValue(); 187 for (Entry<String, String> entry : mProperties.entrySet()) { 188 if (visitedProps.contains(entry.getKey()) == false) { 189 String value = entry.getValue(); 191 writeValue(writer, entry.getKey(), value, true /*addComment*/); 205 for (Entry<String, String> entry : mProperties.entrySet()) { 206 String value = entry.getValue(); 208 writeValue(writer, entry [all...] |
/sdk/emulator/qtools/ |
H A D | gtrace.cpp | 114 trace_entry entry; local 121 int num_zeros = (kGtraceEntriesPerBlock - num_entries_) * sizeof(entry); 133 entry.cycle = cycle + kBaseTic; 134 entry.event = (filenum << 13) | (procnum << 1) | is_exit; 135 fwrite(&entry, sizeof(entry), 1, ftrace_);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/ |
H A D | AndroidJarLoader.java | 152 // Transform the package name into a zip entry path 160 ZipEntry entry; 161 while ((entry = zis.getNextEntry()) != null) { 162 // get the name of the entry. 163 String entryPath = entry.getName(); 177 long entrySize = entry.getSize(); 226 ZipEntry entry; 227 while ((entry = zis.getNextEntry()) != null) { 228 // get the name of the entry and convert to a class binary name 229 String entryPath = entry [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/ |
H A D | EclipseTestCollector.java | 53 URL entry = (URL)entries.nextElement(); 54 String filePath = entry.getPath().replace(".class", "");
|
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/ |
H A D | HardwarePropertyChooser.java | 88 for (Entry<String, HardwareProperty> entry : entries) { 89 if (entry.getValue().isValidForUi() && 90 mExceptProperties.contains(entry.getKey()) == false) { 91 c.add(entry.getValue().getAbstract()); 92 indexToName.add(entry.getKey());
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/net/ |
H A D | NetworkPanel.java | 661 for (NetworkSnapshot.Entry entry : mDelta) { 662 if (mActiveUid != entry.uid) continue; 664 final TrackedItem item = findOrCreateTrackedItem(entry.uid, entry.tag); 665 item.recordDelta(time, mDelta.timestamp, entry); 752 final NetworkSnapshot.Entry entry = new NetworkSnapshot.Entry(); 754 entry.iface = null; //cols[1]; 755 entry.uid = Integer.parseInt(cols[3]); 756 entry.set = -1; //Integer.parseInt(cols[4]); 757 entry 818 combine(Entry entry) argument [all...] |
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/ui/ |
H A D | AdtUpdateDialog.java | 123 for (Entry<Package, File> entry : mResultPaths.entrySet()) { 124 if (entry.getKey() instanceof ExtraPackage) { 125 installPath = entry.getValue(); 151 for (Entry<Package, File> entry : mResultPaths.entrySet()) { 152 if (entry.getKey() instanceof ExtraPackage) { 153 installPath = entry.getValue(); 182 for (Entry<Package, File> entry : mResultPaths.entrySet()) { 183 if (entry.getKey() instanceof PlatformPackage) { 184 installPath = entry.getValue();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
H A D | LibraryClasspathContainerInitializer.java | 142 for (IClasspathEntry entry : rawClasspath) { 143 // get the entry and kind 144 int kind = entry.getEntryKind(); 147 String path = entry.getPath().toString(); 225 IClasspathEntry entry = JavaCore.newLibraryEntry( 231 entries.add(entry); 254 // now add a classpath entry for each Java project (this is a set so dups are already 454 * @param entry the entry to process 455 * @param javaProject the {@link IJavaProject} from which this entry cam 462 processCPE(IClasspathEntry entry, IJavaProject javaProject, IWorkspaceRoot wsRoot, Set<IProject> projects, Set<File> jarFiles, boolean includeJarFiles) argument [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sourcelookup/ |
H A D | AdtSourceLookupDirector.java | 73 IClasspathEntry entry = entries[i]; 74 if (entry.getEntryKind() == IClasspathEntry.CPE_LIBRARY 75 && path.equals(entry.getPath().toString())) { 76 androidEntry = entry;
|
/sdk/traceview/src/com/android/traceview/ |
H A D | PropertiesDialog.java | 74 Entry<String, String> entry = (Entry<String, String>) element; 75 return entry.getKey(); 86 Entry<String, String> entry = (Entry<String, String>) element; 87 return entry.getValue();
|
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/ |
H A D | FieldGetterDetector.java | 151 for (Entry entry : mPendingCalls) { 152 names.add(entry.name); 158 for (Entry entry : mPendingCalls) { 159 String name = entry.name; 163 Location location = context.getLocation(entry.call); 168 context.report(ISSUE, entry.method, location, String.format(
|
/sdk/sdkmanager/libs/sdkuilib/tests/com/android/sdkuilib/internal/repository/ |
H A D | MockDownloadCache.java | 124 for (Entry<String, Integer> entry : mDirectHits.entrySet()) { 126 entry.getKey(), entry.getValue().intValue())); 135 for (Entry<String, Integer> entry : mCachedHits.entrySet()) { 137 entry.getKey(), entry.getValue().intValue()));
|