/frameworks/base/services/core/java/com/android/server/net/ |
NetworkIdentitySet.java | 86 for (NetworkIdentity ident : this) { 87 out.writeInt(ident.getType()); 88 out.writeInt(ident.getSubType()); 89 writeOptionalString(out, ident.getSubscriberId()); 90 writeOptionalString(out, ident.getNetworkId()); 91 out.writeBoolean(ident.getRoaming()); 92 out.writeBoolean(ident.getMetered()); 101 for (NetworkIdentity ident : this) { 102 if (ident.getMetered()) { 114 for (NetworkIdentity ident : this) [all...] |
NetworkStatsCollection.java | 207 && templateMatches(template, key.ident)) { 241 if (templateMatches(template, key.ident) 251 entry.metered = key.ident.isAnyMemberMetered() ? METERED_YES : METERED_NO; 252 entry.roaming = key.ident.isAnyMemberRoaming() ? ROAMING_YES : ROAMING_NO; 271 public void recordData(NetworkIdentitySet ident, int uid, int set, int tag, long start, 273 final NetworkStatsHistory history = findOrCreateHistory(ident, uid, set, tag); 306 NetworkIdentitySet ident, int uid, int set, int tag) { 307 final Key key = new Key(ident, uid, set, tag); 344 final NetworkIdentitySet ident = new NetworkIdentitySet(in); local 352 final Key key = new Key(ident, uid, set, tag) 418 final NetworkIdentitySet ident = new NetworkIdentitySet(in); local 472 final NetworkIdentitySet ident = new NetworkIdentitySet(in); local 646 public final NetworkIdentitySet ident; field in class:NetworkStatsCollection.Key [all...] |
/test/vts/utils/python/coverage/ |
file_summary.py | 25 in a GCNO file (key: integer ident, value: FunctionSummary object) 40 for ident in self.functions: 41 output += str(self.functions[ident])
|
arc_summary_test.py | 54 for ident in range(n): 55 block = block_summary.BlockSummary(ident, 0) 63 for ident in range(n, 2 * n - 1): 64 block = block_summary.BlockSummary(ident, 0) 91 for ident in range(n): 92 block = block_summary.BlockSummary(ident, 0) 100 for ident in range(n, 2 * n - 1): 101 block = block_summary.BlockSummary(ident, 0)
|
function_summary.py | 23 ident: integer function identifier. 30 def __init__(self, ident, name, src_file_name, first_line_number): 38 ident: integer function identifier. 45 self.ident = ident
|
coverage_report.py | 51 for ident in gcno_file_summary.functions: 52 func = gcno_file_summary.functions[ident]
|
gcda_parser_test.py | 41 ident = 100 44 func = function_summary.FunctionSummary(ident, 'test', 'test.c', 0) 45 fs.functions[ident] = func 46 self.stream = MockStream.concat_int(self.stream, ident) 54 assert (func.ident == ident) 66 fs.functions[func.ident] = func 90 fs.functions[func.ident] = func
|
/frameworks/base/core/java/android/net/ |
NetworkTemplate.java | 276 public boolean matches(NetworkIdentity ident) { 279 return matchesMobile(ident); 281 return matchesMobile3gLower(ident); 283 return matchesMobile4g(ident); 285 return matchesWifi(ident); 287 return matchesEthernet(ident); 289 return matchesMobileWildcard(ident); 291 return matchesWifiWildcard(ident); 293 return matchesBluetooth(ident); 295 return matchesProxy(ident); [all...] |
NetworkIdentity.java | 81 final NetworkIdentity ident = (NetworkIdentity) obj; local 82 return mType == ident.mType && mSubType == ident.mSubType && mRoaming == ident.mRoaming 83 && Objects.equals(mSubscriberId, ident.mSubscriberId) 84 && Objects.equals(mNetworkId, ident.mNetworkId) 85 && mMetered == ident.mMetered;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
which.py | 27 ident = ()
39 if not ident:
41 ident = st[:3]
43 if st[:3] == ident:
53 if not ident:
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_sys_setprofile.py | 47 self.events.append((frameno, event, ident(frame)))
51 disallowed = [ident(self.add_event.im_func), ident(ident)]
107 f_ident = ident(f)
115 f_ident = ident(f)
124 f_ident = ident(f)
133 f_ident = ident(f)
141 f_ident = ident(f)
158 f_ident = ident(f) 340 def ident(function): function [all...] |
test_thread.py | 47 def task(self, ident):
50 verbose_print("task %s will run for %sus" % (ident, round(delay*1e6)))
52 verbose_print("task %s done" % ident)
170 def task2(self, ident):
172 if ident == 0:
181 (ident, round(delay * 1e6)))
183 verbose_print("task %s entering %s" % (ident, i))
185 verbose_print("task %s leaving barrier" % ident)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_sys_setprofile.py | 47 self.events.append((frameno, event, ident(frame))) 51 disallowed = [ident(self.add_event.im_func), ident(ident)] 107 f_ident = ident(f) 115 f_ident = ident(f) 124 f_ident = ident(f) 133 f_ident = ident(f) 141 f_ident = ident(f) 158 f_ident = ident(f 340 def ident(function): function [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_sys_setprofile.py | 47 self.events.append((frameno, event, ident(frame))) 51 disallowed = [ident(self.add_event.im_func), ident(ident)] 107 f_ident = ident(f) 115 f_ident = ident(f) 124 f_ident = ident(f) 133 f_ident = ident(f) 141 f_ident = ident(f) 158 f_ident = ident(f 340 def ident(function): function [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_sys_setprofile.py | 47 self.events.append((frameno, event, ident(frame))) 51 disallowed = [ident(self.add_event.im_func), ident(ident)] 107 f_ident = ident(f) 115 f_ident = ident(f) 124 f_ident = ident(f) 133 f_ident = ident(f) 141 f_ident = ident(f) 158 f_ident = ident(f 340 def ident(function): function [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_sys_setprofile.py | 47 self.events.append((frameno, event, ident(frame))) 51 disallowed = [ident(self.add_event.im_func), ident(ident)] 107 f_ident = ident(f) 115 f_ident = ident(f) 124 f_ident = ident(f) 133 f_ident = ident(f) 141 f_ident = ident(f) 158 f_ident = ident(f 340 def ident(function): function [all...] |
/external/chromium-trace/catapult/telemetry/third_party/altgraph/altgraph/ |
ObjectGraph.py | 41 for ident in self.graph: 42 node = self.graph.node_data(ident) 44 yield self.graph.node_data(ident) 53 ident = tpl[n] 54 if ident not in seen: 55 yield self.findNode(ident) 56 seen.add(ident) 92 ident = self.getIdent(node) 93 if ident is not None: 94 self.graph.hide_node(ident) [all...] |
/external/guava/guava/src/com/google/common/eventbus/ |
AnnotatedSubscriberFinder.java | 106 MethodIdentifier ident = (MethodIdentifier) o; local 107 return name.equals(ident.name) && parameterTypes.equals(ident.parameterTypes); 127 MethodIdentifier ident = new MethodIdentifier(superClazzMethod); local 128 if (!identifiers.containsKey(ident)) { 129 identifiers.put(ident, superClazzMethod);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiMulticastLockManager.java | 146 final long ident = Binder.clearCallingIdentity(); local 151 Binder.restoreCallingIdentity(ident); 180 final long ident = Binder.clearCallingIdentity(); local 185 Binder.restoreCallingIdentity(ident);
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaDocumentsProvider.java | 160 private static class Ident { 165 private static Ident getIdentForDocId(String docId) { 166 final Ident ident = new Ident(); local 169 ident.type = docId; 170 ident.id = -1; 172 ident.type = docId.substring(0, split); 173 ident.id = Long.parseLong(docId.substring(split + 1)); 175 return ident; 191 final Ident ident = getIdentForDocId(docId); local 232 final Ident ident = getIdentForDocId(docId); local 325 final Ident ident = getIdentForDocId(docId); local 511 final Ident ident = getIdentForDocId(docId); local [all...] |
/frameworks/base/services/core/java/com/android/server/dreams/ |
DreamManagerService.java | 485 final long ident = Binder.clearCallingIdentity(); local 489 Binder.restoreCallingIdentity(ident); 498 final long ident = Binder.clearCallingIdentity(); local 502 Binder.restoreCallingIdentity(ident); 511 final long ident = Binder.clearCallingIdentity(); local 515 Binder.restoreCallingIdentity(ident); 524 final long ident = Binder.clearCallingIdentity(); local 528 Binder.restoreCallingIdentity(ident); 536 final long ident = Binder.clearCallingIdentity(); local 540 Binder.restoreCallingIdentity(ident); 548 final long ident = Binder.clearCallingIdentity(); local 572 final long ident = Binder.clearCallingIdentity(); local 584 final long ident = Binder.clearCallingIdentity(); local 599 final long ident = Binder.clearCallingIdentity(); local 614 final long ident = Binder.clearCallingIdentity(); local 629 final long ident = Binder.clearCallingIdentity(); local [all...] |
/frameworks/base/services/core/java/com/android/server/job/ |
JobSchedulerShellCommand.java | 153 final long ident = Binder.clearCallingIdentity(); local 169 Binder.restoreCallingIdentity(ident); 200 final long ident = Binder.clearCallingIdentity(); local 204 Binder.restoreCallingIdentity(ident); 220 final long ident = Binder.clearCallingIdentity(); local 226 Binder.restoreCallingIdentity(ident); 288 final long ident = Binder.clearCallingIdentity(); local 294 Binder.restoreCallingIdentity(ident);
|
/frameworks/base/services/restrictions/java/com/android/server/restrictions/ |
RestrictionsManagerService.java | 79 long ident = Binder.clearCallingIdentity(); local 83 Binder.restoreCallingIdentity(ident); 100 long ident = Binder.clearCallingIdentity(); local 121 Binder.restoreCallingIdentity(ident); 133 long ident = Binder.clearCallingIdentity(); local 153 Binder.restoreCallingIdentity(ident); 166 long ident = Binder.clearCallingIdentity(); local 182 Binder.restoreCallingIdentity(ident);
|
/prebuilts/go/darwin-x86/src/cmd/vet/ |
shadow.go | 91 func (pkg *Package) growSpan(ident *ast.Ident, obj types.Object) { 95 pos := ident.Pos() 96 end := ident.End() 120 ident, ok := expr.(*ast.Ident) 125 checkShadowing(f, ident) 142 lhs, ok := expr.(*ast.Ident) 148 case *ast.Ident: 153 if id, ok := rhs.X.(*ast.Ident); ok [all...] |
/prebuilts/go/linux-x86/src/cmd/vet/ |
shadow.go | 91 func (pkg *Package) growSpan(ident *ast.Ident, obj types.Object) { 95 pos := ident.Pos() 96 end := ident.End() 120 ident, ok := expr.(*ast.Ident) 125 checkShadowing(f, ident) 142 lhs, ok := expr.(*ast.Ident) 148 case *ast.Ident: 153 if id, ok := rhs.X.(*ast.Ident); ok [all...] |