Function: tramp-adb-file-name-p
tramp-adb-file-name-p is a byte-compiled function defined in
tramp-adb.el.gz.
Signature
(tramp-adb-file-name-p VEC-OR-FILENAME)
Documentation
Check if it's a VEC-OR-FILENAME for ADB.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp-adb.el.gz
;; It must be a `defsubst' in order to push the whole code into
;; tramp-loaddefs.el. Otherwise, there would be recursive autoloading.
;;;###tramp-autoload
(defsubst tramp-adb-file-name-p (vec-or-filename)
"Check if it's a VEC-OR-FILENAME for ADB."
(when-let* ((vec (tramp-ensure-dissected-file-name vec-or-filename)))
(string= (tramp-file-name-method vec) tramp-adb-method)))