Home
last modified time | relevance | path

Searched refs:ChangeType (Results 1 – 25 of 32) sorted by relevance

12

/external/python/google-api-python-client/scripts/
Dchangesummary_test.py26 from changesummary import ChangeType
108 df[df["Key"] == "schemas.FileList"].ChangeType.iloc[0], ChangeType.ADDED
134 df[df["Key"] == "schemas.Task"].ChangeType.iloc[0], ChangeType.DELETED
149 self.assertEqual(len(df[df["ChangeType"] == ChangeType.CHANGED]), 1)
150 self.assertEqual(len(df[df["ChangeType"] == ChangeType.ADDED]), 1)
151 self.assertEqual(len(df[df["ChangeType"] == ChangeType.DELETED]), 2)
159 self.assertEqual(df[df["Key"] == key].ChangeType.iloc[0], ChangeType.DELETED)
Dchangesummary.py41 class ChangeType(IntEnum): class
271 ChangeType.DELETED,
272 np.where(added_condition, ChangeType.ADDED, ChangeType.CHANGED),
371 filter_features = (dataframe["ChangeType"] == ChangeType.DELETED) | (
372 dataframe["ChangeType"] == ChangeType.ADDED
428 lastType = ChangeType.UNKNOWN
474 lastType = ChangeType.UNKNOWN
479 if currentType == ChangeType.DELETED:
481 elif currentType == ChangeType.ADDED:
Dbuildprbody.py20 from changesummary import ChangeType
73 dataframe["IsStable"] & (dataframe["ChangeType"] == ChangeType.DELETED)
83 & (dataframe["ChangeType"] == ChangeType.DELETED)
Dbuildprbody_test.py24 from changesummary import ChangeType
/external/cronet/net/android/javatests/src/org/chromium/net/
DNetworkChangeNotifierTest.java354 private static enum ChangeType { NONE, CONNECT, SOON_TO_DISCONNECT, DISCONNECT, PURGE_LIST } enum in NetworkChangeNotifierTest
359 final ChangeType mChangeType;
367 ChangeInfo(ChangeType changeType, long netId) { in ChangeInfo()
390 mChanges.add(new ChangeInfo(ChangeType.CONNECT, netId)); in onNetworkConnect()
396 mChanges.add(new ChangeInfo(ChangeType.SOON_TO_DISCONNECT, netId)); in onNetworkSoonToDisconnect()
402 mChanges.add(new ChangeInfo(ChangeType.DISCONNECT, netId)); in onNetworkDisconnect()
409 mChanges.add(new ChangeInfo(ChangeType.PURGE_LIST, activeNetIds[0])); in purgeActiveNetworkList()
411 mChanges.add(new ChangeInfo(ChangeType.PURGE_LIST, NetId.INVALID)); in purgeActiveNetworkList()
416 public void assertLastChange(ChangeType type, int netId) throws Exception { in assertLastChange()
982 observer.assertLastChange(ChangeType.PURGE_LIST, NetId.INVALID); in testNetworkCallbacks()
[all …]
/external/cronet/net/cert/
Dcaching_cert_verifier_unittest.cc210 enum class ChangeType { enum
218 : public testing::TestWithParam<ChangeType> {
227 ChangeType change_type() const { return GetParam(); } in change_type()
231 case ChangeType::kSetConfig: in DoCacheClearingAction()
234 case ChangeType::kCertVerifierChanged: in DoCacheClearingAction()
237 case ChangeType::kCertDBChanged: in DoCacheClearingAction()
354 testing::Values(ChangeType::kSetConfig,
355 ChangeType::kCertVerifierChanged,
356 ChangeType::kCertDBChanged));
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/
DChartDelta.java228 private enum ChangeType { enum in ChartDelta
230 public static ChangeType get(String oldValue, String currentValue) { in get()
238 private Counter<ChangeType> counter = new Counter<>();
239 private Map<String, Counter<ChangeType>> fileCounters = new TreeMap<>();
245 private void addChange(String file, ChangeType changeType, int count) { in addChange()
247 Counter<ChangeType> fileCounter = fileCounters.get(file); in addChange()
258 for (ChangeType item : ChangeType.values()) { in showTotals()
259 pw.print("\t" + (item == ChangeType.same ? "total" : item.toString())); in showTotals()
264 for (Entry<String, Counter<ChangeType>> entry : fileCounters.entrySet()) { in showTotals()
276 private void showTotal(PrintWriter pw, String title2, Counter<ChangeType> counter2) { in showTotal()
[all …]
/external/openscreen/discovery/mdns/
Dmdns_record_changed_callback.h25 enum ChangeType { kStartQuery, kStopQuery }; enum
30 ChangeType change_type;
/external/cronet/base/metrics/
Dpersistent_memory_allocator.h465 bool ChangeType(Reference ref,
563 if (!ChangeType(ref, kTypeIdTransitioning, from_type_id, clear)) in New()
571 ChangeType(ref, T::kPersistentTypeId, kTypeIdTransitioning, false); in New()
586 if (!ChangeType(ref, kTypeIdTransitioning, T::kPersistentTypeId, false)) in Delete()
592 bool success = ChangeType(ref, new_type, kTypeIdTransitioning, false); in Delete()
Dpersistent_memory_allocator_unittest.cc227 allocator_->ChangeType(block2, 3, 2, false); in TEST_F()
638 local.ChangeType(r456, 654, 456, false); in TEST()
714 ASSERT_TRUE(shalloc3.ChangeType(data_ref, 119, 911, false)); in TEST()
719 ASSERT_TRUE(shalloc3.ChangeType(data_ref, 191, 119, true)); in TEST()
743 local.ChangeType(r456, 654, 456, false); in TEST()
Dpersistent_memory_allocator.cc556 bool PersistentMemoryAllocator::ChangeType(Reference ref, in ChangeType() function in base::PersistentMemoryAllocator
1223 allocator_->ChangeType(ref, 0, type_, /*clear=*/false); in Get()
/external/libchrome/base/metrics/
Dpersistent_memory_allocator.h453 bool ChangeType(Reference ref,
551 if (!ChangeType(ref, kTypeIdTransitioning, from_type_id, clear)) in New()
559 ChangeType(ref, T::kPersistentTypeId, kTypeIdTransitioning, false); in New()
574 if (!ChangeType(ref, kTypeIdTransitioning, T::kPersistentTypeId, false)) in Delete()
580 bool success = ChangeType(ref, new_type, kTypeIdTransitioning, false); in Delete()
Dpersistent_memory_allocator_unittest.cc223 allocator_->ChangeType(block2, 3, 2, false); in TEST_F()
630 local.ChangeType(r456, 654, 456, false); in TEST()
708 ASSERT_TRUE(shalloc3.ChangeType(data_ref, 119, 911, false)); in TEST()
713 ASSERT_TRUE(shalloc3.ChangeType(data_ref, 191, 119, true)); in TEST()
738 local.ChangeType(r456, 654, 456, false); in TEST()
Dpersistent_memory_allocator.cc554 bool PersistentMemoryAllocator::ChangeType(Reference ref, in ChangeType() function in base::PersistentMemoryAllocator
1189 allocator_->ChangeType(ref, 0, type_, /*clear=*/false); in Get()
/external/cronet/net/spdy/
Dspdy_session_pool_unittest.cc915 enum class ChangeType { enum
924 public ::testing::WithParamInterface<ChangeType> {
929 if (GetParam() == ChangeType::kIpAddress) { in SetUp()
936 case ChangeType::kIpAddress: in SimulateChange()
939 case ChangeType::kSSLConfig: in SimulateChange()
942 case ChangeType::kCertDatabase: in SimulateChange()
952 case ChangeType::kCertVerifier: in SimulateChange()
960 case ChangeType::kIpAddress: in ExpectedNetError()
962 case ChangeType::kSSLConfig: in ExpectedNetError()
964 case ChangeType::kCertDatabase: in ExpectedNetError()
[all …]
/external/cronet/net/android/
Dnetwork_change_notifier_android_unittest.cc27 enum ChangeType { enum
138 void ExpectChange(ChangeType change, handles::NetworkHandle network) { in ExpectChange()
173 ChangeType last_change_type_;
242 void FakeNetworkChange(ChangeType change, in FakeNetworkChange()
/external/gptfdisk/
Dgptcurses.h107 void ChangeType(int partNum);
Dgptpart.h98 void ChangeType(void); // Change the type code
Dgptcurses.cc375 void GPTDataCurses::ChangeType(int partNum) { in ChangeType() function in GPTDataCurses
473 ChangeType(partNum); in MakeNewPart()
734 ChangeType(currentSpace->partNum); in Dispatch()
Dgpttext.cc255 partitions[partNum].ChangeType(); in CreatePartition()
287 partitions[partNum].ChangeType(); in ChangePartType()
Dgptpart.cc433 void GPTPart::ChangeType(void) { function in GPTPart
/external/libchrome/base/debug/
Dactivity_tracker_unittest.cc573 global->allocator()->ChangeType( in TEST_F()
576 global->allocator()->ChangeType( in TEST_F()
579 global->allocator()->ChangeType( in TEST_F()
Dactivity_tracker.cc85 if (allocator->ChangeType(ref, to_type, from_type, /*clear=*/false)) in AllocateFrom()
201 if (allocator_->ChangeType(cached, object_type_, object_free_type_, false)) in GetObjectReference()
219 if (allocator_->ChangeType(found, object_type_, object_free_type_, false)) in GetObjectReference()
241 bool success = allocator_->ChangeType(ref, object_free_type_, object_type_, in ReleaseObjectReference()
1591 allocator_->ChangeType(ref, ~type, type, /*clear=*/true); in CleanupAfterProcess()
/external/go-cmp/cmp/internal/teststructs/
Dproject1.go259 ChangeType []pb.SummerType member
/external/python/google-api-python-client/scripts/test_resources/buildprbody_resources/
Dallapis.dataframe1 ,Key,Added,Deleted,Name,Version,ChangeType,Count,IsStable,IsFeature,IsFeatureAggregate,Summary

12