Lines Matching refs:uid
154 _getActivity(uid, hook) {
155 const h = this._activities.get(uid);
161 const stub = { uid, type: 'Unknown', handleIsObject: true, handle: {} };
162 this._activities.set(uid, stub);
176 _init(uid, type, triggerAsyncId, handle) {
178 uid,
187 this._activities.set(uid, activity);
188 this._maybeLog(uid, type, 'init');
189 this.oninit(uid, type, triggerAsyncId, handle);
192 _before(uid) {
193 const h = this._getActivity(uid, 'before');
195 this._maybeLog(uid, h && h.type, 'before');
196 this.onbefore(uid);
199 _after(uid) {
200 const h = this._getActivity(uid, 'after');
202 this._maybeLog(uid, h && h.type, 'after');
203 this.onafter(uid);
206 _destroy(uid) {
207 const h = this._getActivity(uid, 'destroy');
209 this._maybeLog(uid, h && h.type, 'destroy');
210 this.ondestroy(uid);
213 _promiseResolve(uid) {
214 const h = this._getActivity(uid, 'promiseResolve');
216 this._maybeLog(uid, h && h.type, 'promiseResolve');
217 this.onpromiseResolve(uid);
220 _maybeLog(uid, type, name) {
223 print(`${this._logid}.${name}.uid-${uid}`);