/packages/modules/Connectivity/Tethering/src/android/net/dhcp/ |
D | DhcpServingParamsParcelExt.java | 62 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/Uwb/service/support_lib/src/com/google/uwb/support/ccc/ |
D | CccSpecificationParams.java | 118 bundle.putIntArray(KEY_UWB_CONFIGS, toIntArray(mUwbConfigs)); in toBundle() 123 bundle.putIntArray(KEY_CHAPS_PER_SLOTS, toIntArray(mChapsPerSlot)); in toBundle() 124 bundle.putIntArray(KEY_SYNC_CODES, toIntArray(mSyncCodes)); in toBundle() 125 bundle.putIntArray(KEY_CHANNELS, toIntArray(mChannels)); in toBundle() 126 bundle.putIntArray(KEY_HOPPING_CONFIGS, toIntArray(mHoppingConfigModes)); in toBundle() 127 bundle.putIntArray(KEY_HOPPING_SEQUENCES, toIntArray(mHoppingSequences)); in toBundle() 200 private int[] toIntArray(List<Integer> data) { in toIntArray() method in CccSpecificationParams
|
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/aliro/ |
D | AliroSpecificationParams.java | 119 bundle.putIntArray(KEY_UWB_CONFIGS, toIntArray(mUwbConfigs)); in toBundle() 124 bundle.putIntArray(KEY_CHAPS_PER_SLOTS, toIntArray(mChapsPerSlot)); in toBundle() 125 bundle.putIntArray(KEY_SYNC_CODES, toIntArray(mSyncCodes)); in toBundle() 126 bundle.putIntArray(KEY_CHANNELS, toIntArray(mChannels)); in toBundle() 127 bundle.putIntArray(KEY_HOPPING_CONFIGS, toIntArray(mHoppingConfigModes)); in toBundle() 128 bundle.putIntArray(KEY_HOPPING_SEQUENCES, toIntArray(mHoppingSequences)); in toBundle() 201 private int[] toIntArray(List<Integer> data) { in toIntArray() method in AliroSpecificationParams
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetylabel/ |
D | AppsSafetyLabelHistoryTest.kt | 250 listOf(PURPOSE_FRAUD_PREVENTION_SECURITY).toIntArray() in createDataSharedWithLocationNoAds() 267 putIntArray(PURPOSES_KEY, listOf(PURPOSE_ADVERTISING).toIntArray()) in createDataSharedWithLocationWithAds() 283 putIntArray(PURPOSES_KEY, listOf(PURPOSE_ADVERTISING).toIntArray()) in createDataSharedWithFinanceWithAds() 299 putIntArray(PURPOSES_KEY, listOf(PURPOSE_ADVERTISING).toIntArray()) in createDataSharedWithLocationAndFinanceWithAds() 308 putIntArray(PURPOSES_KEY, listOf(PURPOSE_ADVERTISING).toIntArray()) in createDataSharedWithLocationAndFinanceWithAds()
|
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/ |
D | AppMetadata.kt | 31 PersistableBundle().apply { putIntArray(KEY_PURPOSES, (1..7).toList().toIntArray()) } in createDefaultAppMetadata() 147 listOf(PURPOSE_FRAUD_PREVENTION_SECURITY).toIntArray() in createAppMetadataWithLocationSharingNoAds() 169 putIntArray(KEY_PURPOSES, listOf(PURPOSE_ADVERTISING).toIntArray()) in createAppMetadataWithLocationSharingAds()
|
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/util/ |
D | AppPairsControllerTest.kt | 200 whenever(mockTopTaskTracker.runningSplitTaskIds).thenReturn(arrayListOf(1, 2).toIntArray()) in handleAppPairLaunchInApp_shouldDoNothingWhenAppsAreAlreadyRunning() 224 whenever(mockTopTaskTracker.runningSplitTaskIds).thenReturn(arrayListOf(1, 3).toIntArray()) in handleAppPairLaunchInApp_shouldLaunchApp2ToRightWhenApp1IsOnLeft() 248 whenever(mockTopTaskTracker.runningSplitTaskIds).thenReturn(arrayListOf(3, 1).toIntArray()) in handleAppPairLaunchInApp_shouldLaunchApp2ToLeftWhenApp1IsOnRight() 272 whenever(mockTopTaskTracker.runningSplitTaskIds).thenReturn(arrayListOf(2, 3).toIntArray()) in handleAppPairLaunchInApp_shouldLaunchApp1ToRightWhenApp2IsOnLeft() 296 whenever(mockTopTaskTracker.runningSplitTaskIds).thenReturn(arrayListOf(3, 2).toIntArray()) in handleAppPairLaunchInApp_shouldLaunchApp1ToLeftWhenApp2IsOnRight() 320 whenever(mockTopTaskTracker.runningSplitTaskIds).thenReturn(arrayListOf(3, 4).toIntArray()) in handleAppPairLaunchInApp_shouldLaunchAppPairNormallyWhenUnrelatedPairIsOnScreen()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | PermissionMonitor.java | 37 import static com.android.net.module.util.CollectionUtils.toIntArray; 567 mNetd.networkSetPermissionForUser(PERMISSION_NETWORK, toIntArray(network)); in sendUidsNetworkPermission() 568 mNetd.networkSetPermissionForUser(PERMISSION_SYSTEM, toIntArray(system)); in sendUidsNetworkPermission() 570 mNetd.networkClearPermissionForUser(toIntArray(network)); in sendUidsNetworkPermission() 571 mNetd.networkClearPermissionForUser(toIntArray(system)); in sendUidsNetworkPermission() 1112 mBpfNetMaps.addUidInterfaceRules(iface, toIntArray(uids)); in updateVpnUidsInterfaceRules() 1114 mBpfNetMaps.removeUidInterfaceRules(toIntArray(uids)); in updateVpnUidsInterfaceRules() 1192 toIntArray(allPermissionAppIds)); in sendAppIdsTrafficPermission() 1196 toIntArray(internetPermissionAppIds)); in sendAppIdsTrafficPermission() 1200 toIntArray(updateStatsPermissionAppIds)); in sendAppIdsTrafficPermission() [all …]
|
D | ConnectivityNativeService.java | 136 return CollectionUtils.toIntArray(portMap); in getPortsBlockedForBind()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpServingParamsTest.java | 201 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
|
D | DhcpServerTest.java | 379 private int[] toIntArray(@NonNull Collection<Inet4Address> addrs) { in toIntArray() method in DhcpServerTest 389 params.defaultRouters = toIntArray(defaultRouters); in updateServingParams() 390 params.dnsServers = toIntArray(dnsServers); in updateServingParams() 391 params.excludedAddrs = toIntArray(excludedAddrs); in updateServingParams()
|
/packages/modules/NetworkStack/apishim/33/com/android/networkstack/apishim/api33/ |
D | TelephonyManagerShimImpl.java | 20 import static com.android.net.module.util.CollectionUtils.toIntArray; 73 int[] pkgUids = toIntArray(privilegedUids); in addCarrierPrivilegesListener()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | UserHalHelper.java | 19 import static com.android.car.CarServiceUtils.toIntArray; 437 toIntArray(intValues)); in toHalPropValue() 476 toIntArray(intValues)); in toHalPropValue() 518 toIntArray(intValues), new float[0], new long[0], request.newUserName, new byte[0]); in toHalPropValue() 547 toIntArray(intValues)); in toHalPropValue() 574 toIntArray(intValues)); in toHalPropValue()
|
D | HidlHalPropConfig.java | 89 return CarServiceUtils.toIntArray(mConfig.configArray); in getConfigArray()
|
D | UserHalService.java | 326 CarServiceUtils.toIntArray(intValues)); in getInitialUserInfo() 571 EventLogHelper.writeCarUserHalGetUserAuthReq((Object[]) toIntArray(requestAsPropValue)); in getUserAssociation() 676 EventLogHelper.writeCarUserHalSetUserAuthReq((Object[]) toIntArray(propRequest)); in setUserAssociation() 783 return (Object[]) toIntArray(value); in getEventDataWithErrorMessage() 796 private static Integer[] toIntArray(HalPropValue value) { in toIntArray() method in UserHalService
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | VmsHalServiceTest.java | 19 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()
|
/packages/services/Car/service/src/com/android/car/power/ |
D | PolicyReader.java | 282 CarPowerPolicy policy = new CarPowerPolicy(policyId, toIntArray(components, true), in definePowerPolicy() 283 toIntArray(components, false)); in definePowerPolicy() 740 return new CarPowerPolicy(intermediatePolicy.policyId, toIntArray(components, true), in toCarPowerPolicy() 741 toIntArray(components, false)); in toCarPowerPolicy() 852 CarServiceUtils.toIntArray(enabledComponents), in reconstructSystemPowerPolicy() 853 CarServiceUtils.toIntArray(disabledComponents))); in reconstructSystemPowerPolicy() 995 private static int[] toIntArray(SparseBooleanArray array, boolean value) { in toIntArray() method in PolicyReader
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/ |
D | AddWorkspaceItemsTaskTest.kt | 158 .then { spaceStack.removeFirst().toIntArray() } in givenNewItemSpaces() 170 eq(IntArray.wrap(*nonEmptyScreenIds.toIntArray())), in verifyItemSpaceFinderCall()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarServiceUtilsTest.java | 342 public void toIntArray() { in toIntArray() method in CarServiceUtilsTest 347 .that(CarServiceUtils.toIntArray(set)).asList() in toIntArray() 354 CarServiceUtils.toIntArray(/* set= */ (ArraySet<Integer>) null) in toIntArray_fails()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/property/ |
D | PropertyHalServiceConfigsUnitTest.java | 19 import static com.android.car.CarServiceUtils.toIntArray; 331 mPropertyHalServiceConfigs.customizeVendorPermission(toIntArray(configArray)); in testCustomizeVendorPermission() 398 mPropertyHalServiceConfigs.customizeVendorPermission(toIntArray(configArray))); in testCustomizeVendorPermission_systemPropertyNotAllowed() 412 mPropertyHalServiceConfigs.customizeVendorPermission(toIntArray(configArray)); in testCustomizeVendorPermission_overrideNotAllowed()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/ |
D | TestResourceHelper.kt | 57 .toIntArray() in <lambda>()
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/utils/ |
D | MockUtil.kt | 56 requestedPermissionsFlags = requestedFlags.toIntArray() in createPackageInfo()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | TetheringConfiguration.java | 418 pw.println(Arrays.toString(toIntArray(preferredUpstreamIfaceTypes))); in dump() 472 toIntArray(preferredUpstreamIfaceTypes))); in toString() 694 private static int[] toIntArray(Collection<Integer> values) { in toIntArray() method in TetheringConfiguration
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/request/ |
D | PermissionsFragment.kt | 94 result.putExtra(PackageManager.EXTRA_REQUEST_PERMISSIONS_RESULTS, grants.toIntArray()) in getAllowButton()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioMirrorRequestHandler.java | 219 handleInformCallbacks(CarServiceUtils.toIntArray(delta), in updateRemoveMirrorConfigurationForZones() 256 return CarServiceUtils.toIntArray(newConfig); in calculateAudioConfigurationAfterRemovingZonesFromRequestId()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/model/ |
D | AbstractWorkspaceModelTest.kt | 130 fun toIntArray() = intArrayOf(screenId, cellX, cellY) in toIntArray() method
|