/frameworks/support/customtabs/src/android/support/customtabs/ |
H A D | CustomTabsSessionToken.java | 38 * @param intent The intent to generate the token from. This has to include an extra for 40 * @return The token that was generated. 78 CustomTabsSessionToken token = (CustomTabsSessionToken) o; 79 return token.getCallbackBinder().equals(mCallbackBinder.asBinder());
|
/frameworks/support/v4/api21/android/support/v4/media/session/ |
H A D | MediaSessionCompatApi21.java | 49 public static Object verifyToken(Object token) { argument 50 if (token instanceof MediaSession.Token) { 51 return token; 53 throw new IllegalArgumentException("token is not a valid MediaSession.Token object");
|
/frameworks/support/v4/java/android/support/v4/media/session/ |
H A D | MediaControllerCompat.java | 82 * Creates a media controller from a session token which may have 85 * @param sessionToken The token of the session to be controlled. 215 * Get the token for the session this controller is connected to. 217 * @return The session's token. 806 public MediaControllerImplBase(MediaSessionCompat.Token token) { argument 807 mToken = token; 808 mBinder = IMediaSession.Stub.asInterface((IBinder) token.getToken());
|
H A D | MediaSessionCompat.java | 63 * {@link #getSessionToken() session token} to other processes to allow them to 299 * Retrieve a token object that can be used by apps to create a 305 * {@link android.os.Build.VERSION_CODES#LOLLIPOP} this token may only be 309 * @return A token that can be used to create a media controller for this 711 * @param token The framework token object. 714 public static Token fromToken(Object token) { argument 715 if (token == null || android.os.Build.VERSION.SDK_INT < 21) { 718 return new Token(MediaSessionCompatApi21.verifyToken(token));
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | NotificationCompat.java | 197 public MediaStyle setMediaSession(MediaSessionCompat.Token token) { argument 198 mToken = token;
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/app/ |
H A D | NotificationCompatImpl21.java | 30 Object token) { 35 if (token != null) { 36 style.setMediaSession((MediaSession.Token) token); 28 addMediaStyle(NotificationBuilderWithBuilderAccessor b, int[] actionsToShowInCompact, Object token) argument
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
H A D | MenuDialogHelper.java | 50 * @param windowToken Optional token to assign to the window. 86 lp.token = windowToken;
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
H A D | HttpHeaderParser.java | 67 String token = tokens[i].trim(); 68 if (token.equals("no-cache") || token.equals("no-store")) { 70 } else if (token.startsWith("max-age=")) { 72 maxAge = Long.parseLong(token.substring(8)); 75 } else if (token.startsWith("stale-while-revalidate=")) { 77 staleWhileRevalidate = Long.parseLong(token.substring(23)); 80 } else if (token.equals("must-revalidate") || token.equals("proxy-revalidate")) {
|
/frameworks/webview/chromium/tools/ |
H A D | memreport.py | 90 for token in line.split(' '): 91 if (key+'=') in token: 92 field = token.split('=')[1]
|
/frameworks/rs/api/ |
H A D | GenerateStubsWhiteList.cpp | 33 const char* token[3]; // The last two entries can be nullptr member in struct:BuiltInMangling 106 // Try to substitue each token. 110 // No substitution possible, just go to the next token. 116 // Replace the token with the substitution. Don't advance, as the new substitution 148 if (!a.token[i]) { 152 if (t == end || *t++ != a.token[i]) {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiMonitor.java | 1253 for (String token : dataTokens) { 1254 String[] nameValue = token.split("="); 1373 for (String token : dataTokens) { 1374 String[] nameValue = token.split("=");
|
H A D | WifiNative.java | 1074 for (String token : tokens) { 1075 if (token.startsWith("p2p_device_address=")) { 1076 String[] nameValue = token.split("="); 1095 for (String token : tokens) { 1096 if (token.startsWith("group_capab=")) { 1097 String[] nameValue = token.split("="); 1121 for (String token : tokens) { 1122 if (token.startsWith(key)) { 1123 String[] nameValue = token.split("=");
|
H A D | WifiServiceImpl.java | 1111 final long token = Binder.clearCallingIdentity(); 1115 Binder.restoreCallingIdentity(token); 1142 final long token = Binder.clearCallingIdentity(); 1146 Binder.restoreCallingIdentity(token);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
H A D | AlarmHandler.java | 4 public void wake(Object token); argument
|
H A D | Chronograph.java | 20 private AlarmEntry(long at, AlarmHandler alarmHandler, Object token) { argument 23 mToken = token; 37 public Object addAlarm(long interval, AlarmHandler handler, Object token) { argument 40 AlarmEntry alarmEntry = new AlarmEntry(at, handler, token); 131 public void wake(Object token) { 132 System.out.println("3: " + token); 138 public void wake(Object token) { 139 System.out.println("7: " + token); 145 public void wake(Object token) { 146 System.out.println("10: " + token); [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | InboundSmsHandler.java | 1213 final long token = Binder.clearCallingIdentity(); 1219 Binder.restoreCallingIdentity(token);
|
H A D | PhoneBase.java | 2089 private void sendIncomingCallRingNotification(int token) { argument 2091 (token == mCallRingContinueToken)) { 2095 obtainMessage(EVENT_CALL_RING_CONTINUE, token, 0), mCallRingDelay); 2099 + " token=" + token
|
H A D | SmsApplication.java | 163 final long token = Binder.clearCallingIdentity(); 167 Binder.restoreCallingIdentity(token); 416 final long token = Binder.clearCallingIdentity(); 420 Binder.restoreCallingIdentity(token); 621 final long token = Binder.clearCallingIdentity(); 632 Binder.restoreCallingIdentity(token); 644 final long token = Binder.clearCallingIdentity(); 655 Binder.restoreCallingIdentity(token); 668 final long token = Binder.clearCallingIdentity(); 679 Binder.restoreCallingIdentity(token); [all...] |
H A D | SubscriptionController.java | 1706 final long token = Binder.clearCallingIdentity(); 1732 Binder.restoreCallingIdentity(token); 1809 final long token = Binder.clearCallingIdentity(); 1860 Binder.restoreCallingIdentity(token);
|
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
H A D | PduParser.java | 488 * (Absolute-token Date-value | Relative-token Delta-seconds-value) */ 496 /* Absolute-token or Relative-token */ 497 int token = extractByteValue(pduDataStream); 507 if (PduHeaders.VALUE_RELATIVE_TOKEN == token) { 529 * (Address-present-token Encoded-string-value | Insert-address-token) 534 /* Address-present-token or Insert-address-token */ [all...] |
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | RecipientEditTextView.java | 622 // This token was already tokenized, so skip past the ending token. 627 // and commit the whole token. 1115 // When we have a valid token, include it with the token 1211 String token = editable.toString().substring(tokenStart, tokenEnd); 1212 final String trimmedToken = token.trim(); 1215 token = trimmedToken.substring(0, trimmedToken.length() - 1); 1217 RecipientEntry entry = createTokenizedEntry(token); 1233 chip.setOriginalText(token); 1252 createTokenizedEntry(final String token) argument [all...] |
/frameworks/native/cmds/servicemanager/ |
H A D | bctest.c | 57 unsigned token; variable 97 svcmgr_publish(bs, svcmgr, argv[1], &token);
|
/frameworks/native/include/binder/ |
H A D | IAppOpsService.h | 35 virtual int32_t startOperation(const sp<IBinder>& token, int32_t code, int32_t uid, 37 virtual void finishOperation(const sp<IBinder>& token, int32_t code, int32_t uid,
|
H A D | IPCThreadState.h | 52 void restoreCallingIdentity(int64_t token);
|
/frameworks/native/include/gui/ |
H A D | SurfaceComposerClient.h | 106 //! Get the token for the existing default displays. 139 status_t clearLayerFrameStats(const sp<IBinder>& token) const; 140 status_t getLayerFrameStats(const sp<IBinder>& token, FrameStats* outStats) const; 145 static void setDisplaySurface(const sp<IBinder>& token, 147 static void setDisplayLayerStack(const sp<IBinder>& token, 149 static void setDisplaySize(const sp<IBinder>& token, uint32_t width, uint32_t height); 161 static void setDisplayProjection(const sp<IBinder>& token,
|