Home
last modified time | relevance | path

Searched refs:entryName (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/core/java/android/gesture/
DGestureLibrary.java67 public void addGesture(String entryName, Gesture gesture) { in addGesture() argument
68 mStore.addGesture(entryName, gesture); in addGesture()
71 public void removeGesture(String entryName, Gesture gesture) { in removeGesture() argument
72 mStore.removeGesture(entryName, gesture); in removeGesture()
75 public void removeEntry(String entryName) { in removeEntry() argument
76 mStore.removeEntry(entryName); in removeEntry()
79 public ArrayList<Gesture> getGestures(String entryName) { in getGestures() argument
80 return mStore.getGestures(entryName); in getGestures()
DGestureStore.java148 public void addGesture(String entryName, Gesture gesture) { in addGesture() argument
149 if (entryName == null || entryName.length() == 0) { in addGesture()
152 ArrayList<Gesture> gestures = mNamedGestures.get(entryName); in addGesture()
155 mNamedGestures.put(entryName, gestures); in addGesture()
159 Instance.createInstance(mSequenceType, mOrientationStyle, gesture, entryName)); in addGesture()
170 public void removeGesture(String entryName, Gesture gesture) { in removeGesture() argument
171 ArrayList<Gesture> gestures = mNamedGestures.get(entryName); in removeGesture()
180 mNamedGestures.remove(entryName); in removeGesture()
193 public void removeEntry(String entryName) { in removeEntry() argument
194 mNamedGestures.remove(entryName); in removeEntry()
[all …]
/frameworks/base/test-runner/src/android/test/
DClassPathPackageInfoSource.java113 for (String entryName : classPath) { in findClasses()
114 File classPathEntry = new File(entryName); in findClasses()
120 if (entryName.endsWith(".apk")) { in findClasses()
121 findClassesInApk(entryName, packageName, classNames, subpackageNames); in findClasses()
131 entryName + ": " + e.getMessage()); in findClasses()
186 for (String entryName : entryNames) { in findClassesInJar()
187 if (entryName.startsWith(pathPrefix)) { in findClassesInJar()
188 if (entryName.endsWith(CLASS_EXTENSION)) { in findClassesInJar()
191 int index = entryName.indexOf('/', prefixLength); in findClassesInJar()
193 String p = entryName.substring(0, index).replace('/', '.'); in findClassesInJar()
[all …]
/frameworks/base/core/jni/
Dandroid_util_jar_StrictJarFile.cpp40 static jobject newZipEntry(JNIEnv* env, const ZipEntry& entry, jstring entryName) { in newZipEntry() argument
43 entryName, in newZipEntry()
118 ZipString entryName; in StrictJarFile_nativeNextEntry() local
121 const int32_t error = Next(*handle->CookieAddress(), &data, &entryName); in StrictJarFile_nativeNextEntry()
127 std::unique_ptr<char[]> entryNameCString(new char[entryName.name_length + 1]); in StrictJarFile_nativeNextEntry()
128 memcpy(entryNameCString.get(), entryName.name, entryName.name_length); in StrictJarFile_nativeNextEntry()
129 entryNameCString[entryName.name_length] = '\0'; in StrictJarFile_nativeNextEntry()
136 jstring entryName) { in StrictJarFile_nativeFindEntry() argument
137 ScopedUtfChars entryNameChars(env, entryName); in StrictJarFile_nativeFindEntry()
149 return newZipEntry(env, data, entryName); in StrictJarFile_nativeFindEntry()
/frameworks/base/tools/aapt2/process/
DSymbolTable.cpp181 android::ResTable::resource_name entryName; in lookupAttributeInTable() local
182 if (!table.getResourceName(mapEntry.name.ident, false, &entryName)) { in lookupAttributeInTable()
188 StringPiece16(entryName.type, entryName.typeLen)); in lookupAttributeInTable()
196 StringPiece16(entryName.package, entryName.packageLen), in lookupAttributeInTable()
198 StringPiece16(entryName.name, entryName.nameLen)); in lookupAttributeInTable()
/frameworks/base/tools/aapt/
DFileFinder.cpp56 String8 entryName(entry->d_name); in findFiles() local
60 String8 fullPath = basePath.appendPathCopy(entryName); in findFiles()
DAaptAssets.cpp1241 String8 entryName(entry->getFileName()); in slurpResourceZip() local
1243 String8 dirName = entryName.getPathDir(); in slurpResourceZip()
1250 if (entryName.walkPath(&remain) == kResourceDir) { in slurpResourceZip()
1262 dir->removeFile(entryName.getPathLeaf()); in slurpResourceZip()
1264 sp<AaptFile> file = new AaptFile(entryName, kind, resType); in slurpResourceZip()
1265 status_t err = dir->addLeafFile(entryName.getPathLeaf(), file); in slurpResourceZip()
1267 fprintf(stderr, "err=%s entryName=%s\n", strerror(err), entryName.string()); in slurpResourceZip()
1274 if (entryName == "AndroidManifest.xml") { in slurpResourceZip()
1277 printf("\n\nfile: %s\n", entryName.string()); in slurpResourceZip()
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DBugreportReceiverTest.java795 private void assertZipContent(Uri uri, String entryName, String expectedContent) in assertZipContent() argument
797 Log.v(TAG, "assertZipEntry(uri=" + uri + ", entryName=" + entryName); in assertZipContent()
803 if (entry.getName().equals(entryName)) { in assertZipContent()
808 assertEquals("wrong content for zip entry'" + entryName + "' on '" + uri + "'", in assertZipContent()
814 fail("Did not find entry '" + entryName + "' on file '" + uri + "'"); in assertZipContent()
867 private void createZipFile(String path, String entryName, String content) throws IOException { in createZipFile() argument
868 Log.v(TAG, "createZipFile(" + path + ", " + entryName + ")"); in createZipFile()
871 ZipEntry entry = new ZipEntry(entryName); in createZipFile()
/frameworks/base/libs/androidfw/
DZipFileRO.cpp79 ZipEntryRO ZipFileRO::findEntryByName(const char* entryName) const in findEntryByName()
83 data->name = ZipString(entryName); in findEntryByName()
DAssetManager.cpp1150 const ZipEntryRO entry, AccessMode mode, const String8& entryName) in openAssetFromZipLocked() argument
1175 ALOGV("Opened uncompressed entry %s in zip %s mode %d: %p", entryName.string(), in openAssetFromZipLocked()
1180 ALOGV("Opened compressed entry %s in zip %s mode %d: %p", entryName.string(), in openAssetFromZipLocked()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/util/
DGenerationalClassUtil.java184 public boolean accept(String entryName) { in accept() argument
185 return entryName.endsWith(mExtension); in accept()
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator.h84 const std::u16string& entryName,
DJavaClassGenerator.cpp208 const std::u16string& entryName, in addMembersToStyleableClass() argument
211 const std::string className = transform(entryName); in addMembersToStyleableClass()
/frameworks/base/include/androidfw/
DZipFileRO.h86 ZipEntryRO findEntryByName(const char* entryName) const;
DAssetManager.h271 const ZipEntryRO entry, AccessMode mode, const String8& entryName);
/frameworks/base/core/java/android/view/
DViewStructure.java36 public abstract void setId(int id, String packageName, String typeName, String entryName); in setId() argument
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java1149 final String entryName = entry.getName(); in addDetailsToZipFile() local
1151 addEntry(zos, entryName, entry.getTime(), oldZip.getInputStream(entry)); in addDetailsToZipFile()
1153 Log.w(TAG, "skipping directory entry: " + entryName); in addDetailsToZipFile()
1185 private static void addEntry(ZipOutputStream zos, String entryName, InputStream is) in addEntry() argument
1187 addEntry(zos, entryName, System.currentTimeMillis(), is); in addEntry()
1190 private static void addEntry(ZipOutputStream zos, String entryName, long timestamp, in addEntry() argument
1192 final ZipEntry entry = new ZipEntry(entryName); in addEntry()
1196 if (DEBUG) Log.v(TAG, "size of '" + entryName + "' entry: " + totalBytes + " bytes"); in addEntry()
/frameworks/base/core/java/android/security/net/config/
DXmlConfigSource.java397 String entryName = resources.getResourceEntryName(mResourceId); in parseDebugOverridesResource() local
398 int resId = resources.getIdentifier(entryName + "_debug", "xml", packageName); in parseDebugOverridesResource()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp707 const String8 entryName(name); in preloadZip() local
708 const String8 path(entryName.getPathDir()); in preloadZip()
709 const String8 leaf(entryName.getPathLeaf()); in preloadZip()
711 if (entryName == CLOCK_FONT_ZIP_NAME) { in preloadZip()
/frameworks/base/core/java/android/util/jar/
DStrictJarFile.java450 private static native ZipEntry nativeFindEntry(long nativeHandle, String entryName); in nativeFindEntry() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java801 String entryName = argResName; in setUpAppResources()
802 if (entryName.contains("/")) { in setUpAppResources()
803 entryName = ShortcutInfo.getResourceEntryName(entryName); in setUpAppResources()
805 return Integer.parseInt(entryName.substring(1)) + ressIdOffset; in setUpAppResources()
/frameworks/base/core/java/android/app/assist/
DAssistStructure.java1065 public void setId(int id, String packageName, String typeName, String entryName) { in setId() argument
1069 mNode.mIdEntry = entryName; in setId()
/frameworks/base/tools/aapt2/link/
DLink.cpp478 const StringPiece16 entryName(entry->name); in flatten() local
479 configSortedFiles[std::make_pair(configValue->config, entryName)] = in flatten()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java1242 final String entryName = entry.getName(); in collectCertificates() local
1243 if (entryName.startsWith("META-INF/")) continue; in collectCertificates()
1244 if (entryName.equals(ANDROID_MANIFEST_FILENAME)) continue; in collectCertificates()