/frameworks/rs/ |
H A D | rsProgramStore.cpp | 95 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 D | rsSampler.cpp | 88 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);
|
H A D | rsProgramRaster.cpp | 84 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);
|
/frameworks/base/core/java/android/app/ |
H A D | ResourcesManager.java | 238 Resources existing = wr != null ? wr.get() : null; 239 if (existing != null && existing.getAssets().isUpToDate()) { 243 return existing;
|
H A D | ActivityThread.java | 2669 // reusing the existing instance 2671 Slog.v(TAG, "Reusing existing agent instance"); 3817 ActivityClientRecord existing = mActivities.get(token); 3818 if (existing != null) { 3819 target.startsNotResumed = existing.paused; 4723 + ": existing object's process dead"); 4928 final ProviderClientRecord existing = mProviderMap.get(key); 4929 if (existing != null) { 4949 * it increments the reference count of the existing provider (if appropriate) 4950 * and returns the existing provide [all...] |
/frameworks/base/core/java/com/android/server/net/ |
H A D | NetlinkTracker.java | 330 DnsServerEntry existing = mIndex.get(address); 331 if (existing != null) { 332 existing.expiry = expiry; 354 // Prefer existing servers over new servers in order to minimize updates to the rest of the
|
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkStatsCollection.java | 242 final NetworkStatsHistory existing = mStats.get(key); 244 // update when no existing, or when bucket duration changed 246 if (existing == null) { 248 } else if (existing.getBucketDuration() != mBucketDuration) { 249 updated = new NetworkStatsHistory(existing, mBucketDuration); 256 return existing;
|
H A D | NetworkPolicyManagerService.java | 394 // TODO: traverse existing processes to know foreground state, or have 1237 // clear any existing policy and read from disk 1569 // TODO: consider dispatching existing rules to new listeners 1628 final NetworkPolicy existing = mNetworkPolicy.get(policy.template); 1629 if (existing == null || existing.compareTo(policy) > 0) { 1630 if (existing != null) { 1631 Slog.d(TAG, "Normalization replaced " + existing + " with " + policy); 2045 // dispatch changed rule to existing listeners
|
/frameworks/base/core/java/com/android/internal/backup/ |
H A D | LocalTransport.java | 397 long[] existing = new long[POSSIBLE_SETS.length + 1]; 403 existing[num++] = token; 407 existing[num++] = CURRENT_SET_TOKEN; 411 available[i] = new RestoreSet("Local disk image", "flash", existing[i]);
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageInstallerSession.java | 147 * point at the existing base APK (when adding splits to an existing app). 462 // Verify that stage looks sane with respect to existing application. 496 // Inherit any packages and native libraries from existing install that 512 "Failed to inherit existing install", e); 645 // Partial installs must be consistent with existing install 649 "Missing existing base package for " + mPackageName); 652 final PackageLite existing; 655 existing = PackageParser.parsePackageLite(new File(app.getCodePath()), 0); 671 if (!ArrayUtils.isEmpty(existing [all...] |
H A D | PackageInstallerService.java | 889 final String existing = extras.getString( 891 if (!TextUtils.isEmpty(existing)) { 892 fillIn.putExtra(PackageInstaller.EXTRA_OTHER_PACKAGE_NAME, existing);
|
H A D | PackageManagerService.java | 2877 * existing one. 4217 // Optimization: reuse the existing cached certificates 4378 + " signatures don't match existing userdata copy; removing"); 4481 // Already existing package. Make sure signatures match 4501 // Already existing package. Make sure signatures match 5353 // If we're only installing presumed-existing packages, require that the 5460 // Just create the setting, don't add it yet. For already existing packages 5559 // that conflict with existing packages. Only do this if the 5943 // at once after scanning all existing packages. 6037 // Request the ActivityManager to kill the process(only for existing package 8856 final boolean existing; field in class:PackageManagerService.OriginInfo 8881 OriginInfo(File file, String cid, boolean staged, boolean existing) argument [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | GridLayoutManager.java | 617 final int existing = mSpanIndexCache.get(position, -1); 618 if (existing != -1) { 619 return existing;
|
H A D | LinearLayoutManager.java | 481 final View existing = findViewByPosition(mPendingScrollPosition); 482 if (existing != null) { 487 mOrientationHelper.getDecoratedEnd(existing); 490 current = mOrientationHelper.getDecoratedStart(existing) 591 // This case may happen if new views are added or an existing view expands and pushes 650 Log.d(TAG, "updated anchor info from existing children"); 662 * Finds an anchor child from existing Views. Most of the time, this is the view closest to
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkStatsHistory.java | 117 public NetworkStatsHistory(NetworkStatsHistory existing, long bucketDuration) { argument 118 this(bucketDuration, existing.estimateResizeBuckets(bucketDuration)); 119 recordEntireHistory(existing); 390 // try finding existing bucket
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
H A D | AppWidgetServiceImpl.java | 1837 Provider existing = lookupProviderLocked(providerId); 1841 if (existing == null) { 1843 existing = lookupProviderLocked(restoredProviderId); 1846 if (existing != null) { 1847 if (existing.zombie && !mSafeMode) { 1849 existing.id = providerId; 1850 existing.zombie = false; 1851 existing.info = provider.info; // the real one filled out from the ResolveInfo 1853 Slog.i(TAG, "Provider placeholder now reified: " + existing); 3670 // just use the existing Hos [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | ConnectivityService.java | 2182 for (NetworkAgentInfo existing : mNetworkAgentInfos.values()) { 2183 if (existing.satisfies(request) && 2185 alternative.getCurrentScore() < existing.getCurrentScore())) { 2186 alternative = existing; 2229 if (existingRequest != null) { // remove the existing request. 3014 // Tear down existing lockdown if profile was removed 3038 * Internally set new {@link LockdownVpnTracker}, shutting down any existing 3042 // Shutdown any existing tracker 3043 final LockdownVpnTracker existing = mLockdownTracker; 3045 if (existing ! [all...] |
H A D | MountService.java | 1448 final StorageVolume existing = mVolumesByPath.put(volume.getPath(), volume); 1449 if (existing != null) { 1451 "Volume at " + volume.getPath() + " already exists: " + existing);
|