Home
last modified time | relevance | path

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

123

/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/vndk/tools/header-checker/src/utils/
Dcollect_exported_headers.cpp72 llvm::ErrorOr<llvm::sys::fs::basic_file_status> status = walker->status(); in CollectExportedHeaderSet() local
73 if (!status) { in CollectExportedHeaderSet()
78 if ((status->type() != llvm::sys::fs::file_type::symlink_file) && in CollectExportedHeaderSet()
79 (status->type() != llvm::sys::fs::file_type::regular_file)) { in CollectExportedHeaderSet()
/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/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/vndk/tools/header-checker/src/diff/
Dheader_abi_diff.cpp185 bool ShouldEmitWarningMessage(CompatibilityStatusIR status) { in ShouldEmitWarningMessage() argument
187 (status & CompatibilityStatusIR::Extension)) || in ShouldEmitWarningMessage()
189 (status & CompatibilityStatusIR::UnreferencedChanges)) || in ShouldEmitWarningMessage()
191 (status & CompatibilityStatusIR::ElfIncompatible)) || in ShouldEmitWarningMessage()
192 (status & CompatibilityStatusIR::Incompatible)); in ShouldEmitWarningMessage()
212 CompatibilityStatusIR status = judge.GenerateCompatibilityReport(); in main() local
218 switch (status) { in main()
232 if (status & CompatibilityStatusIR::Extension) { in main()
238 if (status & CompatibilityStatusIR::UnreferencedChanges) { in main()
245 bool should_emit_warning_message = ShouldEmitWarningMessage(status); in main()
[all …]
/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/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/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/vndk/tools/header-checker/src/diff_merge/
Dmerge_abi_diff.cpp80 abi_diff::CompatibilityStatus status = in MergeDiffReports() local
103 if (IsStatusDowngraded(status, new_status)) { in MergeDiffReports()
104 status = new_status; in MergeDiffReports()
112 return status; in MergeDiffReports()
/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/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/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/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/ApiDemos/src/com/example/android/apis/app/
DTextToSpeechActivity.java88 public void onInit(int status) { in onInit() argument
90 if (status == TextToSpeech.SUCCESS) { in onInit()
/development/tools/repo_diff/service/repodiff/tools/migrations/
D2018_02_09__00_07_41_upgrade.sql11 status TINYINT NOT NULL, field
/development/tools/repo_diff/service/repodiff/mappers/
Dmappers_test.go67 func makeDiffRow(status, lineChanges, filesChanged int) e.AnalyzedDiffRow { argument
70 DiffStatus: status,
/development/samples/USB/MissileLauncher/src/com/android/missilelauncher/
DMissileLauncherActivity.java220 byte status = -1; in run()
229 if (newStatus != status) { in run()
231 status = newStatus; in run()
232 if ((status & COMMAND_FIRE) != 0) { in run()
/development/tools/rmtypedefs/test/com/android/tools/rmtypedefs/
DRmTypeDefsTest.java147 public void checkExit(int status) { in test()
148 throw new ExitException(status); in test()
275 public ExitException(int status) { in ExitException() argument
277 mStatus = status; in ExitException()

123