Searched refs:generation (Results 1 - 25 of 58) sorted by relevance

123

/frameworks/support/v7/recyclerview/src/android/support/v7/util/
H A DThreadUtil.java23 void updateItemCount(int generation, int itemCount); argument
25 void addTile(int generation, TileList.Tile<T> tile); argument
27 void removeTile(int generation, int position); argument
32 void refresh(int generation); argument
H A DMessageThreadUtil.java38 public void updateItemCount(int generation, int itemCount) {
39 sendMessage(SyncQueueItem.obtainMessage(UPDATE_ITEM_COUNT, generation, itemCount));
43 public void addTile(int generation, TileList.Tile<T> tile) {
44 sendMessage(SyncQueueItem.obtainMessage(ADD_TILE, generation, tile));
48 public void removeTile(int generation, int position) {
49 sendMessage(SyncQueueItem.obtainMessage(REMOVE_TILE, generation, position));
94 public void refresh(int generation) {
95 sendMessageAtFrontOfQueue(SyncQueueItem.obtainMessage(REFRESH, generation, null));
H A DAsyncListUtil.java210 public void updateItemCount(int generation, int itemCount) {
212 log("updateItemCount: size=%d, gen #%d", itemCount, generation);
214 if (!isRequestedGeneration(generation)) {
228 public void addTile(int generation, TileList.Tile<T> tile) {
229 if (!isRequestedGeneration(generation)) {
231 log("recycling an older generation tile @%d", tile.mStartPosition);
243 generation, tile.mStartPosition, mTileList.size());
259 public void removeTile(int generation, int position) {
260 if (!isRequestedGeneration(generation)) {
284 private boolean isRequestedGeneration(int generation) {
[all...]
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputHal.java62 int generation);
88 int generation = mStreamConfigGenerations.get(deviceId, 0);
89 if (generation != streamConfig.getGeneration()) {
105 int generation = mStreamConfigGenerations.get(deviceId, 0);
106 if (generation != streamConfig.getGeneration()) {
126 int generation = mStreamConfigGenerations.get(deviceId, 0) + 1;
127 mStreamConfigs.put(deviceId, nativeGetStreamConfigs(mPtr, deviceId, generation));
128 mStreamConfigGenerations.put(deviceId, generation);
61 nativeGetStreamConfigs(long ptr, int deviceId, int generation) argument
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
H A DThreadUtilTest.java48 public void updateItemCount(int generation, int itemCount) {
50 setResultData("updateItemCount", generation, itemCount);
54 public void addTile(int generation, TileList.Tile<Integer> data) {
56 setResultData("addTile", generation, data);
60 public void removeTile(int generation, int position) {
62 setResultData("removeTile", generation, position);
69 public void refresh(int generation) {
71 setResultData("refresh", generation);
/frameworks/base/media/java/android/media/tv/
H A DTvStreamConfig.java55 generation(source.readInt()).build();
144 public Builder generation(int generation) { argument
145 mGeneration = generation;
/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextPlayer.cpp116 int32_t generation = -1; local
117 CHECK(msg->findInt32("generation", &generation));
118 if (generation != mSendSubtitleGeneration) {
158 int32_t generation; local
159 CHECK(msg->findInt32("generation", &generation));
160 if (generation != mSendSubtitleGeneration) {
243 msg->setInt32("generation", mSendSubtitleGeneration);
263 msg->setInt32("generation", mSendSubtitleGeneratio
[all...]
/frameworks/base/libs/hwui/
H A DPathCache.h63 float offset, int width, int height, int generation)
70 this->generation = generation;
72 PathTexture(Caches& caches, int generation) argument
74 this->generation = generation;
62 PathTexture(Caches& caches, float left, float top, float offset, int width, int height, int generation) argument
H A DTexture.h65 uint32_t generation = 0; member in class:android::uirenderer::Texture
/frameworks/av/media/libstagefright/wifi-display/source/
H A DMediaPuller.cpp134 int32_t generation; local
135 CHECK(msg->findInt32("generation", &generation));
137 if (generation != mPullGeneration) {
219 msg->setInt32("generation", mPullGeneration);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DHTTPLiveSource.cpp183 int32_t &generation = isSub ? mFetchSubtitleDataGeneration : mFetchMetaDataGeneration; local
184 generation++;
188 msg->setInt32("generation", generation);
207 int32_t generation; local
208 CHECK(msg->findInt32("generation", &generation));
210 if (generation != currentGeneration) {
H A DNuPlayerDecoderPassThrough.cpp102 int32_t generation; local
103 CHECK(msg->findInt32("generation", &generation));
104 return generation != mBufferGeneration;
339 reply->setInt32("generation", mBufferGeneration);
H A DNuPlayerRenderer.cpp429 int32_t generation; local
430 CHECK(msg->findInt32("drainGeneration", &generation));
431 if (generation != getDrainGeneration(true /* audio */)) {
462 int32_t generation; local
463 CHECK(msg->findInt32("drainGeneration", &generation));
464 if (generation != getDrainGeneration(false /* audio */)) {
478 int32_t generation; local
479 CHECK(msg->findInt32("drainGeneration", &generation));
480 if (generation != getDrainGeneration(false /* audio */)) {
607 int32_t generation; local
[all...]
/frameworks/native/include/ui/
H A DGraphicBuffer.h98 void setGenerationNumber(uint32_t generation) { argument
99 mGenerationNumber = generation;
175 // Stores the generation number of this buffer. If this number does not
176 // match the BufferQueue's internal generation number (set through
/frameworks/native/libs/input/
H A DInputDevice.cpp145 void InputDeviceInfo::initialize(int32_t id, int32_t generation, int32_t controllerNumber, argument
149 mGeneration = generation;
/frameworks/compile/mclinker/tools/mcld/
H A DAndroid.mk28 # Collect target specific code generation libraries
45 # Add target specific code generation libraries
/frameworks/native/include/input/
H A DInputDevice.h75 void initialize(int32_t id, int32_t generation, int32_t controllerNumber,
/frameworks/av/include/media/
H A DIAudioPolicyService.h131 unsigned int *generation) = 0;
146 unsigned int *generation) = 0;
/frameworks/av/services/audiopolicy/
H A DAudioPolicyInterface.h204 unsigned int *generation) = 0;
213 unsigned int *generation) = 0;
/frameworks/av/media/libmedia/
H A DIAudioPolicyService.cpp521 unsigned int *generation)
524 generation == NULL) {
545 *generation = reply.readInt32();
600 unsigned int *generation)
603 generation == NULL) {
622 *generation = reply.readInt32();
1133 unsigned int generation; local
1134 status_t status = listAudioPorts(role, type, &numPorts, ports, &generation);
1143 reply->writeInt32(generation);
1199 unsigned int generation; local
517 listAudioPorts(audio_port_role_t role, audio_port_type_t type, unsigned int *num_ports, struct audio_port *ports, unsigned int *generation) argument
598 listAudioPatches(unsigned int *num_patches, struct audio_patch *patches, unsigned int *generation) argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DMyHandler.h824 int32_t generation; local
825 CHECK(msg->findInt32("generation", &generation));
827 if (generation != mKeepAliveGeneration) {
842 reply->setInt32("generation", mKeepAliveGeneration);
855 int32_t generation; local
856 CHECK(msg->findInt32("generation", &generation));
858 if (generation != mKeepAliveGeneration) {
958 int32_t generation; local
1062 int32_t generation; local
[all...]
/frameworks/av/media/libstagefright/wifi-display/
H A DMediaSender.cpp125 notify->setInt32("generation", mGeneration);
174 notify->setInt32("generation", mGeneration);
289 int32_t generation; local
290 CHECK(msg->findInt32("generation", &generation));
291 if (generation != mGeneration) {
/frameworks/av/media/ndk/
H A DNdkMediaCodec.cpp100 int32_t generation; local
101 msg->findInt32("generation", &generation);
103 if (generation != mCodec->mGeneration) {
231 mData->mActivityNotification->setInt32("generation", mData->mGeneration);
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyInterfaceImpl.cpp570 unsigned int *generation)
577 return mAudioPolicyManager->listAudioPorts(role, type, num_ports, ports, generation);
620 unsigned int *generation)
627 return mAudioPolicyManager->listAudioPatches(num_patches, patches, generation);
566 listAudioPorts(audio_port_role_t role, audio_port_type_t type, unsigned int *num_ports, struct audio_port *ports, unsigned int *generation) argument
618 listAudioPatches(unsigned int *num_patches, struct audio_patch *patches, unsigned int *generation) argument
/frameworks/wilhelm/src/android/
H A Dandroid_GenericPlayer.cpp540 int32_t generation; local
541 if (msg->findInt32(WHATPARAM_ONESHOT_GENERATION, &generation)) {
542 if (generation != mOneShotGeneration) {
543 SL_LOGV("GenericPlayer::onOneShot() generation %d cancelled; latest is %d",
544 generation, mOneShotGeneration);

Completed in 5174 milliseconds

123