Home
last modified time | relevance | path

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

12

/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiModifierItem.kt45 flags: Int = 0,
47 ) : DefaultModifierList(codebase, flags, annotations), ModifierList, MutableModifierList {
67 var flags = 0 in computeFlag() variable
69 flags = flags or PUBLIC in computeFlag()
72 flags = flags or PROTECTED in computeFlag()
75 flags = flags or PRIVATE in computeFlag()
78 flags = flags or STATIC in computeFlag()
81 flags = flags or ABSTRACT in computeFlag()
84 flags = flags or FINAL in computeFlag()
87 flags = flags or NATIVE in computeFlag()
[all …]
DPsiConstructorItem.kt142 val flags = containingClass.modifiers.getAccessFlags() in <lambda>() constant
143 val modifiers = PsiModifierItem(codebase, flags, null) in <lambda>()
/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/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SigningCertificateLineage.java110 int flags = nodeBytes.getInt(); in readSigningCertificateLineage() local
153 SignatureAlgorithm.findById(sigAlgorithmId), signature, flags)); in readSigningCertificateLineage()
220 result.putInt(node.flags); in encodeSigningCertificateNode()
226 public static byte[] encodeSignedData(X509Certificate certificate, int flags) { in encodeSignedData() argument
233 result.putInt(flags); in encodeSignedData()
253 int flags) { in SigningCertificateNode() argument
258 this.flags = flags; in SigningCertificateNode()
271 if (flags != that.flags) return false; in equals()
304 public int flags; field in V3SigningCertificateLineage.SigningCertificateNode
/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()
DCentralDirectoryHeader.java142 @Nonnull GPFlags flags, in CentralDirectoryHeader() argument
153 gpBit = flags; in CentralDirectoryHeader()
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()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DDefaultModifierList.kt24 protected var flags: Int = 0, variable in com.android.tools.metalava.model.DefaultModifierList
30 flags = if (set) { in set()
31 flags or mask in set()
33 flags and mask.inv() in set()
38 return flags and mask != 0 in isSet()
229 return flags and DEPRECATED.inv() == 0 // deprecated isn't a real modifier in isEmpty()
233 return flags and (PUBLIC or PROTECTED or PRIVATE or INTERNAL) == 0 in isPackagePrivate()
237 return flags and (PUBLIC or PROTECTED or PRIVATE or INTERNAL) in getAccessFlags()
248 val flags2 = other.flags in equivalentTo()
251 val masked1 = flags and mask in equivalentTo()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DGTest.java141 String flags = getAllGTestFlags(root); in doRunAllTestsInSubdirectory() local
142 CLog.i("Running gtest %s %s on %s", root, flags, testDevice.getSerialNumber()); in doRunAllTestsInSubdirectory()
144 runTestXml(testDevice, root, flags, listener); in doRunAllTestsInSubdirectory()
146 runTest(testDevice, resultParser, root, flags); in doRunAllTestsInSubdirectory()
213 protected String getGTestCmdLine(String fullPath, String flags) { in getGTestCmdLine() argument
225 sb.append(super.getGTestCmdLine(fullPath, flags)); in getGTestCmdLine()
239 final String fullPath, final String flags) throws DeviceNotAvailableException { in runTest() argument
251 String cmd = getGTestCmdLine(fullPath, flags); in runTest()
291 final String flags, in runTestXml() argument
301 String fullFlagCmd = String.format("%s %s", flags, extraFlag); in runTestXml()
DGTestBase.java412 String flags = String.format("%s %s", GTEST_FLAG_PRINT_TIME, getGTestFilters(path)); in getAllGTestFlags() local
415 flags = String.format("%s %s", flags, GTEST_FLAG_RUN_DISABLED_TESTS); in getAllGTestFlags()
419 flags = String.format("%s %s", flags, GTEST_FLAG_LIST_TESTS); in getAllGTestFlags()
423 flags = String.format("%s %s", flags, gTestFlag); in getAllGTestFlags()
425 return flags; in getAllGTestFlags()
481 protected String getGTestCmdLine(String fullPath, String flags) { in getGTestCmdLine() argument
492 gTestCmdLine.append(String.format("%s %s", fullPath, flags)); in getGTestCmdLine()
DHostGTest.java154 final IShellOutputReceiver resultParser, final String fullPath, final String flags) { in runTest() argument
165 String cmd = getGTestCmdLine(fullPath, flags); in runTest()
248 String flags = getAllGTestFlags(gTestFile.getName()); in run() local
249 CLog.i("Running gtest %s %s", gTestFile.getName(), flags); in run()
251 runTest(resultParser, filePath, flags); in run()
/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.py217 '^CONNECTED: %s' % identifier, output, flags=re.MULTILINE)
242 flags=re.MULTILINE))
255 flags=re.MULTILINE)
267 flags=re.MULTILINE)
/tools/apksig/src/main/java/com/android/apksig/
DSigningCertificateLineage.java562 int flags = lineageNode.flags; in getSignerCapabilities() local
563 return new SignerCapabilities.Builder(flags).build(); in getSignerCapabilities()
586 int flags = lineageNode.flags; in updateSignerCapabilities() local
588 flags).setCallerConfiguredCapabilities(capabilities).build(); in updateSignerCapabilities()
589 lineageNode.flags = newCapabilities.getFlags(); in updateSignerCapabilities()
735 private SignerCapabilities(int flags) { in SignerCapabilities() argument
736 this(flags, 0); in SignerCapabilities()
739 private SignerCapabilities(int flags, int callerConfiguredFlags) { in SignerCapabilities() argument
740 mFlags = flags; in SignerCapabilities()
810 public Builder(int flags) { in Builder() argument
[all …]
/tools/tradefederation/core/src/com/android/tradefed/device/
DPackageInfo.java96 int flags = Integer.decode(value); in parseFlagsAsInt() local
97 mIsSystemApp = (flags & FLAG_SYSTEM) != 0; in parseFlagsAsInt()
100 mIsUpdatedSystemApp = (flags & FLAG_UPDATED_SYSTEM_APP) != 0; in parseFlagsAsInt()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextModifiers.kt32 flags: Int = 0, in <lambda>()
34 ) : DefaultModifierList(codebase, flags, annotations) { in <lambda>()
44 return TextModifiers(codebase, flags, newAnnotations) in <lambda>()
/tools/acloud/internal/lib/
Dauth.py136 flags = RunFlowFlags(browser_auth=False)
143 flow=flow, storage=storage, flags=flags)
/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()
DAndroid.bp25 // TODO Remove these flags: b/65298177
/tools/tradefederation/contrib/src/com/android/framework/tests/
DPackageManagerOTATestUtils.java215 Pattern flags = Pattern.compile("^.*flags=\\[(.*?)\\]$", Pattern.MULTILINE); in packageHasFlag() local
216 Matcher m = flags.matcher(res); in packageHasFlag()
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DFatDirectoryEntry.java180 private void setFlags(int flags) { in setFlags() argument
181 LittleEndian.setInt8(data, OFFSET_ATTRIBUTES, flags); in setFlags()
/tools/test/connectivity/acts/tests/google/net/
DDnsOverTlsTest.py97 not pkt[TCP].flags:
104 if TCP in pkt and pkt[TCP].flags == RST:
/tools/dexter/dexter/
DAndroid.bp19 // TODO Remove these flags: b/65298177

12