/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PlmnActRecordTest.java | 44 PlmnActRecord rec = new PlmnActRecord(TEST_PLMN_5DIGIT, ACCESS_TECHS_3GPP); in testConstructors() local 45 assertEquals(TEST_PLMN_5DIGIT, rec.plmn); in testConstructors() 46 assertEquals(ACCESS_TECHS_3GPP, rec.accessTechs); in testConstructors() 49 assertEquals(TEST_PLMN_5DIGIT, rec.plmn); in testConstructors() 50 assertEquals(ACCESS_TECHS_3GPP, rec.accessTechs); in testConstructors() 52 assertEquals(rec, rec2); in testConstructors() 54 rec = new PlmnActRecord(TEST_PLMN_6DIGIT, ACCESS_TECHS_3GPP); in testConstructors() 55 assertEquals(TEST_PLMN_6DIGIT, rec.plmn); in testConstructors() 56 assertEquals(ACCESS_TECHS_3GPP, rec.accessTechs); in testConstructors() 59 assertEquals(TEST_PLMN_6DIGIT, rec.plmn); in testConstructors() [all …]
|
/frameworks/av/media/module/codecs/m4v_h263/enc/src/ |
D | fastidct.cpp | 47 tmp = *rec + tmp; \ 49 *rec++ = tmp; \ 54 *rec++ = tmp; \ 325 void idct_row0Inter(Short *srce, UChar *rec, Int lx) in idct_row0Inter() argument 329 OSCL_UNUSED_ARG(rec); in idct_row0Inter() 336 void idct_row1Inter(Short *blk, UChar *rec, Int lx) in idct_row1Inter() argument 344 rec -= lx; in idct_row1Inter() 352 pred_word = *((uint32*)(rec += lx)); /* read 4 bytes from pred */ in idct_row1Inter() 364 *((uint32*)rec) = dst_word; /* save 4 bytes to dst */ in idct_row1Inter() 366 pred_word = *((uint32*)(rec + 4)); /* read 4 bytes from pred */ in idct_row1Inter() [all …]
|
D | dct.h | 60 void idct_rowInter(Short *srce, UChar *rec, Int lx); 61 void idct_row0Inter(Short *blk, UChar *rec, Int lx); 62 void idct_row1Inter(Short *blk, UChar *rec, Int lx); 63 void idct_row2Inter(Short *blk, UChar *rec, Int lx); 64 void idct_row3Inter(Short *blk, UChar *rec, Int lx); 65 void idct_row4Inter(Short *blk, UChar *rec, Int lx); 66 void idct_row0x40Inter(Short *blk, UChar *rec, Int lx); 67 void idct_row0x20Inter(Short *blk, UChar *rec, Int lx); 68 void idct_row0x10Inter(Short *blk, UChar *rec, Int lx); 69 void idct_row0xCCInter(Short *blk, UChar *rec, Int lx); [all …]
|
D | motion_comp.cpp | 37 Int EncGetPredOutside(Int xpos, Int ypos, UChar *c_prev, UChar *rec, 352 UChar *rec, /* i */ in GetPredAdvBy0x0() argument 370 rec -= 16; /* preset */ in GetPredAdvBy0x0() 375 *((ULong*)(rec += 16)) = *((ULong*)(prev += lx)); in GetPredAdvBy0x0() 376 *((ULong*)(rec + 4)) = *((ULong*)(prev + 4)); in GetPredAdvBy0x0() 383 rec -= 16; /* preset */ in GetPredAdvBy0x0() 392 *((ULong*)(rec += 16)) = pred_word; in GetPredAdvBy0x0() 397 *((ULong*)(rec + 4)) = pred_word; in GetPredAdvBy0x0() 405 rec -= 16; /* preset */ in GetPredAdvBy0x0() 414 *((ULong*)(rec += 16)) = pred_word; in GetPredAdvBy0x0() [all …]
|
D | fastcodemb.cpp | 79 UChar *rec, *input, *pred; in CodeMB_H263() local 129 rec = currVop->yChan + offset; in CodeMB_H263() 146 rec += 8; in CodeMB_H263() 154 rec += dctMode; in CodeMB_H263() 161 rec = currVop->uChan + offsetc; in CodeMB_H263() 182 rec = currVop->vChan + offsetc; in CodeMB_H263() 236 … BlockIDCTMotionComp(dataBlock, bitmapcol, bitmaprow[k], dctMode, rec, pred, (lx << 1) | intra); in CodeMB_H263() 310 UChar *rec, *input, *pred; in CodeMB_MPEG() local 356 rec = currVop->yChan + offset; in CodeMB_MPEG() 373 rec += 8; in CodeMB_MPEG() [all …]
|
D | fastcodemb.h | 56 Int Sad8x8(UChar *rec, UChar *prev, Int lx); 57 Int getBlockSum(UChar *rec, Int lx); 98 Int dctMode, UChar *rec, Int lx, Int intra); 101 void PutSkippedBlock(UChar *rec, UChar *prev, Int lx);
|
/frameworks/native/libs/ui/ |
D | GraphicBufferAllocator.cpp | 95 const alloc_rec_t& rec(list.valueAt(i)); in dump() local 96 std::string sizeStr = (rec.size) in dump() 97 ? base::StringPrintf("%7.2f KiB", static_cast<double>(rec.size) / 1024.0) in dump() 100 list.keyAt(i), sizeStr.c_str(), rec.width, rec.stride, rec.height, in dump() 101 rec.layerCount, rec.format, rec.usage, rec.requestorName.c_str()); in dump() 102 total += rec.size; in dump() 175 alloc_rec_t rec; in allocate() local 176 rec.width = width; in allocate() 177 rec.height = height; in allocate() 178 rec.stride = result.stride; in allocate() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | PendingIntentController.java | 178 PendingIntentRecord rec = ref != null ? ref.get() : null; in getIntentSender() local 179 if (rec != null) { in getIntentSender() 182 if (rec.key.requestIntent != null) { in getIntentSender() 183 rec.key.requestIntent.replaceExtras(intents != null ? in getIntentSender() 187 intents[intents.length - 1] = rec.key.requestIntent; in getIntentSender() 188 rec.key.allIntents = intents; in getIntentSender() 189 rec.key.allResolvedTypes = resolvedTypes; in getIntentSender() 191 rec.key.allIntents = null; in getIntentSender() 192 rec.key.allResolvedTypes = null; in getIntentSender() 195 return rec; in getIntentSender() [all …]
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
D | StaggeredGridView.java | 517 final LayoutRecord rec = mLayoutRecords.get(mFirstPosition + i); in recycleOffscreenViews() local 521 final int colTop = top - rec.getMarginAbove(col - lp.column); in recycleOffscreenViews() 522 final int colBottom = bottom + rec.getMarginBelow(col - lp.column); in recycleOffscreenViews() 812 final LayoutRecord rec = mLayoutRecords.get(position); in layoutChildren() local 813 if (rec != null && rec.height != childHeight) { in layoutChildren() 815 rec.height = childHeight; in layoutChildren() 819 if (rec != null && rec.span != span) { in layoutChildren() 821 rec.span = span; in layoutChildren() 844 LayoutRecord rec = mLayoutRecords.get(position); in layoutChildren() local 845 if (rec == null) { in layoutChildren() [all …]
|
/frameworks/base/services/core/java/com/android/server/incident/ |
D | PendingReports.java | 196 final PendingReportRec rec; in approveReport() local 198 rec = findAndRemovePendingReportRecLocked(uri); in approveReport() 199 if (rec == null) { in approveReport() 211 rec.listener.onReportApproved(); in approveReport() 221 final PendingReportRec rec; in denyReport() local 223 rec = findAndRemovePendingReportRecLocked(uri); in denyReport() 224 if (rec == null) { in denyReport() 236 rec.listener.onReportDenied(); in denyReport() 326 PendingReportRec rec = in authorizeReportImpl() local 329 Log.d(TAG, "approving consentless report: " + rec.getUri()); in authorizeReportImpl() [all …]
|
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
D | find_region.rscript | 71 static int4 padRegionRect_ss(float4 rec) { 72 int width = rec.z - rec.x; 73 int height = rec.w - rec.y; 77 int4 out = {(int)(rec.x - 1), (int)(rec.y - 1), mWidth + (int)(rec.x - 1), 78 mHeight + (int)(rec.y - 1)}; 130 static int width(int4 rec) { return rec.z - rec.x; } 131 static int height(int4 rec) { return rec.w - rec.y; }
|
D | Healing.java | 49 private static Bitmap buildMask(Rect rec, float[] xy) { in buildMask() argument 50 Bitmap bitmap = Bitmap.createBitmap(rec.width(), rec.height(), Bitmap.Config.ALPHA_8); in buildMask() 59 path.moveTo(xy[i] - rec.left, xy[i + 1] - rec.top); in buildMask() 61 path.lineTo(xy[i] - rec.left, xy[i + 1] - rec.top); in buildMask()
|
/frameworks/base/core/java/android/text/method/ |
D | MultiTapKeyListener.java | 113 int rec = (content.getSpanFlags(TextKeyListener.ACTIVE) in onKeyDown() local 118 rec >= 0 && rec < sRecs.size()) { in onKeyDown() 140 if (sRecs.indexOfKey(keyCode) == rec) { in onKeyDown() 141 String val = sRecs.valueAt(rec); in onKeyDown() 161 rec = sRecs.indexOfKey(keyCode); in onKeyDown() 163 if (rec >= 0) { in onKeyDown() 168 rec = sRecs.indexOfKey(keyCode); in onKeyDown() 171 if (rec >= 0) { in onKeyDown() 176 String val = sRecs.valueAt(rec); in onKeyDown() 211 (rec << Spannable.SPAN_USER_SHIFT)); in onKeyDown()
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 6932 public void printNextItem(PrintWriter pw, HistoryItem rec, long baseTime, boolean checkin, in printNextItem() argument 6934 pw.print(printNextItem(rec, baseTime, checkin, verbose)); in printNextItem() 6938 public void printNextItem(ProtoOutputStream proto, HistoryItem rec, long baseTime, in printNextItem() argument 6940 String item = printNextItem(rec, baseTime, true, verbose); in printNextItem() 6946 private String printNextItem(HistoryItem rec, long baseTime, boolean checkin, in printNextItem() argument 6952 rec.time - baseTime, item, TimeUtils.HUNDRED_DAY_FIELD_LEN); in printNextItem() 6954 item.append(rec.numReadInts); in printNextItem() 6960 item.append(rec.time - baseTime); in printNextItem() 6962 item.append(rec.time - lastTime); in printNextItem() 6964 lastTime = rec.time; in printNextItem() [all …]
|
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
D | Healing.java | 49 private static Bitmap buildMask(Rect rec, float[] xy) { in buildMask() argument 50 Bitmap bitmap = Bitmap.createBitmap(rec.width(), rec.height(), Bitmap.Config.ALPHA_8); in buildMask() 59 path.moveTo(xy[i] - rec.left, xy[i + 1] - rec.top); in buildMask() 61 path.lineTo(xy[i] - rec.left, xy[i + 1] - rec.top); in buildMask()
|
D | FindRegion.java | 171 private static Bitmap buildMask(Rect rec, float[] xy) { in buildMask() argument 172 Bitmap bitmap = Bitmap.createBitmap(rec.width(), rec.height(), Bitmap.Config.ALPHA_8); in buildMask() 181 path.moveTo(xy[i] - rec.left, xy[i + 1] - rec.top); in buildMask() 183 path.lineTo(xy[i] - rec.left, xy[i + 1] - rec.top); in buildMask()
|
D | find_region.rscript | 56 static int4 padRegionRect(float4 rec) { 57 int width = rec.z; 58 int height = rec.w; 61 int4 out = {(int)(rec.x - 1 ),(int)(rec.y - 1), width, height};
|
/frameworks/base/libs/hwui/ |
D | SkiaCanvas.cpp | 189 const SaveRec* rec = this->currentSaveRec(); in restore() local 190 if (!rec) { in restore() 196 bool preserveMatrix = !(rec->saveFlags & SaveFlags::Matrix); in restore() 197 bool preserveClip = !(rec->saveFlags & SaveFlags::Clip); in restore() 204 const size_t clipIndex = rec->clipIndex; in restore() 226 const SkCanvas::SaveLayerRec rec(&bounds, paint); in saveLayer() local 228 return mCanvas->saveLayer(rec); in saveLayer() 258 const SaveRec* rec = (mSaveStack && !mSaveStack->empty()) in currentSaveRec() local 262 LOG_FATAL_IF(!(!rec || currentSaveCount >= rec->saveCount)); in currentSaveRec() 264 return (rec && rec->saveCount == currentSaveCount) ? rec : nullptr; in currentSaveRec() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | DumpUtils.java | 279 return rec -> false; in filterRecord() 311 return rec -> (rec != null) && filterCname.equals(rec.getComponentName()); in filterRecord() 317 return rec -> { in filterRecord() 318 final ComponentName cn = rec.getComponentName(); in filterRecord() 319 return ((id != -1) && (System.identityHashCode(rec) == id)) in filterRecord()
|
/frameworks/libs/binary_translation/assembler/ |
D | machine_code_test.cc | 61 RecoveryMap rec; in TEST() local 64 mc.InstallUnsafe(out, &rec); in TEST() 72 EXPECT_EQ(recovery_addr, rec[fault_addr]); in TEST()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | StorageNotification.java | 102 public void onVolumeRecordChanged(VolumeRecord rec) { 106 final VolumeInfo vol = mStorageManager.findVolumeByUuid(rec.getFsUuid()); 222 for (VolumeRecord rec : recs) { in updateMissingPrivateVolumes() 223 if (rec.getType() != VolumeInfo.TYPE_PRIVATE) continue; in updateMissingPrivateVolumes() 225 final String fsUuid = rec.getFsUuid(); in updateMissingPrivateVolumes() 227 if ((info != null && info.isMountedWritable()) || rec.isSnoozed()) { in updateMissingPrivateVolumes() 236 rec.getNickname()); in updateMissingPrivateVolumes() 247 .setContentIntent(buildForgetPendingIntent(rec)) in updateMissingPrivateVolumes() 394 final VolumeRecord rec = mStorageManager.findRecordByUuid(vol.getFsUuid()); in onVolumeMounted() local 399 if (rec == null || (rec.isSnoozed() && disk.isAdoptable())) { in onVolumeMounted() [all …]
|
/frameworks/av/media/module/codecs/m4v_h263/dec/src/ |
D | post_filter.cpp | 30 void H263_Deblock(uint8 *rec, in H263_Deblock() argument 66 rec_y = rec + (width << 3); in H263_Deblock() 153 rec_y = rec + width * b_size; in H263_Deblock() 252 rec_y = rec + 8; in H263_Deblock() 342 rec_y = rec + b_size; in H263_Deblock()
|
D | mp4dec_lib.h | 252 …void H263_Deblock(uint8 *rec, int width, int height, int16 *QP_store, uint8 *mode, int chr, int … 264 void CombinedHorzVertFilter(uint8 *rec, int width, int height, int16 *QP_store, 266 void CombinedHorzVertFilter_NoSoftDeblocking(uint8 *rec, int width, int height, int16 *QP_store, 268 void CombinedHorzVertRingFilter(uint8 *rec, int width, int height,
|
/frameworks/base/services/core/java/com/android/server/ |
D | StorageManagerService.java | 524 final VolumeRecord rec = findRecordForPath(path); in scrubPath() local 525 if (rec == null || rec.createdMillis == 0) { in scrubPath() 528 return "ext:" + (int) ((System.currentTimeMillis() - rec.createdMillis) in scrubPath() 799 final VolumeRecord rec = (VolumeRecord) msg.obj; in handleMessage() local 800 forgetPartition(rec.partGuid, rec.fsUuid); in handleMessage() 1751 VolumeRecord rec = mRecords.get(vol.fsUuid); in onVolumeStateChangedAsync() local 1752 if (rec == null) { in onVolumeStateChangedAsync() 1753 rec = new VolumeRecord(vol.type, vol.fsUuid); in onVolumeStateChangedAsync() 1754 rec.partGuid = vol.partGuid; in onVolumeStateChangedAsync() 1755 rec.createdMillis = System.currentTimeMillis(); in onVolumeStateChangedAsync() [all …]
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/ |
D | Alarm.java | 134 PendingIntent op, IAlarmListener rec, String listenerTag, WorkSource ws, int flags, in Alarm() argument 148 listener = rec; in Alarm() 171 public boolean matches(PendingIntent pi, IAlarmListener rec) { in matches() argument 174 : rec != null && listener.asBinder().equals(rec.asBinder()); in matches()
|