/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
D | UsageGraphTest.java | 74 assertThat(localPaths.keyAt(0)).isEqualTo(0); in calculateLocalPaths_singlePath() 76 assertThat(localPaths.keyAt(1)).isEqualTo(1000); in calculateLocalPaths_singlePath() 78 assertThat(localPaths.keyAt(2)).isEqualTo(1001); in calculateLocalPaths_singlePath() 98 assertThat(localPaths.keyAt(0)).isEqualTo(0); in calculateLocalPaths_multiplePaths() 100 assertThat(localPaths.keyAt(1)).isEqualTo(400); in calculateLocalPaths_multiplePaths() 102 assertThat(localPaths.keyAt(2)).isEqualTo(401); in calculateLocalPaths_multiplePaths() 105 assertThat(localPaths.keyAt(3)).isEqualTo(600); in calculateLocalPaths_multiplePaths() 107 assertThat(localPaths.keyAt(4)).isEqualTo(1000); in calculateLocalPaths_multiplePaths() 109 assertThat(localPaths.keyAt(5)).isEqualTo(1001); in calculateLocalPaths_multiplePaths() 125 assertThat(localPaths.keyAt(0)).isEqualTo(0); in calculateLocalPaths_similarPointMiddle() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | UsageGraph.java | 146 paths.put(points.keyAt(i), points.valueAt(i)); in addPathAndUpdate() 149 paths.put(points.keyAt(points.size() - 1) + 1, PATH_DELIM); in addPathAndUpdate() 188 int x = paths.keyAt(i); in calculateLocalPaths() 206 int lastX = localPaths.keyAt(localPaths.size() - 1); in calculateLocalPaths() 276 mPath.moveTo(localPaths.keyAt(0), localPaths.valueAt(0)); in drawLinePath() 278 int x = localPaths.keyAt(i); in drawLinePath() 282 mPath.moveTo(localPaths.keyAt(i), localPaths.valueAt(i)); in drawLinePath() 293 float lastStartX = localPaths.keyAt(0); in drawFilledPath() 294 mPath.moveTo(localPaths.keyAt(0), localPaths.valueAt(0)); in drawFilledPath() 296 int x = localPaths.keyAt(i); in drawFilledPath() [all …]
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | UsageGraph.java | 146 paths.put(points.keyAt(i), points.valueAt(i)); in addPathAndUpdate() 149 paths.put(points.keyAt(points.size() - 1) + 1, PATH_DELIM); in addPathAndUpdate() 188 int x = paths.keyAt(i); in calculateLocalPaths() 206 int lastX = localPaths.keyAt(localPaths.size() - 1); in calculateLocalPaths() 276 mPath.moveTo(localPaths.keyAt(0), localPaths.valueAt(0)); in drawLinePath() 278 int x = localPaths.keyAt(i); in drawLinePath() 282 mPath.moveTo(localPaths.keyAt(i), localPaths.valueAt(i)); in drawLinePath() 297 float lastStartX = localPaths.keyAt(0); in drawFilledPath() 298 mPath.moveTo(localPaths.keyAt(0), localPaths.valueAt(0)); in drawFilledPath() 300 int x = localPaths.keyAt(i); in drawFilledPath() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
D | ChartDataUsagePreferenceTest.java | 105 assertThat(points.keyAt(1)).isEqualTo(points.keyAt(2) - 1); in calcPoints_dataNotAvailableAtCycleStart_shouldIndicateStartOfData() 155 assertThat(points.keyAt(0)).isEqualTo(-1); in calcPoints_shouldNotDrawPointForFutureDate() 156 assertThat(points.keyAt(1)).isEqualTo(0); in calcPoints_shouldNotDrawPointForFutureDate() 157 assertThat(points.keyAt(2)).isEqualTo(TimeUnit.DAYS.toMinutes(1)); in calcPoints_shouldNotDrawPointForFutureDate() 158 assertThat(points.keyAt(3)).isEqualTo(TimeUnit.DAYS.toMinutes(2)); in calcPoints_shouldNotDrawPointForFutureDate() 159 assertThat(points.keyAt(4)).isEqualTo(TimeUnit.DAYS.toMinutes(3)); in calcPoints_shouldNotDrawPointForFutureDate() 160 assertThat(points.keyAt(5)).isEqualTo(TimeUnit.DAYS.toMinutes(4)); in calcPoints_shouldNotDrawPointForFutureDate() 161 assertThat(points.keyAt(6)).isEqualTo(TimeUnit.DAYS.toMinutes(5)); in calcPoints_shouldNotDrawPointForFutureDate()
|
/packages/services/Car/car-lib/src/android/car/diagnostic/ |
D | CarDiagnosticEvent.java | 99 int key = mFloatValues.keyAt(i); in writeToParcel() 105 int key = mIntValues.keyAt(i); in writeToParcel() 146 jsonWriter.name("id").value(mIntValues.keyAt(i)); in writeToJson() 155 jsonWriter.name("id").value(mFloatValues.keyAt(i)); in writeToJson() 314 int key = mIntValues.keyAt(i); in withVendorSensorsRemoved() 320 int key = mFloatValues.keyAt(i); in withVendorSensorsRemoved() 392 int key = mIntValues.keyAt(i); in equals() 393 int otherKey = otherEvent.mIntValues.keyAt(i); in equals() 404 int key = mFloatValues.keyAt(i); in equals() 405 int otherKey = otherEvent.mFloatValues.keyAt(i); in equals() [all …]
|
/packages/services/Car/service/src/com/android/car/audio/hal/ |
D | HalAudioFocus.java | 130 int zoneId = mHalFocusRequestsByZoneAndUsage.keyAt(i); in reset() 135 int usage = requestsByUsage.keyAt(j); in reset() 153 int zoneId = mHalFocusRequestsByZoneAndUsage.keyAt(i); in dump() 159 int usage = requestsByUsage.keyAt(j); in dump()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarBluetoothService.java | 279 int key = mProfileDeviceManagers.keyAt(i); in createBluetoothProfileDeviceManagersLocked() 291 int key = mProfileDeviceManagers.keyAt(i); in destroyBluetoothProfileDeviceManagersLocked() 373 int key = mProfileDeviceManagers.keyAt(i); in connectDevices() 503 int key = mProfileDeviceManagers.keyAt(i); in dump()
|
D | SparseArrayStream.java | 28 return IntStream.range(0, array.size()).map(array::keyAt); in keyStream() 37 i -> new Pair<>(array.keyAt(i), array.valueAt(i))); in pairStream()
|
D | CarPropertyService.java | 114 int propId = mRateMap.keyAt(i); in binderDied() 188 int propId = mSetOperationClientMap.keyAt(i); in dump() 191 int areaId = areaIdToClient.keyAt(j); in dump() 472 + " areaId: 0x" + toHexString(areaIdToClient.keyAt(index))); in clearSetOperationRecorderLocked()
|
D | CarOccupantZoneService.java | 405 int audioZoneId = mAudioZoneIdToOccupantZoneIdMapping.keyAt(index); in dump() 491 int audioZoneId = mAudioZoneIdToOccupantZoneIdMapping.keyAt(index); in getAudioZoneIdForOccupantLocked() 589 int audioZoneId = audioZoneIdToOccupantZoneMapping.keyAt(index); in setAudioZoneIdsForOccupantZoneIds() 602 audioZoneIdToOccupantZoneMapping.get(audioZoneIdToOccupantZoneMapping.keyAt(i)); in validateOccupantZoneIdsLocked() 792 int userId = whitelists.keyAt(i); in updateUserAssignmentForDisplays() 1096 int audioZoneId = mAudioZoneIdToOccupantZoneIdMapping.keyAt(index); in handleAudioZoneChangesLocked()
|
D | InputCaptureClientController.java | 382 int inputType = perInputStacks.keyAt(i); in requestInputEventCapture() 452 int inputType = perInputStacks.keyAt(i); in releaseInputEventCapture() 598 int inputType = perInputStacks.keyAt(i); in dump() 638 ICarInputCallback callback = clients.mClientsToDispatch.keyAt(i); in dispatchClientCallbackLocked()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | ForegroundUtils.java | 108 uids.add(mForegroundUidPids.keyAt(i)); in getForegroundUids() 175 int foregroundUid = mForegroundUidPids.keyAt(i); in onForegroundActivitiesChanged() 182 Integer.toString(foregroundPids.keyAt(j))); in onForegroundActivitiesChanged()
|
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/util/ |
D | SparseIntArray.java | 54 public int keyAt(final int index) { in keyAt() method in SparseIntArray 55 return mArray.keyAt(index); in keyAt()
|
/packages/modules/ExtServices/src/android/ext/services/resolver/ |
D | LRResolverRankerService.java | 166 String featureName = target.keyAt(i); in predict() 180 String featureName = target.keyAt(i); in update() 198 editor.putFloat(mFeatureWeights.keyAt(i), mFeatureWeights.valueAt(i)); in commitUpdate()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarVolumeGroup.java | 107 carAudioContexts[i] = mContextToAddress.keyAt(i); in getContexts() 130 carAudioContexts.add(mContextToAddress.keyAt(i)); in getContextsForAddress() 325 CarAudioContext.toString(mContextToAddress.keyAt(i)), in dump()
|
/packages/apps/TV/tests/unit/src/com/android/tv/data/ |
D | ChannelDataManagerTest.java | 475 channelIds.add((long) mChannelInfoList.keyAt(i)); in update() 560 return mChannelInfoList.get(mChannelInfoList.keyAt(position)); in get() 567 public long keyAt(int position) { in keyAt() method in ChannelDataManagerTest.FakeContentProvider 568 return mChannelInfoList.keyAt(position); in keyAt() 611 return mContentProvider.keyAt(mPosition); in getLong()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryActiveView.java | 57 drawColor(canvas, array.keyAt(i), array.keyAt(i + 1), array.valueAt(i), period); in onDraw()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | BatteryActiveView.java | 57 drawColor(canvas, array.keyAt(i), array.keyAt(i + 1), array.valueAt(i), period); in onDraw()
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | GroupingListAdapter.java | 107 if (lastIndex < 0 || cursorPosition <= groupMetadata.keyAt(lastIndex)) { in addGroup() 141 int cursorPosition = groupMetadata.keyAt(listPosition); in getItem()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | ZenModeScheduleDaysSelection.java | 77 final int day = mDays.keyAt(i); in getDays() 83 rta[i] = rt.keyAt(i); in getDays()
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenModeScheduleDaysSelection.java | 77 final int day = mDays.keyAt(i); in getDays() 83 rta[i] = rt.keyAt(i); in getDays()
|
/packages/apps/Launcher3/src/com/android/launcher3/provider/ |
D | RestoreDbTask.java | 149 long oldManagedProfileId = oldManagedProfileIds.keyAt(i); in sanitizeDB() 162 profileIds[i] = Long.toString(profileMapping.keyAt(i)); in sanitizeDB() 192 long oldId = profileMapping.keyAt(i); in sanitizeDB()
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
D | PduPersister.java | 641 ENCODED_STRING_COLUMN_INDEX_MAP.keyAt(i)); in loadHeadersFromCursor() 646 TEXT_STRING_COLUMN_INDEX_MAP.keyAt(i)); in loadHeadersFromCursor() 651 OCTET_COLUMN_INDEX_MAP.keyAt(i)); in loadHeadersFromCursor() 656 LONG_COLUMN_INDEX_MAP.keyAt(i)); in loadHeadersFromCursor() 1354 final int field = ENCODED_STRING_COLUMN_NAME_MAP.keyAt(i); in persist() 1365 final byte[] text = header.getTextString(TEXT_STRING_COLUMN_NAME_MAP.keyAt(i)); in persist() 1372 final int b = header.getOctet(OCTET_COLUMN_NAME_MAP.keyAt(i)); in persist() 1379 final long l = header.getLongInteger(LONG_COLUMN_NAME_MAP.keyAt(i)); in persist()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | MultiStateCallback.java | 78 int state = mCallbacks.keyAt(i); in setState() 108 int state = mStateChangeListeners.keyAt(i); in notifyStateChangeListeners()
|
/packages/services/Car/car-lib/src/android/car/hardware/ |
D | CarPropertyConfig.java | 268 areaIds[i] = mSupportedAreas.keyAt(i); in getAreaIds() 283 return mSupportedAreas.keyAt(0); in getFirstAndOnlyAreaId() 359 dest.writeInt(mSupportedAreas.keyAt(i)); in writeToParcel()
|