Home
last modified time | relevance | path

Searched refs:Map (Results 1 – 25 of 528) sorted by relevance

12345678910>>...22

/cts/tests/media/src/android/mediav2/cts/
DAv1FilmGrainValidationTest.java46 import java.util.Map;
74 private final Map<Integer, FrameMetadata> mFrameVarList;
77 Map<Integer, FrameMetadata> frameVarList, String allTestParams) { in Av1FilmGrainValidationTest()
86 Map.ofEntries( in input()
87 Map.entry(3, new FrameMetadata(3, 2385.037126, 2417.27729)), in input()
88 Map.entry(10, new FrameMetadata(10, 2342.782887, 2384.061935)), in input()
89 Map.entry(55, new FrameMetadata(55, 2204.930969, 2240.242686)), in input()
90 Map.entry(70, new FrameMetadata(70, 2286.123113, 2319.397801)), in input()
91 Map.entry(92, new FrameMetadata(92, 2365.240550, 2396.21792)), in input()
92 Map.entry(122, new FrameMetadata(122, 2253.176403, 2287.724775)), in input()
[all …]
/cts/tests/security/src/android/keystore/cts/
DCborUtils.java22 import co.nstant.in.cbor.model.Map;
43 public static int getInt(Map map, long index) { in getInt()
48 public static int getInt(Map map, DataItem index) { in getInt()
53 public static long getLong(Map map, DataItem index) { in getLong()
58 public static Set<Integer> getIntSet(Map map, DataItem index) { in getIntSet()
67 public static Boolean getBoolean(Map map, DataItem index) { in getBoolean()
75 public static List<Boolean> getBooleanList(Map map, DataItem index) { in getBooleanList()
91 public static Date getDate(Map map, DataItem index) { in getDate()
97 public static byte[] getBytes(Map map, DataItem index) { in getBytes()
102 public static String getString(Map map, DataItem index) { in getString()
DEatAttestation.java24 import co.nstant.in.cbor.model.Map;
37 final Map extension;
75 Map submods = (Map) extension.get(key); in EatAttestation()
78 (Map) submods.get(new UnicodeString(EatClaim.SUBMOD_SOFTWARE))); in EatAttestation()
81 (Map) submods.get(new UnicodeString(EatClaim.SUBMOD_TEE))); in EatAttestation()
135 Map getEatExtension(X509Certificate x509Cert) in getEatExtension()
144 return (Map) cbor.get(0); in getEatExtension()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DUserInitiatedJobTest.java72 import java.util.Map;
140 Map.of( in testJobUidState()
145 Map.of(TestJobSchedulerReceiver.EXTRA_REQUIRED_NETWORK_TYPE, NETWORK_TYPE_ANY)); in testJobUidState()
169 Map.of( in testTopUiUnlimited()
173 Map.of( in testTopUiUnlimited()
203 Map.of( in testRestrictedBalToTop()
207 Map.of(TestJobSchedulerReceiver.EXTRA_REQUIRED_NETWORK_TYPE, NETWORK_TYPE_ANY)); in testRestrictedBalToTop()
249 Map.of( in testRestrictedToggling()
253 Map.of(TestJobSchedulerReceiver.EXTRA_REQUIRED_NETWORK_TYPE, NETWORK_TYPE_ANY)); in testRestrictedToggling()
284 Map.of( in testRestrictedTopToBg()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
DDnsSdTxtRecordListenerTest.java22 import java.util.Map;
64 Map<String, String> txtRecordMap, WifiP2pDevice srcDevice) { in onDnsSdTxtRecordAvailable()
81 Map<String, String> ippTxtRecord = new HashMap<String, String>(); in initialize()
82 Map<String, String> afpTxtRecord = new HashMap<String, String>(); in initialize()
98 private Map<String, String> mTxtRecordMap;
105 Argument(String fullDomainName, Map<String, String> txtRecordMap) { in Argument()
130 private boolean equals(Map<String, String> s1, Map<String, String> s2) { in equals()
/cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/
DSupportedBitstreamsProcessor.java25 import java.util.Map;
37 private final Map<String, Map<String, Boolean>> mDecodersForPath = new HashMap<>();
67 public Map<String, Boolean> getDecoderCapabilitiesForPath(String path) { in getDecoderCapabilitiesForPath()
75 Map<String, String> getArgs() { in getArgs()
76 Map<String, String> args = new HashMap<>(); in getArgs()
97 Map<String, Boolean> decoderCapabilities; in process()
/cts/hostsidetests/blobstore/src/com/android/cts/host/blob/
DBlobStoreMultiUserTest.java32 import java.util.Map;
82 final Map<String, String> args = createArgsFromLastTestRun(); in testCreateAndOpenSession()
93 Map<String, String> args = createArgs(Pair.create(KEY_ALLOW_PUBLIC, String.valueOf(1))); in testCommitAndOpenBlob()
108 Map<String, String> args = createArgs(Pair.create(KEY_ALLOW_PUBLIC, String.valueOf(1))); in testBlobAccessAcrossUsers_withTestOnlyApp()
112 Map<String, String> argsFromLastTestRun = createArgsFromLastTestRun(); in testBlobAccessAcrossUsers_withTestOnlyApp()
129 Map<String, String> args = createArgs(Pair.create(KEY_ALLOW_SAME_SIGNATURE, in testBlobAccessAcrossUsers_withAssistRole()
136 Map<String, String> argsFromLastTestRun = createArgsFromLastTestRun(); in testBlobAccessAcrossUsers_withAssistRole()
159 Map<String, String> args = createArgs(Pair.create(KEY_ALLOW_PUBLIC, String.valueOf(1))); in testBlobAccessAcrossUsers_recommit()
163 Map<String, String> argsFromLastTestRun = createArgsFromLastTestRun(); in testBlobAccessAcrossUsers_recommit()
179 Map<String, String> args = createArgs(Pair.create(KEY_ALLOW_PUBLIC, in testBlobAccessAcrossUsers_withDifferentApps()
[all …]
DDataCleanupTest.java23 import java.util.Map;
33 final Map<String, String> args = createArgsFromLastTestRun(); in testPackageUninstall_openSession()
46 final Map<String, String> args = createArgsFromLastTestRun(); in testPackageUninstall_openBlob()
59 final Map<String, String> args = createArgsFromLastTestRun(); in testPackageUninstallAndReboot_openSession()
74 final Map<String, String> args = createArgsFromLastTestRun(); in testPackageUninstallAndReboot_openBlob()
/cts/tests/tests/time/shell_utils/common/android/app/time/cts/shell/
DDeviceConfigShellHelper.java28 import java.util.Map;
98 Map<String, String> keyValues = new HashMap(); in list()
159 Map<String, String> entriesToUpdate = in restoreDeviceConfigStateForTest()
166 private static <X, Y> Map<X, Y> subMap(Map<X, Y> keyValues, Set<X> keySet) { in subMap()
170 private void putAll(String namespace, Map<String, String> entriesToAdd) throws Exception { in putAll()
171 for (Map.Entry<String, String> entryToAdd : entriesToAdd.entrySet()) { in putAll()
176 private void deleteAll(String namespace, Map<String, String> entriesToDelete) throws Exception { in deleteAll()
177 for (Map.Entry<String, String> entryToDelete : entriesToDelete.entrySet()) { in deleteAll()
195 public final Map<String, String> keyValues = new HashMap<>();
197 public NamespaceEntries(String namespace, Map<String, String> keyValues) { in NamespaceEntries()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DDisplayModifier.java18 import static java.util.Map.entry;
33 import java.util.Map;
85 public static final Map<String, Map<String, DisplayModifier>> MAPS =
86 new LinkedHashMap<String, Map<String, DisplayModifier>>();
88 MAPS.put("aa", Map.of(
102 MAPS.put("style", Map.of(
122 MAPS.put("strokeWidth", Map.of(
154 MAPS.put("strokeCap", Map.of(
174 MAPS.put("strokeJoin", Map.of(
195 MAPS.put("transform", Map.of(
[all …]
/cts/tests/tests/identity/src/android/security/identity/cts/
DCreateItemsRequestTest.java28 import java.util.Map;
35 Map<String, Collection<String>> entriesToRequest = new LinkedHashMap<>(); in basicRequest()
53 Map<String, Collection<String>> entriesToRequest = new LinkedHashMap<>(); in multipleNamespaces()
75 Map<String, Collection<String>> entriesToRequest = new LinkedHashMap<>(); in noDocType()
90 Map<String, Collection<String>> entriesToRequest = new LinkedHashMap<>(); in empty()
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DCVE_2023_40117.java38 import java.util.Map;
100 Map<String, Map<String, String>> allSettingsOld = in withPreservedSettings()
101 new HashMap<String, Map<String, String>>(); in withPreservedSettings()
103 Map<String, String> namespaceSettings = device.getAllSettings(namespace); in withPreservedSettings()
110 Map<String, String> settingsWithValue = allSettingsOld.get(namespace); in withPreservedSettings()
111 for (Map.Entry<String, String> entry : settingsWithValue.entrySet()) { in withPreservedSettings()
/cts/hostsidetests/appcompat/compatchanges/src/com/android/cts/appcompat/
DCompatChangesSelinuxTest.java26 import java.util.Map;
52 Map<String, String> packageToDomain = getPackageToDomain(); in testTargetSdkQAppIsInQDomainByDefault()
71 Map<String, String> packageToDomain = getPackageToDomain(); in testTargetSdkQAppIsInLatestDomainWithLatestOptin()
91 Map<String, String> packageToDomain = getPackageToDomain(); in testTargetSdkQAppIsInRDomainWithROptin()
104 Map<String, String> packageToDomain = getPackageToDomain(); in testTargetSdkRAppIsInRDomainByDefault()
121 Map<String, String> packageToDomain = getPackageToDomain(); in testTargetSdkRAppIsInLatestDomainWithLatestOptin()
129 private Map<String, String> getPackageToDomain() throws Exception { in getPackageToDomain()
130 Map<String, String> packageToDomain = new HashMap<>(); in getPackageToDomain()
/cts/tests/framework/base/biometrics/src/android/server/biometrics/util/
DSensorStates.java31 import java.util.Map;
46 @NonNull public final Map<Integer, SensorState> sensorStates;
76 @NonNull private final Map<Integer, UserState> mUserStates;
82 int currentStrength, @NonNull Map<Integer, UserState> userStates, in SensorState()
120 @NonNull public Map<Integer, UserState> getUserStates() { in getUserStates()
143 final Map<Integer, SensorState> sensorStates = new HashMap<>(); in parseFrom()
146 final Map<Integer, UserState> userStates = new HashMap<>(); in parseFrom()
169 final Map<Integer, SensorState> sensorStates = new HashMap<>(); in merge()
213 private SensorStates(@NonNull Map<Integer, SensorState> sensorStates) { in SensorStates()
226 final Map<Integer, UserState> userStates = sensorStates.get(sensorId).getUserStates(); in toString()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DTestLogService.java24 import java.util.Map;
41 final Map<String, String> mResults = new HashMap<>();
48 private static Map<String, ClientChannel> mChannels = new HashMap<>();
85 public static Map<String, String> getResultsForClient(String logtag, int timeoutMs) { in getResultsForClient()
86 Map<String, String> result = new HashMap<>(); in getResultsForClient()
99 for (Map.Entry<String, String> e : mChannels.get(logtag).mResults.entrySet()) { in getResultsForClient()
/cts/tests/tests/systemui/src/android/systemui/cts/tv/
DTvTestBase.kt96 boolExtras: Map<String, Boolean> = mapOf(), in onSetUp()
97 intExtras: Map<String, Int> = mapOf(), in onSetUp()
98 stringExtras: Map<String, String> = mapOf() in onSetUp()
119 boolExtras: Map<String, Boolean> = mapOf(), in sendBroadcast()
120 intExtras: Map<String, Int> = mapOf(), in sendBroadcast()
121 stringExtras: Map<String, String> = mapOf() in sendBroadcast()
139 boolExtras: Map<String, Boolean> = mapOf(), in composeAmShellCommand()
140 intExtras: Map<String, Int> = mapOf(), in composeAmShellCommand()
141 stringExtras: Map<String, String> = mapOf() in composeAmShellCommand()
168 private fun Map.Entry<String, *>.withFlag(flag: String): String = " --$flag $key $value" in withFlag() method
/cts/tools/cts-api-coverage/src/com/android/cts/apicommon/
DApiPackage.java22 import java.util.Map;
23 import java.util.Map.Entry;
31 private final Map<String, ApiClass> mApiClassMap = new ConcurrentHashMap<>();
81 public void resolveSuperClasses(Map<String, ApiPackage> packageMap) { in resolveSuperClasses()
84 Map.Entry<String, ApiClass> entry = it.next(); in resolveSuperClasses()
101 private ApiClass findClass(Map<String, ApiPackage> packageMap, String fullClassName) { in findClass()
/cts/tests/media/common/src/android/mediav2/common/cts/
DHDRDecoderTestBase.java32 import java.util.Map;
44 private Map<Long, String> mHdrDynamicInfoRef;
45 private Map<Long, String> mHdrDynamicInfoStream;
46 private Map<Long, String> mHdrDynamicInfoContainer;
54 private String getMetadataForPts(Map<Long, String> dynamicInfoList, Long pts) { in getMetadataForPts()
57 for (Map.Entry<Long, String> entry : dynamicInfoList.entrySet()) { in getMetadataForPts()
94 Map<Long, String> hdrDynamicInfoStream, Map<Long, String> hdrDynamicInfoContainer) in validateHDRInfo()
126 for (Map.Entry<Long, String> element : mHdrDynamicInfoStream.entrySet()) { in validateHDRInfo()
/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorStats.java34 import java.util.Map;
35 import java.util.Map.Entry;
74 private final Map<String, Object> mValues = new HashMap<>();
75 private final Map<String, SensorStats> mSensorStats = new HashMap<>();
128 public synchronized Map<String, Object> flatten() { in flatten()
129 final Map<String, Object> flattenedMap = new HashMap<>(mValues); in flatten()
143 final Map<String, Object> flattened = flatten(); in log()
172 final Map<String, Object> flattened = flatten(); in logToFile()
194 private static List<String> getSortedKeys(Map<String, Object> flattenedStats) { in getSortedKeys()
/cts/tests/tests/speech/src/android/speech/tts/cts/
DTextToSpeechWrapper.java29 import java.util.Map;
94 public final Map<String, Integer> chunksReceived() { in chunksReceived()
98 public final Map<String, List<Integer>> timePointsStart() { in timePointsStart()
102 public final Map<String, List<Integer>> timePointsEnd() { in timePointsEnd()
106 public final Map<String, List<Integer>> timePointsFrame() { in timePointsFrame()
184 private final Map<String, Integer> mErredUtterances = new HashMap<>();
189 private final Map<String, Integer> mChunksReceived = new HashMap<>();
190 private final Map<String, List<Integer>> mTimePointsStart = new HashMap<>();
191 private final Map<String, List<Integer>> mTimePointsEnd = new HashMap<>();
192 private final Map<String, List<Integer>> mTimePointsFrame = new HashMap<>();
[all …]
/cts/hostsidetests/appsearch/src/android/appsearch/cts/
DAppSearchHostTestBase.java25 import java.util.Map;
55 @Nonnull Map<String, String> args) throws Exception { in runDeviceTestAsUserInPkgA()
61 for (Map.Entry<String, String> entry : args.entrySet()) { in runDeviceTestAsUserInPkgA()
76 @Nonnull Map<String, String> args) throws Exception { in runContactsIndexerDeviceTestAsUserInPkgA()
82 for (Map.Entry<String, String> entry : args.entrySet()) { in runContactsIndexerDeviceTestAsUserInPkgA()
90 int userId, @Nonnull Map<String, String> args) throws Exception { in runEnterpriseContactsDeviceTestAsUserInPkgA()
96 for (Map.Entry<String, String> entry : args.entrySet()) { in runEnterpriseContactsDeviceTestAsUserInPkgA()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DAppUriAuthenticationPolicyTest.java34 import java.util.Map;
56 Map<String, Map<Uri, String>> appToUris = authenticationPolicy.getAppAndUriMappings(); in getAppAndUrisMappings_returnsMapping()
59 Map<Uri, String> urisToAlias = appToUris.get(PACKAGE_NAME); in getAppAndUrisMappings_returnsMapping()
72 Map<String, Map<Uri, String>> appToUris = authenticationPolicy.getAppAndUriMappings(); in getAppAnyUrisMappings_multipleUrisSameAlias_containsBothUris()
73 Map<Uri, String> urisToAlias = appToUris.get(PACKAGE_NAME); in getAppAnyUrisMappings_multipleUrisSameAlias_containsBothUris()
/cts/hostsidetests/compilation/status_checker_app/src/android/compilation/cts/statuscheckerapp/
DStatusCheckerAppTest.java49 import java.util.Map;
114 reporter.report(Map.of("relative/reported_bad_1.apk", "PCL[]")); in testSecondaryDexReporting()
116 Map.of(Paths.get(dataDir, "non-normal/./reported_bad_2.apk").toString(), "PCL[]")); in testSecondaryDexReporting()
119 reporter.report(Map.of(Paths.get(dataDir, "reported_bad_3.apk").toString(), "ABC")); in testSecondaryDexReporting()
121 Map.of(Paths.get(dataDir, "reported_bad_4.apk").toString(), "PCL[./bar.jar]")); in testSecondaryDexReporting()
124 reporter.report(Map.of(Paths.get(dataDir, "reported_good_1.apk").toString(), "PCL[]")); in testSecondaryDexReporting()
126 Map.of(Paths.get(dataDir, "reported_good_2.apk").toString(), "PCL[bar.jar]")); in testSecondaryDexReporting()
127 reporter.report(Map.of(Paths.get(dataDir, "reported_good_3.apk").toString(), in testSecondaryDexReporting()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/
DAdbUserParser.java27 import java.util.Map;
52 Map<Integer, AdbUser> mUsers;
53 @Nullable Map<String, UserType> mUserTypes;
/cts/common/device-side/bedstead/remoteframeworkclasses/src/types/main/java/com/android/bedstead/remoteframeworkclasses/
DAccountManagerFutureWrapper.java32 import java.util.Map;
65 public static <E> AccountManagerFuture<Map<Profile, E>> groupResults( in groupResults()
66 Map<Profile, AccountManagerFuture<E>> results) { in groupResults()
67 SimpleAccountManagerFuture<Map<Profile, E>> m = new SimpleAccountManagerFuture<>(); in groupResults()
71 for (Map.Entry<Profile, AccountManagerFuture<E>> result : results.entrySet()) { in groupResults()

12345678910>>...22