Home
last modified time | relevance | path

Searched refs:partial (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/core/java/android/net/util/
DIpUtils.java84 int partial = protocol + transportLen; in pseudoChecksumIPv4() local
85 partial += intAbs(buf.getShort(headerOffset + 12)); in pseudoChecksumIPv4()
86 partial += intAbs(buf.getShort(headerOffset + 14)); in pseudoChecksumIPv4()
87 partial += intAbs(buf.getShort(headerOffset + 16)); in pseudoChecksumIPv4()
88 partial += intAbs(buf.getShort(headerOffset + 18)); in pseudoChecksumIPv4()
89 return partial; in pseudoChecksumIPv4()
94 int partial = protocol + transportLen; in pseudoChecksumIPv6() local
96 partial += intAbs(buf.getShort(headerOffset + offset)); in pseudoChecksumIPv6()
98 return partial; in pseudoChecksumIPv6()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScoringParamsTest.java123 String partial = "rssi5=-88:-77:-66:-55";
124 assertFalse(before.contains(partial));
125 assertTrue(mScoringParams.update(partial));
127 assertTrue(after + " should contain " + partial, after.contains(partial));
128 assertEquals(before.replaceAll("rssi5=[^,]*,", partial + ","), after);
162 String partial = "rssi5=-88:-77:-66:-55";
163 assertFalse(mScoringParams.update(partial + "," + partial));
/frameworks/base/core/java/android/content/pm/
DUserInfo.java150 public boolean partial; field in UserInfo
303 partial = orig.partial; in UserInfo()
327 + (partial ? " (partial)" : "") in toFullString()
350 dest.writeBoolean(partial); in writeToParcel()
378 partial = source.readBoolean(); in UserInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserInfoTest.java116 userInfo.partial = false; in testGetUserName()
133 user.partial = true; in createUser()
149 assertEquals("partial not preseved", one.partial, two.partial); in assertUserInfoEquals()
/frameworks/native/services/vr/performanced/
Dstdio_filebuf.h149 case std::codecvt_base::partial: in __getchar()
167 } while (__r == std::codecvt_base::partial); in __getchar()
203 case std::codecvt_base::partial: in pbackfail()
/frameworks/ml/nn/common/
DAndroid.bp119 "-Wno-invalid-partial-specialization",
222 "-Wno-invalid-partial-specialization",
272 "-Wno-invalid-partial-specialization",
/frameworks/base/tests/net/java/android/net/
DNetworkStatsHistoryTest.java381 final NetworkStatsHistory partial = new NetworkStatsHistory( in testIgnoreFieldsRecordIn() local
386 partial.recordEntireHistory(full); in testIgnoreFieldsRecordIn()
388 assertFullValues(partial, UNKNOWN, UNKNOWN, 10L, UNKNOWN, UNKNOWN, 4L); in testIgnoreFieldsRecordIn()
394 final NetworkStatsHistory partial = new NetworkStatsHistory( in testIgnoreFieldsRecordOut() local
397 partial.recordData(0, MINUTE_IN_MILLIS, in testIgnoreFieldsRecordOut()
399 full.recordEntireHistory(partial); in testIgnoreFieldsRecordOut()
/frameworks/av/media/libaaudio/examples/loopback/src/
DLoopbackAnalyzer.h245 for (int partial = 1; partial < numEchoes; partial++) { in measureLatencyFromEchos() local
247 harmonicSums[i / partial] += correlations[i] / partial; in measureLatencyFromEchos()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java597 if ((ui.partial || ui.guestToRemove || (ui.isEphemeral() && !ui.preCreated)) in cleanupPartialUsers()
601 ui.partial = true; in cleanupPartialUsers()
629 ui.partial = true; in cleanupPreCreatedUsers()
701 if ((excludePartial && ui.partial) in getUsers()
789 if (profile.partial) { in getProfileIdsLU()
1314 if (userData != null && userData.info.partial && !mRemovingUserIds.get(userId)) { in getUserInfoLU()
1325 if (userData != null && userData.info.partial && !mRemovingUserIds.get(userId)) { in getUserDataLU()
1363 if (userData == null || userData.info.partial) { in setUserName()
1411 if (targetUserInfo == null || targetUserInfo.partial) { in getUserIcon()
1446 if (userData == null || userData.info.partial) { in makeInitialized()
[all …]
/frameworks/ml/nn/common/random/
DAndroid.bp45 "-Wno-invalid-partial-specialization",
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java1877 boolean partial = true; in dumpTotalsLocked()
1880 partial = false; in dumpTotalsLocked()
1884 partial = false; in dumpTotalsLocked()
1888 partial = false; in dumpTotalsLocked()
1890 if (partial) { in dumpTotalsLocked()
1970 boolean partial = true; in dumpCheckinLocked()
1973 partial = false; in dumpCheckinLocked()
1977 partial = false; in dumpCheckinLocked()
1981 partial = false; in dumpCheckinLocked()
1983 if (partial) { in dumpCheckinLocked()
[all …]
/frameworks/base/core/proto/android/os/
Dbatterystats.proto286 // The total elapsed time that a partial wakelock was held. This duration
804 // the case of wakelock.partial.duration_ms) or overestimate (in the case of
805 // wakelock.partial.total_duration_ms) the total time, due to overlapping
811 // The total duration that the app spent holding partial wakelocks.
814 // The total duration that the app spent holding partial wakelocks while the
836 // for partial wakelocks.
837 optional TimerProto partial = 3; field
839 // These fields are for tracking partial wakelocks (see above), but only
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp1104 std::shared_ptr<resource_policy::ClientDescriptor<String8, sp<BasicClient>>>* partial) { in handleEvictionsLocked() argument
1290 *partial = clientDescriptor; in handleEvictionsLocked()
1451 std::shared_ptr<resource_policy::ClientDescriptor<String8, sp<BasicClient>>> partial; in connectHelper() local
1454 /*out*/&partial)) != NO_ERROR) { in connectHelper()
1553 finishConnectLocked(client, partial); in connectHelper()
3050 const sp<BasicClient>& value, const CameraService::DescriptorPtr& partial) { in makeClientDescriptor() argument
3051 return makeClientDescriptor(partial->getKey(), value, partial->getCost(), in makeClientDescriptor()
3052 partial->getConflicting(), partial->getPriority().getScore(), in makeClientDescriptor()
3053 partial->getOwnerId(), partial->getPriority().getState()); in makeClientDescriptor()
DCameraService.h440 const CameraService::DescriptorPtr& partial);
644 std::shared_ptr<resource_policy::ClientDescriptor<String8, sp<BasicClient>>>* partial);
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DTarBackupReader.java542 long partial = (size + 512) % 512; in skipTarPadding() local
543 if (partial > 0) { in skipTarPadding()
544 final int needed = 512 - (int) partial; in skipTarPadding()
/frameworks/base/libs/androidfw/
DBackupHelpers.cpp707 ssize_t partial = (nRead+512) % 512; in write_tarfile() local
708 if (partial > 0) { in write_tarfile()
709 ssize_t remainder = 512 - partial; in write_tarfile()
/frameworks/base/core/java/android/os/
DDebug.java2283 public static void setFieldsOn(Class<?> cl, boolean partial) { in setFieldsOn() argument
2290 if (!partial || field.getAnnotation(DebugProperty.class) != null) { in setFieldsOn()
/frameworks/base/core/proto/android/service/
Dprocstats.proto69 // Data completeness. e.g. "complete", "partial", shutdown", or "sysprops".
/frameworks/base/services/core/java/com/android/server/
DEventLogTags.logtags29 # This is logged when the partial wake lock (keeping the device awake
/frameworks/base/proto/src/
Dsystem_messages.proto254 // A partial connectivity network was detected during network validation
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java496 if (userInfo == null || userInfo.partial || !userInfo.isEnabled() in refreshAgentList()
655 if (info == null || info.partial || !info.isEnabled() || info.guestToRemove) { in refreshDeviceLockedForUser()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java462 tempProfile.partial = true; in testLockdownAddingAProfile()
1073 if (!excludeDying || (ui.isEnabled() && !ui.partial)) { in setMockedUsers()
/frameworks/hardware/interfaces/cameraservice/device/2.0/
Dtypes.hal253 * The partial result count (index) for this capture result.
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraDeviceImpl.java1734 public void updateTracker(long frameNumber, CaptureResult result, boolean partial, in updateTracker() argument
1736 if (!partial) { in updateTracker()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java368 if (user.partial) continue; in removeStaleAccounts()

12