/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryInfo.java | 321 final HistoryItem rec = new HistoryItem(); in parse() local 322 while (stats.getNextHistoryLocked(rec)) { in parse() 326 historyStart = rec.time; in parse() 328 if (rec.cmd == HistoryItem.CMD_CURRENT_TIME in parse() 329 || rec.cmd == HistoryItem.CMD_RESET) { in parse() 338 if (rec.currentTime > (lastWallTime + (180 * 24 * 60 * 60 * 1000L)) in parse() 339 || rec.time < (historyStart + (5 * 60 * 1000L))) { in parse() 342 lastWallTime = rec.currentTime; in parse() 343 lastRealtime = rec.time; in parse() 348 if (rec.isDeltaData()) { in parse() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | BatteryInfo.java | 318 final HistoryItem rec = new HistoryItem(); in parse() local 319 while (stats.getNextHistoryLocked(rec)) { in parse() 323 historyStart = rec.time; in parse() 325 if (rec.cmd == HistoryItem.CMD_CURRENT_TIME in parse() 326 || rec.cmd == HistoryItem.CMD_RESET) { in parse() 335 if (rec.currentTime > (lastWallTime + (180 * 24 * 60 * 60 * 1000L)) in parse() 336 || rec.time < (historyStart + (5 * 60 * 1000L))) { in parse() 339 lastWallTime = rec.currentTime; in parse() 340 lastRealtime = rec.time; in parse() 345 if (rec.isDeltaData()) { in parse() [all …]
|
/packages/services/Car/evs/sampleDriver/ |
D | EvsV4lCamera.cpp | 86 for (auto&& rec : mBuffers) { in shutdown() 87 if (rec.inUse) { in shutdown() 90 alloc.free(rec.handle); in shutdown() 91 rec.handle = nullptr; in shutdown() 237 for (auto&& rec : mBuffers) { in doneWithFrame() 238 if (rec.handle == nullptr) { in doneWithFrame() 239 rec.handle = mBuffers[buffer.bufferId].handle; in doneWithFrame() 376 for (auto&& rec : mBuffers) { in increaseAvailableFrames_Locked() 377 if (rec.handle == nullptr) { in increaseAvailableFrames_Locked() 379 rec.handle = memHandle; in increaseAvailableFrames_Locked() [all …]
|
/packages/apps/PermissionController/src/com/android/packageinstaller/incident/ |
D | PendingList.java | 174 final Rec rec = recs.get(i); in updateState() local 175 notificationRecs.add(rec); in updateState() 176 final String uri = rec.report.getUri().toString(); in updateState() 179 if ((rec.report.getFlags() & IncidentManager.FLAG_CONFIRMATION_DIALOG) != 0) { in updateState() 181 firstDialog = rec; in updateState() 243 final Rec rec = recs.get(i); in showNotifications() local 247 newDialogIntent(rec), 0); in showNotifications() 251 new Intent(ApprovalReceiver.ACTION_DENY, rec.report.getUri(), in showNotifications() 262 rec.label)) in showNotifications() 264 .setWhen(rec.report.getTimestamp()) in showNotifications() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | LogSaver.java | 136 LogRecord rec = mLogList.get(i); in dump() local 138 mSdf.format(rec.mTimeMillis), in dump() 139 pid, rec.mTid, rec.mLevelString, rec.mTag, rec.mMessage)); in dump() 147 LogRecord rec = mLogList.getFree(); in log() local 148 if (rec == null) { in log() 149 rec = new LogRecord(); in log() 151 rec.set(Process.myTid(), level, System.currentTimeMillis(), tag, msg); in log() 152 mLogList.add(rec); in log()
|
/packages/apps/Nfc/tests/src/com/android/nfc/snep/ |
D | SnepDefaultClientTests.java | 76 NdefRecord rec = new NdefRecord(NdefRecord.TNF_ABSOLUTE_URI, NdefRecord.RTD_URI, in getSmallNdef() local 78 return new NdefMessage(new NdefRecord[] { rec }); in getSmallNdef() 87 NdefRecord rec = new NdefRecord(NdefRecord.TNF_MIME_MEDIA, "text/plain".getBytes(), in getLargeNdef() local 89 return new NdefMessage(new NdefRecord[] { rec }); in getLargeNdef()
|
D | SnepCustomClientTests.java | 76 NdefRecord rec = new NdefRecord(NdefRecord.TNF_ABSOLUTE_URI, NdefRecord.RTD_URI, in getSmallNdef() local 78 return new NdefMessage(new NdefRecord[] { rec }); in getSmallNdef() 87 NdefRecord rec = new NdefRecord(NdefRecord.TNF_MIME_MEDIA, "text/plain".getBytes(), in getLargeNdef() local 89 return new NdefMessage(new NdefRecord[] { rec }); in getLargeNdef()
|
D | SnepValidationServerTests.java | 69 NdefRecord rec = new NdefRecord(NdefRecord.TNF_ABSOLUTE_URI, NdefRecord.RTD_URI, in getSmallNdef() local 71 return new NdefMessage(new NdefRecord[] { rec }); in getSmallNdef() 80 NdefRecord rec = new NdefRecord(NdefRecord.TNF_MIME_MEDIA, "text/plain".getBytes(), in getLargeNdef() local 82 return new NdefMessage(new NdefRecord[] { rec }); in getLargeNdef()
|
D | SnepValidationClientTests.java | 182 NdefRecord rec = new NdefRecord(NdefRecord.TNF_WELL_KNOWN, NdefRecord.RTD_URI, in getSmallNdef() local 184 return new NdefMessage(new NdefRecord[] { rec }); in getSmallNdef() 193 NdefRecord rec = new NdefRecord(NdefRecord.TNF_MIME_MEDIA, "text/plain".getBytes(), in getLargeNdef() local 195 return new NdefMessage(new NdefRecord[] { rec }); in getLargeNdef()
|
D | SnepBasicTests.java | 262 NdefRecord rec = new NdefRecord(NdefRecord.TNF_ABSOLUTE_URI, NdefRecord.RTD_URI, in getSmallNdef() local 264 return new NdefMessage(new NdefRecord[] { rec }); in getSmallNdef() 272 NdefRecord rec = new NdefRecord(NdefRecord.TNF_MIME_MEDIA, "text/plain".getBytes(), in getNdef() local 274 return new NdefMessage(new NdefRecord[] { rec }); in getNdef()
|
/packages/services/Car/evs/manager/ |
D | HalCamera.cpp | 113 for (const auto& rec : mFrames) { in changeFramesInFlight() local 114 if (rec.refCount > 0) { in changeFramesInFlight() 115 newRecords.emplace_back(rec); in changeFramesInFlight()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ImageDraw.java | 268 RectF rec = new RectF(); in drawLook() local 269 rec.set(centerx - rad, in drawLook() 275 canvas.drawArc(rec, 0, 360, true, mIconPaint); in drawLook() 278 canvas.drawArc(rec, 0, 360, true, mIconPaint); in drawLook()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | StorageSettings.java | 182 for (VolumeRecord rec : recs) { in refresh() 183 if (rec.getType() == VolumeInfo.TYPE_PRIVATE in refresh() 184 && mStorageManager.findVolumeByUuid(rec.getFsUuid()) == null) { in refresh() 187 pref.setKey(rec.getFsUuid()); in refresh() 188 pref.setTitle(rec.getNickname()); in refresh()
|
D | PublicVolumeSettings.java | 254 public void onVolumeRecordChanged(VolumeRecord rec) { 255 if (Objects.equals(mVolume.getFsUuid(), rec.getFsUuid())) {
|
D | PrivateVolumeSettings.java | 660 public void onVolumeRecordChanged(VolumeRecord rec) { 661 if (Objects.equals(mVolume.getFsUuid(), rec.getFsUuid())) { 695 final VolumeRecord rec = storageManager.findRecordByUuid(fsUuid); in onCreateDialog() local 702 nickname.setText(rec.getNickname()); in onCreateDialog()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/ |
D | StorageSettings.java | 182 for (VolumeRecord rec : recs) { in refresh() 183 if (rec.getType() == VolumeInfo.TYPE_PRIVATE in refresh() 184 && mStorageManager.findVolumeByUuid(rec.getFsUuid()) == null) { in refresh() 187 pref.setKey(rec.getFsUuid()); in refresh() 188 pref.setTitle(rec.getNickname()); in refresh()
|
D | PublicVolumeSettings.java | 254 public void onVolumeRecordChanged(VolumeRecord rec) { 255 if (Objects.equals(mVolume.getFsUuid(), rec.getFsUuid())) {
|
D | PrivateVolumeSettings.java | 685 public void onVolumeRecordChanged(VolumeRecord rec) { 686 if (Objects.equals(mVolume.getFsUuid(), rec.getFsUuid())) { 720 final VolumeRecord rec = storageManager.findRecordByUuid(fsUuid); in onCreateDialog() local 727 nickname.setText(rec.getNickname()); in onCreateDialog()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
D | IconFactory.java | 101 RectF rec = new RectF(borderW, borderH, borderW + iw, borderH + ih); in drawIcon() local 103 rec.roundOut(srcRect); in drawIcon()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | MissingStorageFragment.java | 95 public void onVolumeRecordChanged(VolumeRecord rec) { in onVolumeRecordChanged() argument 96 if (TextUtils.equals(rec.getFsUuid(), mFsUuid) && isResumed()) { in onVolumeRecordChanged()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | FileOperationService.java | 485 for (JobRecord rec : mJobs.values()) { in getCandidateForegroundJob() 486 if (!rec.job.isFinished()) { in getCandidateForegroundJob() 487 return rec.job; in getCandidateForegroundJob()
|
/packages/modules/DnsResolver/ |
D | DnsStats.cpp | 195 const StatsRecords::Record rec = { in addStats() local 199 statsRecords.push(rec); in addStats()
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyBackupAgentTest.java | 900 for (String rec : recipients) { in getOrCreateThreadId() 901 if (!id2Recipient.contains(rec)) { in getOrCreateThreadId() 902 id2Recipient.add(rec); in getOrCreateThreadId() 904 ids.add(id2Recipient.indexOf(rec)+1); in getOrCreateThreadId()
|
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/ |
D | CaptivePortalLoginActivity.java | 275 for (Object rec : ((ArrayMap) receiverMap).keySet()) { in setWebViewProxy() 276 Class clazz = rec.getClass(); in setWebViewProxy() 281 onReceiveMethod.invoke(rec, getApplicationContext(), intent); in setWebViewProxy()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/ |
D | StorageSummaryFragment.java | 309 public void onVolumeRecordChanged(VolumeRecord rec) { in onVolumeRecordChanged() argument
|