Home
last modified time | relevance | path

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

12

/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/core/jni/
Dandroid_util_jar_StrictJarFile.cpp43 jobject newZipEntry(JNIEnv* env, const ZipEntry& entry, jstring entryName) { in newZipEntry() argument
46 entryName, in newZipEntry()
115 std::string entryName; in StrictJarFile_nativeNextEntry() local
118 const int32_t error = Next(*handle->CookieAddress(), &data, &entryName); in StrictJarFile_nativeNextEntry()
124 ScopedLocalRef<jstring> entryNameString(env, env->NewStringUTF(entryName.c_str())); in StrictJarFile_nativeNextEntry()
130 jstring entryName) { in StrictJarFile_nativeFindEntry() argument
131 ScopedUtfChars entryNameChars(env, entryName); in StrictJarFile_nativeFindEntry()
143 return newZipEntry(env, data, entryName); in StrictJarFile_nativeFindEntry()
/frameworks/base/core/java/android/view/
DViewStructure.java79 public abstract void setId(int id, String packageName, String typeName, String entryName); in setId() argument
246 public void setTextIdEntry(@NonNull String entryName) { in setTextIdEntry() argument
247 Preconditions.checkNotNull(entryName); in setTextIdEntry()
264 public void setHintIdEntry(@NonNull String entryName) { in setHintIdEntry() argument
265 Preconditions.checkNotNull(entryName); in setHintIdEntry()
/frameworks/base/test-runner/src/android/test/
DClassPathPackageInfoSource.java114 for (String entryName : classPath) { in findClasses()
115 File classPathEntry = new File(entryName); in findClasses()
121 if (entryName.endsWith(".apk")) { in findClasses()
122 findClassesInApk(entryName, packageName, classNames, subpackageNames); in findClasses()
132 entryName + ": " + e.getMessage()); in findClasses()
/frameworks/base/identity/java/android/security/identity/
DCredstoreWritableIdentityCredential.java129 for (String entryName : entryNames) { in personalize()
131 eParcels[m].name = entryName; in personalize()
132 eParcels[m].value = nsd.getEntryValue(entryName); in personalize()
134 nsd.getAccessControlProfileIds(entryName); in personalize()
DCredstoreIdentityCredential.java312 for (String entryName : entryNames) { in getEntries()
314 rnsParcels[n].entries[m].name = entryName; in getEntries()
/frameworks/base/tools/aapt/
DFileFinder.cpp56 String8 entryName(entry->d_name); in findFiles() local
60 String8 fullPath = basePath.appendPathCopy(entryName); in findFiles()
DAaptAssets.cpp1240 String8 entryName(entry->getFileName()); in slurpResourceZip() local
1242 String8 dirName = entryName.getPathDir(); in slurpResourceZip()
1249 if (entryName.walkPath(&remain) == kResourceDir) { in slurpResourceZip()
1261 dir->removeFile(entryName.getPathLeaf()); in slurpResourceZip()
1263 sp<AaptFile> file = new AaptFile(entryName, kind, resType); in slurpResourceZip()
1264 status_t err = dir->addLeafFile(entryName.getPathLeaf(), file); in slurpResourceZip()
1266 fprintf(stderr, "err=%s entryName=%s\n", strerror(err), entryName.string()); in slurpResourceZip()
1273 if (entryName == "AndroidManifest.xml") { in slurpResourceZip()
1276 printf("\n\nfile: %s\n", entryName.string()); in slurpResourceZip()
/frameworks/base/services/core/java/com/android/server/input/
DConfigurationProcessor.java96 String entryName = parser.getName(); in processInputPortAssociations() local
97 if (!"port".equals(entryName)) { in processInputPortAssociations()
/frameworks/base/libs/androidfw/
DZipFileRO.cpp95 ZipEntryRO ZipFileRO::findEntryByName(const char* entryName) const in findEntryByName()
99 data->name = entryName; in findEntryByName()
101 const int32_t error = FindEntry(mHandle, entryName, &(data->entry)); in findEntryByName()
DAssetManager.cpp918 const ZipEntryRO entry, AccessMode mode, const String8& entryName) in openAssetFromZipLocked() argument
943 ALOGV("Opened uncompressed entry %s in zip %s mode %d: %p", entryName.string(), in openAssetFromZipLocked()
948 ALOGV("Opened compressed entry %s in zip %s mode %d: %p", entryName.string(), in openAssetFromZipLocked()
/frameworks/base/apct-tests/perftests/core/src/android/app/
DResourcesPerfTest.java237 final String entryName = "i_am_color_" + expectedString; in getIdentifier() local
240 final int resIdentifier = mRes.getIdentifier(entryName, "color", packageName); in getIdentifier()
242 fail("Color \"" + entryName + "\" is not found"); in getIdentifier()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DArtStatsLogUtilsTest.java319 for (String entryName : entryNames) { in createDexMetadata()
320 ZipEntry zipEntry = new ZipEntry(entryName); in createDexMetadata()
322 zos.write(entryName.getBytes()); in createDexMetadata()
/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()
877 private void writeZipFile(ParcelFileDescriptor fd, String entryName, String content) in writeZipFile() argument
879 Log.v(TAG, "writeZipFile(" + fd + ", " + entryName + ")"); in writeZipFile()
882 ZipEntry entry = new ZipEntry(entryName); in writeZipFile()
/frameworks/av/services/camera/libcameraservice/api2/
DHeicEncoderInfoManager.cpp155 const char* entryName = details->getEntryNameAt(i, &type); in getFrameRateMaps() local
160 if (std::regex_match(entryName, sizeMatch, frameRateNamePattern) && in getFrameRateMaps()
165 ALOGV("%s: %s", entryName, fpsRangeStr.c_str()); in getFrameRateMaps()
/frameworks/base/libs/androidfw/include/androidfw/
DZipFileRO.h96 ZipEntryRO findEntryByName(const char* entryName) const;
DAssetManager.h241 const ZipEntryRO entry, AccessMode mode, const String8& entryName);
/frameworks/base/core/java/android/view/contentcapture/
DViewNode.java683 public void setId(int id, String packageName, String typeName, String entryName) { in setId() argument
687 mNode.mIdEntry = entryName; in setId()
832 public void setTextIdEntry(@NonNull String entryName) { in setTextIdEntry() argument
833 mNode.mTextIdEntry = Objects.requireNonNull(entryName); in setTextIdEntry()
842 public void setHintIdEntry(String entryName) { in setHintIdEntry() argument
843 mNode.mHintIdEntry = Objects.requireNonNull(entryName); in setHintIdEntry()
/frameworks/base/core/java/android/util/apk/
DApkSignatureVerifier.java408 final String entryName = entry.getName(); in verifyV1Signature() local
409 if (entryName.startsWith("META-INF/")) continue; in verifyV1Signature()
410 if (entryName.equals(ApkLiteParseUtils.ANDROID_MANIFEST_FILENAME)) continue; in verifyV1Signature()
/frameworks/base/core/java/android/security/net/config/
DXmlConfigSource.java389 String entryName = resources.getResourceEntryName(mResourceId); in parseDebugOverridesResource() local
390 int resId = resources.getIdentifier(entryName + "_debug", "xml", packageName); in parseDebugOverridesResource()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java1544 final String entryName = entry.getName(); in addDetailsToZipFileLocked() local
1546 addEntry(zos, entryName, entry.getTime(), oldZip.getInputStream(entry)); in addDetailsToZipFileLocked()
1548 Log.w(TAG, "skipping directory entry: " + entryName); in addDetailsToZipFileLocked()
1587 private static void addEntry(ZipOutputStream zos, String entryName, InputStream is) in addEntry() argument
1589 addEntry(zos, entryName, System.currentTimeMillis(), is); in addEntry()
1592 private static void addEntry(ZipOutputStream zos, String entryName, long timestamp, in addEntry() argument
1594 final ZipEntry entry = new ZipEntry(entryName); in addEntry()
1598 if (DEBUG) Log.v(TAG, "size of '" + entryName + "' entry: " + totalBytes + " bytes"); in addEntry()
/frameworks/base/core/java/android/app/assist/
DAssistStructure.java1857 public void setId(int id, String packageName, String typeName, String entryName) { in setId() argument
1861 mNode.mIdEntry = entryName; in setId()
2027 public void setTextIdEntry(@NonNull String entryName) { in setTextIdEntry() argument
2028 mNode.mTextIdEntry = Objects.requireNonNull(entryName); in setTextIdEntry()
2037 public void setHintIdEntry(@NonNull String entryName) { in setHintIdEntry() argument
2038 mNode.mHintIdEntry = Objects.requireNonNull(entryName); in setHintIdEntry()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp1266 const String8 entryName(name); in preloadZip() local
1267 const String8 path(entryName.getPathDir()); in preloadZip()
1268 const String8 leaf(entryName.getPathLeaf()); in preloadZip()
1270 if (entryName == CLOCK_FONT_ZIP_NAME) { in preloadZip()
1278 if (entryName == PROGRESS_FONT_ZIP_NAME) { in preloadZip()
/frameworks/base/core/java/android/util/jar/
DStrictJarFile.java499 private static native ZipEntry nativeFindEntry(long nativeHandle, String entryName); in nativeFindEntry() argument

12