Home
last modified time | relevance | path

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

12345

/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/ndk/platforms/android-9/arch-x86/include/asm/
Di387_32.h32 #define __unlazy_fpu( tsk ) do { if (task_thread_info(tsk)->status & TS_USEDFPU) { __save_init_…
34 … { if (task_thread_info(tsk)->status & TS_USEDFPU) { asm volatile("fnclex ; fwait"); task_th…
/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/vndk/tools/header-checker/header-abi-util/src/
Dcollect_exported_headers.cpp46 llvm::sys::fs::file_status status; in CollectExportedHeaderSet() local
64 if (walker->status(status)) { in CollectExportedHeaderSet()
69 if (!llvm::sys::fs::is_regular_file(status)) { in CollectExportedHeaderSet()
/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/ndk/platforms/android-21/include/linux/
Dsync.h35 __s32 status; member
44 __s32 status; member
/development/vndk/tools/header-checker/header-abi-diff/src/
Dheader_abi_diff.cpp85 CompatibilityStatus status = judge.GenerateCompatibilityReport(); in main() local
88 switch (status) { in main()
99 if (!suppress_local_warnings && status) { in main()
113 if (allow_extensions && status == CompatibilityStatus::EXTENSION) { in main()
116 return status; in main()
/development/ndk/platforms/android-9/include/sys/
Dwait.h54 static __inline__ pid_t wait4(pid_t pid, int *status, int options, struct rusage *rusage) in wait4() argument
56 return (pid_t)syscall(__NR_wait4, pid, status, options, rusage); in wait4()
/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/BluetoothHDP/src/com/example/bluetooth/health/
DBluetoothHDPService.java218 int status) {
219 if (status == BluetoothHealth.APP_CONFIG_REGISTRATION_FAILURE) {
222 } else if (status == BluetoothHealth.APP_CONFIG_REGISTRATION_SUCCESS) {
225 } else if (status == BluetoothHealth.APP_CONFIG_UNREGISTRATION_FAILURE ||
226 status == BluetoothHealth.APP_CONFIG_UNREGISTRATION_SUCCESS) {
228 status == BluetoothHealth.APP_CONFIG_UNREGISTRATION_SUCCESS ?
/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/vndk/tools/header-checker/merge-abi-diff/src/
Dmerge_abi_diff.cpp87 CompatibilityStatus status = CompatibilityStatus::COMPATIBLE; in MergeDiffReports() local
109 if (IsStatusDowngraded(status, new_status)) { in MergeDiffReports()
110 status = new_status; in MergeDiffReports()
118 return status; in MergeDiffReports()
/development/samples/SampleSyncAdapter/samplesyncadapter_server/model/
Ddatastore.py32 status = db.TextProperty() variable in Contact
62 return query.get().status
/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/ndk/platforms/android-9/arch-arm/include/asm/arch/
Dmux.h20 #define PULL_REG(reg, bit, status) .pull_reg = PULL_DWN_CTRL_##reg, .pull_bit = bit, .pull_val … argument
22 #define PU_PD_REG(reg, status) .pu_pd_reg = PU_PD_SEL_##reg, .pu_pd_val = status, argument
26 #define PULL_REG_730(reg, bit, status) .pull_reg = OMAP730_IO_CONF_##reg, .pull_bit = bit, .pul… argument
/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/ndk/platforms/android-9/include/linux/
Dusbdevice_fs.h69 unsigned int status; member
75 int status; member

12345