/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/topics/fundamentals/ |
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()
|
D | LoadedClass.java | 116 if (operation.process.fromZygote()) { in addProcessNames() 117 names.add(operation.process.name); in addProcessNames()
|
/frameworks/base/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/resources/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/base/docs/html/resources/articles/ |
D | multitasking-android-way.jd | 43 …process and an application. In Android these are not tightly coupled entities: applications may s… 44 …process "running" does not mean the application is running or doing anything. It may simply be th… 45 …esses don't shut down cleanly. When the user leaves an application, its process is kept around in… 46 …process lifecycle</a>, the rules it uses to decide how important each process is and thus the next… 47 … remove a process, it does this brutally, simply force-killing it. The kernel can then immediatel… 49 <p>In some ways, Android's process management can be seen as a form of swap space: application proc… 51 …for applications to implicitly do work in the background, as long as the process doesn't get kille… 55 …he application even if it isn't running; of course if it already has its process available in the … 56 …e in that time, the application is considered to be misbehaving, and its process immediately tosse… 57 …process only needs to be around while actively receiving the broadcast. Because they are active f… [all …]
|
/frameworks/base/services/input/tests/ |
D | InputReader_test.cpp | 789 virtual void process(const RawEvent* rawEvent) { in process() function in android::FakeInputMapper 1384 mDevice->process(&event, 1); in TEST_F() 1440 static void process(InputMapper* mapper, nsecs_t when, int32_t deviceId, int32_t type, in process() function in android::InputMapperTest 1450 mapper->process(&event); in process() 1522 process(mapper, ARBITRARY_TIME, DEVICE_ID, EV_SW, SW_LID, 0, 1, 0); in TEST_F() 1545 process(mapper, ARBITRARY_TIME, DEVICE_ID, EV_KEY, originalScanCode, originalKeyCode, 1, 0); in testDPadKeyRotation() 1551 process(mapper, ARBITRARY_TIME, DEVICE_ID, EV_KEY, originalScanCode, originalKeyCode, 0, 0); in testDPadKeyRotation() 1573 process(mapper, ARBITRARY_TIME, DEVICE_ID, in TEST_F() 1589 process(mapper, ARBITRARY_TIME + 1, DEVICE_ID, in TEST_F() 1613 process(mapper, ARBITRARY_TIME, DEVICE_ID, in TEST_F() [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/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, 57 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/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/developing/debugging/ |
D | ddms.jd | 21 the device, logcat, process, and radio state information, incoming call and SMS spoofing, 39 …<p>On Android, every application runs in its own process, each of which runs in its own virtual ma… 45 …is running, DDMS retrieves the the VM's process ID (pid), via <code>adb</code>, and opens a connec… 58 … the VMs on a device. The traffic that is forwarded is determined by the currently selected process 63 …Notice that the highlighted process, <code>com.android.email</code>, that is running in the emulat… 93 <h3>Viewing heap usage for a process</h3> 95 <p>DDMS allows you to view how much heap memory a process is using. This information is useful in 97 <p>To view heap usage for a process:</p> 99 <li>In the Devices tab, select the process that you want to see the heap information for.</li> 102 process.</li> [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
|
D | Base64InputStream.java | 143 success = coder.process(EMPTY, 0, 0, true); in refill() 145 success = coder.process(inputBuffer, 0, bytesRead, false); in refill()
|
/frameworks/base/docs/html/guide/topics/manifest/ |
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 | service-element.jd | 14 android:<a href="#proc">process</a>="<i>string</i>" > 157 <dt><a name="proc"></a>{@code android:process}</dt> 158 <dd>The name of the process where the service is to run. Normally, 159 all components of an application run in the default process created for the 162 <code><a href="{@docRoot}guide/topics/manifest/application-element.html#proc">process</a></code> 165 with its own {@code process} attribute, allowing you to spread your 170 process, private to the application, is created when it's needed and 171 the service runs in that process. 172 If the process name begins with a lowercase character, the service will run 173 in a global process of that name, provided that it has permission to do so. [all …]
|
D | provider-element.jd | 18 android:<a href="#proc">process</a>="<i>string</i>" 163 relative to other content providers hosted by the same process. 184 every client process — "{@code true}" if instances can run in multiple 188 Normally, a content provider is instantiated in the process of the 190 the system can create an instance in every process where there's a client 227 <dt><a name="proc"></a>{@code android:process}</dt> 228 <dd>The name of the process in which the content provider should run. Normally, 229 all components of an application run in the default process created for the 232 <code><a href="{@docRoot}guide/topics/manifest/application-element.html#proc">process</a></code> 235 with its own {@code process} attribute, allowing you to spread your [all …]
|
/frameworks/base/services/input/ |
D | InputReader.h | 451 void process(const RawEvent* rawEvents, size_t count); 509 void process(const RawEvent* rawEvent); 534 void process(const RawEvent* rawEvent); 556 void process(const RawEvent* rawEvent); 587 void process(const RawEvent* rawEvent); 712 void process(const RawEvent* rawEvent); 785 void process(const RawEvent* rawEvent); 831 virtual void process(const RawEvent* rawEvent) = 0; 861 virtual void process(const RawEvent* rawEvent); 880 virtual void process(const RawEvent* rawEvent); [all …]
|