Home
last modified time | relevance | path

Searched refs:contains (Results 1 – 25 of 227) sorted by relevance

12345678910

/system/libvintf/include/vintf/
DArch.h62 inline constexpr bool contains(Arch lft, Arch rgt) { in contains() function
66 static_assert(contains(Arch::ARCH_32_64, Arch::ARCH_32_64), "bad contains(Arch, Arch)");
67 static_assert(contains(Arch::ARCH_32_64, Arch::ARCH_64), "bad contains(Arch, Arch)");
68 static_assert(contains(Arch::ARCH_32_64, Arch::ARCH_32), "bad contains(Arch, Arch)");
69 static_assert(contains(Arch::ARCH_32_64, Arch::ARCH_EMPTY), "bad contains(Arch, Arch)");
70 static_assert(contains(Arch::ARCH_32, Arch::ARCH_EMPTY), "bad contains(Arch, Arch)");
71 static_assert(contains(Arch::ARCH_64, Arch::ARCH_EMPTY), "bad contains(Arch, Arch)");
72 static_assert(!contains(Arch::ARCH_32, Arch::ARCH_32_64), "bad contains(Arch, Arch)");
73 static_assert(!contains(Arch::ARCH_64, Arch::ARCH_32_64), "bad contains(Arch, Arch)");
74 static_assert(!contains(Arch::ARCH_32, Arch::ARCH_64), "bad contains(Arch, Arch)");
[all …]
/system/keymaster/tests/
Dandroid_keymaster_test_utils.h42 bool contains(const AuthorizationSet& set, TypedEnumTag<KM_ENUM, Tag, KeymasterEnum> tag, in contains() function
49 bool contains(const AuthorizationSet& set, TypedEnumTag<KM_ENUM_REP, Tag, KeymasterEnum> tag, in contains() function
58 bool contains(const AuthorizationSet& set, TypedTag<KM_UINT, Tag> tag, uint32_t val) { in contains() function
64 bool contains(const AuthorizationSet& set, TypedTag<KM_UINT_REP, Tag> tag, uint32_t val) { in contains() function
72 bool contains(const AuthorizationSet& set, TypedTag<KM_ULONG, Tag> tag, uint64_t val) { in contains() function
78 bool contains(const AuthorizationSet& set, TypedTag<KM_BYTES, Tag> tag, const std::string& val) { in contains() function
85 bool contains(const AuthorizationSet& set, TypedTag<KM_BIGNUM, Tag> tag, const std::string& val) { in contains() function
91 inline bool contains(const AuthorizationSet& set, keymaster_tag_t tag) { in contains() function
/system/server_configurable_flags/libflags/
Dserver_configurable_flags_test.cc33 static bool contains(std::vector<std::string>& vec, std::string& str) { in contains() function
111 ASSERT_EQ(true, contains(properties, prop1)); in TEST()
112 ASSERT_EQ(true, contains(properties, prop2)); in TEST()
113 ASSERT_EQ(true, contains(properties, prop3)); in TEST()
144 ASSERT_EQ(true, contains(properties, prop1)); in TEST()
145 ASSERT_EQ(true, contains(properties, prop2)); in TEST()
146 ASSERT_EQ(true, contains(properties, prop3)); in TEST()
/system/extras/mtectrl/src/com/android/tests/mtectrl/
DMtectrlEndToEndTest.java65 assertThat(getDevice().pullFileContents("/proc/cpuinfo")).contains("mte"); in testMemtagOnce()
76 assertThat(getDevice().pullFileContents("/proc/cpuinfo")).contains("mte"); in testMemtag()
79 assertThat(getDevice().pullFileContents("/proc/cpuinfo")).contains("mte"); in testMemtag()
87 assertThat(getDevice().pullFileContents("/proc/cpuinfo")).contains("mte"); in testBoth()
90 assertThat(getDevice().pullFileContents("/proc/cpuinfo")).contains("mte"); in testBoth()
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DTzdb.java80 .filter(timeZoneId -> !TZ_ABBRS.contains(timeZoneId)) in regionalTimeZoneIds()
81 .filter(timeZoneId -> !MISSING_TZ_IDS.contains(timeZoneId)) in regionalTimeZoneIds()
82 .filter(timeZoneId -> !NON_COUNTRY_AND_LEGACY_IDS.contains(timeZoneId)) in regionalTimeZoneIds()
83 .filter(timeZoneId -> !MISNOMERS.contains(timeZoneId)) in regionalTimeZoneIds()
/system/apex/tests/app/src/com/android/tests/apex/app/
DApkInApexTests.java64 .contains("android.permission.PACKAGE_USAGE_STATS"); in testPrivPermissionIsGranted()
69 .contains("android.permission.PACKAGE_USAGE_STATS"); in testPrivPermissionIsGranted()
74 .contains("android.permission.PACKAGE_USAGE_STATS"); in testPrivPermissionIsGranted()
80 .contains("android.permission.START_ACTIVITIES_FROM_BACKGROUND"); in testPrivPermissionIsGranted()
/system/chre/apps/test/chqts/src/shared/
Dchunk_allocator.h35 bool contains(const void *ptr) const;
93 bool contains(const void *ptr) const { in contains() function
94 return ChunkAllocatorBase::contains(ptr); in contains()
Dchunk_allocator_test.cc28 EXPECT_TRUE(da.contains(ptr)); in ExpectGoodAlloc()
68 EXPECT_FALSE(da.contains(ptr - 1)); in TEST()
69 EXPECT_FALSE(da.contains(ptr + 1)); in TEST()
70 EXPECT_FALSE(da.contains(nullptr)); in TEST()
/system/apex/tests/src/com/android/tests/apex/
DApexRollbackTests.java141 assertThat(activatedApexes).contains(ctsShimV1); in testAutomaticBootLoopRecovery()
147 assertThat(sessionInfo).contains("revertReason: zygote"); in testAutomaticBootLoopRecovery()
181 assertThat(stagedSessionInfo).contains("isApplied = true"); in testSessionNotRevertedWithCheckpointingDisabled()
184 assertThat(activatedApexes).contains(ctsShimV2); in testSessionNotRevertedWithCheckpointingDisabled()
219 assertThat(stagedSessionInfo).contains("isFailed = true"); in testCheckpointingRevertsSession()
222 assertThat(activatedApexes).contains(ctsShimV1); in testCheckpointingRevertsSession()
257 assertThat(stagedSessionInfo).contains("isApplied = true"); in testRebootingOnceDoesNotRevertSession()
260 assertThat(activatedApexes).contains(ctsShimV2); in testRebootingOnceDoesNotRevertSession()
357 assertThat(activatedApexes).contains(ctsShimV1); in testReasonForRevertIsLoggedDuringBootloop()
362 assertThat(stagedSessionString).contains("Session reverted due to crashing native process"); in testReasonForRevertIsLoggedDuringBootloop()
/system/core/debuggerd/test_permissive_mte/src/com/android/tests/debuggerd/
DPermissiveMteTest.java68 if (!tombstoneProto.getCommandLineList().stream().anyMatch(x -> x.contains(mUUID))) { in tearDown()
90 if (!tombstoneProto.getCommandLineList().stream().anyMatch(x -> x.contains(mUUID))) { in testCrash()
93 if (!tombstoneProto.getCommandLineList().stream().anyMatch(x -> x.contains("testCrash"))) { in testCrash()
118 if (!tombstoneProto.getCommandLineList().stream().anyMatch(x -> x.contains(mUUID))) { in testCrashProperty()
121 if (!tombstoneProto.getCommandLineList().stream().anyMatch(x -> x.contains("testCrash"))) { in testCrashProperty()
/system/apex/tests/src/com/android/tests/apex/host/
DApexCompressionTests.java158 assertThat(files).contains(COMPRESSED_APEX_PACKAGE_NAME + "@1" + DECOMPRESSED_APEX_SUFFIX); in testCompressedApexIsDecompressedAndActivated()
183 assertThat(files).contains(COMPRESSED_APEX_PACKAGE_NAME + "@1" + DECOMPRESSED_APEX_SUFFIX); in testDecompressedApexSurvivesReboot()
194 assertThat(files).contains(COMPRESSED_APEX_PACKAGE_NAME + "@1" + DECOMPRESSED_APEX_SUFFIX); in testDecompressedApexSurvivesReboot()
228 assertThat(files).contains(COMPRESSED_APEX_PACKAGE_NAME + "@1" + DECOMPRESSED_APEX_SUFFIX); in testHigherVersionOnSystemTriggerDecompression()
238 assertThat(files).contains(COMPRESSED_APEX_PACKAGE_NAME + "@2" + DECOMPRESSED_APEX_SUFFIX); in testHigherVersionOnSystemTriggerDecompression()
249 assertThat(files).contains(COMPRESSED_APEX_PACKAGE_NAME + "@1" + DECOMPRESSED_APEX_SUFFIX); in testDifferentRootDigestTriggersDecompression()
264 assertThat(files).contains(COMPRESSED_APEX_PACKAGE_NAME + "@1" + DECOMPRESSED_APEX_SUFFIX); in testDifferentRootDigestTriggersDecompression()
280 assertThat(files).contains(COMPRESSED_APEX_PACKAGE_NAME + "@1" + DECOMPRESSED_APEX_SUFFIX); in testUnusedDecompressedApexIsCleanedUp_HigherVersion()
299 assertThat(files).contains(COMPRESSED_APEX_PACKAGE_NAME + "@1" + DECOMPRESSED_APEX_SUFFIX); in testUnusedDecompressedApexIsCleanedUp_SameVersion()
320 assertThat(files).contains("random"); in testReservedSpaceIsNotCleanedOnReboot()
[all …]
/system/tools/xsdc/src/test/java/com/android/xsdc/cpp/
DTestCppCodeGenerator.java69 assertTrue(files.get("com_abc.cpp").toString().contains("readSimpleTypeElement")); in testSimpleTypeRootParser()
70 assertTrue(files.get("com_abc.cpp").toString().contains("writeSimpleTypeElement")); in testSimpleTypeRootParser()
147 assertTrue(files.get("com_abc.cpp").toString().contains("readRoot1")); in generateParsersForSpecifiedRoot()
148 assertFalse(files.get("com_abc.cpp").toString().contains("readRoot2")); in generateParsersForSpecifiedRoot()
/system/tools/aidl/tests/java/src/android/aidl/permission/service/
DFakePermissionEnforcer.java35 if (mGranted != null && mGranted.contains(permission)) { in checkPermission()
43 if (mGranted != null && mGranted.contains(permission)) { in checkPermission()
/system/apex/tests/testdata/sharedlibs/
DREADME.md3 This directory contains APEX packages used for testing the platform support for
7 Due to the peculiarity of the build needs, this directory contains prebuilt
/system/keymint/hal/src/
Denv.rs50 if !(1..=12).contains(&month) { in extract_truncated_patchlevel()
67 if !(1..=12).contains(&month) { in extract_patchlevel()
71 if !(1..=31).contains(&day) { in extract_patchlevel()
178 err.contains(want_err), in test_invalid_hal_info()
/system/tools/xsdc/src/main/java/com/android/xsdc/java/
DUtils.java61 return (keywordSet.contains(lowered)) ? "_" + lowered : lowered; in toVariableName()
85 return (keywordSet.contains(enumName)) ? "_" + enumName : enumName; in toEnumName()
/system/chre/chre_api/legacy/
DREADME.md1 This folder contains prior versions of the CHRE API, intended for reference
/system/extras/module_ndk_libs/
DREADME.md1 This directory contains the NDK libraries and headers for native libraries in
/system/timezone/testing/data/
DREADME1 This directory contains data files for testing time zone updates and the tools used to
/system/sepolicy/public/
Dmediaprovider.te2 ### A domain for android.process.media, which contains both
/system/sepolicy/prebuilts/api/34.0/public/
Dmediaprovider.te2 ### A domain for android.process.media, which contains both
/system/sepolicy/prebuilts/api/32.0/public/
Dmediaprovider.te2 ### A domain for android.process.media, which contains both
/system/sepolicy/prebuilts/api/33.0/public/
Dmediaprovider.te2 ### A domain for android.process.media, which contains both
/system/sepolicy/prebuilts/api/29.0/public/
Dmediaprovider.te2 ### A domain for android.process.media, which contains both
/system/sepolicy/prebuilts/api/30.0/public/
Dmediaprovider.te2 ### A domain for android.process.media, which contains both

12345678910