Home
last modified time | relevance | path

Searched defs:self (Results 1 – 25 of 30) sorted by relevance

12

/packages/services/Car/tests/BugReportApp/utils/
Dbugreport_app_tester_test.py29 def setUp(self): argument
35 def test_read_lines_from_subprocess(self): argument
40 def test_read_lines_from_subprocess_empty(self): argument
45 def test_adb_with_serialno(self): argument
56 def test_is_adb_root_no(self): argument
62 def test_is_adb_root_yes(self): argument
68 def test_pidof(self): argument
77 def setUp(self): argument
82 def test_delete_all_bugreports(self): argument
94 def test_start_bug_report(self): argument
[all …]
Dbugreport_app_tester.py128 def __init__(self, serialno): argument
136 def _read_lines_from_subprocess(self, popen): argument
148 def adb(self, cmd): argument
169 def adbx(self, cmd): argument
183 def is_adb_root(self): argument
187 def restart_adb_as_root(self): argument
193 def pidof(self, package): argument
201 def disable_internet(self): argument
213 def enable_internet(self): argument
226 def __init__(self, device): argument
[all …]
/packages/services/Car/tools/emulator/
Dobd2_to_diagjson.py40 def __init__(self, doc): argument
43 def __str__(self): argument
46 def __repr__(self): argument
49 def __getattr__(self, attr): argument
52 def __iter__(self): argument
54 def __init__(self, doc): argument
57 def __next__(self): argument
63 def __init__(self): argument
66 def __setattr__(self, name, value): argument
69 def __getattr__(self, name): argument
[all …]
Dvhal_emulator_test.py61 def _getMidpoint(self, minVal, maxVal): argument
66 def _generateTestValue(self, cfg, idx, origValue): argument
105 def _getValueFromMsg(self, rxMsg): argument
136 def _validateVmsMessage(self, rxMsg): argument
142 def _getVmsMessageTypeFromMsg(self, rxMsg): argument
154 def _rxMsgAndValidate(self, expectedType, expectedStatus): argument
167 def testGetConfig(self): argument
181 def testGetBadConfig(self): argument
194 def testGetPropertyAll(self): argument
206 def testGetSet(self): argument
[all …]
Ddiagnostic_builder.py27 def __init__(self, numElements): argument
35 def _getIndices(self, bit): argument
42 def setBit(self, bit): argument
47 def getBit(self, bit): argument
52 def __str__(self): argument
55 def __init__(self, propConfig): argument
67 def addIntSensor(self, idx, value): argument
72 def addFloatSensor(self, idx, value): argument
77 def setStringValue(self, string): argument
81 def build(self): argument
[all …]
Dvhal_emulator.py111 def _txCmd(self, cmd): argument
126 def printHex(self, data): argument
132 def openSocket(self, device=None): argument
149 def rxMsg(self): argument
170 def getConfig(self, prop): argument
180 def getConfigAll(self): argument
188 def getProperty(self, prop, area_id): argument
199 def getPropertyAll(self): argument
207 def setProperty(self, prop, area_id, value, status=VehicleHalProto_pb2.AVAILABLE): argument
259 def __init__(self, types, device=None): argument
Duser_action_generator.py57 def __init__(self, vhalConfig): argument
62 def _getSupportedAreas(self, vhalConfig): argument
69 def _getAreaConfigs(self, vhalConfig, supportedAreas, valueType): argument
88 def __init__(self, vhalAreaConfig, valueType): argument
110 def __init__(self, vhal): argument
114 def _getConfig(self, vhal): argument
124 def _adjustContinuousProperty(self, prop, begin, end, listener): argument
143 def _setProperty(self, prop, value, listener): argument
152 def _range(self, begin, end): argument
164 def generate(self, listener): argument
Ddriving_info_generator.py71 def __init__(self, trkptDom): argument
91 def __init__(self, gpxFile, vhal): argument
110 def _generateFrame(self, listener): argument
121 def _buildDiagnosticLiveFrame(self): argument
137 def _generateFromGpxFrame(self, gpxFrame, listener): argument
180 def _generateInReverseMode(self, duration, listener): argument
197 def _generateInParkMode(self, duration, listener): argument
212 def generate(self, listener): argument
Dvhal_prop_simulator.py37 def __init__(self, device, gpxFile,): argument
41 def handle(self, prop, area_id, value, desc=None): argument
48 def _startGeneratorThread(self, generator): argument
53 def run(self, timeout): argument
Ddiagnostic_injector.py52 def __init__(self, device): argument
69 def chat(self, request): argument
73 def inject(self, file): argument
/packages/services/Car/tools/
Dupdate-obd2-sensors.py30 def __init__(self, descriptor): argument
35 def addSensor(self, sensor): argument
42 def finalizeList(self): argument
51 def __getitem__(self, key): argument
63 def sensor(self, theSensor, theSensors): argument
67 def prefix(self, theSensors): argument
71 def suffix(self, theSensors): argument
75 def indent(self): argument
79 def separator(self): argument
83 def description(self): argument
[all …]
/packages/services/Car/tools/ioanalyze/
Danalyzer.py10 def __init__(self, activity): argument
23 def __init__(self, activity, uptime): argument
44 def __init__(self, f): argument
99 def __init__(self, uid): argument
110 def addSnapshot(self, snapshot): argument
121 def plot(self, foreground=True, background=True, total=True): argument
154 def __init__(self): argument
164 def addSnapshot(self, snapshot): argument
176 def loadDocument(self, doc): argument
180 def sorted(self, f): argument
[all …]
/packages/services/Car/tools/hidl_parser/
Dparser.py85 def __init__(self, name): argument
88 def __str__(self): argument
92 def __init__(self, name, arg): argument
96 def __str__(self): argument
100 def __init__(self, name, base): argument
104 def __str__(self): argument
108 def __init__(self, name): argument
111 def __str__(self): argument
115 def __init__(self, header, cases): argument
120 def fillInValues(self): argument
[all …]
/packages/apps/Car/libs/
Dresource_generator.py27 def __init__(self): argument
61 def HandleColors(self, reader, resource_dir): argument
69 def ValidateHeader(self, header): argument
79 def CreateOrOpenResourceFiles(self, resource_dir, resource_type, modifiers): argument
117 def AddOrUpdateValue(self, xmltree, tag, resource_name, resource_value): argument
140 def FixupIndentation(self, xml_string): argument
161 def ReadStartingLines(self, filename): argument
176 def ModifyXml(self, resources, resource_type, resource_dir, tag): argument
217 def HandleDimens(self, reader, resource_dir): argument
260 def ValidateArgs(self, csv, resource_dir, resource_type): argument
[all …]
/packages/services/BuiltInPrintService/jni/plugins/
Dpdf_render.c52 pdf_render_st_t *self = (pdf_render_st_t *) obj; in openDocument() local
64 pdf_render_st_t *self = (pdf_render_st_t *) obj; in getPageAttributes() local
81 pdf_render_st_t *self = (pdf_render_st_t *) obj; in renderPageStripe() local
97 pdf_render_st_t *self = (pdf_render_st_t *) obj; in destroy() local
136 pdf_render_st_t *self; in create_pdf_render_ifc() local
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DMessageDetailsDialog.java54 final ConversationParticipantsData participants, final ParticipantData self) { in show()
75 final ConversationParticipantsData participants, final ParticipantData self) { in getMessageDetails()
103 final ConversationParticipantsData participants, final ParticipantData self) { in getSmsMessageDetails()
156 final ConversationParticipantsData participants, final ParticipantData self) { in getMmsMessageDetails()
358 final ParticipantData self, final StringBuilder outString) { in appendSimInfo()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DSelfParticipantsData.java81 final ParticipantData self = getSelfParticipantById(selfId); in isDefaultSelf() local
DSettingsData.java89 final ParticipantData self) { in fromSelfParticipant()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DInsertNewMessageAction.java134 final ParticipantData self = getSelf(db, conversationId, message); in executeAction() local
197 ParticipantData self; in getSelf() local
278 final ParticipantData self = BugleDatabaseOperations.getOrCreateSelf(db, subId); in createMessage() local
DSyncMessageBatch.java158 final ParticipantData self = ParticipantData.getSelfParticipant(sms.getSubId()); in storeSms() local
252 final ParticipantData self = ParticipantData.getSelfParticipant(mms.getSubId()); in storeMms() local
DReceiveSmsMessageAction.java127 final ParticipantData self = ParticipantData.getSelfParticipant(subId); in executeAction() local
DReceiveMmsMessageAction.java69 final ParticipantData self = BugleDatabaseOperations.getOrCreateSelf(db, subId); in executeAction() local
DSendMessageAction.java107 final ParticipantData self = BugleDatabaseOperations.getExistingParticipant( in queueAction() local
DDownloadMmsAction.java123 final ParticipantData self = BugleDatabaseOperations in queueAction() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DDictionaryService.java163 final DictionaryService self = this; in onStartCommand() local

12