/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/ |
D | EditTextVariations.java | 367 String base = "unknown(class=" + clazz + " variation=" + variation + " flag=0x" in inputTypeToString() local 374 base = "text"; in inputTypeToString() 377 base = "textUri"; in inputTypeToString() 380 base = "textEmailAddress"; in inputTypeToString() 383 base = "textEmailSubject"; in inputTypeToString() 386 base = "textShortMessage"; in inputTypeToString() 389 base = "textLongMessage"; in inputTypeToString() 392 base = "textPersonName"; in inputTypeToString() 395 base = "textPostalAddress"; in inputTypeToString() 398 base = "textPassword"; in inputTypeToString() [all …]
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ipmemorystore/ |
D | RelevanceUtilsTests.java | 38 final long base = 1_000_000L; // any given point in time in testComputeRelevanceForTargetDate() local 41 base + 1000L * dayInMillis, base)); in testComputeRelevanceForTargetDate() 43 assertEquals(0, RelevanceUtils.computeRelevanceForTargetDate(base - 1, base)); in testComputeRelevanceForTargetDate() 46 assertTrue(RelevanceUtils.computeRelevanceForTargetDate(base + 100 * dayInMillis, base) in testComputeRelevanceForTargetDate() 47 < RelevanceUtils.computeRelevanceForTargetDate(base + 150 * dayInMillis, base)); in testComputeRelevanceForTargetDate() 51 final int relevanceAtExpiry = RelevanceUtils.computeRelevanceForTargetDate(base, base); in testComputeRelevanceForTargetDate() 53 RelevanceUtils.computeRelevanceForTargetDate(base + 50 * dayInMillis, base); in testComputeRelevanceForTargetDate() 55 RelevanceUtils.computeRelevanceForTargetDate(base + 100 * dayInMillis, base); in testComputeRelevanceForTargetDate() 57 RelevanceUtils.computeRelevanceForTargetDate(base + 150 * dayInMillis, base); in testComputeRelevanceForTargetDate()
|
/packages/modules/DnsResolver/tests/ |
D | tun_forwarder.h | 37 TunForwarder(base::unique_fd tunFd); 45 static base::unique_fd createTun(const std::string& ifname); 51 static base::Result<v4pair> makePair(const std::array<std::string, 2>& addrs); 64 static base::Result<v6pair> makePair(const std::array<std::string, 2>& addrs); 80 base::Result<void> validatePacket(netdutils::Slice tunPacket) const; 81 base::Result<void> validateIpv4Packet(netdutils::Slice ipv4Packet) const; 82 base::Result<void> validateIpv6Packet(netdutils::Slice ipv6Packet) const; 83 base::Result<void> validateUdpPacket(netdutils::Slice udpPacket) const; 84 base::Result<void> validateTcpPacket(netdutils::Slice tcpPacket) const; 88 base::Result<void> translatePacket(netdutils::Slice tunPacket) const; [all …]
|
D | tun_forwarder.cpp | 38 using android::base::Error; 39 using android::base::Result; 40 using android::base::unique_fd; 225 const tun_pi* const tunHeader = reinterpret_cast<tun_pi*>(tunPacket.base()); in validatePacket() 245 const iphdr* const ipHeader = reinterpret_cast<iphdr*>(ipv4Packet.base()); in validateIpv4Packet() 275 const ip6_hdr* const ipv6Header = reinterpret_cast<ip6_hdr*>(ipv6Packet.base()); in validateIpv6Packet() 303 const tcphdr* const tcpHeader = reinterpret_cast<tcphdr*>(tcpPacket.base()); in validateTcpPacket() 314 const tun_pi* const tunHeader = reinterpret_cast<tun_pi*>(tunPacket.base()); in translatePacket() 327 iphdr* ipHeader = reinterpret_cast<iphdr*>(ipv4Packet.base()); in translateIpv4Packet() 361 ip6_hdr* ipv6Header = reinterpret_cast<ip6_hdr*>(ipv6Packet.base()); in translateIpv6Packet() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | FilterUtils.java | 176 public static String newFilterPath(String base, int filterType) { in newFilterPath() argument 186 return base; in newFilterPath() 189 return "/filter/mediatype/" + mediaType + "/{" + base + "}"; in newFilterPath() 193 public static String newClusterPath(String base, int clusterType) { in newClusterPath() argument 212 return base; in newClusterPath() 215 return "/cluster/{" + base + "}/" + kind; in newClusterPath() 219 public static String switchClusterPath(String base, int clusterType) { in switchClusterPath() argument 220 return newClusterPath(removeOneClusterFromPath(base), clusterType); in switchClusterPath() 224 private static String removeOneClusterFromPath(String base) { in removeOneClusterFromPath() argument 226 return removeOneClusterFromPath(base, done); in removeOneClusterFromPath() [all …]
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | Pyramid.cpp | 116 ImageTypeShort base; in BorderSpread() local 123 base = pyr->ptr[-h] - off; in BorderSpread() 126 for (h = height; h--; base += pyr->pitch) { in BorderSpread() 128 base[-1 - w] = base[0]; in BorderSpread() 130 base[off2 + w + 1] = base[off2]; in BorderSpread() 136 base = pyr->ptr[top - pyr->border] - pyr->border; in BorderSpread() 137 for (h = top; h--; base -= pyr->pitch) { in BorderSpread() 138 memcpy(base - pyr->pitch, base, pyr->pitch * sizeof(short)); in BorderSpread() 141 base = pyr->ptr[pyr->height + pyr->border - bot] - pyr->border; in BorderSpread() 142 for (h = bot; h--; base += pyr->pitch) { in BorderSpread() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | ActionHandler.java | 19 import static com.android.documentsui.base.SharedMinimal.DEBUG; 20 import static com.android.documentsui.base.State.ACTION_CREATE; 21 import static com.android.documentsui.base.State.ACTION_GET_CONTENT; 22 import static com.android.documentsui.base.State.ACTION_OPEN; 23 import static com.android.documentsui.base.State.ACTION_OPEN_TREE; 24 import static com.android.documentsui.base.State.ACTION_PICK_COPY_DESTINATION; 50 import com.android.documentsui.base.BooleanConsumer; 51 import com.android.documentsui.base.DocumentInfo; 52 import com.android.documentsui.base.DocumentStack; 53 import com.android.documentsui.base.Features; [all …]
|
D | Config.java | 19 import static com.android.documentsui.base.State.ACTION_CREATE; 20 import static com.android.documentsui.base.State.ACTION_GET_CONTENT; 21 import static com.android.documentsui.base.State.ACTION_OPEN; 22 import static com.android.documentsui.base.State.ACTION_OPEN_TREE; 23 import static com.android.documentsui.base.State.ACTION_PICK_COPY_DESTINATION; 28 import com.android.documentsui.base.MimeTypes; 29 import com.android.documentsui.base.State;
|
D | MenuManager.java | 19 import static com.android.documentsui.base.DocumentInfo.getCursorString; 20 import static com.android.documentsui.base.State.ACTION_CREATE; 21 import static com.android.documentsui.base.State.ACTION_GET_CONTENT; 22 import static com.android.documentsui.base.State.ACTION_OPEN; 23 import static com.android.documentsui.base.State.ACTION_OPEN_TREE; 24 import static com.android.documentsui.base.State.ACTION_PICK_COPY_DESTINATION; 33 import com.android.documentsui.base.MimeTypes; 34 import com.android.documentsui.base.State;
|
D | PickActivity.java | 19 import static com.android.documentsui.base.State.ACTION_CREATE; 20 import static com.android.documentsui.base.State.ACTION_GET_CONTENT; 21 import static com.android.documentsui.base.State.ACTION_OPEN; 22 import static com.android.documentsui.base.State.ACTION_OPEN_TREE; 23 import static com.android.documentsui.base.State.ACTION_PICK_COPY_DESTINATION; 51 import com.android.documentsui.base.DocumentInfo; 52 import com.android.documentsui.base.Features; 53 import com.android.documentsui.base.MimeTypes; 54 import com.android.documentsui.base.RootInfo; 55 import com.android.documentsui.base.Shared; [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | DirectoryLoader.java | 19 import static com.android.documentsui.base.SharedMinimal.VERBOSE; 37 import com.android.documentsui.base.DebugFlags; 38 import com.android.documentsui.base.DocumentInfo; 39 import com.android.documentsui.base.Features; 40 import com.android.documentsui.base.FilteringCursorWrapper; 41 import com.android.documentsui.base.Lookup; 42 import com.android.documentsui.base.MimeTypes; 43 import com.android.documentsui.base.RootInfo; 44 import com.android.documentsui.base.State;
|
D | RefreshTask.java | 19 import static com.android.documentsui.base.SharedMinimal.DEBUG; 31 import com.android.documentsui.base.ApplicationScope; 32 import com.android.documentsui.base.BooleanConsumer; 33 import com.android.documentsui.base.CheckedTask; 34 import com.android.documentsui.base.DocumentInfo; 35 import com.android.documentsui.base.Features; 36 import com.android.documentsui.base.State;
|
D | Model.java | 19 import static com.android.documentsui.base.DocumentInfo.getCursorString; 20 import static com.android.documentsui.base.SharedMinimal.DEBUG; 21 import static com.android.documentsui.base.SharedMinimal.VERBOSE; 36 import com.android.documentsui.base.DocumentFilters; 37 import com.android.documentsui.base.DocumentInfo; 38 import com.android.documentsui.base.EventListener; 39 import com.android.documentsui.base.Features;
|
D | AbstractActionHandler.java | 19 import static com.android.documentsui.base.DocumentInfo.getCursorInt; 20 import static com.android.documentsui.base.DocumentInfo.getCursorString; 21 import static com.android.documentsui.base.SharedMinimal.DEBUG; 48 import com.android.documentsui.base.BooleanConsumer; 49 import com.android.documentsui.base.DocumentInfo; 50 import com.android.documentsui.base.DocumentStack; 51 import com.android.documentsui.base.Lookup; 52 import com.android.documentsui.base.Providers; 53 import com.android.documentsui.base.RootInfo; 54 import com.android.documentsui.base.Shared; [all …]
|
/packages/services/Car/tools/hidl_parser/ |
D | parser.py | 100 def __init__(self, name, base): argument 102 self.base = base 105 return '%s%s' % (self.name, ' %s' % self.base if self.base else '') 250 def __init__(self, base, offset): argument 251 self.base = base 255 return '%s << %s' % (self.base, self.offset) 258 base = self.base.resolve(enum, document) 260 return base << offset
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | ModelBackedDocumentsAdapter.java | 19 import static com.android.documentsui.base.DocumentInfo.getCursorInt; 20 import static com.android.documentsui.base.DocumentInfo.getCursorString; 21 import static com.android.documentsui.base.State.MODE_GRID; 22 import static com.android.documentsui.base.State.MODE_LIST; 34 import com.android.documentsui.base.EventListener; 35 import com.android.documentsui.base.Lookup; 36 import com.android.documentsui.base.Shared; 37 import com.android.documentsui.base.State;
|
D | IconHelper.java | 19 import static com.android.documentsui.base.SharedMinimal.VERBOSE; 20 import static com.android.documentsui.base.State.MODE_GRID; 21 import static com.android.documentsui.base.State.MODE_LIST; 43 import com.android.documentsui.base.DocumentInfo; 44 import com.android.documentsui.base.MimeTypes; 45 import com.android.documentsui.base.State; 46 import com.android.documentsui.base.State.ViewMode;
|
/packages/modules/DnsResolver/ |
D | DnsResolver.cpp | 28 android::base::InitLogging(/*argv=*/nullptr); in resolv_init() 29 android::base::SetDefaultTag("libnetd_resolv"); in resolv_init() 31 resolv_set_log_severity(android::base::WARNING); in resolv_init() 33 uint64_t buildVersionSdk = android::base::GetUintProperty<uint64_t>("ro.build.version.sdk", 0); in resolv_init() 35 android::base::GetUintProperty<uint64_t>("ro.build.version.preview_sdk", 0); in resolv_init() 37 android::base::GetUintProperty<uint64_t>("ro.product.first_api_level", 0); in resolv_init()
|
D | res_debug.cpp | 133 using android::base::StringAppendF; 485 logSeverity = android::base::VERBOSE; in resolv_set_log_severity() 488 logSeverity = android::base::DEBUG; in resolv_set_log_severity() 495 logSeverity = android::base::DEBUG; in resolv_set_log_severity() 498 logSeverity = android::base::INFO; in resolv_set_log_severity() 501 logSeverity = android::base::WARNING; in resolv_set_log_severity() 504 logSeverity = android::base::ERROR; in resolv_set_log_severity() 510 android::base::SetMinimumLogSeverity(static_cast<android::base::LogSeverity>(logSeverity)); in resolv_set_log_severity()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/ |
D | SearchViewManager.java | 19 import static com.android.documentsui.base.SharedMinimal.DEBUG; 20 import static com.android.documentsui.base.State.ACTION_GET_CONTENT; 21 import static com.android.documentsui.base.State.ACTION_OPEN; 22 import static com.android.documentsui.base.State.ActionType; 48 import com.android.documentsui.base.DocumentInfo; 49 import com.android.documentsui.base.DocumentStack; 50 import com.android.documentsui.base.EventHandler; 51 import com.android.documentsui.base.RootInfo; 52 import com.android.documentsui.base.Shared; 53 import com.android.documentsui.base.State;
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | ActionHandler.java | 21 import static com.android.documentsui.base.SharedMinimal.DEBUG; 54 import com.android.documentsui.base.ConfirmationCallback; 55 import com.android.documentsui.base.DebugFlags; 56 import com.android.documentsui.base.DocumentFilters; 57 import com.android.documentsui.base.DocumentInfo; 58 import com.android.documentsui.base.DocumentStack; 59 import com.android.documentsui.base.Features; 60 import com.android.documentsui.base.Lookup; 61 import com.android.documentsui.base.MimeTypes; 62 import com.android.documentsui.base.Providers; [all …]
|
/packages/apps/DocumentsUI/ |
D | PREUPLOAD.cfg | 4 strings_lint_hook = ${REPO_ROOT}/frameworks/base/tools/stringslint/stringslint_sha.sh ${PREUPLOAD_C… 6 hidden_api_txt_checksorted_hook = ${REPO_ROOT}/frameworks/base/tools/hiddenapi/checksorted_sha.sh $… 8 hidden_api_txt_exclude_hook = ${REPO_ROOT}/frameworks/base/tools/hiddenapi/exclude.sh ${PREUPLOAD_C… 12 owners_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "OWNERS$" 14 shell_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^packages/She…
|
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/ |
D | RoutineWatchEvaluatorTest.java | 46 private ScoredItem(String base, String text) { in ScoredItem() argument 47 this.mBase = base; in ScoredItem() 49 this.mScore = RoutineWatchEvaluator.calculateTitleMatchScore(base, text); in ScoredItem() 128 String base = "foo bar baz"; in testCalculateTitleMatchScore_longerMatchIsBetter() local 131 score(base, ""), in testCalculateTitleMatchScore_longerMatchIsBetter() 132 score(base, "bar"), in testCalculateTitleMatchScore_longerMatchIsBetter() 133 score(base, "foo bar"), in testCalculateTitleMatchScore_longerMatchIsBetter() 134 score(base, "foo bar baz") in testCalculateTitleMatchScore_longerMatchIsBetter()
|
/packages/services/Car/car-bugreportd/ |
D | main.cpp | 129 const auto name = android::base::Basename(filepath); in zipFilesToFd() 136 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(filepath.c_str(), O_RDONLY))); in zipFilesToFd() 191 if (!android::base::WriteFully(fd_out, buffer, bytes_read)) { in copyTo() 199 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(zip_path.c_str(), O_RDONLY))); in copyFile() 222 android::base::unique_fd s; in doBugreport() 461 android::base::SetProperty("ctl.start", "car-dumpstatez"); in main() 469 android::base::SetProperty("ctl.stop", "car-dumpstatez"); in main() 503 android::base::SetProperty("ctl.stop", "car-dumpstatez"); in main()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | FilteringCursorWrapper.java | 17 package com.android.documentsui.base; 19 import static com.android.documentsui.base.DocumentInfo.getCursorLong; 20 import static com.android.documentsui.base.DocumentInfo.getCursorString; 21 import static com.android.documentsui.base.SharedMinimal.DEBUG; 22 import static com.android.documentsui.base.SharedMinimal.TAG;
|