Home
last modified time | relevance | path

Searched refs:getFileName (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/base/core/java/android/ddm/
DDdmHandleThread.java155 if (elem.getFileName() != null) in createStackChunk()
156 bufferSize += elem.getFileName().length() * 2; in createStackChunk()
169 if (elem.getFileName() != null) { in createStackChunk()
170 out.putInt(elem.getFileName().length()); in createStackChunk()
171 putString(out, elem.getFileName()); in createStackChunk()
/frameworks/base/libs/androidfw/include/androidfw/
DAssetDir.h53 const String8& getFileName(int idx) { in getFileName() function
54 return mFileInfo->itemAt(idx).getFileName(); in getFileName()
115 const String8& getFileName(void) const { return mFileName; } in getFileName() function
DObbFile.h46 const char* getFileName() const { in getFileName() function
/frameworks/base/core/tests/coretests/src/android/content/res/
DFontResourcesParserTest.java76 assertEquals("res/font/samplefont.ttf", font1.getFileName()); in testParse()
82 assertEquals("res/font/samplefont2.ttf", font2.getFileName()); in testParse()
88 assertEquals("res/font/samplefont3.ttf", font3.getFileName()); in testParse()
94 assertEquals("res/font/samplefont4.ttf", font4.getFileName()); in testParse()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceProviderPermissions.java79 public String getFileName() { in getFileName() method in SliceProviderPermissions
80 return getFileName(mPkg); in getFileName()
130 public static String getFileName(PkgUser pkg) { in getFileName() method in SliceProviderPermissions
165 public String getFileName() { in getFileName() method in SliceProviderPermissions.SliceAuthority
DSlicePermissionManager.java253 try (ParserHolder parser = getParser(SliceClientPermissions.getFileName(pkgUser))) { in getClient()
283 try (ParserHolder parser = getParser(SliceProviderPermissions.getFileName(pkgUser))) { in getProvider()
328 AtomicFile file = getFile(persistable.getFileName()); in handlePersist()
361 getFile(SliceClientPermissions.getFileName(pkgUser)).delete(); in handleRemove()
362 getFile(SliceProviderPermissions.getFileName(pkgUser)).delete(); in handleRemove()
DDirtyTracker.java32 String getFileName(); in getFileName() method
DSliceClientPermissions.java135 public String getFileName() { in getFileName() method in SliceClientPermissions
136 return getFileName(mPkg); in getFileName()
195 public static String getFileName(PkgUser pkg) { in getFileName() method in SliceClientPermissions
278 public String getFileName() { in getFileName() method in SliceClientPermissions.SliceAuthority
/frameworks/base/libs/androidfw/
DAssetManager.cpp944 dataMap->getFileName(), mode, pAsset); in openAssetFromZipLocked()
949 dataMap->getFileName(), mode, pAsset); in openAssetFromZipLocked()
1009 (const char*) pMergedInfo->itemAt(i).getFileName()); in openDir()
1058 (const char*) pMergedInfo->itemAt(i).getFileName()); in openNonAssetDir()
1103 name = pContents->itemAt(i).getFileName().string(); in scanAndMergeDirLocked()
1114 pMergedInfo->itemAt(matchIdx).getFileName().string(), in scanAndMergeDirLocked()
1187 if (strcasecmp(info.getFileName().getPathExtension().string(), ".gz") == 0) in scanDirLocked()
1188 info.setFileName(info.getFileName().getBasePath()); in scanDirLocked()
1189 info.setSourceName(path.appendPathCopy(info.getFileName())); in scanDirLocked()
1275 createZipSourceNameLocked(zipName, dirName, info.getFileName())); in scanAndMergeZipLocked()
[all …]
DAssetDir.cpp50 cmp = strcmp(pVector->itemAt(cur).getFileName(), fileName); in findEntry()
/frameworks/base/native/android/
Dasset_manager.cpp120 assetDir->mCachedFileName = assetDir->mAssetDir->getFileName(index); in AAssetDir_getNextFileName()
136 assetDir->mCachedFileName = assetDir->mAssetDir->getFileName(index); in AAssetDir_getFileName()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DIconEvent.java20 public String getFileName() { in getFileName() method in IconEvent
DPasspointEventHandler.java126 iconEvent.getBSSID(), iconEvent.getFileName(), iconEvent.getData()); in notifyIconDone()
/frameworks/base/libs/androidfw/tests/
DAssetManager2_test.cpp571 EXPECT_THAT(asset_dir->getFileName(0), Eq(String8("file.txt"))); in TEST_F()
574 EXPECT_THAT(asset_dir->getFileName(1), Eq(String8("subdir"))); in TEST_F()
581 EXPECT_THAT(asset_dir->getFileName(0), Eq(String8("subdir_file.txt"))); in TEST_F()
593 EXPECT_THAT(asset_dir->getFileName(0), Eq(String8("app_file.txt"))); in TEST_F()
596 EXPECT_THAT(asset_dir->getFileName(1), Eq(String8("file.txt"))); in TEST_F()
599 EXPECT_THAT(asset_dir->getFileName(2), Eq(String8("subdir"))); in TEST_F()
/frameworks/base/tools/lock_agent/java/com/android/lock_checker/
DLockHook.java235 if (e.getFileName() != null) { in hashStackTraceElement()
236 mHash.update(sFilenameCharset.encode(e.getFileName()).array()); in hashStackTraceElement()
/frameworks/base/core/java/android/webkit/
DPlugin.java108 public String getFileName() { in getFileName() method in Plugin
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DIconInfo.java99 public String getFileName() { in getFileName() method in IconInfo
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DIconInfoTest.java65 assertEquals(TEST_FILE_NAME, TEST_ICON_INFO.getFileName()); in testGetFileName()
/frameworks/base/tools/aapt/
DPackage.cpp152 entry->getFileName()); in writeAPK()
409 const char* storageName = entry->getFileName(); in processJarFile()
DZipEntry.h104 const char* getFileName(void) const { return (const char*) mCDE.mFileName; } in getFileName() function
/frameworks/base/tools/split-select/
DMain.cpp229 Vector<String8> parts = AaptUtil::splitAndLowerCase(dir->getFileName(i), '-'); in extractSplitDescriptionsFromApk()
231 fprintf(stderr, "Malformed library %s\n", dir->getFileName(i).string()); in extractSplitDescriptionsFromApk()
/frameworks/base/core/java/com/android/internal/os/
DKernelCpuThreadReader.java306 final String directoryName = threadDirectory.getFileName().toString(); in getThreadCpuUsage()
355 String fileName = processPath.getFileName().toString(); in getProcessId()
/frameworks/base/media/java/android/mtp/
DMtpStorageManager.java592 addObjectToCache(object, file.getFileName().toString(), in getChildren()
724 Log.i(TAG, "Manually handling event for " + file.getFileName().toString()); in handleAddedObject()
725 handleAddedObject(obj, file.getFileName().toString(), in handleAddedObject()
862 obj.getChild(file.getFileName().toString()) == null && in checkConsistency()
864 mSubdirectories.contains(file.getFileName().toString()))) { in checkConsistency()
DMtpDatabase.java413 return mManager.beginSendObject(parentObj, objPath.getFileName().toString(), format); in beginSendObject()
566 if (!mManager.endRenameObject(obj, oldPath.getFileName().toString(), success)) { in renameFile()
589 if (oldPath.getFileName().startsWith(".") && !newPath.startsWith(".")) { in renameFile()
594 if (oldPath.getFileName().toString().toLowerCase(Locale.US).equals(NO_MEDIA) in renameFile()
595 && !newPath.getFileName().toString().toLowerCase(Locale.US).equals(NO_MEDIA)) { in renameFile()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DSlicePermissionManagerTest.java128 public String getFileName() { in testInvalid()

12