/frameworks/base/docs/html/guide/topics/processes/ |
D | process-lifecycle.jd | 4 <p>In most cases, every Android application runs in its own Linux process. 5 This process is created for the application when some of its code needs to 9 <p>An unusual and fundamental feature of Android is that an application process's 19 of the application's process. <strong>Not using these components correctly can 20 result in the system killing the application's process while it is doing 23 <p>A common example of a process life-cycle bug is a 29 process no longer needed (unless other application components are active in 30 it). So, the system may kill the process at any time to reclaim memory, and in doing so, 31 it terminates the spawned thread running in the process. The solution to this problem 33 system knows that there is still active work being done in the process.</p> [all …]
|
/frameworks/base/docs/html/guide/components/ |
D | processes-and-threads.jd | 10 <li>Every application runs in its own process and all components of the application run in that 11 process, by default</li> 36 running, the Android system starts a new Linux process for the application with a single thread of 37 execution. By default, all components of the same application run in the same process and thread 38 (called the "main" thread). If an application component starts and there already exists a process 40 started within that process and uses the same thread of execution. However, you can arrange for 42 threads for any process.</p> 49 <p>By default, all components of the same application run in the same process and most applications 50 should not change this. However, if you find that you need to control which process a certain 58 <provider>}</a>—supports an {@code android:process} attribute that can specify a [all …]
|
/frameworks/base/services/java/com/android/server/am/ |
D | EventLogTags.logtags | 34 # Application process bound to work 36 # Application process died 42 # Application process has been started 44 # An application process has been marked as bad 46 # An application process that was bad is now marked as good 60 # Kill a process to reclaim memory. 69 # A process has crashed too many times, it is being cleared 71 # An unknown process is trying to attach to the activity manager 75 # A service is going to be restarted after its process went away 77 # A client was waiting for a content provider, but its process was lost [all …]
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | Program.java | 27 public abstract void process(Frame[] inputs, Frame output); in process() method in Program 29 public void process(Frame input, Frame output) { in process() method in Program 32 process(inputs, output); in process()
|
/frameworks/base/tools/preload/ |
D | Operation.java | 36 final Proc process; field in Operation 57 Operation(Proc process, LoadedClass loadedClass, long startTimeNanos, in Operation() argument 59 this.process = process; in Operation()
|
D | Root.java | 55 Proc process = processes.get(record.pid); in indexClassOperation() local 84 o = process.endOperation(record.tid, record.className, in indexClassOperation() 93 process.startOperation(record.tid, loadedClass, record.time, in indexClassOperation() 98 process.startOperation(record.tid, loadedClass, record.time, in indexClassOperation()
|
D | MemoryUsage.java | 232 final Process process = Runtime.getRuntime().exec(commands); in measure() local 234 final InputStream err = process.getErrorStream(); in measure() 247 new InputStreamReader(process.getInputStream())); in measure() 258 process.destroy(); in measure()
|
/frameworks/av/media/libeffects/testlibs/ |
D | AudioFormatAdapter.h | 74 void process(const void * pIn, void * pOut, uint32_t numSamples) { in process() function 80 mpProcessor->process( in process() 85 mpProcessor->process( in process() 98 mpProcessor->process(mBuffer, mBuffer, numSamplesIter); in process()
|
D | AudioShelvingFilter.h | 98 void process(const audio_sample_t in[], audio_sample_t out[], in process() function 99 int frameCount) { mBiquad.process(in, out, frameCount); } in process()
|
D | AudioPeakingFilter.h | 104 void process(const audio_sample_t in[], audio_sample_t out[], in process() function 105 int frameCount) { mBiquad.process(in, out, frameCount); } in process()
|
/frameworks/base/docs/html/guide/faq/ |
D | framework.jd | 7 application run in a single process?</a></li> 9 an application process?</a></li> 26 single process?</h2> 28 <p>All Activities and Services in an application run in a single process by 29 default. If needed, you can declare an <code>android:process</code> attribute 31 another process.</p> 38 process?</h2> 40 <p>By default, all of the application code in a single process runs 44 separate pool of transaction threads in each process to dispatch all 72 components run in the same process through the use of a singleton. [all …]
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videoproc/ |
D | BackDropperFilter.java | 699 public void process(FilterContext context) { in process() method in BackDropperFilter 726 copyShaderProgram.process(video, mVideoInput); in process() 727 copyShaderProgram.process(background, mBgInput); in process() 738 copyShaderProgram.process(mVideoInput, mBgMean[inputIndex]); in process() 744 mBgDistProgram.process(distInputs, mDistance); in process() 749 mBgMaskProgram.process(mDistance, mMask); in process() 755 mAutomaticWhiteBalanceProgram.process(autoWBInputs, mAutoWB); in process() 762 copyShaderProgram.process(mMask, mMaskVerify[outputIndex]); in process() 774 mMaskVerifyProgram.process(maskVerifyInputs, mMaskVerify[outputIndex]); in process() 783 copyShaderProgram.process(mMaskVerify[outputIndex], mMaskAverage); in process() [all …]
|
/frameworks/base/services/input/tests/ |
D | InputReader_test.cpp | 865 virtual void process(const RawEvent* rawEvent) { in process() function in android::FakeInputMapper 1354 mDevice->process(&event, 1); in TEST_F() 1414 static void process(InputMapper* mapper, nsecs_t when, int32_t deviceId, int32_t type, in process() function in android::InputMapperTest 1422 mapper->process(&event); in process() 1495 process(mapper, ARBITRARY_TIME, DEVICE_ID, EV_SW, SW_LID, 1); in TEST_F() 1496 process(mapper, ARBITRARY_TIME, DEVICE_ID, EV_SW, SW_JACK_PHYSICAL_INSERT, 1); in TEST_F() 1497 process(mapper, ARBITRARY_TIME, DEVICE_ID, EV_SW, SW_HEADPHONE_INSERT, 0); in TEST_F() 1498 process(mapper, ARBITRARY_TIME, DEVICE_ID, EV_SYN, SYN_REPORT, 0); in TEST_F() 1522 process(mapper, ARBITRARY_TIME, DEVICE_ID, EV_KEY, originalScanCode, 1); in testDPadKeyRotation() 1528 process(mapper, ARBITRARY_TIME, DEVICE_ID, EV_KEY, originalScanCode, 0); in testDPadKeyRotation() [all …]
|
/frameworks/native/services/sensorservice/ |
D | RotationVectorSensor.h | 41 virtual bool process(sensors_event_t* outEvent, 55 virtual bool process(sensors_event_t* outEvent,
|
D | SensorInterface.h | 36 virtual bool process(sensors_event_t* outEvent, 62 virtual bool process(sensors_event_t* outEvent,
|
D | LinearAccelerationSensor.cpp | 38 bool LinearAccelerationSensor::process(sensors_event_t* outEvent, in process() function in android::LinearAccelerationSensor 41 bool result = mGravitySensor.process(outEvent, event); in process()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | SaturateFilter.java | 116 public void process(FilterContext context) { in process() method in SaturateFilter 132 mHerfProgram.process(input, output); in process() 134 mBenProgram.process(input, output); in process()
|
D | ResizeFilter.java | 89 public void process(FilterContext env) { in process() method in ResizeFilter 110 mProgram.process(mipmapped, output); in process() 113 mProgram.process(input, output); in process()
|
D | GrainFilter.java | 157 public void process(FilterContext context) { in process() method in GrainFilter 185 mNoiseProgram.process(empty, noiseFrame); in process() 189 mGrainProgram.process(inputs, output); in process()
|
/frameworks/base/libs/hwui/thread/ |
D | TaskProcessor.h | 36 virtual void process(const sp<TaskBase>& task) = 0; 50 virtual void process(const sp<TaskBase>& task) { in process() function
|
/frameworks/base/docs/html/tools/debugging/ |
D | systrace.jd | 53 Android environment, letting you see system and applications process execution on a common 59 <strong>Figure 1.</strong> An example {@code systrace} report on 5 seconds of process execution 92 The tool can gather the following types of process information:</p> 157 the process execution details. Use the <em>W</em> key to zoom in, the <em>S</em> 170 <img src="{@docRoot}images/systrace/process-rhythm.png" alt="Systrace exerpt of app processing" 178 a regular process rhythm (1). The lower section of figure 2 shows a magnified section of 179 the trace indicated by the dotted outline, which reveals some irregularity in the process 183 to a user, unless it impacts another process with specific timing, such as a screen update.</p> 187 trace, zoom in on the process using the 190 also look at other processes running at the same time, looking for a thread in one process that is [all …]
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | Base64Test.java | 248 encoder.process(input, 0, 3, false); in XXXtestEncodeInternal() 252 encoder.process(input, 0, 3, false); in XXXtestEncodeInternal() 256 encoder.process(input, 0, 1, false); in XXXtestEncodeInternal() 260 encoder.process(input, 0, 1, false); in XXXtestEncodeInternal() 264 encoder.process(input, 0, 1, false); in XXXtestEncodeInternal() 268 encoder.process(input, 0, 2, false); in XXXtestEncodeInternal() 272 encoder.process(input, 0, 2, false); in XXXtestEncodeInternal() 276 encoder.process(input, 0, 2, false); in XXXtestEncodeInternal() 280 encoder.process(input, 0, 1, true); in XXXtestEncodeInternal()
|
/frameworks/base/core/java/android/util/ |
D | Base64.java | 88 public abstract boolean process(byte[] input, int offset, int len, boolean finish); in process() method in Base64.Coder 160 if (!decoder.process(input, offset, len, true)) { in decode() 263 public boolean process(byte[] input, int offset, int len, boolean finish) { in process() method in Base64.Decoder 535 encoder.process(input, offset, len, true); in encode() 603 public boolean process(byte[] input, int offset, int len, boolean finish) { in process() method in Base64.Encoder
|
/frameworks/base/docs/html/guide/topics/manifest/ |
D | service-element.jd | 15 android:<a href="#proc">process</a>="<i>string</i>" > 97 <dd>If set to true, this service will run under a special process that is isolated from the 164 <dt><a name="proc"></a>{@code android:process}</dt> 165 <dd>The name of the process where the service is to run. Normally, 166 all components of an application run in the default process created for the 169 <code><a href="{@docRoot}guide/topics/manifest/application-element.html#proc">process</a></code> 172 with its own {@code process} attribute, allowing you to spread your 177 process, private to the application, is created when it's needed and 178 the service runs in that process. 179 If the process name begins with a lowercase character, the service will run [all …]
|
D | receiver-element.jd | 14 android:<a href="#proc">process</a>="<i>string</i>" > 150 <dt><a name="proc"></a>{@code android:process}</dt> 151 <dd>The name of the process in which the broadcast receiver should run. 152 Normally, all components of an application run in the default process created 155 <code><a href="{@docRoot}guide/topics/manifest/application-element.html#proc">process</a></code> at… 157 with its own {@code process} attribute, allowing you to spread your 162 process, private to the application, is created when it's needed and 163 the broadcast receiver runs in that process. 164 If the process name begins with a lowercase character, the receiver will run 165 in a global process of that name, provided that it has permission to do so. [all …]
|