Home
last modified time | relevance | path

Searched refs:partial (Results 1 – 25 of 30) 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.java118 String partial = "rssi5=-88:-77:-66:-55";
119 assertFalse(before.contains(partial));
120 assertTrue(mScoringParams.update(partial));
122 assertTrue(after + " should contain " + partial, after.contains(partial));
123 assertEquals(before.replaceAll("rssi5=[^,]*,", partial + ","), after);
158 String partial = "rssi5=-88:-77:-66:-55";
159 assertFalse(mScoringParams.update(partial + "," + partial));
/frameworks/base/core/java/android/content/pm/
DUserInfo.java207 public boolean partial; field in UserInfo
414 partial = orig.partial; in UserInfo()
443 + (partial ? " (partial)" : "") in toFullString()
468 dest.writeBoolean(partial); in writeToParcel()
497 partial = source.readBoolean(); in UserInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserInfoTest.java138 userInfo.partial = false; in testGetUserName()
227 user.partial = true; in createUser()
244 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/core/java/android/hardware/camera2/impl/
DFrameNumberTracker.java127 public void updateTracker(long frameNumber, CaptureResult result, boolean partial, in updateTracker() argument
129 if (!partial) { in updateTracker()
/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/ml/nn/common/random/
DAndroid.bp45 "-Wno-invalid-partial-specialization",
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java662 if ((ui.partial || ui.guestToRemove || (ui.isEphemeral() && !ui.preCreated)) in cleanupPartialUsers()
666 ui.partial = true; in cleanupPartialUsers()
694 ui.partial = true; in cleanupPreCreatedUsers()
772 if ((excludePartial && ui.partial) in getUsersInternal()
879 if (profile.partial) { in getProfileIdsLU()
1582 if (userData != null && userData.info.partial && !mRemovingUserIds.get(userId)) { in getUserInfoLU()
1593 if (userData != null && userData.info.partial && !mRemovingUserIds.get(userId)) { in getUserDataLU()
1631 if (userData == null || userData.info.partial) { in setUserName()
1681 if (targetUserInfo == null || targetUserInfo.partial) { in getUserIcon()
1716 if (userData == null || userData.info.partial) { in makeInitialized()
[all …]
/frameworks/av/media/libstagefright/httplive/
DM3UParser.h58 AString getFullCipherUri(const AString &partial);
DM3UParser.cpp1002 AString M3UParser::getFullCipherUri(const AString &partial) { in getFullCipherUri() argument
1004 if (MakeURL(mBaseURI.c_str(), partial.c_str(), &full)) { in getFullCipherUri()
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java1530 boolean partial = true; in dumpLocked()
1533 partial = false; in dumpLocked()
1537 partial = false; in dumpLocked()
1541 partial = false; in dumpLocked()
1543 if (partial) { in dumpLocked()
2030 boolean partial = true; in dumpCheckinLocked()
2033 partial = false; in dumpCheckinLocked()
2037 partial = false; in dumpCheckinLocked()
2041 partial = false; in dumpCheckinLocked()
2043 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/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/av/services/camera/libcameraservice/
DCameraService.cpp1269 std::shared_ptr<resource_policy::ClientDescriptor<String8, sp<BasicClient>>>* partial) { in handleEvictionsLocked() argument
1460 *partial = clientDescriptor; in handleEvictionsLocked()
1661 std::shared_ptr<resource_policy::ClientDescriptor<String8, sp<BasicClient>>> partial; in connectHelper() local
1664 /*out*/&partial)) != NO_ERROR) { in connectHelper()
1772 finishConnectLocked(client, partial); in connectHelper()
3499 const sp<BasicClient>& value, const CameraService::DescriptorPtr& partial) { in makeClientDescriptor() argument
3500 return makeClientDescriptor(partial->getKey(), value, partial->getCost(), in makeClientDescriptor()
3501 partial->getConflicting(), partial->getPriority().getScore(), in makeClientDescriptor()
3502 partial->getOwnerId(), partial->getPriority().getState()); in makeClientDescriptor()
DCameraService.h480 const CameraService::DescriptorPtr& partial);
701 std::shared_ptr<resource_policy::ClientDescriptor<String8, sp<BasicClient>>>* partial);
/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.java2375 public static void setFieldsOn(Class<?> cl, boolean partial) { in setFieldsOn() argument
2382 if (!partial || field.getAnnotation(DebugProperty.class) != null) { in setFieldsOn()
/frameworks/base/services/core/java/com/android/server/
DEventLogTags.logtags29 # This is logged when the partial wake lock (keeping the device awake
/frameworks/base/core/proto/android/service/
Dprocstats.proto69 // Data completeness. e.g. "complete", "partial", shutdown", or "sysprops".
/frameworks/base/proto/src/
Dsystem_messages.proto280 // 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.

12