/tools/asuite/atest-py2/test_runners/ |
D | event_handler.py | 80 self.state = CONNECTION_STATE.copy() 86 self.state['current_group'] = event_data['moduleName'] 87 self.state['last_failed'] = None 88 self.state['current_test'] = None 92 self.state['test_run_name'] = event_data.setdefault('runName', '') 93 self.state['current_group_total'] = event_data['testCount'] 94 self.state['test_count'] = 0 95 self.state['last_failed'] = None 96 self.state['current_test'] = None 101 self.state['current_test'] = name [all …]
|
/tools/asuite/atest/test_runners/ |
D | event_handler.py | 84 self.state = CONNECTION_STATE.copy() 92 self.state['current_group'] = event_data['moduleName'] 93 self.state['last_failed'] = None 94 self.state['current_test'] = None 99 self.state['test_run_name'] = event_data.setdefault('runName', '') 100 self.state['current_group_total'] = event_data['testCount'] 101 self.state['test_count'] = 0 102 self.state['last_failed'] = None 103 self.state['current_test'] = None 108 self.state['current_test'] = name [all …]
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/importers/ftrace/events/ |
D | TraceMarkerEvent.kt | 23 override fun import(event: FtraceEvent, state: FtraceImporterState) { in <lambda>() 24 state.threadFor(event.pid, tgid, event.task).slicesBuilder.beginSlice { in <lambda>() 32 override fun import(event: FtraceEvent, state: FtraceImporterState) { in import() 33 state.threadFor(event.pid, event.tgid, event.task).slicesBuilder.endSlice { in import() 40 override fun import(event: FtraceEvent, state: FtraceImporterState) { in import() 41 state.threadFor(event.pid, tgid, event.task).process in import() 48 override fun import(event: FtraceEvent, state: FtraceImporterState) { in import() 49 state.processFor(tgid, event.task).asyncSlicesBuilder in import() 55 override fun import(event: FtraceEvent, state: FtraceImporterState) { in import() 56 state.processFor(tgid, event.task).asyncSlicesBuilder in import() [all …]
|
D | EventParserState.kt | 32 fun import(event: FtraceEvent, state: FtraceImporterState) in <lambda>() 36 override fun import(event: FtraceEvent, state: FtraceImporterState) {} in import() 39 typealias EventDetailsParser = (state: EventParserState, slice: DataSlice) -> FtraceEventDetails? 72 onParseDetails(funcName) { state, details -> in onParseDetailsWithMatch() method 73 state.ifMatches(patternMatcher, details) { in onParseDetailsWithMatch() 84 onParseDetails(funcName) { state, details -> in onParseDetailsWithMatch() method 85 state.ifMatches(patternMatcher, details) { in onParseDetailsWithMatch()
|
D | FtraceEvent.kt | 34 fun import(state: FtraceImporterState) { in <lambda>() 35 details.import(this, state) in <lambda>() 47 fun tryParseText(state: EventParserState, slice: DataSlice): FtraceEvent? { in <lambda>() 48 state.ifMatches(ftraceLineMatcher, slice) { in <lambda>() 58 details = state.detailsForText(function, slice(7)) in <lambda>() 61 state.ifMatches(cpuBufferStarted, slice) { in <lambda>()
|
D | SchedEvent.kt | 56 override fun import(event: FtraceEvent, state: FtraceImporterState) { in import() 57 val prevThread = state.threadFor(prevPid, task = prevComm) in import() 58 val nextThread = state.threadFor(nextPid, task = nextComm) in import() 59 val cpu = state.cpuFor(event.cpu) in import() 69 override fun import(event: FtraceEvent, state: FtraceImporterState) { in import() 70 val thread = state.threadFor(pid, task = comm) in import()
|
/tools/metalava/src/main/java/com/android/tools/lint/checks/infrastructure/ |
D | ClassName.kt | 52 var state = 0 in packageNameWithDefault() variable 65 when (state) { in packageNameWithDefault() 68 '/' -> state = INIT_SLASH in packageNameWithDefault() 70 state = IN_STRING in packageNameWithDefault() 74 state = IN_CHAR in packageNameWithDefault() 82 c == '*' -> { blockCommentDepth++; state = BLOCK_COMMENT } in packageNameWithDefault() 83 c == '/' && stripLineComments -> state = LINE_COMMENT in packageNameWithDefault() 85 state = INIT in packageNameWithDefault() 93 '\n' -> state = INIT in packageNameWithDefault() 98 '*' -> state = BLOCK_COMMENT_ASTERISK in packageNameWithDefault() [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | Javadoc.kt | 309 var state = STATE_TEXT in getBodyContents() variable 326 when (state) { in getBodyContents() 329 state = STATE_SLASH in getBodyContents() 347 state = STATE_TEXT in getBodyContents() 355 state = STATE_TEXT in getBodyContents() 363 state = STATE_TEXT in getBodyContents() 366 state = STATE_TEXT in getBodyContents() 371 state = STATE_CLOSE_TAG in getBodyContents() 380 state = STATE_TEXT in getBodyContents() 383 state = STATE_TEXT in getBodyContents() [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/rohdeschwarz_lib/ |
D | cmw500.py | 193 def switch_lte_signalling(self, state): argument 200 if not isinstance(state, LteState): 203 state = state.value 205 cmd = 'SOURce:LTE:SIGN:CELL:STATe {}'.format(state) 212 if response == state + ',ADJ': 213 self._logger.info('LTE signalling is now {}.'.format(state)) 220 raise CmwError('Failed to turn {} LTE signalling.'.format(state)) 238 def use_carrier_specific(self, state): argument 244 cmd = 'CONFigure:LTE:SIGN:DMODe:UCSPECific {}'.format(state) 281 state = self.send_and_recv('FETCh:LTE:SIGN:PSWitched:STATe?') [all …]
|
D | cmx500.py | 228 state = self.dut.state.rrc_connection_state 229 return RrcConnectionState(state.value) 311 return self.dut.state.rrc.is_connected 318 def switch_lte_signalling(self, state): argument 325 if not isinstance(state, LteState): 333 if state.value == 'ON': 385 def use_carrier_specific(self, state): argument 393 def wait_for_rrc_state(self, state, timeout=120): argument 403 is_idle = (state.value == 'OFF') 406 if self.dut.state.rrc.is_idle == is_idle: [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | FieldItem.kt | 297 var state = START in javaUnescapeString() variable 301 when (state) { in javaUnescapeString() 303 state = ESCAPE in javaUnescapeString() 310 state = START in javaUnescapeString() 314 state = START in javaUnescapeString() 318 state = START in javaUnescapeString() 322 state = START in javaUnescapeString() 326 state = START in javaUnescapeString() 330 state = START in javaUnescapeString() 334 state = START in javaUnescapeString() [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/android_lib/tel/ |
D | tel_utils.py | 488 def toggle_cell_data_roaming(ad, state): argument 502 state_int = {True: DATA_ROAMING_ENABLE, False: DATA_ROAMING_DISABLE}[state] 503 action_str = {True: "Enable", False: "Disable"}[state] 504 if ad.droid.connectivityCheckDataRoamingMode() == state: 505 ad.log.info("Data roaming is already in state %s", state) 508 ad.error.info("Fail to config data roaming into state %s", state) 510 if ad.droid.connectivityCheckDataRoamingMode() == state: 511 ad.log.info("Data roaming is configured into state %s", state) 514 ad.log.error("Data roaming is not configured into state %s", state) 607 def _wait_for_bluetooth_in_state(log, ad, state, max_wait): argument [all …]
|
/tools/test/connectivity/acts_tests/tests/google/ble/scan/ |
D | BleBackgroundScanTest.py | 234 state = self.scn_ad.droid.bluetoothGetLeState() 235 if state != bt_adapter_states['ble_on']: 238 bt_adapter_states['ble_on'], state)) 250 state = self.scn_ad.droid.bluetoothGetLeState() 251 if state != bt_adapter_states['off']: 254 bt_adapter_states['off'], state)) 262 state = self.scn_ad.droid.bluetoothGetLeState() 263 if state != bt_adapter_states['off']: 266 format(bt_adapter_states['off'], state)) 271 state = self.scn_ad.droid.bluetoothGetLeState() [all …]
|
/tools/test/graphicsbenchmark/apps/sample_app/src/cpp/ |
D | renderer.cpp | 44 state.numCircles = numCircles; in Renderer() 154 state.circles.resize(state.numCircles, Circle(RADIUS)); in initDisplay() 155 state.velocities.resize(state.numCircles); in initDisplay() 156 for (auto& v : state.velocities) { in initDisplay() 183 for (int i = 0; i < state.circles.size(); ++i) { in update() 184 auto& circle = state.circles[i]; in update() 185 Vec2& v = state.velocities[i]; in update() 224 for (int i = 0; i < state.circles.size(); ++i) { in draw() 225 auto& circle = state.circles[i]; in draw()
|
D | main.cpp | 102 void android_main(struct android_app* state) { in android_main() argument 105 LOGI("Running with SDK %d", state->activity->sdkVersion); in android_main() 108 state->userData = renderer.get(); in android_main() 109 state->onAppCmd = engine_handle_cmd; in android_main() 110 state->onInputEvent = engine_handle_input; in android_main() 125 source->process(state, source); in android_main() 129 if (state->destroyRequested != 0) { in android_main() 148 qualification.startLoop(state->activity); in android_main()
|
/tools/test/connectivity/acts/framework/acts/controllers/anritsu_lib/ |
D | mg3710a.py | 168 def set_modulation_state(self, state, sg=1): argument 179 cmd = "OUTP{}:MOD {}".format(sg, state) 194 def set_rf_output_state(self, state, sg=1): argument 205 cmd = "OUTP{} {}".format(sg, state) 246 def set_frequency_offset_state(self, state, sg=1): argument 257 cmd = "SOUR{}:FREQ:OFFS:STAT {}".format(sg, state) 299 def set_frequency_offset_multiplier_state(self, state, sg=1): argument 310 cmd = "SOUR{}:FREQ:MULT:STAT {}".format(sg, state) 467 def set_arb_state(self, state, sg=1): argument 478 cmd = "SOUR{}:RAD:ARB {}".format(sg, state) [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/relay_lib/ |
D | relay.py | 106 def set(self, state): argument 122 if state is not RelayState.NO and state is not RelayState.NC: 125 (state, [state for state in RelayState])) 126 if self.get_status() != state: 127 self.relay_board.set(self.position, state)
|
/tools/test/connectivity/acts_tests/tests/google/bt/avrcp/ |
D | BtAvrcpPassthroughTest.py | 45 state = (self.dut.droid 47 assert_equal(state, PlaybackState.PLAY, 48 'Current playback state is not Play, is {}'.format(state)) 52 state = (self.dut.droid 54 assert_equal(state, PlaybackState.PAUSE, 55 'Current playback state is not Pause, is {}'.format(state))
|
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/api/ |
D | monsoon.py | 107 def usb(self, state): argument 130 if isinstance(state, str): 131 normalized_state = state.lower() 133 elif state in states_dict.values(): 134 expected_state = state 139 'Expected any of %s.' % (repr(state), states_dict)) 156 state)
|
/tools/aadevtools/dev/ |
D | change_report.py | 80 def __init__(self, common_name, old_file_stat, new_file_stat, state): argument 86 self.state = state 221 diff_stat.file_type, diff_stat.state, 261 def _process_others(self, files, adir, prefix_len, state): argument 267 print('SKIP: symlink: {0}, {1}'.format(state, file_path)) 271 self._process_others(flist, adir, prefix_len, state) 275 if state == DiffStat.REMOVED: 276 diff_stat = DiffStat(common_name, file_stat, empty_stat, state) 278 diff_stat = DiffStat(common_name, empty_stat, file_stat, state)
|
/tools/test/connectivity/acts_tests/tests/google/tel/live/ |
D | TelLiveEmergencyBase.py | 107 for setting, state in self.default_settings.items(): 109 if values and values[-1] != state: 111 [CARRIER_OVERRIDE_CMD, setting, state])) 210 def set_ims_first(self, state): argument 214 if state in output: return 215 cmd = " ".join([CARRIER_OVERRIDE_CMD, IMS_FIRST, state]) 222 def set_allow_non_emergency_call(self, state): argument 227 if state in output: return 228 cmd = " ".join([CARRIER_OVERRIDE_CMD, ALLOW_NON_EMERGENCY_CALL, state]) 239 state = "true" if non_emergency_call_allowed else "false" [all …]
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/ |
D | tel_video_utils.py | 219 state = ad.droid.telecomCallVideoGetState(call) 230 }[state]: 233 if state == video_state: 235 log.info("Non-Video-State: {}".format(state)) 271 state = ad.droid.telecomCallVideoGetState(call) 282 }[state]: 285 if state == video_state: 287 ad.log.info("Non-Video-State: %s", state) 446 state = ad.droid.telecomCallVideoGetState(call) 447 if (state == VT_STATE_AUDIO_ONLY and is_call_hd(log, ad, call)): [all …]
|
D | tel_test_utils.py | 633 state = ad.adb.getprop("gsm.sim.state") 634 ad.log.info("gsm.sim.state = %s", state) 635 return state == SIM_STATE_READY or state == SIM_STATE_LOADED 645 for state in states: 646 if state != SIM_STATE_READY and state != SIM_STATE_LOADED: 685 for state in event_recv_list: 686 if state is False: 707 def _wait_for_bluetooth_in_state(log, ad, state, max_wait): argument 717 if bt_state == state: 721 bt_state, state) [all …]
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
D | ZFile.java | 316 private ZipFileState state; field in ZFile 488 state = ZipFileState.CLOSED; in ZFile() 504 if (state != ZipFileState.CLOSED) { in ZFile() 520 if (state != ZipFileState.CLOSED) { in ZFile() 594 Preconditions.checkState(state != ZipFileState.CLOSED, "state == ZipFileState.CLOSED"); in readData() 709 Preconditions.checkState(state != ZipFileState.CLOSED, "state == ZipFileState.CLOSED"); in readEocd() 822 Preconditions.checkState(state != ZipFileState.CLOSED, "state == ZipFileState.CLOSED"); in readCentralDirectory() 885 Preconditions.checkState(state != ZipFileState.CLOSED, "state == ZipFileState.CLOSED"); in directOpen() 1330 Preconditions.checkState(state == ZipFileState.OPEN_RW, "state != ZipFileState.OPEN_RW"); in writeEntry() 1373 Preconditions.checkState(state == ZipFileState.OPEN_RW, "state != ZipFileState.OPEN_RW"); in computeCentralDirectory() [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/lib_controllers/ |
D | wlan_policy_controller.py | 226 state=None, argument 251 state=state, 411 state=None, argument 430 if not state: 431 state = STATE_DISCONNECTED 478 elif network['state'].lower() != state.lower( 484 (state, status, network))
|