Home
last modified time | relevance | path

Searched refs:Integer (Results 1 – 25 of 2754) sorted by relevance

12345678910>>...111

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/internal/util/
DArrayUtilsTest.java71 Integer[] array1 = ArrayUtils.emptyArray(Integer.class); in testEmptyArray()
73 Integer[] array2 = ArrayUtils.emptyArray(Integer.class); in testEmptyArray()
83 Integer[] array1 = ArrayUtils.emptyIfNull(null, Integer.class); in testEmptyIfNull()
84 Integer[] array2 = ArrayUtils.emptyIfNull(new Integer[]{1, 2}, Integer.class); in testEmptyIfNull()
92 assertThat(ArrayUtils.isEmpty((ArrayList<Integer>) null)).isTrue(); in testIsEmptyAndSize()
94 ArrayList<Integer> list = new ArrayList<Integer>(); in testIsEmptyAndSize()
96 list = new ArrayList<Integer>(Arrays.asList(1, 2)); in testIsEmptyAndSize()
100 HashMap<Integer, Integer> map = new HashMap(); in testIsEmptyAndSize()
106 Integer[] array = new Integer[0]; in testIsEmptyAndSize()
108 array = new Integer[]{1, 2}; in testIsEmptyAndSize()
[all …]
/packages/modules/Bluetooth/android/leaudio/app/src/main/java/com/android/bluetooth/leaudio/
DLeAudioDeviceStateWrapper.java46 public MutableLiveData<Pair<Integer, Integer>> nodeStatusMutable =
48 public MutableLiveData<Pair<Integer, Pair<Integer, Integer>>> groupStatusMutable =
50 public MutableLiveData<Pair<Integer, Boolean>> groupLockStateMutable =
52 public MutableLiveData<Integer> microphoneStateMutable = new MutableLiveData<>();
58 public MutableLiveData<Integer> hapStateMutable = new MutableLiveData<>();
60 public MutableLiveData<Integer> hapFeaturesMutable = new MutableLiveData<>();
61 public MutableLiveData<Integer> hapActivePresetIndexMutable =
71 public MutableLiveData<Integer> numInputsMutable = new MutableLiveData<>(0);
72 public MutableLiveData<Integer> numOffsetsMutable = new MutableLiveData<>(0);
73 public MutableLiveData<Integer> volumeStateMutable = new MutableLiveData<>(0);
[all …]
DLeAudioRecycleViewAdapter.java168 final Integer status = group_id_node_status_pair.second; in setLeAudioStateObservers()
169 final Integer group_id = group_id_node_status_pair.first; in setLeAudioStateObservers()
173 .setText(((Integer) BluetoothLeAudio.GROUP_ID_INVALID).toString()); in setLeAudioStateObservers()
181 final Integer group_id = group_id_node_status_pair.first; in setLeAudioStateObservers()
182 final Integer status = group_id_node_status_pair.second.first; in setLeAudioStateObservers()
183 final Integer flags = group_id_node_status_pair.second.second; in setLeAudioStateObservers()
201 final Integer group_id = group_id_node_status_pair.first; in setLeAudioStateObservers()
255 Integer FEATURE_TYPE_MONAURAL = (Integer) field.get(null); in setHasStateObservers()
259 Integer FEATURE_TYPE_BANDED = (Integer) field.get(null); in setHasStateObservers()
264 Integer FEATURE_SYNCHRONIZATED_PRESETS = (Integer) field.get(null); in setHasStateObservers()
[all …]
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DSaProposalTest.java102 private static final List<Pair<Integer, Integer>> IKE_NORMAL_MODE_CIPHERS =
104 private static final List<Pair<Integer, Integer>> IKE_COMBINED_MODE_CIPHERS =
106 private static final List<Pair<Integer, Integer>> CHILD_NORMAL_MODE_CIPHERS =
108 private static final List<Pair<Integer, Integer>> CHILD_COMBINED_MODE_CIPHERS =
111 private static final List<Integer> IKE_INTEGRITY_ALGOS = getIntegrityAlgos(true /* isIke */);
112 private static final List<Integer> CHILD_INTEGRITY_ALGOS = getIntegrityAlgos(false /* isIke */);
114 private static final List<Integer> DH_GROUPS = getDhGroups(false /* includeNone */);
115 private static final List<Integer> DH_GROUPS_WITH_NONE = getDhGroups(true /* includeNone */);
116 private static final List<Integer> PRFS = getPrfs();
120 int cipherId, boolean isIke, List<Pair<Integer, Integer>> ciphers) { in addCipherWithFixedKeyLenIfSupported() argument
[all …]
/packages/apps/Gallery/tests/src/com/android/camera/gallery/
DLruCacheUnitTests.java9 LruCache<Integer, Integer> cache = new LruCache<Integer, Integer>(2); in testPut()
10 Integer key = Integer.valueOf(1); in testPut()
11 Integer value = Integer.valueOf(3); in testPut()
17 LruCache<Integer, Integer> cache = new LruCache<Integer, Integer>(2); in testTracingInUsedObject()
18 Integer key = Integer.valueOf(1); in testTracingInUsedObject()
19 Integer value = new Integer(3); in testTracingInUsedObject()
29 LruCache<Integer, Integer> cache = new LruCache<Integer, Integer>(2); in testLruAlgorithm()
30 cache.put(0, new Integer(0)); in testLruAlgorithm()
36 assertEquals(Integer.valueOf(0), cache.get(0)); in testLruAlgorithm()
42 private final LruCache<Integer,Integer> mMap;
[all …]
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/
DTcpInfo.java45 RTO(Integer.BYTES),
46 ATO(Integer.BYTES),
47 SND_MSS(Integer.BYTES),
48 RCV_MSS(Integer.BYTES),
49 UNACKED(Integer.BYTES),
50 SACKED(Integer.BYTES),
51 LOST(Integer.BYTES),
52 RETRANS(Integer.BYTES),
53 FACKETS(Integer.BYTES),
54 LAST_DATA_SENT(Integer.BYTES),
[all …]
/packages/modules/AppSearch/testing/mockingservicestests/src/com/android/server/appsearch/
DFrameworkAppSearchConfigTest.java113 Integer.toString(samplingIntervalDefault), in testCustomizedValue_allSamplingIntervals()
117 Integer.toString(samplingIntervalPutDocumentStats), in testCustomizedValue_allSamplingIntervals()
121 Integer.toString(samplingIntervalBatchCallStats), in testCustomizedValue_allSamplingIntervals()
125 Integer.toString(samplingIntervalInitializeStats), in testCustomizedValue_allSamplingIntervals()
129 Integer.toString(samplingIntervalSearchStats), in testCustomizedValue_allSamplingIntervals()
133 Integer.toString(samplingIntervalGlobalSearchStats), in testCustomizedValue_allSamplingIntervals()
137 Integer.toString(samplingIntervalOptimizeStats), in testCustomizedValue_allSamplingIntervals()
169 Integer.toString(samplingIntervalDefault), in testCustomizedValueOverride_allSamplingIntervals()
173 Integer.toString(samplingIntervalPutDocumentStats), in testCustomizedValueOverride_allSamplingIntervals()
177 Integer.toString(samplingIntervalBatchCallStats), in testCustomizedValueOverride_allSamplingIntervals()
[all …]
/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DMappedButtonConfig.java49 @NonNull private final Map<Integer, MappingInfo> mapping;
50 @NonNull private final List<Integer> orderedMappedSlots;
58 public MappedButtonConfig(@NonNull Map<Integer, MappingInfo> mapping) { in MappedButtonConfig() argument
64 private List<Integer> findOrderedMappedSlots() { in findOrderedMappedSlots()
65 Set<Integer> slots = new ArraySet<>(); in findOrderedMappedSlots()
66 for (Entry<Integer, MappingInfo> entry : mapping.entrySet()) { in findOrderedMappedSlots()
69 List<Integer> orderedSlots = new ArrayList<>(slots); in findOrderedMappedSlots()
76 public List<Integer> getOrderedMappedSlots() { in getOrderedMappedSlots()
88 public List<Integer> getButtonsForSlot(int slot) { in getButtonsForSlot()
89 List<Integer> buttons = new ArrayList<>(); in getButtonsForSlot()
[all …]
DButtonChooser.java57 public List<Integer> getButtonPlacement( in getButtonPlacement()
59 @NonNull Set<Integer> allowedButtons, in getButtonPlacement()
60 @NonNull Set<Integer> disabledButtons) { in getButtonPlacement()
68 List<Integer> placedButtons = new ArrayList<>(); in getButtonPlacement()
69 List<Integer> conflicts = new ArrayList<>(); in getButtonPlacement()
78 @NonNull Set<Integer> allowedButtons, in placeButtonsInSlots()
79 @NonNull List<Integer> placedButtons, in placeButtonsInSlots()
80 @NonNull List<Integer> conflicts) { in placeButtonsInSlots()
81 List<Integer> configuredSlots = config.getOrderedMappedSlots(); in placeButtonsInSlots()
84 List<Integer> potentialButtons = config.getButtonsForSlot(slotNumber); in placeButtonsInSlots()
[all …]
/packages/services/Car/car-lib/src/android/car/
DCarInfoManager.java47 @ValueTypeDef(type = Integer.class)
56 @ValueTypeDef(type = Integer.class)
63 @ValueTypeDef(type = Integer.class)
85 @ValueTypeDef(type = Integer.class)
92 @ValueTypeDef(type = Integer.class)
99 @ValueTypeDef(type = Integer.class)
106 @ValueTypeDef(type = Integer.class)
114 @ValueTypeDef(type = Integer.class)
121 @ValueTypeDef(type = Integer.class)
129 @ValueTypeDef(type = Integer[].class)
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/tbs/
DTbsGenericTest.java68 private @Captor ArgumentCaptor<Integer> mGtbsCcidCaptor;
73 private @Captor ArgumentCaptor<Integer> mDefaultGtbsTechnologyCaptor;
117 private Integer prepareTestBearer() { in prepareTestBearer()
120 Integer capabilities = in prepareTestBearer()
128 ArgumentCaptor<Integer> ccidCaptor = ArgumentCaptor.forClass(Integer.class); in prepareTestBearer()
172 Integer ccid = prepareTestBearer(); in testCallAdded()
179 ArgumentCaptor<Integer> callIndexCaptor = ArgumentCaptor.forClass(Integer.class); in testCallAdded()
181 Integer capturedCallIndex = callIndexCaptor.getValue(); in testCallAdded()
185 Map<Integer, TbsCall> capturedCurrentCalls = currentCallsCaptor.getValue(); in testCallAdded()
198 Integer ccid = prepareTestBearer(); in testCallRemoved()
[all …]
DTbsGattTest.java77 private Integer mCurrentCcid;
183 .getIntValue(BluetoothGattCharacteristic.FORMAT_UINT8, 0) != (Integer) value; in verifySetValue()
185 Assert.assertTrue(mTbsGatt.setBearerTechnology((Integer) value)); in verifySetValue()
187 Assert.assertFalse(mTbsGatt.setBearerTechnology((Integer) value)); in verifySetValue()
189 Assert.assertEquals((Integer) value, in verifySetValue()
205 Pair<Integer, Boolean> flagStatePair = (Pair<Integer, Boolean>) value; in verifySetValue()
238 Pair<Map<Integer, TbsCall>, byte[]> callsExpectedPacketPair = in verifySetValue()
239 (Pair<Map<Integer, TbsCall>, byte[]>) value; in verifySetValue()
245 Pair<Map<Integer, TbsCall>, byte[]> callsExpectedPacketPair = in verifySetValue()
246 (Pair<Map<Integer, TbsCall>, byte[]>) value; in verifySetValue()
[all …]
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/ccc/
DCccSpecificationParams.java47 @UwbConfig private final List<Integer> mUwbConfigs;
50 @ChapsPerSlot private final List<Integer> mChapsPerSlot;
51 @SyncCodeIndex private final List<Integer> mSyncCodes;
52 @Channel private final List<Integer> mChannels;
53 @HoppingConfigMode private final List<Integer> mHoppingConfigModes;
54 @HoppingSequence private final List<Integer> mHoppingSequences;
68 @UwbConfig List<Integer> uwbConfigs, in CccSpecificationParams()
71 @ChapsPerSlot List<Integer> chapsPerSlot, in CccSpecificationParams()
72 @SyncCodeIndex List<Integer> syncCodes, in CccSpecificationParams()
73 @Channel List<Integer> channels, in CccSpecificationParams()
[all …]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DAnimationDynamicColorsHelperTest.java43 private static final Map<String, Integer> LIGHT_LAYERS_TO_DARK_COLORS =
46 private static final Map<String, Integer> DARK_LAYERS_TO_LIGHT_COLORS =
49 private static final Map<String, Integer> LIGHT_LAYERS_TO_DARK_COLORS_ASYMMETRIC =
57 Map<String, Integer> layerToColor = new HashMap<>(); in setupAnimationDynamicColors_lightMode_containsLightColors()
67 Map<String, Integer> layerToColor = new HashMap<>(); in setupAnimationDynamicColors_darkMode_setsSymmetricDarkColors()
78 Map<String, Integer> layerToColor = new HashMap<>(); in setupAnimationDynamicColors_darkMode_setsAsymmetricColors()
88 Map<String, Integer> layerToColor = in setupAnimationDynamicColors_lightMode_doesNotSetAsymmetricColors()
94 private Map<String, Integer> getUpdatedLayersForMode(int nightMode) { in getUpdatedLayersForMode()
95 Map<String, Integer> layerToColor = new HashMap<>(); in getUpdatedLayersForMode()
103 Map<String, Integer> layerToColor) { in createAnimationWrapper()
[all …]
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/fira/
DFiraRangingReconfigureParams.java38 @Nullable @MulticastListUpdateAction private final Integer mAction;
42 @Nullable private final Integer mBlockStrideLength;
44 @Nullable @RangeDataNtfConfig private final Integer mRangeDataNtfConfig;
45 @Nullable private final Integer mRangeDataProximityNear;
46 @Nullable private final Integer mRangeDataProximityFar;
60 @Nullable @MulticastListUpdateAction Integer action, in FiraRangingReconfigureParams()
63 @Nullable Integer blockStrideLength, in FiraRangingReconfigureParams()
64 @Nullable Integer rangeDataNtfConfig, in FiraRangingReconfigureParams()
65 @Nullable Integer rangeDataProximityNear, in FiraRangingReconfigureParams()
66 @Nullable Integer rangeDataProximityFar) { in FiraRangingReconfigureParams()
[all …]
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DCredentialsTest.java33 cred = new Credentials(Integer.MAX_VALUE, Integer.MAX_VALUE, Integer.MAX_VALUE); in testCredentials()
34 assertEquals(Integer.MAX_VALUE, cred.getGid()); in testCredentials()
35 assertEquals(Integer.MAX_VALUE, cred.getPid()); in testCredentials()
36 assertEquals(Integer.MAX_VALUE, cred.getUid()); in testCredentials()
39 cred = new Credentials(Integer.MIN_VALUE, Integer.MIN_VALUE, Integer.MIN_VALUE); in testCredentials()
40 assertEquals(Integer.MIN_VALUE, cred.getGid()); in testCredentials()
41 assertEquals(Integer.MIN_VALUE, cred.getPid()); in testCredentials()
42 assertEquals(Integer.MIN_VALUE, cred.getUid()); in testCredentials()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DVer2DictEncoder.java83 final HashMap<Integer, Integer> codePointOccurrenceCounts = new HashMap<>(); in makeCodePointTable()
97 final ArrayList<Entry<Integer, Integer>> codePointOccurrenceArray = in makeCodePointTable()
100 Collections.sort(codePointOccurrenceArray, new Comparator<Entry<Integer, Integer>>() { in makeCodePointTable()
102 public int compare(final Entry<Integer, Integer> a, final Entry<Integer, Integer> b) { in makeCodePointTable()
111 final HashMap<Integer, Integer> codePointToOneByteCodeMap = new HashMap<>(); in makeCodePointTable()
112 for (final Entry<Integer, Integer> entry : codePointOccurrenceArray) { in makeCodePointTable()
210 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in writePtNodeFlags() argument
219 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in writeCharacters() argument
235 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in writeChildrenPosition() argument
272 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in writePtNode() argument
DBinaryDictEncoderUtils.java63 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in getPtNodeCharactersSize() argument
79 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in getPtNodeCharactersSize() argument
99 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in getPtNodeMaximumSize() argument
122 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in calculatePtNodeArrayMaximumSize() argument
138 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in getNodeHeaderSize() argument
321 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in computeActualPtNodeArraySize() argument
408 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in computeAddresses() argument
631 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in getChildrenPosition() argument
654 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in writePlacedPtNodeArray() argument
692 int firstTerminalAddress = Integer.MAX_VALUE; in showStatistics()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DVenueUrlElementTest.java72 private byte[] getTestData(Map<Integer, URL> urls) throws IOException { in getTestData() argument
75 for (Map.Entry<Integer, URL> entry : urls.entrySet()) { in getTestData()
106 Map<Integer, URL> urlList = new HashMap<>(); in parseTruncatedBuffer()
107 urlList.put(Integer.valueOf(1), createUrlFromString(TEST_VENUE_URL1)); in parseTruncatedBuffer()
176 Map<Integer, URL> urlList = new HashMap<>(); in parseBufferWithNegativeVenueNumberAndUrlData()
177 urlList.put(Integer.valueOf(249), createUrlFromString(TEST_VENUE_URL1)); in parseBufferWithNegativeVenueNumberAndUrlData()
201 Map<Integer, URL> urlList = new HashMap<>(); in parseBufferWithValidVenueUrls()
202 urlList.put(Integer.valueOf(1), createUrlFromString(TEST_VENUE_URL1)); in parseBufferWithValidVenueUrls()
203 urlList.put(Integer.valueOf(2), createUrlFromString(TEST_VENUE_URL2)); in parseBufferWithValidVenueUrls()
204 urlList.put(Integer.valueOf(4), createUrlFromString(TEST_VENUE_URL3)); in parseBufferWithValidVenueUrls()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DMockResources.java23 private HashMap<Integer, Boolean> mBooleanValues;
24 private HashMap<Integer, Integer> mIntegerValues;
25 private HashMap<Integer, String> mStringValues;
26 private HashMap<Integer, CharSequence> mTextValues;
27 private HashMap<Integer, int[]> mIntArrayValues;
28 private HashMap<Integer, String[]> mStringArrayValues;
31 mBooleanValues = new HashMap<Integer, Boolean>(); in MockResources()
32 mIntegerValues = new HashMap<Integer, Integer>(); in MockResources()
33 mStringValues = new HashMap<Integer, String>(); in MockResources()
34 mTextValues = new HashMap<Integer, CharSequence>(); in MockResources()
[all …]
/packages/services/Car/service/src/com/android/car/audio/
DCarDuckingUtils.java58 Set<Integer> uniqueContexts = zone.getCarAudioContext() in getAddressesToDuck()
60 Set<Integer> contextsToDuck = zone.getCarAudioContext() in getAddressesToDuck()
64 Set<Integer> unduckedContexts = getUnduckedContexts(uniqueContexts, contextsToDuck); in getAddressesToDuck()
79 private static Set<Integer> getUnduckedContexts(Set<Integer> contexts, in getUnduckedContexts()
80 Set<Integer> duckedContexts) { in getUnduckedContexts()
81 Set<Integer> unduckedContexts = new ArraySet<>(contexts); in getUnduckedContexts()
86 private static Set<String> getAddressesForContexts(Set<Integer> contexts, CarAudioZone zone) { in getAddressesForContexts()
88 for (Integer context : contexts) { in getAddressesForContexts()
94 private static Set<Integer> getContextsToDuck(Set<Integer> contexts) { in getContextsToDuck()
95 Set<Integer> contextsToDuck = new ArraySet<>(); in getContextsToDuck()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DSetMultimapTest.java32 SetMultimap<Integer, String> map = new SetMultimap<>(); in testGet_empty_returnsEmptySet()
39 SetMultimap<Integer, String> map = createFromMultimap(ImmutableMultimap.of(1, "value1")); in testGet_keyDoesNotExist_returnsEmptySet()
46 SetMultimap<Integer, String> map = new SetMultimap<>(); in testGet()
58 SetMultimap<Integer, String> map = new SetMultimap<>(); in testPut_duplicateValue()
67 SetMultimap<Integer, String> map = createFromMultimap(ImmutableMultimap.of(1, "value1")); in testContainsEntry()
74 SetMultimap<Integer, String> map = createFromMultimap(ImmutableMultimap.of(1, "value1")); in testContainsEntry_keyDoesNotExist()
81 SetMultimap<Integer, String> map = createFromMultimap(ImmutableMultimap.of(1, "value1")); in testContainsEntry_valueDoesNotExist()
88 SetMultimap<Integer, String> map = createFromMultimap( in testRemove_success()
97 SetMultimap<Integer, String> map = createFromMultimap( in testRemove_lastEntryOfKey()
106 SetMultimap<Integer, String> map = createFromMultimap( in testRemove_keyDoesNotExist()
[all …]
DSlidingWindowTest.java46 List<Integer> elements = Arrays.asList(3, 4); in testAdd()
47 SlidingWindow<Integer> window = new SlidingWindow<>(5); in testAdd()
54 SlidingWindow<Integer> window = new SlidingWindow<>(10); in testSize()
62 List<Integer> elements = Arrays.asList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10); in testAddOverflow()
63 List<Integer> expectedElements = Arrays.asList(6, 7, 8, 9, 10); in testAddOverflow()
64 SlidingWindow<Integer> window = new SlidingWindow<>(5); in testAddOverflow()
71 List<Integer> elements = Arrays.asList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10); in testStream()
72 List<Integer> expectedElements = Arrays.asList(6, 7, 8, 9, 10); in testStream()
73 SlidingWindow<Integer> window = new SlidingWindow<>(5); in testStream()
81 List<Integer> elements = Arrays.asList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10); in testCount()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DNetworkSecurityPreferenceController.java47 private static final Map<Integer, Integer> SECURITY_TYPE_TO_DESC_RES =
50 private static final List<Integer> SECURITY_TYPES = Arrays.asList(
82 securityTypeIdsList.add(Integer.toString(WifiEntry.SECURITY_NONE)); in onCreateInternal()
87 securityTypeIdsList.add(Integer.toString(WifiEntry.SECURITY_OWE)); in onCreateInternal()
92 securityTypeIdsList.add(Integer.toString(WifiEntry.SECURITY_WEP)); in onCreateInternal()
96 securityTypeIdsList.add(Integer.toString(WifiEntry.SECURITY_PSK)); in onCreateInternal()
101 securityTypeIdsList.add(Integer.toString(WifiEntry.SECURITY_SAE)); in onCreateInternal()
106 securityTypeIdsList.add(Integer.toString(WifiEntry.SECURITY_EAP)); in onCreateInternal()
111 securityTypeIdsList.add(Integer.toString(WifiEntry.SECURITY_EAP_SUITE_B)); in onCreateInternal()
122 getPreference().setDefaultValue(Integer.toString(WifiEntry.SECURITY_NONE)); in onCreateInternal()
[all …]
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarPropertyConfigTest.java88 Integer expectedMinValue = 1; in testWriteReadIntegerValue()
89 Integer expectedMaxValue = 20; in testWriteReadIntegerValue()
90 CarPropertyConfig<Integer> config = CarPropertyConfig in testWriteReadIntegerValue()
91 .newBuilder(Integer.class, INT_PROPERTY_ID, CAR_AREA_TYPE) in testWriteReadIntegerValue()
96 CarPropertyConfig<Integer> configRead = readFromParcel(); in testWriteReadIntegerValue()
100 assertThat(configRead.getPropertyType()).isEqualTo(Integer.class); in testWriteReadIntegerValue()
136 CarPropertyConfig<Integer[]> config = CarPropertyConfig in testWriteReadIntegerArray()
137 .newBuilder(Integer[].class, INT_ARRAY_PROPERTY_ID, CAR_AREA_TYPE) in testWriteReadIntegerArray()
139 .addAreaConfig(WINDOW_DRIVER, new Integer[] {10, 20, 30}, new Integer[0]) in testWriteReadIntegerArray()
144 CarPropertyConfig<Integer[]> configRead = readFromParcel(); in testWriteReadIntegerArray()
[all …]

12345678910>>...111