OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:printJobId
(Results
1 - 7
of
7
) sorted by null
/packages/experimental/PrintService/src/foo/bar/printservice/
MyDialogActivity.java
5
import android.print.
PrintJobId
;
27
PrintJobId
printJobId
= getIntent().getParcelableExtra(
33
createActionTypeOnPrintJobPendingUi(
printJobId
);
35
createActionTypeOnReqeustCancelPrintJobUi(
printJobId
);
39
private void createActionTypeOnPrintJobPendingUi(final
PrintJobId
printJobId
) {
49
MyPrintService.peekInstance().handleQueuedPrintJob(
printJobId
);
53
MyPrintService.peekInstance().handleQueuedPrintJobDelayed(
printJobId
);
57
MyPrintService.peekInstance().handleFailPrintJob(
printJobId
);
[
all
...]
MyPrintService.java
36
import android.print.
PrintJobId
;
82
private final Map<
PrintJobId
, PrintJob> mProcessedPrintJobs =
83
new ArrayMap<
PrintJobId
, PrintJob>();
143
void handleRequestCancelPrintJob(
PrintJobId
printJobId
) {
144
PrintJob printJob = mProcessedPrintJobs.get(
printJobId
);
148
mProcessedPrintJobs.remove(
printJobId
);
156
void handleFailPrintJobDelayed(
PrintJobId
printJobId
) {
158
MyHandler.MSG_HANDLE_FAIL_PRINT_JOB,
printJobId
);
[
all
...]
/frameworks/base/core/java/android/print/
PrintJob.java
49
public @Nullable
PrintJobId
getId() {
203
PrintJobId
printJobId
= mCachedInfo.getId();
205
if (
printJobId
== null) {
208
return
printJobId
.hashCode();
/packages/apps/Settings/src/com/android/settings/print/
PrintJobSettingsFragment.java
22
import android.print.
PrintJobId
;
57
public void onPrintJobStateChanged(
PrintJobId
printJobId
) {
67
private
PrintJobId
mPrintJobId;
163
String
printJobId
= getArguments().getString(EXTRA_PRINT_JOB_ID);
164
if (
printJobId
== null) {
167
mPrintJobId =
PrintJobId
.unflattenFromString(
printJobId
);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
NotificationController.java
39
import android.print.
PrintJobId
;
74
private final ArraySet<
PrintJobId
> mNotifications;
103
ArraySet<
PrintJobId
> removedPrintJobs = new ArraySet<>(mNotifications);
117
PrintJobId
printJobId
= printJob.getId();
119
removedPrintJobs.remove(
printJobId
);
120
mNotifications.add(
printJobId
);
128
PrintJobId
removedPrintJob = removedPrintJobs.valueAt(i);
309
private PendingIntent createContentIntent(
PrintJobId
printJobId
) {
[
all
...]
PrintSpoolerService.java
43
import android.print.
PrintJobId
;
319
public PrintJobInfo getPrintJobInfo(
PrintJobId
printJobId
, int appId) {
324
if (printJob.getId().equals(
printJobId
)
352
ArrayMap<
PrintJobId
, File> fileForJobMap = null;
360
fileForJobMap = new ArrayMap<
PrintJobId
, File>();
365
PrintJobId
printJobId
=
PrintJobId
.unflattenFromString(
367
fileForJobMap.put(
printJobId
, file)
[
all
...]
/frameworks/base/services/print/java/com/android/server/print/
UserState.java
52
import android.print.
PrintJobId
;
208
printJob.setId(new
PrintJobId
());
263
ArrayMap<
PrintJobId
, PrintJobInfo> result =
264
new ArrayMap<
PrintJobId
, PrintJobInfo>();
295
public PrintJobInfo getPrintJobInfo(@NonNull
PrintJobId
printJobId
, int appId) {
296
PrintJobInfo printJob = mPrintJobForAppCache.getPrintJob(
printJobId
, appId);
298
printJob = mSpooler.getPrintJobInfo(
printJobId
, appId);
331
public void cancelPrintJob(@NonNull
PrintJobId
printJobId
, int appId)
[
all
...]
Completed in 198 milliseconds