/frameworks/support/compat/java/android/support/v4/view/ |
D | AccessibilityDelegateCompat.java | 54 public boolean dispatchPopulateAccessibilityEvent(View host, in newAccessibilityDelegateBridge() 56 return compat.dispatchPopulateAccessibilityEvent(host, event); in newAccessibilityDelegateBridge() 60 public void onInitializeAccessibilityEvent(View host, AccessibilityEvent event) { in newAccessibilityDelegateBridge() argument 61 compat.onInitializeAccessibilityEvent(host, event); in newAccessibilityDelegateBridge() 66 View host, AccessibilityNodeInfo info) { in newAccessibilityDelegateBridge() argument 67 compat.onInitializeAccessibilityNodeInfo(host, in newAccessibilityDelegateBridge() 72 public void onPopulateAccessibilityEvent(View host, AccessibilityEvent event) { in newAccessibilityDelegateBridge() argument 73 compat.onPopulateAccessibilityEvent(host, event); in newAccessibilityDelegateBridge() 77 public boolean onRequestSendAccessibilityEvent(ViewGroup host, View child, in newAccessibilityDelegateBridge() argument 79 return compat.onRequestSendAccessibilityEvent(host, child, event); in newAccessibilityDelegateBridge() [all …]
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/media/ |
D | PlaybackControlGlueTest.java | 103 PlaybackGlueHostImpl host = new PlaybackGlueHostImpl(); in usingDefaultRowAndPresenter() local 105 mGlue.setHost(host); in usingDefaultRowAndPresenter() 106 Mockito.verify(mGlue, times(1)).onAttachedToHost(host); in usingDefaultRowAndPresenter() 107 assertSame(mGlue, host.mGlue); in usingDefaultRowAndPresenter() 108 assertSame(host, mGlue.getHost()); in usingDefaultRowAndPresenter() 109 assertTrue(host.mPlaybackRowPresenter instanceof PlaybackControlsRowPresenter); in usingDefaultRowAndPresenter() 110 assertTrue(host.mRow instanceof PlaybackControlsRow); in usingDefaultRowAndPresenter() 129 PlaybackGlueHostImpl host = new PlaybackGlueHostImpl(); in customRowPresenter() local 131 mGlue.setHost(host); in customRowPresenter() 132 Mockito.verify(mGlue, times(1)).onAttachedToHost(host); in customRowPresenter() [all …]
|
D | PlaybackGlueTest.java | 50 PlaybackGlueHostImpl host = new PlaybackGlueHostImpl(); in glueAndHostInteraction() local 52 glue.setHost(host); in glueAndHostInteraction() 53 Mockito.verify(glue, times(1)).onAttachedToHost(host); in glueAndHostInteraction() 54 assertSame(glue, host.mGlue); in glueAndHostInteraction() 55 assertSame(host, glue.getHost()); in glueAndHostInteraction() 57 host.notifyOnStart(); in glueAndHostInteraction() 60 host.notifyOnResume(); in glueAndHostInteraction() 63 host.notifyOnPause(); in glueAndHostInteraction() 66 host.notifyOnStop(); in glueAndHostInteraction() 70 glue2.setHost(host); in glueAndHostInteraction() [all …]
|
D | PlaybackBannerControlGlueTest.java | 80 PlaybackGlueHostImpl host = new PlaybackGlueHostImpl(); in usingDefaultRowAndPresenter() local 82 mGlue.setHost(host); in usingDefaultRowAndPresenter() 83 assertSame(mGlue, host.mGlue); in usingDefaultRowAndPresenter() 84 assertSame(host, mGlue.getHost()); in usingDefaultRowAndPresenter() 85 assertTrue(host.mPlaybackRowPresenter instanceof PlaybackControlsRowPresenter); in usingDefaultRowAndPresenter() 86 assertTrue(host.mRow instanceof PlaybackControlsRow); in usingDefaultRowAndPresenter() 105 PlaybackGlueHostImpl host = new PlaybackGlueHostImpl(); in customRowPresenter() local 107 mGlue.setHost(host); in customRowPresenter() 108 assertSame(mGlue, host.mGlue); in customRowPresenter() 109 assertSame(host, mGlue.getHost()); in customRowPresenter() [all …]
|
D | PlaybackTransportControlGlueTest.java | 80 PlaybackGlueHostImpl host = new PlaybackGlueHostImpl(); in usingDefaultRowAndPresenter() local 82 mGlue.setHost(host); in usingDefaultRowAndPresenter() 83 assertSame(mGlue, host.mGlue); in usingDefaultRowAndPresenter() 84 assertSame(host, mGlue.getHost()); in usingDefaultRowAndPresenter() 85 assertTrue(host.mPlaybackRowPresenter instanceof PlaybackTransportRowPresenter); in usingDefaultRowAndPresenter() 86 assertTrue(host.mRow instanceof PlaybackControlsRow); in usingDefaultRowAndPresenter() 105 PlaybackGlueHostImpl host = new PlaybackGlueHostImpl(); in customRowPresenter() local 107 mGlue.setHost(host); in customRowPresenter() 108 assertSame(mGlue, host.mGlue); in customRowPresenter() 109 assertSame(host, mGlue.getHost()); in customRowPresenter() [all …]
|
/frameworks/native/services/inputflinger/host/ |
D | InputDriver.cpp | 294 ::input_device_identifier_t* create_device_identifier(input_host_t* host, in create_device_identifier() argument 297 auto driver = static_cast<InputDriverInterface*>(host); in create_device_identifier() 301 input_device_definition_t* create_device_definition(input_host_t* host) { in create_device_definition() argument 302 auto driver = static_cast<InputDriverInterface*>(host); in create_device_definition() 306 input_report_definition_t* create_input_report_definition(input_host_t* host) { in create_input_report_definition() argument 307 auto driver = static_cast<InputDriverInterface*>(host); in create_input_report_definition() 311 input_report_definition_t* create_output_report_definition(input_host_t* host) { in create_output_report_definition() argument 312 auto driver = static_cast<InputDriverInterface*>(host); in create_output_report_definition() 316 void free_report_definition(input_host_t* host, input_report_definition_t* report_def) { in free_report_definition() argument 317 auto driver = static_cast<InputDriverInterface*>(host); in free_report_definition() [all …]
|
D | InputDriver.h | 137 input_device_identifier_t* create_device_identifier(input_host_t* host, 141 input_device_definition_t* create_device_definition(input_host_t* host); 143 input_report_definition_t* create_input_report_definition(input_host_t* host); 145 input_report_definition_t* create_output_report_definition(input_host_t* host); 147 void free_report_definition(input_host_t* host, input_report_definition_t* report_def); 149 void input_device_definition_add_report(input_host_t* host, 152 void input_report_definition_add_collection(input_host_t* host, 155 void input_report_definition_declare_usage_int(input_host_t* host, 159 void input_report_definition_declare_usages_bool(input_host_t* host, 164 input_device_handle_t* register_device(input_host_t* host, [all …]
|
/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 | 95 def package_toolchain(build_dir, build_name, host, dist_dir): argument 97 install_host_dir = build_path('install', host) 105 install_toolchain(build_dir, install_dir, host) 107 tarball_name = package_name + '-' + host 116 def install_toolchain(build_dir, install_dir, host): argument 117 install_built_host_files(build_dir, install_dir, host) 118 install_clang_headers(build_dir, install_dir, host) 119 install_built_device_files(build_dir, install_dir, host) 126 if host.startswith('windows'): 142 def install_built_host_files(build_dir, install_dir, host): argument [all …]
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | RecyclerViewAccessibilityDelegate.java | 45 public boolean performAccessibilityAction(View host, int action, Bundle args) { in performAccessibilityAction() argument 46 if (super.performAccessibilityAction(host, action, args)) { in performAccessibilityAction() 57 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfoCompat info) { in onInitializeAccessibilityNodeInfo() argument 58 super.onInitializeAccessibilityNodeInfo(host, info); in onInitializeAccessibilityNodeInfo() 66 public void onInitializeAccessibilityEvent(View host, AccessibilityEvent event) { in onInitializeAccessibilityEvent() argument 67 super.onInitializeAccessibilityEvent(host, event); in onInitializeAccessibilityEvent() 69 if (host instanceof RecyclerView && !shouldIgnore()) { in onInitializeAccessibilityEvent() 70 RecyclerView rv = (RecyclerView) host; in onInitializeAccessibilityEvent() 107 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfoCompat info) { in onInitializeAccessibilityNodeInfo() argument 108 super.onInitializeAccessibilityNodeInfo(host, info); in onInitializeAccessibilityNodeInfo() [all …]
|
/frameworks/opt/setupwizard/library/eclair-mr1/src/com/android/setupwizardlib/util/ |
D | LinkAccessibilityHelper.java | 119 public void sendAccessibilityEvent(View host, int eventType) { in sendAccessibilityEvent() argument 121 mExploreByTouchHelper.sendAccessibilityEvent(host, eventType); in sendAccessibilityEvent() 123 super.sendAccessibilityEvent(host, eventType); in sendAccessibilityEvent() 128 public void sendAccessibilityEventUnchecked(View host, AccessibilityEvent event) { in sendAccessibilityEventUnchecked() argument 130 mExploreByTouchHelper.sendAccessibilityEventUnchecked(host, event); in sendAccessibilityEventUnchecked() 132 super.sendAccessibilityEventUnchecked(host, event); in sendAccessibilityEventUnchecked() 137 public boolean dispatchPopulateAccessibilityEvent(View host, AccessibilityEvent event) { in dispatchPopulateAccessibilityEvent() argument 139 ? mExploreByTouchHelper.dispatchPopulateAccessibilityEvent(host, event) in dispatchPopulateAccessibilityEvent() 140 : super.dispatchPopulateAccessibilityEvent(host, event); in dispatchPopulateAccessibilityEvent() 144 public void onPopulateAccessibilityEvent(View host, AccessibilityEvent event) { in onPopulateAccessibilityEvent() argument [all …]
|
/frameworks/base/core/java/android/net/ |
D | Proxy.java | 110 String host = ""; in getProxy() local 111 if ((url != null) && !isLocalHost(host)) { in getProxy() 173 String host = System.getProperty("http.proxyHost"); in getDefaultHost() local 174 if (TextUtils.isEmpty(host)) return null; in getDefaultHost() 175 return host; in getDefaultHost() 196 private static final boolean isLocalHost(String host) { in isLocalHost() argument 197 if (host == null) { in isLocalHost() 201 if (host != null) { in isLocalHost() 202 if (host.equalsIgnoreCase("localhost")) { in isLocalHost() 205 if (NetworkUtils.numericToInetAddress(host).isLoopbackAddress()) { in isLocalHost() [all …]
|
D | Network.java | 108 public InetAddress[] getAllByName(String host) throws UnknownHostException { in getAllByName() argument 109 return InetAddress.getAllByNameOnNet(host, netId); in getAllByName() 122 public InetAddress getByName(String host) throws UnknownHostException { in getByName() argument 123 return InetAddress.getByNameOnNet(host, netId); in getByName() 137 private Socket connectToHost(String host, int port, SocketAddress localAddress) in connectToHost() argument 140 InetAddress[] hostAddresses = getAllByName(host); in connectToHost() 152 throw new UnknownHostException(host); in connectToHost() 156 …public Socket createSocket(String host, int port, InetAddress localHost, int localPort) throws IOE… in createSocket() argument 157 return connectToHost(host, port, new InetSocketAddress(localHost, localPort)); in createSocket() 170 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket() argument [all …]
|
D | ProxyInfo.java | 64 public static ProxyInfo buildDirectProxy(String host, int port) { in buildDirectProxy() argument 65 return new ProxyInfo(host, port, null); in buildDirectProxy() 77 public static ProxyInfo buildDirectProxy(String host, int port, List<String> exclList) { in buildDirectProxy() argument 79 return new ProxyInfo(host, port, TextUtils.join(",", array), array); in buildDirectProxy() 94 public ProxyInfo(String host, int port, String exclList) { in ProxyInfo() argument 95 mHost = host; in ProxyInfo() 140 private ProxyInfo(String host, int port, String exclList, String[] parsedExclList) { in ProxyInfo() argument 141 mHost = host; in ProxyInfo() 340 String host = null; 348 host = in.readString(); [all …]
|
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/ |
D | TestUtils.java | 34 public static void assertConnectionFails(SSLContext context, String host, int port) in assertConnectionFails() argument 37 Socket s = context.getSocketFactory().createSocket(host, port); in assertConnectionFails() 39 fail("Expected connection to " + host + ":" + port + " to fail."); in assertConnectionFails() 44 public static void assertConnectionSucceeds(SSLContext context, String host, int port) in assertConnectionSucceeds() argument 46 Socket s = context.getSocketFactory().createSocket(host, port); in assertConnectionSucceeds() 50 public static void assertUrlConnectionFails(SSLContext context, String host, int port) in assertUrlConnectionFails() argument 52 URL url = new URL("https://" + host + ":" + port); in assertUrlConnectionFails() 57 fail("Connection to " + host + ":" + port + " expected to fail"); in assertUrlConnectionFails() 63 public static void assertUrlConnectionSucceeds(SSLContext context, String host, int port) in assertUrlConnectionSucceeds() argument 65 URL url = new URL("https://" + host + ":" + port); in assertUrlConnectionSucceeds()
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 650 Host host = mHosts.get(i); in resolveHostUidLocked() local 651 if (host.id.uid == UNKNOWN_UID && pkg.equals(host.id.packageName)) { in resolveHostUidLocked() 653 Slog.i(TAG, "host " + host.id + " resolved to uid " + uid); in resolveHostUidLocked() 655 host.id = new HostId(uid, host.id.hostId, host.id.packageName); in resolveHostUidLocked() 740 if (widget.host == null || widget.provider == null) { in dumpProtoWidget() 742 + widget.host + " widget.provider=" + widget.provider); in dumpProtoWidget() 747 widget.host.getUserId() != widget.provider.getUserId()); in dumpProtoWidget() 748 proto.write(WidgetProto.IS_HOST_STOPPED, widget.host.callbacks == null); in dumpProtoWidget() 749 proto.write(WidgetProto.HOST_PACKAGE, widget.host.id.packageName); in dumpProtoWidget() 813 Host host = lookupOrAddHostLocked(id); in startListening() local [all …]
|
/frameworks/base/core/java/org/apache/http/conn/ssl/ |
D | AbstractVerifier.java | 92 public final void verify(String host, SSLSocket ssl) in verify() argument 94 if(host == null) { in verify() 101 verify(host, x509); in verify() 104 public final boolean verify(String host, SSLSession session) { in verify() argument 108 verify(host, x509); in verify() 116 public final void verify(String host, X509Certificate cert) in verify() argument 120 verify(host, cns, subjectAlts); in verify() 123 public final void verify(final String host, final String[] cns, in verify() argument 145 String msg = "Certificate for <" + host + "> doesn't contain CN or DNS subjectAlt"; in verify() 154 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/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardClockAccessibilityDelegate.java | 37 public void onInitializeAccessibilityEvent(View host, AccessibilityEvent event) { in onInitializeAccessibilityEvent() argument 38 super.onInitializeAccessibilityEvent(host, event); in onInitializeAccessibilityEvent() 46 public void onPopulateAccessibilityEvent(View host, AccessibilityEvent event) { in onPopulateAccessibilityEvent() argument 47 CharSequence text = ((TextView) host).getText(); in onPopulateAccessibilityEvent() 54 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfo info) { in onInitializeAccessibilityNodeInfo() argument 55 super.onInitializeAccessibilityNodeInfo(host, info); in onInitializeAccessibilityNodeInfo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeFactory.java | 41 DozeHost host = getHost(dozeService); in assembleMachine() local 52 createDozeTriggers(context, sensorManager, host, config, params, handler, wakeLock, in assembleMachine() 54 createDozeUi(context, host, wakeLock, machine, handler, alarmManager), in assembleMachine() 61 DozeHost host, AmbientDisplayConfiguration config, DozeParameters params, in createDozeTriggers() argument 64 return new DozeTriggers(context, machine, host, config, params, in createDozeTriggers() 68 private DozeMachine.Part createDozeUi(Context context, DozeHost host, WakeLock wakeLock, in createDozeUi() argument 70 return new DozeUi(context, alarmManager, machine, wakeLock, host, handler); in createDozeUi()
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
D | PreferenceRecyclerViewAccessibilityDelegate.java | 52 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfoCompat info) { 53 mDefaultItemDelegate.onInitializeAccessibilityNodeInfo(host, info); 54 int position = mRecyclerView.getChildAdapterPosition(host); 71 public boolean performAccessibilityAction(View host, int action, Bundle args) { 73 return mDefaultItemDelegate.performAccessibilityAction(host, action, args);
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/ |
D | IntentFilterVerificationReceiver.java | 108 for (String host : hostList) { in onReceive() 110 if (host.startsWith("*.")) { in onReceive() 111 host = host.substring(2); in onReceive() 113 sourceAssets.add(createWebAssetString(scheme, host)); in onReceive() 114 finalHosts.add(host); in onReceive() 168 private String createWebAssetString(String scheme, String host) throws MalformedURLException { in createWebAssetString() argument 169 if (!Patterns.DOMAIN_NAME.matcher(host).matches()) { in createWebAssetString() 176 return String.format(WEB_ASSET_FORMAT, new URL(scheme, host, "").toString()); in createWebAssetString()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/media/ |
D | PlaybackGlue.java | 206 public final void setHost(PlaybackGlueHost host) { in setHost() argument 207 if (mPlaybackGlueHost == host) { in setHost() 213 mPlaybackGlueHost = host; in setHost() 248 protected void onAttachedToHost(PlaybackGlueHost host) { in onAttachedToHost() argument 249 mPlaybackGlueHost = host; in onAttachedToHost()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | IntentFilterVerificationState.java | 99 String host = mHosts.valueAt(i); in getHostsString() local 101 if (host.startsWith("*.")) { in getHostsString() 102 host = host.substring(2); in getHostsString() 104 sb.append(host); in getHostsString()
|