Home
last modified time | relevance | path

Searched refs:toIntArray (Results 1 – 25 of 35) sorted by relevance

12

/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/ccc/
DCccSpecificationParams.java104 bundle.putIntArray(KEY_UWB_CONFIGS, toIntArray(mUwbConfigs)); in toBundle()
107 bundle.putIntArray(KEY_CHAPS_PER_SLOTS, toIntArray(mChapsPerSlot)); in toBundle()
108 bundle.putIntArray(KEY_SYNC_CODES, toIntArray(mSyncCodes)); in toBundle()
109 bundle.putIntArray(KEY_CHANNELS, toIntArray(mChannels)); in toBundle()
110 bundle.putIntArray(KEY_HOPPING_CONFIGS, toIntArray(mHoppingConfigModes)); in toBundle()
111 bundle.putIntArray(KEY_HOPPING_SEQUENCES, toIntArray(mHoppingSequences)); in toBundle()
171 private int[] toIntArray(List<Integer> data) { in toIntArray() method in CccSpecificationParams
/packages/modules/Connectivity/Tethering/src/android/net/dhcp/
DDhcpServingParamsParcelExt.java62 this.defaultRouters = toIntArray(defaultRouters); in setDefaultRouters()
91 this.dnsServers = toIntArray(dnsServers); in setDnsServers()
120 this.excludedAddrs = toIntArray(excludedAddrs); in setExcludedAddrs()
198 private static int[] toIntArray(@NonNull Collection<Inet4Address> addrs) { in toIntArray() method in DhcpServingParamsParcelExt
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DPermissionMonitor.java40 import static com.android.net.module.util.CollectionUtils.toIntArray;
535 mNetd.networkSetPermissionForUser(PERMISSION_NETWORK, toIntArray(network)); in sendUidsNetworkPermission()
536 mNetd.networkSetPermissionForUser(PERMISSION_SYSTEM, toIntArray(system)); in sendUidsNetworkPermission()
538 mNetd.networkClearPermissionForUser(toIntArray(network)); in sendUidsNetworkPermission()
539 mNetd.networkClearPermissionForUser(toIntArray(system)); in sendUidsNetworkPermission()
1071 mBpfNetMaps.addUidInterfaceRules(iface, toIntArray(uids)); in updateVpnUidsInterfaceRules()
1073 mBpfNetMaps.removeUidInterfaceRules(toIntArray(uids)); in updateVpnUidsInterfaceRules()
1154 toIntArray(allPermissionAppIds)); in sendAppIdsTrafficPermission()
1158 toIntArray(internetPermissionAppIds)); in sendAppIdsTrafficPermission()
1162 toIntArray(updateStatsPermissionAppIds)); in sendAppIdsTrafficPermission()
[all …]
DConnectivityNativeService.java146 return CollectionUtils.toIntArray(portMap); in getPortsBlockedForBind()
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpServingParamsTest.java201 parcel.defaultRouters = toIntArray(TEST_DEFAULT_ROUTERS); in testFromParcelableObject()
203 parcel.dnsServers = toIntArray(TEST_DNS_SERVERS); in testFromParcelableObject()
207 parcel.excludedAddrs = toIntArray(TEST_EXCLUDED_ADDRS); in testFromParcelableObject()
233 private static int[] toIntArray(Collection<Inet4Address> addrs) { in toIntArray() method in DhcpServingParamsTest
DDhcpServerTest.java377 private int[] toIntArray(@NonNull Collection<Inet4Address> addrs) { in toIntArray() method in DhcpServerTest
387 params.defaultRouters = toIntArray(defaultRouters); in updateServingParams()
388 params.dnsServers = toIntArray(dnsServers); in updateServingParams()
389 params.excludedAddrs = toIntArray(excludedAddrs); in updateServingParams()
/packages/services/Car/service/src/com/android/car/hal/
DUserHalHelper.java18 import static com.android.car.CarServiceUtils.toIntArray;
428 toIntArray(intValues)); in toHalPropValue()
467 toIntArray(intValues)); in toHalPropValue()
509 toIntArray(intValues), new float[0], new long[0], request.newUserName, new byte[0]); in toHalPropValue()
538 toIntArray(intValues)); in toHalPropValue()
565 toIntArray(intValues)); in toHalPropValue()
DHidlHalPropConfig.java86 return CarServiceUtils.toIntArray(mConfig.configArray); in getConfigArray()
DUserHalService.java327 CarServiceUtils.toIntArray(intValues)); in getInitialUserInfo()
572 EventLogHelper.writeCarUserHalGetUserAuthReq((Object[]) toIntArray(requestAsPropValue)); in getUserAssociation()
677 EventLogHelper.writeCarUserHalSetUserAuthReq((Object[]) toIntArray(propRequest)); in setUserAssociation()
784 return (Object[]) toIntArray(value); in getEventDataWithErrorMessage()
797 private static Integer[] toIntArray(HalPropValue value) { in toIntArray() method in UserHalService
DHalPropValueBuilder.java21 import static com.android.car.CarServiceUtils.toIntArray;
767 mVehiclePropValue.value.int32Values = toIntArray(int32Values); in setMixedCarProperty()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DVmsHalServiceTest.java19 import static com.android.car.CarServiceUtils.toIntArray;
234 /*int32Values=*/toIntArray(int32Values), /*floatValues=*/new float[0], in testHandleInvalidEvent()
245 /*int32Values=*/toIntArray(int32Values), /*floatValues=*/new float[0], in testHandleInvalidEvent()
256 /*int32Values=*/toIntArray(int32Values), /*floatValues=*/new float[0], in testHandleInvalidEvent()
267 /*int32Values=*/toIntArray(int32Values), /*floatValues=*/new float[0], in testHandleInvalidEvent()
1137 /*areaId=*/0, toIntArray(Arrays.asList(message))); in createHalMessage()
1145 /*int32Values=*/toIntArray(Arrays.asList(message)), /*floatValues=*/new float[0], in createHalMessage()
DPropertyHalServiceIdsTest.java19 import static com.android.car.CarServiceUtils.toIntArray;
144 mPropertyHalServiceIds.customizeVendorPermission(toIntArray(CONFIG_ARRAY)); in checkPermissionForVendorProperty()
173 mPropertyHalServiceIds.customizeVendorPermission(toIntArray(CONFIG_ARRAY_INVALID)); in checkPermissionForVendorProperty()
DInputHalServiceTest.java21 import static com.android.car.CarServiceUtils.toIntArray;
681 /*status=*/0, toIntArray(int32Values)); in makeRotaryPropValue()
/packages/services/Car/service/src/com/android/car/power/
DPolicyReader.java255 CarPowerPolicy policy = new CarPowerPolicy(policyId, toIntArray(components, true), in definePowerPolicy()
256 toIntArray(components, false)); in definePowerPolicy()
545 return new CarPowerPolicy(policyId, toIntArray(components, true), in parsePolicy()
546 toIntArray(components, false)); in parsePolicy()
640 CarServiceUtils.toIntArray(enabledComponents), in reconstructSystemPowerPolicy()
641 CarServiceUtils.toIntArray(disabledComponents))); in reconstructSystemPowerPolicy()
777 private static int[] toIntArray(SparseBooleanArray array, boolean value) { in toIntArray() method in PolicyReader
/packages/modules/NetworkStack/apishim/33/com/android/networkstack/apishim/api33/
DTelephonyManagerShimImpl.java20 import static com.android.net.module.util.CollectionUtils.toIntArray;
72 int[] pkgUids = toIntArray(privilegedUids); in addCarrierPrivilegesListener()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetheringConfiguration.java331 pw.println(Arrays.toString(toIntArray(preferredUpstreamIfaceTypes))); in dump()
376 toIntArray(preferredUpstreamIfaceTypes))); in toString()
608 private static int[] toIntArray(Collection<Integer> values) { in toIntArray() method in TetheringConfiguration
662 parcel.preferredUpstreamIfaceTypes = toIntArray(preferredUpstreamIfaceTypes); in toStableParcelable()
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DAddWorkspaceItemsTaskTest.kt163 .then { spaceStack.removeFirst().toIntArray() } in givenNewItemSpaces()
175 eq(IntArray.wrap(*nonEmptyScreenIds.toIntArray())), in verifyItemSpaceFinderCall()
DAbstractWorkspaceModelTest.kt146 fun toIntArray() = intArrayOf(screenId, cellX, cellY) in toIntArray() method in com.android.launcher3.model.NewItemSpace
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/fira/
DFiraSpecificationParams.java211 private static int[] toIntArray(List<Integer> data) { in toIntArray() method in FiraSpecificationParams
226 bundle.putIntArray(KEY_SUPPORTED_CHANNELS, toIntArray(mSupportedChannels)); in toBundle()
/packages/services/Car/car-lib/src/android/car/hardware/property/
DCarPropertyManager.java677 return toIntArray(res); in getIntArrayProperty()
680 private static int[] toIntArray(Integer[] input) { in toIntArray() method in CarPropertyManager
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
DDataStallDetectionStats.java302 CollectionUtils.toIntArray(mDnsReturnCode), in build()
/packages/services/Car/service/src/com/android/car/
DCarServiceUtils.java213 public static int[] toIntArray(List<Integer> list) { in toIntArray() method in CarServiceUtils
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/ui/model/
DReviewPermissionsViewModelTest.kt247 requestedPermissionsFlags = listOf<Int>().toIntArray() in getPackageInfo()
/packages/services/Car/service/src/com/android/car/audio/
DCarVolume.java163 return CarServiceUtils.toIntArray(contextByPriority); in convertAttributesToContexts()
/packages/modules/Connectivity/framework-t/src/android/app/usage/
DNetworkStats.java611 mUids = CollectionUtils.toIntArray(filteredUids); in startUserUidEnumeration()

12