Searched defs:type (Results 51 - 75 of 434) sorted by path

1234567891011>>

/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp464 ALOGE("createTrack() invalid stream type %d", streamType);
1137 audio_devices_t outDevice, audio_devices_t inDevice, type_t type)
1139 mType(type),
1242 switch(event->type()) {
1258 ALOGE("processConfigEvents() unknown event type %d", event->type());
1406 const effect_uuid_t *type, bool suspend, int sessionId)
1409 setEffectSuspended_l(type, suspend, sessionId);
1413 const effect_uuid_t *type, bool suspend, int sessionId)
1417 if (type !
1136 ThreadBase(const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id, audio_devices_t outDevice, audio_devices_t inDevice, type_t type) argument
1405 setEffectSuspended( const effect_uuid_t *type, bool suspend, int sessionId) argument
1412 setEffectSuspended_l( const effect_uuid_t *type, bool suspend, int sessionId) argument
1451 updateSuspendedSessions_l(const effect_uuid_t *type, bool suspend, int sessionId) argument
1543 PlaybackThread(const sp<AudioFlinger>& audioFlinger, AudioStreamOut* output, audio_io_handle_t id, audio_devices_t device, type_t type) argument
2255 MixerThread(const sp<AudioFlinger>& audioFlinger, AudioStreamOut* output, audio_io_handle_t id, audio_devices_t device, type_t type) argument
4799 triggerEvents(AudioSystem::sync_event_t type) argument
7411 createSyncEvent(AudioSystem::sync_event_t type, int triggerSession, int listenerSession, sync_event_callback_t callBack, void *cookie) argument
9232 getEffectFromType_l( const effect_uuid_t *type) argument
9426 uint32_t type = effect->desc().flags & EFFECT_FLAG_TYPE_MASK; local
9576 setEffectSuspended_l( const effect_uuid_t *type, bool suspend) argument
9706 getEffectIfEnabled( const effect_uuid_t *type) argument
[all...]
H A DAudioFlinger.h227 SyncEvent(AudioSystem::sync_event_t type, argument
232 : mType(type), mTriggerSession(triggerSession), mListenerSession(listenerSession),
241 AudioSystem::sync_event_t type() const { return mType; } function in class:android::AudioFlinger::SyncEvent
255 sp<SyncEvent> createSyncEvent(AudioSystem::sync_event_t type,
360 audio_devices_t outDevice, audio_devices_t inDevice, type_t type);
484 ConfigEvent(int type) : mType(type) {} argument
487 int type() const { return mType; } function in class:android::AudioFlinger::ThreadBase::ConfigEvent
552 type_t type() const { return mType; } function in class:android::AudioFlinger::ThreadBase
640 // suspend or restore effect according to the type o
[all...]
H A DAudioPolicyService.cpp782 void AudioPolicyService::AudioCommandThread::startToneCommand(ToneGenerator::tone_type type, argument
788 data->mType = type;
793 ALOGV("AudioCommandThread() adding tone start type %d, stream %d", type, stream);
1133 ALOGW("readParamValue() unknown param type %s", node->name);
1170 ALOGV("loadEffectParameter() reading param of type %s", param->name);
1185 ALOGV("loadEffectParameter() reading value of type %s", value->name);
/frameworks/av/services/camera/libcameraservice/
H A DCamera2Client.cpp1247 status_t Camera2Client::commandStartFaceDetectionL(int type) { argument
1266 // Ignoring type
/frameworks/av/services/camera/libcameraservice/camera2/
H A DCameraMetadata.cpp102 ALOGE("Mismatched tag type when updating entry %s (%d) of type %s; "
103 "got type %s data instead ",
178 int type = get_camera_metadata_tag_type(tag); local
179 if (type == -1) {
183 size_t data_size = calculate_camera_metadata_entry_data_size(type,
H A DJpegProcessor.cpp299 // check for arbitrary marker, returns marker type (second byte)
300 // returns 0 if no marker found. Note: 0x00 is not a valid marker type
342 uint8_t type = checkJpegMarker(segment->marker); local
343 if (type == 0) { // invalid marker, no more segments, begin JPEG data
347 if (type == EOI || size > maxSize - sizeof(segment_t)) {
352 ALOGV("JFIF Segment, type %x length %x", type, length);
H A DStreamingProcessor.cpp365 status_t StreamingProcessor::startStream(StreamType type, argument
370 if (type == NONE) return INVALID_OPERATION;
375 ALOGV("%s: Camera %d: type = %d", __FUNCTION__, client->getCameraId(), type);
379 CameraMetadata &request = (type == PREVIEW) ?
405 mActiveRequest = type;
549 uint32_t type = kMetadataBufferTypeGrallocSource; local
550 *((uint32_t*)data) = type;
587 uint32_t type = *(uint32_t*)data; local
588 if (type !
[all...]
/frameworks/base/cmds/backup/
H A Dbackup.cpp68 int type; local
70 while (reader.ReadNextHeader(&done, &type) == 0) {
74 switch (type) {
89 printf("Unknown chunk type: 0x%08x\n", type);
/frameworks/base/cmds/rawbu/
H A Dbackup.cpp52 int type; member in struct:android::special_dir
107 if (opt_backupAll || SKIP_PATHS[i].type == SPECIAL_NO_BACKUP) {
236 static int write_header(FILE* fh, int type, const char* path, const struct stat* st) argument
239 if (!write_int32(fh, type)) return 0;
438 static int read_header(FILE* fh, int* type, char** path, struct stat* st) argument
440 *type = read_int32(fh, -1);
441 if (*type == TYPE_END) {
445 if (*type < 0) {
446 fprintf(stderr, "bad token %d in restore file\n", *type);
537 int type; local
[all...]
/frameworks/base/cmds/service/
H A Dservice.cpp154 char* type = NULL; local
180 else if (strcmp(key, "type") == 0)
182 type = value;
210 writeString16(data, type);
269 // " action=STR data=STR type=STR launchFlags=INT component=STR categories=STR[,STR,...]\n";
/frameworks/base/cmds/servicemanager/
H A Dbinder.h14 uint32_t type; member in struct:binder_object
/frameworks/base/core/java/android/accounts/
H A DAccount.java24 * Value type that represents an Account in the {@link AccountManager}. This object is
30 public final String type; field in class:Account
36 return name.equals(other.name) && type.equals(other.type);
42 result = 31 * result + type.hashCode();
46 public Account(String name, String type) { argument
50 if (TextUtils.isEmpty(type)) {
51 throw new IllegalArgumentException("the type must not be empty: " + type);
54 this.type
[all...]
H A DAccountManager.java79 * be interested in accounts with one particular <em>type</em>, which
82 * type and features are authenticator-specific strings, and must be known by
88 * account of the appropriate type.
159 * Bundle key used for the {@link String} account type in results
363 * Lists all accounts of any type registered on the device.
384 * Lists all accounts of a particular type. The account type is a
395 * @param type The type of accounts to return, null to retrieve all accounts
397 * (never null) if no accounts of the specified type hav
399 getAccountsByType(String type) argument
404 getAccountsByTypeAsUser(String type, UserHandle userHandle) argument
530 getAccountsByTypeAndFeatures( final String type, final String[] features, AccountManagerCallback<Account[]> callback, Handler handler) argument
[all...]
H A DAccountManagerService.java113 private static final String ACCOUNTS_TYPE = "type";
114 private static final String ACCOUNTS_TYPE_COUNT = "count(type)";
120 private static final String AUTHTOKENS_TYPE = "type";
151 AUTHTOKENS_ACCOUNTS_ID + "=(select _id FROM accounts WHERE name=? AND type=?)";
156 EXTRAS_ACCOUNTS_ID + "=(select _id FROM accounts WHERE name=? AND type=?)";
329 knownAuth.add(service.type);
348 Slog.w(TAG, "deleting account " + accountName + " because type "
455 new String[]{account.name, account.type}, null, null, null);
502 types[i] = authenticator.type;
542 new String[]{account.name, account.type});
808 saveAuthTokenToDatabase(UserAccounts accounts, Account account, String type, String authToken) argument
1411 GetAccountsByTypeAndFeatureSession(UserAccounts accounts, IAccountManagerResponse response, String type, String[] features) argument
1561 getAccountsAsUser(String type, int userId) argument
1587 getAccounts(String type) argument
1591 getAccountsByFeatures(IAccountManagerResponse response, String type, String[] features) argument
[all...]
H A DAuthenticatorDescription.java23 * A {@link Parcelable} value type that contains information about an account authenticator.
27 final public String type; field in class:AuthenticatorDescription
51 public AuthenticatorDescription(String type, String packageName, int labelId, int iconId, argument
53 if (type == null) throw new IllegalArgumentException("type cannot be null");
55 this.type = type;
64 public AuthenticatorDescription(String type, String packageName, int labelId, int iconId, argument
66 this(type, packageName, labelId, iconId, smallIconId, prefId, false);
71 * to identify the authenticator by its type
74 newKey(String type) argument
79 AuthenticatorDescription(String type) argument
[all...]
H A DChooseAccountTypeActivity.java66 for (String type : validAccountTypes) {
67 setOfAllowableAccountTypes.add(type);
78 final String type = entry.getKey();
81 && !setOfAllowableAccountTypes.contains(type)) {
96 setResultAndFinish(mAuthenticatorInfosToDisplay.get(0).desc.type);
110 setResultAndFinish(mAuthenticatorInfosToDisplay.get(position).desc.type);
115 private void setResultAndFinish(final String type) { argument
117 bundle.putString(AccountManager.KEY_ACCOUNT_TYPE, type);
121 + "selected account type " + type);
[all...]
H A DChooseTypeAndAccountActivity.java179 // If there are no relevant accounts and only one relevant account type go directly to
193 setResultAndFinish(account.name, account.type);
252 // Called when the choose account type activity (for adding an account) returns.
288 + "type, pretending the request was canceled");
307 accountType = account.type;
328 protected void runAddAccountForAuthenticator(String type) { argument
330 Log.v(TAG, "runAddAccountForAuthenticator: " + type);
338 AccountManager.get(this).addAccount(type, authTokenType, requiredFeatures,
370 setResultAndFinish(account.name, account.type);
450 && !mSetOfRelevantAccountTypes.contains(account.type)) {
[all...]
H A DIAccountAuthenticatorCache.java37 * @param type the authenticator type to return
39 * matches the account type or null if none is present
42 AuthenticatorDescription type, int userId);
41 getServiceInfo( AuthenticatorDescription type, int userId) argument
/frameworks/base/core/java/android/app/
H A DActivityManagerNative.java823 int type = data.readInt();
826 serviceDoneExecuting(token, type, startId, res);
911 int type = data.readInt();
929 IIntentSender res = getIntentSender(type, packageName, token,
1457 String type = getProviderMimeType(uri, userId);
1459 reply.writeString(type);
2768 public void serviceDoneExecuting(IBinder token, int type, int startId, argument
2774 data.writeInt(type);
2949 public IIntentSender getIntentSender(int type, argument
2956 data.writeInt(type);
[all...]
H A DAlarmManager.java110 * Alarm intents are delivered with a data extra of type int called
116 * @param type One of ELAPSED_REALTIME, ELAPSED_REALTIME_WAKEUP, RTC or
119 * off, using the appropriate clock (depending on the alarm type).
135 public void set(int type, long triggerAtMillis, PendingIntent operation) { argument
137 mService.set(type, triggerAtMillis, operation);
168 * @param type One of ELAPSED_REALTIME, ELAPSED_REALTIME_WAKEUP}, RTC or
171 * go off, using the appropriate clock (depending on the alarm type).
189 public void setRepeating(int type, long triggerAtMillis, argument
192 mService.setRepeating(type, triggerAtMillis, intervalMillis, operation);
222 * @param type On
255 setInexactRepeating(int type, long triggerAtMillis, long intervalMillis, PendingIntent operation) argument
[all...]
H A DApplicationErrorReport.java38 * A report has a type, which is one of
91 public int type; field in class:ApplicationErrorReport
121 * If this report is of type {@link #TYPE_CRASH}, contains an instance
127 * If this report is of type {@link #TYPE_ANR}, contains an instance
133 * If this report is of type {@link #TYPE_BATTERY}, contains an instance
139 * If this report is of type {@link #TYPE_RUNNING_SERVICE}, contains an instance
221 dest.writeInt(type);
228 switch (type) {
245 type = in.readInt();
252 switch (type) {
[all...]
H A DContextImpl.java746 public File getExternalFilesDir(String type) { argument
763 if (type == null) {
766 File dir = new File(mExternalFilesDir, type);
H A DIActivityManager.java149 public void serviceDoneExecuting(IBinder token, int type, int startId, argument
175 public IIntentSender getIntentSender(int type, argument
H A DMediaRouteButton.java442 public void onRouteSelected(MediaRouter router, int type, RouteInfo info) { argument
447 public void onRouteUnselected(MediaRouter router, int type, RouteInfo info) { argument
/frameworks/base/core/java/android/app/backup/
H A DBackupAgent.java402 * @param type The kind of file system object being restored. This will be either
411 File destination, int type, long mode, long mtime)
413 FullBackup.restoreFile(data, size, type, mode, mtime, destination);
422 int type, String domain, String path, long mode, long mtime)
426 if (DEBUG) Log.d(TAG, "onRestoreFile() size=" + size + " type=" + type
450 onRestoreFile(data, size, outFile, type, mode, mtime);
456 FullBackup.restoreFile(data, size, type, mode, mtime, null);
572 int type, String domain, String path, long mode, long mtime,
576 BackupAgent.this.onRestoreFile(data, size, type, domai
410 onRestoreFile(ParcelFileDescriptor data, long size, File destination, int type, long mode, long mtime) argument
421 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument
571 doRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime, int token, IBackupManager callbackBinder) argument
[all...]

Completed in 207 milliseconds

1234567891011>>