/frameworks/base/services/java/com/android/server/location/ |
H A D | GpsLocationProvider.java | 120 /** AGPS status event values. */ 224 // current status 227 // time for last status update 817 private void updateStatus(int status, int svCount) { argument 818 if (status != mStatus || svCount != mSvCount) { 819 mStatus = status; 894 if (DEBUG) Log.d(TAG, "GPS status listener died"); 1177 // notify status listeners 1220 * called from native code to update our status 1222 private void reportStatus(int status) { argument 1326 reportAGpsStatus(int type, int status, int ipaddr) argument 1469 getGeofenceStatus(int status) argument 1519 reportGeofenceStatus(int status, int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument 1548 reportGeofenceAddStatus(int geofenceId, int status) argument 1558 reportGeofenceRemoveStatus(int geofenceId, int status) argument 1568 reportGeofencePauseStatus(int geofenceId, int status) argument 1578 reportGeofenceResumeStatus(int geofenceId, int status) argument 1814 onStatusChanged(String provider, int status, Bundle extras) argument [all...] |
H A D | GpsXtraDownloader.java | 131 StatusLine status = response.getStatusLine(); 132 if (status.getStatusCode() != 200) { // HTTP 200 is success. 133 if (DEBUG) Log.d(TAG, "HTTP error: " + status.getReasonPhrase());
|
H A D | LocationBasedCountryDetector.java | 175 public void onStatusChanged(String provider, int status, Bundle extras) {
|
H A D | MockProvider.java | 124 public void setStatus(int status, Bundle extras, long updateTime) { argument 125 mStatus = status;
|
/frameworks/base/services/java/com/android/server/pm/ |
H A D | PackageManagerService.java | 7143 final String status = Environment.getExternalStorageState(); 7144 mounted = (Environment.MEDIA_MOUNTED.equals(status) 7145 || Environment.MEDIA_MOUNTED_READ_ONLY.equals(status)); 7810 abstract int doPreInstall(int status); argument 7811 abstract boolean doRename(int status, String pkgName, String oldCodePath); argument 7813 abstract int doPostInstall(int status, int uid); argument 7991 int doPreInstall(int status) { argument 7992 if (status != PackageManager.INSTALL_SUCCEEDED) { 7995 return status; 7998 boolean doRename(int status, fina argument 8048 doPostInstall(int status, int uid) argument 8290 doPreInstall(int status) argument 8309 doRename(int status, final String pkgName, String oldCodePath) argument 8366 doPostInstall(int status, int uid) argument [all...] |
H A D | Settings.java | 228 void setInstallStatus(String pkgName, int status) { argument 231 if(p.getInstallStatus() != status) { 232 p.setInstallStatus(status);
|
/frameworks/base/drm/java/android/drm/ |
H A D | DrmManagerClient.java | 72 * Interface definition for a callback that receives status messages and warnings 77 * Called when the DRM framework sends status or warning information during registration 81 * @param event The {@link DrmInfoEvent} instance that wraps the status information or 142 DrmInfoStatus status = _processDrmInfo(mUniqueId, drmInfo); 144 attributes.put(DrmEvent.DRM_INFO_STATUS_OBJECT, status); 147 if (null != status && DrmInfoStatus.STATUS_OK == status.statusCode) { 149 getEventType(status.infoType), null, attributes); 151 int infoType = (null != status) ? status [all...] |
H A D | DrmOutputStream.java | 62 final DrmConvertedStatus status = mClient.closeConvertSession(mSessionId); 63 if (status.statusCode == STATUS_OK) { 64 mFile.seek(status.offset); 65 mFile.write(status.convertedData); 68 throw new IOException("Unexpected DRM status: " + status.statusCode); 93 final DrmConvertedStatus status = mClient.convertData(mSessionId, exactBuffer); 94 if (status.statusCode == STATUS_OK) { 95 mFile.write(status.convertedData); 97 throw new IOException("Unexpected DRM status [all...] |
/frameworks/base/drm/jni/ |
H A D | android_drm_DrmManagerClient.cpp | 679 jobject status = GetConvertedStatus(env, pDrmConvertedStatus); local 685 return status; 695 jobject status = GetConvertedStatus(env, pDrmConvertedStatus); local 698 return status;
|
/frameworks/base/libs/androidfw/ |
H A D | CursorWindow.cpp | 125 status_t status = parcel->writeString8(mName); local 126 if (!status) { 127 status = parcel->writeDupFileDescriptor(mAshmemFd); 129 return status;
|
/frameworks/base/libs/hwui/ |
H A D | DeferredDisplayList.cpp | 97 status_t status = DrawGlInfo::kStatusDone; local 108 status |= op->applyDraw(renderer, dirty); 120 return status; 283 status_t status = op->multiDraw(renderer, dirty, mOps, mBounds); local 289 return status; 644 status_t status = DrawGlInfo::kStatusDone; local 648 status |= batchList[i]->replay(renderer, dirty, i); 652 return status; 659 status_t status = DrawGlInfo::kStatusDone; local 661 if (isEmpty()) return status; // nothin [all...] |
H A D | DisplayListOp.h | 146 status_t status = DrawGlInfo::kStatusDone; local 149 status |= ops[i].op->applyDraw(renderer, dirty); 151 return status; 1465 status_t status = DrawGlInfo::kStatusDone; local 1474 status |= renderer.drawText(op.mText, op.mBytesCount, op.mCount, op.mX, op.mY, 1478 return status;
|
H A D | Image.cpp | 45 GLenum status = GL_NO_ERROR; local 46 while ((status = glGetError()) != GL_NO_ERROR) { 47 ALOGW("Error creating image (%#x)", status);
|
H A D | LayerRenderer.cpp | 381 bool status = false; local 467 status = true; 485 return status;
|
H A D | OpenGLRenderer.cpp | 320 GLenum status = GL_NO_ERROR; local 321 while ((status = glGetError()) != GL_NO_ERROR) { 322 ALOGD("GL error from OpenGLRenderer: 0x%x", status); 323 switch (status) { 2032 status_t status; local 2037 status = startFrame(); 2040 return status | replayStruct.mDrawGlStatus; 2049 status = startFrame(); 2051 return status | deferredList.flush(*this, dirty); 2979 bool status; local [all...] |
H A D | PixelBuffer.cpp | 119 GLenum status = GL_NO_ERROR; local 120 while ((status = glGetError()) != GL_NO_ERROR) { 121 ALOGE("Could not map GPU pixel buffer: 0x%x", status); 135 GLboolean status = glUnmapBuffer(GL_PIXEL_UNPACK_BUFFER); local 136 if (status == GL_FALSE) {
|
H A D | Program.cpp | 60 GLint status; local 61 glGetProgramiv(mProgramId, GL_LINK_STATUS, &status); 62 if (status != GL_TRUE) { 149 GLint status; local 150 glGetShaderiv(shader, GL_COMPILE_STATUS, &status); 151 if (status != GL_TRUE) {
|
/frameworks/base/location/java/android/location/ |
H A D | GpsStatus.java | 90 * Event sent periodically to report GPS satellite status. 91 * Call {@link #getSatellites()} to retrieve the status for each satellite. 96 * Used for receiving notifications when GPS status has changed. 100 * Called to report changes in the GPS status. 111 * status information. 137 * Used internally within {@link LocationManager} to copy GPS status 139 * Is synchronized to ensure that GPS status updates are atomic. 173 void setStatus(GpsStatus status) { argument 174 mTimeToFirstFix = status.getTimeToFirstFix(); 177 mSatellites[i].setStatus(status [all...] |
H A D | ILocationListener.aidl | 29 void onStatusChanged(String provider, int status, in Bundle extras);
|
H A D | ILocationManager.aidl | 77 void setTestProviderStatus(String provider, int status, in Bundle extras, long updateTime);
|
H A D | LocationListener.java | 47 * Called when the provider status changes. This method is called when 53 * @param status {@link LocationProvider#OUT_OF_SERVICE} if the 60 * status variables. 70 void onStatusChanged(String provider, int status, Bundle extras); argument
|
H A D | LocationManager.java | 125 * Key used for a Bundle extra holding an Integer status value 126 * when a status change is broadcast using a PendingIntent. 128 public static final String KEY_STATUS_CHANGED = "status"; 131 * Key used for a Bundle extra holding an Boolean status value 246 public void onStatusChanged(String provider, int status, Bundle extras) { argument 251 b.putInt("status", status); 284 int status = b.getInt("status"); 286 mListener.onStatusChanged(provider, status, extra 1336 setTestProviderStatus(String provider, int status, Bundle extras, long updateTime) argument 1578 getGpsStatus(GpsStatus status) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | AudioManager.java | 2035 int status = AUDIOFOCUS_REQUEST_FAILED; 2039 return status; 2045 status = service.requestAudioFocus(streamType, durationHint, mICallBack, 2051 return status; 2096 int status = AUDIOFOCUS_REQUEST_FAILED; 2100 status = service.abandonAudioFocus(mAudioFocusDispatcher, 2105 return status;
|
H A D | AudioService.java | 1610 int status = AudioSystem.AUDIO_STATUS_OK; 1638 status = AudioSystem.setPhoneState(mode); 1639 if (status == AudioSystem.AUDIO_STATUS_OK) { 1650 status = AudioSystem.AUDIO_STATUS_OK; 1652 } while (status != AudioSystem.AUDIO_STATUS_OK && !mSetModeDeathHandlers.isEmpty()); 1654 if (status == AudioSystem.AUDIO_STATUS_OK) { 1854 public int status() { method in class:AudioService.SoundPoolCallback 1867 public void onLoadComplete(SoundPool soundPool, int sampleId, int status) { argument 1873 if ((status != 0) || mSamples. isEmpty()) { 1874 mStatus = status; [all...] |
H A D | ImageReader.java | 292 int status = nativeImageSetup(si); 294 switch (status) { 302 throw new AssertionError("Unknown nativeImageSetup return code " + status); 305 return status; 338 int status = acquireNextSurfaceImage(si); 340 switch (status) { 351 throw new AssertionError("Unknown nativeImageSetup return code " + status);
|