Searched refs:existing (Results 1 - 9 of 9) sorted by path

/frameworks/base/core/java/android/app/
H A DActivityThread.java1714 Resources existing = wr != null ? wr.get() : null;
1715 if (existing != null && existing.getAssets().isUpToDate()) {
1719 return existing;
3561 ActivityClientRecord existing = mActivities.get(token);
3562 if (existing != null) {
3563 target.startsNotResumed = existing.paused;
4557 + ": existing object's process dead");
4746 final ProviderClientRecord existing = mProviderMap.get(key);
4747 if (existing !
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkStatsHistory.java115 public NetworkStatsHistory(NetworkStatsHistory existing, long bucketDuration) { argument
116 this(bucketDuration, existing.estimateResizeBuckets(bucketDuration));
117 recordEntireHistory(existing);
388 // try finding existing bucket
/frameworks/base/services/java/com/android/server/
H A DConnectivityService.java3306 * relies on another data network, and it could keep existing connections
3391 // Tear down existing lockdown if profile was removed
3411 * Internally set new {@link LockdownVpnTracker}, shutting down any existing
3415 // Shutdown any existing tracker
3416 final LockdownVpnTracker existing = mLockdownTracker;
3418 if (existing != null) {
3419 existing.shutdown();
H A DMountService.java1251 final StorageVolume existing = mVolumesByPath.put(volume.getPath(), volume);
1252 if (existing != null) {
1254 "Volume at " + volume.getPath() + " already exists: " + existing);
/frameworks/base/services/java/com/android/server/net/
H A DNetworkStatsCollection.java236 final NetworkStatsHistory existing = mStats.get(key);
238 // update when no existing, or when bucket duration changed
240 if (existing == null) {
242 } else if (existing.getBucketDuration() != mBucketDuration) {
243 updated = new NetworkStatsHistory(existing, mBucketDuration);
250 return existing;
/frameworks/rs/
H A DrsProgramRaster.cpp84 ProgramRaster *existing = rsc->mStateRaster.mRasterPrograms[ct]; local
85 if (existing->mHal.state.pointSprite != pointSprite) continue;
86 if (existing->mHal.state.cull != cull) continue;
87 returnRef.set(existing);
H A DrsProgramStore.cpp95 ProgramStore *existing = rsc->mStateFragmentStore.mStorePrograms[ct]; local
96 if (existing->mHal.state.ditherEnable != ditherEnable) continue;
97 if (existing->mHal.state.colorRWriteEnable != colorMaskR) continue;
98 if (existing->mHal.state.colorGWriteEnable != colorMaskG) continue;
99 if (existing->mHal.state.colorBWriteEnable != colorMaskB) continue;
100 if (existing->mHal.state.colorAWriteEnable != colorMaskA) continue;
101 if (existing->mHal.state.blendSrc != srcFunc) continue;
102 if (existing->mHal.state.blendDst != destFunc) continue;
103 if (existing->mHal.state.depthWriteEnable != depthMask) continue;
104 if (existing
[all...]
H A DrsSampler.cpp88 Sampler *existing = rsc->mStateSampler.mAllSamplers[ct]; local
89 if (existing->mHal.state.magFilter != magFilter) continue;
90 if (existing->mHal.state.minFilter != minFilter ) continue;
91 if (existing->mHal.state.wrapS != wrapS) continue;
92 if (existing->mHal.state.wrapT != wrapT) continue;
93 if (existing->mHal.state.wrapR != wrapR) continue;
94 if (existing->mHal.state.aniso != aniso) continue;
95 returnRef.set(existing);
/frameworks/support/renderscript/v8/rs_support/
H A DrsSampler.cpp88 Sampler *existing = rsc->mStateSampler.mAllSamplers[ct]; local
89 if (existing->mHal.state.magFilter != magFilter) continue;
90 if (existing->mHal.state.minFilter != minFilter ) continue;
91 if (existing->mHal.state.wrapS != wrapS) continue;
92 if (existing->mHal.state.wrapT != wrapT) continue;
93 if (existing->mHal.state.wrapR != wrapR) continue;
94 if (existing->mHal.state.aniso != aniso) continue;
95 returnRef.set(existing);

Completed in 245 milliseconds