Home
last modified time | relevance | path

Searched refs:flags (Results 1 – 25 of 50) sorted by relevance

12

/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiModifierItem.kt50 flags: Int = PACKAGE_PRIVATE, in <lambda>()
52 ) : DefaultModifierList(codebase, flags, annotations), ModifierList, MutableModifierList { in <lambda>()
78 var flags = 0 in <lambda>() variable
80 flags = flags or STATIC in <lambda>()
83 flags = flags or ABSTRACT in <lambda>()
86 flags = flags or FINAL in <lambda>()
89 flags = flags or NATIVE in <lambda>()
92 flags = flags or SYNCHRONIZED in <lambda>()
95 flags = flags or STRICT_FP in <lambda>()
98 flags = flags or TRANSIENT in <lambda>()
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DDefaultModifierList.kt23 protected var flags: Int = PACKAGE_PRIVATE, variable in com.android.tools.metalava.model.DefaultModifierList
29 flags = if (set) { in set()
30 flags or mask in set()
32 flags and mask.inv() in set()
37 return flags and mask != 0 in isSet()
53 val visibilityFlags = flags and VISIBILITY_MASK in getVisibilityLevel()
151 flags = (flags and VISIBILITY_MASK.inv()) or level.visibilityFlagValue in setVisibilityLevel()
242 return flags and DEPRECATED.inv() == 0 // deprecated isn't a real modifier in isEmpty()
246 return flags and VISIBILITY_MASK == PACKAGE_PRIVATE in isPackagePrivate()
252 val flags2 = other.flags in equivalentTo()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SigningCertificateLineage.java111 int flags = nodeBytes.getInt(); in readSigningCertificateLineage() local
154 SignatureAlgorithm.findById(sigAlgorithmId), signature, flags)); in readSigningCertificateLineage()
221 result.putInt(node.flags); in encodeSigningCertificateNode()
227 public static byte[] encodeSignedData(X509Certificate certificate, int flags) { in encodeSignedData() argument
234 result.putInt(flags); in encodeSignedData()
254 int flags) { in SigningCertificateNode() argument
259 this.flags = flags; in SigningCertificateNode()
272 if (flags != that.flags) return false; in equals()
280 int result = Objects.hash(signingCert, parentSigAlgorithm, sigAlgorithm, flags); in hashCode()
312 public int flags; field in V3SigningCertificateLineage.SigningCertificateNode
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DEncodeUtilsTest.java41 GPFlags flags = GPFlags.make(false); in asciiEncodeAndDecode() local
43 byte[] encoded = EncodeUtils.encode(text, flags); in asciiEncodeAndDecode()
45 assertEquals(text, EncodeUtils.decode(encoded, flags)); in asciiEncodeAndDecode()
51 GPFlags flags = GPFlags.make(true); in utf8EncodeAndDecode() local
53 byte[] encoded = EncodeUtils.encode(kazakhCapital, flags); in utf8EncodeAndDecode()
57 assertEquals(kazakhCapital, EncodeUtils.decode(encoded, flags)); in utf8EncodeAndDecode()
67 GPFlags flags = GPFlags.make(false); in asciiDecodeAsUtf8() local
69 String text = EncodeUtils.decode(greatWallChinese, flags); in asciiDecodeAsUtf8()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DEncodeUtils.java50 public static String decode(@Nonnull ByteBuffer bytes, int length, @Nonnull GPFlags flags) in decode() argument
59 return decode(stringBytes, flags); in decode()
70 public static String decode(@Nonnull byte[] data, @Nonnull GPFlags flags) { in decode() argument
71 return decode(data, flagsCharset(flags)); in decode()
107 public static byte[] encode(@Nonnull String name, @Nonnull GPFlags flags) { in encode() argument
108 Charset charset = flagsCharset(flags); in encode()
122 private static Charset flagsCharset(@Nonnull GPFlags flags) { in flagsCharset() argument
123 if (flags.isUtf8FileName()) { in flagsCharset()
DGPFlags.java133 long flags = 0; in make() local
136 flags |= BIT_EFS; in make()
139 return new GPFlags(flags); in make()
DCentralDirectory.java292 GPFlags flags = GPFlags.from(gpBit); in readEntry() local
346 String fileName = EncodeUtils.decode(encodedFileName, flags); in readEntry()
367 fileName, encodedFileName, uncompressedSize, compressInfo, flags, file); in readEntry()
DCentralDirectoryHeader.java142 @Nonnull GPFlags flags, in CentralDirectoryHeader() argument
153 gpBit = flags; in CentralDirectoryHeader()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/stamp/
DSourceStampCertificateLineage.java98 int flags = nodeBytes.getInt(); in readSigningCertificateLineage() local
142 SignatureAlgorithm.findById(sigAlgorithmId), signature, flags)); in readSigningCertificateLineage()
169 int flags) { in SigningCertificateNode() argument
174 this.flags = flags; in SigningCertificateNode()
187 if (flags != that.flags) return false; in equals()
202 result = prime * result + flags; in hashCode()
233 public int flags; field in SourceStampCertificateLineage.SigningCertificateNode
/tools/apksig/src/main/java/com/android/apksig/
DSigningCertificateLineage.java561 int flags = lineageNode.flags; in getSignerCapabilities() local
562 return new SignerCapabilities.Builder(flags).build(); in getSignerCapabilities()
585 int flags = lineageNode.flags; in updateSignerCapabilities() local
587 flags).setCallerConfiguredCapabilities(capabilities).build(); in updateSignerCapabilities()
588 lineageNode.flags = newCapabilities.getFlags(); in updateSignerCapabilities()
734 private SignerCapabilities(int flags) { in SignerCapabilities() argument
735 this(flags, 0); in SignerCapabilities()
738 private SignerCapabilities(int flags, int callerConfiguredFlags) { in SignerCapabilities() argument
739 mFlags = flags; in SignerCapabilities()
809 public Builder(int flags) { in Builder() argument
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/ssh/
Dformatter.py83 def format_flag_list(self, flags): argument
95 for flag_name in flags:
96 flag = flags[flag_name]
126 flags = settings.construct_ssh_flags()
128 flags[extra_flag_name] = extra_flags[extra_flag_name]
129 flags_list = list(self.format_flag_list(flags))
Dconnection.py216 flags=re.MULTILINE)
240 flags=re.MULTILINE))
253 flags=re.MULTILINE)
265 flags=re.MULTILINE)
/tools/test/openhst/
Dstress_test.py48 from absl import flags
64 FLAGS = flags.FLAGS
65 flags.DEFINE_string("notification_address", "",
69 flags.DEFINE_bool("suppress_notification_emails", False,
71 flags.DEFINE_string("test_name", None,
77 flags.DEFINE_string("output_root", "./",
80 flags.DEFINE_integer("num_iterations", None,
84 flags.DEFINE_list("devices", [],
87 flags.DEFINE_integer("print_summary_every_n", 10,
90 flags.DEFINE_string("email_sender_address", "",
[all …]
Dstress_test_common.py20 from absl import flags
24 FLAGS = flags.FLAGS
26 flags.DEFINE_string("resource_path", None,
/tools/metalava/src/test/java/com/android/tools/metalava/model/text/
DTextModifiersTest.kt39 TextModifiers(codebase, flags = DefaultModifierList.PUBLIC).equivalentTo( in test equivalentTo()()
40 TextModifiers(codebase, flags = DefaultModifierList.PUBLIC)) in test equivalentTo()()
43 TextModifiers(codebase, flags = DefaultModifierList.PRIVATE).equivalentTo( in test equivalentTo()()
44 TextModifiers(codebase, flags = DefaultModifierList.PUBLIC)) in test equivalentTo()()
/tools/treble/hacksaw/mount/
Dsystem.go33 func (f *systemMounter) Mount(source string, target string, fstype string, flags uintptr, data stri…
34 return syscall.Mount(source, target, fstype, flags, data)
37 func (f *systemMounter) Unmount(target string, flags int) error {
38 return syscall.Unmount(target, flags)
Dfake.go38 func (f *fakeMounter) Mount(source string, target string, fstype string, flags uintptr, data string…
44 Flags: flags,
50 func (f *fakeMounter) Unmount(target string, flags int) error {
/tools/asuite/atest/logstorage/
Datest_gcp_utils.py133 flags = RunFlowFlags(browser_auth=False)
140 flow=flow, storage=storage, flags=flags)
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextModifiers.kt32 flags: Int = PACKAGE_PRIVATE, in <lambda>()
34 ) : DefaultModifierList(codebase, flags, annotations) { in <lambda>()
44 return TextModifiers(codebase, flags, newAnnotations) in <lambda>()
/tools/dexter/slicer/
Dcontrol_flow_graph.cc56 const auto flags = dex::GetFlagsFromOpcode(bytecode->opcode); in Visit() local
63 terminate_block = (flags & exit_instr_flags) != 0; in Visit()
69 terminate_block = bytecode->opcode == dex::OP_THROW || (flags & exit_instr_flags) != 0; in Visit()
Ddex_bytecode.cc33 #define INSTRUCTION_DESCR(o, c, p, format, index, flags, e, vflags) \ argument
38 flags, \
55 return gInstructionDescriptors[opcode].flags; in GetFlagsFromOpcode()
/tools/acloud/internal/lib/
Dauth.py149 flags = RunFlowFlags(browser_auth=False)
156 flow=flow, storage=storage, flags=flags)
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/
Dgpio_lib.py26 def configIn(self, pin, flags): argument
37 test_args = {"pin": pin, "flags": flags}
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/hvpm/
Dpacket.py178 self.flags,
201 return self.flags & 0x0F
/tools/asuite/aidegen/lib/
Dclion_project_file_gen.py522 @common_util.check_args(hfile=(TextIOWrapper, StringIO), flags=list, tag=str)
524 def _write_all_flags(hfile, flags, tag): argument
532 for flag in flags:

12