/frameworks/base/core/java/com/android/internal/alsa/ |
H A D | AlsaDevicesParser.java | 92 String token = line.substring(tokenOffset, delimOffset); 101 mCardNum = Integer.parseInt(token); 103 tokenIndex++; // no device # in the token stream 108 mDeviceNum = Integer.parseInt(token); 112 if (token.equals("digital")) { 114 } else if (token.equals("control")) { 116 } else if (token.equals("raw")) { 122 if (token.equals("audio")) { 124 } else if (token.equals("midi")) { 131 if (token [all...] |
/frameworks/base/services/core/java/com/android/server/accounts/ |
H A D | TokenCache.java | 39 public final String token; field in class:TokenCache.Value 42 public Value(String token, long expiryEpochMillis) { argument 43 this.token = token; 104 * Map associated tokens with an Evictor that will manage evicting the token from the 105 * cache. This reverse lookup is needed because very little information is given at token 117 return v.token.length(); 122 // When a token has been removed, clean up the associated Evictor. 128 Evictor evictor = mTokenEvictors.remove(oldVal.token); 136 // Prepare for removal by token strin 156 evict(String accountType, String token) argument 188 put( Account account, String token, String tokenType, String packageName, byte[] sigDigest, long expiryMillis) argument 208 remove(String accountType, String token) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | INotificationManager.aidl | 84 void cancelNotificationFromListener(in INotificationListener token, String pkg, String tag, int id); 85 void cancelNotificationsFromListener(in INotificationListener token, in String[] keys); 87 void snoozeNotificationUntilContextFromListener(in INotificationListener token, String key, String snoozeCriterionId); 88 void snoozeNotificationUntilFromListener(in INotificationListener token, String key, long until); 91 void requestUnbindListener(in INotificationListener token); 93 void requestUnbindProvider(in IConditionProvider token); 95 void setNotificationsShownFromListener(in INotificationListener token, in String[] keys); 97 ParceledListSlice getActiveNotificationsFromListener(in INotificationListener token, in String[] keys, int trim); 98 ParceledListSlice getSnoozedNotificationsFromListener(in INotificationListener token, int trim); 99 void requestHintsFromListener(in INotificationListener token, in [all...] |
H A D | IActivityManager.aidl | 100 boolean finishActivity(in IBinder token, int code, in Intent data, int finishTask); 113 oneway void activityIdle(in IBinder token, in Configuration config, 115 void activityPaused(in IBinder token); 116 oneway void activityStopped(in IBinder token, in Bundle state, 118 String getCallingPackage(in IBinder token); 119 ComponentName getCallingActivity(in IBinder token); 123 int getTaskForActivity(in IBinder token, in boolean onlyRoot); 129 void finishSubActivity(in IBinder token, in String resultWho, int requestCode); 135 int bindService(in IApplicationThread caller, in IBinder token, in Intent service, 139 void publishService(in IBinder token, i [all...] |
/frameworks/base/core/java/android/app/backup/ |
H A D | IRestoreSession.aidl | 48 * @param token The token from {@link getAvailableRestoreSets()} corresponding to 54 int restoreAll(long token, IRestoreObserver observer, IBackupManagerMonitor monitor); 65 * @param token The token from {@link getAvailableRestoreSets()} corresponding to 70 * the contents of the actual back-end dataset named by {@code token}, only 74 int restoreSome(long token, IRestoreObserver observer, IBackupManagerMonitor monitor,
|
/frameworks/base/core/java/android/service/trust/ |
H A D | ITrustAgentService.aidl | 32 oneway void onConfigure(in List<PersistableBundle> options, IBinder token); 34 oneway void onEscrowTokenAdded(in byte[] token, long handle, in UserHandle user);
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | IVoiceInteractionManagerService.aidl | 33 boolean deliverNewSession(IBinder token, IVoiceInteractionSession session, 35 boolean showSessionFromSession(IBinder token, in Bundle sessionArgs, int flags); 36 boolean hideSessionFromSession(IBinder token); 37 int startVoiceActivity(IBinder token, in Intent intent, String resolvedType); 38 int startAssistantActivity(IBinder token, in Intent intent, String resolvedType); 39 void setKeepAwake(IBinder token, boolean keepAwake); 40 void closeSystemDialogs(IBinder token); 41 void finish(IBinder token); 104 * @param activityToken optional token of activity that needs to be on top
|
H A D | IAppOpsService.aidl | 28 int startOperation(IBinder token, int code, int uid, String packageName); 29 void finishOperation(IBinder token, int code, int uid, String packageName); 48 void setUserRestrictions(in Bundle restrictions, IBinder token, int userHandle); 49 void setUserRestriction(int code, boolean restricted, IBinder token, int userHandle, in String[] exceptionPackages);
|
/frameworks/base/core/java/com/android/internal/backup/ |
H A D | IObbBackupService.aidl | 37 int token, in IBackupManager callbackBinder); 44 int token, in IBackupManager callbackBinder);
|
/frameworks/base/core/java/com/google/android/util/ |
H A D | SmileyParser.java | 67 Token token = tokens.get(i); 69 builder.append(token.getRawText()); 70 if (token.getType() == AbstractMessageParser.Token.Type.SMILEY) { 71 int resid = mRes.getSmileyRes(token.getRawText());
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
H A D | JsonParser.java | 55 JsonToken token = reader.peek(); 56 if (token.equals(JsonToken.BEGIN_ARRAY)) { 58 } else if (token.equals(JsonToken.STRING)) { 60 } else if (token.equals(JsonToken.BEGIN_OBJECT)) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
H A D | RingtonePlayer.java | 82 public Client(IBinder token, Uri uri, UserHandle user, AudioAttributes aa) { argument 83 mToken = token; 92 if (LOGD) Log.d(TAG, "binderDied() token=" + mToken); 102 public void play(IBinder token, Uri uri, AudioAttributes aa, float volume, boolean looping) 105 Log.d(TAG, "play(token=" + token + ", uri=" + uri + ", uid=" 110 client = mClients.get(token); 113 client = new Client(token, uri, user, aa); 114 token.linkToDeath(client, 0); 115 mClients.put(token, clien [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | ClientWakelockAccountant.java | 40 int token, int concurrentRequests, long time) { 42 RilWakelockInfo wlInfo = new RilWakelockInfo(request, token, concurrentRequests, time); 49 public void stopAttributingWakelock(int request, int token, long time) { argument 50 RilWakelockInfo wlInfo = removePendingWakelock(request, token); 106 private RilWakelockInfo removePendingWakelock(int request, int token) { argument 110 if ((wlInfo.getTokenNumber() == token) && 120 Rlog.w(LOG_TAG, "Looking for Request<" + request + "," + token + "> in " 39 startAttributingWakelock(int request, int token, int concurrentRequests, long time) argument
|
/frameworks/base/core/java/android/view/ |
H A D | WindowId.java | 52 WindowId token; 54 token = mRegistrations.get(inputToken); 57 mHandler.sendMessage(mHandler.obtainMessage(1, token)); 59 onFocusGained(token); 65 WindowId token; 67 token = mRegistrations.get(inputToken); 70 mHandler.sendMessage(mHandler.obtainMessage(2, token)); 72 onFocusLost(token); 109 public abstract void onFocusGained(WindowId token); argument 114 public abstract void onFocusLost(WindowId token); argument [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | TypedProperties.java | 153 int token; 155 // Read the next token, which is either the type or EOF. 156 token = st.nextToken(); 157 if (token == StreamTokenizer.TT_EOF) { 160 if (token != StreamTokenizer.TT_WORD) { 171 token = st.nextToken(); 172 if (token != '(') { 178 token = st.nextToken(); 179 if (token != StreamTokenizer.TT_WORD) { 190 token [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
H A D | WindowTestsBase.java | 177 final WindowTestUtils.TestAppWindowToken token = new WindowTestUtils.TestAppWindowToken(dc); 178 task.addChild(token, 0); 179 return token; 190 final WindowToken token = createWindowToken(dc, stackId, type); 191 return createWindow(parent, type, token, name); 195 final AppWindowToken token = new WindowTestUtils.TestAppWindowToken(mDisplayContent); 196 task.addChild(token, 0); 197 return createWindow(null, type, token, name); 201 final WindowToken token = createWindowToken(dc, INVALID_STACK_ID, type); 202 return createWindow(parent, type, token, nam 211 createWindow(WindowState parent, int type, WindowToken token, String name) argument 215 createWindow(WindowState parent, int type, WindowToken token, String name, boolean ownerCanAddInternalSystemWindow) argument 258 createWindowState(WindowManager.LayoutParams attrs, WindowToken token) argument [all...] |
/frameworks/base/media/java/android/media/midi/ |
H A D | MidiDevice.java | 149 IBinder token = new Binder(); 150 FileDescriptor fd = mDeviceServer.openInputPort(token, portNumber); 154 return new MidiInputPort(mDeviceServer, token, fd, portNumber); 175 IBinder token = new Binder(); 176 FileDescriptor fd = mDeviceServer.openOutputPort(token, portNumber); 180 return new MidiOutputPort(mDeviceServer, token, fd, portNumber); 212 IBinder token = new Binder(); 213 int calleePid = mDeviceServer.connectPorts(token, fd, outputPortNumber); 223 return new MidiConnection(token, inputPort);
|
H A D | MidiDeviceServer.java | 99 PortClient(IBinder token) { argument 100 mToken = token; 103 token.linkToDeath(this, 0); 124 InputPortClient(IBinder token, MidiOutputPort outputPort) { argument 125 super(token); 145 OutputPortClient(IBinder token, MidiInputPort inputPort) { argument 146 super(token); 187 public FileDescriptor openInputPort(IBinder token, int portNumber) { 210 InputPortClient client = new InputPortClient(token, outputPort); 212 mPortClients.put(token, clien [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ContentProviderRecord.java | 91 public void addExternalProcessHandleLocked(IBinder token) { argument 92 if (token == null) { 98 ExternalProcessHandle handle = externalProcessTokenToHandle.get(token); 100 handle = new ExternalProcessHandle(token); 101 externalProcessTokenToHandle.put(token, handle); 107 public boolean removeExternalProcessHandleLocked(IBinder token) { argument 111 ExternalProcessHandle handle = externalProcessTokenToHandle.get(token); 116 removeExternalProcessHandleInternalLocked(token); 129 private void removeExternalProcessHandleInternalLocked(IBinder token) { argument 130 ExternalProcessHandle handle = externalProcessTokenToHandle.get(token); 240 ExternalProcessHandle(IBinder token) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
H A D | TileServices.java | 174 public void updateQsTile(Tile tile, IBinder token) { argument 175 CustomTile customTile = getTileForToken(token); 189 public void onStartSuccessful(IBinder token) { argument 190 CustomTile customTile = getTileForToken(token); 202 public void onShowDialog(IBinder token) { argument 203 CustomTile customTile = getTileForToken(token); 213 public void onDialogHidden(IBinder token) { argument 214 CustomTile customTile = getTileForToken(token); 223 public void onStartActivity(IBinder token) { argument 224 CustomTile customTile = getTileForToken(token); 232 updateStatusIcon(IBinder token, Icon icon, String contentDescription) argument 262 getTile(IBinder token) argument 272 startUnlockAndRun(IBinder token) argument 292 getTileForToken(IBinder token) argument [all...] |
/frameworks/base/core/java/android/hardware/display/ |
H A D | IDisplayManager.aidl | 66 // MediaProjection token for certain combinations of flags. 72 void resizeVirtualDisplay(in IVirtualDisplayCallback token, 76 void setVirtualDisplaySurface(in IVirtualDisplayCallback token, in Surface surface); 79 void releaseVirtualDisplay(in IVirtualDisplayCallback token);
|
H A D | VirtualDisplay.java | 41 IVirtualDisplayCallback token, Surface surface) { 44 mToken = token; 109 return "VirtualDisplay{display=" + mDisplay + ", token=" + mToken 40 VirtualDisplay(DisplayManagerGlobal global, Display display, IVirtualDisplayCallback token, Surface surface) argument
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | UpdateLockService.java | 90 public void acquireUpdateLock(IBinder token, String tag) throws RemoteException { argument 92 Slog.d(TAG, "acquire(" + token + ") by " + makeTag(tag)); 96 mLocks.acquire(token, makeTag(tag)); 100 public void releaseUpdateLock(IBinder token) throws RemoteException { argument 102 Slog.d(TAG, "release(" + token + ')'); 106 mLocks.release(token);
|
/frameworks/native/libs/input/ |
H A D | VirtualKeyMap.cpp | 106 String8 token = mTokenizer->nextToken(WHITESPACE_OR_FIELD_DELIMITER); local 107 if (token != "0x01") { 162 String8 token = mTokenizer->nextToken(WHITESPACE_OR_FIELD_DELIMITER); local 164 *outValue = strtol(token.string(), &end, 0); 165 if (token.isEmpty() || *end != '\0') { 166 ALOGE("Expected an integer, got '%s'.", token.string());
|
/frameworks/compile/mclinker/lib/Script/ |
H A D | InputCmd.cpp | 98 InputToken* token = llvm::cast<InputToken>(*it); local 99 if (token->asNeeded()) 104 switch (token->type()) { 111 (token->name().size() > 0 && token->name()[0] == '/')) { 113 path.append(token->name()); 116 path.assign(token->name()); 120 script.directories().find(token->name(), Input::Script); 141 path = script.directories().find(token->name(), Input::Archive); 145 path = script.directories().find(token [all...] |