/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 | 8 <li>Every application runs in its own process and all components of the application run in that 9 process, by default</li> 34 running, the Android system starts a new Linux process for the application with a single thread of 35 execution. By default, all components of the same application run in the same process and thread 36 (called the "main" thread). If an application component starts and there already exists a process 38 started within that process and uses the same thread of execution. However, you can arrange for 40 threads for any process.</p> 47 <p>By default, all components of the same application run in the same process and most applications 48 should not change this. However, if you find that you need to control which process a certain 56 <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/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/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/docs/html/guide/faq/ |
D | framework.jd | 8 application run in a single process?</a></li> 10 an application process?</a></li> 27 single process?</h2> 29 <p>All Activities and Services in an application run in a single process by 30 default. If needed, you can declare an <code>android:process</code> attribute 32 another process.</p> 39 process?</h2> 41 <p>By default, all of the application code in a single process runs 45 separate pool of transaction threads in each process to dispatch all 73 components run in the same process through the use of a singleton. [all …]
|
/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/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/base/docs/html/guide/basics/ |
D | appmodel.jd | 7 the process it runs in, and the icon and application the user interacts with. 27 <li><p>A <strong>process</strong> is a low-level kernel process in which 29 .apk is run in one, dedicated process for that .apk; however, the 30 {@link android.R.styleable#AndroidManifestApplication_process process} tag 198 into another process. 200 process. 202 a separate process that can be killed independently of other parts of the 207 {@link android.R.styleable#AndroidManifestApplication_process process} attribute 208 is used to control the process that particular application components run in. 210 two .apks that are not sharing the same user ID try to run in the same process, [all …]
|
/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/native/services/sensorservice/ |
D | SensorInterface.h | 36 virtual bool process(sensors_event_t* outEvent, 57 virtual bool process(sensors_event_t* outEvent,
|
D | RotationVectorSensor.h | 41 virtual bool process(sensors_event_t* outEvent, 55 virtual bool process(sensors_event_t* outEvent,
|
/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/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 …]
|
D | provider-element.jd | 20 android:<a href="#proc">process</a>="<i>string</i>" 198 relative to other content providers hosted by the same process. 219 every client process — "{@code true}" if instances can run in multiple 223 Normally, a content provider is instantiated in the process of the 225 the system can create an instance in every process where there's a client 262 <dt><a name="proc"></a>{@code android:process}</dt> 263 <dd>The name of the process in which the content provider should run. Normally, 264 all components of an application run in the default process created for the 267 <code><a href="{@docRoot}guide/topics/manifest/application-element.html#proc">process</a></code> 270 with its own {@code process} attribute, allowing you to spread your [all …]
|
/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
|