HomeSort by relevance Sort by last modified time
    Searched refs:ObjectId (Results 1 - 25 of 74) sorted by null

1 2 3

  /external/chromium_org/sync/notifier/
ack_handler.h 13 class ObjectId;
31 const invalidation::ObjectId& id,
36 const invalidation::ObjectId& id,
invalidation_util.h 25 class ObjectId;
28 SYNC_EXPORT_PRIVATE void PrintTo(const invalidation::ObjectId& id,
38 bool operator()(const invalidation::ObjectId& lhs,
39 const invalidation::ObjectId& rhs) const;
47 typedef std::set<invalidation::ObjectId, ObjectIdLessThan> ObjectIdSet;
50 invalidation::ObjectId* object_id);
52 bool ObjectIdToRealModelType(const invalidation::ObjectId& object_id,
57 const invalidation::ObjectId& object_id);
60 invalidation::ObjectId* out);
63 const invalidation::ObjectId& object_id)
    [all...]
dropped_invalidation_tracker.h 19 // ObjectId.
24 // invalidations should keep one instance of it per registered ObjectId.
32 explicit DroppedInvalidationTracker(const invalidation::ObjectId& id);
35 const invalidation::ObjectId& object_id() const;
51 invalidation::ObjectId id_;
registration_manager.h 60 typedef std::map<invalidation::ObjectId,
78 void MarkRegistrationLost(const invalidation::ObjectId& id);
85 void DisableId(const invalidation::ObjectId& id);
113 RegistrationStatus(const invalidation::ObjectId& id,
126 const invalidation::ObjectId id;
150 typedef std::map<invalidation::ObjectId,
160 void TryRegisterId(const invalidation::ObjectId& id,
167 void DoRegisterId(const invalidation::ObjectId& id);
170 void UnregisterId(const invalidation::ObjectId& id);
176 bool IsIdRegistered(const invalidation::ObjectId& id) const
    [all...]
unacked_invalidation_set.h 30 // a particular ObjectId. This set of invalidations will be persisted across
36 UnackedInvalidationSet(invalidation::ObjectId id);
39 // Returns the ObjectID of the invalidations this class is tracking.
40 const invalidation::ObjectId& object_id() const;
107 invalidation::ObjectId object_id_;
111 typedef std::map<invalidation::ObjectId,
dropped_invalidation_tracker.cc 12 const invalidation::ObjectId& id)
18 const invalidation::ObjectId& DroppedInvalidationTracker::object_id() const {
mock_ack_handler.h 46 const invalidation::ObjectId& id,
49 const invalidation::ObjectId& id,
invalidation_util.cc 18 void PrintTo(const invalidation::ObjectId& id, std::ostream* os) {
25 bool ObjectIdLessThan::operator()(const invalidation::ObjectId& lhs,
26 const invalidation::ObjectId& rhs) const {
51 invalidation::ObjectId* object_id) {
61 bool ObjectIdToRealModelType(const invalidation::ObjectId& object_id,
67 const invalidation::ObjectId& object_id) {
75 invalidation::ObjectId* out) {
76 *out = invalidation::ObjectId();
83 *out = invalidation::ObjectId(source, name);
88 const invalidation::ObjectId& object_id)
    [all...]
object_id_invalidation_map.h 47 invalidation::ObjectId id) const;
65 typedef std::map<invalidation::ObjectId,
sync_invalidation_listener_unittest.cc 31 using invalidation::ObjectId;
84 virtual void Register(const ObjectId& object_id) OVERRIDE {
93 const invalidation::vector<ObjectId>& object_ids) OVERRIDE {
101 virtual void Unregister(const ObjectId& object_id) OVERRIDE {
110 const invalidation::vector<ObjectId>& object_ids) OVERRIDE {
115 for (invalidation::vector<ObjectId>::const_iterator
144 size_t GetInvalidationCount(const ObjectId& id) const {
153 int64 GetVersion(const ObjectId& id) const {
163 std::string GetPayload(const ObjectId& id) const {
173 bool IsUnknownVersion(const ObjectId& id) const
    [all...]
  /dalvik/vm/
Debugger.h 100 ObjectId exceptObj;
163 ObjectId dvmDbgGetClassObject(RefTypeId id);
165 ObjectId dvmDbgGetClassLoader(RefTypeId id);
169 void dvmDbgGetVisibleClassList(ObjectId classLoaderId, u4* pNumClasses,
175 void dvmDbgGetObjectType(ObjectId objectId, u1* pRefTypeTag,
180 const char* dvmDbgGetObjectTypeName(ObjectId objectId);
181 u1 dvmDbgGetObjectTag(ObjectId objectId);
    [all...]
  /external/chromium_org/sync/android/javatests/src/org/chromium/sync/notifier/
TestableInvalidationService.java 12 import com.google.ipc.invalidation.external.client.types.ObjectId;
29 final List<List<ObjectId>> mRegistrations = new ArrayList<List<ObjectId>>();
32 final List<List<ObjectId>> mUnregistrations = new ArrayList<List<ObjectId>>();
38 final Set<ObjectId> mCurrentRegistrations = new HashSet<ObjectId>();
63 public void register(byte[] clientId, Iterable<ObjectId> objectIds) {
64 List<ObjectId> objectIdList = CollectionUtil.newArrayList(objectIds);
71 public void unregister(byte[] clientId, Iterable<ObjectId> objectIds)
    [all...]
InvalidationServiceTest.java 18 import com.google.ipc.invalidation.external.client.types.ObjectId;
81 Set<ObjectId> regAccumulator = new HashSet<ObjectId>();
82 Set<ObjectId> unregAccumulator = new HashSet<ObjectId>();
95 InvalidationService.computeRegistrationOps(new HashSet<ObjectId>(),
96 new HashSet<ObjectId>(), regAccumulator, unregAccumulator);
102 Set<ObjectId> desiredTypes =
106 new HashSet<ObjectId>(),
112 new HashSet<ObjectId>(regAccumulator))
    [all...]
  /art/runtime/jdwp/
object_registry.h 44 JDWP::ObjectId id;
57 JDWP::ObjectId Add(mirror::Object* o) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
60 template<typename T> T Get(JDWP::ObjectId id) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) {
71 void DisableCollection(JDWP::ObjectId id) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
72 void EnableCollection(JDWP::ObjectId id) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
74 bool IsCollected(JDWP::ObjectId id) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
76 void DisposeObject(JDWP::ObjectId id, uint32_t reference_count)
84 jobject GetJObject(JDWP::ObjectId id) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
87 JDWP::ObjectId InternalAdd(mirror::Object* o) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
88 mirror::Object* InternalGet(JDWP::ObjectId id) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_)
    [all...]
jdwp.h 44 * ObjectId and RefTypeId must be the same size.
48 typedef uint64_t ObjectId; /* any object (threadID, stringID, arrayID, etc) */
49 typedef uint64_t RefTypeId; /* like ObjectID, but unique for Class objects */
52 ObjectId ReadObjectId(const uint8_t** pBuf);
56 static inline void SetObjectId(uint8_t* buf, ObjectId val) { return Set8BE(buf, val); }
61 static inline void expandBufAddObjectId(ExpandBuf* pReply, ObjectId id) { expandBufAdd8BE(pReply, id); }
155 // ObjectId GetWaitForEventThread();
156 void SetWaitForEventThread(ObjectId threadId);
189 bool PostLocationEvent(const JdwpLocation* pLoc, ObjectId thisPtr, int eventFlags)
197 bool PostException(const JdwpLocation* pThrowLoc, ObjectId excepId, RefTypeId excepClassId
    [all...]
jdwp_event.h 45 ObjectId threadId;
76 ObjectId threadId;
82 ObjectId objectId;
  /art/runtime/
debugger.h 77 JDWP::ObjectId exception;
133 static JDWP::JdwpError GetClassObject(JDWP::RefTypeId id, JDWP::ObjectId& class_object_id)
150 static JDWP::JdwpError GetReferenceType(JDWP::ObjectId object_id, JDWP::ExpandBuf* pReply)
156 static JDWP::JdwpError GetObjectTag(JDWP::ObjectId object_id, uint8_t& tag)
160 static JDWP::JdwpError GetArrayLength(JDWP::ObjectId array_id, int& length)
162 static JDWP::JdwpError OutputArray(JDWP::ObjectId array_id, int offset, int count,
165 static JDWP::JdwpError SetArrayElements(JDWP::ObjectId array_id, int offset, int count,
169 static JDWP::ObjectId CreateString(const std::string& str)
171 static JDWP::JdwpError CreateObject(JDWP::RefTypeId class_id, JDWP::ObjectId& new_object)
174 JDWP::ObjectId& new_array
    [all...]
  /external/chromium_org/sync/internal_api/public/base/
invalidation.h 30 const invalidation::ObjectId& id,
33 static Invalidation InitUnknownVersion(const invalidation::ObjectId& id);
43 invalidation::ObjectId object_id() const;
90 // to record another drop event for the same ObjectID. Refer to the
98 Invalidation(const invalidation::ObjectId& id,
104 // The ObjectId to which this invalidation belongs.
105 invalidation::ObjectId id_;
  /external/chromium/chrome/browser/sync/notifier/
invalidation_util.h 21 invalidation::ObjectId* object_id);
23 bool ObjectIdToRealModelType(const invalidation::ObjectId& object_id,
29 std::string ObjectIdToString(const invalidation::ObjectId& object_id);
invalidation_util.cc 17 invalidation::ObjectId* object_id) {
27 bool ObjectIdToRealModelType(const invalidation::ObjectId& object_id,
35 const invalidation::ObjectId& object_id) {
47 invalidation::ObjectId(
  /external/chromium_org/sync/android/java/src/org/chromium/sync/internal_api/pub/base/
ModelType.java 10 import com.google.ipc.invalidation.external.client.types.ObjectId;
94 * Returns the {@link ObjectId} representation of this {@link ModelType}.
101 public ObjectId toObjectId() {
102 return ObjectId.newInstance(Types.ObjectSource.Type.CHROME_SYNC.getNumber(),
106 public static ModelType fromObjectId(ObjectId objectId) {
108 return valueOf(new String(objectId.getName()));
142 * Converts a set of sync types {@link String} to a set of {@link ObjectId}.
146 public static Set<ObjectId> syncTypesToObjectIds(Collection<String> syncTypes) {
151 * Converts a set of {@link ModelType} to a set of {@link ObjectId}
    [all...]
  /external/chromium_org/sync/android/java/src/org/chromium/sync/notifier/
InvalidationService.java 19 import com.google.ipc.invalidation.external.client.types.ObjectId;
116 public void invalidateUnknownVersion(ObjectId objectId, byte[] ackHandle) {
117 requestSync(objectId, null, null);
129 byte[] clientId, ObjectId objectId, boolean isTransient, String errorMessage) {
130 Log.w(TAG, "Registration failure on " + objectId + " ; transient = " + isTransient
135 List<ObjectId> objectIdAsList = CollectionUtil.newArrayList(objectId);
136 if (readRegistrationsFromPrefs().contains(objectId)) {
    [all...]
  /dalvik/vm/jdwp/
Jdwp.h 38 * ObjectId and RefTypeId must be the same size.
42 typedef u8 ObjectId; /* any object (threadID, stringID, arrayID, etc) */
43 typedef u8 RefTypeId; /* like ObjectID, but unique for Class objects */
52 INLINE ObjectId dvmReadObjectId(const u1** pBuf) { return read8BE(pBuf); }
57 INLINE void dvmSetObjectId(u1* buf, ObjectId val) { return set8BE(buf, val); }
66 INLINE void expandBufAddObjectId(ExpandBuf* pReply, ObjectId id) {
158 //ObjectId dvmJdwpGetWaitForEventThread(JdwpState* state);
159 void dvmJdwpSetWaitForEventThread(JdwpState* state, ObjectId threadId);
203 ObjectId thisPtr, int eventFlags);
211 ObjectId excepId, RefTypeId excepClassId, const JdwpLocation* pCatchLoc
    [all...]
JdwpEvent.h 40 ObjectId threadId;
71 ObjectId threadId;
77 ObjectId objectId;
  /external/chromium_org/chrome/browser/extensions/api/push_messaging/
push_messaging_invalidation_handler_unittest.cc 83 expected_ids.insert(invalidation::ObjectId(
86 expected_ids.insert(invalidation::ObjectId(
89 expected_ids.insert(invalidation::ObjectId(
92 expected_ids.insert(invalidation::ObjectId(
109 invalidation::ObjectId(
117 invalidation::ObjectId(
133 invalidation::ObjectId(
138 invalidation::ObjectId(
143 invalidation::ObjectId(
148 invalidation::ObjectId(
    [all...]

Completed in 395 milliseconds

1 2 3