Home
last modified time | relevance | path

Searched refs:status (Results 1 – 25 of 94) sorted by relevance

1234

/development/samples/training/basic/ActivityLifecycle/src/com/example/android/lifecycle/util/
DStatusTracker.java51 public void setStatus(String activityName, String status) { in setStatus() argument
52 mMethodList.add(activityName + "." + status + "()"); in setStatus()
54 mStatusMap.put(activityName, status); in setStatus()
64 String status = mStatusMap.get(activityName); in getStatus() local
65 status = status.substring(2, status.length()); in getStatus()
68 if (status.endsWith("e")) { in getStatus()
69 status = status.substring(0, status.length() - 1); in getStatus()
71 if (status.endsWith("p")) { in getStatus()
72 status = status + "p"; in getStatus()
74 status = status + STATUS_SUFFIX; in getStatus()
[all …]
/development/samples/browseable/MidiScope/src/com.example.android.midiscope/
DMidiPrinter.java50 public static String getName(int status) { in getName() argument
51 if (status >= 0xF0) { in getName()
52 int index = status & 0x0F; in getName()
54 } else if (status >= 0x80) { in getName()
55 int index = (status >> 4) & 0x07; in getName()
73 int status = statusByte & 0xFF; in formatMessage() local
74 sb.append(getName(status)).append("("); in formatMessage()
76 if ((status >= 0x80) && (status < 0xF0)) { // channel message in formatMessage()
77 int channel = status & 0x0F; in formatMessage()
DMidiScope.java71 public void onDeviceStatusChanged(MidiDeviceStatus status) { in onDeviceStatusChanged() argument
73 if (status.isInputPortOpen(0)) { in onDeviceStatusChanged()
76 status.getDeviceInfo()); in onDeviceStatusChanged()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyGetAppFrameRateEvent.java56 public MonkeyGetAppFrameRateEvent(String status, String activityName, String testCaseName) { in MonkeyGetAppFrameRateEvent() argument
58 mStatus = status; in MonkeyGetAppFrameRateEvent()
63 public MonkeyGetAppFrameRateEvent(String status, String activityName) { in MonkeyGetAppFrameRateEvent() argument
65 mStatus = status; in MonkeyGetAppFrameRateEvent()
69 public MonkeyGetAppFrameRateEvent(String status) { in MonkeyGetAppFrameRateEvent() argument
71 mStatus = status; in MonkeyGetAppFrameRateEvent()
129 int status = p.waitFor(); in injectEvent() local
130 if (status != 0) { in injectEvent()
132 cmd, status)); in injectEvent()
DMonkeyGetFrameRateEvent.java55 public MonkeyGetFrameRateEvent(String status, String testCaseName) { in MonkeyGetFrameRateEvent() argument
57 mStatus = status; in MonkeyGetFrameRateEvent()
61 public MonkeyGetFrameRateEvent(String status) { in MonkeyGetFrameRateEvent() argument
63 mStatus = status; in MonkeyGetFrameRateEvent()
115 int status = p.waitFor(); in injectEvent() local
116 if (status != 0) { in injectEvent()
118 GET_FRAMERATE_CMD, status)); in injectEvent()
DMonkeyCommandEvent.java42 int status = p.waitFor(); in injectEvent() local
43 Logger.err.println("// Shell command " + mCmd + " status was " + status); in injectEvent()
/development/samples/VoiceInteractionService/src/com/example/android/voiceinteractor/
DSampleVoiceInteractionService.java139 public void onVisualQueryDetectionServiceInitialized(int status) { in onVisualQueryDetectionServiceInitialized() argument
140 Log.i(TAG, "VQD init: "+ status); in onVisualQueryDetectionServiceInitialized()
141 if (status == SandboxedDetectionInitializer.INITIALIZATION_STATUS_SUCCESS) { in onVisualQueryDetectionServiceInitialized()
170 public void onAvailabilityChanged(int status) { in onAvailabilityChanged() argument
171 Log.i(TAG, "onAvailabilityChanged: " + status); in onAvailabilityChanged()
172 if (status == STATE_HARDWARE_UNAVAILABLE) { in onAvailabilityChanged()
181 if (status == STATE_KEYPHRASE_UNENROLLED) { in onAvailabilityChanged()
192 if (status == STATE_KEYPHRASE_ENROLLED) { in onAvailabilityChanged()
290 public void onHotwordDetectionServiceInitialized(int status) { in onHotwordDetectionServiceInitialized() argument
291 Log.i(TAG, "onHotwordDetectionServiceInitialized: " + status in onHotwordDetectionServiceInitialized()
/development/samples/Obb/src/com/example/android/obbapp/
DObbMountActivity.java61 mStatus = (TextView) findViewById(R.id.status); in onCreate()
68 mStatus.setText(state.status); in onCreate()
139 public CharSequence status; field in ObbMountActivity.ObbState
142 ObbState(StorageManager storageManager, CharSequence status, CharSequence path) { in ObbState() argument
144 this.status = status; in ObbState()
/development/samples/browseable/MidiSynth/src/com.example.android.midisynth/
DMidiSynthDeviceService.java51 public void onDeviceStatusChanged(MidiDeviceStatus status) { in onDeviceStatusChanged() argument
52 if (status.isInputPortOpen(0) && !mSynthStarted) { in onDeviceStatusChanged()
55 } else if (!status.isInputPortOpen(0) && mSynthStarted) { in onDeviceStatusChanged()
/development/samples/VirtualDeviceManager/common/src/com/example/android/vdmdemo/common/
DConnectivityFragment.java45 (status) -> {
46 switch (status.state) {
52 R.string.connecting, status.remoteDeviceName);
54 status.remoteDeviceName);
55 case ERROR -> updateStatus(Color.RED, R.string.error, status.errorMessage);
/development/tools/external_crates/crate_health/src/
Dpseudo_crate.rs93 let status = Command::new("cargo") in add() localVariable
100 if !status.success() { in add()
108 if !output.status.success() { in vendor()
112 .status in vendor()
Dandroid_bp.rs56 if !generate_android_bp_output.status.success() { in generate_android_bp()
102 let status = Command::new("/usr/bin/bash") in build_cargo_embargo() localVariable
105 match status.success() { in build_cargo_embargo()
109 status.code().map(|code| { format!("{}", code) }).unwrap_or("(unknown)".to_string()) in build_cargo_embargo()
/development/vndk/tools/header-checker/src/diff/
Dheader_abi_diff.cpp207 static std::string GetErrorMessage(CompatibilityStatusIR status) { in GetErrorMessage() argument
208 if (status & CompatibilityStatusIR::Incompatible) { in GetErrorMessage()
212 (status & CompatibilityStatusIR::ElfIncompatible)) { in GetErrorMessage()
215 if (!allow_extensions && (status & CompatibilityStatusIR::Extension)) { in GetErrorMessage()
219 (status & CompatibilityStatusIR::UnreferencedChanges)) { in GetErrorMessage()
251 CompatibilityStatusIR status = judge.GenerateCompatibilityReport(); in main() local
253 std::string status_str = GetErrorMessage(status); in main()
266 : status; in main()
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/
DRawContact.java180 String status, String avatarUrl, boolean deleted, long serverContactId, in RawContact() argument
190 mStatus = status; in RawContact()
223 final String status = !contact.isNull("s") ? contact.getString("s") : null; in valueOf() local
228 officePhone, homePhone, email, status, avatarUrl, deleted, in valueOf()
241 String email, String status, boolean deleted, long rawContactId, in create() argument
244 homePhone, email, status, null, deleted, serverContactId, rawContactId, in create()
/development/samples/ApiDemos/src/com/example/android/apis/content/
DInstallApkSessionApi.java111 int status = extras.getInt(PackageInstaller.EXTRA_STATUS); in onNewIntent() local
114 switch (status) { in onNewIntent()
132 Toast.makeText(this, "Install failed! " + status + ", " + message, in onNewIntent()
136 Toast.makeText(this, "Unrecognized status received from installer: " + status, in onNewIntent()
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/
DBluetoothLeService.java73 public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) {
93 public void onServicesDiscovered(BluetoothGatt gatt, int status) {
94 if (status == BluetoothGatt.GATT_SUCCESS) {
97 Log.w(TAG, "onServicesDiscovered received: " + status);
104 int status) {
105 if (status == BluetoothGatt.GATT_SUCCESS) {
/development/tools/compare_cts_reports/
Dparse_cts_report.py58 def is_fail(status): argument
59 if status == constant.NO_DATA:
62 return CtsReport.STATUS_ORDER.index(status) >= CtsReport.FAIL_INDEX
246 for status in CtsReport.STATUS_ORDER:
247 items += self.counter[status]
257 for status in CtsReport.STATUS_ORDER:
258 if not CtsReport.is_fail(status):
259 pass_category += self.counter[status]
/development/samples/ApiDemos/src/com/example/android/mmslib/pdu/
DNotifyRespInd.java38 int status) throws InvalidHeaderValueException { in NotifyRespInd() argument
43 setStatus(status); in NotifyRespInd()
/development/samples/training/threadsample/src/com/example/android/threadsample/
DBroadcastNotifier.java48 public void broadcastIntentWithState(int status) { in broadcastIntentWithState() argument
56 localIntent.putExtra(Constants.EXTENDED_DATA_STATUS, status); in broadcastIntentWithState()
/development/vndk/tools/header-checker/src/utils/
Dsource_path_utils.cpp171 llvm::ErrorOr<llvm::sys::fs::basic_file_status> status = walker->status(); in CollectExportedHeaderSet() local
172 if (!status) { in CollectExportedHeaderSet()
177 if ((status->type() != llvm::sys::fs::file_type::symlink_file) && in CollectExportedHeaderSet()
178 (status->type() != llvm::sys::fs::file_type::regular_file)) { in CollectExportedHeaderSet()
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/
DMidiPortSelector.java132 public void onDeviceStatusChanged(final MidiDeviceStatus status) { in onDeviceStatusChanged() argument
136 MidiDeviceInfo info = status.getDeviceInfo(); in onDeviceStatusChanged()
137 Log.i(MidiConstants.TAG, "MidiPortSelector.onDeviceStatusChanged status = " + status in onDeviceStatusChanged()
146 if (status.isInputPortOpen(i)) { // busy? in onDeviceStatusChanged()
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/
DMidiPortSelector.java132 public void onDeviceStatusChanged(final MidiDeviceStatus status) { in onDeviceStatusChanged() argument
136 MidiDeviceInfo info = status.getDeviceInfo(); in onDeviceStatusChanged()
137 Log.i(MidiConstants.TAG, "MidiPortSelector.onDeviceStatusChanged status = " + status in onDeviceStatusChanged()
146 if (status.isInputPortOpen(i)) { // busy? in onDeviceStatusChanged()
/development/samples/SampleSyncAdapter/samplesyncadapter_server/model/
Ddatastore.py32 status = db.TextProperty() variable in Contact
62 return query.get().status
/development/vndk/tools/vndk-compliance/
Dparse-and-fix-errors.sh68 repo status
81 repo status
/development/scripts/
Dacov-llvm.py103 status = adb_shell(['cat', f'/proc/{pid}/status'],
110 status = status.split('\n')
112 line.split(':\t')[1] for line in status if line.startswith('SigCgt')

1234