Home
last modified time | relevance | path

Searched refs:valueAt (Results 1 – 25 of 225) sorted by relevance

123456789

/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DUsageGraphTest.java75 assertThat(localPaths.valueAt(0)).isEqualTo(0); in calculateLocalPaths_singlePath()
77 assertThat(localPaths.valueAt(1)).isEqualTo(100); in calculateLocalPaths_singlePath()
79 assertThat(localPaths.valueAt(2)).isEqualTo(-1); in calculateLocalPaths_singlePath()
99 assertThat(localPaths.valueAt(0)).isEqualTo(0); in calculateLocalPaths_multiplePaths()
101 assertThat(localPaths.valueAt(1)).isEqualTo(50); in calculateLocalPaths_multiplePaths()
103 assertThat(localPaths.valueAt(2)).isEqualTo(-1); in calculateLocalPaths_multiplePaths()
106 assertThat(localPaths.valueAt(3)).isEqualTo(100); in calculateLocalPaths_multiplePaths()
108 assertThat(localPaths.valueAt(4)).isEqualTo(150); in calculateLocalPaths_multiplePaths()
110 assertThat(localPaths.valueAt(5)).isEqualTo(-1); in calculateLocalPaths_multiplePaths()
126 assertThat(localPaths.valueAt(0)).isEqualTo(0); in calculateLocalPaths_similarPointMiddle()
[all …]
/packages/modules/Connectivity/Tethering/tests/privileged/src/com/android/networkstack/tethering/
DBpfMapTest.java118 readOnlyMap.insertEntry(mTestData.keyAt(0), mTestData.valueAt(0)); in testGetFd()
145 mTestMap.insertEntry(mTestData.keyAt(0), mTestData.valueAt(0)); in testIsEmpty()
160 mTestMap.insertEntry(mTestData.keyAt(0), mTestData.valueAt(0)); in testGetFirstKey()
180 mTestMap.insertEntry(mTestData.keyAt(0), mTestData.valueAt(0)); in testGetNextKey()
181 resultMap.put(mTestData.keyAt(0), mTestData.valueAt(0)); in testGetNextKey()
189 mTestMap.insertEntry(mTestData.keyAt(1), mTestData.valueAt(1)); in testGetNextKey()
190 resultMap.put(mTestData.keyAt(1), mTestData.valueAt(1)); in testGetNextKey()
215 final Tether6Value value = mTestData.valueAt(0); in testUpdateEntry()
216 final Tether6Value value2 = mTestData.valueAt(1); in testUpdateEntry()
238 final Tether6Value value = mTestData.valueAt(0); in testInsertOrReplaceEntry()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareMetrics.java218 if (clients.valueAt(i).getUid() == uid) { in recordAttachSession()
287 WifiAwareClientState client = clients.valueAt(i); in recordDiscoverySessionInternal()
292 WifiAwareDiscoverySessionState session = sessions.valueAt(j); in recordDiscoverySessionInternal()
682 + mHistogramAwareAvailableDurationMs.valueAt(i)); in dump()
692 + mHistogramAwareEnabledDurationMs.valueAt(i)); in dump()
704 + mAttachStatusData.valueAt(i)); in dump()
709 + mHistogramAttachDuration.valueAt(i)); in dump()
721 + mPublishStatusData.valueAt(i)); in dump()
726 + mSubscribeStatusData.valueAt(i)); in dump()
731 + mHistogramPublishDuration.valueAt(i)); in dump()
[all …]
DWifiAwareClientState.java105 mSessions.valueAt(i).terminate(); in destroy()
149 WifiAwareDiscoverySessionState session = mSessions.valueAt(i); in getAwareSessionStateForPubSubId()
292 if (mSessions.valueAt(i).isRangingEnabled()) { in isRangingEnabled()
310 mSessions.valueAt(i).dump(fd, pw, args); in dump()
DWifiAwareStateManager.java565 WifiAwareClientState clientState = mClients.valueAt(i); in getNumOfDiscoverySessions()
567 WifiAwareDiscoverySessionState session = clientState.getSessions().valueAt(j); in getNumOfDiscoverySessions()
602 WifiAwareClientState client = mClients.valueAt(i); in requestMacAddresses()
609 WifiAwareDiscoverySessionState session = sessions.valueAt(j); in requestMacAddresses()
1859 Message sendMessage = mHostQueuedSendMessages.valueAt(0); in processCommand()
2306 if (mHostQueuedSendMessages.valueAt(i).getData() in isUidExceededMessageQueueDepthLimit()
2460 mAwareMetrics.recordDiscoverySessionDuration(sessions.valueAt(i).getCreationTime(), in disconnectLocal()
2461 sessions.valueAt(i).isPublishSession()); in disconnectLocal()
3203 WifiAwareClientState client = mClients.valueAt(i); in onInterfaceAddressChangeLocal()
3217 WifiAwareClientState client = mClients.valueAt(i); in onClusterChangeLocal()
[all …]
/packages/apps/Settings/src/com/android/settings/widget/
DUsageGraph.java146 paths.put(points.keyAt(i), points.valueAt(i)); in addPathAndUpdate()
189 int y = paths.valueAt(i); in calculateLocalPaths()
207 int lastY = localPaths.valueAt(localPaths.size() - 1); in calculateLocalPaths()
276 mPath.moveTo(localPaths.keyAt(0), localPaths.valueAt(0)); in drawLinePath()
279 int y = localPaths.valueAt(i); in drawLinePath()
282 mPath.moveTo(localPaths.keyAt(i), localPaths.valueAt(i)); in drawLinePath()
298 mPath.moveTo(localPaths.keyAt(0), localPaths.valueAt(0)); in drawFilledPath()
301 int y = localPaths.valueAt(i); in drawFilledPath()
308 mPath.moveTo(localPaths.keyAt(i), localPaths.valueAt(i)); in drawFilledPath()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/
DAppPermissionGroup.java356 Permission permission = allPermissions.valueAt(i); in create()
381 Permission permission = allPermissions.valueAt(i); in create()
493 Permission permission = mPermissions.valueAt(i);
509 Permission permission = mPermissions.valueAt(i);
520 Permission permission = mPermissions.valueAt(i);
534 Permission permission = mPermissions.valueAt(i);
734 Permission permission = mPermissions.valueAt(i);
1147 Permission permission = mPermissions.valueAt(i);
1164 Permission permission = mPermissions.valueAt(i);
1183 Permission permission = mPermissions.valueAt(i);
[all …]
/packages/services/Car/car-lib/src/android/car/diagnostic/
DCarDiagnosticEvent.java147 jsonWriter.name("value").value(mIntValues.valueAt(i)); in writeToJson()
156 jsonWriter.name("value").value(mFloatValues.valueAt(i)); in writeToJson()
397 int value = mIntValues.valueAt(i); in equals()
398 int otherValue = otherEvent.mIntValues.valueAt(i); in equals()
409 float value = mFloatValues.valueAt(i); in equals()
410 float otherValue = otherEvent.mFloatValues.valueAt(i); in equals()
426 intValues[i] = mIntValues.valueAt(i); in hashCode()
430 floatValues[i] = mFloatValues.valueAt(i); in hashCode()
502 return mIntValues.valueAt(index); in getSystemIntegerSensor()
513 return mFloatValues.valueAt(index); in getSystemFloatSensor()
[all …]
/packages/modules/adb/client/
Dincremental_utils.cpp136 static T valueAt(borrowed_fd fd, off64_t offset) { in valueAt() function
177 sigBuf = valueAt<int32_t>(fd, maxEocdOffset - commentLen); in CentralDirOffset()
179 commentLenBuf = valueAt<int16_t>( in CentralDirOffset()
193 valueAt<int32_t>(fd, eocdOffset + kZipEocdCentralDirSizeFieldOffset)); in CentralDirOffset()
211 valueAt<int64_t>(fd, cdOffset - 2 * sizeof(int64_t)) != APK_SIG_BLOCK_MAGIC_LO || in SignerBlockOffset()
212 valueAt<int64_t>(fd, cdOffset - sizeof(int64_t)) != APK_SIG_BLOCK_MAGIC_HI) { in SignerBlockOffset()
215 int32_t signerSizeInFooter = valueAt<int32_t>(fd, cdOffset - kApkSigBlockFooterSize); in SignerBlockOffset()
220 int32_t signerSizeInHeader = valueAt<int32_t>(fd, signerBlockOffset); in SignerBlockOffset()
/packages/apps/Settings/src/com/android/settings/applications/
DProcStatsData.java275 .getMap().valueAt(ipkg); in getProcs()
277 final LongSparseArray<ProcessStats.PackageState> vpkgs = pkgUids.valueAt(iu); in getProcs()
279 final ProcessStats.PackageState st = vpkgs.valueAt(iv); in getProcs()
281 final ProcessState pkgProc = st.mProcesses.valueAt(iproc); in getProcs()
316 .valueAt(ip); in getProcs()
318 LongSparseArray<ProcessStats.PackageState> vpkgs = uids.valueAt(iu); in getProcs()
320 ProcessStats.PackageState ps = vpkgs.valueAt(iv); in getProcs()
322 ServiceState ss = ps.mServices.valueAt(is); in getProcs()
/packages/services/Car/service/src/com/android/car/
DCarOccupantZoneService.java293 OccupantConfig config = mActiveOccupantConfigs.valueAt(i); in init()
317 OccupantConfig config = mActiveOccupantConfigs.valueAt(i); in init()
409 + " info=" + mOccupantsConfig.valueAt(i)); in dump()
414 + " config=" + mDisplayPortConfigs.valueAt(i)); in dump()
418 + " config=" + mDisplayUniqueIdConfigs.valueAt(i)); in dump()
424 + " zoneId=" + mAudioZoneIdToOccupantZoneIdMapping.valueAt(index)); in dump()
429 + " config=" + mActiveOccupantConfigs.valueAt(i)); in dump()
614 OccupantConfig config = mActiveOccupantConfigs.valueAt(i); in getOccupantZoneIdForUserId()
769 OccupantConfig config = mActiveOccupantConfigs.valueAt(j); in getAllActivePassengerDisplaysLocked()
825 OccupantConfig config = mActiveOccupantConfigs.valueAt(j); in createDisplayAllowlistsLocked()
[all …]
DInputCaptureClientController.java341 LinkedList<ClientInfoForDisplay> perTypeStack = perInputStacks.valueAt(i); in requestInputEventCapture()
380 LinkedList<ClientInfoForDisplay> perInputStack = perInputStacks.valueAt(i); in requestInputEventCapture()
405 LinkedList<ClientInfoForDisplay> perInputStack = perInputStacks.valueAt( in requestInputEventCapture()
475 LinkedList<ClientInfoForDisplay> perInputStack = perInputStacks.valueAt(i); in releaseInputEventCapture()
652 LinkedList<ClientInfoForDisplay> perInputStack = perInputStacks.valueAt(i); in dump()
692 int[] inputTypes = clients.mClientsToDispatch.valueAt(i); in dispatchClientCallbackLocked()
DSparseArrayStream.java37 return IntStream.range(0, array.size()).mapToObj(array::valueAt); in valueStream()
42 i -> new Pair<>(array.keyAt(i), array.valueAt(i))); in pairStream()
/packages/modules/Permission/service/java/com/android/role/
DRoleUserState.java226 ArraySet<String> packageNames = mRoles.valueAt(i); in setRoleNames()
319 if (mRoles.valueAt(i).contains(packageName)) { in getHeldRoles()
408 ArraySet<String> roleHolders = roles.valueAt(rolesIndex); in dump()
415 String roleHolder = roleHolders.valueAt(roleHoldersIndex); in dump()
444 ArraySet<String> roleHolders = mRoles.valueAt(i); in snapshotRolesLocked()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DConversationParticipantsData.java68 final ParticipantData participant = mConversationParticipantsMap.valueAt(i); in getParticipantListExcludingSelf()
82 final ParticipantData participant = mConversationParticipantsMap.valueAt(i); in getOtherParticipant()
116 return mConversationParticipantsMap.valueAt(mCurrentIndex); in iterator()
/packages/apps/Camera2/src/com/android/camera/ui/focus/
DAutoFocusRing.java61 .lerp(0, 255, mEnterOpacityCurve.valueAt(rFade)); in draw()
65 .lerp(255, 0, mExitOpacityCurve.valueAt(rFade)); in draw()
70 .lerp(255, 0, mExitOpacityCurve.valueAt(rFade)); in draw()
/packages/services/Car/service/src/com/android/car/audio/
DCarZonesAudioFocus.java75 CarAudioZone audioZone = carAudioZones.valueAt(i); in createCarZonesAudioFocus()
149 mFocusZones.valueAt(i).setOwningPolicy(mAudioPolicy); in setOwningPolicy()
157 mFocusZones.valueAt(i).setRestrictFocus(isFocusRestricted); in setRestrictFocus()
237 mFocusZones.valueAt(i).dump(writer); in dump()
DCarAudioZonesValidator.java42 CarAudioZone zone = carAudioZones.valueAt(i); in validateVolumeGroupsForEachZone()
54 CarAudioZone zone = carAudioZones.valueAt(i); in validateEachAddressAppearsAtMostOnce()
/packages/services/Car/service/src/com/android/car/am/
DFixedActivityService.java171 RunningActivityInfo info = mRunningActivities.valueAt(i);
265 RunningActivityInfo info = mRunningActivities.valueAt(i);
305 Presentation p = mBlockingPresentations.valueAt(i); in dump()
317 RunningActivityInfo info = mRunningActivities.valueAt(i); in clearRunningActivitiesLocked()
420 RunningActivityInfo activityInfo = mRunningActivities.valueAt(i); in launchIfNecessary()
491 RunningActivityInfo activityInfo = mRunningActivities.valueAt(i); in launchIfNecessary()
/packages/services/Car/service/src/com/android/car/power/
DPolicyReader.java261 String policyId = defaultPolicyPerState.valueAt(i); in definePowerPolicyGroup()
289 group.valueAt(i)); in dump()
297 writer.println(toString(mPreemptivePowerPolicies.valueAt(i))); in dump()
579 String policyId = group.valueAt(i); in validatePolicyGroups()
580 if (!registeredPolicies.containsKey(group.valueAt(i))) { in validatePolicyGroups()
743 if (array.valueAt(i) == value) returnSize++; in toIntArray()
748 if (array.valueAt(i) == value) { in toIntArray()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DPrivateAddressCoordinator.java341 final List<IpPrefix> list = mUpstreamPrefixMap.valueAt(i); in getConflictWithUpstream()
365 final IpPrefix downstream = asIpPrefix(mCachedAddresses.valueAt(i)); in getInUseDownstreamPrefix()
398 pw.println(mUpstreamPrefixMap.keyAt(i) + " - " + mUpstreamPrefixMap.valueAt(i)); in dump()
412 pw.println(mCachedAddresses.keyAt(i) + " - " + mCachedAddresses.valueAt(i)); in dump()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapService.java175 mMasInstances.valueAt(i).shutdown(); in closeService()
219 mMasInstances.valueAt(i).startSocketListeners(); in startSocketListeners()
259 if (mMasInstances.valueAt(i).startObexServerSession(mBluetoothMnsObexClient)) { in startObexServerSessions()
265 mMasInstances.valueAt(i).restartObexServerSession(); in startObexServerSessions()
269 mMasInstances.valueAt(i).restartObexServerSession(); in startObexServerSessions()
303 BluetoothMapMasInstance masInst = mMasInstances.valueAt(i); in stopObexServerSessions()
321 mMasInstances.valueAt(i).restartObexServerSession(); in stopObexServerSessions()
815 BluetoothMapMasInstance masInst = mMasInstances.valueAt(i); in updateMasInstancesHandler()
1143 mMasInstances.valueAt(i) in onReceive()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DMultiSelectActionModeCallback.java124 mListener.onActionBarAddContact(mSelectedConversations.valueAt(0)); in onActionItemClicked()
128 mListener.onActionBarBlock(mSelectedConversations.valueAt(0)); in onActionItemClicked()
173 final SelectedConversation conversation = mSelectedConversations.valueAt(0); in updateActionIconsVisiblity()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountPreferenceController.java233 ProfileData profileData = mProfiles.valueAt(i); in onPreferenceClick()
274 mProfiles.valueAt(i).pendingRemoval = true; in updateUi()
300 updateAccountTypes(mProfiles.valueAt(i)); in updateUi()
416 final ProfileData data = mProfiles.valueAt(i); in cleanUpPreferences()
427 AuthenticatorHelper authenticatorHelper = mProfiles.valueAt(i).authenticatorHelper; in listenToAccountUpdates()
437 AuthenticatorHelper authenticatorHelper = mProfiles.valueAt(i).authenticatorHelper; in stopListeningToAccountUpdates()
/packages/modules/ExtServices/java/src/android/ext/services/resolver/
DLRResolverRankerService.java168 sum += weight * target.valueAt(i); in predict()
184 LEARNING_RATE * error * target.valueAt(i); in update()
198 editor.putFloat(mFeatureWeights.keyAt(i), mFeatureWeights.valueAt(i)); in commitUpdate()

123456789