/frameworks/base/core/java/com/android/internal/widget/ |
D | RecyclerViewAccessibilityDelegate.java | 43 public boolean performAccessibilityAction(View host, int action, Bundle args) { in performAccessibilityAction() argument 44 if (super.performAccessibilityAction(host, action, args)) { in performAccessibilityAction() 55 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfo info) { in onInitializeAccessibilityNodeInfo() argument 56 super.onInitializeAccessibilityNodeInfo(host, info); in onInitializeAccessibilityNodeInfo() 64 public void onInitializeAccessibilityEvent(View host, AccessibilityEvent event) { in onInitializeAccessibilityEvent() argument 65 super.onInitializeAccessibilityEvent(host, event); in onInitializeAccessibilityEvent() 67 if (host instanceof RecyclerView && !shouldIgnore()) { in onInitializeAccessibilityEvent() 68 RecyclerView rv = (RecyclerView) host; in onInitializeAccessibilityEvent() 86 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfo info) { 87 super.onInitializeAccessibilityNodeInfo(host, info); [all …]
|
/frameworks/rs/ |
D | update-prebuilts.py | 61 def host_to_build_host(host): argument 70 }[host] 73 def build_name(host): argument 83 }[host] 95 def package_name(build_number, host): argument 101 return 'renderscript-{}-{}-x86.tar.bz2'.format(build_number, host) 104 def download_build(host, build_number, android_branch, download_dir): argument 105 filename = package_name(build_number, host) 106 return download_file(host, build_number, android_branch, filename, download_dir) 109 def download_manifest(host, build_number, android_branch, download_dir): argument [all …]
|
D | build_rs.py | 101 def package_toolchain(build_dir, build_name, host, dist_dir): argument 103 install_host_dir = build_path('install', host) 111 install_toolchain(build_dir, install_dir, host) 113 tarball_name = package_name + '-' + host 122 def install_toolchain(build_dir, install_dir, host): argument 123 install_built_host_files(build_dir, install_dir, host) 124 install_clang_headers(build_dir, install_dir, host) 125 if not host.startswith('darwin'): 126 install_built_device_files(build_dir, install_dir, host) 133 if host.startswith('windows'): [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
D | TileAdapterDelegate.java | 58 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfoCompat info) { in onInitializeAccessibilityNodeInfo() argument 59 super.onInitializeAccessibilityNodeInfo(host, info); in onInitializeAccessibilityNodeInfo() 60 TileAdapter.Holder holder = getHolder(host); in onInitializeAccessibilityNodeInfo() 69 addClickAction(host, info, holder); in onInitializeAccessibilityNodeInfo() 70 maybeAddActionAddToPosition(host, info, holder); in onInitializeAccessibilityNodeInfo() 71 maybeAddActionMoveToPosition(host, info, holder); in onInitializeAccessibilityNodeInfo() 74 info.setStateDescription(host.getContext().getString( in onInitializeAccessibilityNodeInfo() 80 public boolean performAccessibilityAction(View host, int action, Bundle args) { in performAccessibilityAction() argument 81 TileAdapter.Holder holder = getHolder(host); in performAccessibilityAction() 86 return super.performAccessibilityAction(host, action, args); in performAccessibilityAction() [all …]
|
/frameworks/base/core/java/android/net/ |
D | Proxy.java | 85 String host = ""; in getProxy() local 86 if ((url != null) && !isLocalHost(host)) { in getProxy() 148 String host = System.getProperty("http.proxyHost"); in getDefaultHost() local 149 if (TextUtils.isEmpty(host)) return null; in getDefaultHost() 150 return host; in getDefaultHost() 171 private static final boolean isLocalHost(String host) { in isLocalHost() argument 172 if (host == null) { in isLocalHost() 176 if (host != null) { in isLocalHost() 177 if (host.equalsIgnoreCase("localhost")) { in isLocalHost() 180 if (InetAddresses.parseNumericAddress(host).isLoopbackAddress()) { in isLocalHost() [all …]
|
/frameworks/base/tools/hoststubgen/hoststubgen/test-tiny-framework/ |
D | Android.bp | 24 name: "hoststubgen-test-tiny-framework-host", 38 name: "hoststubgen-test-tiny-framework-host-stub", 41 ":hoststubgen-test-tiny-framework-host{host_stub.jar}", 50 name: "hoststubgen-test-tiny-framework-host-impl", 53 ":hoststubgen-test-tiny-framework-host{host_impl.jar}", 61 // Same as "hoststubgen-test-tiny-framework-host", but with more options, to test more hoststubgen 64 name: "hoststubgen-test-tiny-framework-host-ext", 82 name: "hoststubgen-test-tiny-framework-host-ext-stub", 85 ":hoststubgen-test-tiny-framework-host-ext{host_stub.jar}", 94 name: "hoststubgen-test-tiny-framework-host-ext-impl", [all …]
|
/frameworks/libs/binary_translation/kernel_api/ |
D | fcntl_emulation.cc | 88 struct flock64* host) { in ConvertGuestFlockToHostFlock64() argument 92 *host = {guest->l_type, guest->l_whence, guest->l_start, guest->l_len, guest->l_pid}; in ConvertGuestFlockToHostFlock64() 93 return host; in ConvertGuestFlockToHostFlock64() 96 void ConvertHostFlock64ToGuestFlock(const struct flock64* host, Guest_flock* guest) { in ConvertHostFlock64ToGuestFlock() argument 98 CHECK_LE(host->l_start, INT32_MAX); in ConvertHostFlock64ToGuestFlock() 99 CHECK_GE(host->l_start, INT32_MIN); in ConvertHostFlock64ToGuestFlock() 100 CHECK_LE(host->l_len, INT32_MAX); in ConvertHostFlock64ToGuestFlock() 101 CHECK_GE(host->l_len, INT32_MIN); in ConvertHostFlock64ToGuestFlock() 102 *guest = {host->l_type, in ConvertHostFlock64ToGuestFlock() 103 host->l_whence, in ConvertHostFlock64ToGuestFlock() [all …]
|
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/ |
D | TestUtils.java | 37 public static void assertConnectionFails(SSLContext context, String host, int port) in assertConnectionFails() argument 40 SSLSocket s = (SSLSocket) context.getSocketFactory().createSocket(host, port); in assertConnectionFails() 42 fail("Expected connection to " + host + ":" + port + " to fail."); in assertConnectionFails() 47 public static void assertConnectionSucceeds(SSLContext context, String host, int port) in assertConnectionSucceeds() argument 49 SSLSocket s = (SSLSocket) context.getSocketFactory().createSocket(host, port); in assertConnectionSucceeds() 54 public static void assertUrlConnectionFails(SSLContext context, String host, int port) in assertUrlConnectionFails() argument 56 URL url = new URL("https://" + host + ":" + port); in assertUrlConnectionFails() 61 fail("Connection to " + host + ":" + port + " expected to fail"); in assertUrlConnectionFails() 67 public static void assertUrlConnectionSucceeds(SSLContext context, String host, int port) in assertUrlConnectionSucceeds() argument 69 URL url = new URL("https://" + host + ":" + port); in assertUrlConnectionSucceeds()
|
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/util/ |
D | LinkAccessibilityHelper.java | 89 public void sendAccessibilityEvent(View host, int eventType) { in sendAccessibilityEvent() argument 90 delegate.sendAccessibilityEvent(host, eventType); in sendAccessibilityEvent() 94 public void sendAccessibilityEventUnchecked(View host, AccessibilityEvent event) { in sendAccessibilityEventUnchecked() argument 95 delegate.sendAccessibilityEventUnchecked(host, event); in sendAccessibilityEventUnchecked() 99 public boolean dispatchPopulateAccessibilityEvent(View host, AccessibilityEvent event) { in dispatchPopulateAccessibilityEvent() argument 100 return delegate.dispatchPopulateAccessibilityEvent(host, event); in dispatchPopulateAccessibilityEvent() 104 public void onPopulateAccessibilityEvent(View host, AccessibilityEvent event) { in onPopulateAccessibilityEvent() argument 105 delegate.onPopulateAccessibilityEvent(host, event); in onPopulateAccessibilityEvent() 109 public void onInitializeAccessibilityEvent(View host, AccessibilityEvent event) { in onInitializeAccessibilityEvent() argument 110 delegate.onInitializeAccessibilityEvent(host, event); in onInitializeAccessibilityEvent() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardClockAccessibilityDelegate.java | 39 public void onInitializeAccessibilityEvent(View host, AccessibilityEvent event) { in onInitializeAccessibilityEvent() argument 40 super.onInitializeAccessibilityEvent(host, event); in onInitializeAccessibilityEvent() 51 public void onPopulateAccessibilityEvent(View host, AccessibilityEvent event) { in onPopulateAccessibilityEvent() argument 53 super.onPopulateAccessibilityEvent(host, event); in onPopulateAccessibilityEvent() 55 CharSequence text = ((TextView) host).getText(); in onPopulateAccessibilityEvent() 63 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfo info) { in onInitializeAccessibilityNodeInfo() argument 64 super.onInitializeAccessibilityNodeInfo(host, info); in onInitializeAccessibilityNodeInfo()
|
/frameworks/base/core/java/org/apache/http/conn/ssl/ |
D | AbstractVerifier.java | 94 public final void verify(String host, SSLSocket ssl) in verify() argument 96 if(host == null) { in verify() 103 verify(host, x509); in verify() 106 public final boolean verify(String host, SSLSession session) { in verify() argument 110 verify(host, x509); in verify() 118 public final void verify(String host, X509Certificate cert) in verify() argument 122 verify(host, cns, subjectAlts); in verify() 125 public final void verify(final String host, final String[] cns, in verify() argument 147 String msg = "Certificate for <" + host + "> doesn't contain CN or DNS subjectAlt"; in verify() 156 String hostName = host.trim().toLowerCase(Locale.ENGLISH); in verify() [all …]
|
D | X509HostnameVerifier.java | 67 boolean verify(String host, SSLSession session); in verify() argument 69 void verify(String host, SSLSocket ssl) throws IOException; in verify() argument 71 void verify(String host, X509Certificate cert) throws SSLException; in verify() argument 87 void verify(String host, String[] cns, String[] subjectAlts) in verify() argument
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | Dimmer.java | 40 protected Dimmer(WindowContainer host) { in Dimmer() argument 41 mHost = host; in Dimmer() 45 static Dimmer create(WindowContainer host) { in create() argument 46 return DIMMER_REFACTOR ? new SmoothDimmer(host) : new LegacyDimmer(host); in create()
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 835 Host host = mHosts.get(i); in resolveHostUidLocked() local 836 if (host.id.uid == UNKNOWN_UID && pkg.equals(host.id.packageName)) { in resolveHostUidLocked() 838 Slog.i(TAG, "host " + host.id + " resolved to uid " + uid); in resolveHostUidLocked() 840 host.id = new HostId(uid, host.id.hostId, host.id.packageName); in resolveHostUidLocked() 909 if (widget.host == null || widget.provider == null) { in dumpProtoWidget() 911 + widget.host + " widget.provider=" + widget.provider); in dumpProtoWidget() 916 widget.host.getUserId() != widget.provider.getUserId()); in dumpProtoWidget() 917 proto.write(WidgetProto.IS_HOST_STOPPED, widget.host.callbacks == null); in dumpProtoWidget() 918 proto.write(WidgetProto.HOST_PACKAGE, widget.host.id.packageName); in dumpProtoWidget() 989 Host host = lookupOrAddHostLocked(id); in startListening() local [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | ProgressBarTest.java | 84 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfo info) { in testStateDescription_determinateProgressBar_custom_viewApi() 85 info.setStateDescription(host.getStateDescription()); in testStateDescription_determinateProgressBar_custom_viewApi() 86 super.onInitializeAccessibilityNodeInfo(host, info); in testStateDescription_determinateProgressBar_custom_viewApi() 112 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfo info) { in testStateDescription_determinateProgressBar_custom_accessibilityNodeInfoApi() 113 super.onInitializeAccessibilityNodeInfo(host, info); in testStateDescription_determinateProgressBar_custom_accessibilityNodeInfoApi() 143 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfo info) { in testStateDescription_indeterminateProgressBar_custom_viewApi() 144 info.setStateDescription(host.getStateDescription()); in testStateDescription_indeterminateProgressBar_custom_viewApi() 145 super.onInitializeAccessibilityNodeInfo(host, info); in testStateDescription_indeterminateProgressBar_custom_viewApi() 172 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfo info) { in testStateDescription_indeterminateProgressBar_custom_accessibilityNodeInfoApi() 173 super.onInitializeAccessibilityNodeInfo(host, info); in testStateDescription_indeterminateProgressBar_custom_accessibilityNodeInfoApi()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogSeekBarAccessibilityDelegate.kt | 30 override fun performAccessibilityAction(host: View, action: Int, args: Bundle?): Boolean { in performAccessibilityAction() 31 require(host is SeekBar) { "This class only works with the SeekBar" } in performAccessibilityAction() 32 val seekBar: SeekBar = host in performAccessibilityAction() 43 host, in performAccessibilityAction() 53 return super.performAccessibilityAction(host, action, args) in performAccessibilityAction()
|
/frameworks/base/ravenwood/ |
D | TEST_MAPPING | 44 "host": true 48 "host": true 52 "host": true 56 "host": true 60 "host": true
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
D | WatchlistLoggingHandler.java | 194 public void asyncNetworkEvent(String host, String[] ipAddresses, int uid) { in asyncNetworkEvent() argument 197 bundle.putString(WatchlistEventKeys.HOST, host); in asyncNetworkEvent() 398 private boolean isHostInWatchlist(String host) { in isHostInWatchlist() argument 399 if (host == null) { in isHostInWatchlist() 402 return mConfig.containsDomain(host); in isHostInWatchlist() 412 private String searchAllSubDomainsInWatchlist(String host) { in searchAllSubDomainsInWatchlist() argument 413 if (host == null) { in searchAllSubDomainsInWatchlist() 416 final String[] subDomains = getAllSubDomains(host); in searchAllSubDomainsInWatchlist() 428 static String[] getAllSubDomains(String host) { in getAllSubDomains() argument 429 if (host == null) { in getAllSubDomains() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | SurfaceUtils.java | 27 public static SurfaceControl makeDimLayer(SurfaceControl.Transaction t, SurfaceControl host, in makeDimLayer() argument 29 final SurfaceControl dimLayer = makeColorLayer(host, name, surfaceSession); in makeDimLayer() 35 public static SurfaceControl makeColorLayer(SurfaceControl host, String name, in makeColorLayer() argument 38 .setParent(host) in makeColorLayer()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/domain/worker/ |
D | RetryRequestWorker.kt | 39 data class VerifyResult(val domainSetId: UUID, val host: String, val status: VerifyStatus) in <lambda>() constant in VerifyResult 49 .map { (domainSetId, packageName, host) -> in <lambda>() method 52 val (_, status) = verifier.verifyHost(host, packageName, params.network) in <lambda>() 53 VerifyResult(domainSetId, host, status) in <lambda>() 66 .mapValues { it.value.map(VerifyResult::host).toSet() } in <lambda>()
|
D | SingleV2RequestWorker.kt | 39 host: String, in buildRequest() 46 .putString(HOST_KEY, host) 60 val host = params.inputData.getString(HOST_KEY)!! in <lambda>() constant 62 val (result, status) = verifier.verifyHost(host, packageName, params.network) in <lambda>() 64 verificationManager.setDomainVerificationStatus(domainSetId, setOf(host), status.value) in <lambda>()
|
D | SingleV1RequestWorker.kt | 42 host: String, in buildRequest() 48 .putString(HOST_KEY, host) 61 val host = params.inputData.getString(HOST_KEY)!! in <lambda>() constant 63 val (result, status) = verifier.verifyHost(host, packageName, params.network) in <lambda>() 68 "host = $host, status = $status" in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/ |
D | DomainVerificationCollector.java | 212 String host = intentFilter.getDataAuthority(index).getHost(); 213 if (isValidHost(host) == valid) { 214 totalSize += byteSizeOf(host); 216 ReturnValue returnValue = domainCollector.apply(initialValue, host); 278 String host = intentFilter.getDataAuthority(index).getHost(); 279 if (isValidHost(host) == valid) { 280 totalSize += byteSizeOf(host); 282 ReturnValue returnValue = domainCollector.apply(initialValue, host); 309 private boolean isValidHost(String host) { 310 if (TextUtils.isEmpty(host)) { [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | UdfpsKeyguardAccessibilityDelegate.kt | 36 override fun onInitializeAccessibilityNodeInfo(host: View, info: AccessibilityNodeInfo) { in onInitializeAccessibilityNodeInfo() 37 super.onInitializeAccessibilityNodeInfo(host, info) in onInitializeAccessibilityNodeInfo() 46 override fun performAccessibilityAction(host: View, action: Int, args: Bundle?): Boolean { in performAccessibilityAction() 52 } else super.performAccessibilityAction(host, action, args) in performAccessibilityAction()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/ |
D | ControlAdapter.kt | 337 override fun onInitializeAccessibilityNodeInfo(host: View, info: AccessibilityNodeInfoCompat) { in onInitializeAccessibilityNodeInfo() 338 super.onInitializeAccessibilityNodeInfo(host, info) in onInitializeAccessibilityNodeInfo() 341 addClickAction(host, info) in onInitializeAccessibilityNodeInfo() 342 maybeAddMoveBeforeAction(host, info) in onInitializeAccessibilityNodeInfo() 343 maybeAddMoveAfterAction(host, info) in onInitializeAccessibilityNodeInfo() 353 override fun performAccessibilityAction(host: View, action: Int, args: Bundle?): Boolean { in performAccessibilityAction() 354 if (super.performAccessibilityAction(host, action, args)) { in performAccessibilityAction() 370 private fun addClickAction(host: View, info: AccessibilityNodeInfoCompat) { in addClickAction() 373 host.context.getString(R.string.accessibility_control_change_unfavorite) in addClickAction() 375 host.context.getString(R.string.accessibility_control_change_favorite) in addClickAction() [all …]
|