Home
last modified time | relevance | path

Searched refs:status (Results 1 – 25 of 99) 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/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 System.err.println("// Shell command " + mCmd + " status was " + status); in injectEvent()
/development/ndk/sources/android/ndk_helper/
Dshader.cpp104 GLint status; in CompileShader() local
105 glGetShaderiv( *shader, GL_COMPILE_STATUS, &status ); in CompileShader()
106 if( status == 0 ) in CompileShader()
144 GLint status; in LinkProgram() local
160 glGetProgramiv( prog, GL_LINK_STATUS, &status ); in LinkProgram()
161 if( status == 0 ) in LinkProgram()
172 GLint logLength, status; in ValidateProgram() local
184 glGetProgramiv( prog, GL_VALIDATE_STATUS, &status ); in ValidateProgram()
185 if( status == 0 ) in ValidateProgram()
/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/ide/xcode/ports/
DSkOSWindow_Mac.cpp108 OSStatus status; in getparam() local
110 status = GetEventParameter(inEvent, name, type, &actualType, size, &actualSize, data); in getparam()
111 SkASSERT(status == noErr); in getparam()
171 OSStatus status = CreateEvent(nil, SK_MacEventClass, SK_MacEventKind, 0, 0, &ref); in post_skmacevent() local
172 SkASSERT(status == noErr); in post_skmacevent()
175 status = SetEventParameter(ref, SK_MacEventParamName, SK_MacEventParamName, sizeof(evt), &evt); in post_skmacevent()
176 SkASSERT(status == noErr); in post_skmacevent()
177status = SetEventParameter(ref, SK_MacEventSinkIDParamName, SK_MacEventSinkIDParamName, sizeof(sin… in post_skmacevent()
178 SkASSERT(status == noErr); in post_skmacevent()
183 SkASSERT(status == noErr); in post_skmacevent()
[all …]
/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
Dusbdevice_fs.h80 unsigned int status; member
86 int status; member
/development/ndk/platforms/android-3/include/sys/
Dwait.h53 static __inline__ pid_t wait4(pid_t pid, int *status, int options, struct rusage *rusage) in wait4() argument
55 return (pid_t)syscall(__NR_wait4, pid, status, options, rusage); in wait4()
/development/ndk/platforms/android-21/samples/native-codec/jni/
Dnative-codec-jni.cpp112 ssize_t status = AMediaCodec_dequeueOutputBuffer(d->codec, &info, 0); in doCodecWork() local
113 if (status >= 0) { in doCodecWork()
126 AMediaCodec_releaseOutputBuffer(d->codec, status, info.size != 0); in doCodecWork()
131 } else if (status == AMEDIACODEC_INFO_OUTPUT_BUFFERS_CHANGED) { in doCodecWork()
133 } else if (status == AMEDIACODEC_INFO_OUTPUT_FORMAT_CHANGED) { in doCodecWork()
138 } else if (status == AMEDIACODEC_INFO_TRY_AGAIN_LATER) { in doCodecWork()
141 LOGV("unexpected info code: %zd", status); in doCodecWork()
/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/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/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/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-3/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/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/SampleSyncAdapter/samplesyncadapter_server/model/
Ddatastore.py32 status = db.TextProperty() variable in Contact
62 return query.get().status
/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/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()
/development/ndk/platforms/android-3/include/linux/
Dusbdevice_fs.h69 unsigned int status; member
75 int status; member
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/
DSimpleWikiHelper.java190 StatusLine status = response.getStatusLine(); in getUrlContent() local
191 if (status.getStatusCode() != HTTP_STATUS_OK) { in getUrlContent()
193 status.toString()); in getUrlContent()
/development/samples/Wiktionary/src/com/example/android/wiktionary/
DSimpleWikiHelper.java183 StatusLine status = response.getStatusLine(); in getUrlContent() local
184 if (status.getStatusCode() != HTTP_STATUS_OK) { in getUrlContent()
186 status.toString()); in getUrlContent()

1234