/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | WorkTypeConfigTest.java | 105 /* min */ List.of(), in test() 106 /* max */ List.of(), in test() 108 /* min */ List.of(Pair.create(WORK_TYPE_TOP, 1), Pair.create(WORK_TYPE_EJ, 0), in test() 110 /* max */ List.of(Pair.create(WORK_TYPE_TOP, 13), Pair.create(WORK_TYPE_EJ, 13), in test() 113 /* min */ List.of(Pair.create(WORK_TYPE_TOP, 4), Pair.create(WORK_TYPE_BG, 0)), in test() 114 /* max */ List.of(Pair.create(WORK_TYPE_BG, 1)), in test() 116 /* min */ List.of(Pair.create(WORK_TYPE_TOP, 4), Pair.create(WORK_TYPE_BG, 0)), in test() 117 /* max */ List.of(Pair.create(WORK_TYPE_TOP, 5), Pair.create(WORK_TYPE_BG, 1))); in test() 119 /* min */ List.of(Pair.create(WORK_TYPE_TOP, 5), in test() 121 /* max */ List.of( in test() [all …]
|
D | WorkCountTrackerTest.java | 305 final List<Pair<Integer, Integer>> maxLimits = List.of(Pair.create(WORK_TYPE_BG, 4)); in testRandom1() 306 final List<Pair<Integer, Integer>> minLimits = List.of(Pair.create(WORK_TYPE_BG, 2)); in testRandom1() 321 List.of(Pair.create(WORK_TYPE_BG, 2), Pair.create(WORK_TYPE_BGUSER, 1)); in testRandom2() 322 final List<Pair<Integer, Integer>> minLimits = List.of(); in testRandom2() 339 List.of(Pair.create(WORK_TYPE_BG, 2), Pair.create(WORK_TYPE_BGUSER, 1)); in testRandom3() 340 final List<Pair<Integer, Integer>> minLimits = List.of(Pair.create(WORK_TYPE_BG, 2)); in testRandom3() 357 List.of(Pair.create(WORK_TYPE_BG, 2), Pair.create(WORK_TYPE_BGUSER, 1)); in testRandom4() 358 final List<Pair<Integer, Integer>> minLimits = List.of(); in testRandom4() 375 List.of(Pair.create(WORK_TYPE_BG, 4), Pair.create(WORK_TYPE_BGUSER, 2)); in testRandom5() 376 final List<Pair<Integer, Integer>> minLimits = List.of(Pair.create(WORK_TYPE_BG, 2)); in testRandom5() [all …]
|
/frameworks/av/media/codecs/m4v_h263/fuzzer/ |
D | README.md | 4 The fuzzer plugin for MPEG4/H263 is designed based on the understanding of the 12 ##### Maximize utilization of input data 14 * If the decode operation was successful, the input is advanced by the number of bytes consumed 19 This ensures that the plugin tolerates any kind of input (empty, huge, malformed, etc) 20 and doesnt `exit()` on any input and thereby increasing the chance of identifying vulnerabilities. 24 of a flag - 'MPEG4' 25 * The number of decode calls are kept to a maximum of 100 so that the fuzzer does not timeout. 58 The fuzzer plugin for MPEG4/H263 is designed based on the understanding of the 69 4. Number of bytes per packet (parameter name: `packetSize`) 76 11. Number of intra MBs in P-frame(parameter name: `numIntraMB`) [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierPrivilegesTrackerTest.java | 113 private static final Set<String> PRIVILEGED_PACKAGES = Set.of(PACKAGE_1, PACKAGE_2); 125 private static final Set<Integer> PRIVILEGED_UIDS_SET = Set.of(UID_1, UID_2); 343 verifyCurrentState(Set.of(), new int[0]); in testRegisterListener() 345 verifyCarrierPrivilegesChangedUpdates(List.of()); in testRegisterListener() 362 List.of(new Pair<>(PRIVILEGED_PACKAGES, PRIVILEGED_UIDS_SET))); in testUnregisterListener() 371 verifyCarrierPrivilegesChangedUpdates(List.of()); in testUnregisterListener() 377 verifyCurrentState(Set.of(), new int[0]); in testUnregisterListener() 379 verifyCarrierPrivilegesChangedUpdates(List.of(new Pair<>(Set.of(), Set.of()))); in testUnregisterListener() 398 List.of(new Pair<>(PRIVILEGED_PACKAGES, PRIVILEGED_UIDS_SET))); in testCarrierConfigUpdated() 412 List.of(new Pair<>(PRIVILEGED_PACKAGES, PRIVILEGED_UIDS_SET))); in testCarrierConfigUpdatedMismatchedSlotIndex() [all …]
|
/frameworks/compile/slang/tests/F_root_compute_non_uint32_t_xyzwar/ |
D | stderr.txt.expect | 1 …zwar.rscript:6:17: error: Special parameter 'x' must be of type 'int' or 'unsigned int'. It is of … 2 …zwar.rscript:6:26: error: Special parameter 'y' must be of type 'int' or 'unsigned int'. It is of … 3 …: error: Special parameters 'x' and 'y' must be of the same type. 'x' is of type 'short' while 'y'… 4 …zwar.rscript:6:36: error: Special parameter 'z' must be of type 'int' or 'unsigned int'. It is of … 5 …: error: Special parameters 'x' and 'z' must be of the same type. 'x' is of type 'short' while 'z'… 6 …44: error: In compute kernel root(), parameter 'w' cannot appear after any of the special paramete… 7 …3: error: In compute kernel root(), parameter 'ar' cannot appear after any of the special paramete…
|
/frameworks/compile/slang/tests/F_root_compute_non_uint32_t_xyzar/ |
D | stderr.txt.expect | 1 …yzar.rscript:5:17: error: Special parameter 'x' must be of type 'int' or 'unsigned int'. It is of … 2 …yzar.rscript:5:26: error: Special parameter 'y' must be of type 'int' or 'unsigned int'. It is of … 3 …: error: Special parameters 'x' and 'y' must be of the same type. 'x' is of type 'short' while 'y'… 4 …yzar.rscript:5:36: error: Special parameter 'z' must be of type 'int' or 'unsigned int'. It is of … 5 …: error: Special parameters 'x' and 'z' must be of the same type. 'x' is of type 'short' while 'z'… 6 …5: error: In compute kernel root(), parameter 'ar' cannot appear after any of the special paramete…
|
/frameworks/compile/slang/ |
D | NOTICE | 26 and distribution as defined by Sections 1 through 9 of this document. 31 "Legal Entity" shall mean the union of the acting entity and all 33 control with that entity. For the purposes of this definition, 35 direction or management of such entity, whether by contract or 36 otherwise, or (ii) ownership of fifty percent (50%) or more of the 37 outstanding shares, or (iii) beneficial ownership of such entity. 47 transformation or translation of a Source form, including but 51 "Work" shall mean the work of authorship, whether in Source or 59 represent, as a whole, an original work of authorship. For the purposes 60 of this License, Derivative Works shall not include works that remain [all …]
|
/frameworks/rs/script_api/include/ |
D | rs_object_info.rsh | 6 * You may obtain a copy of the License at 22 * The functions below can be used to query the characteristics of an Allocation, Element, 30 * They are a structured collection of cells that can be used to store bitmaps, textures, 33 * This collection of cells may have many dimensions (X, Y, Z, Array0, Array1, Array2, Array3), 34 * faces (for cubemaps), and level of details (for mipmapping). 41 * for the cells of an Allocation and the instantiation of that type. For example: 43 * - In functions like rsGetElementAt(), "element" means the instantiation of the type, 44 * i.e. a cell of an Allocation. 46 * The functions below let you query the characteristics of the type specificiation. 50 * a list of basic types. [all …]
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/remote/ |
D | RemoteResultTest.java | 34 RemoteResult result = RemoteResult.of(3); in testIsPresent_whenNonFailedResult_returnsTrue() 64 RemoteResult result = RemoteResult.of(7); in testGet_whenSuccessfulResult_returnsValue() 80 assertThat(RemoteResult.of(3).toString()).isEqualTo("RemoteResult{3}"); in testToString() 91 assertThat(RemoteResult.of(3).equals(RemoteResult.of(3))).isTrue(); in testEquals() 92 assertThat(RemoteResult.of(3).equals(RemoteResult.of(7))).isFalse(); in testEquals() 93 assertThat(RemoteResult.of(-1).equals(RemoteResult.of(1))).isFalse(); in testEquals() 94 assertThat(RemoteResult.of(Long.MAX_VALUE).equals(RemoteResult.of(-1))) in testEquals() 96 assertThat(RemoteResult.of(3).equals(RemoteResult.FAILED_TIMED_OUT)).isFalse(); in testEquals() 97 assertThat(RemoteResult.of(3).equals("3")).isFalse(); in testEquals() 98 assertThat(RemoteResult.of(3).equals(null)).isFalse(); in testEquals() [all …]
|
/frameworks/base/proto/src/ |
D | ipconnectivity.proto | 15 // Every network gets assigned a network_id on creation based on order of 47 // A pair of (key, value) integers for describing histogram-like statistics. 81 // lack of a default network. 85 // Network score of this network when it became the default network. 90 // Network score of this network when it stopped being the default network. 95 // Best available information about IP support of this default network. 100 // LinkLayer of the previous default network. Ignores any previous period 107 // A value of 0 means this is a loss of the system default network. 111 // A value of 0 means there was no previous default network. 115 // Best available information about IP support of the previous network when [all …]
|
/frameworks/base/cmds/am/ |
D | NOTICE | 23 and distribution as defined by Sections 1 through 9 of this document. 28 "Legal Entity" shall mean the union of the acting entity and all 30 control with that entity. For the purposes of this definition, 32 direction or management of such entity, whether by contract or 33 otherwise, or (ii) ownership of fifty percent (50%) or more of the 34 outstanding shares, or (iii) beneficial ownership of such entity. 44 transformation or translation of a Source form, including but 48 "Work" shall mean the work of authorship, whether in Source or 56 represent, as a whole, an original work of authorship. For the purposes 57 of this License, Derivative Works shall not include works that remain [all …]
|
/frameworks/base/cmds/pm/ |
D | NOTICE | 23 and distribution as defined by Sections 1 through 9 of this document. 28 "Legal Entity" shall mean the union of the acting entity and all 30 control with that entity. For the purposes of this definition, 32 direction or management of such entity, whether by contract or 33 otherwise, or (ii) ownership of fifty percent (50%) or more of the 34 outstanding shares, or (iii) beneficial ownership of such entity. 44 transformation or translation of a Source form, including but 48 "Work" shall mean the work of authorship, whether in Source or 56 represent, as a whole, an original work of authorship. For the purposes 57 of this License, Derivative Works shall not include works that remain [all …]
|
/frameworks/av/media/codecs/amrwb/enc/SampleCode/ |
D | NOTICE | 23 and distribution as defined by Sections 1 through 9 of this document. 28 "Legal Entity" shall mean the union of the acting entity and all 30 control with that entity. For the purposes of this definition, 32 direction or management of such entity, whether by contract or 33 otherwise, or (ii) ownership of fifty percent (50%) or more of the 34 outstanding shares, or (iii) beneficial ownership of such entity. 44 transformation or translation of a Source form, including but 48 "Work" shall mean the work of authorship, whether in Source or 56 represent, as a whole, an original work of authorship. For the purposes 57 of this License, Derivative Works shall not include works that remain [all …]
|
/frameworks/av/media/codecs/mp3dec/ |
D | NOTICE | 23 and distribution as defined by Sections 1 through 9 of this document. 28 "Legal Entity" shall mean the union of the acting entity and all 30 control with that entity. For the purposes of this definition, 32 direction or management of such entity, whether by contract or 33 otherwise, or (ii) ownership of fifty percent (50%) or more of the 34 outstanding shares, or (iii) beneficial ownership of such entity. 44 transformation or translation of a Source form, including but 48 "Work" shall mean the work of authorship, whether in Source or 56 represent, as a whole, an original work of authorship. For the purposes 57 of this License, Derivative Works shall not include works that remain [all …]
|
/frameworks/av/media/extractors/wav/ |
D | NOTICE | 23 and distribution as defined by Sections 1 through 9 of this document. 28 "Legal Entity" shall mean the union of the acting entity and all 30 control with that entity. For the purposes of this definition, 32 direction or management of such entity, whether by contract or 33 otherwise, or (ii) ownership of fifty percent (50%) or more of the 34 outstanding shares, or (iii) beneficial ownership of such entity. 44 transformation or translation of a Source form, including but 48 "Work" shall mean the work of authorship, whether in Source or 56 represent, as a whole, an original work of authorship. For the purposes 57 of this License, Derivative Works shall not include works that remain [all …]
|
/frameworks/av/services/mediaextractor/ |
D | NOTICE | 23 and distribution as defined by Sections 1 through 9 of this document. 28 "Legal Entity" shall mean the union of the acting entity and all 30 control with that entity. For the purposes of this definition, 32 direction or management of such entity, whether by contract or 33 otherwise, or (ii) ownership of fifty percent (50%) or more of the 34 outstanding shares, or (iii) beneficial ownership of such entity. 44 transformation or translation of a Source form, including but 48 "Work" shall mean the work of authorship, whether in Source or 56 represent, as a whole, an original work of authorship. For the purposes 57 of this License, Derivative Works shall not include works that remain [all …]
|
/frameworks/base/cmds/ime/ |
D | NOTICE | 23 and distribution as defined by Sections 1 through 9 of this document. 28 "Legal Entity" shall mean the union of the acting entity and all 30 control with that entity. For the purposes of this definition, 32 direction or management of such entity, whether by contract or 33 otherwise, or (ii) ownership of fifty percent (50%) or more of the 34 outstanding shares, or (iii) beneficial ownership of such entity. 44 transformation or translation of a Source form, including but 48 "Work" shall mean the work of authorship, whether in Source or 56 represent, as a whole, an original work of authorship. For the purposes 57 of this License, Derivative Works shall not include works that remain [all …]
|
/frameworks/base/cmds/bu/ |
D | NOTICE | 23 and distribution as defined by Sections 1 through 9 of this document. 28 "Legal Entity" shall mean the union of the acting entity and all 30 control with that entity. For the purposes of this definition, 32 direction or management of such entity, whether by contract or 33 otherwise, or (ii) ownership of fifty percent (50%) or more of the 34 outstanding shares, or (iii) beneficial ownership of such entity. 44 transformation or translation of a Source form, including but 48 "Work" shall mean the work of authorship, whether in Source or 56 represent, as a whole, an original work of authorship. For the purposes 57 of this License, Derivative Works shall not include works that remain [all …]
|
/frameworks/av/media/codec2/components/aac/ |
D | NOTICE | 23 and distribution as defined by Sections 1 through 9 of this document. 28 "Legal Entity" shall mean the union of the acting entity and all 30 control with that entity. For the purposes of this definition, 32 direction or management of such entity, whether by contract or 33 otherwise, or (ii) ownership of fifty percent (50%) or more of the 34 outstanding shares, or (iii) beneficial ownership of such entity. 44 transformation or translation of a Source form, including but 48 "Work" shall mean the work of authorship, whether in Source or 56 represent, as a whole, an original work of authorship. For the purposes 57 of this License, Derivative Works shall not include works that remain [all …]
|
/frameworks/av/media/codec2/components/amr_nb_wb/ |
D | NOTICE | 23 and distribution as defined by Sections 1 through 9 of this document. 28 "Legal Entity" shall mean the union of the acting entity and all 30 control with that entity. For the purposes of this definition, 32 direction or management of such entity, whether by contract or 33 otherwise, or (ii) ownership of fifty percent (50%) or more of the 34 outstanding shares, or (iii) beneficial ownership of such entity. 44 transformation or translation of a Source form, including but 48 "Work" shall mean the work of authorship, whether in Source or 56 represent, as a whole, an original work of authorship. For the purposes 57 of this License, Derivative Works shall not include works that remain [all …]
|
/frameworks/av/media/libeffects/visualizer/ |
D | NOTICE | 23 and distribution as defined by Sections 1 through 9 of this document. 28 "Legal Entity" shall mean the union of the acting entity and all 30 control with that entity. For the purposes of this definition, 32 direction or management of such entity, whether by contract or 33 otherwise, or (ii) ownership of fifty percent (50%) or more of the 34 outstanding shares, or (iii) beneficial ownership of such entity. 44 transformation or translation of a Source form, including but 48 "Work" shall mean the work of authorship, whether in Source or 56 represent, as a whole, an original work of authorship. For the purposes 57 of this License, Derivative Works shall not include works that remain [all …]
|
/frameworks/base/cmds/backup/ |
D | NOTICE | 23 and distribution as defined by Sections 1 through 9 of this document. 28 "Legal Entity" shall mean the union of the acting entity and all 30 control with that entity. For the purposes of this definition, 32 direction or management of such entity, whether by contract or 33 otherwise, or (ii) ownership of fifty percent (50%) or more of the 34 outstanding shares, or (iii) beneficial ownership of such entity. 44 transformation or translation of a Source form, including but 48 "Work" shall mean the work of authorship, whether in Source or 56 represent, as a whole, an original work of authorship. For the purposes 57 of this License, Derivative Works shall not include works that remain [all …]
|
/frameworks/base/cmds/input/ |
D | NOTICE | 23 and distribution as defined by Sections 1 through 9 of this document. 28 "Legal Entity" shall mean the union of the acting entity and all 30 control with that entity. For the purposes of this definition, 32 direction or management of such entity, whether by contract or 33 otherwise, or (ii) ownership of fifty percent (50%) or more of the 34 outstanding shares, or (iii) beneficial ownership of such entity. 44 transformation or translation of a Source form, including but 48 "Work" shall mean the work of authorship, whether in Source or 56 represent, as a whole, an original work of authorship. For the purposes 57 of this License, Derivative Works shall not include works that remain [all …]
|
/frameworks/av/media/libstagefright/codecs/g711/dec/ |
D | NOTICE | 23 and distribution as defined by Sections 1 through 9 of this document. 28 "Legal Entity" shall mean the union of the acting entity and all 30 control with that entity. For the purposes of this definition, 32 direction or management of such entity, whether by contract or 33 otherwise, or (ii) ownership of fifty percent (50%) or more of the 34 outstanding shares, or (iii) beneficial ownership of such entity. 44 transformation or translation of a Source form, including but 48 "Work" shall mean the work of authorship, whether in Source or 56 represent, as a whole, an original work of authorship. For the purposes 57 of this License, Derivative Works shall not include works that remain [all …]
|
/frameworks/av/media/libstagefright/id3/ |
D | NOTICE | 23 and distribution as defined by Sections 1 through 9 of this document. 28 "Legal Entity" shall mean the union of the acting entity and all 30 control with that entity. For the purposes of this definition, 32 direction or management of such entity, whether by contract or 33 otherwise, or (ii) ownership of fifty percent (50%) or more of the 34 outstanding shares, or (iii) beneficial ownership of such entity. 44 transformation or translation of a Source form, including but 48 "Work" shall mean the work of authorship, whether in Source or 56 represent, as a whole, an original work of authorship. For the purposes 57 of this License, Derivative Works shall not include works that remain [all …]
|