Home
last modified time | relevance | path

Searched refs:getFileName (Results 1 – 25 of 41) 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
DDirtyTracker.java32 String getFileName(); in getFileName() method
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()
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/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/
DAssetDir.cpp50 cmp = strcmp(pVector->itemAt(cur).getFileName(), fileName); in findEntry()
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 …]
/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()
Dstorage_manager.cpp89 String16 fileName(obbFile->getFileName()); in getObbInfo()
/frameworks/base/core/java/android/webkit/
DPlugin.java108 public String getFileName() { in getFileName() method in Plugin
/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/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DIconInfo.java99 public String getFileName() { in getFileName() method in IconInfo
/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/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/media/java/android/mtp/
DMtpDatabase.java411 return mManager.beginSendObject(parentObj, objPath.getFileName().toString(), format); in beginSendObject()
564 if (!mManager.endRenameObject(obj, oldPath.getFileName().toString(), success)) { in renameFile()
587 if (oldPath.getFileName().startsWith(".") && !newPath.startsWith(".")) { in renameFile()
592 if (oldPath.getFileName().toString().toLowerCase(Locale.US).equals(NO_MEDIA) in renameFile()
593 && !newPath.getFileName().toString().toLowerCase(Locale.US).equals(NO_MEDIA)) { in renameFile()
DMtpStorageManager.java585 addObjectToCache(object, file.getFileName().toString(), in getChildren()
717 Log.i(TAG, "Manually handling event for " + file.getFileName().toString()); in handleAddedObject()
718 handleAddedObject(obj, file.getFileName().toString(), in handleAddedObject()
855 obj.getChild(file.getFileName().toString()) == null && in checkConsistency()
857 mSubdirectories.contains(file.getFileName().toString()))) { in checkConsistency()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DSlicePermissionManagerTest.java128 public String getFileName() { in testInvalid()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DTracer.java282 previousCaller.getMethodName(), previousCaller.getFileName(), in getCaller()

12