Home
last modified time | relevance | path

Searched refs:entryName (Results 1 – 25 of 25) 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/core/jni/
Dandroid_util_jar_StrictJarFile.cpp43 jobject newZipEntry(JNIEnv* env, const ZipEntry& entry, jstring entryName) { in newZipEntry() argument
46 entryName, in newZipEntry()
123 ZipString entryName; in StrictJarFile_nativeNextEntry() local
126 const int32_t error = Next(*handle->CookieAddress(), &data, &entryName); in StrictJarFile_nativeNextEntry()
132 std::unique_ptr<char[]> entryNameCString(new char[entryName.name_length + 1]); in StrictJarFile_nativeNextEntry()
133 memcpy(entryNameCString.get(), entryName.name, entryName.name_length); in StrictJarFile_nativeNextEntry()
134 entryNameCString[entryName.name_length] = '\0'; in StrictJarFile_nativeNextEntry()
141 jstring entryName) { in StrictJarFile_nativeFindEntry() argument
142 ScopedUtfChars entryNameChars(env, entryName); in StrictJarFile_nativeFindEntry()
154 return newZipEntry(env, data, entryName); in StrictJarFile_nativeFindEntry()
/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/core/java/android/view/
DViewStructure.java54 public abstract void setId(int id, String packageName, String typeName, String entryName); in setId() argument
220 public void setTextIdEntry(@NonNull String entryName) { in setTextIdEntry() argument
221 Preconditions.checkNotNull(entryName); in setTextIdEntry()
/frameworks/base/tools/aapt/
DFileFinder.cpp56 String8 entryName(entry->d_name); in findFiles() local
60 String8 fullPath = basePath.appendPathCopy(entryName); in findFiles()
DAaptAssets.cpp1242 String8 entryName(entry->getFileName()); in slurpResourceZip() local
1244 String8 dirName = entryName.getPathDir(); in slurpResourceZip()
1251 if (entryName.walkPath(&remain) == kResourceDir) { in slurpResourceZip()
1263 dir->removeFile(entryName.getPathLeaf()); in slurpResourceZip()
1265 sp<AaptFile> file = new AaptFile(entryName, kind, resType); in slurpResourceZip()
1266 status_t err = dir->addLeafFile(entryName.getPathLeaf(), file); in slurpResourceZip()
1268 fprintf(stderr, "err=%s entryName=%s\n", strerror(err), entryName.string()); in slurpResourceZip()
1275 if (entryName == "AndroidManifest.xml") { in slurpResourceZip()
1278 printf("\n\nfile: %s\n", entryName.string()); in slurpResourceZip()
/frameworks/base/services/core/java/com/android/server/input/
DConfigurationProcessor.java99 String entryName = parser.getName(); in processInputPortAssociations() local
100 if (!"port".equals(entryName)) { in processInputPortAssociations()
/frameworks/av/services/camera/libcameraservice/api2/
DHeicEncoderInfoManager.cpp153 const char* entryName = details->getEntryNameAt(i, &type); in getFrameRateMaps() local
158 if (std::regex_match(entryName, sizeMatch, frameRateNamePattern) && in getFrameRateMaps()
163 ALOGV("%s: %s", entryName, fpsRangeStr.c_str()); in getFrameRateMaps()
/frameworks/base/libs/androidfw/
DZipFileRO.cpp95 ZipEntryRO ZipFileRO::findEntryByName(const char* entryName) const in findEntryByName()
99 data->name = ZipString(entryName); 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/libs/androidfw/include/androidfw/
DZipFileRO.h93 ZipEntryRO findEntryByName(const char* entryName) const;
DAssetManager.h241 const ZipEntryRO entry, AccessMode mode, const String8& entryName);
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DBugreportReceiverTest.java888 private void assertZipContent(Uri uri, String entryName, String expectedContent) in assertZipContent() argument
890 Log.v(TAG, "assertZipEntry(uri=" + uri + ", entryName=" + entryName); in assertZipContent()
896 if (entry.getName().equals(entryName)) { in assertZipContent()
901 assertEquals("wrong content for zip entry'" + entryName + "' on '" + uri + "'", in assertZipContent()
907 fail("Did not find entry '" + entryName + "' on file '" + uri + "'"); in assertZipContent()
989 private void createZipFile(String path, String entryName, String content) throws IOException { in createZipFile() argument
990 Log.v(TAG, "createZipFile(" + path + ", " + entryName + ")"); in createZipFile()
993 ZipEntry entry = new ZipEntry(entryName); in createZipFile()
/frameworks/base/core/java/android/util/apk/
DApkSignatureVerifier.java202 final String entryName = entry.getName(); in verifyV1Signature() local
203 if (entryName.startsWith("META-INF/")) continue; in verifyV1Signature()
204 if (entryName.equals(PackageParser.ANDROID_MANIFEST_FILENAME)) continue; in verifyV1Signature()
/frameworks/base/telephony/java/android/telephony/data/
DApnSetting.java676 public static ApnSetting makeApnSetting(int id, String operatorNumeric, String entryName, in makeApnSetting() argument
686 .setEntryName(entryName) in makeApnSetting()
718 public static ApnSetting makeApnSetting(int id, String operatorNumeric, String entryName, in makeApnSetting() argument
725 return makeApnSetting(id, operatorNumeric, entryName, apnName, proxyAddress, proxyPort, in makeApnSetting()
1478 final String entryName = in.readString(); in readFromParcel() local
1498 return makeApnSetting(id, operatorNumeric, entryName, apnName, in readFromParcel()
1689 public Builder setEntryName(@Nullable String entryName) { in setEntryName() argument
1690 this.mEntryName = entryName; in setEntryName()
/frameworks/base/core/java/android/view/contentcapture/
DViewNode.java637 public void setId(int id, String packageName, String typeName, String entryName) { in setId() argument
641 mNode.mIdEntry = entryName; in setId()
786 public void setTextIdEntry(String entryName) { in setTextIdEntry() argument
787 mNode.mTextIdEntry = Preconditions.checkNotNull(entryName); in setTextIdEntry()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java1175 final String entryName = entry.getName(); in addDetailsToZipFileLocked() local
1177 addEntry(zos, entryName, entry.getTime(), oldZip.getInputStream(entry)); in addDetailsToZipFileLocked()
1179 Log.w(TAG, "skipping directory entry: " + entryName); in addDetailsToZipFileLocked()
1211 private static void addEntry(ZipOutputStream zos, String entryName, InputStream is) in addEntry() argument
1213 addEntry(zos, entryName, System.currentTimeMillis(), is); in addEntry()
1216 private static void addEntry(ZipOutputStream zos, String entryName, long timestamp, in addEntry() argument
1218 final ZipEntry entry = new ZipEntry(entryName); in addEntry()
1222 if (DEBUG) Log.v(TAG, "size of '" + entryName + "' entry: " + totalBytes + " bytes"); in addEntry()
/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/rs/rsov/driver/
DrsovScript.cpp396 std::string entryName("entry_"); in InitShader() local
397 entryName.append(RSKernelNames[slot]); in InitShader()
399 mShaderStage.pName = strndup(entryName.c_str(), entryName.size()); in InitShader()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp753 const String8 entryName(name); in preloadZip() local
754 const String8 path(entryName.getPathDir()); in preloadZip()
755 const String8 leaf(entryName.getPathLeaf()); in preloadZip()
757 if (entryName == CLOCK_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
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java943 String entryName = argResName; in setUpAppResources()
944 if (entryName.contains("/")) { in setUpAppResources()
945 entryName = ShortcutInfo.getResourceEntryName(entryName); in setUpAppResources()
947 return Integer.parseInt(entryName.substring(1)) + ressIdOffset; in setUpAppResources()
/frameworks/base/core/java/android/app/assist/
DAssistStructure.java1676 public void setId(int id, String packageName, String typeName, String entryName) { in setId() argument
1680 mNode.mIdEntry = entryName; in setId()
1846 public void setTextIdEntry(@NonNull String entryName) { in setTextIdEntry() argument
1847 mNode.mTextIdEntry = Preconditions.checkNotNull(entryName); in setTextIdEntry()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt112075 Ljava/net/JarURLConnection;->entryName:Ljava/lang/String;