/system/media/camera/docs/ |
D | metadata_model.py | 52 def __init__(self): argument 53 self._parent = None 54 self._name = None 57 def parent(self): argument 58 return self._parent 61 def name(self): argument 62 return self._name 64 def find_all(self, pred): argument 75 if pred(self): 76 yield self [all …]
|
D | metadata_helpers_test.py | 71 def test_enum_calculate_value_string(self): argument 74 self.assertEquals(val, 107 def test_enumerate_with_last(self): argument 111 self.fail("Should not return anything for empty list") 115 self.assertEquals(1, x) 116 self.assertEquals(True, last) 120 self.assertListEqual([(4, False), (5, False), (6, True)], lst) 122 def test_filter_tags(self): argument 158 self.assertEqual(result_text, expected_text) 160 def test_wbr(self): argument [all …]
|
D | metadata_model_test.py | 6 def test_combine_children_by_name(self): argument 34 self.assertIsInstance(combined_children_namespace, InnerNamespace) 38 self.assertEquals(kind, combined_children_namespace.parent) 39 self.assertEquals(1, len(combined_ins)) 40 self.assertEquals(1, len(combined_ent)) 42 self.assertEquals("ins1", combined_ins[0].name) 43 self.assertEquals("entry3", combined_ent[0].name) 46 self.assertIn(entry1, new_ins.entries) 47 self.assertIn(entry2, new_ins.entries) 51 def test_combine_kinds_into_single_node(self): argument [all …]
|
D | metadata_parser_xml.py | 64 def __init__(self, xml, file_name): argument 76 self._soup = validate_xml(xml) 78 if self._soup is None: 81 self._metadata = Metadata() 82 self._parse() 83 self._metadata.construct_graph() 102 def soup(self): argument 103 return self._soup 106 def metadata(self): argument 107 return self._metadata [all …]
|
/system/extras/tests/sdcard/ |
D | plot_sdcard.py | 50 def __init__(self, line): argument 53 self.time = [] 54 self.data = [] 55 self.name = res.group(1) 56 self.duration = float(res.group(2)) 57 self.iteration = int(res.group(3)) 58 self.summary = re.match('([a-z_]+)_total', self.name) 60 def __repr__(self): argument 61 return str(zip(self.time, self.data)) 63 def Add(self, time, value): argument [all …]
|
/system/core/healthd/ |
D | healthd_mode_android.cpp | 41 IPCThreadState::self()->flushCommands(); in healthd_mode_android_preparetowait() 46 IPCThreadState::self()->handlePolledCommands(); in binder_event() 50 ProcessState::self()->setThreadPoolMaxThreadCount(0); in healthd_mode_android_init() 51 IPCThreadState::self()->disableBackgroundScheduling(true); in healthd_mode_android_init() 52 IPCThreadState::self()->setupPolling(&gBinderFd); in healthd_mode_android_init()
|
D | BatteryPropertiesRegistrar.cpp | 80 IPCThreadState* self = IPCThreadState::self(); in dump() local 81 const int pid = self->getCallingPid(); in dump() 82 const int uid = self->getCallingUid(); in dump()
|
/system/core/libutils/ |
D | Threads.cpp | 742 Thread* const self = static_cast<Thread*>(user); in _threadLoop() local 744 sp<Thread> strong(self->mHoldSelf); in _threadLoop() 746 self->mHoldSelf.clear(); in _threadLoop() 750 self->mTid = gettid(); in _threadLoop() 759 self->mStatus = self->readyToRun(); in _threadLoop() 760 result = (self->mStatus == NO_ERROR); in _threadLoop() 762 if (result && !self->exitPending()) { in _threadLoop() 773 result = self->threadLoop(); in _threadLoop() 776 result = self->threadLoop(); in _threadLoop() 781 Mutex::Autolock _l(self->mLock); in _threadLoop() [all …]
|
D | Looper.cpp | 114 Looper* const self = static_cast<Looper*>(st); in threadDestructor() local 115 if (self != NULL) { in threadDestructor() 116 self->decStrong((void*)threadDestructor); in threadDestructor()
|
/system/security/keystore/ |
D | keystore.cpp | 1595 uid_t callingUid = IPCThreadState::self()->getCallingUid(); in test() 1596 pid_t spid = IPCThreadState::self()->getCallingPid(); in test() 1606 uid_t callingUid = IPCThreadState::self()->getCallingUid(); in get() 1607 pid_t spid = IPCThreadState::self()->getCallingPid(); in get() 1634 pid_t spid = IPCThreadState::self()->getCallingPid(); in insert() 1635 uid_t callingUid = IPCThreadState::self()->getCallingUid(); in insert() 1663 uid_t callingUid = IPCThreadState::self()->getCallingUid(); in del() 1664 pid_t spid = IPCThreadState::self()->getCallingPid(); in del() 1682 uid_t callingUid = IPCThreadState::self()->getCallingUid(); in exist() 1683 pid_t spid = IPCThreadState::self()->getCallingPid(); in exist() [all …]
|
/system/keymaster/ |
D | Makefile | 21 CXXFLAGS=-Wall -Werror -Wno-unused -Winit-self -Wpointer-arith -Wunused-parameter \
|
/system/extras/tests/binder/benchmarks/ |
D | binderAddInts.cpp | 227 sp<ProcessState> proc(ProcessState::self()); in server()
|