Searched defs:record (Results 1 - 25 of 56) sorted by path

123

/frameworks/av/media/libmedia/
H A DAudioRecord.cpp54 // We double the size of input buffer for ping pong use of record buffer.
360 // Note: legacy handling - stop does not clear record marker and
542 ALOGE("Could not get audio input for session %d, record source %d, sample rate %u, "
592 // but moderated by the server. For record, the calculations are done entirely on server side.
611 sp<IAudioRecord> record = audioFlinger->openRecord(input, local
630 ALOGE("AudioFlinger could not create record track, status: %d", status);
633 ALOG_ASSERT(record != 0);
682 mAudioRecord = record;
1332 // audio record is active and internally paused with timeout.
H A DIAudioFlinger.cpp194 sp<IAudioRecord> record; local
237 record = interface_cast<IAudioRecord>(reply.readStrongBinder());
247 if (record == 0) {
256 if (record != 0 || cblk != 0 || buffers != 0) {
262 record.clear();
270 return record;
998 sp<IAudioRecord> record = openRecord(input, local
1002 LOG_ALWAYS_FATAL_IF((record != 0) != (status == NO_ERROR));
1008 reply->writeStrongBinder(IInterface::asBinder(record));
/frameworks/av/services/audioflinger/
H A DThreads.cpp116 // don't warn about blocked writes or record buffer overflows more often than this
353 // record sample for wall clock statistics
372 // if no change in CPU number or frequency, then record sample for cycle statistics
1263 // No global effect sessions on record threads
1265 ALOGW("checkEffectCompatibility_l(): global effect %s on record thread %s",
1269 // only pre processing effects on record thread
1271 ALOGW("checkEffectCompatibility_l(): non pre processing effect %s on record thread %s",
1284 ALOGW("checkEffectCompatibility_l(): effect %s on record thread %s in raw mode",
1289 ALOGW("checkEffectCompatibility_l(): non HW effect %s on record thread %s in fast mode",
6337 // Note: In general record buffer
7677 addPatchRecord(const sp<PatchRecord>& record) argument
7683 deletePatchRecord(const sp<PatchRecord>& record) argument
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DSdpRecord.java35 public SdpRecord(int size_record, byte[] record){ argument
36 this.mRawData = record;
/frameworks/base/core/java/android/nfc/
H A DNdefMessage.java41 * The type of the <em>first</em> record in the message has
42 * special importance for message dispatch, so design this record
67 * there must be at least one record, every record flag must
74 * of each record is performed, as per the documentation on
77 * basic validation during record construction fails, a
80 * each record is not performed, so it is possible to parse input
108 * @param record first record (mandatory)
111 public NdefMessage(NdefRecord record, NdefRecor argument
[all...]
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityEvent.java797 AccessibilityRecord record = records.get(i);
798 record.setSealed(sealed);
815 * @param record The record to append.
819 public void appendRecord(AccessibilityRecord record) { argument
824 mRecords.add(record);
828 * Gets the record at a given index.
831 * @return The record at the specified index.
1014 final AccessibilityRecord record = event.mRecords.get(i);
1015 final AccessibilityRecord recordClone = AccessibilityRecord.obtain(record);
1105 readAccessibilityRecordFromParcel(AccessibilityRecord record, Parcel parcel) argument
1157 writeAccessibilityRecordToParcel(AccessibilityRecord record, Parcel parcel, int flags) argument
[all...]
H A DAccessibilityRecord.java26 * Represents a record in an {@link AccessibilityEvent} and contains information
29 * constructed event. The parent may optionally append a record for itself
36 * Once the accessibility event containing a record is dispatched the record is
721 * given record.
725 public static AccessibilityRecord obtain(AccessibilityRecord record) { argument
727 clone.init(record);
740 AccessibilityRecord record = sPool;
743 record.mNext = null;
744 record
778 init(AccessibilityRecord record) argument
[all...]
/frameworks/base/core/java/com/android/internal/logging/
H A DAndroidHandler.java125 public void publish(LogRecord record) { argument
126 int level = getAndroidLevel(record.getLevel());
127 String tag = DalvikLogging.loggerNameToTag(record.getLoggerName());
133 String message = getFormatter().format(record);
/frameworks/base/media/java/android/media/
H A DAudioRecord.java44 * to record audio from the audio input hardware of the platform. This is
52 * determines how long an AudioRecord can record before "over-running" data that has not
114 * Event id denotes when record head has reached a previously set marker.
213 * The listener the AudioRecord notifies when the record position reaches a marker
214 * or for periodic updates during the progression of the record head.
336 Log.v(TAG, "Will record from REMOTE_SUBMIX at full fixed volume");
622 final AudioRecord record = new AudioRecord(
624 if (record.getState() == STATE_UNINITIALIZED) {
628 return record;
1321 * for each periodic record hea
1524 NativeRoutingEventHandlerDelegate(final AudioRecord record, final AudioRouting.OnRoutingChangedListener listener, Handler handler) argument
[all...]
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DMtpDocumentsProvider.java342 final MtpDeviceRecord record;
347 record = getDeviceToolkit(parentId.mDeviceId).mDeviceRecord;
348 if (!MtpDeviceRecord.isWritingSupported(record.operationsSupported)) {
431 parentId.mDeviceId, parentDocumentId, record.operationsSupported,
640 MtpDeviceRecord record) {
642 mDocumentLoader = new DocumentLoader(record, manager, resolver, database);
643 mDeviceRecord = record;
665 final MtpDeviceRecord record = getDeviceToolkit(identifier.mDeviceId).mDeviceRecord;
668 record.operationsSupported, MtpConstants.OPERATION_GET_PARTIAL_OBJECT_64)) {
674 record
637 DeviceToolkit(MtpManager manager, ContentResolver resolver, MtpDatabase database, MtpDeviceRecord record) argument
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DBatteryInfo.java62 public void onDataPoint(long time, HistoryItem record) {
63 points.put((int) time, record.batteryLevel);
198 void onDataPoint(long time, HistoryItem record); argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DUserSwitcherController.java341 public void switchTo(UserRecord record) { argument
343 if (record.isGuest && record.info == null) {
353 } else if (record.isAddUser) {
357 id = record.info.id;
361 if (record.isGuest) {
373 UserRecord record = mUsers.get(i);
374 if (record.info != null && record.info.id == userId) {
375 switchTo(record);
663 switchTo(UserRecord record) argument
694 checkIfAddUserDisallowedByAdminOnly(UserRecord record) argument
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DLocationManagerService.java1375 UpdateRecord record = records.get(i);
1376 if (isCurrentProfile(UserHandle.getUserId(record.mReceiver.mUid))) {
1378 if (!record.mReceiver.callProviderEnabledLocked(provider, enabled)) {
1382 deadReceivers.add(record.mReceiver);
1414 for (UpdateRecord record : records) {
1415 if (isCurrentProfile(UserHandle.getUserId(record.mReceiver.mUid))) {
1417 record.mReceiver.mPid,
1418 record.mReceiver.mUid,
1419 record.mReceiver.mPackageName,
1420 record
2171 shouldBroadcastSafe( Location loc, Location lastLoc, UpdateRecord record, long now) argument
[all...]
H A DTelephonyRegistry.java394 if (DBG) log("listen oscl: add new record");
509 if (DBG) log("listen: add new record");
672 private String getCallIncomingNumber(Record record, int phoneId) { argument
673 // Hide the number if record's process has no READ_PHONE_STATE permission
674 return record.canReadPhoneState ? mCallIncomingNumber[phoneId] : "";
/frameworks/base/services/core/java/com/android/server/am/
H A DActiveServices.java333 if (res.record == null) {
338 ServiceRecord r = res.record;
573 if (r.record != null) {
576 stopServiceLocked(r.record);
624 // r.record is null if findServiceLocked() failed the caller permission check
625 if (r.record == null) {
632 IntentBindRecord ib = r.record.bindings.get(r.record.intent);
904 if (res.record == null) {
907 ServiceRecord s = res.record;
1242 final ServiceRecord record; field in class:ActiveServices.ServiceLookupResult
[all...]
H A DActivityMetricsLogger.java130 private boolean hasStartedActivity(ProcessRecord record, ActivityRecord launchedActivity) { argument
131 final ArrayList<ActivityRecord> activities = record.activities;
H A DActivityStack.java3575 // make sure the record is cleaned out of other places.
3759 * Perform the common clean-up of an activity record. This is called both
3787 // Make sure this record is no longer in the pending finishes list.
3862 * Perform clean-up of service connections in an activity record.
4057 // remove this record from the history.
4203 // (Note if the activity is visible, we don't remove the record.
4649 private int getTaskConfigurationChanges(ActivityRecord record, Configuration taskConfig, argument
4656 oldTaskOverride = record.task.extractOverrideConfig(record.configuration);
4662 taskConfig = record
[all...]
H A DProviderMap.java71 ContentProviderRecord record = mSingletonByName.get(name);
72 if (record != null) {
73 return record;
89 ContentProviderRecord record = mSingletonByClass.get(name);
90 if (record != null) {
91 return record;
98 void putProviderByName(String name, ContentProviderRecord record) { argument
101 + ", record uid = " + record.appInfo.uid);
103 if (record
111 putProviderByClass(ComponentName name, ContentProviderRecord record) argument
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayManagerService.java431 CallbackRecord record = new CallbackRecord(callingPid, callback);
434 binder.linkToDeath(record, 0);
440 mCallbacks.put(callingPid, record);
444 private void onCallbackDied(CallbackRecord record) { argument
446 mCallbacks.remove(record.mPid);
447 stopWifiDisplayScanLocked(record);
453 CallbackRecord record = mCallbacks.get(callingPid);
454 if (record == null) {
458 startWifiDisplayScanLocked(record);
462 private void startWifiDisplayScanLocked(CallbackRecord record) { argument
484 stopWifiDisplayScanLocked(CallbackRecord record) argument
[all...]
/frameworks/base/services/core/java/com/android/server/media/
H A DMediaSessionService.java141 public void updateSession(MediaSessionRecord record) { argument
143 if (!mAllSessions.contains(record)) {
147 mPriorityStack.onSessionStateChange(record);
149 mHandler.post(MessageHandler.MSG_SESSIONS_CHANGED, record.getUserId(), 0);
166 public void onSessionPlaystateChange(MediaSessionRecord record, int oldState, int newState) { argument
169 if (!mAllSessions.contains(record)) {
173 updateSessions = mPriorityStack.onPlaystateChange(record, oldState, newState);
176 mHandler.post(MessageHandler.MSG_SESSIONS_CHANGED, record.getUserId(), 0);
180 public void onSessionPlaybackTypeChanged(MediaSessionRecord record) { argument
182 if (!mAllSessions.contains(record)) {
519 rememberMediaButtonReceiverLocked(MediaSessionRecord record) argument
[all...]
H A DMediaSessionStack.java58 // The last record that either entered one of the playing states or was
70 * @param record A media session record to be examined.
74 private static boolean isFromMostRecentApp(MediaSessionRecord record) { argument
81 ActivityManager.RECENT_WITH_EXCLUDED, record.getUserId()).getList();
84 if (recentTask.userId == record.getUserId() && recentTask.baseIntent != null) {
86 .equals(record.getPackageName());
96 * Add a record to the priority tracker.
98 * @param record The record t
101 addSession(MediaSessionRecord record, boolean fromForegroundUser) argument
114 removeSession(MediaSessionRecord record) argument
130 onPlaystateChange(MediaSessionRecord record, int oldState, int newState) argument
152 onSessionStateChange(MediaSessionRecord record) argument
[all...]
/frameworks/base/services/core/java/com/android/server/notification/
H A DImportanceExtractor.java34 public RankingReconsideration process(NotificationRecord record) { argument
35 if (record == null || record.getNotification() == null) {
45 record.setUserImportance(
46 mConfig.getImportance(record.sbn.getPackageName(), record.sbn.getUid()));
H A DNotificationIntrusivenessExtractor.java41 public RankingReconsideration process(NotificationRecord record) { argument
42 if (record == null || record.getNotification() == null) {
47 if (record.getImportance() >= NotificationListenerService.Ranking.IMPORTANCE_DEFAULT) {
48 final Notification notification = record.getNotification();
54 record.setRecentlyIntrusive(true);
58 return new RankingReconsideration(record.getKey(), HANG_TIME_MS) {
65 public void applyChangesLocked(NotificationRecord record) {
66 record.setRecentlyIntrusive(false);
H A DNotificationManagerService.java329 public void record(StatusBarNotification nr) { method in class:NotificationManagerService.Archive
1304 ToastRecord record;
1309 record = mToastQueue.get(index);
1310 record.update(duration);
1333 record = new ToastRecord(callingPid, pkg, callback, duration, token);
1334 mToastQueue.add(record);
2323 private String disableNotificationEffects(NotificationRecord record) { argument
2330 if (mCallState != TelephonyManager.CALL_STATE_IDLE && !mZenModeHelper.isCall(record)) {
2639 // Retain ranking information from previous record
2791 void buzzBeepBlinkLocked(NotificationRecord record) { argument
3051 handleTimeout(ToastRecord record) argument
3155 recordCallerLocked(NotificationRecord record) argument
3162 applyZenModeLocked(NotificationRecord record) argument
[all...]
H A DNotificationUsageStats.java253 private AggregatedStats[] getAggregatedStatsLocked(NotificationRecord record) { argument
254 return getAggregatedStatsLocked(record.sbn.getPackageName());
410 public void countApiUse(NotificationRecord record) { argument
411 final Notification n = record.getNotification();
443 if (record.stats.isNoisy) {
444 noisyImportance.increment(record.stats.requestedImportance);
446 quietImportance.increment(record.stats.requestedImportance);
448 finalImportance.increment(record.getImportance());

Completed in 414 milliseconds

123