Home
last modified time | relevance | path

Searched refs:fname (Results 1 – 16 of 16) sorted by relevance

/aosp14/system/core/trusty/storage/tests/
H A Dmain.cpp252 const char *fname = "test_create_delete_file"; in TEST_P() local
297 const char *fname = "delete_opened_test_file"; in TEST_P() local
368 const char *fname = "test_open_create_file"; in TEST_P() local
465 const char *fname = "test_open_truncate"; in TEST_P() local
508 const char *fname = "test_open_same_file"; in TEST_P() local
591 const char *fname = "test_read_eof"; in TEST_P() local
637 const char *fname = "test_get_file_size"; in TEST_P() local
680 const char *fname = "test_set_file_size"; in TEST_P() local
796 const char *fname = "test_write_at_offset"; in TEST_P() local
822 const char *fname = "test_write_sparse"; in TEST_P() local
[all …]
/aosp14/system/core/fastboot/fuzzy_fastboot/example/
H A Dvalidator.py24 script, command, fname = sys.argv
28 with open(fname, "rb") as fd:
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DAbstractStatsBase.java59 File fname = new File(systemDir, mFileName); in getFile() local
60 return new AtomicFile(fname); in getFile()
H A DPackageManagerServiceUtils.java297 File fname = new File(systemDir, "uiderrors.txt");
298 return fname;
340 File fname = getSettingsProblemFile(); in logCriticalInfo() local
341 FileOutputStream out = new FileOutputStream(fname, true); in logCriticalInfo()
348 fname.toString(), in logCriticalInfo()
/aosp14/system/core/fastboot/
H A Dusb_linux.cpp90 char fname[64]; member
379 strcpy(usb->fname, devname); in find_usb_device()
459 DBG("[ usb read %d fd = %d], fname=%s\n", xfer, handle_->desc, handle_->fname); in Read()
461 DBG("[ usb read %d ] = %d, fname=%s, Retry %d \n", xfer, n, handle_->fname, retry); in Read()
519 if (access(handle_->fname, F_OK)) return 0; in WaitForDisconnect()
H A Dfastboot.cpp1073 static bool load_buf(const char* fname, struct fastboot_buffer* buf) { in load_buf() argument
1074 unique_fd fd(TEMP_FAILURE_RETRY(open(fname, O_RDONLY | O_BINARY))); in load_buf()
1077 auto path = find_item_given_name(fname); in load_buf()
1488 void do_flash(const char* pname, const char* fname, const bool apply_vbmeta) { in do_flash() argument
1489 verbose("Do flash %s %s", pname, fname); in do_flash()
1492 if (!load_buf(fname, &buf)) { in do_flash()
1493 die("cannot load '%s': %s", fname, strerror(errno)); in do_flash()
2480 std::string fname; in Main() local
2482 fname = next_arg(&args); in Main()
2484 fname = find_item(pname); in Main()
[all …]
H A Dtask.h48 FlashTask(const std::string& slot, const std::string& pname, const std::string& fname,
H A Dfastboot.h127 void do_flash(const char* pname, const char* fname, const bool apply_vbmeta);
/aosp14/frameworks/base/services/backup/java/com/android/server/backup/utils/
H A DBackupManagerMonitorDumpsysUtils.java232 File fname = new File(dataDir, "bmmevents.txt"); in getBMMEventsFile() local
233 return fname; in getBMMEventsFile()
385 File fname = getSetUpDateFile(); in getSetUpDate() local
386 try (FileInputStream inputStream = new FileInputStream(fname); in getSetUpDate()
/aosp14/frameworks/base/core/java/android/app/
H A DFragment.java518 public static Fragment instantiate(Context context, String fname) { in instantiate() argument
519 return instantiate(context, fname, null); in instantiate()
538 Class<?> clazz = sClassMap.get(fname); in instantiate()
541 clazz = context.getClassLoader().loadClass(fname); in instantiate()
543 throw new InstantiationException("Trying to instantiate a class " + fname in instantiate()
546 sClassMap.put(fname, clazz); in instantiate()
555 throw new InstantiationException("Unable to instantiate fragment " + fname in instantiate()
559 throw new InstantiationException("Unable to instantiate fragment " + fname in instantiate()
563 throw new InstantiationException("Unable to instantiate fragment " + fname in instantiate()
567 throw new InstantiationException("Unable to instantiate fragment " + fname in instantiate()
[all …]
H A DFragmentManager.java3521 String fname = attrs.getAttributeValue(null, "class"); in onCreateView() local
3524 if (fname == null) { in onCreateView()
3525 fname = a.getString(com.android.internal.R.styleable.Fragment_name); in onCreateView()
3535 + " an id for " + fname); in onCreateView()
3550 + Integer.toHexString(id) + " fname=" + fname in onCreateView()
3553 fragment = mContainer.instantiate(context, fname, null); in onCreateView()
3569 + " with another fragment for " + fname); in onCreateView()
3594 throw new IllegalStateException("Fragment " + fname in onCreateView()
/aosp14/frameworks/base/libs/androidfw/
H A DAsset.cpp681 const char* fname = mMap->file_name(); in openFileDescriptor() local
682 if (fname == NULL) { in openFileDescriptor()
683 fname = mFileName; in openFileDescriptor()
685 if (fname == NULL) { in openFileDescriptor()
690 return open(fname, O_RDONLY | O_BINARY); in openFileDescriptor()
/aosp14/system/core/fastboot/fuzzy_fastboot/
H A Dfixtures.cpp89 std::string fname(device_path.begin() + prefix.size(), device_path.end()); in UsbStillAvailible() local
91 android::base::StringPrintf("/sys/bus/usb/devices/%s/serial", fname.c_str()); in UsbStillAvailible()
H A Dmain.cpp1473 const auto flash_part = [&](const std::string fname, const std::string part_name) { in TEST_P() argument
1474 FILE* to_flash = fopen((SEARCH_PATH + fname).c_str(), "rb"); in TEST_P()
1475 ASSERT_NE(to_flash, nullptr) << "'" << fname << "'" in TEST_P()
1479 ASSERT_GT(fsize, 0) << fname + " appears to be an empty image"; in TEST_P()
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DSystemConfig.java908 String fname = parser.getAttributeValue(null, "name"); in readPermissionsFromXml() local
917 if (fname == null) { in readPermissionsFromXml()
921 addFeature(fname, fversion); in readPermissionsFromXml()
930 String fname = parser.getAttributeValue(null, "name"); in readPermissionsFromXml() local
931 if (fname == null) { in readPermissionsFromXml()
935 mUnavailableFeatures.add(fname); in readPermissionsFromXml()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...