Home
last modified time | relevance | path

Searched refs:route (Results 1 – 25 of 28) sorted by relevance

12

/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DAidRoutingManager.java116 int route = aidEntry.getValue() ? ROUTE_HOST : mDefaultOffHostRoute; in configureRouting() local
118 Set<String> entries = aidRoutingTable.get(route, new HashSet<String>()); in configureRouting()
120 aidRoutingTable.put(route, entries); in configureRouting()
121 routeForAid.put(aid, route); in configureRouting()
156 int route = aidEntry.getValue(); in configureRouting() local
157 if (defaultRouteAid.startsWith(aid) && route != mDefaultRoute) { in configureRouting()
171 int route = mAidRoutingTable.keyAt(i); in configureRouting() local
172 if (route != mDefaultRoute) { in configureRouting()
173 Set<String> aidsForRoute = mAidRoutingTable.get(route); in configureRouting()
180 + Integer.toString(route)); in configureRouting()
[all …]
/packages/apps/Dialer/src/com/android/dialer/voicemail/
DVoicemailAudioManager.java123 void setAudioRoute(int route) { in setAudioRoute() argument
124 Log.v(TAG, "setAudioRoute, route: " + CallAudioState.audioRouteToString(route)); in setAudioRoute()
127 int newRoute = selectWiredOrEarpiece(route, mCallAudioState.getSupportedRouteMask()); in setAudioRoute()
146 int route = selectWiredOrEarpiece(CallAudioState.ROUTE_WIRED_OR_EARPIECE, in getInitialAudioState() local
148 return new CallAudioState(false /* muted */, route, supportedRouteMask); in getInitialAudioState()
161 private int selectWiredOrEarpiece(int route, int supportedRouteMask) { in selectWiredOrEarpiece() argument
165 if (route == CallAudioState.ROUTE_WIRED_OR_EARPIECE) { in selectWiredOrEarpiece()
166 route = CallAudioState.ROUTE_WIRED_OR_EARPIECE & supportedRouteMask; in selectWiredOrEarpiece()
167 if (route == 0) { in selectWiredOrEarpiece()
170 route = CallAudioState.ROUTE_EARPIECE; in selectWiredOrEarpiece()
[all …]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/
DMailbox.java30 private DomainList route; field in Mailbox
49 public Mailbox(DomainList route, String localPart, String domain) { in Mailbox() argument
50 this.route = route; in Mailbox()
59 return route; in getRoute()
106 return "<" + (!includeRoute || route == null ? "" : route.toRouteString() + ":") in getAddressString()
DBuilder.java150 DomainList route = null; in buildAngleAddr() local
153 route = buildRoute((ASTroute)n); in buildAngleAddr()
162 return buildAddrSpec(route, (ASTaddr_spec)n); in buildAngleAddr()
183 private Mailbox buildAddrSpec(DomainList route, ASTaddr_spec node) { in buildAddrSpec() argument
187 return new Mailbox(route, localPart, domain); in buildAddrSpec()
DNamedMailbox.java41 public NamedMailbox(String name, DomainList route, String localPart, String domain) { in NamedMailbox() argument
42 super(route, localPart, domain); in NamedMailbox()
/packages/services/Telephony/src/org/apache/james/mime4j/field/address/
DMailbox.java30 private DomainList route; field in Mailbox
49 public Mailbox(DomainList route, String localPart, String domain) { in Mailbox() argument
50 this.route = route; in Mailbox()
59 return route; in getRoute()
106 return "<" + (!includeRoute || route == null ? "" : route.toRouteString() + ":") in getAddressString()
DBuilder.java150 DomainList route = null; in buildAngleAddr() local
153 route = buildRoute((ASTroute)n); in buildAngleAddr()
162 return buildAddrSpec(route, (ASTaddr_spec)n); in buildAngleAddr()
183 private Mailbox buildAddrSpec(DomainList route, ASTaddr_spec node) { in buildAddrSpec() argument
187 return new Mailbox(route, localPart, domain); in buildAddrSpec()
DNamedMailbox.java41 public NamedMailbox(String name, DomainList route, String localPart, String domain) { in NamedMailbox() argument
42 super(route, localPart, domain); in NamedMailbox()
/packages/apps/Settings/src/com/android/settings/wfd/
DWifiDisplaySettings.java260 MediaRouter.RouteInfo route = mRouter.getRouteAt(i); in update() local
261 if (route.matchesTypes(MediaRouter.ROUTE_TYPE_REMOTE_DISPLAY)) { in update()
262 preferenceScreen.addPreference(createRoutePreference(route)); in update()
290 private RoutePreference createRoutePreference(MediaRouter.RouteInfo route) { in createRoutePreference() argument
291 WifiDisplay display = findWifiDisplay(route.getDeviceAddress()); in createRoutePreference()
293 return new WifiDisplayRoutePreference(getPrefContext(), route, display); in createRoutePreference()
295 return new RoutePreference(getPrefContext(), route); in createRoutePreference()
546 private void toggleRoute(MediaRouter.RouteInfo route) { in toggleRoute() argument
547 if (route.isSelected()) { in toggleRoute()
551 route.select(); in toggleRoute()
[all …]
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DAudioModeProvider.java44 public void onAudioStateChanged(boolean isMuted, int route, int supportedRouteMask) { in onAudioStateChanged() argument
45 onAudioModeChange(route, isMuted); in onAudioStateChanged()
DTelecomAdapter.java114 void setAudioRoute(int route) { in setAudioRoute() argument
116 mInCallService.setAudioRoute(route); in setAudioRoute()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioRouteStateMachine.java1235 final int route; in getInitialAudioState() local
1238 route = ROUTE_BLUETOOTH; in getInitialAudioState()
1240 route = ROUTE_WIRED_HEADSET; in getInitialAudioState()
1242 route = ROUTE_EARPIECE; in getInitialAudioState()
1244 route = ROUTE_SPEAKER; in getInitialAudioState()
1247 return new CallAudioState(false, route, supportedRouteMask); in getInitialAudioState()
DCallAudioManager.java355 void setAudioRoute(int route) { in setAudioRoute() argument
356 Log.v(this, "setAudioRoute, route: %s", CallAudioState.audioRouteToString(route)); in setAudioRoute()
357 switch (route) { in setAudioRoute()
379 Log.wtf(this, "Invalid route specified: %d", route); in setAudioRoute()
DInCallAdapter.java270 public void setAudioRoute(int route) { in setAudioRoute() argument
276 mCallsManager.setAudioRoute(route); in setAudioRoute()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
DAddressListParser.jj304 "<" [ route() ] addr_spec() ">"/*@bgen(jjtree)*/
328 void route() :
329 {/*@bgen(jjtree) route */
335 {/*@bgen(jjtree) route */
DAddressListParser.java342 route(); in angle_addr()
372 final public void route() throws ParseException { in route() method in AddressListParser
/packages/services/Telephony/src/org/apache/james/mime4j/field/address/parser/
DAddressListParser.jj304 "<" [ route() ] addr_spec() ">"/*@bgen(jjtree)*/
328 void route() :
329 {/*@bgen(jjtree) route */
335 {/*@bgen(jjtree) route */
DAddressListParser.java342 route(); in angle_addr()
372 final public void route() throws ParseException { in route() method in AddressListParser
/packages/apps/Nfc/nci/jni/
DRoutingManager.h38 bool addAidRouting(const UINT8* aid, UINT8 aidLen, int route);
DRoutingManager.cpp328 bool RoutingManager::addAidRouting(const UINT8* aid, UINT8 aidLen, int route) in addAidRouting() argument
332 tNFA_STATUS nfaStat = NFA_EeAddAidRouting(route, aidLen, (UINT8*) aid, 0x01); in addAidRouting()
DNativeNfcManager.cpp784 static jboolean nfcManager_routeAid (JNIEnv* e, jobject, jbyteArray aid, jint route) in nfcManager_routeAid() argument
789 bool result = RoutingManager::getInstance().addAidRouting(buf, bufLen, route); in nfcManager_routeAid()
/packages/apps/Nfc/src/com/android/nfc/
DDeviceHost.java186 public boolean routeAid(byte[] aid, int route); in routeAid() argument
DNfcService.java1650 public void routeAids(String aid, int route) { in routeAids() argument
1653 msg.arg1 = route; in routeAids()
1717 int route = msg.arg1; in handleMessage() local
1719 mDeviceHost.routeAid(hexStringToBytes(aid), route); in handleMessage() local
/packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/
DNativeNfcManager.java143 public boolean routeAid(byte[] aid, int route) { in routeAid() argument
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
DNativeNfcManager.java98 public native boolean routeAid(byte[] aid, int route); in routeAid() argument

12