Home
last modified time | relevance | path

Searched refs:partial (Results 1 – 25 of 34) 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.java127 public boolean partial; field in UserInfo
254 partial = orig.partial; in UserInfo()
284 dest.writeInt(partial ? 1 : 0); in writeToParcel()
311 partial = source.readInt() != 0; 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()
148 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.bp105 "-Wno-invalid-partial-specialization",
201 "-Wno-invalid-partial-specialization",
227 "-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/ml/nn/common/random/
DAndroid.bp36 "-Wno-invalid-partial-specialization",
/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.java585 if ((ui.partial || ui.guestToRemove || ui.isEphemeral()) && i != 0) { in cleanupPartialUsers()
588 ui.partial = true; in cleanupPartialUsers()
656 if (ui.partial) { in getUsers()
744 if (profile.partial) { in getProfileIdsLU()
1255 if (userData != null && userData.info.partial && !mRemovingUserIds.get(userId)) { in getUserInfoLU()
1266 if (userData != null && userData.info.partial && !mRemovingUserIds.get(userId)) { in getUserDataLU()
1304 if (userData == null || userData.info.partial) { in setUserName()
1352 if (targetUserInfo == null || targetUserInfo.partial) { in getUserIcon()
1387 if (userData == null || userData.info.partial) { in makeInitialized()
2320 if (userInfo.partial) { in writeUserLP()
[all …]
/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.cpp1082 std::shared_ptr<resource_policy::ClientDescriptor<String8, sp<BasicClient>>>* partial) { in handleEvictionsLocked() argument
1268 *partial = clientDescriptor; in handleEvictionsLocked()
1423 std::shared_ptr<resource_policy::ClientDescriptor<String8, sp<BasicClient>>> partial; in connectHelper() local
1426 /*out*/&partial)) != NO_ERROR) { in connectHelper()
1525 finishConnectLocked(client, partial); in connectHelper()
3006 const sp<BasicClient>& value, const CameraService::DescriptorPtr& partial) { in makeClientDescriptor() argument
3007 return makeClientDescriptor(partial->getKey(), value, partial->getCost(), in makeClientDescriptor()
3008 partial->getConflicting(), partial->getPriority().getScore(), in makeClientDescriptor()
3009 partial->getOwnerId(), partial->getPriority().getState()); in makeClientDescriptor()
DCameraService.h437 const CameraService::DescriptorPtr& partial);
632 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/opt/gamesdk/third_party/protobuf-3.0.0/csharp/
DCHANGES.txt53 - Issue 49: Generated nested static Types class should be partial
/frameworks/base/core/java/android/os/
DDebug.java2293 public static void setFieldsOn(Class<?> cl, boolean partial) { in setFieldsOn() argument
2300 if (!partial || field.getAnnotation(DebugProperty.class) != null) { in setFieldsOn()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Dreflection_test.py2540 partial = proto.SerializePartialToString()
2545 proto2.ParseFromString(partial)
2554 partial = proto.SerializePartialToString()
2562 partial = proto.SerializePartialToString()
2567 partial = proto.SerializePartialToString()
2577 len(partial),
2578 proto2.MergeFromString(partial))
/frameworks/base/core/proto/android/service/
Dprocstats.proto69 // Data completeness. e.g. "complete", "partial", shutdown", or "sysprops".
/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java417 tempProfile.partial = true; in testLockdownAddingAProfile()
671 if (!excludeDying || (ui.isEnabled() && !ui.partial)) { in setMockedUsers()
/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.proto250 // A partial connectivity network was detected during network validation
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java468 if (userInfo == null || userInfo.partial || !userInfo.isEnabled() in refreshAgentList()
623 if (info == null || info.partial || !info.isEnabled() || info.guestToRemove) { in refreshDeviceLockedForUser()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/
Dmessage.js348 opt_oneofFields, goog.partial(jspb.Message.computeOneofCase, msg));

12