/frameworks/av/media/libaudioclient/ |
H A D | AudioSystem.cpp | 1074 unsigned int *generation) 1078 return aps->listAudioPorts(role, type, num_ports, ports, generation); 1105 unsigned int *generation) 1109 return aps->listAudioPatches(num_patches, patches, generation); 1070 listAudioPorts(audio_port_role_t role, audio_port_type_t type, unsigned int *num_ports, struct audio_port *ports, unsigned int *generation) argument 1103 listAudioPatches(unsigned int *num_patches, struct audio_patch *patches, unsigned int *generation) argument
|
H A D | IAudioPolicyService.cpp | 551 unsigned int *generation) 554 generation == NULL) { 575 *generation = reply.readInt32(); 630 unsigned int *generation) 633 generation == NULL) { 652 *generation = reply.readInt32(); 1245 unsigned int generation; local 1246 status_t status = listAudioPorts(role, type, &numPorts, ports, &generation); 1255 reply->writeInt32(generation); 1315 unsigned int generation; local 547 listAudioPorts(audio_port_role_t role, audio_port_type_t type, unsigned int *num_ports, struct audio_port *ports, unsigned int *generation) argument 628 listAudioPatches(unsigned int *num_patches, struct audio_patch *patches, unsigned int *generation) argument [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | GenericSource.cpp | 718 CHECK(msg->findInt32("generation", &msgGeneration)); 741 msg2->setInt32("generation", msgGeneration); 752 CHECK(msg->findInt32("generation", &msgGeneration)); 784 CHECK(msg->findInt32("generation", &msgGeneration)); 911 msg->setInt32("generation", mFetchSubtitleDataGeneration); 919 msg->setInt32("generation", mFetchTimedTextDataGeneration); 1157 msg->setInt32("generation", mFetchSubtitleDataGeneration); 1162 msg2->setInt32("generation", mFetchTimedTextDataGeneration); 1169 msg->setInt32("generation", mFetchTimedTextDataGeneration); 1779 msg->setInt32("generation", mPollBufferingGeneratio 1885 int32_t generation; local [all...] |
H A D | NuPlayer.cpp | 722 int32_t generation; local 723 CHECK(msg->findInt32("generation", &generation)); 725 if (generation != mPollDurationGeneration) { 970 int32_t generation; local 971 CHECK(msg->findInt32("generation", &generation)); 972 if (generation != mScanSourcesGeneration) { 1040 CHECK(msg->findInt32("generation", &requesterGeneration)); 1043 ALOGV("got message from old %s decoder, generation( 2513 int32_t generation; local [all...] |
H A D | NuPlayerRenderer.cpp | 540 int32_t generation; local 541 CHECK(msg->findInt32("drainGeneration", &generation)); 542 if (generation != getDrainGeneration(true /* audio */)) { 579 int32_t generation; local 580 CHECK(msg->findInt32("drainGeneration", &generation)); 581 if (generation != getDrainGeneration(false /* audio */)) { 595 int32_t generation; local 596 CHECK(msg->findInt32("drainGeneration", &generation)); 597 if (generation != getDrainGeneration(false /* audio */)) { 620 int32_t generation; local 740 int32_t generation; local [all...] |
/frameworks/av/media/libstagefright/httplive/ |
H A D | LiveSession.cpp | 937 int32_t generation; local 938 CHECK(msg->findInt32("generation", &generation)); 939 if (generation == mPollBufferingGeneration) { 2059 msg->setInt32("generation", mPollBufferingGeneration);
|
H A D | PlaylistFetcher.cpp | 495 msg->setInt32("generation", mMonitorQueueGeneration); 659 int32_t generation; local 660 CHECK(msg->findInt32("generation", &generation)); 662 if (generation != mMonitorQueueGeneration) { 888 msg->setInt32("generation", mMonitorQueueGeneration);
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | MyHandler.h | 826 int32_t generation; local 827 CHECK(msg->findInt32("generation", &generation)); 829 if (generation != mKeepAliveGeneration) { 844 reply->setInt32("generation", mKeepAliveGeneration); 857 int32_t generation; local 858 CHECK(msg->findInt32("generation", &generation)); 860 if (generation != mKeepAliveGeneration) { 960 int32_t generation; local 1056 int32_t generation; local [all...] |
/frameworks/native/libs/gui/ |
H A D | Surface.cpp | 125 status_t Surface::setGenerationNumber(uint32_t generation) { argument 126 status_t result = mGraphicBufferProducer->setGenerationNumber(generation); 128 mGenerationNumber = generation;
|
/frameworks/av/media/libstagefright/ |
H A D | MediaCodec.cpp | 2347 "generation", ++mDequeueInputTimeoutGeneration); 2355 int32_t generation; local 2356 CHECK(msg->findInt32("generation", &generation)); 2358 if (generation != mDequeueInputTimeoutGeneration) { 2421 "generation", ++mDequeueOutputTimeoutGeneration); 2429 int32_t generation; local 2430 CHECK(msg->findInt32("generation", &generation)); 2432 if (generation ! 3019 uint32_t generation = (getpid() << 10) | (++mSurfaceGeneration & ((1 << 10) - 1)); local [all...] |
H A D | ACodec.cpp | 5468 int32_t generation; local 5469 CHECK(msg->findInt32("generation", (int32_t*)&generation)); 5470 if (generation != mCodec->mNodeGeneration) { 5472 msg->debugString().c_str(), generation, mCodec->mNodeGeneration); 6456 notify->setInt32("generation", ++mCodec->mNodeGeneration); 7701 void ACodec::forceStateTransition(int generation) { argument 7702 if (generation != mStateGeneration) { 7704 generation, mStateGeneration); 7794 msg->setInt32("generation", mCode 7813 int32_t generation = 0; local 8124 int32_t generation = 0; local [all...] |
/frameworks/base/core/jni/ |
H A D | android_media_AudioSystem.cpp | 1182 unsigned int generation; local 1189 // get the port count and all the ports until they both return the same generation 1216 &generation); 1217 ALOGV("listAudioPorts AudioSystem::listAudioPorts numPorts %d generation %d generation1 %d", 1218 numPorts, generation, generation1); 1219 } while (generation1 != generation && status == NO_ERROR); 1408 unsigned int generation; local 1420 // get the patch count and all the patches until they both return the same generation 1445 &generation); 1446 ALOGV("listAudioPatches AudioSystem::listAudioPatches numPatches %d generation [all...] |
/frameworks/base/media/java/android/media/ |
H A D | AudioSystem.java | 798 public static native int listAudioPorts(ArrayList<AudioPort> ports, int[] generation); argument 802 public static native int listAudioPatches(ArrayList<AudioPatch> patches, int[] generation); argument
|
/frameworks/av/services/audiopolicy/managerdefault/ |
H A D | AudioPolicyManager.cpp | 2748 unsigned int *generation) 2751 generation == NULL) { 2808 *generation = curAudioPortGeneration(); 3144 unsigned int *generation) 3146 if (generation == NULL) { 3149 *generation = curAudioPortGeneration(); 2744 listAudioPorts(audio_port_role_t role, audio_port_type_t type, unsigned int *num_ports, struct audio_port *ports, unsigned int *generation) argument 3142 listAudioPatches(unsigned int *num_patches, struct audio_patch *patches, unsigned int *generation) argument
|
/frameworks/native/services/inputflinger/tests/ |
H A D | InputReader_test.cpp | 1059 int32_t generation = deviceId + 1; local 1060 return new InputDevice(&mContext, deviceId, generation, controllerNumber, identifier, 2863 // Disable pointer capture and check that the device generation got bumped 2865 const uint32_t generation = mFakeContext->getGeneration(); local 2868 ASSERT_TRUE(mFakeContext->getGeneration() != generation);
|
/frameworks/native/services/inputflinger/ |
H A D | InputReader.cpp | 1037 InputDevice::InputDevice(InputReaderContext* context, int32_t id, int32_t generation, argument 1039 mContext(context), mId(id), mGeneration(generation), mControllerNumber(controllerNumber), 1068 // Must change generation to flag this device as changed
|
/frameworks/base/core/java/android/provider/ |
H A D | Settings.java | 1469 * the settings generation in order to cache values locally. If this key is 1474 * index in the array clients should use to lookup the generation. For efficiency 1475 * the caller should request the generation tracking memory array only if it 1484 * to look up the generation id of the backing table. The value is an integer. 1491 * @hide Key with the settings table generation. The value is an integer. 1735 int generation, Runnable errorHandler) { 1739 mCurrentGeneration = generation; 1757 Log.e(TAG, "Error getting current generation", e); 1903 Log.i(TAG, "Requested generation tracker for type: "+ mUri.getPath() 1937 final int generation 1734 GenerationTracker(@onNull MemoryIntArray array, int index, int generation, Runnable errorHandler) argument [all...] |